configure: fix --with-foo=/path/to/foo 1.5
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Oct 10 16:41:12 2009 +0200 (2009-10-10)
branch1.5
changeset 1572cb9d5bf0cdc4
parent 1568 0d1e38ea15cf
child 1573 ad811f1434e1
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)
configure
     1.1 --- a/configure	Thu Oct 08 23:29:45 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