From 4d8c26fe11b2cd3a5a583b7ee652822794b3d576 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 --- 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