bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using autoconf-lib-link outside gettext


From: Hrvoje Niksic
Subject: Re: Using autoconf-lib-link outside gettext
Date: Fri, 20 May 2005 13:25:41 +0200
User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, linux)

Bruno Haible <address@hidden> writes:

> Hrvoje Niksic wrote:
>> I understand that the `autoconf-lib-link' subdirectory of the gettext
>> distribution contains the infrastructure needed to use
>> AC_LIB_LINKFLAGS in a separate program.  But there seem to be no
>> instructions on how to integrate this directory with an existing
>> program that uses Autoconf.
>
> This is correct. Here's some documentation.

Thanks for providing this documentation.  Is there a canonical
location for the M4 files and for `config.rpath'?

Is it possible to provide custom locations for certain libraries?  For
example, Wget's configure script looks for OpenSSL in the
system-default location, then in /usr/local/ssl (the location used by
OpenSSL's `make install'), then in /usr/local, then in /opt.  If the
user specifies a root directory, that one is used instead.  Is it
possible to similarly influence AC_LIB_LINKFLAGS?

It is sometimes also important to check for headers at the same time
when checking for the library.  How does AC_LIB_LINKFLAGS deal with
the issue of finding the correct -I invocation to go along with the
-L/-R invocations?


Another thing that doesn't seem to be covered is the relation between
this macro, and AC_CHECK_LIB.  Am I supposed to use both or does
AC_LIB_LINKFLAGS include everything one would expect AC_CHECK_LIB to
do?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]