aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2026-05-11 09:10:11 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2026-05-11 09:10:11 +0000
commitc5d6bea6d9f98a593890f9694ef1575d744e5a32 (patch)
treef5611169470b25f621cda8073d66dec672d1e46f /configure
parentb95dc9e9c6694df5d7925b1ba806b4e4a95d7db9 (diff)
downloadskalibs-c5d6bea6d9f98a593890f9694ef1575d744e5a32.tar.gz
Prepare for 2.15.0.1; add selectshorttimeout sysdeps (yay MacOS)
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 4 insertions, 2 deletions
diff --git a/configure b/configure
index 53d4aa7..7105869 100755
--- a/configure
+++ b/configure
@@ -52,9 +52,10 @@ Sysdeps autodetection override:
--with-sysdep-K=V assume sysdep K has the value V [autodetected]
List of mandatory sysdeps to provide by hand 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
+ devurandom (yes|no): =yes if the target has a working /dev/urandom
+ posixspawnearlyreturn (yes|no): =yes if the target has an old glibc or otherwise bad posix_spawn
procselfexe (path|none): =path if you can get the executable name via readlink(path)
+ selectshorttimeout (yes|no): =yes if the target's select() fails on very long timeouts (MacOS, old OpenBSD)
EOF
exit 0
}
@@ -733,6 +734,7 @@ choose cl pthreadmutexclocklock 'pthread_mutex_clocklock()' $pthread_lib
choose clr devurandom '/dev/urandom'
choose clr posixspawnearlyreturn 'posix_spawn() return early' $spawn_lib
choosevalue procselfexe '/proc/self/exe' /proc/self/exe /proc/curproc/exe /proc/curproc/file /proc/self/path/a.out
+choose clr selectshorttimeout 'a select() that fails on long timeouts'
# Finally, produce config.mak and config.h