aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
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