dnl Process this file with autoconf to produce a configure script.
AC_INIT(hostinfo.c)

AC_PROG_CC
AC_PROG_INSTALL

AC_CHECK_FUNC(gethostbyname, :, AC_CHECK_LIB(nsl, gethostbyname))
AC_CHECK_FUNC(res_send, :, AC_CHECK_LIB(resolv, res_send))

AC_OUTPUT(Makefile)
