]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
backport of a tiny part of patch 557719 - just enough to allow the BUILDEXE
authorSkip Montanaro <skip@pobox.com>
Fri, 7 Feb 2003 15:54:52 +0000 (15:54 +0000)
committerSkip Montanaro <skip@pobox.com>
Fri, 7 Feb 2003 15:54:52 +0000 (15:54 +0000)
Makefile variable to be set properly when doing out-of-tree builds.

configure
configure.in

index 2318cd985dbb74ffb93cb9bb314d6aef6c9bcf6e..b878e192c969a9dc2e382837041970de199a3c44 100755 (executable)
--- a/configure
+++ b/configure
@@ -1340,7 +1340,7 @@ echo "$ac_t""$EXEEXT" 1>&6
 
 echo $ac_n "checking for case-insensitive build directory""... $ac_c" 1>&6
 echo "configure:1343: checking for case-insensitive build directory" >&5
-if test -d "python"
+if test -d "${srcdir}/python"
 then
     echo "$ac_t""yes" 1>&6
     BUILDEXEEXT=.exe
index 1e2f25e3bc2ffdcf287df2471269ee3ddef64a65..bcf29613cb778a4e35a557b95b66d1eaaac2974c 100644 (file)
@@ -209,7 +209,7 @@ 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 "python"
+if test -d "${srcdir}/python"
 then
     AC_MSG_RESULT(yes)
     BUILDEXEEXT=.exe