Differences From Artifact [aca5876c18]:
- File
configure.ac
— part of check-in
[168b1e2e3b]
at
2020-07-11 19:06:01
on branch trunk
— configure: Check for vstmdb instead of fstmfdd
This brings the configure script back in sync with the forwarding code,
which moved to vstmdb as fstmfdd is unsupported by Clang's integrated
assembler. (user: js, size: 49163) [annotate] [blame] [check-ins using]
To Artifact [989ef7fcda]:
- File
configure.ac
— part of check-in
[c1fe4b2b77]
at
2020-07-12 09:49:35
on branch trunk
— Make of_random() a function
When arc4random() is unavailable, either random() or rand() is used and
both need to be seeded. If of_random() is a macro, it needs to be
(re)seeded every time, as it's unknown whether it has already been
seeded. As it is seeded with gettimeofday() due to the lack of a better
initial seed, this means every call returns the first state for the
current time, which is very predictable. random() and rand() are both
not cryptographic, but this should at least make it a little bit better
now. (user: js, size: 49014) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
897 898 899 900 901 902 903 | ]) AS_IF([test x"$enable_static" = x"yes" -o x"$enable_shared" = x"no"], [ AC_SUBST(ENCODINGS_A, "encodings.a") AC_SUBST(ENCODINGS_ENCODINGS_A, "encodings/encodings.a") ]) ]) | < < < | < < < | 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 | ]) AS_IF([test x"$enable_static" = x"yes" -o x"$enable_shared" = x"no"], [ AC_SUBST(ENCODINGS_A, "encodings.a") AC_SUBST(ENCODINGS_ENCODINGS_A, "encodings/encodings.a") ]) ]) AC_CHECK_FUNCS(arc4random random, break) AS_IF([test x"$host_os" != x"morphos"], [ AC_CHECK_LIB(dl, dlopen, LIBS="$LIBS -ldl") ]) AC_CHECK_HEADERS_ONCE(dlfcn.h) case "$host_os" in netbsd*) |
︙ | ︙ |