From 3324bd65f34c94e849bbf9004acda4c6e922ec8d Mon Sep 17 00:00:00 2001 From: midipix Date: Mon, 8 Apr 2024 07:52:34 +0000 Subject: slibtool.m4: avoid unconditional removal of slibtool.cfg by config.status. --- m4/slibtool.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'm4') diff --git a/m4/slibtool.m4 b/m4/slibtool.m4 index cd124c1..41db200 100644 --- a/m4/slibtool.m4 +++ b/m4/slibtool.m4 @@ -559,9 +559,9 @@ AC_PROG_F77 AC_CONFIG_COMMANDS_PRE( AC_CONFIG_FILES( [slibtool.cfg:Makefile], + [rm -f slibtool.cfg || exit 2;] [_slibtool="${SLIBTOOL:-slibtool}";] - [${_slibtool%% *} --mkvars=Makefile --config > slibtool.cfg], - [rm -f slibtool.cfg || exit 2])) + [${_slibtool%% *} --mkvars=Makefile --config > slibtool.cfg])) # optionally create libtool as a symlink to slibtool.sh AC_CONFIG_COMMANDS_PRE( -- cgit v1.2.3