057f193179de59623fe67002376744c782797eb0
[bbaumbach/samba-autobuild/.git] / source4 / web_server / config.m4
1 AC_CHECK_HEADERS(setjmp.h)
2
3 ###############################
4 # start SMB_EXT_LIB_GNUTLS
5 # check for gnutls/gnutls.h and -lgnutls
6 AC_CHECK_HEADERS(gnutls/gnutls.h)
7 AC_CHECK_LIB_EXT(gnutls, GNUTLS_LIBS, gnutls_global_init)
8 if test x"$ac_cv_header_gnutls_gnutls_h" = x"yes" -a x"$ac_cv_lib_ext_gnutls_gnutls_global_init" = x"yes";then
9         SMB_EXT_LIB_ENABLE(GNUTLS,YES)
10 fi
11 SMB_EXT_LIB(GNUTLS, $GNUTLS_LIBS)
12 # end SMB_EXT_LIB_GNUTLS
13 ###############################