Hello

Need the following patches to get it working with kerberos and hesiod
(the later on linux).

kerberos pop uses the port kpop by ancent resons. The code somewhere
in nmh checks for this too, forgot where right now.

My libresolv (redhat6.1) doesn't have a res_send i libresolv (rather a
__res_send). And since hesiod uses res_mkquery (too) I added a check
for that.

Please cc,

Love


--- nmh-1.0/configure.in   Thu Aug 27 06:59:39 1998
+++ nmh-1.0-love/configure.in        Mon Nov 15 06:19:37 1999
@@ -86,6 +86,7 @@
 if test x$with_krb4 != x -a x$with_krb4 != xno; then
   AC_DEFINE(KPOP)dnl
   AC_DEFINE(KPOP_PRINCIPAL, "pop")dnl
+  AC_DEFINE(POPSERVICE, "kpop")dnl
 fi
 
 dnl Do you want support for hesiod
@@ -309,6 +309,8 @@
   fi
   AC_CHECK_FUNC(res_send, ,
     AC_CHECK_LIB(resolv, res_send))
+  AC_CHECK_FUNC(res_mkquery, ,
+    AC_CHECK_LIB(resolv, res_mkquery))
   AC_CHECK_LIB(hesiod, hes_resolve, [HESIOD_LIBS="$HESIOD_LIBS -lhesiod"],
     [AC_MSG_ERROR(Hesiod library not found)], $HESIOD_LIBS)
 fi

Reply via email to