]> granicus.if.org Git - python/commitdiff
Fix compiler warning about finite() missing on Solaris.
authorNeal Norwitz <nnorwitz@gmail.com>
Fri, 28 Mar 2008 05:34:59 +0000 (05:34 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Fri, 28 Mar 2008 05:34:59 +0000 (05:34 +0000)
Objects/complexobject.c
Objects/floatobject.c
configure
configure.in
pyconfig.h.in

index c87b9e8de2a6787ecd99bf28d5892105d758d14c..7f40ed624248cf78b82eb376a286195868f0602e 100644 (file)
@@ -8,6 +8,10 @@
 #include "Python.h"
 #include "structmember.h"
 
+#ifdef HAVE_IEEEFP_H
+#include <ieeefp.h>
+#endif
+
 #ifndef WITHOUT_COMPLEX
 
 /* Precisions used by repr() and str(), respectively.
index 848a47fe2e051af7b3b630489cc8254c3d4733f1..b832f7a483ea0cffddfba487b153889dae3f79fb 100644 (file)
 #include <ctype.h>
 #include <float.h>
 
+#ifdef HAVE_IEEEFP_H
+#include <ieeefp.h>
+#endif
+
 #include "formatter_string.h"
 
 #if !defined(__STDC__)
index 052d780f6ec4801e04e136bb63a5c0aad3c0138b..ad9f5629f3eb9d51ae1603c763d061b02e833f8c 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
 #! /bin/sh
-# From configure.in Revision: 61722 .
+# From configure.in Revision: 61847 .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.61 for python 2.6.
 #
@@ -5419,11 +5419,12 @@ done
 
 
 
+
 
 
 for ac_header in asm/types.h conio.h curses.h direct.h dlfcn.h errno.h \
 fcntl.h grp.h \
-io.h langinfo.h libintl.h ncurses.h poll.h process.h pthread.h \
+ieeefp.h io.h langinfo.h libintl.h ncurses.h poll.h process.h pthread.h \
 shadow.h signal.h stdint.h stropts.h termios.h thread.h \
 unistd.h utime.h \
 sys/audioio.h sys/bsdtty.h sys/epoll.h sys/event.h sys/file.h sys/loadavg.h \
index 4e5944b0f09cf94c48e0da529c133177e033e50a..37c127918ec14ec7e38d11c68a8ba2fec8567604 100644 (file)
@@ -1099,7 +1099,7 @@ dnl AC_MSG_RESULT($cpp_type)
 AC_HEADER_STDC
 AC_CHECK_HEADERS(asm/types.h conio.h curses.h direct.h dlfcn.h errno.h \
 fcntl.h grp.h \
-io.h langinfo.h libintl.h ncurses.h poll.h process.h pthread.h \
+ieeefp.h io.h langinfo.h libintl.h ncurses.h poll.h process.h pthread.h \
 shadow.h signal.h stdint.h stropts.h termios.h thread.h \
 unistd.h utime.h \
 sys/audioio.h sys/bsdtty.h sys/epoll.h sys/event.h sys/file.h sys/loadavg.h \
index 55ab6b239b3ab04b8f992914d34d556e01d9b1f3..425ebeed633385ee6e24456913e5f0dd2715f0a1 100644 (file)
 /* Define to 1 if you have the `hypot' function. */
 #undef HAVE_HYPOT
 
+/* Define to 1 if you have the <ieeefp.h> header file. */
+#undef HAVE_IEEEFP_H
+
 /* Define if you have the 'inet_aton' function. */
 #undef HAVE_INET_ATON