Autoreconf -Wall complains about obsolete macros, so replace them according to
the autoconf documentation[0].

This series updates most obsolete macros in libstdc++.  Most of the
remaning ones come from files in config.

I wrote one patch per macro to make reviewing easier.  But I can
squash them if preferred.

Bootstrapped and regtested on x86_64-linux-gnu.

Pietro Monteiro (6):
  libstdc++: Update AC_HELP_STRING to AS_HELP_STRING
  libstdc++: Update AC_TRY_LINK to AC_LINK_IFELSE
  libstdc++: Update AC_TRY_COMPILE to AC_COMPILE_IFELSE
  libstdc++: Update AC_LANG_{SAVE,RESTORE} to AC_LANG_{PUSH,POP}
  libstdc++: Update AM_PROG_LIBTOOL to LT_INIT
  libstdc++: Update AC_FOREACH to m4_foreach_w

 libstdc++-v3/acinclude.m4   | 690 +++++++++++++++++-------------------
 libstdc++-v3/configure      | 461 +-----------------------
 libstdc++-v3/configure.ac   |  26 +-
 libstdc++-v3/crossconfig.m4 |   9 +-
 libstdc++-v3/linkage.m4     |  94 ++---
 5 files changed, 390 insertions(+), 890 deletions(-)

-- 
2.43.0

Reply via email to