LDEFLAGS needs to include a -L before the directory name (and usually the prefix directory should have "/lib" appended to it), and we need a space between arguments when calling "test". --- fetchmail-5.8.4/configure.in Mon May 21 15:00:15 2001 +++ fetchmail-5.8.4/configure.in Tue May 22 11:17:59 2001 @@ -394,12 +394,12 @@ else searchdirs="/usr/kerberos /usr/local/krb5 /usr/athena /usr" fi - LDEFLAGS="$LDEFLAGS $with_kerberos5" with_kerberos5= for dir in $searchdirs do AC_MSG_CHECKING([for Kerberos V in $dir]) if test -f "$dir/include/krb5.h" then + LDEFLAGS="$LDEFLAGS -L$dir/lib" ac_krblibs= if test -f "$dir/include/roken.h" then @@ -455,7 +455,7 @@ if test "$with_kerberos" != "no" then # Check for a NetBSD/OpenBSD special case -if test "$with_kerberos" = "yes" && ( test `uname` = "NetBSD" || test `uname`= "OpenBSD" ) +if test "$with_kerberos" = "yes" && ( test `uname` = "NetBSD" || test `uname` = "OpenBSD" ) then AC_CHECKING([kerberosIV for `uname`]) AC_DEFINE(KERBEROS_V4)