Don't set build-breaking defines
authorMatthias Clasen <mclasen@redhat.com>
Thu, 13 Oct 2011 21:54:40 +0000 (17:54 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 13 Oct 2011 21:54:40 +0000 (17:54 -0400)
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

index 7159901..f42da71 100644 (file)
@@ -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
 #