From 8a2a9f9db169eaaf2a7eede18e0ceba0af44345f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Wed, 26 Sep 2012 01:17:07 +0900 Subject: Make gtk-doc not a hard dependency of gobject-introspection Fixes https://bugzilla.gnome.org/show_bug.cgi?id=684795 --- autogen.sh | 13 +++++++++---- configure.ac | 8 +++++++- docs/Makefile.am | 2 ++ 3 files changed, 18 insertions(+), 5 deletions(-) diff --git a/autogen.sh b/autogen.sh index 0eac5f59..51f51c40 100755 --- a/autogen.sh +++ b/autogen.sh @@ -7,10 +7,16 @@ test -n "$srcdir" || srcdir=. olddir=`pwd` cd "$srcdir" -GTKDOCIZE=`which gtkdocize` +GTKDOCIZE=$(which gtkdocize 2>/dev/null) if test -z $GTKDOCIZE; then - echo "*** No GTK-Doc found, please install it ***" - exit 1 + echo "You don't have gtk-doc installed, and thus won't be able to generate the documentation." + rm -f gtk-doc.make + cat > gtk-doc.make <