7adbfb1721413437112d015845491a16ade38ff7
[jelmer/samba4-debian.git] / source / 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 ###############################
14
15 ###############################
16 # start SMB_EXT_LIB_PAM
17 # check for security/pam_appl.h and -lpam
18 AC_CHECK_HEADERS(security/pam_appl.h)
19 AC_CHECK_LIB_EXT(pam, PAM_LIBS, pam_start)
20 if test x"$ac_cv_header_security_pam_appl_h" = x"yes" -a x"$ac_cv_lib_ext_pam_pam_start" = x"yes";then
21         SMB_EXT_LIB_ENABLE(PAM,YES)
22 fi
23 SMB_EXT_LIB(PAM, $PAM_LIBS)
24 # end SMB_EXT_LIB_PAM
25 ###############################