aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1999-03-09 14:23:12 +0000
committerEric S. Raymond <esr@thyrsus.com>1999-03-09 14:23:12 +0000
commit000b1bf9f5b29929faaff7c07b674491479b8af8 (patch)
treeae55a92ddcf8e6934d99cb8b06cf4e57005ba604 /configure.in
parent80397c8adec6b668c9d5ce93e8ca643335b5fb9c (diff)
downloadfetchmail-000b1bf9f5b29929faaff7c07b674491479b8af8.tar.gz
fetchmail-000b1bf9f5b29929faaff7c07b674491479b8af8.tar.bz2
fetchmail-000b1bf9f5b29929faaff7c07b674491479b8af8.zip
Brendan's Kerberos configuration patch.
svn path=/trunk/; revision=2400
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 53b07e56..c3d4a050 100644
--- a/configure.in
+++ b/configure.in
@@ -302,6 +302,7 @@ then
LDEFLAGS="$LDEFLAGS -L$with_kerberos5/lib"
LIBS="$LIBS -lkrb5 -lcrypto -lcom_err"
else
+ if test "$with_kerberos5" != "no" ; then
for dir in /usr/kerberos /usr/local/krb5 /usr/athena
do
if test -f "$dir/include/krb5.h"
@@ -313,6 +314,7 @@ else
break
fi
done
+ fi
fi
### use option --with-kerberos=DIR to point at a Kerberos directory
@@ -345,12 +347,14 @@ then
break
fi
done
-elif test -n "$with_kerberos"
+elif test -n "$with_kerberos" -a "$with_kerberos" != "no"
then
CEFLAGS="$CEFLAGS -DKERBEROS_V4 -I$with_kerberos/include"
LDEFLAGS="$LDEFLAGS -L$with_kerberos/lib"
LIBS="$LIBS -lkrb -ldes"
else
+ if test "$with_kerberos" != "no"
+ then
for dir in /usr/kerberos /usr/kerberosIV /usr/athena
do
if test -f "$dir/include/krb.h"
@@ -403,6 +407,7 @@ else
break
fi
done
+ fi
fi
### use option --with-gssapi=DIR to compile in GSSAPI support