Re: [PATCH] config: Update obsolete macro in pkg.m4

2025-06-02 Thread Simon Marchi
On 5/30/25 5:38 PM, Pietro Monteiro wrote: > The autoconf macro PKG_CHECK_MODULES defined in config/pkg.m4 is used in > binutils/gdb, but not in GCC. That macro uses the obsolete AC_TRY_LINK[1]. > Update the code to use AC_LINK_IFELSE as documented by autoconf. > > Regenerating all autotool files

[PATCH] config: Update obsolete macro in pkg.m4

2025-05-30 Thread Pietro Monteiro
The autoconf macro PKG_CHECK_MODULES defined in config/pkg.m4 is used in binutils/gdb, but not in GCC. That macro uses the obsolete AC_TRY_LINK[1]. Update the code to use AC_LINK_IFELSE as documented by autoconf. Regenerating all autotool files in both trees shows no difference. [1] https://www