diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2006-10-27 07:06:52 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2006-10-27 07:06:52 (GMT) |
commit | 0347a9a49193f292b1aff0bbda2b33d96c459a39 (patch) | |
tree | 307279a6d4016e1e5a8571a3d8fd774924be44f6 | |
parent | 443ccc73f37ecdff058972cfff32f68ff3f50b3b (diff) | |
download | cpython-0347a9a49193f292b1aff0bbda2b33d96c459a39.zip cpython-0347a9a49193f292b1aff0bbda2b33d96c459a39.tar.gz cpython-0347a9a49193f292b1aff0bbda2b33d96c459a39.tar.bz2 |
Get DBL_MAX from float.h not values.h. Will backport.
-rw-r--r-- | Modules/_testcapimodule.c | 4 | ||||
-rwxr-xr-x | configure | 5 | ||||
-rw-r--r-- | configure.in | 2 | ||||
-rw-r--r-- | pyconfig.h.in | 3 |
4 files changed, 4 insertions, 10 deletions
diff --git a/Modules/_testcapimodule.c b/Modules/_testcapimodule.c index c5068ef..edfe8ad 100644 --- a/Modules/_testcapimodule.c +++ b/Modules/_testcapimodule.c @@ -6,9 +6,7 @@ */ #include "Python.h" -#ifdef HAVE_VALUES_H -#include <values.h> -#endif +#include <float.h> #include "structmember.h" #ifdef WITH_THREAD @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 52389 . +# From configure.in Revision: 52454 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.59 for python 2.6. # @@ -4697,7 +4697,6 @@ 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 \ @@ -4708,7 +4707,7 @@ sys/modem.h \ sys/param.h sys/poll.h sys/select.h sys/socket.h sys/statvfs.h sys/stat.h \ sys/time.h \ sys/times.h sys/types.h sys/un.h sys/utsname.h sys/wait.h pty.h libutil.h \ -sys/resource.h netpacket/packet.h sysexits.h values.h bluetooth.h \ +sys/resource.h netpacket/packet.h sysexits.h bluetooth.h \ bluetooth/bluetooth.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` diff --git a/configure.in b/configure.in index e8b3377..41c0eb5 100644 --- a/configure.in +++ b/configure.in @@ -1092,7 +1092,7 @@ sys/modem.h \ sys/param.h sys/poll.h sys/select.h sys/socket.h sys/statvfs.h sys/stat.h \ sys/time.h \ sys/times.h sys/types.h sys/un.h sys/utsname.h sys/wait.h pty.h libutil.h \ -sys/resource.h netpacket/packet.h sysexits.h values.h bluetooth.h \ +sys/resource.h netpacket/packet.h sysexits.h bluetooth.h \ bluetooth/bluetooth.h) AC_HEADER_DIRENT AC_HEADER_MAJOR diff --git a/pyconfig.h.in b/pyconfig.h.in index 8dd32c1..6407871 100644 --- a/pyconfig.h.in +++ b/pyconfig.h.in @@ -703,9 +703,6 @@ /* Define to 1 if you have the <utime.h> header file. */ #undef HAVE_UTIME_H -/* Define to 1 if you have the <values.h> header file. */ -#undef HAVE_VALUES_H - /* Define to 1 if you have the `wait3' function. */ #undef HAVE_WAIT3 |