diff options
author | David Tardon <dtardon@redhat.com> | 2011-02-18 09:34:44 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2011-02-18 09:47:50 +0100 |
commit | 657710a76da373c9b120081e068465e44d550bfd (patch) | |
tree | e8100c6cb8ce8ce5c86e473faf7935b4ef893d31 /scp2/source/extensions/module_extensions.scp | |
parent | 399a30d20ee6b806ac3b9b376d5ca014bfa75a50 (diff) |
configure inclusion/exclusion of scripting providers
Diffstat (limited to 'scp2/source/extensions/module_extensions.scp')
-rw-r--r-- | scp2/source/extensions/module_extensions.scp | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/scp2/source/extensions/module_extensions.scp b/scp2/source/extensions/module_extensions.scp index 6cdd35d3a8c0..568b2e1eca7a 100644 --- a/scp2/source/extensions/module_extensions.scp +++ b/scp2/source/extensions/module_extensions.scp @@ -343,9 +343,10 @@ Module gid_Module_Optional_Extensions_Sun_Template_Pack End #endif -#endif +/* ** Script provider for BeanShell ** */ + +#ifndef WITHOUT_EXTENSION_SCRIPTING_BEANSHELL -#ifdef WITH_EXTENSION_INTEGRATION Module gid_Module_Optional_Extensions_Script_Provider_For_Beanshell PackageInfo = "packinfo_extensions.txt"; MOD_NAME_DESC(MODULE_OPTIONAL_EXTENSIONS_SCRIPT_PROVIDER_FOR_BEANSHELL); @@ -356,9 +357,13 @@ Module gid_Module_Optional_Extensions_Script_Provider_For_Beanshell Default = YES; Styles = ( ); End + #endif -#ifdef WITH_EXTENSION_INTEGRATION +/* ** Script provider for JavaScript ** */ + +#ifndef WITHOUT_EXTENSION_SCRIPTING_JAVASCRIPT + Module gid_Module_Optional_Extensions_Script_Provider_For_Javascript PackageInfo = "packinfo_extensions.txt"; MOD_NAME_DESC(MODULE_OPTIONAL_EXTENSIONS_SCRIPT_PROVIDER_FOR_JAVASCRIPT); @@ -369,9 +374,13 @@ Module gid_Module_Optional_Extensions_Script_Provider_For_Javascript Default = YES; Styles = ( ); End + #endif -#ifdef WITH_EXTENSION_INTEGRATION +/* ** Script provider for Python ** */ + +#ifndef WITHOUT_EXTENSION_SCRIPTING_PYTHON + Module gid_Module_Optional_Extensions_Script_Provider_For_Python PackageInfo = "packinfo_extensions.txt"; MOD_NAME_DESC(MODULE_OPTIONAL_EXTENSIONS_SCRIPT_PROVIDER_FOR_PYTHON); @@ -382,4 +391,7 @@ Module gid_Module_Optional_Extensions_Script_Provider_For_Python Default = YES; Styles = ( ); End + +#endif + #endif |