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

AM_INIT_AUTOMAKE( dhcptool, 0.0.1-alpha)

AC_CONFIG_HEADER(config.h)
dnl Checks for programs.
AC_PROG_CC

dnl Checks for libraries.
dnl AC_CHECK_LIB(pthread, pthread_create, ,exit)

dnl Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS(unistd.h)
dnl AC_CHECK_HEADERS(pthread.h)

dnl Checks for typedefs, structures, and compiler characteristics.
AC_MINGW32

dnl Checks for library functions.
AC_CHECK_FUNCS(socket)

AC_OUTPUT(Makefile src/Makefile)
