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.
This commit is contained in:
Brett Cannon 2022-03-02 14:23:59 -08:00 committed by GitHub
parent 3257d49d23
commit 50ec3453c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View File

@ -0,0 +1 @@
Respect `--with-suffix` when building on case-insensitive file systems.

2
configure generated vendored
View File

@ -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; }

View File

@ -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