summaryrefslogtreecommitdiff
path: root/source3/configure.in
diff options
context:
space:
mode:
authorGeza Gemes <geza@kzsdabas.hu>2009-05-03 22:13:36 +0200
committerVolker Lendecke <vl@samba.org>2009-05-03 22:16:01 +0200
commit5c2404fb86bba0c0f137fdece38d390f0b291515 (patch)
treeccc9372209083df21ba17f9721947218eb2fa823 /source3/configure.in
parent2467ae1b6ad3600eeed5223df672111d9ac3f3db (diff)
downloadsamba-5c2404fb86bba0c0f137fdece38d390f0b291515.tar.gz
samba-5c2404fb86bba0c0f137fdece38d390f0b291515.tar.bz2
samba-5c2404fb86bba0c0f137fdece38d390f0b291515.zip
Fix bug 6136: New AFS syscall conventions
Haven't checked this myself, but as I've already got several reports that Samba won't compile against current OpenAFS anymore, I just believe Geza Gemes. This patch only affects AFS code, so it should not hurt anything else. Volker
Diffstat (limited to 'source3/configure.in')
-rw-r--r--source3/configure.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 0796ff2d7d..0e972e766b 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -2868,11 +2868,12 @@ AC_ARG_WITH(fake-kaserver,
if test x"$samba_cv_WITH_AFS" != x"no" ||
test x"$samba_cv_WITH_FAKE_KASERVER" != x"no"; then
+ # see if this box has the OpenSSL DES libraries
+ AC_CHECK_LIB( crypto, DES_pcbc_encrypt, LIBS="$LIBS -lcrypto" , [AC_ERROR(OpenSSL library: libcrypto ot found!)] )
+
# see if this box has the afs-headers in /usr/include/afs
AC_MSG_CHECKING(for /usr/include/afs)
if test -d /usr/include/afs; then
- CFLAGS="$CFLAGS -I/usr/include/afs"
- CPPFLAGS="$CPPFLAGS -I/usr/include/afs"
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT(no)