BUGFIX: Configure file now checks for pkg-config executable which is required

This commit is contained in:
Christophe Dumez
2010-01-19 23:00:29 +00:00
parent 35394c4966
commit ca802a6233
5 changed files with 44 additions and 0 deletions

16
qcm/pkg-config.qcm Normal file
View File

@@ -0,0 +1,16 @@
/*
-----BEGIN QCMOD-----
name: pkg-config
-----END QCMOD-----
*/
#include <QProcess>
class qc_pkg_config : public ConfObj
{
public:
qc_pkg_config(Conf *c) : ConfObj(c) {}
QString name() const { return "pkg-config executable"; }
QString shortname() const { return "pkg-config"; }
bool exec(){
return !conf->findProgram("pkg-config").isEmpty();
}
};