configure: force using the C locale to check messages

This commit is contained in:
Yann E. MORIN" 2009-10-10 16:44:12 +02:00
parent 8d0062fabc
commit 4d8c26fe11

5
configure vendored
View File

@ -130,7 +130,10 @@ check_for() {
printf "no\n"
continue
elif [ -n "${ver}" ]; then
str=$( "${where}" --version 2>&1 |grep -E "${ver}" |head -n 1 )
str=$( LC_ALL=C "${where}" --version 2>&1 \
|grep -E "${ver}" \
|head -n 1
)
if [ -z "${str}" ]; then
printf "no\n"
unset where