[gegl] Update introspection.m4, default value is now auto
- From: Daniel Sabo <daniels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] Update introspection.m4, default value is now auto
- Date: Wed, 5 Jun 2013 05:09:42 +0000 (UTC)
commit 87bfc3a400cb4f0a6bf79b396b75dd6a4313dc39
Author: Daniel Sabo <DanielSabo gmail com>
Date: Tue Jun 4 22:07:15 2013 -0700
Update introspection.m4, default value is now auto
m4/introspection.m4 | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/m4/introspection.m4 b/m4/introspection.m4
index 84e2c61..d89c3d9 100644
--- a/m4/introspection.m4
+++ b/m4/introspection.m4
@@ -22,7 +22,7 @@ m4_define([_GOBJECT_INTROSPECTION_CHECK_INTERNAL],
AC_ARG_ENABLE(introspection,
AS_HELP_STRING([--enable-introspection[=@<:@no/auto/yes@:>@]],
[Enable introspection for this build]),,
- [enable_introspection=no])
+ [enable_introspection=auto])
])dnl
AC_MSG_CHECKING([for gobject-introspection])
@@ -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]