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 /wiretap | |
parent | 5285c91f9a42ba8caeedb367276cb4110acb1233 (diff) |
Fix --with(out)-warnings-as-errors test so warnings-as-errors can be disabled (with gcc)
svn path=/trunk/; revision=21453
Diffstat (limited to 'wiretap')
-rw-r--r-- | wiretap/configure.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/wiretap/configure.in b/wiretap/configure.in index 20b357cd6d..d5cea44085 100644 --- a/wiretap/configure.in +++ b/wiretap/configure.in @@ -88,12 +88,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 |