From e496ed1f66b04f52222b9f6fb83ca8424855ed15 Mon Sep 17 00:00:00 2001 From: midipix Date: Mon, 31 Mar 2025 03:26:43 +0000 Subject: slibtoolize: prefer libsltdl unless invoked with the --system-ltdl argument. --- m4/sysltdl.m4 | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 m4/sysltdl.m4 (limited to 'm4/sysltdl.m4') diff --git a/m4/sysltdl.m4 b/m4/sysltdl.m4 new file mode 100644 index 0000000..baeb847 --- /dev/null +++ b/m4/sysltdl.m4 @@ -0,0 +1,39 @@ +############################################################################### +# # +# sysltdl.m4: system libltdl integration for autoconf-based projects # +# # +# Copyright (C) 2016--2025 SysDeer Technologies, LLC # +# # +# Permission is hereby granted, free of charge, to any person obtaining # +# a copy of this software and associated documentation files (the # +# "Software"), to deal in the Software without restriction, including # +# without limitation the rights to use, copy, modify, merge, publish, # +# distribute, sublicense, and/or sell copies of the Software, and to # +# permit persons to whom the Software is furnished to do so, subject to # +# the following conditions: # +# # +# The above copyright notice and this permission notice shall be included # +# in all copies or substantial portions of the Software. # +# # +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS # +# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF # +# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. # +# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY # +# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, # +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE # +# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # +# # +############################################################################### + + + +# __SLIBTOOL_SLTDL_OPTION +# ------------------ +AC_DEFUN([_SLIBTOOL_SLTDL_OPTION],[ +AC_BEFORE([$0],[SLIBTOOL_INIT]) +AC_BEFORE([$0],[_SLIBTOOL_ARGUMENT_HANDLING]) + +# slibtool: sltdl option +# --------------------------------- +slibtool_prefer_sltdl='no' +]) -- cgit v1.2.3