Fix for bug 631247: configure should test the build directory for
being on a case-insensitive filesystem, not the source directory.
diff --git a/configure b/configure
index 9f15882..c2073d0 100755
--- a/configure
+++ b/configure
@@ -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 "$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 @@
 echo "${ECHO_T}no" >&6
 	BUILDEXEEXT=$EXEEXT
 fi
+rmdir CaseSensitiveTestDir
 
 case $MACHDEP in
 bsdos*)