From: Tom Tromey Date: Wed, 21 Feb 2001 02:49:24 +0000 (+0000) Subject: * m4/init.m4 (AM_INIT_AUTOMAKE): Simplify m4_pattern_allow X-Git-Tag: handle-languages~291 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=8b5bd34c0beea255ce700cbaf26ddc9c9aa88366;p=automake.git * m4/init.m4 (AM_INIT_AUTOMAKE): Simplify m4_pattern_allow invocation. --- diff --git a/ChangeLog b/ChangeLog index 5ca5efbf..492a8062 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-02-20 Tom Tromey + + * m4/init.m4 (AM_INIT_AUTOMAKE): Simplify m4_pattern_allow + invocation. + 2001-02-18 Tom Tromey * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Don't call AM_PROG_STRIP. diff --git a/m4/init.m4 b/m4/init.m4 index 43850873..7805ec69 100644 --- a/m4/init.m4 +++ b/m4/init.m4 @@ -49,13 +49,8 @@ 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])]) +ifdef([m4_pattern_allow], + [m4_pattern_allow([^AM_(C|CPP|CXX|OBJC|F|R|GCJ)FLAGS])])dnl # Some tools Automake needs. AC_REQUIRE([AM_SANITY_CHECK])dnl