]> granicus.if.org Git - python/commitdiff
Check for values.h. Will backport.
authorMartin v. Löwis <martin@v.loewis.de>
Fri, 27 Oct 2006 06:42:27 +0000 (06:42 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Fri, 27 Oct 2006 06:42:27 +0000 (06:42 +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 fbdee04d0191d8f6722fd9a610e203e3b509bff2..dc13446aa83f3aea4b7957cba2c4f8194913ed9b 100755 (executable)
--- a/configure
+++ b/configure
@@ -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.
 #
@@ -4695,6 +4695,7 @@ done
 
 
 
+
 
 
 for ac_header in asm/types.h conio.h curses.h direct.h dlfcn.h errno.h \
@@ -4707,7 +4708,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 41c0eb5d9138270897180cc03bc2d037e224dbf3..e8b3377fbee1a8485c3831d98581d656eaaef7ba 100644 (file)
@@ -1092,7 +1092,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 6407871725821006d57bfe412dbaed97a7d99012..8dd32c1279ec83ce76cbbc8b7d896fe3694a033c 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