|
Last change
on this file since 103 was 1, checked in by Paul Smedley, 19 years ago |
|
Initial code import
|
|
File size:
561 bytes
|
| Line | |
|---|
| 1 | AC_PREREQ(2.50)
|
|---|
| 2 | AC_INIT(replace.c)
|
|---|
| 3 | AC_CONFIG_SRCDIR([replace.c])
|
|---|
| 4 | AC_CONFIG_HEADER(config.h)
|
|---|
| 5 |
|
|---|
| 6 | AC_LIBREPLACE_ALL_CHECKS
|
|---|
| 7 |
|
|---|
| 8 | if 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"
|
|---|
| 20 | fi
|
|---|
| 21 |
|
|---|
| 22 | AC_OUTPUT(Makefile)
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.