bug#13928: VPATH issues with subdir-objects

2013-06-08 Thread Stefano Lattarini
[+cc automake-patches] Reference: Hello everybody, sorry for the delay. On 11/03/2013 01:05 PM, Bert Wesarg wrote (more or less): > > But when I prefix a source file with '$(src)/' and use > subdir-objects then I get something like this in the

bug#13928: VPATH issues with subdir-objects

2013-03-12 Thread Bert Wesarg
> Regarding the actual bug: without knowing much (yet!) about the relevant > Automake internals, I'm a bit surprised that > > src = src > foo_SOURCES = $(src)/foo.c > > fails with subdir-objects, but on the other hand > > src = src/foo.c > foo_SOURCES = $(src) > > seems to work just fine...

bug#13928: VPATH issues with subdir-objects

2013-03-12 Thread Nick Bowler
On 2013-03-11 23:27 +0100, Stefano Lattarini wrote: > On 03/11/2013 10:33 PM, Nick Bowler wrote: > > On 2013-03-11 21:55 +0100, Stefano Lattarini wrote: > > [...] > >> - from Automake 2.0 onward, only enable the automatic dependency > >> tracking if GNU make is used; we can thus assume the pr

bug#13928: VPATH issues with subdir-objects

2013-03-11 Thread Stefano Lattarini
On 03/11/2013 10:33 PM, Nick Bowler wrote: > On 2013-03-11 21:55 +0100, Stefano Lattarini wrote: > [...] >> - from Automake 2.0 onward, only enable the automatic dependency >> tracking if GNU make is used; we can thus assume the presence >> of the "-include" directive >> Actually, to be m

bug#13928: VPATH issues with subdir-objects (was: [PATCH 1/2] preproc: add support for relative names in included fragments)

2013-03-11 Thread Nick Bowler
On 2013-03-11 21:55 +0100, Stefano Lattarini wrote: [...] > - from Automake 2.0 onward, only enable the automatic dependency > tracking if GNU make is used; we can thus assume the presence > of the "-include" directive (which ignore non-existing files, > rather than punting), and its

bug#13928: VPATH issues with subdir-objects (was: [PATCH 1/2] preproc: add support for relative names in included fragments)

2013-03-11 Thread Stefano Lattarini
On 03/11/2013 08:45 PM, Bert Wesarg wrote: > [ Removing patches@ and 13524@ from Cc. ] > I think it's better if this discussion remains public. I'm re-adding automake-patches, and since you have apparently uncovered a new bug in automake, I'm also re-adding bug-automake, so that this discussion wi