[Python-checkins] r52454 - in python/trunk: Modules/_testcapimodule.c configure configure.in pyconfig.h.in
martin.v.loewis
python-checkins at python.org
Fri Oct 27 08:42:29 CEST 2006
Author: martin.v.loewis
Date: Fri Oct 27 08:42:27 2006
New Revision: 52454
Modified:
python/trunk/Modules/_testcapimodule.c
python/trunk/configure
python/trunk/configure.in
python/trunk/pyconfig.h.in
Log:
Check for values.h. Will backport.
Modified: python/trunk/Modules/_testcapimodule.c
==============================================================================
--- python/trunk/Modules/_testcapimodule.c (original)
+++ python/trunk/Modules/_testcapimodule.c Fri Oct 27 08:42:27 2006
@@ -6,7 +6,9 @@
*/
#include "Python.h"
+#ifdef HAVE_VALUES_H
#include <values.h>
+#endif
#include "structmember.h"
#ifdef WITH_THREAD
Modified: python/trunk/configure
==============================================================================
--- python/trunk/configure (original)
+++ python/trunk/configure Fri Oct 27 08:42:27 2006
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.in Revision: 52387 .
+# From configure.in Revision: 52389 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59 for python 2.6.
#
@@ -4697,6 +4697,7 @@
+
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 \
@@ -4707,7 +4708,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 bluetooth.h \
+sys/resource.h netpacket/packet.h sysexits.h values.h bluetooth.h \
bluetooth/bluetooth.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
Modified: python/trunk/configure.in
==============================================================================
--- python/trunk/configure.in (original)
+++ python/trunk/configure.in Fri Oct 27 08:42:27 2006
@@ -1092,7 +1092,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 bluetooth.h \
+sys/resource.h netpacket/packet.h sysexits.h values.h bluetooth.h \
bluetooth/bluetooth.h)
AC_HEADER_DIRENT
AC_HEADER_MAJOR
Modified: python/trunk/pyconfig.h.in
==============================================================================
--- python/trunk/pyconfig.h.in (original)
+++ python/trunk/pyconfig.h.in Fri Oct 27 08:42:27 2006
@@ -703,6 +703,9 @@
/* 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