Boost logo

Boost-Build :

From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2005-07-07 03:45:18


Hello,

attached patch has just been commited to the build.sh script. It fixes the
faulty test for the support of "command -v" (the argument to "command -v"
is not optional, therefore this test was always failing on systems which
enforce this) and adds a toolset test for OSF1.

If it breaks anything, just shout at me.

Markus
 --------------020409080203070308000401 Content-Type: text/plain;
name="patch1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="patch1"

Index: build.sh
===================================================================
RCS file: /cvsroot/boost/boost/tools/build/jam_src/build.sh,v
retrieving revision 1.32
diff -u -r1.32 build.sh
--- build.sh 23 Jun 2005 18:02:55 -0000 1.32
+++ build.sh 7 Jul 2005 08:35:36 -0000
@@ -43,7 +43,7 @@
# Check that a command is in the PATH.
test_path ()
{
- if `command -v 1>/dev/null 2>/dev/null`; then
+ if `command -v command 1>/dev/null 2>/dev/null`; then
command -v $1 1>/dev/null 2>/dev/null
else
hash $1 1>/dev/null 2>/dev/null
@@ -64,6 +64,7 @@
if test_uname Darwin ; then BOOST_JAM_TOOLSET=darwin
elif test_uname IRIX ; then BOOST_JAM_TOOLSET=mipspro
elif test_uname IRIX64 ; then BOOST_JAM_TOOLSET=mipspro
+ elif test_uname OSF1 ; then BOOST_JAM_TOOLSET=tru64cxx
elif test_path gcc ; then BOOST_JAM_TOOLSET=gcc
elif test_path icc ; then BOOST_JAM_TOOLSET=intel-linux
elif test -r /opt/intel/compiler70/ia32/bin/iccvars.sh ; then
 --------------020409080203070308000401--


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk