FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-125698: Replace EXEEXT with EXE_SUFFIX by erlend-aasland · Pull Request #125699 · python/cpython · GitHub

Repository navigation

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .ac  (1) .in  (1) No extension  (1) All 3 file types selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
2 changes: 1 addition & 1 deletion Makefile.pre.in
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ EXPORTSYMS= @EXPORTSYMS@
EXPORTSFROM= @EXPORTSFROM@

# Executable suffix (.exe on Windows and Mac OS X)
EXE= @EXEEXT@
EXE= @EXE_SUFFIX@
BUILDEXE= @BUILDEXEEXT@

# Name of the patch file to apply for app store compliance
Expand Down
22 changes: 11 additions & 11 deletions configure

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 10 additions & 10 deletions configure.ac
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -1325,19 +1325,19 @@ AC_ARG_WITH([suffix],
[AS_HELP_STRING([--with-suffix=SUFFIX], [set executable suffix to SUFFIX (default is empty, yes is mapped to '.exe')])],
[
AS_CASE([$with_suffix],
[no], [EXEEXT=],
[yes], [EXEEXT=.exe],
[EXEEXT=$with_suffix]
[no], [EXE_SUFFIX=],
[yes], [EXE_SUFFIX=.exe],
[EXE_SUFFIX=$with_suffix]
)
], [
AS_CASE([$ac_sys_system/$ac_sys_emscripten_target],
[Emscripten/browser*], [EXEEXT=.js],
[Emscripten/node*], [EXEEXT=.js],
[WASI/*], [EXEEXT=.wasm],
[EXEEXT=]
[Emscripten/browser*], [EXE_SUFFIX=.js],
[Emscripten/node*], [EXE_SUFFIX=.js],
[WASI/*], [EXE_SUFFIX=.wasm],
[EXE_SUFFIX=]
)
])
AC_MSG_RESULT([$EXEEXT])
AC_MSG_RESULT([$EXE_SUFFIX])

# Test whether we're running on a non-case-sensitive system, in which
# case we give a warning if no ext is given
Expand All @@ -1347,13 +1347,13 @@ if test ! -d CaseSensitiveTestDir; then
mkdir CaseSensitiveTestDir
fi

if test -d casesensitivetestdir && test -z "$EXEEXT"
if test -d casesensitivetestdir && test -z "$EXE_SUFFIX"
then
AC_MSG_RESULT([yes])
BUILDEXEEXT=.exe
else
AC_MSG_RESULT([no])
BUILDEXEEXT=$EXEEXT
BUILDEXEEXT=$EXE_SUFFIX
fi
rmdir CaseSensitiveTestDir

Expand Down

Back | FazBrowse Home | New Git URL