Skip mlock/mprotect/explicit_bzero when using Emscripten

This commit is contained in:
Frank Denis 2014-11-22 12:32:11 -08:00
parent cd2a7019f1
commit 133118ca4d

View File

@ -407,8 +407,9 @@ dnl Checks for functions and headers
AS_IF([test "x$EMSCRIPTEN" = "x"],[ AS_IF([test "x$EMSCRIPTEN" = "x"],[
AC_CHECK_FUNCS([arc4random arc4random_buf]) 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]) AC_SUBST([LIBTOOL_EXTRA_FLAGS])