Changed configure wrapper to create config.status

This commit is contained in:
Jon Siwek 2011-01-20 12:37:38 -06:00
parent 0a3f84681a
commit bbe078e06c
5 changed files with 10 additions and 4 deletions

6
configure vendored
View file

@ -2,6 +2,8 @@
# Convenience wrapper for easily viewing/setting options that
# the project's CMake scripts will recognize
command="$0 $*"
# check for `cmake` command
type cmake > /dev/null 2>&1 || {
echo "\
@ -217,3 +219,7 @@ if [ -n "$CMakeGenerator" ]; then
else
cmake $CMakeCacheEntries $sourcedir
fi
echo "# This is the command used to configure this build" > config.status
echo $command >> config.status
chmod u+x config.status