forked from lix-project/lix
Merge pull request #2618 from 0mp/fix-configure.ac
Escape square brackets in configure.ac
This commit is contained in:
commit
9a7432672b
|
@ -275,7 +275,7 @@ test "$prefix" = NONE && prefix=$ac_default_prefix
|
||||||
test "$exec_prefix" = NONE && exec_prefix='${prefix}'
|
test "$exec_prefix" = NONE && exec_prefix='${prefix}'
|
||||||
for name in $ac_subst_vars; do
|
for name in $ac_subst_vars; do
|
||||||
for _ in 1 2 3; do
|
for _ in 1 2 3; do
|
||||||
if printf '%s' "${name}" | egrep '^[_[:alpha:]][_[:alnum:]]*$'
|
if printf '%s' "${name}" | egrep '^[[_[[:alpha:]]]][[_[[:alnum:]]]]*$'
|
||||||
then
|
then
|
||||||
eval "${name}"="$(eval echo "\${${name}}")"
|
eval "${name}"="$(eval echo "\${${name}}")"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue