[Git][ghc/ghc][wip/js-staging] Fix EMSDK configure condition

Josh Meredith (@JoshMeredith) gitlab at gitlab.haskell.org
Tue Aug 9 11:23:51 UTC 2022



Josh Meredith pushed to branch wip/js-staging at Glasgow Haskell Compiler / GHC


Commits:
b39b3262 by Josh Meredith at 2022-08-09T11:23:42+00:00
Fix EMSDK configure condition

- - - - -


1 changed file:

- configure.ac


Changes:

=====================================
configure.ac
=====================================
@@ -351,9 +351,12 @@ then
 
     AC_ARG_VAR(EMSDK,[Use as the full path to Emscripten. [default=autodetect]])
     AC_ARG_VAR(EMSDK_LLVM,[Use as the full path to Emscripten LLVM. [default=autodetect]])
+    AC_ARG_VAR(EMSDK_BIN,[Use as the full path to Emscripten binary folder. [default=autodetect]])
 
     if test "$EMSDK" != "" ; then
         echo "Using emsdk: $EMSDK"
+    elif test "$EMSDK_LLVM" != "" && "$EMSDK_BIN" != "" ; then
+        echo "Using manually defined emsdk LLVM and bin."
     else
         echo -e "Error: Could not find Emscripten SDK.\nCheck the EMSDK environment variable."
         exit 1



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/b39b3262ab0e37bfadebf8dd58ba367350e71cfa

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/b39b3262ab0e37bfadebf8dd58ba367350e71cfa
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20220809/7148cd13/attachment-0001.html>


More information about the ghc-commits mailing list