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
This commit is contained in:
François Revol 2010-01-03 03:05:12 +00:00
parent 5484890096
commit 55d267a46d

6
configure vendored
View File

@ -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}" ;