Re: Using libtool for linking

2007-08-20 Thread Benoit SIGOURE
On Aug 17, 2007, at 8:42 PM, Jason Curl wrote: Peter O'Gorman wrote: On Fri, 2007-08-17 at 13:29 +0200, Jason Curl wrote: As for testing the situation, AC_CHECK_LIB makes me believe it will work. But it only works in a subset of cases (i.e. static only). I have another implementation that

Re: Using libtool for linking

2007-08-17 Thread Jason Curl
Ralf Wildenhues wrote: Then this condition needs to be testable. I see two options: - Automatically disable shared libraries on this platform - Link statically from this library to our shared library There are more options; see below. FWIW, I typically use notation that's the other way ro

Re: Using libtool for linking

2007-08-17 Thread Jason Curl
Peter O'Gorman wrote: On Fri, 2007-08-17 at 13:29 +0200, Jason Curl wrote: As for testing the situation, AC_CHECK_LIB makes me believe it will work. But it only works in a subset of cases (i.e. static only). I have another implementation that I can compile in but at the moment there is no i

Re: Using libtool for linking

2007-08-17 Thread Ralf Wildenhues
* Jason Curl wrote on Fri, Aug 17, 2007 at 01:29:36PM CEST: > Bob Friesenhahn wrote: >> >> Perhaps the authors of libiberty do not expect that it will be used by >> anyone else. I don't think so. > Then this condition needs to be testable. I see two options: > - Automatically disable shared libr

Re: Using libtool for linking

2007-08-17 Thread Peter O'Gorman
On Fri, 2007-08-17 at 13:29 +0200, Jason Curl wrote: > > As for testing the situation, AC_CHECK_LIB makes me believe it will > work. But it only works in a subset of cases (i.e. static only). I have > another implementation that I can compile in but at the moment there is > no indication I shou

Re: Using libtool for linking

2007-08-17 Thread Jason Curl
Bob Friesenhahn wrote: On Fri, 17 Aug 2007, Jason Curl wrote: I have a system that supports shared libraries (Solaris 9). As part of some checks for 'getopt_long' I check if it exists in 'libiberty' if I can't find it in the standard system. It's there in libiberty. Now the problem occurs be

Re: Using libtool for linking

2007-08-16 Thread Bob Friesenhahn
On Fri, 17 Aug 2007, Jason Curl wrote: I have a system that supports shared libraries (Solaris 9). As part of some checks for 'getopt_long' I check if it exists in 'libiberty' if I can't find it in the standard system. It's there in libiberty. Now the problem occurs because there's only "libi

Using libtool for linking

2007-08-16 Thread Jason Curl
Hello, I've been testing my library now on various platforms and have come across something else that I didn't expect. I have a system that supports shared libraries (Solaris 9). As part of some checks for 'getopt_long' I check if it exists in 'libiberty' if I can't find it in the standard s