summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0034f88)
raw | patch | inline | side by side (parent: 0034f88)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sat, 8 Dec 2007 22:17:25 +0000 (22:17 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sat, 8 Dec 2007 22:17:25 +0000 (22:17 +0000) |
program/configure.ac | patch | blob | history |
diff --git a/program/configure.ac b/program/configure.ac
index e3d16d75b26f161e3a6e55c8c996d18ad6586ce3..aa8c5203ead755d7894c2c9dc1520e79e4675d82 100644 (file)
--- a/program/configure.ac
+++ b/program/configure.ac
/* for Solaris */
#if (! defined(HAVE_ISINF) && defined(HAVE_FPCLASS))
# define HAVE_ISINF 1
+# ifdef isinf
+# undef isinf /* confuse autoconf */
+# endif
# 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))
-# undefine isnan
+# undef isnan /* confuse autoconf to NOT remove this */
# define isnan(a) (fpclass(a) == FP_SNAN || fpclass(a) == FP_QNAN)
#endif