Re: CC configure (AC_CHECK_LIB macro) problem on Solaris

From: Kinkie <gkinkie_at_gmail.com>
Date: Mon, 7 Jun 2010 10:49:13 +0200

2010/6/7 Henrik Nordström <henrik_at_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
Received on Mon Jun 07 2010 - 08:49:23 MDT

This archive was generated by hypermail 2.2.0 : Mon Jun 07 2010 - 12:00:08 MDT