libaacs | branch: refs/tags/0.3.0 | Ano Nymous <[email protected]> | Wed Jun 22 15:22:13 2011 +0200| [9acda993123f0327e7c032e023ed8934bd8987c0] | committer: Ano Nymous
Fix pthread detection on Win32 > http://git.videolan.org/gitweb.cgi/libaacs.git/?a=commit;h=9acda993123f0327e7c032e023ed8934bd8987c0 --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index bd84c34..34bfe76 100644 --- a/configure.ac +++ b/configure.ac @@ -68,7 +68,7 @@ AC_TYPE_SIGNAL # required headers AC_CHECK_HEADERS([stdarg.h sys/types.h dirent.h errno.h libgen.h malloc.h]) AC_CHECK_HEADERS([stdlib.h mntent.h linux/cdrom.h inttypes.h]) -AC_CHECK_HEADERS([sys/time.h time.h pthread.h sys/select.h]) +AC_CHECK_HEADERS([sys/time.h time.h sys/select.h]) # required structures AC_STRUCT_DIRENT_D_TYPE @@ -81,6 +81,7 @@ AC_CHECK_FUNC([snprintf],, [AC_MSG_ERROR($function_not_found)]) # pthread check (not on win32) if test "${SYS}" != "mingw32" ; then + AC_CHECK_HEADERS([pthread.h]) AC_CHECK_LIB([pthread], [pthread_mutex_init],, [AC_MSG_ERROR($library_not_found)]) fi _______________________________________________ libaacs-devel mailing list [email protected] http://mailman.videolan.org/listinfo/libaacs-devel
