summaryrefslogtreecommitdiff
path: root/source4/libcli
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-05-13 20:14:05 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:53:43 -0500
commit90cde0acd1544b544a1e5f3fb396ae8c3229b23d (patch)
treee81fb83c4e56c30f50712c033175ebd46dd1ccdc /source4/libcli
parent4f0356d9e0daae0be50b089912226a5d472aaeaf (diff)
downloadsamba-90cde0acd1544b544a1e5f3fb396ae8c3229b23d.tar.gz
samba-90cde0acd1544b544a1e5f3fb396ae8c3229b23d.tar.bz2
samba-90cde0acd1544b544a1e5f3fb396ae8c3229b23d.zip
r702: fix krb5 linking
metze (This used to be commit d0145cec9f757d8867d54b1019a3060995a95072)
Diffstat (limited to 'source4/libcli')
-rw-r--r--source4/libcli/config.m47
1 files changed, 6 insertions, 1 deletions
diff --git a/source4/libcli/config.m4 b/source4/libcli/config.m4
index 7331223487..e24fd1ba9e 100644
--- a/source4/libcli/config.m4
+++ b/source4/libcli/config.m4
@@ -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