From: Martin v. Löwis Date: Fri, 27 Oct 2006 07:06:59 +0000 (+0000) Subject: Get DBL_MAX from float.h not values.h. X-Git-Tag: v2.5.1c1~301 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=64cd9efd80679a4ccd6a50c4e916913222816239;p=thirdparty%2FPython%2Fcpython.git Get DBL_MAX from float.h not values.h. --- diff --git a/Modules/_testcapimodule.c b/Modules/_testcapimodule.c index c5068efed47c..edfe8adc6764 100644 --- a/Modules/_testcapimodule.c +++ b/Modules/_testcapimodule.c @@ -6,9 +6,7 @@ */ #include "Python.h" -#ifdef HAVE_VALUES_H -#include -#endif +#include #include "structmember.h" #ifdef WITH_THREAD diff --git a/configure b/configure index 29904562ca53..8b4e54423848 100755 --- a/configure +++ b/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 52362 . +# From configure.in Revision: 52455 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.59 for python 2.5. # @@ -4630,7 +4630,6 @@ done - for ac_header in asm/types.h conio.h curses.h direct.h dlfcn.h errno.h \ @@ -4643,7 +4642,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 8c2b95451429..cd9161b813a0 100644 --- a/configure.in +++ b/configure.in @@ -1076,7 +1076,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 750de15e113d..844843903f16 100644 --- a/pyconfig.h.in +++ b/pyconfig.h.in @@ -700,9 +700,6 @@ /* Define to 1 if you have the header file. */ #undef HAVE_UTIME_H -/* Define to 1 if you have the header file. */ -#undef HAVE_VALUES_H - /* Define to 1 if you have the `wait3' function. */ #undef HAVE_WAIT3