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

AC_PROG_CC
AC_PROG_INSTALL

AC_SEARCH_LIBS(gethostbyname, nsl)
AC_SEARCH_LIBS(socket, socket)

# Solaris 2.6 only declares utimes if you define _XPG4_2, but there
# doesn't seem to be any way to define that and not get lots of
# header warnings.
AC_PROG_CPP
AC_MSG_CHECKING(if sys/time.h declares utimes)
AC_EGREP_HEADER(utimes, sys/time.h, [AC_MSG_RESULT(yes)], [AC_MSG_RESULT(no); AC_DEFINE(NEED_UTIMES_PROTO)])

ATHENA_UTIL_COM_ERR
ATHENA_HESIOD_REQUIRED

AC_OUTPUT(Makefile)
