AC_LIBTOOL_DLOPEN has been deprecated. Instead pass the dlopen option
to LT_INIT.
This change enables dlopen by default.
libgm2/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]>
---
libgm2/configure | 11 +++--------
libgm2/configure.ac | 3 +--
2 files changed, 4 insertions(+), 10 deletions(-)
diff --git a/libgm2/configure b/libgm2/configure
index 0f18cbb3c6d..795d2fd835e 100755
--- a/libgm2/configure
+++ b/libgm2/configure
@@ -11582,11 +11582,10 @@ done
# Set options
+enable_dlopen=yes
- enable_dlopen=no
-
enable_win32_dll=no
@@ -15143,7 +15142,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 15146 "configure"
+#line 15145 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -15249,7 +15248,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 15252 "configure"
+#line 15251 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -18577,10 +18576,6 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
# Only expand once:
-enable_dlopen=yes
-
-
-
if test x$enable_darwin_at_rpath = xyes; then
ENABLE_DARWIN_AT_RPATH_TRUE=
diff --git a/libgm2/configure.ac b/libgm2/configure.ac
index 4691ce20dba..4202ab743c0 100644
--- a/libgm2/configure.ac
+++ b/libgm2/configure.ac
@@ -254,8 +254,7 @@ AC_CHECK_TOOL(RANLIB, ranlib,
ranlib-not-found-in-path-error)
AC_PROG_MAKE_SET
AC_PROG_INSTALL
-LT_INIT
-AC_LIBTOOL_DLOPEN
+LT_INIT([dlopen])
AM_CONDITIONAL([ENABLE_DARWIN_AT_RPATH], [test x$enable_darwin_at_rpath =
xyes])
AC_PYTHON_INTERPRETER([>= '3.0'])
--
2.54.0