Configure: When cross-compiling, save the $^O of the host
authorBrian Fraser <fraserbn@gmail.com>
Sun, 29 Dec 2013 05:10:41 +0000 (02:10 -0300)
committerBrian Fraser <fraserbn@gmail.com>
Wed, 22 Jan 2014 16:26:58 +0000 (13:26 -0300)
Configure

index 7645266..41a4212 100755 (executable)
--- 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'