[Python-checkins] CVS: python/dist/src acconfig.h,1.40,1.41 config.h.in,2.82,2.83 configure,1.176,1.177 configure.in,1.184,1.185
Guido van Rossum
python-dev@python.org
Wed, 10 Jan 2001 12:40:48 -0800
- Previous message: [Python-checkins] CVS: python/dist/src/Python import.c,2.154,2.155
- Next message: [Python-checkins] CVS: python/dist/src/Modules shamodule.c,2.12,2.13 mmapmodule.c,2.25,2.26 readline.c,2.33,2.34 rotormodule.c,2.29,2.30
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src
In directory usw-pr-cvs1:/tmp/cvs-serv31527
Modified Files:
acconfig.h config.h.in configure configure.in
Log Message:
SF Patch #103154 by jlt63: Cygwin Check Import Case Patch.
Note: I've reordered acconfig.h and config.h.in to obtain alphabetical
order (modulo case and leading _).
Index: acconfig.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/acconfig.h,v
retrieving revision 1.40
retrieving revision 1.41
diff -C2 -r1.40 -r1.41
*** acconfig.h 2001/01/05 14:45:48 1.40
--- acconfig.h 2001/01/10 20:40:46 1.41
***************
*** 2,5 ****
--- 2,9 ----
+ /* Define for AIX if your compiler is a genuine IBM xlC/xlC_r
+ and you want support for AIX C++ shared extension modules. */
+ #undef AIX_GENUINE_CPLUSPLUS
+
/* Define if your <unistd.h> contains bad prototypes for exec*()
(as it does on SGI IRIX 4.x) */
***************
*** 10,17 ****
#undef BAD_STATIC_FORWARD
- /* Define for AIX if your compiler is a genuine IBM xlC/xlC_r
- and you want support for AIX C++ shared extension modules. */
- #undef AIX_GENUINE_CPLUSPLUS
-
/* Define this if you have BeOS threads */
#undef BEOS_THREADS
--- 14,17 ----
***************
*** 20,23 ****
--- 20,26 ----
#undef C_THREADS
+ /* Defined when case of imported modules are checked against case of file. */
+ #undef CHECK_IMPORT_CASE
+
/* Define to `long' if <time.h> doesn't define. */
#undef clock_t
***************
*** 33,36 ****
--- 36,42 ----
#undef HAVE_ALTZONE
+ /* Defined when any dynamic module loading is enabled */
+ #undef HAVE_DYNAMIC_LOADING
+
/* Define this if you have flockfile(), getc_unlocked(), and funlockfile() */
#undef HAVE_GETC_UNLOCKED
***************
*** 51,60 ****
#undef HAVE_GETHOSTBYNAME_R_6_ARG
/* Define this if you have the type long long */
#undef HAVE_LONG_LONG
- /* Define this if you have the type uintptr_t */
- #undef HAVE_UINTPTR_T
-
/* Define if your compiler supports function prototypes */
#undef HAVE_PROTOTYPES
--- 57,72 ----
#undef HAVE_GETHOSTBYNAME_R_6_ARG
+ /* Defined to enable large file support when an off_t is bigger than a long
+ and long long is available and at least as big as an off_t. You may need
+ to add some flags for configuration and compilation to enable this mode.
+ E.g, for Solaris 2.7:
+ CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" OPT="-O2 $CFLAGS" \
+ configure
+ */
+ #undef HAVE_LARGEFILE_SUPPORT
+
/* Define this if you have the type long long */
#undef HAVE_LONG_LONG
/* Define if your compiler supports function prototypes */
#undef HAVE_PROTOTYPES
***************
*** 67,70 ****
--- 79,93 ----
#undef HAVE_STDARG_PROTOTYPES
+ /* Define this if you have the type uintptr_t */
+ #undef HAVE_UINTPTR_T
+
+ /* Define if you have a useable wchar_t type defined in wchar.h; useable
+ means wchar_t must be 16-bit unsigned type. (see
+ Include/unicodeobject.h). */
+ #undef HAVE_USABLE_WCHAR_T
+
+ /* Define if the compiler provides a wchar.h header file. */
+ #undef HAVE_WCHAR_H
+
/* Define if malloc(0) returns a NULL pointer */
#undef MALLOC_ZERO_RETURNS_NULL
***************
*** 73,76 ****
--- 96,102 ----
#undef _POSIX_THREADS
+ /* Define if you want to build an interpreter with many run-time checks */
+ #undef Py_DEBUG
+
/* Define to force use of thread-safe errno, h_errno, and other functions */
#undef _REENTRANT
***************
*** 82,85 ****
--- 108,125 ----
#undef signed
+ /* Define if i>>j for signed int i does not extend the sign bit
+ when i < 0
+ */
+ #undef SIGNED_RIGHT_SHIFT_ZERO_FILLS
+
+ /* The number of bytes in an off_t. */
+ #undef SIZEOF_OFF_T
+
+ /* The number of bytes in a time_t. */
+ #undef SIZEOF_TIME_T
+
+ /* The number of bytes in a pthread_t. */
+ #undef SIZEOF_PTHREAD_T
+
/* sizeof(void *) */
#undef SIZEOF_VOID_P
***************
*** 104,125 ****
#undef WANT_SIGFPE_HANDLER
- /* Define if the compiler provides a wchar.h header file. */
- #undef HAVE_WCHAR_H
-
- /* Define if you have a useable wchar_t type defined in wchar.h; useable
- means wchar_t must be 16-bit unsigned type. (see
- Include/unicodeobject.h). */
- #undef HAVE_USABLE_WCHAR_T
-
/* Define if you want wctype.h functions to be used instead of the
one supplied by Python itself. (see Include/unicodectype.h). */
#undef WANT_WCTYPE_FUNCTIONS
! /* Define if you want to use SGI (IRIX 4) dynamic linking.
! This requires the "dl" library by Jack Jansen,
! ftp://ftp.cwi.nl/pub/dynload/dl-1.6.tar.Z.
! Don't bother on IRIX 5, it already has dynamic linking using SunOS
! style shared libraries */
! #undef WITH_SGI_DL
/* Define if you want to emulate SGI (IRIX 4) dynamic linking.
--- 144,153 ----
#undef WANT_SIGFPE_HANDLER
/* Define if you want wctype.h functions to be used instead of the
one supplied by Python itself. (see Include/unicodectype.h). */
#undef WANT_WCTYPE_FUNCTIONS
! /* Define if you want to compile in cycle garbage collection */
! #undef WITH_CYCLE_GC
/* Define if you want to emulate SGI (IRIX 4) dynamic linking.
***************
*** 138,183 ****
linker (rld). Dyld is necessary to support frameworks. */
#undef WITH_DYLD
-
- /* Define if you want to compile in rudimentary thread support */
- #undef WITH_THREAD
! /* Define if you want to compile in cycle garbage collection */
! #undef WITH_CYCLE_GC
/* Define if you want to produce an OpenStep/Rhapsody framework
(shared library plus accessory files). */
#undef WITH_NEXT_FRAMEWORK
-
- /* Define if you want to use BSD db. */
- #undef WITH_LIBDB
-
- /* Define if you want to build an interpreter with many run-time checks */
- #undef Py_DEBUG
-
- /* The number of bytes in an off_t. */
- #undef SIZEOF_OFF_T
-
- /* The number of bytes in a time_t. */
- #undef SIZEOF_TIME_T
-
- /* The number of bytes in a pthread_t. */
- #undef SIZEOF_PTHREAD_T
-
- /* Defined to enable large file support when an off_t is bigger than a long
- and long long is available and at least as big as an off_t. You may need
- to add some flags for configuration and compilation to enable this mode.
- E.g, for Solaris 2.7:
- CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" OPT="-O2 $CFLAGS" \
- configure
- */
- #undef HAVE_LARGEFILE_SUPPORT
! /* Defined when any dynamic module loading is enabled */
! #undef HAVE_DYNAMIC_LOADING
! /* Define if i>>j for signed int i does not extend the sign bit
! when i < 0
! */
! #undef SIGNED_RIGHT_SHIFT_ZERO_FILLS
--- 166,186 ----
linker (rld). Dyld is necessary to support frameworks. */
#undef WITH_DYLD
! /* Define if you want to use BSD db. */
! #undef WITH_LIBDB
/* Define if you want to produce an OpenStep/Rhapsody framework
(shared library plus accessory files). */
#undef WITH_NEXT_FRAMEWORK
! /* Define if you want to use SGI (IRIX 4) dynamic linking.
! This requires the "dl" library by Jack Jansen,
! ftp://ftp.cwi.nl/pub/dynload/dl-1.6.tar.Z.
! Don't bother on IRIX 5, it already has dynamic linking using SunOS
! style shared libraries */
! #undef WITH_SGI_DL
! /* Define if you want to compile in rudimentary thread support */
! #undef WITH_THREAD
Index: config.h.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/config.h.in,v
retrieving revision 2.82
retrieving revision 2.83
diff -C2 -r2.82 -r2.83
*** config.h.in 2001/01/08 17:58:56 2.82
--- config.h.in 2001/01/10 20:40:46 2.83
***************
*** 67,70 ****
--- 67,74 ----
#undef WORDS_BIGENDIAN
+ /* Define for AIX if your compiler is a genuine IBM xlC/xlC_r
+ and you want support for AIX C++ shared extension modules. */
+ #undef AIX_GENUINE_CPLUSPLUS
+
/* Define if your <unistd.h> contains bad prototypes for exec*()
(as it does on SGI IRIX 4.x) */
***************
*** 75,82 ****
#undef BAD_STATIC_FORWARD
- /* Define for AIX if your compiler is a genuine IBM xlC/xlC_r
- and you want support for AIX C++ shared extension modules. */
- #undef AIX_GENUINE_CPLUSPLUS
-
/* Define this if you have BeOS threads */
#undef BEOS_THREADS
--- 79,82 ----
***************
*** 85,88 ****
--- 85,91 ----
#undef C_THREADS
+ /* Defined when case of imported modules are checked against case of file. */
+ #undef CHECK_IMPORT_CASE
+
/* Define to `long' if <time.h> doesn't define. */
#undef clock_t
***************
*** 98,101 ****
--- 101,107 ----
#undef HAVE_ALTZONE
+ /* Defined when any dynamic module loading is enabled */
+ #undef HAVE_DYNAMIC_LOADING
+
/* Define this if you have flockfile(), getc_unlocked(), and funlockfile() */
#undef HAVE_GETC_UNLOCKED
***************
*** 113,122 ****
#undef HAVE_GETHOSTBYNAME_R_6_ARG
/* Define this if you have the type long long */
#undef HAVE_LONG_LONG
- /* Define this if you have the type uintptr_t */
- #undef HAVE_UINTPTR_T
-
/* Define if your compiler supports function prototypes */
#undef HAVE_PROTOTYPES
--- 119,134 ----
#undef HAVE_GETHOSTBYNAME_R_6_ARG
+ /* Defined to enable large file support when an off_t is bigger than a long
+ and long long is available and at least as big as an off_t. You may need
+ to add some flags for configuration and compilation to enable this mode.
+ E.g, for Solaris 2.7:
+ CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" OPT="-O2 $CFLAGS" \
+ configure
+ */
+ #undef HAVE_LARGEFILE_SUPPORT
+
/* Define this if you have the type long long */
#undef HAVE_LONG_LONG
/* Define if your compiler supports function prototypes */
#undef HAVE_PROTOTYPES
***************
*** 129,132 ****
--- 141,155 ----
#undef HAVE_STDARG_PROTOTYPES
+ /* Define this if you have the type uintptr_t */
+ #undef HAVE_UINTPTR_T
+
+ /* Define if you have a useable wchar_t type defined in wchar.h; useable
+ means wchar_t must be 16-bit unsigned type. (see
+ Include/unicodeobject.h). */
+ #undef HAVE_USABLE_WCHAR_T
+
+ /* Define if the compiler provides a wchar.h header file. */
+ #undef HAVE_WCHAR_H
+
/* Define if malloc(0) returns a NULL pointer */
#undef MALLOC_ZERO_RETURNS_NULL
***************
*** 135,138 ****
--- 158,164 ----
#undef _POSIX_THREADS
+ /* Define if you want to build an interpreter with many run-time checks */
+ #undef Py_DEBUG
+
/* Define to force use of thread-safe errno, h_errno, and other functions */
#undef _REENTRANT
***************
*** 144,147 ****
--- 170,187 ----
#undef signed
+ /* Define if i>>j for signed int i does not extend the sign bit
+ when i < 0
+ */
+ #undef SIGNED_RIGHT_SHIFT_ZERO_FILLS
+
+ /* The number of bytes in an off_t. */
+ #undef SIZEOF_OFF_T
+
+ /* The number of bytes in a time_t. */
+ #undef SIZEOF_TIME_T
+
+ /* The number of bytes in a pthread_t. */
+ #undef SIZEOF_PTHREAD_T
+
/* Define to `int' if <sys/types.h> doesn't define. */
#undef socklen_t
***************
*** 160,181 ****
#undef WANT_SIGFPE_HANDLER
- /* Define if the compiler provides a wchar.h header file. */
- #undef HAVE_WCHAR_H
-
- /* Define if you have a useable wchar_t type defined in wchar.h; useable
- means wchar_t must be 16-bit unsigned type. (see
- Include/unicodeobject.h). */
- #undef HAVE_USABLE_WCHAR_T
-
/* Define if you want wctype.h functions to be used instead of the
one supplied by Python itself. (see Include/unicodectype.h). */
#undef WANT_WCTYPE_FUNCTIONS
! /* Define if you want to use SGI (IRIX 4) dynamic linking.
! This requires the "dl" library by Jack Jansen,
! ftp://ftp.cwi.nl/pub/dynload/dl-1.6.tar.Z.
! Don't bother on IRIX 5, it already has dynamic linking using SunOS
! style shared libraries */
! #undef WITH_SGI_DL
/* Define if you want to emulate SGI (IRIX 4) dynamic linking.
--- 200,209 ----
#undef WANT_SIGFPE_HANDLER
/* Define if you want wctype.h functions to be used instead of the
one supplied by Python itself. (see Include/unicodectype.h). */
#undef WANT_WCTYPE_FUNCTIONS
! /* Define if you want to compile in cycle garbage collection */
! #undef WITH_CYCLE_GC
/* Define if you want to emulate SGI (IRIX 4) dynamic linking.
***************
*** 194,239 ****
linker (rld). Dyld is necessary to support frameworks. */
#undef WITH_DYLD
-
- /* Define if you want to compile in rudimentary thread support */
- #undef WITH_THREAD
! /* Define if you want to compile in cycle garbage collection */
! #undef WITH_CYCLE_GC
/* Define if you want to produce an OpenStep/Rhapsody framework
(shared library plus accessory files). */
#undef WITH_NEXT_FRAMEWORK
-
- /* Define if you want to use BSD db. */
- #undef WITH_LIBDB
-
- /* Define if you want to build an interpreter with many run-time checks */
- #undef Py_DEBUG
-
- /* The number of bytes in an off_t. */
- #undef SIZEOF_OFF_T
-
- /* The number of bytes in a time_t. */
- #undef SIZEOF_TIME_T
-
- /* The number of bytes in a pthread_t. */
- #undef SIZEOF_PTHREAD_T
-
- /* Defined to enable large file support when an off_t is bigger than a long
- and long long is available and at least as big as an off_t. You may need
- to add some flags for configuration and compilation to enable this mode.
- E.g, for Solaris 2.7:
- CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" OPT="-O2 $CFLAGS" \
- configure
- */
- #undef HAVE_LARGEFILE_SUPPORT
! /* Defined when any dynamic module loading is enabled */
! #undef HAVE_DYNAMIC_LOADING
! /* Define if i>>j for signed int i does not extend the sign bit
! when i < 0
! */
! #undef SIGNED_RIGHT_SHIFT_ZERO_FILLS
/* The number of bytes in a char. */
--- 222,242 ----
linker (rld). Dyld is necessary to support frameworks. */
#undef WITH_DYLD
! /* Define if you want to use BSD db. */
! #undef WITH_LIBDB
/* Define if you want to produce an OpenStep/Rhapsody framework
(shared library plus accessory files). */
#undef WITH_NEXT_FRAMEWORK
! /* Define if you want to use SGI (IRIX 4) dynamic linking.
! This requires the "dl" library by Jack Jansen,
! ftp://ftp.cwi.nl/pub/dynload/dl-1.6.tar.Z.
! Don't bother on IRIX 5, it already has dynamic linking using SunOS
! style shared libraries */
! #undef WITH_SGI_DL
! /* Define if you want to compile in rudimentary thread support */
! #undef WITH_THREAD
/* The number of bytes in a char. */
Index: configure
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure,v
retrieving revision 1.176
retrieving revision 1.177
diff -C2 -r1.176 -r1.177
*** configure 2001/01/10 18:53:47 1.176
--- configure 2001/01/10 20:40:46 1.177
***************
*** 1,5 ****
#! /bin/sh
! # From configure.in Revision: 1.184
# Guess values for system-dependent variables and create Makefiles.
--- 1,5 ----
#! /bin/sh
! # From configure.in Revision: 1.185
[...4140 lines suppressed...]
if eval "test \"`echo '$''{'ac_cv_type_socklen_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 6117 "configure"
#include "confdefs.h"
#include <sys/types.h>
***************
*** 6121,6125 ****
echo $ac_n "checking for Modules/Setup""... $ac_c" 1>&6
! echo "configure:6124: checking for Modules/Setup" >&5
if test ! -f Modules/Setup ; then
if test ! -d Modules ; then
--- 6143,6147 ----
echo $ac_n "checking for Modules/Setup""... $ac_c" 1>&6
! echo "configure:6146: checking for Modules/Setup" >&5
if test ! -f Modules/Setup ; then
if test ! -d Modules ; then
Index: configure.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure.in,v
retrieving revision 1.184
retrieving revision 1.185
diff -C2 -r1.184 -r1.185
*** configure.in 2001/01/10 18:53:48 1.184
--- configure.in 2001/01/10 20:40:46 1.185
***************
*** 1233,1236 ****
--- 1233,1248 ----
[AC_MSG_RESULT(default LIBC=\"$LIBC\")])
+ # check for --with-check-import-case
+ AC_ARG_WITH(check-import-case,
+ [ --with-check-import-case enable imported module name case checking],,)
+ AC_MSG_CHECKING(for --with-check-import-case)
+ if test "$with_check_import_case"
+ then
+ AC_DEFINE(CHECK_IMPORT_CASE)
+ AC_MSG_RESULT(yes)
+ else
+ AC_MSG_RESULT(no)
+ fi
+
# check for hypot() in math library
LIBS_SAVE=$LIBS
- Previous message: [Python-checkins] CVS: python/dist/src/Python import.c,2.154,2.155
- Next message: [Python-checkins] CVS: python/dist/src/Modules shamodule.c,2.12,2.13 mmapmodule.c,2.25,2.26 readline.c,2.33,2.34 rotormodule.c,2.29,2.30
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]