From 9577c4f844d9f6e8e3f33502882ca2b342985130 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Wed, 21 Sep 2005 22:00:28 +0000 Subject: Kerberos IV detection fix for FreeBSD 4. Simon Barner. svn path=/trunk/; revision=4315 --- configure.ac | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 06426108..3d3ee540 100644 --- a/configure.ac +++ b/configure.ac @@ -5,7 +5,7 @@ dnl dnl Process this file with autoconf to produce a configure script. dnl -AC_INIT([fetchmail],[6.2.9-rc4]) +AC_INIT([fetchmail],[6.2.9-rc5]) AC_CONFIG_SRCDIR([fetchmail.h]) AC_CONFIG_HEADERS([config.h]) AC_CONFIG_LIBOBJ_DIR([.]) @@ -507,7 +507,11 @@ else AC_CHECK_LIB(45, krb_mk_req) fi LDFLAGS="-L$dir/lib $ac_saveLDFLAGS" - AC_SEARCH_LIBS(des_string_to_key, [des425 des crypto], [], continue) + if test `uname` = "FreeBSD"; then + AC_SEARCH_LIBS(_ossl_old_des_string_to_key, [des425 des crypto], [], continue) + else + AC_SEARCH_LIBS(des_string_to_key, [crypto], [], continue) + fi AC_SEARCH_LIBS(krb_realmofhost, [krb4 krb], [], continue) with_kerberos="$dir" if test -f "$dir/include/kerberosIV/krb.h" ; then -- cgit v1.2.3