[frogr] Don't disable deprecated API by default



commit 1761d241a44e9f20cbc90728312e5bf343d1e3ed
Author: Alberto Garcia <berto igalia com>
Date:   Tue Sep 3 21:31:24 2013 +0300

    Don't disable deprecated API by default
    
    Do it only when --enable-debug is set.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=700005

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 0909bf9..5031bdf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -14,7 +14,6 @@ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
 # Extra verbose warning switches
 
 CFLAGS="$CFLAGS -DG_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -DGSEAL_ENABLE"
-CFLAGS="$CFLAGS -DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED 
-DGDK_PIXBUF_DISABLE_DEPRECATED"
 
 # (Platform independent) dependencies for frogr
 
@@ -127,6 +126,7 @@ AC_MSG_RESULT([$enable_debug])
 if test "x$enable_debug" = "xyes"; then
    AC_DEFINE([DEBUG_ENABLED], [1], [Debug enabled])
    CFLAGS="$CFLAGS -DG_ENABLE_DEBUG -DG_ERRORCHECK_MUTEXES -Wall -Werror -g3 -O0"
+   CFLAGS="$CFLAGS -DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED 
-DGDK_PIXBUF_DISABLE_DEPRECATED"
 else
    CFLAGS="$CFLAGS -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS"
 fi


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