summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorpaul <paul>2004-07-22 18:16:59 +0000
committerpaul <paul>2004-07-22 18:16:59 +0000
commit138120c6a74933e3912b78a18f23bfb5ef5850d2 (patch)
tree8a265c1d61366dbd33ac368776ce8fdb5f03c261 /configure.ac
parent5cdf92fd827f057dd1f03effb6051682b738f6a2 (diff)
downloadquagga-138120c6a74933e3912b78a18f23bfb5ef5850d2.tar.bz2
quagga-138120c6a74933e3912b78a18f23bfb5ef5850d2.tar.xz
2004-07-22 Paul Jakma <paul@dishone.st>
* configure.ac: modify default CFLAGS to be compiler agnostic build Makefile for tests/ subdir.
Diffstat (limited to 'configure.ac')
-rwxr-xr-xconfigure.ac6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 05adb683..197fef74 100755
--- a/configure.ac
+++ b/configure.ac
@@ -46,8 +46,11 @@ AC_PROG_CC
dnl -----------------------------------------
dnl If CLFAGS doesn\'t exist set default value
dnl -----------------------------------------
+dnl (Wall is gcc specific... have to make sure
+dnl gcc is being used before setting it)
+dnl
if test "x$cflags_specified" = "x" ; then
- CFLAGS="$CFLAGS -Wall"
+ CFLAGS="$CFLAGS -O"
fi
dnl --------------
@@ -1122,6 +1125,7 @@ AC_OUTPUT(Makefile lib/Makefile zebra/Makefile ripd/Makefile
vtysh/extract.pl
redhat/Makefile redhat/quagga.spec
lib/version.h,
+ tests/Makefile,
[chmod +x vtysh/extract.pl])
echo "