summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-04-12 19:00:54 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:51:12 -0500
commit298ef0676cb640d73474a6cde2bc142b8464eef7 (patch)
treeb94538a27aa39f1ab13266b89ab123942208bf01 /source3
parent78b5dfadca6d9b69c5e750ce3f31f22ae6a041e2 (diff)
downloadsamba-298ef0676cb640d73474a6cde2bc142b8464eef7.tar.gz
samba-298ef0676cb640d73474a6cde2bc142b8464eef7.tar.bz2
samba-298ef0676cb640d73474a6cde2bc142b8464eef7.zip
r185: fix linking prob surrounding --with-fake-kaserver and -lcrypto
(This used to be commit 54912b70f2a6e26a278d6e94b830bf1f43896c3f)
Diffstat (limited to 'source3')
-rw-r--r--source3/configure.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 5be6d822ef..3a6269145d 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -2366,6 +2366,10 @@ if test x"$samba_cv_WITH_AFS" != x"no" ||
fi
fi
+if test x"$samba_cv_WITH_FAKE_KASERVER" != x"no"; then
+ AC_CHECK_LIB( crypto, DES_pcbc_encrypt, LIBS="$LIBS -lcrypto" )
+fi
+
if test x"$samba_cv_WITH_FAKE_KASERVER" != x"no" && test x"$have_afs_headers" == x"yes"; then
AC_DEFINE(WITH_FAKE_KASERVER,1,[Whether to include AFS fake-kaserver support])
fi