summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Janik <timj@src.gnome.org>2004-03-01 18:28:58 +0000
committerTim Janik <timj@src.gnome.org>2004-03-01 18:28:58 +0000
commit4e9454b89f5dd1add6ea519f109ea9a659b20ea3 (patch)
tree8a5bd91d884fb93d5e7ccefa3d610bfa54a264a4
parent509868236b87e04a9367630bf9c441e5d1399698 (diff)
downloadpango-4e9454b89f5dd1add6ea519f109ea9a659b20ea3.tar.gz
- 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
-rwxr-xr-xautogen.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/autogen.sh b/autogen.sh
index a7f16241..69aa4d49 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -74,17 +74,17 @@ fi
$ACLOCAL $ACLOCAL_FLAGS || exit 1
-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."