public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH v0 00/10] Fix obsolescence warnings when regenerating build scripts with autoreconf-2.72
@ 2024-05-28  9:49 Matthieu Longo
  2024-05-28  9:49 ` [PATCH v0 01/10] autoupdate: replace obsolete macros AC_HELP_STRING Matthieu Longo
                   ` (10 more replies)
  0 siblings, 11 replies; 13+ messages in thread
From: Matthieu Longo @ 2024-05-28  9:49 UTC (permalink / raw)
  To: binutils; +Cc: Richard Earnshaw, Nick Clifton, Matthieu Longo

This patch series replaces obsolete macros that are warned on by autoreconf-2.72.
It aims at removing noise from a future upgrade to autoreconf-2.72 or later.
This is in no way a complete patch set allowing the upgrade to autoreconf-2.72.

Please find here below the list of changes along the doc links.
- AC_HELP_STRING by AS_HELP_STRING
  https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.72/autoconf.html#index-AC_005fHELP_005fSTRING-1
- AC_AIX, AC_MINIX, and AC_GNU_SOURCE by AC_USE_SYSTEM_EXTENSIONS
  https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.72/autoconf.html#index-AC_005fAIX
  https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.72/autoconf.html#index-AC_005fMINIX-1
  https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.72/autoconf.html#index-AC_005fGNU_005fSOURCE-1
- AC_PROG_LIBTOOL by LT_INIT
  https://www.gnu.org/software/libtool/manual/html_node/LT_005fINIT.html#index-LT_005fINIT
- AC_CANONICAL_SYSTEM by AC_CANONICAL_TARGET
  https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.72/autoconf.html#index-AC_005fCANONICAL_005fTARGET-1
- AC_CONFIG_HEADER by AC_CONFIG_HEADERS
  https://www.gnu.org/software/automake/manual/1.12.2/html_node/Obsolete-Macros.html#index-AM_005fCONFIG_005fHEADER
- old AC_INIT by AC_INIT + AC_CONFIG_SRC_DIR
  https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.72/autoconf.html#index-AC_005fINIT-3
- add square brackets around argument of AC_PREREQ
  https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.72/autoconf.html#index-AC_005fPREREQ-1
- add square brackets around arguments of AC_INIT
  https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.72/autoconf.html#index-AC_005fINIT-2
- delete obsolete unused m4 file config/uintmax_t.m4

I splitted the diff of the generated files in the last commit of the patch series so that it is easier to review.

I regenerated the build files using the contrib/autoregen.py script mentioned in https://sourceware.org/pipermail/binutils/2024-April/133731.html with the following configuration:
+ autoconf --version
autoconf (GNU Autoconf) 2.69
+ automake --version
automake (GNU automake) 1.15.1
+ aclocal --version
aclocal (GNU automake) 1.15.1
+ autoheader --version
autoheader (GNU Autoconf) 2.69


Ok for binutils-master? I don't have commit access so I need someone to commit on my behalf.

Regards,
Matthieu


Matthieu Longo (10):
  autoupdate: replace obsolete macros AC_HELP_STRING
  autoupdate: replace obsolete macros AC_AIX, AC_MINIX, and AC_GNU_SOURCE
  autoupdate: replace obsolete macros AC_PROG_LIBTOOL
  autoupdate: replace obsolete macros AC_CANONICAL_SYSTEM
  autoupdate: replace obsolete macros AC_CONFIG_HEADER
  autoupdate: replace old version of AC_INIT by the new one
  autoupdate: add square brackets around argument of AC_PREREQ
  autoupdate: add square brackets around arguments of AC_INIT
  autoconf: delete obsolete unused m4 file
  autoupdate: diff after replacing obsolete macros with previous patches

 bfd/configure                     |  6 ++----
 bfd/configure.ac                  |  3 +--
 binutils/configure                |  6 ++----
 binutils/configure.ac             |  5 ++---
 config/acx.m4                     |  4 ++--
 config/debuginfod.m4              |  2 +-
 config/enable.m4                  |  2 +-
 config/lib-prefix.m4              |  2 +-
 config/lthostflags.m4             |  2 +-
 config/uintmax_t.m4               | 32 -------------------------------
 configure                         |  2 +-
 configure.ac                      |  7 ++++---
 gas/configure                     |  6 ++----
 gas/configure.ac                  |  3 +--
 gdbsupport/configure.ac           |  4 ++--
 gnulib/configure.ac               |  4 ++--
 gold/configure                    |  2 --
 gold/configure.ac                 |  4 +---
 gprof/configure                   |  6 ++----
 gprof/configure.ac                |  3 +--
 gprofng/configure.ac              |  2 +-
 gprofng/libcollector/configure.ac |  2 +-
 ld/configure                      |  6 ++----
 ld/configure.ac                   |  5 ++---
 libbacktrace/configure            |  5 ++---
 libbacktrace/configure.ac         |  7 ++++---
 libctf/configure.ac               |  4 ++--
 libiberty/configure               |  1 -
 libiberty/configure.ac            |  4 ++--
 libsframe/configure.ac            |  2 +-
 opcodes/configure                 |  6 ++----
 opcodes/configure.ac              |  3 +--
 readline/readline/configure.ac    | 19 +++++++++---------
 sim/configure.ac                  |  2 +-
 zlib/configure                    |  5 ++---
 zlib/configure.ac                 |  4 ++--
 36 files changed, 63 insertions(+), 119 deletions(-)
 delete mode 100644 config/uintmax_t.m4

-- 
2.45.0


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2024-06-07 22:42 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-28  9:49 [PATCH v0 00/10] Fix obsolescence warnings when regenerating build scripts with autoreconf-2.72 Matthieu Longo
2024-05-28  9:49 ` [PATCH v0 01/10] autoupdate: replace obsolete macros AC_HELP_STRING Matthieu Longo
2024-05-28  9:49 ` [PATCH v0 02/10] autoupdate: replace obsolete macros AC_AIX, AC_MINIX, and AC_GNU_SOURCE Matthieu Longo
2024-05-28  9:49 ` [PATCH v0 03/10] autoupdate: replace obsolete macros AC_PROG_LIBTOOL Matthieu Longo
2024-05-28  9:49 ` [PATCH v0 04/10] autoupdate: replace obsolete macros AC_CANONICAL_SYSTEM Matthieu Longo
2024-05-28  9:49 ` [PATCH v0 05/10] autoupdate: replace obsolete macros AC_CONFIG_HEADER Matthieu Longo
2024-05-28  9:49 ` [PATCH v0 06/10] autoupdate: replace old version of AC_INIT by the new one Matthieu Longo
2024-05-28  9:49 ` [PATCH v0 07/10] autoupdate: add square brackets around argument of AC_PREREQ Matthieu Longo
2024-05-28  9:49 ` [PATCH v0 08/10] autoupdate: add square brackets around arguments of AC_INIT Matthieu Longo
2024-05-28  9:49 ` [PATCH v0 09/10] autoconf: delete obsolete unused m4 file Matthieu Longo
2024-05-28  9:49 ` [PATCH v0 10/10] autoupdate: diff after replacing obsolete macros with previous patches Matthieu Longo
2024-06-07  1:48 ` [PATCH v0 00/10] Fix obsolescence warnings when regenerating build scripts with autoreconf-2.72 Alan Modra
     [not found]   ` <87sexolp6t.fsf@tromey.com>
2024-06-07 22:42     ` Alan Modra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).