configure: force using the C locale to check messages
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Oct 10 16:44:12 2009 +0200 (2009-10-10)
changeset 15712f44fac6b514
parent 1570 1d43b65599a4
child 1578 75d34a94e4b1
configure: force using the C locale to check messages
configure
     1.1 --- a/configure	Sat Oct 10 16:41:12 2009 +0200
     1.2 +++ b/configure	Sat Oct 10 16:44:12 2009 +0200
     1.3 @@ -130,7 +130,10 @@
     1.4                      printf "no\n"
     1.5                      continue
     1.6                  elif [ -n "${ver}" ]; then
     1.7 -                    str=$( "${where}" --version 2>&1 |grep -E "${ver}" |head -n 1 )
     1.8 +                    str=$( LC_ALL=C "${where}" --version 2>&1   \
     1.9 +                           |grep -E "${ver}"                    \
    1.10 +                           |head -n 1
    1.11 +                         )
    1.12                      if [ -z "${str}" ]; then
    1.13                          printf "no\n"
    1.14                          unset where