mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
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).
This commit is contained in:
parent
fa87396905
commit
9692201505
1 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ cd "$srcdir"
|
||||||
mkdir -p m4
|
mkdir -p m4
|
||||||
|
|
||||||
GTKDOCIZE=`which gtkdocize`
|
GTKDOCIZE=`which gtkdocize`
|
||||||
if test -z $GTKDOCIZE; then
|
if test -z "$GTKDOCIZE"; then
|
||||||
echo "*** No gtk-doc support ***"
|
echo "*** No gtk-doc support ***"
|
||||||
echo "EXTRA_DIST =" > gtk-doc.make
|
echo "EXTRA_DIST =" > gtk-doc.make
|
||||||
else
|
else
|
||||||
|
@ -24,7 +24,7 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AUTORECONF=`which autoreconf`
|
AUTORECONF=`which autoreconf`
|
||||||
if test -z $AUTORECONF; then
|
if test -z "$AUTORECONF"; then
|
||||||
echo "*** No autoreconf found ***"
|
echo "*** No autoreconf found ***"
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue