[Sugar-devel] [PATCH sugar-toolkit-gtk3] configure.ac: Require gobject-introspection

Sascha Silbe silbe at activitycentral.com
Mon Mar 19 15:16:50 EDT 2012


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 at activitycentral.com>
---
 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index ea782c3..bbe28c8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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
-- 
1.7.9



More information about the Sugar-devel mailing list