From 55d267a46d48658b0a08ef79611f6c79fa265952 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Sun, 3 Jan 2010 03:05:12 +0000 Subject: [PATCH] Make configure dump its invocation arguments to the BuildConfig file to allow for easier rerun later, as I'm getting tired to figure each of them each time someone adds some config variable... git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34867 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- configure | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 664194310a..52dd3b440d 100755 --- a/configure +++ b/configure @@ -252,6 +252,9 @@ cd `dirname "$0"` sourceDir=`pwd` cd "$currentDir" +# backup the passed arguments +configureArgs="$@" + # default parameter values # platform=`uname` @@ -465,7 +468,8 @@ esac # Generate BuildConfig cat << EOF > "$buildOutputDir/BuildConfig" # BuildConfig -# Note: This file has been automatically generated by configure. +# Note: This file has been automatically generated by configure with the following arguments: +# ${configureArgs} TARGET_PLATFORM ?= "${target}" ; HOST_PLATFORM ?= "${buildPlatform}" ;