From c8a44ba02e59e6e404a33ad949ae7682d6c74e80 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Sun, 7 Jul 2013 21:33:41 -0700 Subject: [PATCH] Disable asm implementations when compiling to javascript with emscripten. --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) 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"], [