From b94f538385b89954f1fe8afe5e92c72a1ad4a5dd Mon Sep 17 00:00:00 2001 From: psychon Date: Sun, 2 Dec 2007 09:22:51 +0000 Subject: [PATCH] Only use -Wall etc for GCC I doubt some other compiler (ICC?) would work with this, but meh... git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@888 726aef4b-f618-498e-8847-2d620e286838 --- configure.in | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/configure.in b/configure.in index 08f4305e..75876600 100644 --- a/configure.in +++ b/configure.in @@ -88,8 +88,6 @@ AC_ARG_ENABLE( [sasl], AC_HELP_STRING([--enable-sasl], [enable sasl]), [if test "$enableval" = "yes" ; then SASL=1; fi],) -appendCXX -Wall -W -Wno-unused - if test "$DEBUG" != "no"; then appendCXX -ggdb -D_DEBUG else @@ -101,7 +99,7 @@ if test "$IPV6" != "no"; then fi if test "x$GXX" = "xyes"; then - appendCXX -Woverloaded-virtual + appendCXX -Wall -W -Wno-unused -Woverloaded-virtual # enable g++ dependency tracking DEPEND=".depend" fi