diff options
author | Gwenole Beauchesne <gwenole.beauchesne@intel.com> | 2012-10-11 13:40:37 +0200 |
---|---|---|
committer | Gwenole Beauchesne <gwenole.beauchesne@intel.com> | 2012-10-11 13:42:26 +0200 |
commit | 9692201505b4e39b08ea04049903c2564a7899f6 (patch) | |
tree | 79889157edfb1f3ae2f89d841d2a14bde1b268ff /autogen.sh | |
parent | fa873969056c534a330bdb7909d6e3c32df769fd (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-x | autogen.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |