From 133118ca4db34e9b1cb0d9cf737773c46b939140 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Sat, 22 Nov 2014 12:32:11 -0800 Subject: [PATCH] Skip mlock/mprotect/explicit_bzero when using Emscripten --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index f73fe56b..2b9633a6 100644 --- a/configure.ac +++ b/configure.ac @@ -407,8 +407,9 @@ dnl Checks for functions and headers AS_IF([test "x$EMSCRIPTEN" = "x"],[ AC_CHECK_FUNCS([arc4random arc4random_buf]) + AC_CHECK_FUNCS([mlock mprotect explicit_bzero]) ]) -AC_CHECK_FUNCS([mlock mprotect explicit_bzero posix_memalign]) +AC_CHECK_FUNCS([posix_memalign]) AC_SUBST([LIBTOOL_EXTRA_FLAGS])