summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuilhem Lavaux <guilhem@kaffe.org>2006-01-12 21:01:26 +0000
committerGuilhem Lavaux <guilhem@kaffe.org>2006-01-12 21:01:26 +0000
commitefe0befcda43f9ceec77f1c773134c78ec249744 (patch)
treed208c99329599cfcd6dd603e0acdeaa6fd1551b0
parent98302c81a094e3c9eba26df608d68c8329886451 (diff)
downloadclasspath-efe0befcda43f9ceec77f1c773134c78ec249744.tar.gz
2006-12-12 Guilhem Lavaux <guilhem@kaffe.org>
* configure.ac: Check for isnan. * native/fdlibm/fdlibm.h: If we have a isnan function then do not define the macro.
-rw-r--r--ChangeLog10
-rw-r--r--configure.ac3
-rw-r--r--native/fdlibm/fdlibm.h2
3 files changed, 12 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 8257dfb16..880c9e0d1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2006-12-12 Guilhem Lavaux <guilhem@kaffe.org>
+
+ * configure.ac: Check for isnan.
+
+ * native/fdlibm/fdlibm.h: If we have a isnan function then do not
+ define the macro.
+
2006-01-12 Chris Burdess <dog@gnu.org>
* gnu/xml/stream/XMLParser.java: Corrected the handling of some XML
@@ -9,7 +16,8 @@
(TransferAction<init>): Call super constructor. Fixes Mauve regression
gnu/testlet/javax/swing/JTextField/CopyPaste.
-2005-01-12 Christian Thalinger <twisti@complang.tuwien.ac.at>
+2006-01-12 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
* resource/Makefile.am: Install
logging.properties into $(prefix)/lib.
* resource/Makefile.am (securitydir): Changed to
diff --git a/configure.ac b/configure.ac
index 88f7cd197..db49066bd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -270,7 +270,8 @@ if test "x${COMPILE_JNI}" = xyes; then
localtime_r \
strerror_r \
fcntl \
- mmap munmap mincore msync madvise getpagesize sysconf])
+ mmap munmap mincore msync madvise getpagesize sysconf \
+ isnan])
AC_HEADER_TIME
AC_STRUCT_TM
diff --git a/native/fdlibm/fdlibm.h b/native/fdlibm/fdlibm.h
index a4a55523e..13ee449d7 100644
--- a/native/fdlibm/fdlibm.h
+++ b/native/fdlibm/fdlibm.h
@@ -96,7 +96,7 @@ extern double erfc __P((double));
extern double gamma __P((double));
extern double hypot __P((double, double));
-#ifndef isnan
+#if !defined(isnan) && !defined(HAVE_ISNAN)
#define isnan(x) ((x) != (x))
#endif