2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-15 00:52:16 +00:00

Don't support QTDIR for Qt4, as Qt4 itself deprecates this environment

variable.


[SVN r33436]
This commit is contained in:
Vladimir Prus
2006-03-22 10:09:18 +00:00
parent 9f015fc475
commit cb5f8fba20

View File

@@ -49,20 +49,9 @@ project.initialize $(__name__) ;
project qt4 ;
# Initialized the QT support module. The 'prefix' parameter
# tells where QT is installed. When not given, environmental
# variable QTDIR should be set.
rule init ( prefix ? )
# tells where QT is installed.
rule init ( prefix )
{
if ! $(prefix)
{
prefix = [ modules.peek : QTDIR ] ;
if ! $(prefix)
{
errors.error
"QT installation prefix not given and QTDIR variable is empty" ;
}
}
if $(.initialized)
{
if $(prefix) != $(.prefix)