[geos-commits] r4169 - trunk
svn_geos at osgeo.org
svn_geos at osgeo.org
Mon Mar 7 02:21:33 PST 2016
Author: strk
Date: 2016-03-07 02:21:33 -0800 (Mon, 07 Mar 2016)
New Revision: 4169
Modified:
trunk/configure.ac
Log:
Look for isnan in std:: namespace
Tested with gcc 4.8.4
Modified: trunk/configure.ac
===================================================================
--- trunk/configure.ac 2016-03-06 23:28:40 UTC (rev 4168)
+++ trunk/configure.ac 2016-03-07 10:21:33 UTC (rev 4169)
@@ -197,7 +197,7 @@
AC_LANG_PUSH([C++])
AC_CACHE_CHECK([for isnan], ac_cv_isnan,
[AC_TRY_LINK([#include <cmath>],
- [double x; int y; y = isnan(x);],
+ [double x; int y; y = std::isnan(x);],
ac_cv_isnan=yes,
ac_cv_isnan=no
)])
More information about the geos-commits
mailing list