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