Add a command to autogen --skip-configure to allow the autogen/configure steps

to be split for the build tinderbox.

Originally committed to SVN as r2834.
This commit is contained in:
Amar Takhar 2009-04-20 02:45:35 +00:00
parent 544c325dde
commit af68c58f56
1 changed files with 32 additions and 28 deletions

View File

@ -225,6 +225,7 @@ if test "$DIE" -eq 1; then
fi fi
if ! test "$1" = "--skip-configure"; then
echo echo
echo "I am going to run ./configure with the following arguments:" echo "I am going to run ./configure with the following arguments:"
echo echo
@ -237,7 +238,7 @@ if test -z "$*"; then
echo "environment variable." echo "environment variable."
echo echo
fi fi
fi
echo "--- Checking for required M4 files ---" echo "--- Checking for required M4 files ---"
@ -326,6 +327,7 @@ $INTLTOOLIZE --force --automake || exit $?
cd $ORIGDIR cd $ORIGDIR
if ! test "$1" = "--skip-configure"; then
echo "--- $srcdir/configure ---" echo "--- $srcdir/configure ---"
$srcdir/configure --enable-maintainer-mode $AUTOGEN_CONFIGURE_ARGS "$@" $srcdir/configure --enable-maintainer-mode $AUTOGEN_CONFIGURE_ARGS "$@"
RC=$? RC=$?
@ -347,3 +349,5 @@ if test $RC -ne 0; then
fi fi
echo "Now type 'make' to compile $PROJECT." echo "Now type 'make' to compile $PROJECT."
fi