diff options
author | Jess Robinson <castaway@desert-island.me.uk> | 2012-12-29 21:23:01 +0000 |
---|---|---|
committer | Brian Fraser <fraserbn@gmail.com> | 2014-01-22 13:08:19 -0300 |
commit | 0eafc8c9fb36e2eff46fe122307868db398c4211 (patch) | |
tree | bc856af745136dc783268b0c4180dbe8f97a73b3 /Configure | |
parent | cb87e003d326c2b93218621fcb55241056a83aa1 (diff) | |
download | perl-0eafc8c9fb36e2eff46fe122307868db398c4211.tar.gz |
Configure: Set to/from/run scripts if targethost is passed
Do this regardless of whether we are cross compiling
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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 |