[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  

Still a lot of work remains for a working Solaris port due to the  
kqueue stuff, but here are some initial patches.


 > 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/ 
-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])


More information about the libdispatch-dev mailing list