summaryrefslogtreecommitdiffstats
path: root/src/configgen.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/configgen.py')
-rwxr-xr-xsrc/configgen.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/configgen.py b/src/configgen.py
index 47c8eb6..495f290 100755
--- a/src/configgen.py
+++ b/src/configgen.py
@@ -98,6 +98,8 @@ def parseOption(node):
elif type=='obsolete':
print " cfg->addObsolete(\"%s\");" % (name)
if len(setting)>0:
+ print "#else"
+ print " cfg->addDisabled(\"%s\");" % (name)
print "#endif"