2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-16 01:12:13 +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 6a61f3a4b9
commit ab9b0a29df

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)