bug#12142: automake tries to compile a program when 'foo' and 'foo.cxx' exist (though the former is header)

2012-08-06 Thread Michał Górny
On Mon, 06 Aug 2012 09:38:08 +0200 Stefano Lattarini wrote: > On 08/05/2012 11:45 AM, Michał Górny wrote: > > autoconf: 2.69 > > automake: 1.12.2 > > libtool: 2.4.2 > > > Also, which version of make are you using? GNU Make 3.82 > > My library was structured like the following: > > > > - src/fo

bug#12142: automake tries to compile a program when 'foo' and 'foo.cxx' exist (though the former is header)

2012-08-06 Thread Stefano Lattarini
On 08/06/2012 10:41 AM, Jack Kelly wrote: > On Mon, Aug 6, 2012 at 5:38 PM, Stefano Lattarini > wrote: >> On 08/05/2012 11:45 AM, Michał Górny wrote: >>> My library was structured like the following: >>> >>> - src/foo (the header file), >>> >> Why not simply using a more usual name like 'foo.h' fo

bug#12142: automake tries to compile a program when 'foo' and 'foo.cxx' exist (though the former is header)

2012-08-06 Thread Jack Kelly
On Mon, Aug 6, 2012 at 5:38 PM, Stefano Lattarini wrote: > On 08/05/2012 11:45 AM, Michał Górny wrote: >> My library was structured like the following: >> >> - src/foo (the header file), >> > Why not simply using a more usual name like 'foo.h' for 'foo.hxx'? > That would be unlikely to trigger une

bug#12142: automake tries to compile a program when 'foo' and 'foo.cxx' exist (though the former is header)

2012-08-06 Thread Stefano Lattarini
tags 12142 notabug thanks On 08/05/2012 11:45 AM, Michał Górny wrote: > autoconf: 2.69 > automake: 1.12.2 > libtool: 2.4.2 > Also, which version of make are you using? > Hello, > > I was writing a C++ library and I think I hit a pretty ugly bug within > automake. > What you describe below is not