gnome-games r8203 - trunk



Author: chpe
Date: Sun Oct 26 14:45:57 2008
New Revision: 8203
URL: http://svn.gnome.org/viewvc/gnome-games?rev=8203&view=rev

Log:
Add GNOME_MAINTAINER_MODE_DEFINES.

Modified:
   trunk/configure.in

Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in	(original)
+++ trunk/configure.in	Sun Oct 26 14:45:57 2008
@@ -197,6 +197,7 @@
 GNOME_COMMON_INIT
 GNOME_COMPILE_WARNINGS([maximum])
 GNOME_CXX_WARNINGS([yes])
+GNOME_MAINTAINER_MODE_DEFINES
 
 AC_C99_VARIADIC_MACROS
 AC_C99_VARIABLE_ARRAYS
@@ -911,7 +912,7 @@
 AC_SUBST(scoredir)
 
 BUILD_BREAKER_BASIC="-Werror -Wextra -Wfloat-equal -Wmissing-declarations -Wredundant-decls -Wold-style-definition -Wmissing-noreturn -Wdeclaration-after-statement -Wshadow -Wendif-labels -Wlarger-than-4000 -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wundef -Wunreachable-code -fdata-sections"
-MEGA_BUILD_BREAKER="-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -Wstrict-prototypes -Wbad-function-cast"
+MEGA_BUILD_BREAKER="$DISABLE_DEPRECATED -Wstrict-prototypes -Wbad-function-cast"
 
 AC_ARG_ENABLE(build-breaker,
   AC_HELP_STRING([--enable-build-breaker],
@@ -928,6 +929,13 @@
 AC_SUBST([GNOME_GAMES_CXXFLAGS])
 AC_SUBST([GNOME_GAMES_LIBS])
 
+AM_CPPFLAGS="$AM_CPPFLAGS $DISABLE_DEPRECATED"
+
+AC_SUBST([AM_CPPFLAGS])
+AC_SUBST([AM_CFLAGS])
+AC_SUBST([AM_CXXFLAGS])
+AC_SUBST([AM_LDFLAGS])
+
 ##############################################
 ##############################################
 



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