Re: Libtool doesn't set -rpath automatically when needed?

2007-11-03 Thread Ralf Wildenhues
Hello Benoit, * Benoit SIGOURE wrote on Fri, Nov 02, 2007 at 10:34:13PM CET: > On GNU/Linux Debian with GCC 4.1 / Debian's libtool 1.5.22-4 > (1.1220.2.365 2005/12/18 22:14:06), I have Boost installed under /usr/ > local/lib (pre-built binaries: http://www.tsunanet.net/~tsuna/ > boost_1_34_1-i

Re: Libtool doesn't set -rpath automatically when needed?

2007-11-03 Thread Benoit SIGOURE
On Nov 3, 2007, at 9:53 AM, Ralf Wildenhues wrote: Hello Benoit, * Benoit SIGOURE wrote on Fri, Nov 02, 2007 at 10:34:13PM CET: On GNU/Linux Debian with GCC 4.1 / Debian's libtool 1.5.22-4 (1.1220.2.365 2005/12/18 22:14:06), I have Boost installed under / usr/ local/lib (pre-built binaries:

Re: Libtool doesn't set -rpath automatically when needed?

2007-11-03 Thread Ralf Wildenhues
* Benoit SIGOURE wrote on Sat, Nov 03, 2007 at 11:44:15AM CET: > On Nov 3, 2007, at 9:53 AM, Ralf Wildenhues wrote: > > > >Libtool doesn't add run paths to installed libraries without .la > >files. (How should it know that it should not only add > >/usr/local/lib, but also /opt/foo/lib because

Re: Libtool doesn't set -rpath automatically when needed?

2007-11-03 Thread Benoit SIGOURE
On Nov 3, 2007, at 12:57 PM, Ralf Wildenhues wrote: * Benoit SIGOURE wrote on Sat, Nov 03, 2007 at 11:44:15AM CET: OK great so maybe I can copy/paste the part of AC_PROG_LIBTOOL that does this in my own macro so I can portably figure out the -rpath/-R/ etc. options needed and then add them to B

Re: Libtool doesn't set -rpath automatically when needed?

2007-11-03 Thread Ralf Wildenhues
* Benoit SIGOURE wrote on Sat, Nov 03, 2007 at 02:52:25PM CET: > > Oh I see. Great. All in all, I think I do better document that > "libtool is required" because it does solve all sorts of problems. > What's the recommended way of doing this? Simply stating the > dependency in the docume

Libtool uses obsolete Autoconf macros

2007-11-03 Thread Benoit SIGOURE
Hello list, I don't know whether this is intended (for, say, backward compatibility with older Autoconf) but Libtool uses obsolete macros which generates "spurious" warning in my testsuite. Background info: I'm writing a set of M4 macros to properly use Boost with the Autotools, I had a pr

Re: Libtool uses obsolete Autoconf macros

2007-11-03 Thread Ralf Wildenhues
Hello Benoit, * Benoit SIGOURE wrote on Sat, Nov 03, 2007 at 10:52:31PM CET: > I don't know whether this is intended (for, say, backward > compatibility with older Autoconf) but Libtool uses obsolete macros > which generates "spurious" warning in my testsuite. Yes, exactly for backward compat