[gnome-session] misc: Rename --enable-deprecations to --enable-deprecation-flags
- From: Vincent Untz <vuntz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-session] misc: Rename --enable-deprecations to --enable-deprecation-flags
- Date: Mon, 27 Sep 2010 10:35:15 +0000 (UTC)
commit afce85b272186c99d3d810fea286855df9b26b88
Author: Vincent Untz <vuntz gnome org>
Date: Mon Sep 27 12:34:35 2010 +0200
misc: Rename --enable-deprecations to --enable-deprecation-flags
This is a better name for this configure option, since it's really about
enabling the use of the deprecation flags, not allowing the use of
deprecated API.
configure.ac | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 73d789b..923ed45 100644
--- a/configure.ac
+++ b/configure.ac
@@ -28,12 +28,12 @@ GNOME_MAINTAINER_MODE_DEFINES
GNOME_COMPILE_WARNINGS(maximum)
-AC_ARG_ENABLE(deprecations,
- [AC_HELP_STRING([--enable-deprecations],
- [warn about deprecated usages @<:@default=no@:>@])],,
- [enable_deprecations=no])
+AC_ARG_ENABLE(deprecation_flags,
+ [AC_HELP_STRING([--enable-deprecation-flags],
+ [use *_DISABLE_DEPRECATED flags @<:@default=no@:>@])],,
+ [enable_deprecation_flags=no])
-if test "x$enable_deprecations" = "xyes"; then
+if test "x$enable_deprecation_flags" = "xyes"; then
DISABLE_DEPRECATED_CFLAGS=$DISABLE_DEPRECATED
AC_SUBST([DISABLE_DEPRECATED_CFLAGS])
fi
@@ -378,7 +378,7 @@ echo "
compiler: ${CC}
cflags: ${CFLAGS}
Maintainer mode: ${USE_MAINTAINER_MODE}
- Warn about deprecations: ${enable_deprecations}
+ Use *_DISABLE_DEPRECATED: ${enable_deprecation_flags}
GTK+ version: ${with_gtk}
Default WM: ${with_default_wm}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]