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

NERO_MAJOR_VERSION=1
NERO_MINOR_VERSION=1
NERO_VERSION=$NERO_MAJOR_VERSION.$NERO_MINOR_VERSION

AC_SUBST(NERO_MAJOR_VERSION)
AC_SUBST(NERO_MINOR_VERSION)
AC_SUBST(NERO_VERSION)

# For automake.
VERSION=$NERO_VERSION
PACKAGE=nero

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

dnl Checks for programs.
AC_PROG_CXX
AC_PROG_CC
AM_PROG_LIBTOOL
AC_PROG_MAKE_SET
AM_WITH_REGEX
ALC_CXX_PROBLEMATIC_OLD_VERSION

AC_CHECK_LIB(m, pow)

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

AM_ALLIANCE

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