summaryrefslogtreecommitdiff
path: root/configure.in
blob: a9ea963ef5e72e90d5d059fc66c0bd257b62230b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
dnl Process this file with autoconf to produce a configure script.
AC_INIT(automake.in)

AM_INIT_AUTOMAKE(automake, 1.2c)

# Find an appropriate tar for use in "dist" targets.  A "best guess"
# is good enough -- if we can't find GNU tar, we don't really care.
AC_CHECK_PROGS(TAR, gnutar gtar tar)
AC_PATH_PROG(PERL, perl)
if test -z "$PERL"; then
   AC_MSG_ERROR([perl not found])
fi
if test -n "`$PERL -v | fgrep 'version 5.001' 2> /dev/null`"; then
   AC_MSG_ERROR([perl 5.001 has bug which causes automake to fail])
fi

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