mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-22 06:07:49 +00:00
configure: force using the C locale to check messages
This commit is contained in:
parent
8d0062fabc
commit
4d8c26fe11
5
configure
vendored
5
configure
vendored
@ -130,7 +130,10 @@ check_for() {
|
|||||||
printf "no\n"
|
printf "no\n"
|
||||||
continue
|
continue
|
||||||
elif [ -n "${ver}" ]; then
|
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
|
if [ -z "${str}" ]; then
|
||||||
printf "no\n"
|
printf "no\n"
|
||||||
unset where
|
unset where
|
||||||
|
Loading…
Reference in New Issue
Block a user