This commit is contained in:
Yann E. MORIN" 2009-10-10 17:24:36 +02:00
commit 9b67193754

6
configure vendored
View File

@ -121,6 +121,7 @@ check_for() {
eval val="\${${var}}"
if [ -n "${val}" ]; then
printf "${val} (cached)\n"
add_to_var_list "${var}"
return 0
fi
fi
@ -129,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