bug#7800: automake fails to honor `-d' in AM_YFLAGS when variable expansions are involved

2011-01-07 Thread Stefano Lattarini
severity: wishlist thanks -*-*- Hello automakers. Currently, automake is not smart enough to resolve variable expansions in AM_YFLAGS (or foo_YFLAGS) when scanning them for the `-d' flag. For example: $ cat configure.ac AC_INIT(x,0) AM_INIT_AUTOMAKE(foreign) AC_PROG_CC AC_PROG_YACC

bug#7800: automake fails to honor `-d' in AM_YFLAGS when variable expansions are involved

2011-01-07 Thread Ralf Wildenhues
Hi Stefano, thanks for the report. * Stefano Lattarini wrote on Fri, Jan 07, 2011 at 03:36:43PM CET: > Currently, automake is not smart enough to resolve variable expansions > in AM_YFLAGS (or foo_YFLAGS) when scanning them for the `-d' flag. value_as_list_recursive can usually help here. > Not

bug#7800: automake fails to honor `-d' in AM_YFLAGS when variable expansions are involved

2011-01-07 Thread Ralf Corsepius
On 01/07/2011 03:36 PM, Stefano Lattarini wrote: severity: wishlist thanks -*-*- Hello automakers. Currently, automake is not smart enough to resolve variable expansions in AM_YFLAGS (or foo_YFLAGS) when scanning them for the `-d' flag. For example: $ cat configure.ac AC_INIT(x,0) A

bug#7800: automake fails to honor `-d' in AM_YFLAGS when variable expansions are involved

2011-01-07 Thread Stefano Lattarini
On Friday 07 January 2011, Ralf Wildenhues wrote: > Hi Stefano, > > thanks for the report. > > * Stefano Lattarini wrote on Fri, Jan 07, 2011 at 03:36:43PM CET: > > Currently, automake is not smart enough to resolve variable expansions > > in AM_YFLAGS (or foo_YFLAGS) when scanning them for the `

bug#7800: [PATCHES] yacc: support variable expansions in *YFLAGS definition (was: Re: bug#7800: automake fails to honor `-d' in AM_YFLAGS when variable expansions are involved)

2011-01-07 Thread Stefano Lattarini
Reference: On Friday 07 January 2011, Ralf Wildenhues wrote: > Hi Stefano, > > thanks for the report. > > * Stefano Lattarini wrote on Fri, Jan 07, 2011 at 03:36:43PM CET: > > Currently, automake is not smart enough to resolve variable expansi

bug#7804: Automake does not warn if AM_YFLAGS is conditionally extended

2011-01-07 Thread Stefano Lattarini
Hello automakers. Due to current implementation details, when dealing with Yacc sources, automake must know the contents of the `$(AM_YFLAGS)' variable (or similar `$(foo_YFLAGS)' variables) *statically and unconditionally* in order to always generate proper code. This is due to the special hand

bug#7800: automake fails to honor `-d' in AM_YFLAGS when variable expansions are involved

2011-01-07 Thread Ralf Corsepius
On 01/07/2011 07:53 PM, Ralf Wildenhues wrote: Hello Ralf, * Ralf Corsepius wrote on Fri, Jan 07, 2011 at 05:52:54PM CET: On 01/07/2011 03:36 PM, Stefano Lattarini wrote: Currently, automake is not smart enough to resolve variable expansions in AM_YFLAGS (or foo_YFLAGS) when scanning them for