This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix the Configure escape with usecrosscompile but no targethost
authorNiko Tyni <ntyni@debian.org>
Sun, 10 Jan 2016 20:35:53 +0000 (22:35 +0200)
committerTony Cook <tony@develop-help.com>
Tue, 10 May 2016 00:46:13 +0000 (10:46 +1000)
commit23695c073f41fdac9d20d873827ba8b2a3dda710
tree55ce21ac06e0fe78f7d08ce93becf7211ed1726e
parentf38527b25758b04ca4332232437b236683917182
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.
Configure