From 8d0062fabcb8bec989489cbe999a313ea7e99d66 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Sat, 10 Oct 2009 16:41:12 +0200 Subject: configure: fix --with-foo=/path/to/foo When a required tool is specified with --with-foo, store the variable in the list. --- configure | 1 + 1 file changed, 1 insertion(+) (limited to 'configure') diff --git a/configure b/configure index 2b97f507..ed95c279 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 -- cgit v1.2.3 From 4d8c26fe11b2cd3a5a583b7ee652822794b3d576 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Sat, 10 Oct 2009 16:44:12 +0200 Subject: configure: force using the C locale to check messages --- configure | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index ed95c279..00260885 100755 --- a/configure +++ b/configure @@ -130,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 -- cgit v1.2.3