bug-automake
[Top][All Lists]
Advanced

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

Re: pointless automake error about libtool libraries


From: Ralf Wildenhues
Subject: Re: pointless automake error about libtool libraries
Date: Mon, 21 Aug 2006 18:39:17 +0200
User-agent: Mutt/1.5.12 (2006-08-10)

Hello Bruno,

* Bruno Haible wrote on Mon, Aug 21, 2006 at 05:59:09PM CEST:
> 
> In the case I'm presenting, it's different. There is no $(noinstdir).
> One specification gives no installation directory, and the other one
> gives 1 installation directory. 0 + 1 < 2. There is no conflict.

But this would still prevent automake to warn the user when he used
  noinst_LTLIBRARIES = libfoo.la
  lib_LTLIBRARIES = libfoo.la

but really meant to use
  if COND_FOO
  noinst_LTLIBRARIES = libfoo.la
  else
  lib_LTLIBRARIES = libfoo.la
  endif

or
  EXTRA_LTLIBRARIES = libfoo.la
  noinst_LTLIBRARIES = @substituted1@
  lib_LTLIBRARIES = @substituted2@

I'm sorry but I still fail to see the added value.  gnulib-tool could be
made smart enough to output the right thing in the first place, or let
configure compute where to put the library.

Cheers,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]