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 00000000000..7eab15db335 --- /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. diff --git a/configure b/configure index 49d5abeac30..07ecb804c1b 100755 --- a/configure +++ b/configure @@ -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 83dd854248b..fedec52f05a 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