mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-28 04:37:13 +09:00
Check for the presence of a couple functions even in emscripten
This commit is contained in:
+3
-2
@@ -780,9 +780,10 @@ dnl Checks for functions and headers
|
||||
AC_FUNC_ALLOCA
|
||||
AS_IF([test "x$EMSCRIPTEN" = "x"],[
|
||||
AC_CHECK_FUNCS([arc4random arc4random_buf])
|
||||
AC_CHECK_FUNCS([mmap mlock madvise mprotect memset_s explicit_bzero explicit_memset nanosleep])
|
||||
AC_CHECK_FUNCS([mmap mlock madvise mprotect])
|
||||
])
|
||||
AC_CHECK_FUNCS([posix_memalign getpid])
|
||||
AC_CHECK_FUNCS([posix_memalign getpid memset_s explicit_bzero
|
||||
explicit_memset nanosleep])
|
||||
|
||||
AC_SUBST([LIBTOOL_EXTRA_FLAGS])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user