Home | History | Annotate | Download | only in liblzf
      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_C_CONST
     14 AC_C_INLINE
     15 AC_CHECK_HEADERS(getopt.h)
     16 AC_CHECK_FUNCS(getopt_long)
     17 
     18 if test "$GCC" = yes; then
     19    CFLAGS="$CFLAGS -O3 -funroll-all-loops"
     20 else
     21    AC_MSG_RESULT(no gcc)
     22 fi
     23 
     24 AC_CONFIG_FILES([Makefile])
     25 AC_OUTPUT
     26