diff options
author | midipix <writeonce@midipix.org> | 2025-03-31 03:26:43 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2025-03-31 03:33:37 +0000 |
commit | e496ed1f66b04f52222b9f6fb83ca8424855ed15 (patch) | |
tree | 42f9343b1ae620d8a66f406c28208bc4f46ecb7b /m4/slibtool.m4 | |
parent | 9e90beda5fd3fd4f93eac229e41bb5f3b9f86982 (diff) | |
download | slibtool-e496ed1f66b04f52222b9f6fb83ca8424855ed15.tar.bz2 slibtool-e496ed1f66b04f52222b9f6fb83ca8424855ed15.tar.xz |
slibtoolize: prefer libsltdl unless invoked with the --system-ltdl argument.
Diffstat (limited to 'm4/slibtool.m4')
-rw-r--r-- | m4/slibtool.m4 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/m4/slibtool.m4 b/m4/slibtool.m4 index b1ed75b..355b8c4 100644 --- a/m4/slibtool.m4 +++ b/m4/slibtool.m4 @@ -253,6 +253,12 @@ slibtool_set_flavor() ;; esac + case "_${slibtool_prefer_sltdl:-}" in + '_yes') + SLIBTOOL="${SLIBTOOL} --prefer-sltdl" + ;; + esac + # drop-in replacement enable_shared=${slibtool_enable_shared} enable_static=${slibtool_enable_static} @@ -448,6 +454,7 @@ AC_DEFUN([SLIBTOOL_INIT],[ AC_BEFORE([SLIBTOOL_LANG]) AC_REQUIRE([SLIBTOOL_PREREQ]) AC_REQUIRE([_SLIBTOOL_DEFAULTS]) +AC_REQUIRE([_SLIBTOOL_SLTDL_OPTION]) AC_REQUIRE([_SLIBTOOL_SET_FLAVOR]) AC_REQUIRE([_SLIBTOOL_ARGUMENT_HANDLING]) |