diff --git a/autogen.sh b/autogen.sh index a2bba137..0eb65550 100755 --- a/autogen.sh +++ b/autogen.sh @@ -16,8 +16,8 @@ set -e mkdir -p m4 -GTKDOCIZE=$(which gtkdocize 2>/dev/null) -if test -z $GTKDOCIZE; then +GTKDOCIZE=$(which gtkdocize 2>/dev/null || true) +if test -z "$GTKDOCIZE"; then 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 <