- Added --disable-gui flag to configure file (adds DISABLE_GUI define)

This commit is contained in:
Christophe Dumez 2009-12-15 10:36:18 +00:00
commit 0b7ca15c4f
4 changed files with 33 additions and 0 deletions

View file

@ -12,6 +12,10 @@ public:
QString name() const { return "GeoIP Database (optional)"; }
QString shortname() const { return "GeoIP Database"; }
bool exec() {
if(!conf->getenv("QC_DISABLE_GUI").isEmpty()) {
printf("\nNot Required");
return true;
}
#ifdef Q_WS_X11
if(!conf->getenv("QC_WITH_GEOIP_DATABASE_EMBEDDED").isEmpty()) {
#endif