File: configure.ac

package info (click to toggle)
uswsusp 0.3~cvs20060928-7etch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 1,820 kB
  • ctags: 2,056
  • sloc: ansic: 24,912; xml: 579; sh: 528; makefile: 251; cs: 226
file content (24 lines) | stat: -rw-r--r-- 355 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
AC_INIT
AC_CONFIG_SRCDIR([lzfP.h])

AC_CONFIG_HEADER(config.h)

AC_PROG_CC
AC_PROG_RANLIB
AC_PROG_INSTALL
AC_HEADER_STDC

AC_CHECK_SIZEOF(short, 2)
AC_CHECK_SIZEOF(int,   4)
AC_CHECK_SIZEOF(long,  4)

AC_C_CONST

if test "$GCC" = yes; then
   CFLAGS="$CFLAGS -O3 -funroll-all-loops"
else
   AC_MSG_RESULT(no gcc)
fi

AC_CONFIG_FILES([Makefile])
AC_OUTPUT