1 |
AC_INIT |
2 |
AC_CONFIG_SRCDIR([lzfP.h]) |
3 |
|
4 |
AC_CONFIG_HEADER(config.h) |
5 |
|
6 |
AC_GNU_SOURCE |
7 |
AC_SYS_LARGEFILE |
8 |
AC_PROG_CC |
9 |
AC_PROG_RANLIB |
10 |
AC_PROG_INSTALL |
11 |
AC_HEADER_STDC |
12 |
|
13 |
AC_CHECK_SIZEOF(short, 2) |
14 |
AC_CHECK_SIZEOF(int, 4) |
15 |
AC_CHECK_SIZEOF(long, 4) |
16 |
|
17 |
AC_C_CONST |
18 |
AC_C_INLINE |
19 |
AC_CHECK_HEADERS(getopt.h) |
20 |
AC_CHECK_FUNCS(getopt_long) |
21 |
|
22 |
if test "$GCC" = yes; then |
23 |
CFLAGS="$CFLAGS -O3 -funroll-all-loops" |
24 |
else |
25 |
AC_MSG_RESULT(no gcc) |
26 |
fi |
27 |
|
28 |
AC_CONFIG_FILES([Makefile]) |
29 |
AC_OUTPUT |