0002-acinclude.m4-fix-build-with-autoconf-2.72.patch 1.1 KB

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