summaryrefslogtreecommitdiff
path: root/configure
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)
commit4d8c26fe11b2cd3a5a583b7ee652822794b3d576 (patch)
tree5ab9b2eda94377ffd77685515c70c597e7ea7d44 /configure
parent8d0062fabcb8bec989489cbe999a313ea7e99d66 (diff)
configure: force using the C locale to check messages
Diffstat (limited to 'configure')
-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