summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Untz <vuntz@gnome.org>2010-09-27 12:34:28 +0200
committerVincent Untz <vuntz@gnome.org>2010-09-27 12:34:28 +0200
commitcc9392b02000578ff8a65a9178136ee1ac29999f (patch)
tree251e0589d11a4f06f59253e16e166d285fe6b04a
parenta186fd369b434ce97efdc7fabcd031a27a60efb2 (diff)
downloadlibwnck-cc9392b02000578ff8a65a9178136ee1ac29999f.tar.gz
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.
-rw-r--r--configure.ac12
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}