Re: [AD] modules.lst

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Sat, 2007-12-29 at 18:28 +1100, Peter Wang wrote:
> modules.lst is a static file.  At initialisation time Allegro tries to
> load every module in the list and just ignores if it fails.  Actually,
> the only reason it exists is that I thought it's somehow more secure
> than loading any module that exists in the module directory.  That, and
> it allows the system administrator to prevent unwanted modules without
> actually deleting them.  I don't think either are very good or useful
> reasons though, so if someone can be bothered changing it...
> 

Yeah, I guess nothing would be lost if we just hardcode the list - the
only important thing is the ALLEGRO_MODULES environment variable.

Oh, and somewhat related, right now scons (and also cmake I think) put
liba5_font.so into the <prefix>/lib/allegro/<version>/ - i.e. along with
the modules. That wasn't done with any special reason behind it though,
so maybe it should be changed to just install it as
<prefix>/lib/liba5_font.so (or some other name if we don't want the
liba5_ prefix), so no second -L has to be output by allegro-config and
it also would be consistent with how it works in Windows.

-- 
Elias Pschernig <elias@xxxxxxxxxx>





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/