rfc module autodetection patch set
Tomas Cerha
cerha at brailcom.org
Fri Nov 19 10:15:08 CET 2010
Dne 18.11.2010 15:32, Andrei Kholodnyi napsal(a):
>>> *I keept the Addmodule directive so people could deal with configuring
>>> modules not in the MODULEBINDIR, and other nonstandard things.
>>
>> Good! I also propose an ExcludeModule directive, which prevents a
>> module from being loaded by autodetection.
>> E.G.,
>> ExcludeModule "sd_ibmtts"
>
> This will be really difficult.
> how can you figure out what modules you want to exclude?
> Let's say you put 100 modules in MODULEBINDIR and want only espeak be loaded?
>
> I'd rather say we stay with AddModule and if there is no AddModule
> directives in conf,
> we load everything and if some are present we load only these modules.
This seems to me like a very special case. I can't think of a real situation like this,
but if we want to address that, what about ExcludeModule "*"? Or something like
DisableModuleAutodetection...
I simply liked the original Trev's approach with autodetecting everything by default and
still having a chance to add non-standard things using AddModule. Disabling
autodetection when using AddModule seems too tricky to me. It is not intuitive at all.
Thanks, Trev, for your work on this.
Best regards, Tomas
More information about the Speechd
mailing list