[Python-checkins] r52457 - in python/branches/release25-maint: Modules/_testcapimodule.c configure configure.in pyconfig.h.in

martin.v.loewis python-checkins at python.org
Fri Oct 27 09:07:00 CEST 2006


Author: martin.v.loewis
Date: Fri Oct 27 09:06:59 2006
New Revision: 52457

Modified:
   python/branches/release25-maint/Modules/_testcapimodule.c
   python/branches/release25-maint/configure
   python/branches/release25-maint/configure.in
   python/branches/release25-maint/pyconfig.h.in
Log:
Get DBL_MAX from float.h not values.h. 


Modified: python/branches/release25-maint/Modules/_testcapimodule.c
==============================================================================
--- python/branches/release25-maint/Modules/_testcapimodule.c	(original)
+++ python/branches/release25-maint/Modules/_testcapimodule.c	Fri Oct 27 09:06:59 2006
@@ -6,9 +6,7 @@
  */
 
 #include "Python.h"
-#ifdef HAVE_VALUES_H
-#include <values.h>
-#endif
+#include <float.h>
 #include "structmember.h"
 
 #ifdef WITH_THREAD

Modified: python/branches/release25-maint/configure
==============================================================================
--- python/branches/release25-maint/configure	(original)
+++ python/branches/release25-maint/configure	Fri Oct 27 09:06:59 2006
@@ -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.
 #
@@ -4632,7 +4632,6 @@
 
 
 
-
 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 \
@@ -4643,7 +4642,7 @@
 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`

Modified: python/branches/release25-maint/configure.in
==============================================================================
--- python/branches/release25-maint/configure.in	(original)
+++ python/branches/release25-maint/configure.in	Fri Oct 27 09:06:59 2006
@@ -1076,7 +1076,7 @@
 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

Modified: python/branches/release25-maint/pyconfig.h.in
==============================================================================
--- python/branches/release25-maint/pyconfig.h.in	(original)
+++ python/branches/release25-maint/pyconfig.h.in	Fri Oct 27 09:06:59 2006
@@ -700,9 +700,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
 


More information about the Python-checkins mailing list