Commit 87bfc3a4 authored by Daniel Sabo's avatar Daniel Sabo

Update introspection.m4, default value is now auto

parent f56bbc6a
......@@ -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@:>@])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment