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.in b/configure.in
index e24f73c..cd03c1d 100644
--- a/configure.in
+++ b/configure.in
@@ -253,7 +253,11 @@
# 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 @@
AC_MSG_RESULT(no)
BUILDEXEEXT=$EXEEXT
fi
+rmdir CaseSensitiveTestDir
case $MACHDEP in
bsdos*)