From f36237953ff07aef60eb46e4595ee566b5f2a6c0 Mon Sep 17 00:00:00 2001 From: midipix Date: Wed, 21 May 2025 13:41:05 +0000 Subject: m4/slibtool.m4, m4/sltdl.m4: provide the LIBLTDL, LTDLINCL, and LTDLDEPS vars. --- m4/slibtool.m4 | 4 ++++ m4/sltdl.m4 | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/m4/slibtool.m4 b/m4/slibtool.m4 index a92a377..d318df3 100644 --- a/m4/slibtool.m4 +++ b/m4/slibtool.m4 @@ -549,6 +549,10 @@ AC_SUBST([LIBTOOL]) AC_SUBST([SLIBTOOL]) AC_SUBST([SLIBTOOL_FLAGS]) AC_SUBST([SLIBTOOL_SYSROOT]) + +AC_SUBST([LIBLTDL]) +AC_SUBST([LTDLINCL]) +AC_SUBST([LTDLDEPS]) ]) diff --git a/m4/sltdl.m4 b/m4/sltdl.m4 index 17daa74..fd7100f 100644 --- a/m4/sltdl.m4 +++ b/m4/sltdl.m4 @@ -40,12 +40,17 @@ slibtool_prefer_sltdl=${slibtool_prefer_sltdl:-yes} case ${slibtool_prefer_sltdl} in 'yes') slibtool_prefer_sltdl_switch='--prefer-sltdl' + LIBLTDL='-lsltdl' ;; *) slibtool_prefer_sltdl_switch= + LIBLTDL='-lltdl' ;; esac +LTDLDEPS= +LTDLINCL= + export slibtool_prefer_sltdl export slibtool_prefer_sltdl_switch -- cgit v1.2.3