diff options
| author | Benjamin Peterson <benjamin@python.org> | 2010-10-16 00:53:39 (GMT) |
|---|---|---|
| committer | Benjamin Peterson <benjamin@python.org> | 2010-10-16 00:53:39 (GMT) |
| commit | 7497e91a20104bd1ff9cc784a6877f8b8403e53d (patch) | |
| tree | 230edb7f8ea8d3368cce0c58fd0f9b9daa2b72d3 | |
| parent | 1d9d16e82729821197af6e240995a344e8e7e0ba (diff) | |
| download | cpython-7497e91a20104bd1ff9cc784a6877f8b8403e53d.zip cpython-7497e91a20104bd1ff9cc784a6877f8b8403e53d.tar.gz cpython-7497e91a20104bd1ff9cc784a6877f8b8403e53d.tar.bz2 | |
run autoreconf
| -rwxr-xr-x | configure | 22 | ||||
| -rw-r--r-- | pyconfig.h.in | 7 |
2 files changed, 20 insertions, 9 deletions
@@ -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 2c3c4fb..65ad7ac 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. */ |
