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
a598e352
Commit
a598e352
authored
Feb 17, 2015
by
npzacs
Browse files
configure.ac: pthread not required with gcrypt >= 1.6.0
parent
272e6611
Changes
1
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
a598e352
...
...
@@ -109,16 +109,20 @@ AC_CHECK_FUNC([snprintf],, [AC_MSG_ERROR($function_not_found)])
dnl required libraries
dnl pthread check (not on win32)
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
AM_PATH_LIBGCRYPT([1.1.94],, AC_MSG_ERROR([libgcrypt not found on system]))
AM_PATH_LIBGCRYPT([1.6.0], [have_gcrypt=yes])
AS_IF([test "x$have_gcrypt" != xyes],[
dnl older gcrypt requires pthread
AM_PATH_LIBGCRYPT([1.1.94],,
AC_MSG_ERROR([libgcrypt not found on system]))
dnl pthread check (not on win32)
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 use re-entrant version of gcrypt_error() from gpg-error
AC_FUNC_STRERROR_R
...
...
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