about summary refs log tree commit diff
path: root/configure
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2023-09-10 04:59:41 +0000
committerLaurent Bercot <ska@appnovation.com>2023-09-10 04:59:41 +0000
commit252e2ad869637ca3ef8690854a8fac784b869ec9 (patch)
tree4c5b015828fdfc70fcc920b858892688d5c6ce8b /configure
parent8ba811fb48d666a23d60a5ce3a947dcac7baf6ea (diff)
downloadskalibs-252e2ad869637ca3ef8690854a8fac784b869ec9.tar.gz
skalibs-252e2ad869637ca3ef8690854a8fac784b869ec9.tar.xz
skalibs-252e2ad869637ca3ef8690854a8fac784b869ec9.zip
Add POSIX_SPAWN_SETSID support to cspawn
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index c0ba5ac..748e70d 100755
--- a/configure
+++ b/configure
@@ -640,10 +640,11 @@ choose cl explicit_bzero 'explicit_bzero()'
 choose cl getrandom 'getrandom()'
 choose cl grndinsecure 'GRND_INSECURE'
 choose cl chroot 'chroot()'
+choose cl posixspawnsetsid 'POSIX_SPAWN_SETSID' ${spawn_lib}
 
 # Here are the evil irreducible run-time sysdeps.
 choose clr devurandom '/dev/urandom'
-choose clr posixspawnearlyreturn 'posix_spawn() returning early'
+choose clr posixspawnearlyreturn 'posix_spawn() incorrectly returning early' ${spawn_lib}
 
 
 # Finally, produce config.mak and config.h