[json-glib] build: Allow m4 substitution for conditional defaults
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [json-glib] build: Allow m4 substitution for conditional defaults
- Date: Tue, 5 Jul 2011 13:58:47 +0000 (UTC)
commit c296ca9ed06b8e4b54a4bd8003593b3a98b94f6b
Author: Emmanuele Bassi <ebassi linux intel com>
Date: Tue Jul 5 14:22:13 2011 +0100
build: Allow m4 substitution for conditional defaults
To compensate for AC_HELP_STRING()'s braindamage.
configure.ac | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 5b2e2e5..add5302 100644
--- a/configure.ac
+++ b/configure.ac
@@ -95,7 +95,7 @@ m4_define([debug_default], [m4_if(m4_eval(json_minor_version % 2), [1], [yes], [
AC_ARG_ENABLE([debug],
[AC_HELP_STRING([--enable-debug=@<:@no/minimum/yes@:>@],
- [turn on debugging @<:@default=debug_default@:>@])],
+ [turn on debugging @<:@default=]debug_default[@:>@])],
[],
[enable_debug=debug_default])
@@ -128,7 +128,7 @@ dnl = Enable strict compiler flags ============================================
m4_define([maintainer_flags_default], [m4_if(m4_eval(json_minor_version % 2), [1], [yes], [no])])
AC_ARG_ENABLE([maintainer-flags],
[AC_HELP_STRING([--enable-maintainer-flags=@<:@no/yes@:>@],
- [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]