- Removed Fedora pkg-config workaround because Fedora 8 fixed the problem

This commit is contained in:
Christophe Dumez 2007-11-10 09:27:25 +00:00
commit fe37724338
3 changed files with 1 additions and 20 deletions

1
TODO
View file

@ -60,3 +60,4 @@
rc7->rc8 changelog:
- BUGFIX: Fixed torrent files filtering
- BUGFIX: Stop search when clearing results
- BUGFIX: Fixed compilation on Fedora 8

10
configure vendored
View file

@ -425,16 +425,6 @@ public:
if(!found) return false;
conf->addLib(QString("-L") + s);
}
// BUGFIX for Fedora (doesn't support pkg-config?)
QFile issue_file("/etc/issue");
if(issue_file.open(QIODevice::ReadOnly | QIODevice::Text)){
QString content = issue_file.readAll();
issue_file.close();
if(content.indexOf("Fedora") != -1){
qWarning("Fedora detected. WORKAROUND for Fedora pkg-config problem enabled");
conf->addLib("-lssl -lcrypto -lboost_date_time -lboost_filesystem -lboost_thread -lz -ltorrent");
}
}
return true;
}
};

View file

@ -65,16 +65,6 @@ public:
if(!found) return false;
conf->addLib(QString("-L") + s);
}
// BUGFIX for Fedora (doesn't support pkg-config?)
QFile issue_file("/etc/issue");
if(issue_file.open(QIODevice::ReadOnly | QIODevice::Text)){
QString content = issue_file.readAll();
issue_file.close();
if(content.indexOf("Fedora") != -1){
qWarning("Fedora detected. WORKAROUND for Fedora pkg-config problem enabled");
conf->addLib("-lssl -lcrypto -lboost_date_time -lboost_filesystem -lboost_thread -lz -ltorrent");
}
}
return true;
}
};