]> granicus.if.org Git - python/commitdiff
Check for values.h.
authorMartin v. Löwis <martin@v.loewis.de>
Fri, 27 Oct 2006 06:43:00 +0000 (06:43 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Fri, 27 Oct 2006 06:43:00 +0000 (06:43 +0000)
Modules/_testcapimodule.c
configure
configure.in
pyconfig.h.in

index 0236c838e063597e988c2e901ef242231c023cbf..c5068efed47c443439f079b4da9461a66611e0ae 100644 (file)
@@ -6,7 +6,9 @@
  */
 
 #include "Python.h"
+#ifdef HAVE_VALUES_H
 #include <values.h>
+#endif
 #include "structmember.h"
 
 #ifdef WITH_THREAD
index c17dbd7f02a7e3cd08144c66fb56a31941ea8cc6..29904562ca5354db31c45a6af30d0f4fb0771e9a 100755 (executable)
--- 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.
 #
@@ -4630,6 +4630,7 @@ done
 
 
 
+
 
 
 for ac_header in asm/types.h conio.h curses.h direct.h dlfcn.h errno.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`
index cd9161b813a0450f98ad98921bc6502bdeda0016..8c2b95451429ce390a5afe9699f15e3529095465 100644 (file)
@@ -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
index 844843903f16fda27d4e1e91c0c82fcf14f67fd1..750de15e113d8f83f1784537c79714b28cc5f241 100644 (file)
 /* 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