phonemgr r319 - trunk



Author: hadess
Date: Thu Jul 31 00:50:10 2008
New Revision: 319
URL: http://svn.gnome.org/viewvc/phonemgr?rev=319&view=rev

Log:
2008-07-31  Bastien Nocera  <hadess hadess net>

	* configure.in:
	* src/Makefile.am: Enable warnings, yay for time wasting!



Modified:
   trunk/ChangeLog
   trunk/configure.in

Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in	(original)
+++ trunk/configure.in	Thu Jul 31 00:50:10 2008
@@ -13,7 +13,7 @@
 AM_DISABLE_SHARED
 AM_PROG_LIBTOOL
 
-GNOKII_REQS="gnokii >= 0.6.26 bluez >= 3.12"
+GNOKII_REQS="gnokii >= 0.6.27cvs bluez >= 3.12"
 GNOME_BLUETOOTH_REQS="gnome-bluetooth > 0.8.0"
 
 AC_PROG_CC
@@ -107,47 +107,11 @@
   AC_DEFINE_UNQUOTED(PHONEMGR_DATA_DIR, "${datadir}/${PACKAGE}", [data dir])
 fi
 
-
-dnl ==========================================================================
-dnl Turn on the additional warnings last, so -Werror doesn't affect other tests.
-AC_ARG_ENABLE(more-warnings,
-[  --enable-more-warnings  Maximum compiler warnings],
-set_more_warnings="$enableval",[
-if test -f $srcdir/CVS/Entries; then
-    is_cvs_version=true
-    set_more_warnings=yes
-else
-    set_more_warnings=no
-fi
-])
-AC_MSG_CHECKING(for more warnings, including -Werror)
-if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then
-    AC_MSG_RESULT(yes)
-    CXXFLAGS="\
-    -Wall \
-    -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes \
-    -Wnested-externs -Wpointer-arith \
-    -Wcast-align -Wsign-compare \
-    $CXXFLAGS"
-
-    for option in -Wsign-promo -Wno-sign-compare -Wmissing-noreturn; do
-        SAVE_CFLAGS="$CXXFLAGS"
-        CFLAGS="$option $CXXFLAGS"
-        AC_MSG_CHECKING([whether gcc understands $option])
-        AC_TRY_COMPILE([], [],
-            has_option=yes,
-            has_option=no,)
-        if test $has_option = no; then
-            CXXFLAGS="$SAVE_CXXFLAGS"
-        fi
-        AC_MSG_RESULT($has_option)
-        unset has_option
-        unset SAVE_CXXFLAGS
-    done
-    unset option
-else
-    AC_MSG_RESULT(no)
-fi
+GNOME_COMMON_INIT
+GNOME_DEBUG_CHECK
+GNOME_COMPILE_WARNINGS([maximum])
+GNOME_CXX_WARNINGS
+GNOME_MAINTAINER_MODE_DEFINES
 
 AC_CONFIG_FILES([
 Makefile



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]