autogen.sh: fail cleanly if autoconf fails
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
This commit is contained in:
parent
73b03e0bfb
commit
0bbfca6def
|
@ -81,7 +81,10 @@ $ACLOCAL -I m4 $ACLOCAL_FLAGS
|
|||
(autoheader --version) < /dev/null > /dev/null 2>&1 && autoheader
|
||||
|
||||
$AUTOMAKE -a $am_opt
|
||||
autoconf || echo "autoconf failed - version 2.5x is probably required"
|
||||
if ! autoconf; then
|
||||
echo "autoconf failed - version 2.5x is probably required" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
cd $ORIGDIR
|
||||
|
||||
|
|
Loading…
Reference in New Issue