Compile expat even without entropy source when using configure

There is no other choice but to continue without a high quality entropy
source if it's just not available on the current system as determined by
configure.

This problem was fixed in Expat fd9581a34e5665958939e3db408893fd4fac7398
which is not yet included in our version, and the (hopefully soon to be
implemented) real solution is to just upgrade Expat version, but for now
at least allow building without any extra hacks such as putting
XML_POOR_ENTROPY in CPPFLAGS.
This commit is contained in:
Vadim Zeitlin 2017-11-10 17:39:38 +01:00
parent 66c644fe20
commit 99be9a25f2

View File

@ -54,7 +54,7 @@
#if !defined(HAVE_GETRANDOM) && !defined(HAVE_SYSCALL_GETRANDOM) \
&& !defined(HAVE_ARC4RANDOM_BUF) && !defined(_WIN32) \
&& !defined(XML_POOR_ENTROPY)
&& !defined(XML_POOR_ENTROPY) && !defined(HAVE_EXPAT_CONFIG_H)
# error \
You do not have support for any sources of high quality entropy \
enabled. For end user security, that is probably not what you want. \