about summary refs log tree commit diff
path: root/configure
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2024-04-16 12:57:52 +0000
committerLaurent Bercot <ska@appnovation.com>2024-04-16 12:57:52 +0000
commit825b80eaa311b0aec4c00614f38f3eb63949d5a7 (patch)
tree624f702487d9acdd3cc85060cfe2edc388cf7096 /configure
parentbfc53cfde4fdda343647678fcd21b38a44f2de08 (diff)
downloadskalibs-825b80eaa311b0aec4c00614f38f3eb63949d5a7.tar.gz
skalibs-825b80eaa311b0aec4c00614f38f3eb63949d5a7.tar.xz
skalibs-825b80eaa311b0aec4c00614f38f3eb63949d5a7.zip
Tentative support for old MacOS with no O_CLOEXEC
 Also add a prototype for gol, not finished yet.

Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index 8ebaf8d..74ffcc8 100755
--- a/configure
+++ b/configure
@@ -628,6 +628,7 @@ choose cl sopeercred 'SO_PEERCRED'
 choose cl getpeerucred 'getpeerucred()'
 choose cl ipv6 'IPv6 support' $socket_lib
 choose c msgdontwait 'MSG_DONTWAIT'
+choose c ocloexec 'O_CLOEXEC'
 choose c odirectory 'O_DIRECTORY'
 choose cl openat 'openat()'
 choose cl linkat 'linkat()'