dnl Process this file with autoconf to produce a configure script.
AC_INIT(src/placer/PIns.cpp)

OCP_MAJOR_VERSION=1
OCP_MINOR_VERSION=0
OCP_VERSION=$OCP_MAJOR_VERSION.$OCP_MINOR_VERSION

AC_SUBST(OCP_MAJOR_VERSION)
AC_SUBST(OCP_MINOR_VERSION)
AC_SUBST(OCP_VERSION)

dnl For automake.
VERSION=$OCP_VERSION
PACKAGE=ocp

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

dnl Checks for programs.
AC_PROG_CXX
AC_PROG_CC
AM_PROG_LIBTOOL
ALC_CXX_PROBLEMATIC_OLD_VERSION
AM_PROG_LEX
AC_PROG_YACC
AC_PROG_MAKE_SET

dnl Checks for libraries.
dnl Check for -lm librarie.  These should always be present.
AC_CHECK_LIB(m, exp)

AM_ALLIANCE

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