configure: move qtConfTest_verifySpec() out of qt_configure.prf
the callback is specific to qtbase/configure.json, so it belongs into qtbase/configure.pri. amends d90db0f136. Change-Id: I905f985e2d3d2e42c4587cbacdea8dc3eb09a5be Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
parent
ced0bd8068
commit
6d0878db1b
@ -251,6 +251,11 @@ defineTest(qtConfTest_machineTuple) {
|
|||||||
return(true)
|
return(true)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
defineTest(qtConfTest_verifySpec) {
|
||||||
|
qtConfTest_compile($$1): return(true)
|
||||||
|
qtConfFatalError("Cannot compile a minimal program. The toolchain or QMakeSpec is broken.", log)
|
||||||
|
}
|
||||||
|
|
||||||
defineTest(qtConfTest_architecture) {
|
defineTest(qtConfTest_architecture) {
|
||||||
!qtConfTest_compile($${1}): \
|
!qtConfTest_compile($${1}): \
|
||||||
error("Could not determine $$eval($${1}.label). See config.log for details.")
|
error("Could not determine $$eval($${1}.label). See config.log for details.")
|
||||||
|
@ -1033,11 +1033,6 @@ defineTest(qtConfTest_compile) {
|
|||||||
return(false)
|
return(false)
|
||||||
}
|
}
|
||||||
|
|
||||||
defineTest(qtConfTest_verifySpec) {
|
|
||||||
qtConfTest_compile($$1): return(true)
|
|
||||||
qtConfFatalError("Cannot compile a minimal program. The toolchain or QMakeSpec is broken.", log)
|
|
||||||
}
|
|
||||||
|
|
||||||
defineTest(qtConfTest_files) {
|
defineTest(qtConfTest_files) {
|
||||||
for(i, $${1}.files._KEYS_) {
|
for(i, $${1}.files._KEYS_) {
|
||||||
f = $$eval($${1}.files.$${i})
|
f = $$eval($${1}.files.$${i})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user