summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>2012-10-11 13:40:37 +0200
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>2012-10-11 13:42:26 +0200
commit9692201505b4e39b08ea04049903c2564a7899f6 (patch)
tree79889157edfb1f3ae2f89d841d2a14bde1b268ff /autogen.sh
parentfa873969056c534a330bdb7909d6e3c32df769fd (diff)
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).
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/autogen.sh b/autogen.sh
index 920e77e9..3d7ffd83 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