diff options
Diffstat (limited to 'core/lib/liblzf-3.5/configure.ac')
-rw-r--r-- | core/lib/liblzf-3.5/configure.ac | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/core/lib/liblzf-3.5/configure.ac b/core/lib/liblzf-3.5/configure.ac new file mode 100644 index 0000000000..58316a01b3 --- /dev/null +++ b/core/lib/liblzf-3.5/configure.ac @@ -0,0 +1,25 @@ +AC_INIT +AC_CONFIG_SRCDIR([lzfP.h]) + +AC_CONFIG_HEADER(config.h) + +AC_GNU_SOURCE +AC_SYS_LARGEFILE +AC_PROG_CC +AC_PROG_RANLIB +AC_PROG_INSTALL +AC_HEADER_STDC + +AC_C_CONST +AC_C_INLINE +AC_CHECK_HEADERS(getopt.h) +AC_CHECK_FUNCS(getopt_long) + +if test "$GCC" = yes; then + CFLAGS="$CFLAGS -O3 -funroll-all-loops" +else + AC_MSG_RESULT(no gcc) +fi + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT |