Commit 8da589b7 authored by J. Alexander Treuman's avatar J. Alexander Treuman

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
parent 98424851
...@@ -143,21 +143,21 @@ for i in $ac_local_paths; do ...@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment