20 |
# 02111-1307, USA. |
# 02111-1307, USA. |
21 |
|
|
22 |
# We need AC_CONFIG_TESTDIR. |
# We need AC_CONFIG_TESTDIR. |
23 |
AC_PREREQ(2.52g) |
AC_PREREQ([2.53]) |
24 |
|
|
25 |
AC_INIT(GNU Autoconf, 2.52j, bug-autoconf@gnu.org) |
AC_INIT([GNU Autoconf], [2.53], [bug-autoconf@gnu.org]) |
26 |
AC_CONFIG_SRCDIR(ChangeLog) |
AC_SUBST([PACKAGE_NAME])dnl |
27 |
|
AC_CONFIG_SRCDIR([ChangeLog]) |
28 |
|
|
29 |
AC_CONFIG_AUX_DIR(config) |
AC_CONFIG_AUX_DIR([config]) |
30 |
AC_CONFIG_FILES(config/Makefile) |
AC_CONFIG_FILES([config/Makefile]) |
31 |
|
|
32 |
AM_INIT_AUTOMAKE |
AM_INIT_AUTOMAKE |
33 |
|
|
34 |
# Initialize the test suite and build position independent wrappers. |
# Initialize the test suite and build position independent wrappers. |
35 |
AC_CONFIG_TESTDIR(tests) |
AC_CONFIG_TESTDIR([tests]) |
36 |
AC_CONFIG_FILES(tests/Makefile tests/atlocal) |
AC_CONFIG_FILES([tests/Makefile tests/atlocal]) |
37 |
AC_CONFIG_FILES([tests/autoconf:tests/wrapsh.in], |
AC_CONFIG_FILES([tests/autoconf:tests/wrapsh.in], |
38 |
[chmod +x tests/autoconf]) |
[chmod +x tests/autoconf]) |
39 |
AC_CONFIG_FILES([tests/autoheader:tests/wrappl.in], |
AC_CONFIG_FILES([tests/autoheader:tests/wrappl.in], |
59 |
if test x"$ac_cv_prog_gnu_m4" != xyes; then |
if test x"$ac_cv_prog_gnu_m4" != xyes; then |
60 |
AC_MSG_ERROR([GNU M4 1.4 is required]) |
AC_MSG_ERROR([GNU M4 1.4 is required]) |
61 |
fi |
fi |
|
# This is needed because Automake does not seem to realize there is |
|
|
# a AC-SUBST inside AC-PROG-GNU-M4. Grmph! |
|
|
AC_SUBST(M4) |
|
62 |
|
|
63 |
# Man pages. |
# Man pages. |
64 |
AC_CONFIG_FILES(man/Makefile) |
AC_CONFIG_FILES(man/Makefile) |
65 |
AM_MISSING_PROG(HELP2MAN, help2man) |
AM_MISSING_PROG(HELP2MAN, help2man) |
66 |
|
|
67 |
# We use a path for perl so the #! line in autoscan will work. |
# We use a path for perl so the #! line in autoscan will work. |
68 |
AC_PATH_PROG(PERL, perl, no) |
AC_PATH_PROG([PERL], perl, no) |
69 |
AC_SUBST(PERL)dnl |
AC_SUBST([PERL])dnl |
70 |
if test "$PERL" = no; then |
if test "$PERL" = no; then |
71 |
AC_MSG_ERROR([perl is not found]) |
AC_MSG_ERROR([perl is not found]) |
72 |
fi |
fi |
75 |
} |
} |
76 |
|
|
77 |
# Emacs modes. |
# Emacs modes. |
78 |
AC_CONFIG_FILES(lib/emacs/Makefile) |
AC_CONFIG_FILES([lib/emacs/Makefile]) |
79 |
AM_PATH_LISPDIR |
AM_PATH_LISPDIR |
80 |
|
|
81 |
# Automake can't see inner AC_SUBSTS (`aclocal' is bypassed), so we tag the |
AC_CONFIG_FILES([Makefile doc/Makefile |
82 |
# AC_SUBSTS here too. |
lib/Makefile lib/Autom4te/Makefile lib/autoscan/Makefile |
83 |
AC_SUBST(PACKAGE_NAME) |
lib/m4sugar/Makefile |
84 |
AC_SUBST(PACKAGE) |
lib/autoconf/Makefile lib/autotest/Makefile |
85 |
AC_SUBST(VERSION) |
bin/Makefile]) |
|
|
|
|
AC_CONFIG_FILES(Makefile doc/Makefile |
|
|
lib/Makefile lib/Autom4te/Makefile lib/autoscan/Makefile |
|
|
lib/m4sugar/Makefile |
|
|
lib/autoconf/Makefile lib/autotest/Makefile |
|
|
bin/Makefile) |
|
86 |
|
|
87 |
AC_OUTPUT |
AC_OUTPUT |
88 |
# Report the state of this version of Autoconf if this is a beta. |
# Report the state of this version of Autoconf if this is a beta. |