[PATCH 1 of 5] configure: correct check_for

Titus von Boxberg titus@v9g.de
Sun Aug 21 13:13:00 GMT 2011


# HG changeset patch
# User Titus von Boxberg <titus@v9g.de>
# Date 1313876746 -7200
# Node ID a946359cb4429037976e6ff22c51515401eaf820
# Parent  41bd6777fa4f767d6264db7c58986920014fd708
configure: correct check_for

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

diff -r 41bd6777fa4f -r a946359cb442 configure
--- a/configure	Wed Aug 17 23:53:49 2011 +0200
+++ b/configure	Sat Aug 20 23:45:46 2011 +0200
@@ -171,6 +171,7 @@
                 eval val="\${${var}}"
                 if [ -n "${val}" ]; then
                     status="${val} (cached)\n"
+                    where="${val}"
                     break
                 fi
             fi

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list