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:18 -0300 |
commit | cb87e003d326c2b93218621fcb55241056a83aa1 (patch) | |
tree | 028b432c51707da2dfe13f0bb896b24b199d96ec /Configure | |
parent | c9d1bf8e2b28429d0317b74fdaafba4b42aca99b (diff) | |
download | perl-cb87e003d326c2b93218621fcb55241056a83aa1.tar.gz |
Configure: Split the usecrosscompile section from the to/from/run section
Beyond organization, this also makes sure that usecrosscompile is
always set to undef if we're not cross-compiling, which enables
code to realibly use $Config{usecrosscompile} to check for a
cross-compiling perl.
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -2871,6 +2871,15 @@ $define|true|[yY]*) case "$croak" in y) echo "Cannot continue, aborting." >&4; exit 1 ;; esac + ;; +*) + usecrosscompile='undef' + ;; +esac + +: Define -Dtargethost=somecomputer to run compiled tests on another machine +case "$usecrosscompile" in +$define|true|[yY]*) echo "Using targethost $targethost." >&4 case "$src" in /*) run=$src/Cross/run targetmkdir=$src/Cross/mkdir |