From b6f129affd05fe530a512367276e36907eada4ba Mon Sep 17 00:00:00 2001 From: midipix Date: Fri, 18 Oct 2019 00:44:15 +0000 Subject: build system: configure: accommodate shells that lack (default) word splitting. --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configure') diff --git a/configure b/configure index f2c7f8f..8ec6f09 100755 --- a/configure +++ b/configure @@ -71,7 +71,7 @@ init_vars() mb_vars="$mb_make_vars $mb_impl_vars $mb_proj_vars $mb_flag_vars" - for mb_var in $mb_vars ; do + for mb_var in $(printf "$mb_vars") ; do mb_expr=$mb_var='${'$mb_var':-}' eval "$mb_expr" done @@ -390,7 +390,7 @@ config_copy() | grep -v '^#') mb_sed_substs=" \ - $(for __var in $mb_vars; do \ + $(for __var in $(printf %s "$mb_vars"); do \ printf '%s"$%s"%s' "-e 's^@$__var@^'" \ "mb_$__var" "'^g' "; \ done)" -- cgit v1.2.3