AC_LIBTOOL_DLOPEN has been deprecated. Instead pass the dlopen option
to LT_INIT.
This change enables dlopen by default.
libgcobol/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]>
---
libgcobol/configure | 12 +++---------
libgcobol/configure.ac | 4 +---
2 files changed, 4 insertions(+), 12 deletions(-)
diff --git a/libgcobol/configure b/libgcobol/configure
index 32cb45a6c56..50ae7c9e5b5 100755
--- a/libgcobol/configure
+++ b/libgcobol/configure
@@ -8664,11 +8664,10 @@ done
# Set options
+enable_dlopen=yes
- enable_dlopen=no
-
enable_win32_dll=no
@@ -12225,7 +12224,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12228 "configure"
+#line 12227 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12331,7 +12330,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12334 "configure"
+#line 12333 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12568,11 +12567,6 @@ CC="$lt_save_CC"
# Only expand once:
-
-enable_dlopen=yes
-
-
-
LIBM=
case $host in
*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
diff --git a/libgcobol/configure.ac b/libgcobol/configure.ac
index 270e4d73c6e..d3b1343bbe9 100644
--- a/libgcobol/configure.ac
+++ b/libgcobol/configure.ac
@@ -76,9 +76,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])
LT_LIB_M
AM_CONDITIONAL([ENABLE_DARWIN_AT_RPATH], [test x$enable_darwin_at_rpath =
xyes])
--
2.54.0