diff -ruN ../fetchmail-5.3.0.OLD/configure ./configure --- ../fetchmail-5.3.0.OLD/configure Wed Feb 16 11:27:00 2000 +++ ./configure Wed Feb 23 23:42:25 2000 @@ -1595,7 +1595,7 @@ if test `uname` = "FreeBSD" then echo "Adding -lkvm to standard libraries" - LIBS="$LIBS -lkvm" + LIBS="$LIBS -lmd -lkvm" fi # Check for Rhapsody special case: it doesn't like -s @@ -5555,7 +5555,7 @@ then echo "Configuring kerberosIV for `uname`" CEFLAGS="$CEFLAGS -DKERBEROS_V4 -I/usr/include/kerberosIV" - LIBS="$LIBS -lkrb -ldes" + LIBS="$LIBS -lkrb -ldes -lcom_err" elif test -n "$with_kerberos" -a -n "$with_kerberos5" -a "$with_kerberos" != "no" then CEFLAGS="$CEFLAGS -DKERBEROS_V4 -I$with_kerberos/include" @@ -5586,7 +5586,7 @@ then CEFLAGS="$CEFLAGS -DKERBEROS_V4 -I$with_kerberos/include" LDEFLAGS="$LDEFLAGS -L$with_kerberos/lib" - LIBS="$LIBS -lkrb -ldes" + LIBS="$LIBS -lkrb -ldes -lcom_err" else if test "$with_kerberos" != "no" then @@ -5596,7 +5596,7 @@ then CEFLAGS="$CEFLAGS -DKERBEROS_V4 -I$dir/include" LDEFLAGS="$LDEFLAGS -L$dir/lib" - LIBS="$LIBS -lkrb -ldes" + LIBS="$LIBS -lkrb -ldes -lcom_err" break fi done