aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-05-22 17:25:00 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-05-22 17:25:00 +0000
commit36bc0ab5bf2bfd56fb7e25dfbae194703b60304e (patch)
treef4a6706527b9b0d85f7600c9801f6dc865b57a90 /configure.in
parent457c1fe4e4f1f233a590cf38b779ca0fdcc6b18d (diff)
downloadfetchmail-36bc0ab5bf2bfd56fb7e25dfbae194703b60304e.tar.gz
fetchmail-36bc0ab5bf2bfd56fb7e25dfbae194703b60304e.tar.bz2
fetchmail-36bc0ab5bf2bfd56fb7e25dfbae194703b60304e.zip
Various bug fixes.
svn path=/trunk/; revision=1792
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in11
1 files changed, 9 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 5bdbe34d..280728c2 100644
--- a/configure.in
+++ b/configure.in
@@ -250,9 +250,16 @@ fi
AC_ARG_WITH(kerberos,
[ --with-kerberos=DIR point fetchmail compilation at a Kerberos directory])
-# The "then" arm (nonempty $with_kerberos) is kind of a crock. It works for
+# The "elif" arm (nonempty $with_kerberos) is kind of a crock. It works for
# configuring the BSD/OS Kerberos IV support, though.
-if test -n "$with_kerberos"
+
+# Check for a NetBSD special case
+if test "$with_kerberos" = "yes" -a `uname` = "NetBSD"
+then
+ echo "Configuring kerberosIV for NetBSD"
+ CEFLAGS="$CEFLAGS -DKERBEROS_V4 -I/usr/include/kerberosIV"
+ LIBS="$LIBS -lkrb -ldes"
+elif test -n "$with_kerberos"
then
CEFLAGS="$CEFLAGS -DKERBEROS_V4 -I$with_kerberos/include"
LDEFLAGS="$LDEFLAGS -L$with_kerberos/lib"