summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorBrian Fraser <fraserbn@gmail.com>2013-12-29 02:10:41 -0300
committerBrian Fraser <fraserbn@gmail.com>2014-01-22 13:26:58 -0300
commitb36f1e2d025f7ad7403181e043d526ab916325d3 (patch)
tree9640db003b2700e747bb4bbd0b2feff9c67a8b3a /Configure
parent259234a7aea988a5b032aa97e93d1a615f117838 (diff)
downloadperl-b36f1e2d025f7ad7403181e043d526ab916325d3.tar.gz
Configure: When cross-compiling, save the $^O of the host
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure3
1 files changed, 3 insertions, 0 deletions
diff --git a/Configure b/Configure
index 764526688d..41a4212174 100755
--- a/Configure
+++ b/Configure
@@ -216,6 +216,7 @@ to=''
usecrosscompile=''
hostperl=''
hostgenerate=''
+hostosname=''
extern_C=''
mistrustnm=''
usedevel=''
@@ -2887,6 +2888,7 @@ $define|true|[yY]*)
cd ..
cd UU
fi
+ hostosname=`$hostperl -le 'print $^O'`
;;
*)
usecrosscompile='undef'
@@ -23433,6 +23435,7 @@ html3dir='$html3dir'
html3direxp='$html3direxp'
hostgenerate='$hostgenerate'
hostperl='$hostperl'
+hostosname='$hostosname'
i16size='$i16size'
i16type='$i16type'
i32size='$i32size'