From: Jess Robinson Date: Sat, 29 Dec 2012 21:23:01 +0000 (+0000) Subject: Configure: Set to/from/run scripts if targethost is passed X-Git-Tag: upstream/5.20.0~643^2~32 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0eafc8c9fb36e2eff46fe122307868db398c4211;p=platform%2Fupstream%2Fperl.git Configure: Set to/from/run scripts if targethost is passed Do this regardless of whether we are cross compiling --- 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