From: Simon McVittie Date: Mon, 15 Aug 2016 19:11:49 +0000 (+0100) Subject: autogen.sh: fail cleanly if autoconf fails X-Git-Tag: dbus-1.11.6~44^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0bbfca6def7a39c03b7a0a4cba166fdf89f3c630;p=thirdparty%2Fdbus.git autogen.sh: fail cleanly if autoconf fails Signed-off-by: Simon McVittie --- diff --git a/autogen.sh b/autogen.sh index 91d4b09d8..6de735f0e 100755 --- a/autogen.sh +++ b/autogen.sh @@ -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