[gtksourceview/wip/fix-build] build: do not remove deprecated symbols from header files



commit a461a72ab3cbd73c805d691d4998573bba8a6ea0
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Mon Jul 22 16:02:54 2013 +0200

    build: do not remove deprecated symbols from header files
    
    By default.

 configure.ac |   15 +++++----------
 1 files changed, 5 insertions(+), 10 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 9acb975..0ba51b5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -73,18 +73,13 @@ AC_PATH_PROG(GLIB_COMPILE_RESOURCES, glib-compile-resources)
 # Compile warnings
 GNOME_COMPILE_WARNINGS([maximum])
 
-if test "$USE_MAINTAINER_MODE" = "yes"; then
-       enable_deprecations=yes
-else
-       enable_deprecations=no
-fi
-
 AC_ARG_ENABLE(deprecations,
-              [AS_HELP_STRING([--enable-deprecations],
-                              [warn about deprecated usages [default=no]])],
-              [enable_deprecations=$enableval], [])
+              [AS_HELP_STRING([--disable-deprecations],
+                              [remove deprecated symbols from the header files])],
+              [enable_deprecations=$enableval],
+              [enable_deprecations="yes"])
 
-if test "$enable_deprecations" = "yes"; then
+if test "$enable_deprecations" = "no"; then
        DISABLE_DEPRECATED_CFLAGS="\
 -DG_DISABLE_DEPRECATED \
 -DGDK_DISABLE_DEPRECATED \


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