dnl Process this file with autoconf to produce a configure script.
AC_INIT(automake.in)

AM_INIT_AUTOMAKE(automake, 1.4e)

ACLOCAL="`pwd`/aclocal --acdir=m4"
AUTOMAKE="`pwd`/automake --amdir=."

AC_PATH_PROG(PERL, perl)
if test -z "$PERL"; then
   AC_MSG_ERROR([perl not found])
fi
$PERL -e 'require 5.005;' || {
   AC_MSG_ERROR([perl 5.005 or better is required])
}

AC_OUTPUT([Makefile automake aclocal m4/Makefile tests/Makefile],
[chmod +x automake aclocal])
