[vte] Fix deprecation enabling logic



commit 5311d24f0382fbfaac117a46b45f1163f370bfbd
Author: Behdad Esfahbod <behdad behdad org>
Date:   Tue Jan 12 02:44:16 2010 -0500

    Fix deprecation enabling logic

 configure.in |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.in b/configure.in
index 598da96..fcaaf55 100644
--- a/configure.in
+++ b/configure.in
@@ -213,7 +213,7 @@ AC_ARG_ENABLE([deprecation],
   [AS_HELP_STRING([--disable-deprecation],
                   [prohibit VTE from using deprecated GLib/Pango/ATK/GDK/GTK+ features (default: $enable_maintainer_mode)])],
   [],[enable_deprecation=$enable_maintainer_mode])
-if test "enable_deprecation"; then
+if test "x$enable_deprecation" = xyes; then
   AC_MSG_NOTICE([disabling deprecated GLIB/PANGO/GDK/ATK/GTK+ features])
 
   AC_DEFINE([ATK_DISABLE_DEPRECATED],[1],[Disable deprecated features])
@@ -508,5 +508,5 @@ cat <<EOF | tee -a config.log
 Configuration for libvte $VERSION
 	Installing Glade catalogue: $enable_glade_catalogue
 	Debugging: $DEBUG
-	Disable deprecated features: $usedeprecation
+	Disallow deprecated features: $enable_deprecation
 EOF



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