Handle platforms (like Darwin 9) that do not have posix_memalign

This commit is contained in:
Quentin Smith
2012-03-23 02:13:55 -04:00
parent 26fc88634d
commit 10332ec61f
2 changed files with 19 additions and 1 deletions
+1 -1
View File
@@ -113,7 +113,7 @@ AC_FUNC_FORK
AC_FUNC_MALLOC
AC_FUNC_MBRTOWC
AC_FUNC_REALLOC
AC_CHECK_FUNCS([gettimeofday setrlimit inet_ntoa iswprint memchr memset nl_langinfo setenv setlocale sigaction socket strchr strdup strerror strtol wcwidth])
AC_CHECK_FUNCS([gettimeofday setrlimit inet_ntoa iswprint memchr memset nl_langinfo posix_memalign setenv setlocale sigaction socket strchr strdup strerror strtol wcwidth])
AC_SEARCH_LIBS([clock_gettime], [rt], [AC_DEFINE([HAVE_CLOCK_GETTIME], [1], [Define if clock_gettime is available.])])