1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-22 22:04:08 +03:00

r702: fix krb5 linking

metze
(This used to be commit d0145cec9f757d8867d54b1019a3060995a95072)
This commit is contained in:
Stefan Metzmacher 2004-05-13 20:14:05 +00:00 committed by Gerald (Jerry) Carter
parent 4f0356d9e0
commit 90cde0acd1
2 changed files with 7 additions and 1 deletions

View File

@ -427,6 +427,7 @@ if test x"$with_ads_support" != x"no"; then
AC_DEFINE(WITH_ADS,1,[Whether to include Active Directory support])
AC_MSG_CHECKING(whether Active Directory and KRB5 support is used)
AC_MSG_RESULT(yes)
with_ads_support=yes
SMB_EXT_LIB_ENABLE(KRB5,YES)
else
if test x"$with_ads_support" = x"yes"; then

View File

@ -1,5 +1,10 @@
dnl # LIBCLI subsystem
LIBCLI_RAW_LIBS=
if test x"$with_ads_support" = x"yes"; then
LIBCLI_RAW_LIBS="KRB5"
fi
SMB_SUBSYSTEM(LIBCLI_RAW,[],
[libcli/raw/rawfile.o
libcli/raw/smb_signing.o
@ -23,7 +28,7 @@ SMB_SUBSYSTEM(LIBCLI_RAW,[],
libcli/raw/rawioctl.o
libcli/raw/rawacl.o
libcli/raw/rawdate.o],
[KRB5])
[${LIBCLI_RAW_LIBS}])
SMB_SUBSYSTEM(LIBCLI_UTILS,[],
[libcli/util/asn1.o