summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-10-10 14:44:12 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-10-10 14:44:12 (GMT)
commite9f935be04439d8685ef7ffd2308feed5ccd6fac (patch)
tree573429b0e591643dcb0892b932d6212fa044b603
parent61fdb0e510b73d4330198d59beb82038d4e8e58a (diff)
configure: force using the C locale to check messages
(transplanted from 2f44fac6b5143f7b14f5367209c9df9b1102298e)
-rwxr-xr-xconfigure5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure b/configure
index ed95c27..0026088 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