[gvfs] Enable more warnings with git
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs] Enable more warnings with git
- Date: Fri, 13 Jul 2012 14:22:38 +0000 (UTC)
commit 86137e52d78b2a03b90964c090656f4820f77c78
Author: William Jon McCann <jmccann redhat com>
Date: Tue Jul 10 19:49:59 2012 -0400
Enable more warnings with git
https://bugzilla.gnome.org/show_bug.cgi?id=679719
configure.ac | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 8f89621..5052afb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -746,14 +746,13 @@ dnl Turn on the additional warnings last, so -Werror doesn't affect other tests.
AC_ARG_ENABLE(more-warnings,
AS_HELP_STRING([--enable-more-warnings],[Maximum compiler warnings]),
set_more_warnings="$enableval",[
-if test -f $srcdir/CVSVERSION; then
- is_cvs_version=true
+if test -f $srcdir/.git; then
set_more_warnings=yes
else
set_more_warnings=no
fi
])
-AC_MSG_CHECKING(for more warnings, including -Werror)
+AC_MSG_CHECKING(for more warnings)
if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then
AC_MSG_RESULT(yes)
CFLAGS="\
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]