summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure10
1 files changed, 5 insertions, 5 deletions
diff --git a/configure b/configure
index 371b3e2..90400c8 100755
--- a/configure
+++ b/configure
@@ -952,8 +952,12 @@ else
echo "$ac_t""no" 1>&6
fi
+if test Xyes = "X$GCC"; then
+ CFLAGS="$CFLAGS -Wall -W -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline"
+fi
+
echo $ac_n "checking for production mode""... $ac_c" 1>&6
-echo "configure:957: checking for production mode" >&5
+echo "configure:961: checking for production mode" >&5
# Check whether --enable-production or --disable-production was given.
if test "${enable_production+set}" = set; then
enableval="$enable_production"
@@ -983,10 +987,6 @@ case "X-$enableval" in
esac
-if test Xyes = "X$GCC"; then
- CFLAGS="$CFLAGS -Wall -Wshadow -Wpointer-arith -Wcast-qual -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs"
-fi
-
echo $ac_n "checking for main in -lcoug""... $ac_c" 1>&6
echo "configure:992: checking for main in -lcoug" >&5
ac_lib_var=`echo coug'_'main | sed 'y%./+-%__p_%'`