aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTitus von Boxberg <titus@v9g.de>2011-08-22 09:41:35 +0200
committerTitus von Boxberg <titus@v9g.de>2011-08-22 09:41:35 +0200
commite9798b85210faee48dd29bae64c6e1bddca70296 (patch)
treece5e0133273a36c30317f75df83d81d1006aea84
parent149067397e08e185e32d95dcc1361dc68a0b1d1e (diff)
downloadcrosstool-ng-e9798b85210faee48dd29bae64c6e1bddca70296.tar.gz
crosstool-ng-e9798b85210faee48dd29bae64c6e1bddca70296.tar.bz2
crosstool-ng-e9798b85210faee48dd29bae64c6e1bddca70296.zip
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)
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index afd071e8..d7e3ce0b 100755
--- a/configure
+++ b/configure
@@ -171,6 +171,7 @@ check_for() {
eval val="\${${var}}"
if [ -n "${val}" ]; then
status="${val} (cached)\n"
+ where="${val}"
break
fi
fi