From c5d6bea6d9f98a593890f9694ef1575d744e5a32 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Mon, 11 May 2026 09:10:11 +0000 Subject: Prepare for 2.15.0.1; add selectshorttimeout sysdeps (yay MacOS) --- configure | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'configure') 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 -- cgit v1.3.1