summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2023-06-28 21:27:29 +0000
committerLaurent Bercot <ska@appnovation.com>2023-06-28 21:27:29 +0000
commit28e09b5eb76919122f8baf57899154b3dd5fdaa0 (patch)
tree21559ec98d7f0f876fa0e2a5115744e396fd68d0 /configure
parentd64a3751ca805c08bfda6a330d73a09e87e993c0 (diff)
downloadskalibs-28e09b5eb76919122f8baf57899154b3dd5fdaa0.tar.xz
Add workaround for bad QoI posix_spawn()
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 5 insertions, 2 deletions
diff --git a/configure b/configure
index 95b92f0..1e0311f 100755
--- a/configure
+++ b/configure
@@ -47,8 +47,10 @@ $package options:
Sysdeps autodetection override:
--with-sysdep-K=V assume sysdep K has the value V [autodetected]
-List of mandatory K for cross-compiling: devurandom (V=yes|no)
-
+
+List of mandatory sysdeps for cross-compiling:
+ devurandom (yes|no): =yes if you have a working /dev/urandom
+ posixspawnearlyreturn (yes|no): =yes if you have an old glibc or otherwise bad posix_spawn
EOF
exit 0
}
@@ -641,6 +643,7 @@ choose cl chroot 'chroot()'
# Here are the evil irreducible run-time sysdeps.
choose clr devurandom '/dev/urandom'
+choose clr posixspawnearlyreturn 'posix_spawn() returning early'
# Finally, produce config.mak and config.h