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

2012-12-31 Thread Stefano Lattarini
On 12/31/2012 02:17 PM, Paolo Bonzini wrote: > Il 31/12/2012 11:32, Stefano Lattarini ha scritto: >> It is indeed possible that the real reason that pushed me to remove >> AM_CONFIG_HEADER was the fact that I got caught in a "cleanup frenzy" >> when I was removing other (real) cruft. You are start

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

2012-12-31 Thread Paolo Bonzini
Il 31/12/2012 11:32, Stefano Lattarini ha scritto: > It is indeed possible that the real reason that pushed me to remove > AM_CONFIG_HEADER was the fact that I got caught in a "cleanup frenzy" > when I was removing other (real) cruft. You are starting to partly > convince me of that. These patche

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

2012-12-31 Thread Stefano Lattarini
On 12/31/2012 11:04 AM, Paolo Bonzini wrote: > Il 31/12/2012 10:05, Stefano Lattarini ha scritto: >> On 12/30/2012 07:08 PM, Paolo Bonzini wrote: >>> Il 30/12/2012 11:23, Stefano Lattarini ha scritto: +AC_DEFUN([AM_CONFIG_HEADER], +[AC_FATAL(['$0': this macro is obsolete. +You sh

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

2012-12-31 Thread Paolo Bonzini
Il 31/12/2012 10:05, Stefano Lattarini ha scritto: > On 12/30/2012 07:08 PM, Paolo Bonzini wrote: >> 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.])]

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

2012-12-31 Thread Stefano Lattarini
On 12/30/2012 07:08 PM, Paolo Bonzini wrote: > 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 >

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

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

[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