mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +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
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue