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