From: Chris Hanson Date: Mon, 1 Feb 2010 08:19:49 +0000 (-0800) Subject: Add ability to pass configure args to script. X-Git-Tag: 20100708-Gtk~126^2~32 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=4dbeff63c748d0d4b6f92b73606222f4a6f21518;p=mit-scheme.git Add ability to pass configure args to script. --- diff --git a/etc/run-three-stages b/etc/run-three-stages index 5bccc7c48..ec22eb873 100755 --- a/etc/run-three-stages +++ b/etc/run-three-stages @@ -41,6 +41,8 @@ if ! [[ -d .git && -d src && -d etc ]]; then exit 1 fi +CONFIG_ARGS=("${@}") + # Hack for cph if which cpx > /dev/null; then : ${COPY:="cpx -sq"} @@ -70,7 +72,7 @@ run_stage () find_stage stage$((N-1)) rm -rf ${STAGE} ${COPY} src ${STAGE} - (set -e; cd ${STAGE}; ./Setup.sh; ./configure; make) + (set -e; cd ${STAGE}; ./Setup.sh; ./configure "${CONFIG_ARGS[@]}"; make) if ! [[ -f ${STAGE}/lib/all.com ]]; then echo "${STAGE} failed" exit 1