summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorpaul <paul>2004-10-22 04:55:05 +0000
committerpaul <paul>2004-10-22 04:55:05 +0000
commit8e3f795249e1c6e509d00d069b3005023b056b22 (patch)
tree77b13a79629c69895756b4bf58ba1221069688f8 /configure.ac
parent32155ed7efa9c0264bba633af83daa226a1be734 (diff)
downloadquagga-8e3f795249e1c6e509d00d069b3005023b056b22.tar.bz2
quagga-8e3f795249e1c6e509d00d069b3005023b056b22.tar.xz
2004-10-22 Paul Jakma <paul@dishone.st>
* configure.ac: fix up enable help alignment slightly Add --enable-gcc-ultra-verbose to set various gcc warnings which should one day be fixed but are not serious problems or which could be false-positives.
Diffstat (limited to 'configure.ac')
-rwxr-xr-xconfigure.ac15
1 files changed, 12 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 38ff1b5d..a6de0e35 100755
--- a/configure.ac
+++ b/configure.ac
@@ -139,18 +139,27 @@ AC_ARG_ENABLE(quagga_user,
AC_ARG_ENABLE(quagga_group,
[ --enable-group=ARG group to run Quagga suite as (default quagga)])
AC_ARG_ENABLE(vty_group,
-[ --enable-vty-group=ARG set vty sockets to have specified group as owner])
+[ --enable-vty-group=ARG set vty sockets to have specified group as owner])
AC_ARG_ENABLE(configfile_mask,
[ --enable-configfile-mask=ARG set mask for config files])
AC_ARG_ENABLE(logfile_mask,
[ --enable-logfile-mask=ARG set mask for log files])
AC_ARG_ENABLE(rtadv,
-[ --disable-rtadv disable IPV6 router advertisement feature])
+[ --disable-rtadv disable IPV6 router advertisement feature])
AC_ARG_ENABLE(irdp,
-[ --enable-irdp enable IRDP server support in zebra])
+[ --enable-irdp enable IRDP server support in zebra])
AC_ARG_ENABLE(capabilities,
[ --disable-capabilities disable using POSIX capabilities])
+AC_ARG_ENABLE(gcc_ultra_verbose,
+[ --enable-gcc-ultra-verbose enable ultra verbose GCC warnings])
+
+if test x"${enable_gcc_ultra_verbose}" = x"yes" ; then
+ CFLAGS="${CFLAGS} -W -Wcast-qual -Wstrict-prototypes"
+ CFLAGS="${CFLAGS} -Wmissing-declarations -Wmissing-noreturn"
+ CFLAGS="${CFLAGS} -Wmissing-format-attribute -Wunreachable-code"
+ CFLAGS="${CFLAGS} -Wpacked -Wpadded"
+fi
if test "${enable_broken_aliases}" = "yes"; then
if test "${enable_netlink}" = "yes"