CONFIG_RULES, as it's needed almost everywhere kadm5 gets
linked).
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10162
dc483132-0cff-0310-8789-
dd5450dbe970
+Wed Aug 6 20:25:49 1997 Tom Yu <tlyu@mit.edu>
+
+ * aclocal.m4: Add support for --with-hesiod (and add it to
+ CONFIG_RULES, as it's needed almost everywhere kadm5 gets
+ linked).
+
Wed Jun 11 16:46:47 1997 Theodore Y. Ts'o <tytso@mit.edu>
* Makefile.in (MACFILES): Added the mac/gss files to the Macintosh
WITH_KRB4 dnl
AC_CONST dnl
WITH_NETLIB dnl
+WITH_HESIOD dnl
KRB_INCLUDE dnl
AC_ARG_PROGRAM dnl
AC_SUBST(subdirs)
fi
])dnl
+dnl
+dnl WITH_HESIOD
+dnl
+AC_DEFUN(WITH_HESIOD,
+[AC_ARG_WITH(hesiod, [ --with-hesiod=path compile with hesiod support],
+ hesiod=$with_hesiod, with_hesiod=no)
+if test "$hesiod" != "no"; then
+ HESIOD_DEFS=-DHESIOD
+ AC_CHECK_LIB(resolv, res_send, res_lib=-lresolv)
+ if test "$hesiod" != "yes"; then
+ HESIOD_LIBS="-L${hesiod}/lib -lhesiod $res_lib"
+ else
+ HESIOD_LIBS="-lhesiod $res_lib"
+ fi
+else
+ HESIOD_DEFS=
+ HESIOD_LIBS=
+fi
+AC_SUBST(HESIOD_DEFS)
+AC_SUBST(HESIOD_LIBS)])
+
+
dnl
dnl KRB5_BUILD_LIBRARY
dnl