autogen.sh: don't run ./configure if autoreconf failed

The following line could be seen in the middle of the log:
autoreconf: automake failed with exit status: 1

Clearly the configuration phase should not continue from there.
This commit is contained in:
Andres G. Aragoneses 2014-03-31 18:02:09 +02:00 committed by Stephan Sundermann
parent f4181f0223
commit f9f7cbe93e

View file

@ -4,5 +4,5 @@ if [ $? -ne 0 ] ; then
echo "Please install autoconf" && exit 1;
fi
mkdir -p m4
autoreconf -i --force --warnings=none -I . -I m4
autoreconf -i --force --warnings=none -I . -I m4 && \
./configure --enable-maintainer-mode $*