[gtksourceview/fix-build] build: do not remove deprecated symbols from header files
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/fix-build] build: do not remove deprecated symbols from header files
- Date: Mon, 22 Jul 2013 14:07:08 +0000 (UTC)
commit 968e21a7176b6eca00b33c439da6010b6935cb4f
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 | 13 ++++---------
1 files changed, 4 insertions(+), 9 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 9acb975..0b379ab 100644
--- a/configure.ac
+++ b/configure.ac
@@ -73,16 +73,11 @@ 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="no"])
if test "$enable_deprecations" = "yes"; then
DISABLE_DEPRECATED_CFLAGS="\
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]