[clutter] build: Unescape conditionally defined defaults in AS_HELP_STRING



commit f45b12dac40d9f7500840877c7ec38292873c8cf
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Wed Jul 13 14:49:55 2011 +0100

    build: Unescape conditionally defined defaults in AS_HELP_STRING
    
    AS_HELP_STRING() escapes everything, so m4 doesn't have a chance to run
    expansions.

 configure.ac |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index e93fd0f..227401a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -667,7 +667,7 @@ dnl === Enable debug level ====================================================
 m4_define([debug_default], [m4_if(m4_eval(clutter_minor_version % 2), [1], [yes], [minimum])])
 AC_ARG_ENABLE([debug],
               [AS_HELP_STRING([--enable-debug=@<:@no/minimum/yes@:>@],
-                              [Control Clutter debugging level @<:@default=debug_default@:>@])],
+                              [Control Clutter debugging level @<:@default=]debug_default[@:>@])],
               [],
               [enable_debug=debug_default])
 
@@ -700,7 +700,7 @@ m4_define([deprecated_default],
 
 AC_ARG_ENABLE([deprecated],
               [AS_HELP_STRING([--enable-deprecated=@<:@no/yes@:>@],
-                              [Whether deprecated symbols should be disabled when compiling Clutter])],
+                              [Whether deprecated symbols should be disabled when compiling Clutter @<:@default=]deprecated_default[@:>@])],
               [],
               [enable_deprecated=deprecated_default])
 
@@ -807,7 +807,7 @@ dnl === Enable strict compiler flags ==========================================
 m4_define([maintainer_flags_default], [m4_if(m4_eval(clutter_micro_version % 2), [1], [yes], [no])])
 AC_ARG_ENABLE([maintainer-flags],
               [AS_HELP_STRING([--enable-maintainer-flags=@<:@no/yes/error@:>@],
-                              [Use strict compiler flags @<:@default=maintainer_flags_default@:>@])],
+                              [Use strict compiler flags @<:@default=]maintainer_flags_default[@:>@])],
               [],
               [enable_maintainer_flags=maintainer_flags_default])
 



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