diff options
author | Niko Tyni <ntyni@debian.org> | 2016-01-10 22:35:53 +0200 |
---|---|---|
committer | Tony Cook <tony@develop-help.com> | 2016-05-10 10:46:13 +1000 |
commit | 23695c073f41fdac9d20d873827ba8b2a3dda710 (patch) | |
tree | 55ce21ac06e0fe78f7d08ce93becf7211ed1726e /Configure | |
parent | f38527b25758b04ca4332232437b236683917182 (diff) | |
download | perl-23695c073f41fdac9d20d873827ba8b2a3dda710.tar.gz |
Fix the Configure escape with usecrosscompile but no targethost
Commit 97076f2 added a graceful exit to Configure when targethost is
not defined but usecrosscompile is. However, this is not reached because
there is a similar check a bit earlier that makes Configure bail out.
Make the earlier check warn instead of croaking.
The use case for this combination is supplying an external config.sh
suitable for the target platform, avoiding the need for configuration
probes.
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2973,7 +2973,7 @@ $define|true|[yY]*) *) echo "Using targetarch $targetarch." >&4 ;; esac case "$targethost" in - '') echo "Targethost not defined." >&4; croak=y ;; + '') echo "Targethost not defined." >&4; croak=n ;; *) echo "Using targethost $targethost." >&4 esac locincpth=' ' |