From 7497e91a20104bd1ff9cc784a6877f8b8403e53d Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sat, 16 Oct 2010 00:53:39 +0000 Subject: [PATCH] run autoreconf --- configure | 22 +++++++++++++++------- pyconfig.h.in | 7 +++++-- 2 files changed, 20 insertions(+), 9 deletions(-) diff --git a/configure b/configure index 2e42864083..fe6c8206d4 100755 --- a/configure +++ b/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 84948 . +# From configure.in Revision: 85556 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.65 for python 2.7. # @@ -1934,11 +1934,11 @@ else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default + enum { N = $2 / 2 - 1 }; int main () { -static int test_array [1 - 2 * !(enum { N = $2 / 2 - 1 }; - 0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))]; +static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))]; test_array [0] = 0 ; @@ -1949,11 +1949,11 @@ if ac_fn_c_try_compile "$LINENO"; then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default + enum { N = $2 / 2 - 1 }; int main () { -static int test_array [1 - 2 * !(enum { N = $2 / 2 - 1 }; - ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1) +static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1) < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))]; test_array [0] = 0 @@ -13738,6 +13738,14 @@ $as_echo "#define socklen_t int" >>confdefs.h fi +case $ac_sys_system in +AIX*) + +$as_echo "#define HAVE_BROKEN_PIPE_BUF 1" >>confdefs.h + ;; +esac + + for h in `(cd $srcdir;echo Python/thread_*.h)` @@ -14293,8 +14301,8 @@ esac cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # Files that config.status was made for. -config_files="`echo $ac_config_files`" -config_headers="`echo $ac_config_headers`" +config_files="$ac_config_files" +config_headers="$ac_config_headers" _ACEOF diff --git a/pyconfig.h.in b/pyconfig.h.in index 2c3c4fb4cf..65ad7acac3 100644 --- a/pyconfig.h.in +++ b/pyconfig.h.in @@ -36,7 +36,7 @@ /* Define if --enable-ipv6 is specified */ #undef ENABLE_IPV6 -/* Define if flock needs to be linked with bsd library */ +/* Define if flock needs to be linked with bsd library. */ #undef FLOCK_NEEDS_LIBBSD /* Define if getpgrp() must be called as getpgrp(0). */ @@ -82,6 +82,9 @@ /* Define if nice() returns success/failure instead of the new priority. */ #undef HAVE_BROKEN_NICE +/* Define if the system reports an invalid PIPE_BUF value. */ +#undef HAVE_BROKEN_PIPE_BUF + /* Define if poll() sets errno on invalid file descriptors. */ #undef HAVE_BROKEN_POLL @@ -216,7 +219,7 @@ /* Define to 1 if you have the `finite' function. */ #undef HAVE_FINITE -/* Define if you have the 'flock' function. */ +/* Define to 1 if you have the `flock' function. */ #undef HAVE_FLOCK /* Define to 1 if you have the `fork' function. */ -- 2.50.1