summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure b/configure
index 9d87517..672b041 100755
--- a/configure
+++ b/configure
@@ -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