summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-10-27 06:43:00 +0000
committerMartin v. Löwis <martin@v.loewis.de>2006-10-27 06:43:00 +0000
commita3346803ba022e1051f6ac769558c197acbf8fb3 (patch)
tree4ad9788c773d3a3c8c497afe2a84c6835e7834b2
parent48953c002252825a25147cc7e574020f41c5ec13 (diff)
downloadcpython-a3346803ba022e1051f6ac769558c197acbf8fb3.tar.gz
Check for values.h.
-rw-r--r--Modules/_testcapimodule.c2
-rwxr-xr-xconfigure5
-rw-r--r--configure.in2
-rw-r--r--pyconfig.h.in3
4 files changed, 9 insertions, 3 deletions
diff --git a/Modules/_testcapimodule.c b/Modules/_testcapimodule.c
index 0236c838e0..c5068efed4 100644
--- a/Modules/_testcapimodule.c
+++ b/Modules/_testcapimodule.c
@@ -6,7 +6,9 @@
*/
#include "Python.h"
+#ifdef HAVE_VALUES_H
#include <values.h>
+#endif
#include "structmember.h"
#ifdef WITH_THREAD
diff --git a/configure b/configure
index c17dbd7f02..29904562ca 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.in Revision: 52090 .
+# From configure.in Revision: 52362 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59 for python 2.5.
#
@@ -4632,6 +4632,7 @@ 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 \
@@ -4642,7 +4643,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 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`
diff --git a/configure.in b/configure.in
index cd9161b813..8c2b954514 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 bluetooth.h \
+sys/resource.h netpacket/packet.h sysexits.h values.h bluetooth.h \
bluetooth/bluetooth.h)
AC_HEADER_DIRENT
AC_HEADER_MAJOR
diff --git a/pyconfig.h.in b/pyconfig.h.in
index 844843903f..750de15e11 100644
--- a/pyconfig.h.in
+++ b/pyconfig.h.in
@@ -700,6 +700,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