[pango] Don't set build-breaking defines



commit 8bc3c963d9ff43b1522d36d561c0ce9f8bffd19e
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Oct 13 17:54:40 2011 -0400

    Don't set build-breaking defines
    
    Now that we get compiler warnings for deprecations, we don't
    need to use the G_DISABLE_DEPRECATED hammer anymore.
    Bye, bye, build breakage.

 configure.in |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/configure.in b/configure.in
index 7159901..f42da71 100644
--- a/configure.in
+++ b/configure.in
@@ -482,13 +482,6 @@ AC_SUBST(GLIB_MKENUMS)
 # necesary defines for thread-safety.
 GLIB_CFLAGS=`$PKG_CONFIG --cflags $GLIB_MODULES gthread-2.0`
 
-# See if it's safe to turn G_DISABLE_DEPRECATED on.
-GLIB_VERSION_MAJOR_MINOR=`$PKG_CONFIG --modversion glib-2.0 | sed "s/\.@<:@^.@:>@*\$//"`
-GLIB_REQUIRED_VERSION_MAJOR_MINOR=`echo $GLIB_REQUIRED_VERSION | sed "s/\.@<:@^.@:>@*\$//"`
-if test "x$GLIB_VERSION_MAJOR_MINOR" = "x$GLIB_REQUIRED_VERSION_MAJOR_MINOR"; then
-  GLIB_CFLAGS="-DG_DISABLE_DEPRECATED $GLIB_CFLAGS"
-fi
-
 #
 # Checks for LibThai
 #



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