This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 1 of 6] configure: fix --with-prog=[...]


# HG changeset patch
# User Titus von Boxberg <titus@v9g.de>
# Date 1313998895 -7200
# Node ID b1be254591e7b524a0b06a2247a9331ebe0faf1d
# Parent  e4a6fefcb0f5ecbcade3ae5edbe609560843aed1
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>

diff -r e4a6fefcb0f5 -r b1be254591e7 configure
--- a/configure	Sun Aug 21 17:54:12 2011 +0200
+++ b/configure	Mon Aug 22 09:41:35 2011 +0200
@@ -183,6 +183,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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]