diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-10-10 14:44:12 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-10-10 14:44:12 (GMT) |
commit | e9f935be04439d8685ef7ffd2308feed5ccd6fac (patch) | |
tree | 573429b0e591643dcb0892b932d6212fa044b603 /configure | |
parent | 61fdb0e510b73d4330198d59beb82038d4e8e58a (diff) |
configure: force using the C locale to check messages
(transplanted from 2f44fac6b5143f7b14f5367209c9df9b1102298e)
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |