[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-buildsystem
Subject:    When to use pkgconfig.py?
From:       ralf.habacker () freenet ! de (Ralf Habacker)
Date:       2006-01-05 5:49:24
Message-ID: 43BCB364.9080406 () freenet ! de
[Download RAW message or body]

Christian Ehrlicher schrieb:

>David Faure schrieb:
>
>  
>
>>On Wednesday 04 January 2006 18:18, Christian Ehrlicher wrote:
>>
>>    
>>
>>>Hi,
>>>
>>>When do I have to use pkgconfig? Some or the libfoo.py use it and some
>>>don't.
>>>      
>>>
>>Well it depends on whether the lib provides a .pc file or not :) 
>>    
>>
>So it would be good to check for the lib the old way when pkgconfig
>returns an error or just in case pkgconfig did not find the .pc file?
>  
>
>>>From Windows you can't really find out if a lib provides a .pc file on Unix or not,
>>I guess you'll have to ask here.
>>
>>
>>    
>>
>>>And how do I know that pkgconfig is available?
>>>      
>>>
>>By trying to execute it, maybe
>>    
>>
>Yes, good idea :)
>There seems to be a win32 port of pkgconfig. I'll take a look how to get
>some more usefull informations from it - afaics pkgconfig.py doesn't
>tell me when .pc isn't found.
>  
>
What about to let the pkgconfig.py test executed before any other tests 
and set some variable which indicates if pkgconfig support is there or not.
Ralf


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic