configure: force using the C locale to check messages 1.5
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Oct 10 16:44:12 2009 +0200 (2009-10-10)
branch1.5
changeset 1573ad811f1434e1
parent 1572 cb9d5bf0cdc4
child 1579 1bb1f8080940
configure: force using the C locale to check messages
(transplanted from 2f44fac6b5143f7b14f5367209c9df9b1102298e)
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