aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorCharles Karney <charles.karney@sri.com>2019-09-18 14:25:15 -0400
committerCharles Karney <charles.karney@sri.com>2019-09-18 14:25:15 -0400
commit646da7bf3868090ec8ac2d05ab63781de86be64b (patch)
treef81f4da4ac56d65e57cade596d462253e2b21217 /configure.ac
parent329e7a9be67c15936488ef37739df065a4b81bf7 (diff)
downloadPROJ-646da7bf3868090ec8ac2d05ab63781de86be64b.tar.gz
PROJ-646da7bf3868090ec8ac2d05ab63781de86be64b.zip
math.cpp removed since its isnan isn't used. Keep proj_math.h (which
just includes math.h and limits.h) since it's included in a score of places.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 4db47b26..7287b207 100644
--- a/configure.ac
+++ b/configure.ac
@@ -206,7 +206,7 @@ AC_LINK_IFELSE([AC_LANG_PROGRAM(
[int q;
return (int)(hypot(3.0, 4.0) + atanh(0.8) + copysign(1.0, -0.0) +
cbrt(8.0) + remainder(100.0, 90.0) +
- remquo(100.0, 90.0, &q)) + isnan(0.0);])],
+ remquo(100.0, 90.0, &q));])],
[AC_MSG_RESULT([yes]);C99_MATH="-DHAVE_C99_MATH=1"],
[AC_MSG_RESULT([no]);C99_MATH="-DHAVE_C99_MATH=0"])
CFLAGS="$save_CFLAGS $C99_MATH"