Emscripten (http://kripken.github.io/emscripten-site/index.html) is a popular tool for compiling code to asm.js or web assembly to target web browser environments. In addition to the tool chain, it provides libc functionality as well as emulating traditional OS services (e.g. a file system). Since Emscripten plays the role of the OS in these setups, common triples used here are `asmjs-unknown-emscripten` and `wasm32-unknown-emscripten`, which autotools currently fails to recognize. Add config.sub support for *-emscripten to allow configure scripts to recognize these triples.
Signed-Off-By: Keno Fischer <k...@juliacomputing.com> --- ChangeLog | 4 ++++ config.sub | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ab519b9..6518bd9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2018-12-30 Keno Fischer <k...@juliacomputing.com> + + * config.sub: (*-emscripten) Recognize + 2018-12-21 Ben Elliston <b...@gnu.org> Revert 2018-07-18 change: diff --git a/config.sub b/config.sub index a5081b8..428ffb0 100755 --- a/config.sub +++ b/config.sub @@ -1361,7 +1361,7 @@ case $os in | powermax* | dnix* | nx6 | nx7 | sei* | dragonfly* \ | skyos* | haiku* | rdos* | toppers* | drops* | es* \ | onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \ - | midnightbsd* | amdhsa* | unleashed*) + | midnightbsd* | amdhsa* | unleashed* | emscripten*) # Remember, each alternative MUST END IN *, to match a version number. ;; qnx*) -- 2.8.1 _______________________________________________ config-patches mailing list config-patches@gnu.org https://lists.gnu.org/mailman/listinfo/config-patches