aboutsummaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4')
-rw-r--r--m4/check-os-options.m412
1 files changed, 9 insertions, 3 deletions
diff --git a/m4/check-os-options.m4 b/m4/check-os-options.m4
index bd38938..c73709d 100644
--- a/m4/check-os-options.m4
+++ b/m4/check-os-options.m4
@@ -61,9 +61,15 @@ char buf[1]; getentropy(buf, 1);
61 *freebsd*) 61 *freebsd*)
62 HOST_OS=freebsd 62 HOST_OS=freebsd
63 HOST_ABI=elf 63 HOST_ABI=elf
64 # fork detection missing, weak seed on failure 64 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
65 # https://svnweb.freebsd.org/base/head/lib/libc/gen/arc4random.c?revision=268642&view=markup 65#include <sys/param.h>
66 USE_BUILTIN_ARC4RANDOM=yes 66#if __FreeBSD_version < 1200000
67 undefined
68#endif
69 ]], [[]])],
70 [ USE_BUILTIN_ARC4RANDOM=no ],
71 [ USE_BUILTIN_ARC4RANDOM=yes ]
72 )
67 AC_SUBST([PROG_LDADD], ['-lthr']) 73 AC_SUBST([PROG_LDADD], ['-lthr'])
68 ;; 74 ;;
69 *hpux*) 75 *hpux*)