From: Refael Ackermann Date: Tue, 1 Jul 2014 07:48:28 +0000 (+0300) Subject: configure: better detect windows 'bitness' (WOW64) X-Git-Tag: upstream/0.12.0~140 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=423725b34d80ad09d6ed47393cda2aa183814010;p=platform%2Fupstream%2Fnodejs.git configure: better detect windows 'bitness' (WOW64) Signed-off-by: Fedor Indutny --- diff --git a/configure b/configure index daea8ca..c0a4ace 100755 --- a/configure +++ b/configure @@ -402,7 +402,8 @@ def host_arch_cc(): def host_arch_win(): """Host architecture check using environ vars (better way to do this?)""" - arch = os.environ.get('PROCESSOR_ARCHITECTURE', 'x86') + observed_arch = os.environ.get('PROCESSOR_ARCHITECTURE', 'x86') + arch = os.environ.get('PROCESSOR_ARCHITEW6432', observed_arch) matchup = { 'AMD64' : 'x64',