From 68fefc2c7f9260de9404806bb50676bacc74fcf1 Mon Sep 17 00:00:00 2001 From: midipix Date: Mon, 1 Apr 2024 05:11:30 +0000 Subject: slibtool.m4: allow SLIBTOOL args, i.e. SLIBTOOL="slibtool --debug" ./configure. --- m4/slibtool.m4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3