From 1acc2b448409ba999506a0574e5283f86c077085 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Sun, 29 Aug 2010 11:16:26 +0100 Subject: [PATCH] Ensure gobject-introspection is installed before running configure. Fixes #29861 --- autogen.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/autogen.sh b/autogen.sh index 217750a9d..41481400f 100755 --- a/autogen.sh +++ b/autogen.sh @@ -25,6 +25,12 @@ if ([ -z "$*" ] && [ "x$NOCONFIGURE" = "x" ]) ; then echo fi +# check for gobject-introspection-devel +(which g-ir-scanner &> /dev/null) || { + echo "**Error**: you don't have gobject-introspection installed" + exit 1 +} + (cd $srcdir && gtkdocize) || exit 1 (cd $srcdir && autoreconf --force --install) || exit 1 (cd $srcdir && intltoolize) || exit 1