--- configure.orig	Mon May 17 21:32:49 2004
+++ configure	Tue May 25 18:19:48 2004
@@ -2244,6 +2244,15 @@
     SENDMAIL_EVAL="$SENDMAIL"
     with_sendmail=yes
 fi
+#
+if test -n "$SENDMAIL" -a "$SENDMAIL" != "no"; then
+    if test -f $SENDMAIL/include/libmilter/mfapi.h -a -f $SENDMAIL/lib/libmilter.a; then
+        SENDMAIL_OBJ=$SENDMAIL/lib
+        SENDMAIL_OBJ_EVAL=$SENDMAIL_OBJ
+        SENDMAIL_LIB=$SENDMAIL_OBJ/libmilter.a
+    fi
+fi
+#
 if test -z "$SENDMAIL"; then
     # prefer a parallel ../sendmail directory
     DEPTH=.
