1 dnl Process this file with autoconf to produce a configure script.
4 AM_INIT_AUTOMAKE(automake, 1.2d)
6 # Find an appropriate tar for use in "dist" targets. A "best guess"
7 # is good enough -- if we can't find GNU tar, we don't really care.
8 AC_CHECK_PROGS(TAR, gnutar gtar tar)
9 AC_PATH_PROG(PERL, perl)
10 if test -z "$PERL"; then
11 AC_MSG_ERROR([perl not found])
13 if test -n "`$PERL -v | fgrep 'version 5.001' 2> /dev/null`"; then
14 AC_MSG_ERROR([perl 5.001 has bug which causes automake to fail])
17 AC_OUTPUT([Makefile automake aclocal m4/Makefile tests/Makefile],
18 [chmod +x automake aclocal])