dnl Process this file with autoconf to produce a configure script.

AC_INIT(src/debfoster.c)
AM_CONFIG_HEADER(src/config.h)
AM_INIT_AUTOMAKE(debfoster, 2.5)
AM_MAINTAINER_MODE

ALL_LINGUAS="da nl"

ISODATE=`date +%Y-%m-%d`
AC_SUBST(ISODATE)

AC_CANONICAL_HOST

dnl Checks for programs.
AC_PROG_INSTALL
AC_PROG_CC

AM_GNU_GETTEXT

dnl Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS(unistd.h)
dnl AC_CHECK_HEADER(avl.h, , AC_MSG_ERROR([libavl >= 0.3.1 was not found on the system]))

dnl Checks for specific functions.
AC_FUNC_ALLOCA

dnl Checks for libraries.
dnl AC_CHECK_LIB(avl, avl_insert_node, , AC_MSG_ERROR([libavl >= 0.3.1 was not found on the system]))

AC_OUTPUT(Makefile src/Makefile etc/Makefile doc/Makefile intl/Makefile po/Makefile.in)
