mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-01 21:33:09 +02:00
Merge branch '277-command-v-not-which-glib-2-58' into 'glib-2-58'
Backport `command -v` vs `which` changes to glib-2-58 See merge request GNOME/glib!288
This commit is contained in:
commit
f1e272e14d
@ -7,8 +7,7 @@ test -n "$srcdir" || srcdir=.
|
|||||||
olddir=`pwd`
|
olddir=`pwd`
|
||||||
cd "$srcdir"
|
cd "$srcdir"
|
||||||
|
|
||||||
GTKDOCIZE=$(which gtkdocize 2>/dev/null)
|
if ! command -v gtkdocize >/dev/null 2>&1; then
|
||||||
if test -z $GTKDOCIZE; then
|
|
||||||
echo "You don't have gtk-doc installed, and thus won't be able to generate the documentation."
|
echo "You don't have gtk-doc installed, and thus won't be able to generate the documentation."
|
||||||
rm -f gtk-doc.make
|
rm -f gtk-doc.make
|
||||||
cat > gtk-doc.make <<EOF
|
cat > gtk-doc.make <<EOF
|
||||||
@ -19,8 +18,7 @@ else
|
|||||||
gtkdocize || exit $?
|
gtkdocize || exit $?
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AUTORECONF=`which autoreconf`
|
if ! command -v autoreconf >/dev/null 2>&1; then
|
||||||
if test -z $AUTORECONF; then
|
|
||||||
echo "*** No autoreconf found, please install it ***"
|
echo "*** No autoreconf found, please install it ***"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user