summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorTim Janik <timj@src.gnome.org>2004-03-01 18:29:15 +0000
committerTim Janik <timj@src.gnome.org>2004-03-01 18:29:15 +0000
commit607686ca0591fd24a8d70774a93dc1e6efd56782 (patch)
tree9e6b0be7294a76055fc0ffb28e64c429cde2fe0c /autogen.sh
parenta2bbcd6dcc0861032da68bca94e34580e325b292 (diff)
downloadgdk-pixbuf-607686ca0591fd24a8d70774a93dc1e6efd56782.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
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh16
1 files changed, 8 insertions, 8 deletions
diff --git a/autogen.sh b/autogen.sh
index 3c1c6ec53..c7cf4baf6 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -91,19 +91,19 @@ if test -z "$ACLOCAL_FLAGS"; then
done
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."