[libdispatch-dev] Solaris portability, POSIX memalign checking in configure.ac - PATCH [1/6]
Joakim Johansson
jocke at tbricks.com
Fri Nov 6 07:00:56 PST 2009
Need to check whether posix_memalign exists on the target system
(there is a patch for a future Solaris version to add it, so I'd
rather not check for the Solaris platform, but rather for feature
existence).
Still a lot of work remains for a working Solaris port due to the
kqueue stuff, but here are some initial patches.
Joakim
-----------------------------------------------
> svn diff configure.ac
Index: configure.ac
===================================================================
--- configure.ac (revision 140)
+++ configure.ac (working copy)
@@ -184,7 +198,7 @@
AC_CHECK_DECLS([FD_COPY], [], [], [[#include <sys/select.h>]])
AC_CHECK_DECLS([SIGEMT], [], [], [[#include <signal.h>]])
AC_CHECK_DECLS([VQ_UPDATE, VQ_VERYLOWDISK], [], [], [[#include <sys/
mount.h>]])
-AC_CHECK_FUNCS([pthread_key_init_np pthread_main_np
mach_absolute_time malloc_create_zone])
+AC_CHECK_FUNCS([pthread_key_init_np pthread_main_np
mach_absolute_time malloc_create_zone sem_init posix_memalign])
AC_CHECK_DECLS([POSIX_SPAWN_START_SUSPENDED],
[have_posix_spawn_start_suspended=true],
More information about the libdispatch-dev
mailing list