|
|
@ -427,7 +427,7 @@ public: |
|
|
|
QString s; |
|
|
|
QString s; |
|
|
|
s = conf->getenv("QC_WITH_LIBCOMMONCPP2_INC"); |
|
|
|
s = conf->getenv("QC_WITH_LIBCOMMONCPP2_INC"); |
|
|
|
if(!s.isEmpty()) { |
|
|
|
if(!s.isEmpty()) { |
|
|
|
if(!conf->checkHeader(s, "cc++/common.h")) { |
|
|
|
if(!conf->checkHeader(s, "cc++/url.h")) { |
|
|
|
return false; |
|
|
|
return false; |
|
|
|
} |
|
|
|
} |
|
|
|
}else{ |
|
|
|
}else{ |
|
|
@ -436,7 +436,7 @@ public: |
|
|
|
sl << "/usr/local/include"; |
|
|
|
sl << "/usr/local/include"; |
|
|
|
bool found = false; |
|
|
|
bool found = false; |
|
|
|
foreach(s, sl){ |
|
|
|
foreach(s, sl){ |
|
|
|
if(conf->checkHeader(s, "cc++/common.h")){ |
|
|
|
if(conf->checkHeader(s, "cc++/url.h")){ |
|
|
|
found = true; |
|
|
|
found = true; |
|
|
|
break; |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
@ -470,7 +470,7 @@ public: |
|
|
|
if(!found) return false; |
|
|
|
if(!found) return false; |
|
|
|
conf->addLib(QString("-L") + s); |
|
|
|
conf->addLib(QString("-L") + s); |
|
|
|
} |
|
|
|
} |
|
|
|
conf->addLib("-lccext2 -lccgnu2"); |
|
|
|
//conf->addLib("-lccext2 -lccgnu2"); |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
|