[PATCH v0 00/10] Fix obsolescence warnings when regenerating build scripts with autoreconf-2.72
Matthieu Longo
matthieu.longo@arm.com
Tue May 28 09:49:39 GMT 2024
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
More information about the Binutils
mailing list