[gtkhtml/gnome-3-2] Remove all *_DISABLE_DEPRECATED_FLAGS.



commit cbe46cc7690cc91e3f04388c2fafc164cafbd229
Author: Matthew Barnes <mbarnes redhat com>
Date:   Thu Nov 24 17:57:59 2011 -0500

    Remove all *_DISABLE_DEPRECATED_FLAGS.
    
    I'll care about deprecated APIs again when a gtk4 release date is
    announced.  Meanwhile it's just causing distros unnecessary pain.
    
    (cherry picked from commit 580892db87f3ab5bb88495e7d5e9fde71a371e9f)

 configure.ac |   15 +--------------
 1 files changed, 1 insertions(+), 14 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index d22ff6c..28d9864 100644
--- a/configure.ac
+++ b/configure.ac
@@ -48,19 +48,6 @@ AM_GLIB_GNU_GETTEXT
 dnl **********************************
 dnl Compiler Warning Flags
 dnl **********************************
-AC_ARG_ENABLE([deprecated_warning_flags],
-	AS_HELP_STRING([--enable-deprecated-warning-flags],
-	[Enable warning flags for deprecated apis]),
-	[enable_deprecated_flags=$enableval],[enable_deprecated_flags=yes])
-
-if test "x${enable_deprecated_flags}" = "xyes"; then
-	AS_COMPILER_FLAGS(DEPRECATED_WARNING_FLAGS,
-		"-DPANGO_DISABLE_DEPRECATED
-		-DGDK_PIXBUF_DISABLE_DEPRECATED
-		-DGNOME_DISABLE_DEPRECATED")
-	AC_SUBST(WARNING_FLAGS)
-fi
-
 AS_COMPILER_FLAGS(WARNING_FLAGS,
 	"-DG_DISABLE_SINGLE_INCLUDES
 	-DGTK_DISABLE_SINGLE_INCLUDES
@@ -85,7 +72,7 @@ dnl	-Wshadow
 dnl	-Wstrict-aliasing=2
 
 dnl XXX This really belongs in AM_CPPFLAGS.
-CFLAGS="$CFLAGS $DEPRECATED_WARNING_FLAGS  $WARNING_FLAGS"
+CFLAGS="$CFLAGS $WARNING_FLAGS"
 
 dnl *********************
 dnl Necessary programs



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