mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
d9ad17f945
This should only be used for testing and when you're
absolutly sure the installed heimdal libraries
support the features we need.
(E.g. heimdal-1.2 or lower should NOT work)
metze
(This used to be commit 66b76b018d
)
55 lines
1.4 KiB
Plaintext
55 lines
1.4 KiB
Plaintext
# This is every experimental
|
|
# We should really add configure checks
|
|
# to verify the installed heimdal libraries
|
|
# are good enough for our usage!!!
|
|
|
|
HEIMDAL_KRB5_LIBS="-lkrb5 -lcom_err"
|
|
HEIMDAL_KRB5_CFLAGS=""
|
|
HEIMDAL_KRB5_CPPFLAGS=""
|
|
HEIMDAL_KRB5_LDFLAGS=""
|
|
SMB_EXT_LIB(HEIMDAL_KRB5,
|
|
[${HEIMDAL_KRB5_LIBS}],
|
|
[${HEIMDAL_KRB5_CFLAGS}],
|
|
[${HEIMDAL_KRB5_CPPFLAGS}],
|
|
[${HEIMDAL_KRB5_LDFLAGS}])
|
|
SMB_ENABLE(HEIMDAL_KRB5)
|
|
AC_DEFINE(HAVE_KRB5,1,[Whether kerberos is available])
|
|
HAVE_KRB5=YES
|
|
AC_DEFINE(HAVE_COM_ERR,1,[Whether com_err is available])
|
|
HAVE_COM_ERR=YES
|
|
|
|
HEIMDAL_GSSAPI_LIBS="-lgssapi"
|
|
HEIMDAL_GSSAPI_CFLAGS=""
|
|
HEIMDAL_GSSAPI_CPPFLAGS=""
|
|
HEIMDAL_GSSAPI_LDFLAGS=""
|
|
SMB_EXT_LIB(HEIMDAL_GSSAPI,
|
|
[${HEIMDAL_GSSAPI_LIBS}],
|
|
[${HEIMDAL_GSSAPI_CFLAGS}],
|
|
[${HEIMDAL_GSSAPI_CPPFLAGS}],
|
|
[${HEIMDAL_GSSAPI_LDFLAGS}])
|
|
SMB_ENABLE(HEIMDAL_GSSAPI)
|
|
AC_DEFINE(HAVE_GSSAPI,1,[Whether GSSAPI is available])
|
|
HAVE_GSSAPI=YES
|
|
|
|
HEIMDAL_HDB_LIBS="-lhdb"
|
|
HEIMDAL_HDB_CFLAGS=""
|
|
HEIMDAL_HDB_CPPFLAGS=""
|
|
HEIMDAL_HDB_LDFLAGS=""
|
|
SMB_EXT_LIB(HEIMDAL_HDB,
|
|
[${HEIMDAL_HDB_LIBS}],
|
|
[${HEIMDAL_HDB_CFLAGS}],
|
|
[${HEIMDAL_HDB_CPPFLAGS}],
|
|
[${HEIMDAL_HDB_LDFLAGS}])
|
|
SMB_ENABLE(HEIMDAL_HDB)
|
|
|
|
HEIMDAL_KDC_LIBS="-lkdc"
|
|
HEIMDAL_KDC_CFLAGS=""
|
|
HEIMDAL_KDC_CPPFLAGS=""
|
|
HEIMDAL_KDC_LDFLAGS=""
|
|
SMB_EXT_LIB(HEIMDAL_KDC,
|
|
[${HEIMDAL_KDC_LIBS}],
|
|
[${HEIMDAL_KDC_CFLAGS}],
|
|
[${HEIMDAL_KDC_CPPFLAGS}],
|
|
[${HEIMDAL_KDC_LDFLAGS}])
|
|
SMB_ENABLE(HEIMDAL_KDC)
|