From 9692201505b4e39b08ea04049903c2564a7899f6 Mon Sep 17 00:00:00 2001 From: Gwenole Beauchesne Date: Thu, 11 Oct 2012 13:40:37 +0200 Subject: [PATCH] autogen: fix check for gtkdocize and autoreconf. If gtkdocize or autoreconf programs were not found, then the autogen.sh script would fail to report that correctly because test -z was not passed any argument (empty string "" in this case). --- autogen.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autogen.sh b/autogen.sh index 920e77e..3d7ffd8 100755 --- a/autogen.sh +++ b/autogen.sh @@ -16,7 +16,7 @@ cd "$srcdir" mkdir -p m4 GTKDOCIZE=`which gtkdocize` -if test -z $GTKDOCIZE; then +if test -z "$GTKDOCIZE"; then echo "*** No gtk-doc support ***" echo "EXTRA_DIST =" > gtk-doc.make else @@ -24,7 +24,7 @@ else fi AUTORECONF=`which autoreconf` -if test -z $AUTORECONF; then +if test -z "$AUTORECONF"; then echo "*** No autoreconf found ***" exit 1 else -- 2.7.4