configure: fix --with-prog=[...] 1.12
authorTitus von Boxberg <titus@v9g.de>
Mon Aug 22 09:41:35 2011 +0200 (2011-08-22)
branch1.12
changeset 2636d53c6d529923
parent 2635 daa630f28c05
child 2637 97cc0c987a1a
configure: fix --with-prog=[...]

check_for didn't set variable 'where' when the path to a prog
was passed manually "(cached)".

Signed-off-by: "Titus von Boxberg" <titus@v9g.de>
(transplanted from b1be254591e7b524a0b06a2247a9331ebe0faf1d)
configure
     1.1 --- a/configure	Sun Aug 21 17:54:12 2011 +0200
     1.2 +++ b/configure	Mon Aug 22 09:41:35 2011 +0200
     1.3 @@ -171,6 +171,7 @@
     1.4                  eval val="\${${var}}"
     1.5                  if [ -n "${val}" ]; then
     1.6                      status="${val} (cached)\n"
     1.7 +                    where="${val}"
     1.8                      break
     1.9                  fi
    1.10              fi