AM_PROG_LIBTOOL has been deprecated by llib tool. 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]>
---
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 f3cc12329b0..101212d06a8 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 adfada8be4b..c442d068e7a 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'
--
2.43.0