m4: update introspection.m4 with original file from gobject-introspection
authorThomas Haller <thaller@redhat.com>
Fri, 4 Mar 2016 08:23:44 +0000 (09:23 +0100)
committerThomas Haller <thaller@redhat.com>
Fri, 4 Mar 2016 08:25:23 +0000 (09:25 +0100)
Originally m4/introspection.m4 was copied from gobject-introspection
repository. We however modified it in commit f6272144e98c00db18cf67.

Reimport the file with latest changes, but still preserving our
workaround.

m4/introspection.m4

index efe0e9a..1dc1556 100644 (file)
@@ -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@:>@])