2010/6/7 Henrik Nordström <hen...@henriknordstrom.net>:
> fre 2010-06-04 klockan 17:40 +0100 skrev Markus Moeller:
>
>> That is a bit my problem. For example if I use heimdal kerberos libraries
>> version 1.3.1 I need
>> -lgssapi -lheimntlm -lkrb5 -lhx509 -lcom_err -lcrypto -lasn1 -lwind -lroken
>> -lcrypt -ldl -lresolv -pthread
>> for older 0.7.2 I need
>> -lgssapi -lkrb5 -lasn1 -lcom_err -lcrypto -lroken -lcrypt -ldl -lresolv 
>> -pthread
>
> Which is why the pkgconfig tool exists. it's more or less impossible for
> autoconf to properly guess these dependencies.
>
> kinkie: Can you look into using pkgconfig in the autoconf refactoring to
> solve this and similar issues such as OpenSSL, LDAP etc. There exists
> suitable autoconf macros in pkgconfig (man pkg-config, section AUTOCONF
> MACROS)

Sure. The downside I see is that then any host wishing to bootstrap
needs to have pkgconfig available. One more dependency to account for.

-- 
    /kinkie

Reply via email to