[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using autoconf for a shared library
From: |
Peter Johansson |
Subject: |
Re: Using autoconf for a shared library |
Date: |
Tue, 16 Aug 2016 10:44:39 +1000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2 |
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/local`. All I really want from autoconf
is to be able to have `--prefix` user-configurable. I figured it was
better to use autoconf/automake than reinvent the wheel, but I'm
totally unable to get it working.
For shared libraries and Automake, I'd have a look at libtool. Start
with the chapter in the Automake manual
https://www.gnu.org/software/automake/manual/automake.html#A-Shared-Library
Cheers,
Peter