[gcc r15-6102] autoupdate: replace obsolete macros in libiberty

2024-12-11 Thread Matthieu Longo via Gcc-cvs
https://gcc.gnu.org/g:f78b4da602b2bde56182765980c7e009285b1a04

commit r15-6102-gf78b4da602b2bde56182765980c7e009285b1a04
Author: Matthieu Longo 
Date:   Tue May 28 10:49:41 2024 +0100

autoupdate: replace obsolete macros in libiberty

Autoreconf-2.72 warns about obsolete macros. This patch aims at removing
the noise from a future upgrade to autoreconf-2.72 or later. This is in
no a way a complete patch allowing the upgrade to autoreconf-2.72.

- AC_GNU_SOURCE by AC_USE_SYSTEM_EXTENSIONS
  https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.72/
  autoconf.html#index-AC_005fGNU_005fSOURCE-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

Those fixes were originally submitted in a patch series in binutils.
https://inbox.sourceware.org/binutils/878qthm6a0@gentoo.org/

libiberty/ChangeLog:

* configure: Regenerate.
* configure.ac: Fix autoupdate warnings.

Diff:
---
 libiberty/configure| 1 -
 libiberty/configure.ac | 4 ++--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/libiberty/configure b/libiberty/configure
index 5c69fee56c10..38856a07e5f0 100755
--- a/libiberty/configure
+++ b/libiberty/configure
@@ -4413,7 +4413,6 @@ $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
 
 
-
 # Check whether --enable-largefile was given.
 if test "${enable_largefile+set}" = set; then :
   enableval=$enable_largefile;
diff --git a/libiberty/configure.ac b/libiberty/configure.ac
index 0888e6388965..c27e08e14288 100644
--- a/libiberty/configure.ac
+++ b/libiberty/configure.ac
@@ -172,7 +172,7 @@ AC_MSG_NOTICE([target_header_dir = $target_header_dir])
 
 GCC_NO_EXECUTABLES
 AC_PROG_CC
-AC_GNU_SOURCE
+AC_USE_SYSTEM_EXTENSIONS
 AC_SYS_LARGEFILE
 AC_PROG_CPP_WERROR
 
@@ -205,7 +205,7 @@ dnl AM_PROG_LIBTOOL
 
 dnl When we start using automake:
 dnl AM_CONFIG_HEADER(config.h:config.in)
-AC_CONFIG_HEADER(config.h:config.in)
+AC_CONFIG_HEADERS([config.h:config.in])
 
 dnl When we start using automake:
 dnl AM_MAINTAINER_MODE


[gcc r15-6103] MAINTAINERS: add myself to write after approval

2024-12-11 Thread Matthieu Longo via Gcc-cvs
https://gcc.gnu.org/g:979e9dbf568f0b4d75782984833e4257080995e9

commit r15-6103-g979e9dbf568f0b4d75782984833e4257080995e9
Author: Matthieu Longo 
Date:   Wed Dec 11 11:36:04 2024 +

MAINTAINERS: add myself to write after approval

ChangeLog:

* MAINTAINERS: Add myself to write after approval.

Diff:
---
 MAINTAINERS | 1 +
 1 file changed, 1 insertion(+)

diff --git a/MAINTAINERS b/MAINTAINERS
index 7d65ed64bdda..44153a7a51ea 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -630,6 +630,7 @@ Sa Liu  saliu   

 Ralph Loaderralph   
 Sheldon Lobosmlobo  
 Gabor Loki  loki
+Matthieu Longo  mlongo  
 Sandra Loosemoresandra  
 Manuel López-Ibáñez manu
 Carl Love   carll