From 0eafc8c9fb36e2eff46fe122307868db398c4211 Mon Sep 17 00:00:00 2001 From: Jess Robinson Date: Sat, 29 Dec 2012 21:23:01 +0000 Subject: [PATCH] Configure: Set to/from/run scripts if targethost is passed Do this regardless of whether we are cross compiling --- Configure | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Configure b/Configure index 5efc25b..44a6c0d 100755 --- a/Configure +++ b/Configure @@ -2878,8 +2878,13 @@ $define|true|[yY]*) esac : Define -Dtargethost=somecomputer to run compiled tests on another machine -case "$usecrosscompile" in -$define|true|[yY]*) echo "Using targethost $targethost." >&4 +case "$targethost" in + '') echo "No targethost for running compiler tests against defined, running locally" >&4 + run='' + to=: + from=: + ;; + *) echo "Using targethost $targethost." >&4 case "$src" in /*) run=$src/Cross/run targetmkdir=$src/Cross/mkdir -- 2.7.4