[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Non-standard link paths
From: |
Albert Chin |
Subject: |
Re: Non-standard link paths |
Date: |
Thu, 29 Jan 2004 14:23:58 -0600 |
User-agent: |
Mutt/1.4i |
On Thu, Jan 29, 2004 at 12:19:48PM -0700, Kevin P. Fleming wrote:
> Bob Friesenhahn wrote:
>
> >Using --with-foo=/path/to/foo is not Autoconf standard. It is a
> >popular scheme added by many packages since it seems more
> >user-friendly. However, the portability of this depends on how
> >sophisticated the implementation is. It may work on just a few
> >operating systems or with a few compilers.
>
> I've found that the use of libtool negates some of these problems;
> telling libtool what you want to link against will allow it to decide
> whether LD_RUN_PATH/rpath is the right way to go, or if static linking
> will be required or whatever.
That doesn't help during the ./configure run. Bruno Haible (gettext
maintainer) has a solution for what you want:
http://mail.gnu.org/archive/html/autoconf/2002-05/msg00124.html
--
albert chin (address@hidden)