configure: fix --with-prog=[...]
authorTitus von Boxberg <titus@v9g.de>
Mon Aug 22 09:41:35 2011 +0200 (2011-08-22)
changeset 2625b1be254591e7
parent 2624 e4a6fefcb0f5
child 2626 c7c9e98d36d8
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>
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 @@ -183,6 +183,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