diff --git a/configure.ac b/configure.ac index c2f25673..4544202e 100644 --- a/configure.ac +++ b/configure.ac @@ -284,6 +284,11 @@ AC_ARG_ENABLE(asm, enable_asm="yes" ]) +AS_IF([test "x$EMSCRIPTEN" != "x"],[ + enable_asm="no" + AC_MSG_WARN([compiling to javascript - asm implementations disabled]) +]) + AC_ARG_ENABLE(ssp, [AS_HELP_STRING(--disable-ssp,Don't compile with -fstack-protector)], [AS_IF([test "x$enableval" = "xno"], [