[PATCHES] Better error messages if obsolete macros are used (was: Re: [PATCH] build: use AC_CONFIG_HEADERS, not AM_CONFIG_HEADER)

2012-12-30 Thread Stefano Lattarini
[-cc automake, -cc bug-sed, +cc automake-patches] Reference: I wrote: > > At any rate, I agree the error message caused by the abrupt removal > is horrible. I'll soon post a patch to have still-exiting uses of > AM_CONFIG_HEADER

Re: [PATCHES] Better error messages if obsolete macros are used

2012-12-30 Thread Stefano Lattarini
On 12/30/2012 11:23 AM, Stefano Lattarini wrote: > [-cc automake, -cc bug-sed, +cc automake-patches] > > Reference: > > > I wrote: >> >> At any rate, I agree the error message caused by the abrupt removal >> is horrible. I'll soo

[PATCH] NEWS: document removal of AM_PROG_MKDIR_P macro

2012-12-30 Thread Stefano Lattarini
Signed-off-by: Stefano Lattarini --- NEWS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/NEWS b/NEWS index 7bfaccb..ac723af 100644 --- a/NEWS +++ b/NEWS @@ -22,6 +22,13 @@ New in 1.14: * Obsolete features removed: + - The long-obsolete (since automake 1.10) AM_PROG_MKDIR m4 macr

Re: [PATCHES] Better error messages if obsolete macros are used

2012-12-30 Thread Paolo Bonzini
Il 30/12/2012 11:23, Stefano Lattarini ha scritto: > +AC_DEFUN([AM_CONFIG_HEADER], > +[AC_FATAL(['$0': this macro is obsolete. > +You should use the 'AC][_CONFIG_HEADERS' macro instead.])]) > + What's the point in doing this instead of m4_defun([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS]) or som