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. diff --git a/configure b/configure index 2b97f50..ed95c27 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 v0.10.2-6-g49f6 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 diff --git a/configure b/configure index ed95c27..0026088 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 v0.10.2-6-g49f6