From: Tom Tromey Date: Tue, 13 Feb 2001 06:43:43 +0000 (+0000) Subject: * m4/init.m4 (AM_INIT_AUTOMAKE): Explicitly allow various AM_* X-Git-Tag: Release-1-4d~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd940d21685a0408d8683114a433fdb9e723318a;p=thirdparty%2Fautomake.git * m4/init.m4 (AM_INIT_AUTOMAKE): Explicitly allow various AM_* names through autoconf. --- diff --git a/ChangeLog b/ChangeLog index 26dadd184..09f74d5ee 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 064cf29a3..1afd69d2f 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