[geos-devel] [#317] Build configuration for CMake build system

Mateusz Loskot mateusz at loskot.net
Wed Jan 27 17:13:45 EST 2010


Sandro Santilli wrote:
> On Sat, Jan 23, 2010 at 2:40 AM, Mateusz Loskot <mateusz at loskot.net> wrote:
> 
>> The CMakeLists.txt in root was performing incorrect checks.
>> It should be fine now, I hope.
> 
> Still no lack. platform.h dropped, cmake ../trunk re-run.
> The new platform still doesn't contain any valid FINITE function:
> 
> /* Set to 1 if C++/C99 std::isfinite is defined */
> /* #undef HAVE_STD_ISFINITE */
> 
> /* Set to 1 if C99 isfinite is defined */
> /* #undef HAVE_ISFINITE */
> 
> /* Set to 1 if Visual C++ finite is defined */
> /* #undef HAVE_FINITE */
> 
> This is r2888.

Sandro,

I hope I've fixed it:

http://trac.osgeo.org/geos/ticket/317#comment:21

I explicitly add -D_ISOC99_SOURCE=1 for checks of isfinite and it passes
for me.

Could you give it another shot and test?

Thanks!
-- 
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org


More information about the geos-devel mailing list