summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorNiko Tyni <ntyni@debian.org>2016-01-10 22:35:53 +0200
committerTony Cook <tony@develop-help.com>2016-05-10 10:46:13 +1000
commit23695c073f41fdac9d20d873827ba8b2a3dda710 (patch)
tree55ce21ac06e0fe78f7d08ce93becf7211ed1726e /Configure
parentf38527b25758b04ca4332232437b236683917182 (diff)
downloadperl-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-xConfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/Configure b/Configure
index 5a353d6de4..33a6cac85c 100755
--- a/Configure
+++ b/Configure
@@ -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=' '