]> git.puffer.fish Git - matthieu/frr.git/commitdiff
2004-10-22 Paul Jakma <paul@dishone.st>
authorpaul <paul>
Fri, 22 Oct 2004 04:55:05 +0000 (04:55 +0000)
committerpaul <paul>
Fri, 22 Oct 2004 04:55:05 +0000 (04:55 +0000)
* 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.

ChangeLog
configure.ac

index e732bca5f48cc9d0028fab5adc8fb2d606476755..5f8599b1313855f2481b78a91823a1b65fbeeeb3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+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.
+
 2004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
 
        * lib, zebra, ripd, ospfd, bgpd: Support NULL connected destination
index 895b3e5d4929a5db5a0cad442c6e8dff1e4e6837..f6f018e2ad026cee7e2e19eacbbd47aa2726c6e8 100755 (executable)
@@ -5,7 +5,7 @@
 ##  Copyright (c) 1996, 97, 98, 99, 2000 Kunihiro Ishiguro <kunihiro@zebra.org>
 ##  Portions Copyright (c) 2003 Paul Jakma <paul@dishone.st>
 ##
-## $Id: configure.ac,v 1.70 2004/10/11 18:26:59 paul Exp $
+## $Id: configure.ac,v 1.71 2004/10/22 04:55:05 paul Exp $
 AC_PREREQ(2.53)
 
 AC_INIT(Quagga, 0.97.1, [http://bugzilla.quagga.net])
@@ -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"