Le 29/10/2026 à 03:04, Pietro Monteiro a écrit :
AC_LIBTOOL_DLOPEN has been deprecated. Instead pass the dlopen option
to LT_INIT.
There are no functional changes because AC_LIBTOOL_DLOPEN was called
before LT_INIT.
libgfortran/ChangeLog:
PR bootstrap/103459
* configure: Regenerate.
* configure.ac: Remove AC_LIBTOOL_DLOPEN and change LT_INIT to
LT_INIT([dlopen]).
Signed-off-by: Pietro Monteiro <[email protected]>
---
libgfortran/configure | 9 +++------
libgfortran/configure.ac | 3 +--
2 files changed, 4 insertions(+), 8 deletions(-)
OK.
diff --git a/libgfortran/configure b/libgfortran/configure
index c7d2c6666bf..d2b3b5f1bda 100755
--- a/libgfortran/configure
+++ b/libgfortran/configure
@@ -6974,10 +6974,6 @@ fi
# Configure libtool
#AC_MSG_NOTICE([====== Starting libtool configuration])
-enable_dlopen=yes
-
-
-
case `pwd` in
*\ * | *\ *)
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with
whitespace in \`pwd\`" >&5
@@ -9686,6 +9682,7 @@ done
# Set options
+enable_dlopen=yes
@@ -13245,7 +13242,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 13248 "configure"
+#line 13245 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13351,7 +13348,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 13354 "configure"
+#line 13351 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
diff --git a/libgfortran/configure.ac b/libgfortran/configure.ac
index c50112df91c..3119a883844 100644
--- a/libgfortran/configure.ac
+++ b/libgfortran/configure.ac
@@ -258,8 +258,7 @@ AC_PROG_INSTALL
# Configure libtool
#AC_MSG_NOTICE([====== Starting libtool configuration])
-AC_LIBTOOL_DLOPEN
-LT_INIT
+LT_INIT([dlopen])
LT_LIB_M
ACX_LT_HOST_FLAGS
AC_SUBST(enable_shared)