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

AC_INIT()
AM_INIT_AUTOMAKE(cppopt,0.0.1)
AM_CONFIG_HEADER(config.h)
AC_SUBST(PACKAGE)
AC_SUBST(VERSION)

dnl Checks for programs.
AC_PROG_CXX
AC_PROG_RANLIB
AC_PROG_LN_S
AC_ISC_POSIX
AC_PROG_INSTALL
AC_PROG_MAKE_SET

dnl Checks for libraries.

dnl Checks for header files.
AC_LANG_SAVE
AC_LANG_CPLUSPLUS
AC_CHECK_HEADER(map.h,,
  AC_MSG_ERROR(The libstdc++ headers are required for compilation.))
AC_LANG_RESTORE

AC_HEADER_TIME

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

dnl Checks for library functions.

AC_OUTPUT(Makefile src/Makefile)
