mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-26 05:56:14 +01:00
- 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
This commit is contained in:
parent
3e8b3a13f5
commit
d7e47b2d24
16
autogen.sh
16
autogen.sh
@ -72,19 +72,19 @@ if test -z "$AUTOGEN_SUBDIR_MODE"; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
$ACLOCAL $ACLOCAL_FLAGS || exit 1
|
$ACLOCAL $ACLOCAL_FLAGS || exit $?
|
||||||
|
|
||||||
libtoolize --force || exit 1
|
libtoolize --force || exit $?
|
||||||
gtkdocize || exit 1
|
gtkdocize || exit $?
|
||||||
|
|
||||||
autoheader || exit 1
|
autoheader || exit $?
|
||||||
|
|
||||||
$AUTOMAKE --add-missing || exit 1
|
$AUTOMAKE --add-missing || exit $?
|
||||||
autoconf || exit 1
|
autoconf || exit $?
|
||||||
cd $ORIGDIR
|
cd $ORIGDIR || exit $?
|
||||||
|
|
||||||
if test -z "$AUTOGEN_SUBDIR_MODE"; then
|
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
|
||||||
echo "Now type 'make' to compile $PROJECT."
|
echo "Now type 'make' to compile $PROJECT."
|
||||||
|
Loading…
Reference in New Issue
Block a user