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

OCR_MAJOR_VERSION=1
OCR_MINOR_VERSION=0
OCR_VERSION=$OCR_MAJOR_VERSION.$OCR_MINOR_VERSION

AC_SUBST(OCR_MAJOR_VERSION)
AC_SUBST(OCR_MINOR_VERSION)
AC_SUBST(OCR_VERSION)

# For automake.
VERSION=$OCR_VERSION
PACKAGE=ocr

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

dnl Checks for programs.
AC_PROG_CC
AC_PROG_CXX
AM_PROG_LIBTOOL
AC_PROG_MAKE_SET

dnl Checks for libraries.
AM_ALLIANCE
AC_CHECK_LIB(m, sqrt)

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


AC_OUTPUT([
Makefile
src/Makefile
src/rout/Makefile
src/seg/Makefile
src/util/Makefile
src/include/Makefile
doc/Makefile
])
