Re: [AD] Re: linux compile fix

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


On Sunday 26 March 2006 23:30, Milan Mimica wrote:
> It's not much about console. Is there a way to figure out whether we are 
> building on linux? ALLEGRO_LINUX is not it. Any non-existent autoconf 
> experts around? :-)

From source code? #ifdef __linux__ should do.
If you mean from within autoconf, then I think asking wether or not the 
system is Linux is the wrong question. One should test if the system can 
do certain things instead.

Evert




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