Re: variables in _SOURCES

2016-06-12 Thread Mathieu Lirzin
Hello, Daniel Pocock <dan...@pocock.pro> writes: > According to the "Warning" in this page[1], it is not permitted to use > variables in _SOURCES. Is this deliberate or is it a bug? > > In our project, we started getting the warnings about subdir

Re: variables in _SOURCES

2016-06-12 Thread Bert Wesarg
Daniel, this is still a known bug in released versions of autotools, see http://debbugs.gnu.org/13928 Best, Bert On Sun, Jun 12, 2016 at 9:22 AM, Daniel Pocock <dan...@pocock.pro> wrote: > > > According to the "Warning" in this page[1], it is not permitted to us

Re: variables in _SOURCES

2016-06-12 Thread Gavin Smith
> configure: > > ./configure ... \ >--with-python \ >PYCXX_SRCDIR=/usr/share/python2.7/CXX/Python2 > > > Makefile.am: > > nodist_libpyroute_la_SOURCES = $(PYCXX_SRCDIR)/cxxextensions.c > nodist_libpyroute_la_SOURCES += $(PYCXX_SRCDIR)/cxx_extensions.cxx > nodist_libpyroute_la_SOURCES +=

variables in _SOURCES

2016-06-12 Thread Daniel Pocock
According to the "Warning" in this page[1], it is not permitted to use variables in _SOURCES. Is this deliberate or is it a bug? In our project, we started getting the warnings about subdir-objects and so we added[2] AM_INIT_AUTOMAKE([foreign subdir-objects]) However, since

Re: Using Variables in *_SOURCES

2005-10-20 Thread Stepan Kasal
Hello, On Wed, Oct 19, 2005 at 09:14:19PM +, Seth Greenfield wrote: Hello, I understand that you cannot place any type of variable in a _SOURCES variable. I think you can: COMMON = ... foo_SOURCES = $(COMMON) foo.c bar_SOURCES = $(COMMON) bar.c HTH, Stepan Kasal

Re: Using Variables in *_SOURCES

2005-10-20 Thread Seth Greenfield
Hi, I'm using version 1.4 of automake. Is this something that is changed in newer versions? Thanks, Seth On 10/20/05, Stepan Kasal [EMAIL PROTECTED] wrote: Hello, On Wed, Oct 19, 2005 at 09:14:19PM +, Seth Greenfield wrote: Hello, I understand that you cannot place any type

Re: Using Variables in *_SOURCES

2005-10-20 Thread Ralf Wildenhues
Hi Seth, * Seth Greenfield wrote on Thu, Oct 20, 2005 at 01:34:30PM CEST: On 10/20/05, Stepan Kasal [EMAIL PROTECTED] wrote: COMMON = ... foo_SOURCES = $(COMMON) foo.c bar_SOURCES = $(COMMON) bar.c I'm using version 1.4 of automake. Is this something that is changed in newer

Re: Using Variables in *_SOURCES

2005-10-20 Thread Stepan Kasal
Hello, On Thu, Oct 20, 2005 at 07:34:30AM -0400, Seth Greenfield wrote: I'm using version 1.4 of automake. Is this something that is changed in newer versions? this is probable. There is a huge difference between Automake 1.4 and automake = 1.5. I recommend that you try Automake 1.9.6,

Using Variables in *_SOURCES

2005-10-19 Thread Seth Greenfield
Hello, I understand that you cannot place any type of variable in a _SOURCES variable. My problem is that I have multiple applications which compile code from a common code base. However, I cannot create a library of this common code, because the code makes references to the individual