From 61aa371b48256d30f058e797e7291e82563abc0c Mon Sep 17 00:00:00 2001 From: gbeauche <> Date: Tue, 13 Apr 2004 22:12:27 +0000 Subject: [PATCH] Handle NO_CONFIGURE variable if we are only generating the configure script --- SheepShaver/src/Unix/autogen.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/SheepShaver/src/Unix/autogen.sh b/SheepShaver/src/Unix/autogen.sh index 3c2a5225..e23fb5f3 100755 --- a/SheepShaver/src/Unix/autogen.sh +++ b/SheepShaver/src/Unix/autogen.sh @@ -33,4 +33,11 @@ do autoheader; autoconf) done -./configure "$@" +if [ x"$NO_CONFIGURE" = "x" ]; then + echo " + Running 'configure $@':" + if [ -z "$*" ]; then + echo " ** If you wish to pass arguments to ./configure, please" + echo " ** specify them on the command line." + fi + ./configure "$@" +fi