https://gcc.gnu.org/g:06de61c188895df325a4897494f064dbf763eb38

commit r17-5835-g06de61c188895df325a4897494f064dbf763eb38
Author: Pietro Monteiro <[email protected]>
Date:   Mon Nov 2 18:49:37 2026 -0500

    libgfortran: Update obsolete libtool macro on configure.ac [PR103459]
    
    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]>

Diff:
---
 libgfortran/configure    | 9 +++------
 libgfortran/configure.ac | 3 +--
 2 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/libgfortran/configure b/libgfortran/configure
index c7d2c6666bf3..d2b3b5f1bdac 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 c50112df91c6..3119a883844f 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)

Reply via email to