summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-10-18 00:44:15 +0000
committermidipix <writeonce@midipix.org>2019-10-18 01:36:04 +0000
commit61ff7bcb7d5912b79e86221cbf696581e344c232 (patch)
treecd665d4a09bac4c0a85b9d78d00de6eb1fb6e0e5 /configure
parent89f5ab2ff360e0847b49f4413fdfc1dd21ab1f35 (diff)
downloadslibtool-61ff7bcb7d5912b79e86221cbf696581e344c232.tar.bz2
slibtool-61ff7bcb7d5912b79e86221cbf696581e344c232.tar.xz
build system: configure: accommodate shells that lack (default) word splitting.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
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)"