summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-04-01 05:11:30 +0000
committermidipix <writeonce@midipix.org>2024-04-01 05:11:30 +0000
commit68fefc2c7f9260de9404806bb50676bacc74fcf1 (patch)
treea9f2b6f918915da52cda6ef8ee45b3899c71b375 /m4
parent1f28748f10c7930e92b112b2084c214edefed1c4 (diff)
downloadslibtool-68fefc2c7f9260de9404806bb50676bacc74fcf1.tar.bz2
slibtool-68fefc2c7f9260de9404806bb50676bacc74fcf1.tar.xz
slibtool.m4: allow SLIBTOOL args, i.e. SLIBTOOL="slibtool --debug" ./configure.
Diffstat (limited to 'm4')
-rw-r--r--m4/slibtool.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/m4/slibtool.m4 b/m4/slibtool.m4
index 7e81820..cd124c1 100644
--- a/m4/slibtool.m4
+++ b/m4/slibtool.m4
@@ -559,7 +559,8 @@ AC_PROG_F77
AC_CONFIG_COMMANDS_PRE(
AC_CONFIG_FILES(
[slibtool.cfg:Makefile],
- [${SLIBTOOL:-slibtool} --mkvars=Makefile --config > slibtool.cfg],
+ [_slibtool="${SLIBTOOL:-slibtool}";]
+ [${_slibtool%% *} --mkvars=Makefile --config > slibtool.cfg],
[rm -f slibtool.cfg || exit 2]))
# optionally create libtool as a symlink to slibtool.sh