From a981063ebac4a71a29ac47a8a8094b38d26cc960 Mon Sep 17 00:00:00 2001 From: Thien-Thi Nguyen Date: Tue, 2 Mar 2021 23:38:06 -0500 Subject: [PATCH] [build slog] Rework libtool initialization * configure.ac (AC_LIBTOOL_WIN32_DLL): Delete. (AC_LIBTOOL_DLOPEN): Likewise. (AC_PROG_LIBTOOL): Likewise. (LT_INIT): New macro call. --- configure.ac | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index 08f2eeeb2..76a1a1971 100644 --- a/configure.ac +++ b/configure.ac @@ -73,8 +73,6 @@ AC_CANONICAL_HOST AB_INIT -AC_LIBTOOL_WIN32_DLL - AC_PROG_INSTALL AC_PROG_CC AC_PROG_CPP @@ -87,8 +85,7 @@ AC_PROG_CC # for per-target cflags in the libguile subdir AM_PROG_CC_C_O -AC_LIBTOOL_DLOPEN -AC_PROG_LIBTOOL +LT_INIT([win32-dll dlopen]) AC_CHECK_LIB([ltdl], [lt_dlinit], , [AC_MSG_ERROR([libltdl not found. See README.])]) AC_CHECK_HEADER([ltdl.h], [], @@ -1576,7 +1573,7 @@ AC_SUBST([LIBLOBJS]) AC_SUBST([EXTRA_DOT_DOC_FILES]) AC_SUBST([EXTRA_DOT_X_FILES]) -dnl See also top_builddir in info node: (libtool)AC_PROG_LIBTOOL +dnl See also top_builddir in info node: (libtool)LT_INIT top_builddir_absolute=`pwd` AC_SUBST([top_builddir_absolute]) top_srcdir_absolute=`(cd $srcdir && pwd)`