configure.ac: Require gobject-introspection

configure.ac already checked if gobject-introspection is installed, but
instead of aborting with an error it continued and silently omitted crucial
parts of the build system, confusing the user with the error message

make[4]: *** No rule to make target `SugarExt-1.0.gir', needed by `all-am'.  Stop.

much later in the build. Fix this by using the appropriate autoconf macro.

Signed-off-by: Sascha Silbe <silbe@activitycentral.com>
Acked-by: Simon Schampijer <simon@laptop.org>
This commit is contained in:
Sascha Silbe 2012-03-19 20:16:50 +01:00 committed by Simon Schampijer
parent 4f5c9308a8
commit c653cdf4dc

View File

@ -35,7 +35,7 @@ AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Gettext package])
AM_GLIB_GNU_GETTEXT
GOBJECT_INTROSPECTION_CHECK([1.30.0])
GOBJECT_INTROSPECTION_REQUIRE([1.30.0])
AC_OUTPUT([
Makefile