Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jean-Baptiste Kempf
libaacs
Commits
5e3c2724
Commit
5e3c2724
authored
Feb 24, 2013
by
npzacs
Browse files
configure: updated pthread test
parent
5052152c
Changes
1
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
5e3c2724
...
...
@@ -121,12 +121,15 @@ AC_CHECK_FUNC([snprintf],, [AC_MSG_ERROR($function_not_found)])
AC_CHECK_FUNC([realpath],[AC_DEFINE([HAVE_REALPATH],[1],[realpath])])
dnl required libraries
dnl 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
AS_IF([test "${SYS}" != "mingw32"], [
AC_CHECK_HEADERS([pthread.h], ,
[AC_MSG_ERROR([pthread required])])
AC_SEARCH_LIBS([pthread_create], [pthread], ,
[AC_MSG_ERROR([pthread required])])
])
dnl gcrypt check
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment