summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2db4580)
raw | patch | inline | side by side (parent: 2db4580)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Fri, 4 Aug 2006 15:06:18 +0000 (15:06 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Fri, 4 Aug 2006 15:06:18 +0000 (15:06 +0000) |
program/acinclude.m4 | patch | blob | history |
diff --git a/program/acinclude.m4 b/program/acinclude.m4
index 936739577c05fdafaa20a1d7928c0655bfc48733..a4c7d2284c6491fae84be0c368fd36b45f3820a0 100644 (file)
--- a/program/acinclude.m4
+++ b/program/acinclude.m4
# define isinf(a) (fpclass(a) == FP_NINF || fpclass(a) == FP_PINF)
#endif
+/* solaris 10 it defines isnan such that only forte can compile it ... bad bad */
+#if (defined(HAVE_ISNAN) && defined(isnan) && defined(HAVE_FPCLASS))
+# undef isnan
+# define isnan(a) (fpclass(a) == FP_SNAN || fpclass(a) == FP_QNAN)
+#endif
+
/* Digital UNIX */
#if (! defined(HAVE_ISINF) && defined(HAVE_FP_CLASS) && defined(HAVE_FP_CLASS_H))
# define HAVE_ISINF 1