Re: [AD] [LNX] environment variable for modules

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


Peter Wang wrote :
> 
> The attached patch implements a feature suggested by George.
> Currently, to use modules you have to install them into /usr/lib or
> /usr/local/lib. This patch lets you specify a directory to look for
> the modules in, via the environment variable ALLEGRO_MODULES.  For
> security reasons, ALLEGRO_MODULES is not used if you are running as
> root.
> 

Looks sensible to me since it seems that Allegro 5 will be even more
modularized (according to what many people ask in allegro.cc forums)

> 
> Unrelatedly, should ALLEGRO_WIP_VERSION become ALLEGRO_REVISION (or
> something like that)?  George said people are using it so we should
> not rename it, but what about:
> 
>         #define ALLEGRO_REVISION  ALLEGRO_WIP_VERSION
> 
> Yes, it's a trivial issue :)

I also vote for ALLEGRO_REVISION :)


"Give this job to a lazy man because he will find the easiest way to do
it."
- Definitely can't remember who said that -
	Bertrand.



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