summaryrefslogtreecommitdiff
path: root/m4/ghc_convert_os.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/ghc_convert_os.m4')
-rw-r--r--m4/ghc_convert_os.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/m4/ghc_convert_os.m4 b/m4/ghc_convert_os.m4
index b104549b77..885ca24848 100644
--- a/m4/ghc_convert_os.m4
+++ b/m4/ghc_convert_os.m4
@@ -49,6 +49,9 @@ AC_DEFUN([GHC_CONVERT_OS],[
wasi)
$3="wasi"
;;
+ ghcjs*)
+ $3="ghcjs"
+ ;;
*)
echo "Unknown OS $1"
exit 1