Boost logo

Boost :

Subject: Re: [boost] [math] long double autoconfiguration
From: John Maddock (john_at_[hidden])
Date: 2010-02-24 07:57:38


> at present, Boost.Math library always tries to compile long long versions
> of the function, unless explicit --disable-long-long is passed by the
> user.
> I have just checked in a patch that attempt to automatically determine if
> long long is available. Attached is a sample output of "bjam --with-math"
> build.
>
> The detection is done by compiling new file named
> libs/math/src/long_double_check.cpp -- if it compiles, it is assumed
> long double works. Unfortunately, I don't really know what kind
> of long double support Boost.Math needs. John, Paul, could either of
> you add some more content to that file?

Great, but can you direct this to the existing test at
libs/math/config/has_long_double_support.cpp ?

Does this mean that we have autoconf-like support now?

Thanks, John.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk