aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJ. Alexander Treuman <jat@spatialrift.net>2006-09-13 22:29:57 +0000
committerJ. Alexander Treuman <jat@spatialrift.net>2006-09-13 22:29:57 +0000
commit8da589b7df9c87b3a08c46ebfd33e899e99bf8ca (patch)
treed00997d95b487a0c3929019fc5713263fc5942c1
parent98424851d84ca6eded4f22f1e08cbc5ececaf2f1 (diff)
downloadmpd-8da589b7df9c87b3a08c46ebfd33e899e99bf8ca.tar.gz
mpd-8da589b7df9c87b3a08c46ebfd33e899e99bf8ca.tar.xz
mpd-8da589b7df9c87b3a08c46ebfd33e899e99bf8ca.zip
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
-rwxr-xr-xautogen.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/autogen.sh b/autogen.sh
index 48242f016..34dbf3408 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -143,21 +143,21 @@ for i in $ac_local_paths; do
done
echo " $ACLOCAL $ACLOCAL_FLAGS"
-$ACLOCAL $ACLOCAL_FLAGS
+$ACLOCAL $ACLOCAL_FLAGS || exit 1
echo " $AUTOHEADER"
-$AUTOHEADER
+$AUTOHEADER || exit 1
echo " $LIBTOOLIZE --automake"
-$LIBTOOLIZE --automake
+$LIBTOOLIZE --automake || exit 1
echo " $AUTOMAKE --add-missing $AUTOMAKE_FLAGS"
-$AUTOMAKE --add-missing $AUTOMAKE_FLAGS
+$AUTOMAKE --add-missing $AUTOMAKE_FLAGS || exit 1
echo " $AUTOCONF"
-$AUTOCONF
+$AUTOCONF || exit 1
cd "$olddir"
if test x$NOCONFIGURE = x; then
- "$srcdir"/configure "$@" && echo
+ "$srcdir"/configure "$@" || exit 1
fi