From 62f88a4a04d8e300ff108f6164e9016e8cdcc9c3 Mon Sep 17 00:00:00 2001 From: Stephen Fisher Date: Fri, 23 Mar 2007 17:49:59 +0000 Subject: From Sebastien Tandel: (Temporarily disable the warnings as errors default on Unix to get to get the buildbots and people with gcc40 going again until those additional warnings gcc40 generates can be fixed-I'm working on it ASAP) Patch for configure.in which disables by default the treatment of warnings as errors. It can be enabled with './configure --with-warnings-as-errors'. The macro will test first if GCC is present. If it's the case, HAVE_WARNINGS_AS_ERRORS is defined. All the USING_GCC have been replaced by HAVE_WARNINGS_AS_ERRORS. With this switch, people won't suffer from unexpected warnings when downloading svn sources during the transition time ;) svn path=/trunk/; revision=21153 --- plugins/docsis/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/docsis') diff --git a/plugins/docsis/Makefile.am b/plugins/docsis/Makefile.am index 10816545c0..67a83ff144 100644 --- a/plugins/docsis/Makefile.am +++ b/plugins/docsis/Makefile.am @@ -26,7 +26,7 @@ INCLUDES = -I$(top_srcdir) -I$(includedir) include Makefile.common -if USING_GCC +if HAVE_WARNINGS_AS_ERRORS AM_CFLAGS = -Werror endif -- cgit v1.2.3