From 36bc0ab5bf2bfd56fb7e25dfbae194703b60304e Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 22 May 1998 17:25:00 +0000 Subject: Various bug fixes. svn path=/trunk/; revision=1792 --- configure.in | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'configure.in') 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" -- cgit v1.2.3