summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2011-10-13 17:54:40 -0400
committerMatthias Clasen <mclasen@redhat.com>2011-10-13 17:54:40 -0400
commit8bc3c963d9ff43b1522d36d561c0ce9f8bffd19e (patch)
tree3573f96130fcb0ff398043dd470686cae3677698
parent0e091322c494b1523617ca7488ea22e58f8a2c13 (diff)
downloadpango-8bc3c963d9ff43b1522d36d561c0ce9f8bffd19e.tar.gz
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.
-rw-r--r--configure.in7
1 files changed, 0 insertions, 7 deletions
diff --git a/configure.in b/configure.in
index 71599010..f42da71d 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
#