Make autogen.sh exit immediately if any of the tools it runs fails.
git-svn-id: https://svn.musicpd.org/mpd/trunk@4773 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
98424851d8
commit
8da589b7df
12
autogen.sh
12
autogen.sh
@ -143,21 +143,21 @@ for i in $ac_local_paths; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
echo " $ACLOCAL $ACLOCAL_FLAGS"
|
echo " $ACLOCAL $ACLOCAL_FLAGS"
|
||||||
$ACLOCAL $ACLOCAL_FLAGS
|
$ACLOCAL $ACLOCAL_FLAGS || exit 1
|
||||||
|
|
||||||
echo " $AUTOHEADER"
|
echo " $AUTOHEADER"
|
||||||
$AUTOHEADER
|
$AUTOHEADER || exit 1
|
||||||
|
|
||||||
echo " $LIBTOOLIZE --automake"
|
echo " $LIBTOOLIZE --automake"
|
||||||
$LIBTOOLIZE --automake
|
$LIBTOOLIZE --automake || exit 1
|
||||||
|
|
||||||
echo " $AUTOMAKE --add-missing $AUTOMAKE_FLAGS"
|
echo " $AUTOMAKE --add-missing $AUTOMAKE_FLAGS"
|
||||||
$AUTOMAKE --add-missing $AUTOMAKE_FLAGS
|
$AUTOMAKE --add-missing $AUTOMAKE_FLAGS || exit 1
|
||||||
|
|
||||||
echo " $AUTOCONF"
|
echo " $AUTOCONF"
|
||||||
$AUTOCONF
|
$AUTOCONF || exit 1
|
||||||
|
|
||||||
cd "$olddir"
|
cd "$olddir"
|
||||||
if test x$NOCONFIGURE = x; then
|
if test x$NOCONFIGURE = x; then
|
||||||
"$srcdir"/configure "$@" && echo
|
"$srcdir"/configure "$@" || exit 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user