1From 3ec1a1c22142c547bc7f44622291bf0abdc322f1 Mon Sep 17 00:00:00 2001
2From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
3Date: Sun, 25 Feb 2024 14:33:02 +0100
4Subject: [PATCH] acinclude.m4: fix build with autoconf >= 2.72
5
6Move fi statement where it belongs to fix the following build failure
7with autoconf >= 2.72:
8
9checking for stack setup via makecontext... ./configure: line 15863: syntax error near unexpected token `;;'
10
11Fixes:
12 - http://autobuild.buildroot.org/results/013e0d3f72582ce3675f65786c014518682d703b
13
14Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
15Upstream: https://github.com/linknx/pthsem/pull/1
16---
17 acinclude.m4 | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-)
19
20diff --git a/acinclude.m4 b/acinclude.m4
21index 03b42de..d74889f 100644
22--- a/acinclude.m4
23+++ b/acinclude.m4
24@@ -1426,8 +1426,8 @@ ac_cv_stacksetup_$1='guessed:(skaddr),(sksize)'
25 ])
26 dnl #   restore original compile environment
27 CFLAGS="$OCFLAGS"
28-])dnl
29 fi
30+])dnl
31 dnl #   extract result ingredients of single cached result value
32 type=`echo $ac_cv_stacksetup_$1 | sed -e 's;:.*$;;'`
33 addr=`echo $ac_cv_stacksetup_$1 | sed -e 's;^.*:;;' -e 's;,.*$;;'`
34--
352.43.0
36
37