|
|
|
@ -37,7 +37,7 @@ AC_HELP_STRING([--disable-debug],[Disable debug options]), |
|
|
|
|
CFLAGS="$CFLAGS -g" |
|
|
|
|
if test "$GCC" = "yes"; then |
|
|
|
|
dnl these work for gcc 2.95 |
|
|
|
|
CFLAGS="$CFLAGS -W -Wall -Wwrite-strings -pedantic -Wno-long-long -Wundef -Wpointer-arith -Wnested-externs -Wcast-align -Winline -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wshadow -Wsign-compare" |
|
|
|
|
CFLAGS="$CFLAGS -W -Wall -Wwrite-strings -pedantic -Wundef -Wpointer-arith -Wnested-externs -Wcast-align -Winline -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wshadow -Wsign-compare" |
|
|
|
|
dnl 2.96 or higher: -Wfloat-equal -Wunreachable-code |
|
|
|
|
fi |
|
|
|
|
dnl strip off optimizer flags |
|
|
|
|