From c348919cf1f5014de375fe95303c84a728d6f908 Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 31 Mar 2024 17:56:17 +0000 Subject: auxiliary files: added slibtool.sh (optional shell wrapper around the utility). --- m4/slibtool.m4 | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'm4') 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_) # -------------------------- -- cgit v1.2.3