Subject: Re: [boost] [math] long double autoconfiguration
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2010-02-24 08:24:27
John Maddock wrote:
>> at present, Boost.Math library always tries to compile long long versions
>> of the function, unless explicit --disable-long-long is passed by the
>> 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"
>> 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 ?
Done -- I did not realize there's existing test.
> Does this mean that we have autoconf-like support now?
At least we can building target and deciding what to do next depending
on result. There's a lot to improve but the basics are there.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk