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

EXP_MAJOR_VERSION=1
EXP_MINOR_VERSION=0
EXP_VERSION=$EXP_MAJOR_VERSION.$EXP_MINOR_VERSION

AC_SUBST(EXP_MAJOR_VERSION)
AC_SUBST(EXP_MINOR_VERSION)
AC_SUBST(EXP_VERSION)

# For automake.
VERSION=$EXP_VERSION
PACKAGE=exp

dnl Initialize automake stuff
AM_INIT_AUTOMAKE($PACKAGE, $VERSION)

dnl Checks for programs.
AC_PROG_CC
AM_PROG_LIBTOOL
AM_PROG_LEX
AC_PROG_YACC
AC_PROG_MAKE_SET

dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_CHECK_LIB(m, floor)

AM_ALLIANCE

AC_OUTPUT([
Makefile
doc/Makefile
src/Makefile
])
