1
From cbe46cc7690cc91e3f04388c2fafc164cafbd229 Mon Sep 17 00:00:00 2001
2
From: Matthew Barnes <mbarnes@redhat.com>
3
Date: Thu, 24 Nov 2011 22:57:59 +0000
4
Subject: Remove all *_DISABLE_DEPRECATED_FLAGS.
6
I'll care about deprecated APIs again when a gtk4 release date is
7
announced. Meanwhile it's just causing distros unnecessary pain.
9
(cherry picked from commit 580892db87f3ab5bb88495e7d5e9fde71a371e9f)
11
diff --git a/configure.ac b/configure.ac
12
index d22ff6c..28d9864 100644
15
@@ -48,19 +48,6 @@ AM_GLIB_GNU_GETTEXT
16
dnl **********************************
17
dnl Compiler Warning Flags
18
dnl **********************************
19
-AC_ARG_ENABLE([deprecated_warning_flags],
20
- AS_HELP_STRING([--enable-deprecated-warning-flags],
21
- [Enable warning flags for deprecated apis]),
22
- [enable_deprecated_flags=$enableval],[enable_deprecated_flags=yes])
24
-if test "x${enable_deprecated_flags}" = "xyes"; then
25
- AS_COMPILER_FLAGS(DEPRECATED_WARNING_FLAGS,
26
- "-DPANGO_DISABLE_DEPRECATED
27
- -DGDK_PIXBUF_DISABLE_DEPRECATED
28
- -DGNOME_DISABLE_DEPRECATED")
29
- AC_SUBST(WARNING_FLAGS)
32
AS_COMPILER_FLAGS(WARNING_FLAGS,
33
"-DG_DISABLE_SINGLE_INCLUDES
34
-DGTK_DISABLE_SINGLE_INCLUDES
35
@@ -85,7 +72,7 @@ dnl -Wshadow
36
dnl -Wstrict-aliasing=2
38
dnl XXX This really belongs in AM_CPPFLAGS.
39
-CFLAGS="$CFLAGS $DEPRECATED_WARNING_FLAGS $WARNING_FLAGS"
40
+CFLAGS="$CFLAGS $WARNING_FLAGS"
42
dnl *********************
43
dnl Necessary programs