summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index 91d4b09d..6de735f0 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