summaryrefslogtreecommitdiff
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-11-16 11:57:46 +0100
commitc9060bb4e27f8e891ba239646f57a69db672759d (patch)
treeb7f105f4a0b8d07fcfd232c0dde1324e89c507ea
parent90670d1be92ad46d745d025f3c7d19b1a5c8f67d (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).
-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