summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorTim Janik <timj@gtk.org>2004-03-01 23:34:06 +0000
committerTim Janik <timj@src.gnome.org>2004-03-01 23:34:06 +0000
commit59bcbd3423a6e7afc2d62072c183c3b033d72cc4 (patch)
tree6d29ba12515e9dfdc3168d5850c7fc172c723d91 /autogen.sh
parent54f0afb2f361452c99b2171db77ebc46e1c9047a (diff)
downloadatk-59bcbd3423a6e7afc2d62072c183c3b033d72cc4.tar.gz
- exit with $? instead of 1 in case of failure - exit with $? if
Mon Mar 1 20:32:06 2004 Tim Janik <timj@gtk.org> * autogen.sh: - 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
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/autogen.sh b/autogen.sh
index 43b1997..5203d28 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -95,19 +95,19 @@ fi
$ACLOCAL $ACLOCAL_FLAGS || exit 1
-libtoolize --force || exit 1
+libtoolize --force || exit $?
gtkdocize || exit 1
-glib-gettextize --force || exit 1
+glib-gettextize --force || 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."