summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-04-12 19:00:54 +0000
committerGerald Carter <jerry@samba.org>2004-04-12 19:00:54 +0000
commit33ba52a1a4d942bed8f35f90644e9d6a30abf217 (patch)
tree6e96e05a6c15c5f8cac3950ceb5b26304eaa715f
parent98b174b8a17f79fd698609179d328ea9eb5f629b (diff)
downloadsamba-33ba52a1a4d942bed8f35f90644e9d6a30abf217.tar.gz
r185: fix linking prob surrounding --with-fake-kaserver and -lcrypto
-rw-r--r--source/configure.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/configure.in b/source/configure.in
index 5be6d822ef0..3a6269145d7 100644
--- a/source/configure.in
+++ b/source/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