[gobject-introspection] introspection.m4: Set enable_introspection to yes/no consistently
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] introspection.m4: Set enable_introspection to yes/no consistently
- Date: Mon, 5 Mar 2012 14:43:55 +0000 (UTC)
commit 104312fc07e7308c5ef4f393560639cc0efd372d
Author: Colin Walters <walters verbum org>
Date: Thu Feb 23 11:13:29 2012 -0500
introspection.m4: Set enable_introspection to yes/no consistently
Some people want the ability to use it inside their configure scripts.
http://git.gnome.org/browse/totem/commit/?id=e57d75f555eaad98ec3eee31cf94336ba885174c
m4/introspection.m4 | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/m4/introspection.m4 b/m4/introspection.m4
index 589721c..d89c3d9 100644
--- a/m4/introspection.m4
+++ b/m4/introspection.m4
@@ -41,6 +41,8 @@ m4_define([_GOBJECT_INTROSPECTION_CHECK_INTERNAL],
],dnl
[auto],[dnl
PKG_CHECK_EXISTS([gobject-introspection-1.0 >= $1], found_introspection=yes, found_introspection=no)
+ dnl Canonicalize enable_introspection
+ enable_introspection=$found_introspection
],dnl
[dnl
AC_MSG_ERROR([invalid argument passed to --enable-introspection, should be one of @<:@no/auto/yes@:>@])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]