From e9f935be04439d8685ef7ffd2308feed5ccd6fac Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Sat, 10 Oct 2009 16:44:12 +0200 Subject: [PATCH] configure: force using the C locale to check messages (transplanted from 2f44fac6b5143f7b14f5367209c9df9b1102298e) --- configure | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configure b/configure index ed95c279..00260885 100755 --- a/configure +++ b/configure @@ -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