diff options
author | Jeremy Allison <jra@samba.org> | 2009-02-24 15:27:47 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2009-02-24 15:27:47 -0800 |
commit | a028e9640b54554f4ae036f46cc16ae73f00884e (patch) | |
tree | 5a5fa7c31320ea021867e55953d936c2632f8bb0 /source4 | |
parent | 5ffa03dcd879e59f3e810fbb8833cb9a3e9afcca (diff) | |
download | samba-a028e9640b54554f4ae036f46cc16ae73f00884e.tar.gz samba-a028e9640b54554f4ae036f46cc16ae73f00884e.tar.bz2 samba-a028e9640b54554f4ae036f46cc16ae73f00884e.zip |
Make S4 build on OpenSolaris.
Jeremy.
Diffstat (limited to 'source4')
-rw-r--r-- | source4/lib/tls/config.m4 | 2 | ||||
-rw-r--r-- | source4/lib/tls/config.mk | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/source4/lib/tls/config.m4 b/source4/lib/tls/config.m4 index 0bafc5ddf1..c46a009e3d 100644 --- a/source4/lib/tls/config.m4 +++ b/source4/lib/tls/config.m4 @@ -40,4 +40,6 @@ if test x$use_gnutls = xyes; then AC_CHECK_TYPES([gnutls_datum_t],,,[#include "gnutls/gnutls.h"]) 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) + SMB_EXT_LIB(GCRYPT, $GCRYPT_LIBS) fi diff --git a/source4/lib/tls/config.mk b/source4/lib/tls/config.mk index ff1eedfd5d..0e1978cc1b 100644 --- a/source4/lib/tls/config.mk +++ b/source4/lib/tls/config.mk @@ -1,5 +1,5 @@ [SUBSYSTEM::LIBTLS] PUBLIC_DEPENDENCIES = \ - LIBTALLOC GNUTLS LIBSAMBA-HOSTCONFIG samba_socket + LIBTALLOC GNUTLS GCRYPT LIBSAMBA-HOSTCONFIG samba_socket LIBTLS_OBJ_FILES = $(addprefix $(libtlssrcdir)/, tls.o tlscert.o) |