Improve the architecture-detection mechanism
authorThiago Macieira <thiago.macieira@intel.com>
Tue, 27 Mar 2012 17:43:45 +0000 (14:43 -0300)
committerQt by Nokia <qt-info@nokia.com>
Wed, 30 May 2012 15:27:56 +0000 (17:27 +0200)
commit1533bfc5fcc4ec5865c1de606504b6aba8a5f6fe
tree01fcdf5c915e19be1fc79363fda08c8b6d6a2750
parentd17cf14185eb84863549e0119c8b7bd20db78580
Improve the architecture-detection mechanism

For the Unix part, this now obeys the -v option, printing the full
command-line it used to compile, allowing testers to identify why
something went wrong.

Unfortunately, it requires a full compilation cycle, instead of just
preprocessing. Just one more among the many on Unix, but maybe a
noticeable slow-down on Windows.

Change-Id: I654b70d99887e04c96731a5b91be9ad555e4d8fe
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
config.tests/arch/arch.cpp
config.tests/arch/arch.pro
config.tests/unix/arch.test [new file with mode: 0755]
configure
tools/configure/configureapp.cpp