summaryrefslogtreecommitdiffhomepage
path: root/m4
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-03-31 17:56:17 +0000
committermidipix <writeonce@midipix.org>2024-03-31 18:07:04 +0000
commitc348919cf1f5014de375fe95303c84a728d6f908 (patch)
tree4e35b33792781df2e579acfcf26a1eaaacb2a134 /m4
parent900387afb174c430575f119f51679c21f7f4bd46 (diff)
downloadslibtool-c348919cf1f5014de375fe95303c84a728d6f908.tar.bz2
slibtool-c348919cf1f5014de375fe95303c84a728d6f908.tar.xz
auxiliary files: added slibtool.sh (optional shell wrapper around the utility).
Diffstat (limited to 'm4')
-rw-r--r--m4/slibtool.m46
1 files changed, 6 insertions, 0 deletions
diff --git a/m4/slibtool.m4 b/m4/slibtool.m4
index 61a849c..cc33f15 100644
--- a/m4/slibtool.m4
+++ b/m4/slibtool.m4
@@ -534,6 +534,12 @@ AC_CONFIG_COMMANDS_PRE(
[${SLIBTOOL:-slibtool} --mkvars=Makefile --config > slibtool.cfg],
[rm -f slibtool.cfg || exit 2]))
+# optionally create libtool as a symlink to slibtool.sh
+AC_CONFIG_COMMANDS_PRE(
+ [if [[ -s slibtool.sh ]]; then
+ ln -f -s slibtool.sh libtool || exit 2
+ fi])
+
# SLIBTOOL_PREREQ(_version_)
# --------------------------