]> Pileus Git - ~andy/gtk/blobdiff - autogen.sh
Updated Bulgarian translation by Alexander Shopov <ash@contact.bg>
[~andy/gtk] / autogen.sh
index 3c1c6ec53d9ebaa76bf3ac1302508381560afe55..10a7fdad97a6df4181a661f620b692d5a70e0fea 100755 (executable)
@@ -91,19 +91,21 @@ if test -z "$ACLOCAL_FLAGS"; then
        done
 fi
 
-$ACLOCAL $ACLOCAL_FLAGS || exit 1
+rm -rf autom4te.cache
 
-libtoolize --force || exit 1
-gtkdocize || exit 1
+$ACLOCAL $ACLOCAL_FLAGS || exit $?
 
-autoheader || exit 1
+libtoolize --force || exit $?
+gtkdocize || exit $?
 
-$AUTOMAKE --add-missing || exit 1
-autoconf || exit 1
-cd $ORIGDIR
+autoheader || exit $?
+
+$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."