[PATCH 0/5] Add Objective C++ support in Automake

2012-04-27 Thread Stefano Lattarini
Hi Peter, thanks for the patches. I've applied them locally, fixed some trivial typos and blunders, and I'm sending them out for a new round of review. Note that I still am a bit unsatisfied with the state of the tests, and will report my objections in a reply to the relevant patch (later,

[PATCH 3/5] objc++: test support for '.mm' suffix in _SOURCES enrries

2012-04-27 Thread Stefano Lattarini
From: Peter Breitenlohner p...@mppmu.mpg.de * t/ext.sh: Enhance by adding a file with the '.mm' suffix in the 'foo_SOURCES' definition. * t/nodep2.sh: Likewise. Signed-off-by: Peter Breitenlohner p...@mppmu.mpg.de Signed-off-by: Stefano Lattarini stefano.lattar...@gmail.com --- t/ext.sh|

[PATCH 2/5] objc++: add documentation

2012-04-27 Thread Stefano Lattarini
From: Peter Breitenlohner p...@mppmu.mpg.de * doc/automake.texi (Objective C++ Support): New node. (How the Linker is Chosen, Support for Other Languages): Adjust. Signed-off-by: Peter Breitenlohner p...@mppmu.mpg.de Signed-off-by: Stefano Lattarini stefano.lattar...@gmail.com ---

[PATCH 4/5] news: announce initial support for Objective C++

2012-04-27 Thread Stefano Lattarini
Signed-off-by: Stefano Lattarini stefano.lattar...@gmail.com --- NEWS |7 +++ 1 file changed, 7 insertions(+) diff --git a/NEWS b/NEWS index 4e49512..4cca603 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,10 @@ +New in 1.12.1: + +* New supported languages: + + - Support for Objective C++ has

[PATCH 1/5] objc++: initial support for Objective C++

2012-04-27 Thread Stefano Lattarini
From: Peter Breitenlohner p...@mppmu.mpg.de Original thread (dating back to almost three years ago): http://lists.gnu.org/archive/html/automake-patches/2009-07/msg00016.html * automake.in: Register new language 'objcxx'. (lang_objcxx_rewrite): New subroutine. (resolve_linker): Add OBJCXXLINK.

[PATCH 5/5] objc++: add first tests

2012-04-27 Thread Stefano Lattarini
From: Peter Breitenlohner p...@mppmu.mpg.de * t/objcxx-basic.test: New test. * t/objcxx-demo.test: Likewise. * t/list-of-tests.mk: Add them. Signed-off-by: Peter Breitenlohner p...@mppmu.mpg.de Signed-off-by: Stefano Lattarini stefano.lattar...@gmail.com --- t/list-of-tests.mk |2 ++

Re: [PATCH 5/5] objc++: add first tests

2012-04-27 Thread Stefano Lattarini
On 04/27/2012 10:19 AM, Stefano Lattarini wrote: From: Peter Breitenlohner p...@mppmu.mpg.de * t/objcxx-basic.test: New test. * t/objcxx-demo.test: Likewise. * t/list-of-tests.mk: Add them. Signed-off-by: Peter Breitenlohner p...@mppmu.mpg.de Signed-off-by: Stefano Lattarini

Re: bug#11356: automake 1.12 and (C) 2011

2012-04-27 Thread Stefano Lattarini
tags 11356 + patch severity 11356 minor close 11356 thanks On 04/27/2012 05:30 AM, Peter Johansson wrote: Hello, Hi Peter, thanks for the report. Just a tiny nit. After installing the new version (1.12) of automake I noticed that 'automake --version' outputs: automake (GNU automake) 1.12

[PATCH] {master} m4: delete several obsolete macros

2012-04-27 Thread Stefano Lattarini
Support for several obsolescent macros has already been deprecated, and their removal already announced in the documentation and in the NEWS file. It's now time to finally remove them. * m4/dmalloc.m4 (fp_WITH_DMALLOC): Don't define anymore. * m4/maintainer.m4 (jm_MAINTAINER_MODE): Likewise. *

Re: [PATCH 5/5] objc++: add first tests

2012-04-27 Thread Peter Breitenlohner
On Fri, 27 Apr 2012, Stefano Lattarini wrote: diff --git a/t/objcxx-demo.sh b/t/objcxx-demo.sh new file mode 100755 index 000..7af089f --- /dev/null +++ b/t/objcxx-demo.sh @@ -0,0 +1,61 @@ +#! /bin/sh +# Demo package using Objective C++ and doing distcheck. + +required='cc c++' +. ./defs

Re: [PATCH 5/5] objc++: add first tests

2012-04-27 Thread Stefano Lattarini
Hi Peter, thanks for the quick reply. On 04/27/2012 12:00 PM, Peter Breitenlohner wrote: On Fri, 27 Apr 2012, Stefano Lattarini wrote: diff --git a/t/objcxx-demo.sh b/t/objcxx-demo.sh new file mode 100755 index 000..7af089f --- /dev/null +++ b/t/objcxx-demo.sh @@ -0,0 +1,61 @@ +#!

Re: bug#11356: automake 1.12 and (C) 2011

2012-04-27 Thread Eric Blake
On 04/27/2012 03:18 AM, Stefano Lattarini wrote: tags 11356 + patch severity 11356 minor close 11356 thanks On 04/27/2012 05:30 AM, Peter Johansson wrote: Hello, Hi Peter, thanks for the report. Just a tiny nit. After installing the new version (1.12) of automake I noticed that

Re: bug#11356: automake 1.12 and (C) 2011

2012-04-27 Thread Stefano Lattarini
Hi Eric, thanks for the suggestion. On 04/27/2012 02:05 PM, Eric Blake wrote: aclocal (GNU $PACKAGE) $VERSION -Copyright (C) 2011 Free Software Foundation, Inc. +Copyright (C) 2012 Free Software Foundation, Inc. But this is still prone to error next year. Since this is already a .in

[PATCH] {maint} bootstrap: add convenience make target

2012-04-27 Thread Stefano Lattarini
Dependencies in the Automake build system are not completely specified (see for example the commit log of recent commit 'v1.12-10-gab14841', build: avoid too greedy rebuilds in the testsuite). In fact, some of them cannot even be; for example, Makefile is generated at configure time from

Re: [PATCH] {maint} bootstrap: add convenience make target

2012-04-27 Thread Eric Blake
On 04/27/2012 11:35 AM, Stefano Lattarini wrote: Dependencies in the Automake build system are not completely specified (see for example the commit log of recent commit 'v1.12-10-gab14841', build: avoid too greedy rebuilds in the testsuite). In fact, some of them cannot even be; for example,

Re: [PATCH] {maint} bootstrap: add convenience make target

2012-04-27 Thread Stefano Lattarini
Hi Eric, thanks for the quick feedback. On 04/27/2012 07:49 PM, Eric Blake wrote: On 04/27/2012 11:35 AM, Stefano Lattarini wrote: Dependencies in the Automake build system are not completely specified (see for example the commit log of recent commit 'v1.12-10-gab14841', build: avoid too

[PATCH] {master} aclocal: remove the --acdir option

2012-04-27 Thread Stefano Lattarini
It not documented in the manual anymore, its use has already been causing a deprecation warning, and its oncoming removal has already been announced in the NEWS file. So let's finally remove it. * aclocal.in (parse_arguments): Don't recognize the '--acdir' option anymore. (handle_acdir_option):

Re: bug#11356: automake 1.12 and (C) 2011

2012-04-27 Thread Jack Kelly
On Fri, Apr 27, 2012 at 10:05 PM, Eric Blake ebl...@redhat.com wrote: On 04/27/2012 03:18 AM, Stefano Lattarini wrote: On 04/27/2012 05:30 AM, Peter Johansson wrote: +++ b/aclocal.in @@ -840,9 +840,8 @@ $output;    # name in the header.    $output = # generated automatically by aclocal

Re: bug#11356: automake 1.12 and (C) 2011

2012-04-27 Thread Stefano Lattarini
On 04/28/2012 12:36 AM, Jack Kelly wrote: On Fri, Apr 27, 2012 at 10:05 PM, Eric Blake ebl...@redhat.com wrote: On 04/27/2012 03:18 AM, Stefano Lattarini wrote: On 04/27/2012 05:30 AM, Peter Johansson wrote: +++ b/aclocal.in @@ -840,9 +840,8 @@ $output; # name in the header. $output =