Re: [AD] allegro-config (4.0.3 beta 1) breaks on NetBSD

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


> I tried out Allegro 4.0.3 beta 1 on my computer running
> NetBSD/i386 1.6, and it turned out that allegro-config won't
> return the correct include path anymore.  The fix for gcc3 is
> incorrect for NetBSD, where /usr/local/include is not a system
> include directory.

I finally sat down and wrote a patch against the configure machinery which 
should do the trick. The only nit is that I had to force the $prefix 
variable to something (I chose /usr/local) when the --prefix configure 
option is not explicitly defined.

Tested with gcc 2.95.3, 2.96, 3.0.4, 3.1.1, 3.2 and 3.3exp.

-- 
Eric Botcazou

Attachment: include_prefix.zip
Description: Zip archive



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