Re: CC configure (AC_CHECK_LIB macro) problem on Solaris

From: Henrik Nordström <henrik_at_henriknordstrom.net>
Date: Mon, 07 Jun 2010 09:18:48 +0200

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)

Regards
Henrik
Received on Mon Jun 07 2010 - 07:18:48 MDT

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