From 900387afb174c430575f119f51679c21f7f4bd46 Mon Sep 17 00:00:00 2001
From: midipix <writeonce@midipix.org>
Date: Sun, 31 Mar 2024 14:42:48 +0000
Subject: slibtool.m4: move AC_CONFIG_COMMANDS_PRE to the outer-most script
 level.

---
 m4/slibtool.m4 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'm4')

diff --git a/m4/slibtool.m4 b/m4/slibtool.m4
index 4c3758e..61a849c 100644
--- a/m4/slibtool.m4
+++ b/m4/slibtool.m4
@@ -524,6 +524,8 @@ m4_if([$1],[Fortran 77],[
 AC_PROG_FC
 AC_PROG_F77
 ])
+])
+
 
 # produce a backward compatible slibtool.cfg
 AC_CONFIG_COMMANDS_PRE(
@@ -531,7 +533,6 @@ AC_CONFIG_COMMANDS_PRE(
 		[slibtool.cfg:Makefile],
 		[${SLIBTOOL:-slibtool} --mkvars=Makefile --config > slibtool.cfg],
 		[rm -f slibtool.cfg || exit 2]))
-])
 
 
 # SLIBTOOL_PREREQ(_version_)
-- 
cgit v1.2.3