Boost logo

Boost-Commit :

From: john_at_[hidden]
Date: 2008-05-23 06:51:06


Author: johnmaddock
Date: 2008-05-23 06:51:05 EDT (Fri, 23 May 2008)
New Revision: 45673
URL: http://svn.boost.org/trac/boost/changeset/45673

Log:
Added missing file and reinstated Jamfile.v2.
Added:
   trunk/libs/math/build/has_long_double_support.cpp (contents, props changed)
Text files modified:
   trunk/libs/math/build/Jamfile.v2 | 7 ++++---
   1 files changed, 4 insertions(+), 3 deletions(-)

Modified: trunk/libs/math/build/Jamfile.v2
==============================================================================
--- trunk/libs/math/build/Jamfile.v2 (original)
+++ trunk/libs/math/build/Jamfile.v2 2008-05-23 06:51:05 EDT (Fri, 23 May 2008)
@@ -49,7 +49,7 @@
 sph_neumann
 ;
 
-#compile has_long_double_support.cpp ;
+compile has_long_double_support.cpp ;
 
 lib boost_math_tr1 : ../src/tr1/$(TR1_SOURCES).cpp
     :
@@ -64,7 +64,7 @@
 lib boost_math_tr1l : ../src/tr1/$(TR1_SOURCES)l.cpp
     :
               <link>shared:<define>BOOST_MATH_TR1_DYN_LINK=1
- #<dependency>has_long_double_support
+ <dependency>has_long_double_support
    ;
 
 lib boost_math_c99 : ../src/tr1/$(C99_SOURCES).cpp
@@ -80,6 +80,7 @@
 lib boost_math_c99l : ../src/tr1/$(C99_SOURCES)l.cpp
     :
               <link>shared:<define>BOOST_MATH_TR1_DYN_LINK=1
- #<dependency>has_long_double_support
+ <dependency>has_long_double_support
    ;
 
+

Added: trunk/libs/math/build/has_long_double_support.cpp
==============================================================================
--- (empty file)
+++ trunk/libs/math/build/has_long_double_support.cpp 2008-05-23 06:51:05 EDT (Fri, 23 May 2008)
@@ -0,0 +1,6 @@
+
+#include <boost/math/tools/config.hpp>
+
+#ifdef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
+#error "long double support not enabled"
+#endif


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