mirror of https://github.com/GNOME/gimp.git
autogen: if $NOCONFIGURE is set, do not run the configure script.
This commit is contained in:
parent
e629f4c14b
commit
6915ffaf05
42
autogen.sh
42
autogen.sh
|
@ -231,17 +231,19 @@ test $TEST_TYPE $FILE || {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
echo
|
if test -z "$NOCONFIGURE"; then
|
||||||
echo "I am going to run ./configure with the following arguments:"
|
|
||||||
echo
|
|
||||||
echo " $AUTOGEN_CONFIGURE_ARGS $@"
|
|
||||||
echo
|
|
||||||
|
|
||||||
if test -z "$*"; then
|
|
||||||
echo "If you wish to pass additional arguments, please specify them "
|
|
||||||
echo "on the $0 command line or set the AUTOGEN_CONFIGURE_ARGS "
|
|
||||||
echo "environment variable."
|
|
||||||
echo
|
echo
|
||||||
|
echo "I am going to run ./configure with the following arguments:"
|
||||||
|
echo
|
||||||
|
echo " $AUTOGEN_CONFIGURE_ARGS $@"
|
||||||
|
echo
|
||||||
|
|
||||||
|
if test -z "$*"; then
|
||||||
|
echo "If you wish to pass additional arguments, please specify them "
|
||||||
|
echo "on the $0 command line or set the AUTOGEN_CONFIGURE_ARGS "
|
||||||
|
echo "environment variable."
|
||||||
|
echo
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
@ -299,13 +301,15 @@ intltoolize --automake || exit $?
|
||||||
|
|
||||||
cd $ORIGDIR
|
cd $ORIGDIR
|
||||||
|
|
||||||
$srcdir/configure $AUTOGEN_CONFIGURE_ARGS "$@"
|
if test -z "$NOCONFIGURE"; then
|
||||||
RC=$?
|
$srcdir/configure $AUTOGEN_CONFIGURE_ARGS "$@"
|
||||||
if test $RC -ne 0; then
|
RC=$?
|
||||||
echo
|
if test $RC -ne 0; then
|
||||||
echo "Configure failed or did not finish!"
|
echo
|
||||||
exit $RC
|
echo "Configure failed or did not finish!"
|
||||||
fi
|
exit $RC
|
||||||
|
fi
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "Now type 'make' to compile the $PROJECT."
|
echo "Now type 'make' to compile the $PROJECT."
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in New Issue