diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2002-11-06 13:33:32 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2002-11-06 13:33:32 (GMT) |
commit | 3c2c43341792b886740adec80ff875b1461a0ef2 (patch) | |
tree | 8036de8852c4326ff543771572357dd15048e110 | |
parent | 57f0f3475e247dc4ef9896b02be83c2d89ff0541 (diff) | |
download | cpython-3c2c43341792b886740adec80ff875b1461a0ef2.zip cpython-3c2c43341792b886740adec80ff875b1461a0ef2.tar.gz cpython-3c2c43341792b886740adec80ff875b1461a0ef2.tar.bz2 |
Fix for bug 631247: configure should test the build directory for
being on a case-insensitive filesystem, not the source directory.
-rwxr-xr-x | configure | 9 | ||||
-rw-r--r-- | configure.in | 7 |
2 files changed, 13 insertions, 3 deletions
@@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 1.361 . +# From configure.in Revision: 1.362 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.53 for python 2.3. # @@ -2999,7 +2999,11 @@ echo "${ECHO_T}$EXEEXT" >&6 echo "$as_me:$LINENO: checking for case-insensitive build directory" >&5 echo $ECHO_N "checking for case-insensitive build directory... $ECHO_C" >&6 -if test -d "${srcdir}/python" +if test ! -d CaseSensitiveTestDir; then +mkdir CaseSensitiveTestDir +fi + +if test -d casesensitivetestdir then echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 @@ -3009,6 +3013,7 @@ else echo "${ECHO_T}no" >&6 BUILDEXEEXT=$EXEEXT fi +rmdir CaseSensitiveTestDir case $MACHDEP in bsdos*) diff --git a/configure.in b/configure.in index e24f73c..cd03c1d 100644 --- a/configure.in +++ b/configure.in @@ -253,7 +253,11 @@ AC_MSG_RESULT($EXEEXT) # case we give a warning if no ext is given AC_SUBST(BUILDEXEEXT) AC_MSG_CHECKING(for case-insensitive build directory) -if test -d "${srcdir}/python" +if test ! -d CaseSensitiveTestDir; then +mkdir CaseSensitiveTestDir +fi + +if test -d casesensitivetestdir then AC_MSG_RESULT(yes) BUILDEXEEXT=.exe @@ -261,6 +265,7 @@ else AC_MSG_RESULT(no) BUILDEXEEXT=$EXEEXT fi +rmdir CaseSensitiveTestDir case $MACHDEP in bsdos*) |