mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 01:14:53 +01:00
31c7001c99
Add checks to "configure" to see whether _POSIX_PTHREAD_SEMANTICS needs to be defined to get the right number of arguments in the prototypes for getpwuid_r(). Solaris' default implementation conforms to POSIX.1c Draft 6, rather than the final POSIX.1c spec. The standards-compliant version can be used by defining _POSIX_PTHREAD_SEMANTICS. This change also adds the file "compat/check_getpwuid.c", which configure uses to perform its check, and modifies compat/compat.h to define _POSIX_PTHREAD_SEMANTICS if configure detected it was needed. Signed-off-by: Vladimir Marek <vlmarek@volny.cz> |
||
---|---|---|
.. | ||
check_getpwuid.c | ||
compat.h | ||
function-attributes.h | ||
getdelim.c | ||
getline.c | ||
have_getline.c | ||
have_strcasestr.c | ||
Makefile | ||
Makefile.local | ||
README | ||
strcasestr.c |
notmuch/compat This directory consists of three things: 1. Small programs used by the notmuch configure script to test for the availability of certain system features, (library functions, etc.). For example: have_getline.c 2. Compatibility implementations of those system features for systems that don't provide their own versions. For example: getline.c The compilation of these files is made conditional on the output of the test programs from [1]. 3. Macro definitions abstracting compiler differences (e.g. function attributes). For example: function-attributes.h