From 0667132ddbd6f9cb97ded4fc4304d6c1572f0cc7 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 13 Feb 2001 06:43:43 +0000 Subject: [PATCH] * m4/init.m4 (AM_INIT_AUTOMAKE): Explicitly allow various AM_* names through autoconf. --- ChangeLog | 3 +++ m4/init.m4 | 10 ++++++++++ 2 files changed, 13 insertions(+) diff --git a/ChangeLog b/ChangeLog index 26dadd18..09f74d5e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2001-02-12 Tom Tromey + * m4/init.m4 (AM_INIT_AUTOMAKE): Explicitly allow various AM_* + names through autoconf. + Fix for subdirbuiltsources.test: * automake.in (initialize_per_input): [all_target] Initialize to empty string. diff --git a/m4/init.m4 b/m4/init.m4 index 064cf29a..1afd69d2 100644 --- a/m4/init.m4 +++ b/m4/init.m4 @@ -47,6 +47,16 @@ ifelse([$3],, [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])]) +# Autoconf 2.50 wants to disallow AM_ names. We explicitly allow +# the ones we care about. +ifdef([m4_pattern_allow], [m4_pattern_allow([AM_CFLAGS])]) +ifdef([m4_pattern_allow], [m4_pattern_allow([AM_CPPFLAGS])]) +ifdef([m4_pattern_allow], [m4_pattern_allow([AM_CXXFLAGS])]) +ifdef([m4_pattern_allow], [m4_pattern_allow([AM_OBJCFLAGS])]) +ifdef([m4_pattern_allow], [m4_pattern_allow([AM_FFLAGS])]) +ifdef([m4_pattern_allow], [m4_pattern_allow([AM_RFLAGS])]) +ifdef([m4_pattern_allow], [m4_pattern_allow([AM_GCJFLAGS])]) + # Some tools Automake needs. AC_REQUIRE([AM_SANITY_CHECK])dnl AC_REQUIRE([AC_ARG_PROGRAM])dnl -- 2.43.5