Re: [AD] [ alleg-Bugs-2294557 ] pkg-config support

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


On Sun, 2009-02-22 at 02:43 +0000, SourceForge.net wrote:
> 
> Initial Comment:
> pkg-config support
> 

Does this mean, we can now remove the allegro-config stuff from A5?
pkg-config does exactly the same:

> pkg-config a5_font-debug-static-4.9 --cflags
-I/home/elias/prog/allegro/install4.9//include  
> pkg-config a5_font-debug-static-4.9 --libs
-L/home/elias/prog/allegro/install4.9//lib -la5_font-debug-static-4.9.9 -la5_iio-debug-static-4.9.9 -lallegro-debug-static-4.9.9 

Plus,  you made it work for all addons already, something which is
broken with allegro-config right now.

The --static option does not work though (it should list things like
-lpng -lz and so on I assume). Also pkg-config --list-all output is odd:


> pkg-config --list-all
a5_primitives-debug-static-4.9 a5_primitives - Allegro game programming library, primitives addon
libprojectM-qt                 libprojectM-qt - projectM-qt provides a full featured Qt4 graphical user interface to projectM
...

I.e. it only lists the primitives addon, but not allegro itself or any
of the other addons. Might be a bug in my version of pkg-config though.

-- 
Elias Pschernig <elias@xxxxxxxxxx>





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