From d7e47b2d24ecedbc3f719bea496f62e38748ca70 Mon Sep 17 00:00:00 2001 From: Tim Janik Date: Mon, 1 Mar 2004 18:28:45 +0000 Subject: [PATCH] - exit with $? instead of 1 in case of failure - exit with $? if ./configure failed (that's so autogen.sh && make lines work) - removed --enable-gtk-doc option - added $AUTOGEN_CONFIGURE_ARGS --- autogen.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/autogen.sh b/autogen.sh index 13c4b3415..527eb3c74 100755 --- a/autogen.sh +++ b/autogen.sh @@ -72,19 +72,19 @@ if test -z "$AUTOGEN_SUBDIR_MODE"; then fi fi -$ACLOCAL $ACLOCAL_FLAGS || exit 1 +$ACLOCAL $ACLOCAL_FLAGS || exit $? -libtoolize --force || exit 1 -gtkdocize || exit 1 +libtoolize --force || exit $? +gtkdocize || exit $? -autoheader || exit 1 +autoheader || exit $? -$AUTOMAKE --add-missing || exit 1 -autoconf || exit 1 -cd $ORIGDIR +$AUTOMAKE --add-missing || exit $? +autoconf || exit $? +cd $ORIGDIR || exit $? if test -z "$AUTOGEN_SUBDIR_MODE"; then - $srcdir/configure --enable-maintainer-mode --enable-gtk-doc "$@" + $srcdir/configure --enable-maintainer-mode $AUTOGEN_CONFIGURE_ARGS "$@" || exit $? echo echo "Now type 'make' to compile $PROJECT."