Index: configure =================================================================== --- configure (revision 84288) +++ configure (working copy) @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 83580 . +# From configure.in Revision: 83986 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.65 for python 3.2. # @@ -1930,11 +1930,11 @@ 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 ; @@ -1945,11 +1945,11 @@ 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 @@ -5491,6 +5491,9 @@ OSF*) BASECFLAGS="$BASECFLAGS -mieee" ;; + CYGWIN*) + BASECFLAGS="-I/usr/include/ncurses $BASECFLAGS" + ;; esac ;; @@ -14137,8 +14140,8 @@ 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 Index: configure.in =================================================================== --- configure.in (revision 84288) +++ configure.in (working copy) @@ -1041,6 +1041,9 @@ OSF*) BASECFLAGS="$BASECFLAGS -mieee" ;; + CYGWIN*) + BASECFLAGS="-I/usr/include/ncurses $BASECFLAGS" + ;; esac ;; Index: Modules/_io/_iomodule.h =================================================================== --- Modules/_io/_iomodule.h (revision 84288) +++ Modules/_io/_iomodule.h (working copy) @@ -67,7 +67,7 @@ PyObject *filename; /* Not used, but part of the IOError object */ Py_ssize_t written; } PyBlockingIOErrorObject; -PyAPI_DATA(PyObject *) PyExc_BlockingIOError; +extern PyObject * PyExc_BlockingIOError; /* * Offset type for positioning. Index: Modules/main.c =================================================================== --- Modules/main.c (revision 84288) +++ Modules/main.c (working copy) @@ -14,9 +14,11 @@ #include #ifdef HAVE_FCNTL_H #include +#ifndef PATH_MAX #define PATH_MAX MAXPATHLEN #endif #endif +#endif #ifdef _MSC_VER #include Index: pyconfig.h.in =================================================================== --- pyconfig.h.in (revision 84288) +++ pyconfig.h.in (working copy) @@ -1040,7 +1040,7 @@ /* Define to 1 if your declares `struct tm'. */ #undef TM_IN_SYS_TIME -/* Define to 0 if you don't want to use computed gotos in ceval.c. */ +/* Define if you want to use computed gotos in ceval.c. */ #undef USE_COMPUTED_GOTOS /* Enable extensions on AIX 3, Interix. */