diff options
author | Brett Cannon <brett@python.org> | 2022-03-02 22:23:59 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-02 22:23:59 (GMT) |
commit | 50ec3453c50c490eca7e990103c79671bd08ab2e (patch) | |
tree | 9a032c120e99d9e5f02b9de21b6b641b0016007c | |
parent | 3257d49d236e5f3453fe9d2fd8338bcdfe9756b7 (diff) | |
download | cpython-50ec3453c50c490eca7e990103c79671bd08ab2e.zip cpython-50ec3453c50c490eca7e990103c79671bd08ab2e.tar.gz cpython-50ec3453c50c490eca7e990103c79671bd08ab2e.tar.bz2 |
bpo-46860: Respect `--with-suffix` on case-insensitive file systems (GH-31593)
Previously, case-insensitive file systems were forced to use `.exe` as the file suffix no matter what `--with-suffix` was set to.
-rw-r--r-- | Misc/NEWS.d/next/Build/2022-02-25-16-19-40.bpo-46860.jfciLG.rst | 1 | ||||
-rwxr-xr-x | configure | 2 | ||||
-rw-r--r-- | configure.ac | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/Misc/NEWS.d/next/Build/2022-02-25-16-19-40.bpo-46860.jfciLG.rst b/Misc/NEWS.d/next/Build/2022-02-25-16-19-40.bpo-46860.jfciLG.rst new file mode 100644 index 0000000..7eab15d --- /dev/null +++ b/Misc/NEWS.d/next/Build/2022-02-25-16-19-40.bpo-46860.jfciLG.rst @@ -0,0 +1 @@ +Respect `--with-suffix` when building on case-insensitive file systems. @@ -6296,7 +6296,7 @@ if test ! -d CaseSensitiveTestDir; then mkdir CaseSensitiveTestDir fi -if test -d casesensitivetestdir +if test -d casesensitivetestdir && test -z "$EXEEXT" then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } diff --git a/configure.ac b/configure.ac index 83dd854..fedec52 100644 --- a/configure.ac +++ b/configure.ac @@ -1112,7 +1112,7 @@ if test ! -d CaseSensitiveTestDir; then mkdir CaseSensitiveTestDir fi -if test -d casesensitivetestdir +if test -d casesensitivetestdir && test -z "$EXEEXT" then AC_MSG_RESULT(yes) BUILDEXEEXT=.exe |