make sure we abort if autotools fail

SVN revision: 16007
This commit is contained in:
Mike Frysinger 2005-08-03 00:34:08 +00:00
parent 234beef243
commit 7c3c5c1fd0
1 changed files with 5 additions and 5 deletions

View File

@ -3,11 +3,11 @@
rm -rf autom4te.cache
rm -f aclocal.m4
echo "Running aclocal..."; aclocal $ACLOCAL_FLAGS -I m4 \
&& echo "Running autoheader..."; autoheader \
&& echo "Running autoconf..."; autoconf \
&& echo "Running libtoolize..."; (libtoolize --automake || glibtoolize --automake) \
&& echo "Running automake..."; automake --add-missing --copy --gnu
echo "Running aclocal..." ; aclocal $ACLOCAL_FLAGS -I m4 || exit 1
echo "Running autoheader..." ; autoheader || exit 1
echo "Running autoconf..." ; autoconf || exit 1
echo "Running libtoolize..." ; (libtoolize --automake || glibtoolize --automake) || exit 1
echo "Running automake..." ; automake --add-missing --copy --gnu || exit 1
if [ -z "$NOCONFIGURE" ]; then
./configure "$@"