bug#13378: [IMPORTANT] Make the 'subdir-objects' setup the default, and only available one

2013-01-08 Thread Stefano Lattarini
On 01/08/2013 11:03 PM, Peter Rosin wrote: > > [BIG SNIP] > >> Then again, in the longer term, wouldn't it be better to provide a >> (GNU or non-GNU) package meant to wrap all this MSVC incompatibilities >> in a secluded place, instead of having Automake chase all this >> intricacies with mixed for

bug#13378: [IMPORTANT] Make the 'subdir-objects' setup the default, and only available one

2013-01-08 Thread Peter Rosin
On 2013-01-08 22:42, Stefano Lattarini wrote: > On 01/08/2013 10:06 PM, Peter Rosin wrote: >> On 2013-01-08 16:15, Stefano Lattarini wrote: >>> That would be overkill, since AM_PROG_CC_C_O is only required by >>> projects doing C compilation. >> >> Hi, >> >> However, a notorious C++ compiler from R

bug#13378: [IMPORTANT] Make the 'subdir-objects' setup the default, and only available one

2013-01-08 Thread Stefano Lattarini
On 01/08/2013 10:11 PM, Peter Rosin wrote: > On 2013-01-08 20:27, Stefano Lattarini wrote: >> On 01/08/2013 04:29 PM, Eric Blake wrote: >>> On 01/08/2013 08:15 AM, Stefano Lattarini wrote: In addition, AM_PROG_CC_C_O is not required by projects that don't care about catering to inferior

bug#13378: [IMPORTANT] Make the 'subdir-objects' setup the default, and only available one

2013-01-08 Thread Peter Rosin
On 2013-01-08 20:27, Stefano Lattarini wrote: > On 01/08/2013 04:29 PM, Eric Blake wrote: >> On 01/08/2013 08:15 AM, Stefano Lattarini wrote: >>> In addition, AM_PROG_CC_C_O is not required by >>> projects that don't care about catering to inferior compilers. >> >> How much speed penalty and confi

bug#13378: [IMPORTANT] Make the 'subdir-objects' setup the default, and only available one

2013-01-08 Thread Peter Rosin
On 2013-01-08 16:15, Stefano Lattarini wrote: > That would be overkill, since AM_PROG_CC_C_O is only required by > projects doing C compilation. Hi, However, a notorious C++ compiler from Redmond is inferior also in its C++ mode and would benefit from an AM_PROG_CXX_C_O variant. If the meat of AM

bug#13378: [IMPORTANT] Make the 'subdir-objects' setup the default, and only available one

2013-01-08 Thread Stefano Lattarini
On 01/08/2013 04:29 PM, Eric Blake wrote: > On 01/08/2013 08:15 AM, Stefano Lattarini wrote: >> That would be overkill, since AM_PROG_CC_C_O is only required by >> projects doing C compilation. Also, IIRC, that macro needs to be >> called after AC_PROG_CC, while AM_INIT_AUTOMAKE is typically invok

bug#13378: [IMPORTANT] Make the 'subdir-objects' setup the default, and only available one

2013-01-08 Thread Stefano Lattarini
[+cc automake-patches] Reference: On 01/08/2013 05:00 PM, Nick Bowler wrote: > On 2013-01-08 16:15 +0100, Stefano Lattarini wrote: >> On 01/08/2013 03:53 PM, Nick Bowler wrote: > [...] >>> I don't think AM_PROG_CC_C_O is optional at all when

bug#13378: [IMPORTANT] Make the 'subdir-objects' setup the default, and only available one

2013-01-08 Thread Nick Bowler
On 2013-01-08 16:15 +0100, Stefano Lattarini wrote: > On 01/08/2013 03:53 PM, Nick Bowler wrote: [...] > > I don't think AM_PROG_CC_C_O is optional at all when subdir-objects is > > enabled. > > I seem to recall differently (in fact, in Automake-NG, 'subdir-objects' > has already been made mandator

bug#13378: [IMPORTANT] Make the 'subdir-objects' setup the default, and only available one

2013-01-08 Thread Eric Blake
On 01/08/2013 08:15 AM, Stefano Lattarini wrote: > That would be overkill, since AM_PROG_CC_C_O is only required by > projects doing C compilation. Also, IIRC, that macro needs to be > called after AC_PROG_CC, while AM_INIT_AUTOMAKE is typically invoked > before AC_PROG_CC. But with m4, you can a

bug#13378: [IMPORTANT] Make the 'subdir-objects' setup the default, and only available one

2013-01-08 Thread Stefano Lattarini
Hi Nick. On 01/08/2013 03:53 PM, Nick Bowler wrote: > On 2013-01-08 13:17 +0100, Stefano Lattarini wrote: >> Actually, the warning about a missing AM_PROG_CC_C_O will be automatically >> given once the user has added 'subdir-objects' to the AUTOMAKE_OPTIONS. >> >> - the user sees the warning abo

bug#13378: [IMPORTANT] Make the 'subdir-objects' setup the default, and only available one

2013-01-08 Thread Nick Bowler
On 2013-01-08 13:17 +0100, Stefano Lattarini wrote: > Actually, the warning about a missing AM_PROG_CC_C_O will be automatically > given once the user has added 'subdir-objects' to the AUTOMAKE_OPTIONS. > > - the user sees the warning about missing 'subdir-objects' option; > - he adds it to AM

bug#13351: [IMPORTANT] Dropping support for split '.info' files in mainline Automake

2013-01-08 Thread Stefano Lattarini
On 01/07/2013 08:30 PM, Stefano Lattarini wrote: > Reference: > > > On 01/04/2013 05:43 PM, Stefano Lattarini wrote: >> Hi Thien-Thi, thanks for the feedback. >> >> On 01/04/2013 03:07 PM, Thien-Thi Nguyen wrote: >>> () Stefano Lattarini >>> ()

bug#13378: [IMPORTANT] Make the 'subdir-objects' setup the default, and only available one

2013-01-08 Thread Stefano Lattarini
On 01/08/2013 11:35 AM, Stefano Lattarini wrote: >> >> this warning (given when there are C - or other? - sources in subdirs) >> should also mention the need to use AM_PROG_CC_C_O. >> > Agreed. > Actually, the warning about a missing AM_PROG_CC_C_O will be automatically given once the user has adde

bug#13378: [IMPORTANT] Make the 'subdir-objects' setup the default, and only available one

2013-01-08 Thread Stefano Lattarini
On 01/08/2013 10:57 AM, Peter Breitenlohner wrote: > On Mon, 7 Jan 2013, Stefano Lattarini wrote: > >> Alas, since this also means changing the default behaviour of Automake >> ('subdir-objects' is not enabled by default, sadly), this means the >> transition path will be less smooth than I'd like.

bug#13378: [IMPORTANT] Make the 'subdir-objects' setup the default, and only available one

2013-01-08 Thread Peter Breitenlohner
On Mon, 7 Jan 2013, Stefano Lattarini wrote: Alas, since this also means changing the default behaviour of Automake ('subdir-objects' is not enabled by default, sadly), this means the transition path will be less smooth than I'd like. Here it is a sketch for it: Automake 1.13.2 -