Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r50378 - trunk/libs/math/build
From: john_at_[hidden]
Date: 2008-12-24 06:20:30


Author: johnmaddock
Date: 2008-12-24 06:20:29 EST (Wed, 24 Dec 2008)
New Revision: 50378
URL: http://svn.boost.org/trac/boost/changeset/50378

Log:
Simplified version of patch in #2597.
Fixes #2597.
Text files modified:
   trunk/libs/math/build/Jamfile.v2 | 11 ++++++++++-
   1 files changed, 10 insertions(+), 1 deletions(-)

Modified: trunk/libs/math/build/Jamfile.v2
==============================================================================
--- trunk/libs/math/build/Jamfile.v2 (original)
+++ trunk/libs/math/build/Jamfile.v2 2008-12-24 06:20:29 EST (Wed, 24 Dec 2008)
@@ -51,7 +51,12 @@
 sph_neumann
 ;
 
-compile has_long_double_support.cpp ;
+if --disable-long-double in [ modules.peek : ARGV ]
+{
+ long-double-opts = <build>no ;
+}
+
+compile has_long_double_support.cpp : $(long-double-opts) ;
 
 lib boost_math_tr1 : ../src/tr1/$(TR1_SOURCES).cpp
     :
@@ -67,6 +72,7 @@
     :
               <link>shared:<define>BOOST_MATH_TR1_DYN_LINK=1
               <dependency>has_long_double_support
+ $(long-double-opts)
    ;
 
 lib boost_math_c99 : ../src/tr1/$(C99_SOURCES).cpp
@@ -83,8 +89,11 @@
     :
               <link>shared:<define>BOOST_MATH_TR1_DYN_LINK=1
               <dependency>has_long_double_support
+ $(long-double-opts)
    ;
 
 
 boost-install boost_math_c99 boost_math_c99f boost_math_c99l boost_math_tr1 boost_math_tr1f boost_math_tr1l ;
 
+
+


Boost-Commit 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