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

SEA_MAJOR_VERSION=1
SEA_MINOR_VERSION=0
SEA_VERSION=$SEA_MAJOR_VERSION.$SEA_MINOR_VERSION

AC_SUBST(SEA_MAJOR_VERSION)
AC_SUBST(SEA_MINOR_VERSION)
AC_SUBST(SEA_VERSION)

# For automake.
VERSION=$SEA_VERSION
PACKAGE=sea

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

AC_CHECK_LIB(m, pow)

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

AM_ALLIANCE

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