- Removed build dependency on Python

This commit is contained in:
Christophe Dumez 2007-10-27 20:24:17 +00:00
commit b66be5b64b
6 changed files with 2 additions and 57 deletions

23
configure vendored
View file

@ -723,26 +723,6 @@ public:
return true;
}
};
#line 1 "python.qcm"
/*
-----BEGIN QCMOD-----
name: python
-----END QCMOD-----
*/
class qc_python : public ConfObj
{
public:
qc_python(Conf *c) : ConfObj(c) {}
QString name() const { return "python >= 2.3"; }
QString shortname() const { return "python"; }
bool exec(){
int r = conf->doCommand("python testpython.py");
if(r == 0)
return true;
else
return false;
}
};
EOT
cat >$1/modules_new.cpp <<EOT
@ -764,9 +744,6 @@ cat >$1/modules_new.cpp <<EOT
o = new qc_libzzip(conf);
o->required = false;
o->disabled = false;
o = new qc_python(conf);
o->required = true;
o->disabled = false;
EOT
cat >$1/conf4.h <<EOT