dnl Process this file with autoconf to produce a configure script.
AC_INIT(nap.c)
AM_INIT_AUTOMAKE(nap, 1.4)

dnl Checks for programs.
AC_PROG_CC
AC_PROG_INSTALL

dnl Checks for libraries.
AC_CHECK_LIB(socket, gethostbyname)
AC_CHECK_LIB(dl, dlopen)
AC_CHECK_LIB(ncurses, initscr)

dnl Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS(ncurses.h)

dnl Checks for library functions
dnl AC_CHECK_FUNCS(memcpy)

AC_OUTPUT([Makefile])
