From b456d42bf68c4374f71f09867e375a51c7f2b3ed Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 11 Feb 2014 17:29:40 -0500 Subject: [PATCH] Allow bootstrapping without gtk-doc Seems like configure.ac is already able to handle it. --- autogen.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/autogen.sh b/autogen.sh index 6f4e903d7..9f9901847 100755 --- a/autogen.sh +++ b/autogen.sh @@ -20,11 +20,11 @@ which pkg-config || { } echo -n "checking for gtkdocize... " -which gtkdocize || { - echo "*** No gtkdocize found, please install it ***" - exit 1 -} -gtkdocize --copy || exit 1 +if which gtkdocize ; then + gtkdocize --copy || exit 1 +else + echo "*** No gtkdocize found, skipping documentation ***" +fi echo -n "checking for autoreconf... " which autoreconf || {