[libwnck] misc: Rename --enable-deprecations to --enable-deprecation-flags
- From: Vincent Untz <vuntz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libwnck] misc: Rename --enable-deprecations to --enable-deprecation-flags
- Date: Mon, 27 Sep 2010 10:34:38 +0000 (UTC)
commit cc9392b02000578ff8a65a9178136ee1ac29999f
Author: Vincent Untz <vuntz gnome org>
Date: Mon Sep 27 12:34:28 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 f29284f..3767471 100644
--- a/configure.ac
+++ b/configure.ac
@@ -62,12 +62,12 @@ changequote([,])dnl
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
@@ -198,7 +198,7 @@ echo "
compiler: ${CC}
cflags: ${CFLAGS}
Maintainer mode: ${USE_MAINTAINER_MODE}
- Warn about deprecations: ${enable_deprecations}
+ Use *_DISABLE_DEPRECATED: ${enable_deprecation_flags}
Startup notification support: ${have_sn}
XRes support: ${have_xres}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]