diff options
author | Stephen Fisher <steve@stephen-fisher.com> | 2007-03-23 17:49:59 +0000 |
---|---|---|
committer | Stephen Fisher <steve@stephen-fisher.com> | 2007-03-23 17:49:59 +0000 |
commit | 62f88a4a04d8e300ff108f6164e9016e8cdcc9c3 (patch) | |
tree | 73b10da0cb64b46cc16c63fa8ee0c6289727dd33 /Makefile.am | |
parent | 1f9eafa4fb5d351abb79034d9000d853d89f47fe (diff) | |
download | wireshark-62f88a4a04d8e300ff108f6164e9016e8cdcc9c3.tar.gz wireshark-62f88a4a04d8e300ff108f6164e9016e8cdcc9c3.tar.bz2 wireshark-62f88a4a04d8e300ff108f6164e9016e8cdcc9c3.zip |
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
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index c742ab0019..f57154209e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -25,7 +25,7 @@ ACLOCAL_AMFLAGS = `./aclocal-flags` INCLUDES= @LUA_INCLUDES@ -if USING_GCC +if HAVE_WARNINGS_AS_ERRORS AM_CFLAGS = -Werror endif |