diff options
author | Brian Lu <brian.lu@sun.com> | 2009-12-15 12:56:23 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-12-15 12:56:50 +0100 |
commit | f34607908367cce84fa9d8331c924135583359e6 (patch) | |
tree | 939d239616ab398afd4fe2837bf7ba7aeef84643 /source4/lib/tls | |
parent | 4deaa84ce4a425bfba4b2612d79cc6fa1e00cca5 (diff) | |
download | samba-f34607908367cce84fa9d8331c924135583359e6.tar.gz samba-f34607908367cce84fa9d8331c924135583359e6.tar.bz2 samba-f34607908367cce84fa9d8331c924135583359e6.zip |
s4:tls: fix the build on Solaris
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source4/lib/tls')
-rw-r--r-- | source4/lib/tls/config.m4 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/lib/tls/config.m4 b/source4/lib/tls/config.m4 index 709a095908..8a5b996638 100644 --- a/source4/lib/tls/config.m4 +++ b/source4/lib/tls/config.m4 @@ -41,5 +41,8 @@ if test x$use_gnutls = xyes; then AC_DEFINE(ENABLE_GNUTLS,1,[Whether we have gnutls support (SSL)]) AC_CHECK_HEADERS(gcrypt.h) AC_CHECK_LIB_EXT(gcrypt, GCRYPT_LIBS, gcry_control) + # On Solaris libgcrypt.so has a bug and seems to be not linked + # to libgpg-error.so, so we need to manually add them... + AC_CHECK_LIB_EXT(gpg-error, GCRYPT_LIBS, gpg_err_code_from_errno) SMB_EXT_LIB(GCRYPT, $GCRYPT_LIBS) fi |