https://gcc.gnu.org/g:16756fcc9f6bd1e8876e7f48fb20e1729a9b3529
commit r17-1851-g16756fcc9f6bd1e8876e7f48fb20e1729a9b3529 Author: Pietro Monteiro <[email protected]> Date: Thu Jun 25 08:29:18 2026 -0400 libstdc++: Update AM_PROG_LIBTOOL to LT_INIT [PR103459] AM_PROG_LIBTOOL has been deprecated by libtool. Update to LT_INIT. PR bootstrap/103459 libstdc++-v3/ChangeLog: * configure: Regenerate. * configure.ac: Update AM_PROG_LIBTOOL to LT_INIT. Signed-off-by: Pietro Monteiro <[email protected]> Diff: --- libstdc++-v3/configure | 2 +- libstdc++-v3/configure.ac | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure index f3cc12329b0c..101212d06a81 100755 --- a/libstdc++-v3/configure +++ b/libstdc++-v3/configure @@ -16192,7 +16192,7 @@ fi # Override the libtool's pic_flag and pic_mode. -# Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT. +# Do this step after LT_INIT, but before AC_OUTPUT. # NB: this impacts --with-pic and --without-pic. lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag" pic_mode='default' diff --git a/libstdc++-v3/configure.ac b/libstdc++-v3/configure.ac index adfada8be4ba..c442d068e7a7 100644 --- a/libstdc++-v3/configure.ac +++ b/libstdc++-v3/configure.ac @@ -105,7 +105,7 @@ if test "x${with_newlib}" != "xyes" && test "x$with_headers" != "xno"; then AC_LIBTOOL_DLOPEN fi -AM_PROG_LIBTOOL +LT_INIT ACX_LT_HOST_FLAGS AC_SUBST(enable_shared) AC_SUBST(enable_static) @@ -150,7 +150,7 @@ AC_SUBST(glibcxx_compiler_pic_flag) AC_SUBST(glibcxx_compiler_shared_flag) # Override the libtool's pic_flag and pic_mode. -# Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT. +# Do this step after LT_INIT, but before AC_OUTPUT. # NB: this impacts --with-pic and --without-pic. lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag" pic_mode='default'
