diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-05-27 11:57:14 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:17:06 -0500 |
commit | ebb0b35242f5c2967afdba9e746679bc87c5b745 (patch) | |
tree | 9ebe0df98f2ab83dc595c84015879400b56184c2 /source4/web_server/config.m4 | |
parent | 631f9782a6f499b14aad035f1eee5b2aab18878c (diff) | |
download | samba-ebb0b35242f5c2967afdba9e746679bc87c5b745.tar.gz samba-ebb0b35242f5c2967afdba9e746679bc87c5b745.tar.bz2 samba-ebb0b35242f5c2967afdba9e746679bc87c5b745.zip |
r7013: added tls support to the builtin web server. It auto-detects if the client
is using tls by looking at the first byte on the connection. This allows
both https and http services to be on the same port
(This used to be commit 6369dfb6585ce4d4e3028c557395f2d73c290c92)
Diffstat (limited to 'source4/web_server/config.m4')
-rw-r--r-- | source4/web_server/config.m4 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/source4/web_server/config.m4 b/source4/web_server/config.m4 index 4d8952b775..057f193179 100644 --- a/source4/web_server/config.m4 +++ b/source4/web_server/config.m4 @@ -1 +1,13 @@ AC_CHECK_HEADERS(setjmp.h) + +############################### +# start SMB_EXT_LIB_GNUTLS +# check for gnutls/gnutls.h and -lgnutls +AC_CHECK_HEADERS(gnutls/gnutls.h) +AC_CHECK_LIB_EXT(gnutls, GNUTLS_LIBS, gnutls_global_init) +if test x"$ac_cv_header_gnutls_gnutls_h" = x"yes" -a x"$ac_cv_lib_ext_gnutls_gnutls_global_init" = x"yes";then + SMB_EXT_LIB_ENABLE(GNUTLS,YES) +fi +SMB_EXT_LIB(GNUTLS, $GNUTLS_LIBS) +# end SMB_EXT_LIB_GNUTLS +############################### |