summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorJess Robinson <castaway@desert-island.me.uk>2012-12-29 21:23:01 +0000
committerBrian Fraser <fraserbn@gmail.com>2014-01-22 13:08:19 -0300
commit0eafc8c9fb36e2eff46fe122307868db398c4211 (patch)
treebc856af745136dc783268b0c4180dbe8f97a73b3 /Configure
parentcb87e003d326c2b93218621fcb55241056a83aa1 (diff)
downloadperl-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-xConfigure9
1 files changed, 7 insertions, 2 deletions
diff --git a/Configure b/Configure
index 5efc25b4a2..44a6c0db22 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