summaryrefslogtreecommitdiffstats
path: root/src/libs/liblzf-3.4/configure.ac
blob: 58316a01b320dae033c23e65a6e27859a371c16f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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