* configure.in: Updated to 1.4g.
[platform/upstream/automake.git] / configure.in
1 # Process this file with autoconf to produce a configure script.
2 AC_INIT(automake.in)
3
4 AC_CONFIG_AUX_DIR(lib)
5
6 AM_INIT_AUTOMAKE(automake, 1.4g)
7
8 ACLOCAL="`pwd`/aclocal --acdir=m4"
9 # $AUTOMAKE is always run after a `cd $top_srcdir', hence `.' is really
10 # what we want for perllibdir and libdir.
11 AUTOMAKE="perllibdir=./lib `pwd`/automake --libdir=lib"
12
13 AC_PATH_PROG(PERL, perl)
14 if test -z "$PERL"; then
15    AC_MSG_ERROR([perl not found])
16 fi
17 $PERL -e 'require 5.005;' || {
18    AC_MSG_ERROR([perl 5.005 or better is required])
19 }
20
21 AC_OUTPUT([Makefile
22            lib/Makefile
23            lib/Automake/Makefile
24            lib/am/Makefile
25            m4/Makefile
26            tests/Makefile
27
28            automake aclocal],
29           [chmod +x automake aclocal])