mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 15:36:17 +01:00
[autogen.sh] Support NOCONFIGURE (from gnome-common)
gnome-common's autogen.sh uses NOCONFIGURE to skip running configure. Support that in addition to the current AUTOGEN_SUBDIR_MODE.
This commit is contained in:
parent
c649615f17
commit
0a2c9d67da
@ -76,7 +76,12 @@ test $TEST_TYPE $FILE || {
|
|||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
if test -z "$AUTOGEN_SUBDIR_MODE"; then
|
# NOCONFIGURE is used by gnome-common; support both
|
||||||
|
if ! test -z "$AUTOGEN_SUBDIR_MODE"; then
|
||||||
|
NOCONFIGURE=1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test -z "$NOCONFIGURE"; then
|
||||||
if test -z "$*"; then
|
if test -z "$*"; then
|
||||||
echo "I am going to run ./configure with no arguments - if you wish "
|
echo "I am going to run ./configure with no arguments - if you wish "
|
||||||
echo "to pass any to it, please specify them on the $0 command line."
|
echo "to pass any to it, please specify them on the $0 command line."
|
||||||
@ -101,7 +106,7 @@ $AUTOMAKE --add-missing || exit $?
|
|||||||
autoconf || exit $?
|
autoconf || exit $?
|
||||||
cd $ORIGDIR || exit $?
|
cd $ORIGDIR || exit $?
|
||||||
|
|
||||||
if test -z "$AUTOGEN_SUBDIR_MODE"; then
|
if test -z "$NOCONFIGURE"; then
|
||||||
$srcdir/configure --enable-maintainer-mode $AUTOGEN_CONFIGURE_ARGS "$@" || exit $?
|
$srcdir/configure --enable-maintainer-mode $AUTOGEN_CONFIGURE_ARGS "$@" || exit $?
|
||||||
|
|
||||||
echo
|
echo
|
||||||
|
Loading…
Reference in New Issue
Block a user