Skip mlock/mprotect/explicit_bzero when using Emscripten
This commit is contained in:
parent
cd2a7019f1
commit
133118ca4d
@ -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])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user