1 # This is every experimental
2 # We should really add configure checks
3 # to verify the installed heimdal libraries
4 # are good enough for our usage!!!
6 HEIMDAL_KRB5_LIBS="-lkrb5 -lcom_err"
8 HEIMDAL_KRB5_CPPFLAGS=""
9 HEIMDAL_KRB5_LDFLAGS=""
10 SMB_EXT_LIB(HEIMDAL_KRB5,
11 [${HEIMDAL_KRB5_LIBS}],
12 [${HEIMDAL_KRB5_CFLAGS}],
13 [${HEIMDAL_KRB5_CPPFLAGS}],
14 [${HEIMDAL_KRB5_LDFLAGS}])
15 SMB_ENABLE(HEIMDAL_KRB5,YES)
16 AC_DEFINE(HAVE_KRB5,1,[Whether kerberos is available])
18 AC_DEFINE(HAVE_COM_ERR,1,[Whether com_err is available])
21 HEIMDAL_GSSAPI_LIBS="-lgssapi"
22 HEIMDAL_GSSAPI_CFLAGS=""
23 HEIMDAL_GSSAPI_CPPFLAGS=""
24 HEIMDAL_GSSAPI_LDFLAGS=""
25 SMB_EXT_LIB(HEIMDAL_GSSAPI,
26 [${HEIMDAL_GSSAPI_LIBS}],
27 [${HEIMDAL_GSSAPI_CFLAGS}],
28 [${HEIMDAL_GSSAPI_CPPFLAGS}],
29 [${HEIMDAL_GSSAPI_LDFLAGS}])
30 SMB_ENABLE(HEIMDAL_GSSAPI,YES)
31 AC_DEFINE(HAVE_GSSAPI,1,[Whether GSSAPI is available])
34 HEIMDAL_HDB_LIBS="-lhdb"
36 HEIMDAL_HDB_CPPFLAGS=""
37 HEIMDAL_HDB_LDFLAGS=""
38 SMB_EXT_LIB(HEIMDAL_HDB,
39 [${HEIMDAL_HDB_LIBS}],
40 [${HEIMDAL_HDB_CFLAGS}],
41 [${HEIMDAL_HDB_CPPFLAGS}],
42 [${HEIMDAL_HDB_LDFLAGS}])
43 SMB_ENABLE(HEIMDAL_HDB,YES)
45 HEIMDAL_KDC_LIBS="-lkdc"
47 HEIMDAL_KDC_CPPFLAGS=""
48 HEIMDAL_KDC_LDFLAGS=""
49 SMB_EXT_LIB(HEIMDAL_KDC,
50 [${HEIMDAL_KDC_LIBS}],
51 [${HEIMDAL_KDC_CFLAGS}],
52 [${HEIMDAL_KDC_CPPFLAGS}],
53 [${HEIMDAL_KDC_LDFLAGS}])
54 SMB_ENABLE(HEIMDAL_KDC,YES)