From 1b17603f05ab1c22bec831b96c89f4d21d24a515 Mon Sep 17 00:00:00 2001 From: Sergey Udaltsov Date: Sun, 30 Apr 2006 01:37:46 +0000 Subject: autoconf/automake failures make autogen.sh fail --- autogen.sh | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'autogen.sh') diff --git a/autogen.sh b/autogen.sh index af16888..47aed50 100755 --- a/autogen.sh +++ b/autogen.sh @@ -129,14 +129,20 @@ do echo "Running autoheader..." autoheader fi - echo "Running automake --gnu $am_opt ..." - automake --add-missing --gnu $am_opt - echo "Running autoconf ..." - autoconf echo "Running gtkdocize ..." gtkdocize || exit 1 + + echo "Running automake --gnu $am_opt ..." + automake --add-missing --gnu $am_opt || exit 1 + echo "Running autoconf ..." + autoconf || exit 1 ) + # if the subshell ran into trouble, we should stop here + if test x$? = x1; then + echo "Error setting up build, cannot run configure." + exit 1 + fi fi done -- cgit v1.2.1