bindings/python/ns3modulegen.py
changeset 3420 390db659644b
parent 3409 94ac3e381075
child 3421 b9424c43753d
     1.1 --- a/bindings/python/ns3modulegen.py	Wed Jul 09 14:58:02 2008 +0100
     1.2 +++ b/bindings/python/ns3modulegen.py	Sat Jul 12 22:06:15 2008 +0100
     1.3 @@ -107,6 +107,11 @@
     1.4          mod = __import__(local_module)
     1.5          mod.register_functions(root_module)
     1.6  
     1.7 +
     1.8 +    # if GtkConfigStore support is disabled, disable the class wrapper
     1.9 +    if 'DISABLE_GTK_CONFIG_STORE' in os.environ:
    1.10 +        root_module.classes.remove(root_module['ns3::GtkConfigStore'])
    1.11 +
    1.12      root_module.generate(out, '_ns3')
    1.13  
    1.14      out.close()