- exit with $? instead of 1 in case of failure - exit with $? if
authorTim Janik <timj@gtk.org>
Mon, 1 Mar 2004 23:34:06 +0000 (23:34 +0000)
committerTim Janik <timj@src.gnome.org>
Mon, 1 Mar 2004 23:34:06 +0000 (23:34 +0000)
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

ChangeLog
autogen.sh

index 35c0637..b244795 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+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
+
 2004-03-01  Tor Lillqvist  <tml@iki.fi>
 
        * atk/atk.def: Add some missing entries.
index 43b1997..5203d28 100755 (executable)
@@ -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."