From e2d44a84abbbb96595f44b145b9533849f808441 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?=
 <grubba@grubba.org>
Date: Mon, 29 Nov 2021 12:08:54 +0100
Subject: [PATCH] Configure: Change the looping method for PIKE_PARSE_PREFIXES.

Some shells complained about unmatched back-quotes.
---
 src/aclocal.m4 | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/aclocal.m4 b/src/aclocal.m4
index 26b7dfd275..de6fa5df16 100644
--- a/src/aclocal.m4
+++ b/src/aclocal.m4
@@ -1935,8 +1935,10 @@ AC_DEFUN(PIKE_PKG_CONFIG,
 define([PIKE_PARSE_SITE_PREFIXES], [
 p_site_prefixes_to_add=""
 p_site_prefixes_to_remove=""
-for p_option in $ac_configure_args ; do
-  p_option=`eval echo $p_option`
+eval "set ignored $ac_configure_args"
+shift
+for p_option; do
+  echo "Option: $p_option"
   case $p_option in
     --with-site-prefixes*)
       p_useropt=`expr "x$p_option" : 'x--with-site-prefixes=\(.*\)'`
-- 
GitLab