Remove sysroot detection
authorGirish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
Wed, 28 Mar 2012 01:59:30 +0000 (18:59 -0700)
committerQt by Nokia <qt-info@nokia.com>
Wed, 28 Mar 2012 17:34:42 +0000 (19:34 +0200)
commit4ba9cecec201f5ff0263cac891225e22d2443b5c
treeac6b928de1701d26d40d238b86890711e4d28090
parentd29b56f6042ab10fd85a9891d89900f7f209f1e5
Remove sysroot detection

configure parses the compiler from the mkspecs using an awk script.
The detected compiler is then used to determine sysroot support.
The awk script is currently unable to handle loading of qmake
features and thus configure will not detect the compiler correctly.

This is the case when using device profiles. The qdevice.pri is loaded
through the qmake feature file device_config.prf.

One possible way to fix this is to move this detection after qmake is
built and make this a .pro based config.test. However, this cannot be done
because the sysroot is actually baked into the qmake binary as the
QT_SYSROOT variable.

The solution is to remove this check completely and let the build fail
when Qt starts compiling with --sysroot.

Change-Id: I6c3b7ec2c8e5e390d6f5b1e602d656682d610b98
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
configure