[libdispatch-dev] Solaris portability, POSIX memalign checking in configure.ac - PATCH [1/6]

Paolo Bonzini bonzini at gnu.org
Fri Nov 6 10:56:38 PST 2009


> +AC_CHECK_FUNCS([pthread_key_init_np pthread_main_np mach_absolute_time
> malloc_create_zone sem_init posix_memalign])

Please instead add a src/shims/posix_memalign.h file and add

#ifndef HAVE_POSIX_MEMALIGN
#include "shims/posix_memalign.h"
#endif

to src/os_shims.h, this way your 2/6 patch becomes superfluous.

Paolo



More information about the libdispatch-dev mailing list