diff options
author | Jeff Morriss <jeff.morriss@ulticom.com> | 2007-04-17 10:01:39 +0000 |
---|---|---|
committer | Jeff Morriss <jeff.morriss@ulticom.com> | 2007-04-17 10:01:39 +0000 |
commit | 046cf4db3163365cc00b599b8c00c68d5c0d2eff (patch) | |
tree | cf1781eedcc10df02367824beca8279c609ea194 /configure.in | |
parent | 5285c91f9a42ba8caeedb367276cb4110acb1233 (diff) | |
download | wireshark-046cf4db3163365cc00b599b8c00c68d5c0d2eff.tar.gz wireshark-046cf4db3163365cc00b599b8c00c68d5c0d2eff.tar.bz2 wireshark-046cf4db3163365cc00b599b8c00c68d5c0d2eff.zip |
Fix --with(out)-warnings-as-errors test so warnings-as-errors can be disabled (with gcc)
svn path=/trunk/; revision=21453
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.in b/configure.in index fcf9df0827..4bd72f9beb 100644 --- a/configure.in +++ b/configure.in @@ -214,12 +214,12 @@ AC_ARG_WITH(warnings-as-errors, AC_HELP_STRING( [--with-warnings-as-errors], [Treat warnings as errors (only for gcc). [default=yes]]), [ - if test "x$GCC" != "x" && test "x$withval" != "xno"; then - with_warnings_as_errors="no" - AC_MSG_RESULT(no) - else + if test "x$GCC" != "x" && test "x$withval" == "xyes"; then with_warnings_as_errors="yes" AC_MSG_RESULT(yes) + else + with_warnings_as_errors="no" + AC_MSG_RESULT(no) fi ], if test "x$GCC" != "x" && test "x$wireshark_extra_gcc_flags" = "x"; then |