summaryrefslogtreecommitdiffstats
path: root/qmake/meta.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qmake/meta.cpp')
-rw-r--r--qmake/meta.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/qmake/meta.cpp b/qmake/meta.cpp
index 9770a7972..bb6437ee8 100644
--- a/qmake/meta.cpp
+++ b/qmake/meta.cpp
@@ -57,10 +57,10 @@ TQMakeMetaInfo::readLib(const TQString &lib)
if(cache_vars.contains(meta_file)) {
vars = cache_vars[meta_file];
- return TRUE;
+ return true;
}
- bool ret = FALSE;
+ bool ret = false;
if(!meta_file.isNull()) {
if(meta_file.endsWith(Option::pkgcfg_ext)) {
if((ret=readPkgCfgFile(meta_file)))
@@ -72,10 +72,10 @@ TQMakeMetaInfo::readLib(const TQString &lib)
TQMakeProject proj;
if(!proj.read(Option::fixPathToLocalOS(meta_file),
TQDir::currentDirPath(), TQMakeProject::ReadProFile))
- return FALSE;
+ return false;
meta_type = "tqmake";
vars = proj.variables();
- ret = TRUE;
+ ret = true;
} else {
warn_msg(WarnLogic, "TQMakeMetaInfo: unknown file format for %s", meta_file.latin1());
}
@@ -124,7 +124,7 @@ TQMakeMetaInfo::readLibtoolFile(const TQString &f)
/* I can just run the .la through the .pro parser since they are compatible.. */
TQMakeProject proj;
if(!proj.read(Option::fixPathToLocalOS(f), TQDir::currentDirPath(), TQMakeProject::ReadProFile))
- return FALSE;
+ return false;
TQString dirf = Option::fixPathToTargetOS(f).section(Option::dir_sep, 0, -2);
if(dirf == f)
dirf = "";
@@ -147,7 +147,7 @@ TQMakeMetaInfo::readLibtoolFile(const TQString &f)
if(lst.count() == 1)
lst = TQStringList::split(" ", lst.first());
for(TQStringList::Iterator lst_it = lst.begin(); lst_it != lst.end(); ++lst_it) {
- bool found = FALSE;
+ bool found = false;
TQString dirs[] = { "", dir, dirf, dirf + ".libs" + TQDir::separator(), "(term)" };
for(int i = 0; !found && dirs[i] != "(term)"; i++) {
if(TQFile::exists(dirs[i] + (*lst_it))) {
@@ -155,7 +155,7 @@ TQMakeMetaInfo::readLibtoolFile(const TQString &f)
if(TQDir::isRelativePath(targ))
targ.prepend(TQDir::currentDirPath() + TQDir::separator());
vars["QMAKE_PRL_TARGET"] << targ;
- found = TRUE;
+ found = true;
}
}
if(found)
@@ -184,12 +184,12 @@ TQMakeMetaInfo::readLibtoolFile(const TQString &f)
vars["QMAKE_PRL_LIBS"] += lst;
}
}
- return TRUE;
+ return true;
}
bool
TQMakeMetaInfo::readPkgCfgFile(const TQString &f)
{
fprintf(stderr, "Must implement reading in pkg-config files (%s)!!!\n", f.latin1());
- return FALSE;
+ return false;
}