Disable asm implementations when compiling to javascript with emscripten.

This commit is contained in:
Frank Denis 2013-07-07 21:33:41 -07:00
parent f66ab14d7f
commit c8a44ba02e

View File

@ -284,6 +284,11 @@ AC_ARG_ENABLE(asm,
enable_asm="yes" 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, AC_ARG_ENABLE(ssp,
[AS_HELP_STRING(--disable-ssp,Don't compile with -fstack-protector)], [AS_HELP_STRING(--disable-ssp,Don't compile with -fstack-protector)],
[AS_IF([test "x$enableval" = "xno"], [ [AS_IF([test "x$enableval" = "xno"], [