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

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