From: paul Date: Thu, 22 Jul 2004 18:16:59 +0000 (+0000) Subject: 2004-07-22 Paul Jakma X-Git-Tag: frr-2.0-rc1~3657 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=27eebb3e5713559379ac072d5f36e26044465ab0;p=mirror%2Ffrr.git 2004-07-22 Paul Jakma * configure.ac: modify default CFLAGS to be compiler agnostic build Makefile for tests/ subdir. --- diff --git a/ChangeLog b/ChangeLog index c1bebd8dfc..fde19bcf6f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-07-22 Paul Jakma + + * configure.ac: modify default CFLAGS to be compiler agnostic + build Makefile for tests/ subdir. + 2004-07-14 Greg Troxel * Makefile.am (EXTRA_DIST): Add missing \, so tools stuff is diff --git a/configure.ac b/configure.ac index 632de2ac0e..8eacf476d1 100755 --- a/configure.ac +++ b/configure.ac @@ -5,7 +5,7 @@ ## Copyright (c) 1996, 97, 98, 99, 2000 Kunihiro Ishiguro ## Portions Copyright (c) 2003 Paul Jakma ## -## $Id: configure.ac,v 1.55 2004/06/30 17:36:11 gdt Exp $ +## $Id: configure.ac,v 1.56 2004/07/22 18:16:59 paul Exp $ AC_PREREQ(2.53) AC_INIT(quagga, 0.96.5, [http://bugzilla.quagga.net]) @@ -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 "