ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/liblzf/configure.ac
Revision: 1.2
Committed: Thu Oct 12 14:38:23 2006 UTC (17 years, 7 months ago) by root
Branch: MAIN
CVS Tags: rel-3_0, rel-2_0, rel-2_1
Changes since 1.1: +5 -0 lines
Log Message:
*** empty log message ***

File Contents

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