[gtkhtml] Remove all *_DISABLE_DEPRECATED_FLAGS.



commit 580892db87f3ab5bb88495e7d5e9fde71a371e9f
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.

 configure.ac |   15 +--------------
 1 files changed, 1 insertions(+), 14 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 207e417..8fbae86 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,
 	"-Wall -Wextra
 	-Wno-missing-field-initializers
@@ -83,7 +70,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]