configure: fix --with-foo=/path/to/foo
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Oct 10 16:41:12 2009 +0200 (2009-10-10)
changeset 15701d43b65599a4
parent 1569 a4e30d311569
child 1571 2f44fac6b514
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 --- a/configure	Fri Oct 09 16:22:09 2009 +0200
     1.2 +++ b/configure	Sat Oct 10 16:41:12 2009 +0200
     1.3 @@ -121,6 +121,7 @@
     1.4                      eval val="\${${var}}"
     1.5                      if [ -n "${val}" ]; then
     1.6                          printf "${val} (cached)\n"
     1.7 +                        add_to_var_list "${var}"
     1.8                          return 0
     1.9                      fi
    1.10                  fi