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

MOCHA_MAJOR_VERSION=1
MOCHA_MINOR_VERSION=1
MOCHA_VERSION=$MOCHA_MAJOR_VERSION.$MOCHA_MINOR_VERSION

AC_SUBST(MOCHA_MAJOR_VERSION)
AC_SUBST(MOCHA_MINOR_VERSION)
AC_SUBST(MOCHA_VERSION)

# For automake.
VERSION=$MOCHA_VERSION
PACKAGE=mocha

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

dnl Checks for programs.
AC_PROG_CC
AM_PROG_LIBTOOL
AC_PROG_MAKE_SET

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

AM_ALLIANCE

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