configure: work around bug in ash shell

The ash 'test' builtin misbehaves if the first operand of a binary
operator looks like a unary operator.

Signed-off-by: Mans Rullgard <mans@mansr.com>
This commit is contained in:
Mans Rullgard 2012-10-12 21:40:07 +00:00
parent 74c39bc682
commit ac17ccf73a
1 changed files with 1 additions and 1 deletions

2
configure vendored
View File

@ -593,7 +593,7 @@ print_config(){
}
print_enabled(){
test "$1" = -n && end=" " && shift || end="\n"
test x"$1" = x-n && end=" " && shift || end="\n"
suf=$1
shift
for v; do