summaryrefslogtreecommitdiffhomepage
path: root/m4
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-04-08 07:52:34 +0000
committermidipix <writeonce@midipix.org>2024-04-08 07:52:34 +0000
commit3324bd65f34c94e849bbf9004acda4c6e922ec8d (patch)
tree4d7688fb3aa11fb548a765908ce4b61b3380e5c0 /m4
parente40c34a4bceb42f70aafa4937789a4e6320e1138 (diff)
downloadslibtool-3324bd65f34c94e849bbf9004acda4c6e922ec8d.tar.bz2
slibtool-3324bd65f34c94e849bbf9004acda4c6e922ec8d.tar.xz
slibtool.m4: avoid unconditional removal of slibtool.cfg by config.status.
Diffstat (limited to 'm4')
-rw-r--r--m4/slibtool.m44
1 files changed, 2 insertions, 2 deletions
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(