]> Pileus Git - ~andy/gtk/commitdiff
- exit with $? instead of 1 in case of failure
authorTim Janik <timj@src.gnome.org>
Mon, 1 Mar 2004 18:29:15 +0000 (18:29 +0000)
committerTim Janik <timj@src.gnome.org>
Mon, 1 Mar 2004 18:29:15 +0000 (18:29 +0000)
- exit with $? if ./configure failed
  (that's so autogen.sh && make lines work)
- removed --enable-gtk-doc option
- added $AUTOGEN_CONFIGURE_ARGS

autogen.sh

index 3c1c6ec53d9ebaa76bf3ac1302508381560afe55..c7cf4baf61ea306bb51dfac93b0dd214408e4f54 100755 (executable)
@@ -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."