From 3f2d1739d49d754bb174e4e3c68bc030ce18eea3 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Mon, 17 Oct 2005 02:33:02 +0000 Subject: [PATCH] Fix QNX/qcc detection so that it doesn't false fire when there is some other qcc command on other OSs. [SVN r31358] --- historic/jam/src/build.sh | 2 +- jam_src/build.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/historic/jam/src/build.sh b/historic/jam/src/build.sh index 212e2319a..12f24de31 100644 --- a/historic/jam/src/build.sh +++ b/historic/jam/src/build.sh @@ -68,7 +68,7 @@ Guess_Toolset () 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 qcc ; then BOOST_JAM_TOOLSET=qcc + elif test_uname QNX && test_path qcc ; then BOOST_JAM_TOOLSET=qcc elif test_path gcc ; then BOOST_JAM_TOOLSET=gcc elif test_path icc ; then BOOST_JAM_TOOLSET=intel-linux elif test -r /opt/intel/cc/9.0/bin/iccvars.sh ; then diff --git a/jam_src/build.sh b/jam_src/build.sh index 212e2319a..12f24de31 100644 --- a/jam_src/build.sh +++ b/jam_src/build.sh @@ -68,7 +68,7 @@ Guess_Toolset () 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 qcc ; then BOOST_JAM_TOOLSET=qcc + elif test_uname QNX && test_path qcc ; then BOOST_JAM_TOOLSET=qcc elif test_path gcc ; then BOOST_JAM_TOOLSET=gcc elif test_path icc ; then BOOST_JAM_TOOLSET=intel-linux elif test -r /opt/intel/cc/9.0/bin/iccvars.sh ; then