aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2023-08-23 20:31:02 +0000
committerOmar Polo <op@omarpolo.com>2023-08-23 20:31:02 +0000
commitae32f1aa8ebefe7b6b7f7f7883ee6e0346a73dbb (patch)
tree80410437d7b61ad6203ecd9a3aa2f197d187aec5 /configure
parent618b1d4dce6d4780943594cb278977b52001ab22 (diff)
don't leave HAVE_GETENTROPY undefined
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure b/configure
index cedf595..57f8ae9 100755
--- a/configure
+++ b/configure
@@ -315,6 +315,9 @@ fi
if [ ${HAVE_ARC4RANDOM} -eq 0 ]; then
runtest getentropy GETENTROPY || true
+else
+ # fake it
+ HAVE_GETENTROPY=1
fi
if [ ${HAVE_ARC4RANDOM} -eq 0 -a ${HAVE_GETENTROPY} -eq 1 ]; then