configure: fix --with-foo=/path/to/foo

When a required tool is specified with --with-foo, store the variable
in the list.
(transplanted from 1d43b65599a4b869d83d4db67b9715b1298d74f7)
This commit is contained in:
Yann E. MORIN" 2009-10-10 16:41:12 +02:00
parent 68fba106a2
commit 61fdb0e510

1
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