Merged improvements to autoconf-like configure script

[SVN r44894]
This commit is contained in:
Douglas Gregor 2008-04-29 18:38:53 +00:00
parent 6bb6b2e4d5
commit 2b9120b6b5

23
configure vendored
View file

@ -185,7 +185,28 @@ my_dir="."
# Determine the toolset, if not already decided
if test "x$TOOLSET" = x; then
TOOLSET=`$my_dir/tools/jam/src/build.sh --guess-toolset`
guessed_toolset=`$my_dir/tools/jam/src/build.sh --guess-toolset`
case $guessed_toolset in
acc | darwin | gcc | como | mipspro | pathscale | pgi | qcc | vacpp )
TOOLSET=$guessed_toolset
;;
intel-* )
TOOLSET=intel
;;
mingw )
TOOLSET=gcc
;;
sun* )
TOOLSET=sun
;;
* )
# Not supported by Boost.Build
;;
esac
fi
rm -f config.log