diff --git a/alliance/src/ocr/configure.in b/alliance/src/ocr/configure.in new file mode 100644 index 00000000..5993eaa3 --- /dev/null +++ b/alliance/src/ocr/configure.in @@ -0,0 +1,40 @@ +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_RANLIB +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 +])