upped to 1.2d
[platform/upstream/automake.git] / configure.in
1 dnl Process this file with autoconf to produce a configure script.
2 AC_INIT(automake.in)
3
4 AM_INIT_AUTOMAKE(automake, 1.2d)
5
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])
12 fi
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])
15 fi
16
17 AC_OUTPUT([Makefile automake aclocal m4/Makefile tests/Makefile],
18 [chmod +x automake aclocal])