diff options
author | Gwenole Beauchesne <gwenole.beauchesne@intel.com> | 2012-10-11 13:40:37 +0200 |
---|---|---|
committer | Gwenole Beauchesne <gwenole.beauchesne@intel.com> | 2012-11-16 11:57:46 +0100 |
commit | c9060bb4e27f8e891ba239646f57a69db672759d (patch) | |
tree | b7f105f4a0b8d07fcfd232c0dde1324e89c507ea /autogen.sh | |
parent | 90670d1be92ad46d745d025f3c7d19b1a5c8f67d (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 |