[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help with autoconf / libtool



Hi,

On Thu, Jul 08, 2010 at 09:53:43AM +0200, Simon Richter wrote:
> On Wed, Jul 07, 2010 at 07:15:34PM +0200, Sebastian Harl wrote:
> >   libctapimkt_la_LDFLAGS = $(AM_LDFLAGS) -version-info @GENERIC_LIBRARY_VERSION@
> 
> Like that, except that $(AM_LDFLAGS) is implicit and doesn't need to be
> specified again here

Are you sure about that? At least some versions of automake do not
implicitly include AM_CFLAGS when explicitly specifying some _CFLAGS. I
never double-checked, but I'd expect that _LDFLAGS is handled the same.

> and @GENERIC_LIBRARY_VERSION@ is not a standard name, but rather
> something the other projects that use it have defined in their
> configure.ac (and I'd hardcode it in the Makefile.am).

Yep. In this case, that's already defined in configure.ac, though.

Cheers,
Sebastian

-- 
Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/

Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety.         -- Benjamin Franklin

Attachment: signature.asc
Description: Digital signature


Reply to: