Skip to content

Commit e924bb6

Browse files
gh-125698: Replace EXEEXT with EXE_SUFFIX (#125699)
1 parent 14cafe1 commit e924bb6

File tree

3 files changed

+22
-22
lines changed

3 files changed

+22
-22
lines changed

Makefile.pre.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ EXPORTSYMS= @EXPORTSYMS@
176176
EXPORTSFROM= @EXPORTSFROM@
177177

178178
# Executable suffix (.exe on Windows and Mac OS X)
179-
EXE= @EXEEXT@
179+
EXE= @EXE_SUFFIX@
180180
BUILDEXE= @BUILDEXEEXT@
181181

182182
# Name of the patch file to apply for app store compliance

configure

+11-11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configure.ac

+10-10
Original file line numberDiff line numberDiff line change
@@ -1325,19 +1325,19 @@ AC_ARG_WITH([suffix],
13251325
[AS_HELP_STRING([--with-suffix=SUFFIX], [set executable suffix to SUFFIX (default is empty, yes is mapped to '.exe')])],
13261326
[
13271327
AS_CASE([$with_suffix],
1328-
[no], [EXEEXT=],
1329-
[yes], [EXEEXT=.exe],
1330-
[EXEEXT=$with_suffix]
1328+
[no], [EXE_SUFFIX=],
1329+
[yes], [EXE_SUFFIX=.exe],
1330+
[EXE_SUFFIX=$with_suffix]
13311331
)
13321332
], [
13331333
AS_CASE([$ac_sys_system/$ac_sys_emscripten_target],
1334-
[Emscripten/browser*], [EXEEXT=.js],
1335-
[Emscripten/node*], [EXEEXT=.js],
1336-
[WASI/*], [EXEEXT=.wasm],
1337-
[EXEEXT=]
1334+
[Emscripten/browser*], [EXE_SUFFIX=.js],
1335+
[Emscripten/node*], [EXE_SUFFIX=.js],
1336+
[WASI/*], [EXE_SUFFIX=.wasm],
1337+
[EXE_SUFFIX=]
13381338
)
13391339
])
1340-
AC_MSG_RESULT([$EXEEXT])
1340+
AC_MSG_RESULT([$EXE_SUFFIX])
13411341

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

1350-
if test -d casesensitivetestdir && test -z "$EXEEXT"
1350+
if test -d casesensitivetestdir && test -z "$EXE_SUFFIX"
13511351
then
13521352
AC_MSG_RESULT([yes])
13531353
BUILDEXEEXT=.exe
13541354
else
13551355
AC_MSG_RESULT([no])
1356-
BUILDEXEEXT=$EXEEXT
1356+
BUILDEXEEXT=$EXE_SUFFIX
13571357
fi
13581358
rmdir CaseSensitiveTestDir
13591359

0 commit comments

Comments
 (0)