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.

libsanitizer/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]>
---
 libsanitizer/configure    | 9 +++------
 libsanitizer/configure.ac | 3 +--
 2 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/libsanitizer/configure b/libsanitizer/configure
index 206e8ede162..4bb9f9e862c 100755
--- a/libsanitizer/configure
+++ b/libsanitizer/configure
@@ -6293,10 +6293,6 @@ else
 fi
 
 
-enable_dlopen=yes
-
-
-
 case `pwd` in
   *\ * | *\    *)
     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope 
well with whitespace in \`pwd\`" >&5
@@ -9332,6 +9328,7 @@ done
 
 
 # Set options
+enable_dlopen=yes
 
 
 
@@ -12864,7 +12861,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12867 "configure"
+#line 12864 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12970,7 +12967,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12973 "configure"
+#line 12970 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
diff --git a/libsanitizer/configure.ac b/libsanitizer/configure.ac
index 637d0c25783..88ea1f82778 100644
--- a/libsanitizer/configure.ac
+++ b/libsanitizer/configure.ac
@@ -74,8 +74,7 @@ AC_PROG_CXX
 AM_PROG_AS
 AC_PROG_RANLIB
 
-AC_LIBTOOL_DLOPEN
-LT_INIT
+LT_INIT([dlopen])
 
 AC_PROG_AWK
 case "$AWK" in
-- 
2.54.0

Reply via email to