From af8ce7e7b6824da9554f5dc2d17a55729e0e4fed Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Tue, 4 Dec 2007 19:21:58 +0000 Subject: [PATCH] Turn more warnings on by default; use --disable-more-warnings to turn them off git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3132 4912f4e0-d625-0410-9fb7-b9a5a253dbdc --- configure.in | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/configure.in b/configure.in index d9db1dd3d2..dfba4dbb2c 100644 --- a/configure.in +++ b/configure.in @@ -222,14 +222,7 @@ AC_CHECK_HEADERS(pppd/pppd.h,, AC_ARG_ENABLE(more-warnings, -AC_HELP_STRING([--enable-more-warnings], [Maximum compiler warnings]), -set_more_warnings="$enableval",[ -if test -d "$srcdir/{arch}" || test -d "$srcdir/CVS"; then - set_more_warnings=yes -else - set_more_warnings=no -fi -]) +AC_HELP_STRING([--enable-more-warnings], [Maximum compiler warnings]), set_more_warnings="$enableval",set_more_warnings=yes) AC_MSG_CHECKING(for more warnings, including -Werror) if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then AC_MSG_RESULT(yes)