diff options
-rw-r--r-- | ChangeLog | 10 | ||||
-rw-r--r-- | configure.ac | 3 | ||||
-rw-r--r-- | native/fdlibm/fdlibm.h | 2 |
3 files changed, 12 insertions, 3 deletions
@@ -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 |