Re: Recursive AC_CONFIG_COMMANDS_PRE?

2013-02-17 Thread Nick Bowler
Hi Eric, sorry for the delay. On 2013-01-24, Eric Blake wrote: > On 01/23/2013 09:16 PM, Nick Bowler wrote: [...] > > A more complicated option would be a sort of "recursive" > > expansion of AC_OUTPUT_COMMANDS_PRE, such that invocations of > > AC_CONFIG_COMMANDS_PRE during the expansion are coll

[PATCH] AC_CONFIG_COMMANDS_PRE/POST: fix nested command registrations.

2013-02-17 Thread Nick Bowler
Currently, if a command registered with AC_CONFIG_COMMANDS_PRE itself calls AC_CONFIG_COMMANDS_PRE, such commands will never be executed. This occurs because each invocation of AC_CONFIG_COMMANDS_PRE appends the argument to one big macro (AC_OUTPUT_COMMANDS_PRE) which is then expanded once near the