Using autoconf for a shared library

2016-08-15 Thread Thomas Nyberg
Hello, I've been reading the manuals for autoconf/automake and have been unable to get a setup working correctly with autoconf. I've written up a toy shared library and right now the Makefile has a rule to install the library directly to `/usr/local`. All I really want from autoconf is to be

Using autoconf for a shared library

2016-08-15 Thread Thomas Nyberg
Hello, I've been reading the manuals for autoconf/automake and have been unable to get a setup working correctly with autoconf. I've written up a toy shared library and right now the Makefile has a rule to install the library directly to `/usr/local`. All I really want from autoconf is to be

Using autoconf for a shared library

2016-08-15 Thread Thomas Nyberg
Hello, I've been reading the manuals for autoconf/automake and have been unable to get a setup working correctly with autoconf. I've written up a toy shared library and right now the Makefile has a rule to install the library directly to `/usr/local`. All I really want from autoconf is to be

Re: Using autoconf for a shared library

2016-08-15 Thread Basin Ilya
See attached tarball. Unpack, ./autoreconf -fi ./configure make make check make install DESTDIR=`pwd`/../library-dst >From your makefile: "so = libpublic.so" "lib_LTLIBRARIES = libpublic.la" "ldflags = -shared -Wl,-soname,$(so)" automatic (soname will be "*.so.0") "solinkname =

Re: Using autoconf for a shared library

2016-08-15 Thread Peter Johansson
Hi Thomas, On 08/16/2016 02:29 AM, Thomas Nyberg wrote: I've been reading the manuals for autoconf/automake and have been unable to get a setup working correctly with autoconf. I've written up a toy shared library and right now the Makefile has a rule to install the library directly to `/usr/