diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2016-08-15 20:11:49 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2016-10-03 11:42:42 +0100 |
commit | 0cfe2cfb4ee720787635a2d2b97fc48eb0315f7e (patch) | |
tree | 0867b683791426d4d05f436d7831063c3cb581ce | |
parent | 0ffa8fd4e8ffca046a96a8e57a6654aa7590c48c (diff) | |
download | dbus-0cfe2cfb4ee720787635a2d2b97fc48eb0315f7e.tar.gz |
autogen.sh: fail cleanly if autoconf fails
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
(cherry picked from commit 0bbfca6def7a39c03b7a0a4cba166fdf89f3c630)
-rwxr-xr-x | autogen.sh | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |