configure - fix detection of MSVC compiler in x64
authorShane Kearns <ext-shane.2.kearns@nokia.com>
Fri, 24 Feb 2012 14:56:44 +0000 (14:56 +0000)
committerQt by Nokia <qt-info@nokia.com>
Sat, 25 Feb 2012 13:04:22 +0000 (14:04 +0100)
commite0acf6504356f14a6352b16ffed7b59453914863
treee4ae3457b12fdcf67b320b415546ae9a6e3562e6
parent1118f28b86993282b9fcf78e938bff5ef2017a09
configure - fix detection of MSVC compiler in x64

x86 processes get redirected to the 32 bit area of the registry,
while 64 bit processes access the registry in raw form.
Added the registry paths for 64 bit processes to see the 32 bit
registry keys for MS visual studio. (Wow6432Node)

This problem was revealed when we stopped including configure.exe
as a binary checkin to git. Running configure in an x64 compiler
environment results in creating an x64 configure.exe

Change-Id: I5e3e51ddbf20ccc65abf1833bf23ee5670bd973e
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
tools/configure/environment.cpp