source: branches/samba-3.0/source/lib/replace/configure.ac

Last change on this file was 1, checked in by Paul Smedley, 18 years ago

Initial code import

File size: 561 bytes
Line 
1AC_PREREQ(2.50)
2AC_INIT(replace.c)
3AC_CONFIG_SRCDIR([replace.c])
4AC_CONFIG_HEADER(config.h)
5
6AC_LIBREPLACE_ALL_CHECKS
7
8if test "$ac_cv_prog_gcc" = yes; then
9 CFLAGS="$CFLAGS -Wall"
10 CFLAGS="$CFLAGS -W"
11 CFLAGS="$CFLAGS -Wshadow"
12 CFLAGS="$CFLAGS -Wstrict-prototypes"
13 CFLAGS="$CFLAGS -Wpointer-arith"
14 CFLAGS="$CFLAGS -Wcast-qual"
15 CFLAGS="$CFLAGS -Wcast-align"
16 CFLAGS="$CFLAGS -Wwrite-strings"
17 CFLAGS="$CFLAGS -Werror-implicit-function-declaration"
18 CFLAGS="$CFLAGS -Wformat=2"
19 CFLAGS="$CFLAGS -Wno-format-y2k"
20fi
21
22AC_OUTPUT(Makefile)
Note: See TracBrowser for help on using the repository browser.