File: configure.ac

package info (click to toggle)
ctdb 1.0.112-12-3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 4,292 kB
  • ctags: 4,779
  • sloc: ansic: 43,144; sh: 10,967; xml: 3,034; makefile: 451; perl: 107; python: 101; awk: 59
file content (24 lines) | stat: -rw-r--r-- 580 bytes parent folder | download | duplicates (2)
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_PREREQ(2.50)
AC_INIT(replace.c)
AC_CONFIG_SRCDIR([replace.c])
AC_CONFIG_HEADER(config.h)

AC_LIBREPLACE_ALL_CHECKS

if test "$ac_cv_prog_gcc" = yes; then
   CFLAGS="$CFLAGS -Wall"
   CFLAGS="$CFLAGS -W"
   CFLAGS="$CFLAGS -Wshadow"
   CFLAGS="$CFLAGS -Wstrict-prototypes"
   CFLAGS="$CFLAGS -Wpointer-arith"
   CFLAGS="$CFLAGS -Wcast-qual"
   CFLAGS="$CFLAGS -Wcast-align"
   CFLAGS="$CFLAGS -Wwrite-strings"
   CFLAGS="$CFLAGS -Werror-implicit-function-declaration"
   CFLAGS="$CFLAGS -Wformat=2"
   CFLAGS="$CFLAGS -Wno-format-y2k"
fi

AC_SUBST(LDFLAGS)

AC_OUTPUT(Makefile)