From 3324bd65f34c94e849bbf9004acda4c6e922ec8d Mon Sep 17 00:00:00 2001 From: midipix Date: Apr 08 2024 07:52:34 +0000 Subject: slibtool.m4: avoid unconditional removal of slibtool.cfg by config.status. --- 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(