Re: multilib and Makefile regeneration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/31/2009 11:11 PM, Ralf Wildenhues wrote:
The easiest for now would be (3), the coolest, most difficult and
probably most dangerous one would be (2).  Something like
   AC_CONFIG_FILES_COMMANDS(some/Makefile, more-user-commands,
                            [more-init-cmds])

but then the order of issuing this and the respective
   AC_CONFIG_FILES(some/Makefile)

would be significant.  I don't see any way to avoid this.

You could specify that AC_CONFIG_FILES comes first, and *_COMMANDS occurrences come later in the order that appears in the source (and do nothing unless the corresponding AC_CONFIG_FILES exists).

The simplest implementation would amount to two m4_append (actually one m4_append plus one _AC_CONFIG_COMMANDS_INIT) in AC_CONFIG_FILES_COMMANDS, and an m4_ifdef in _AC_CONFIG_REGISTER_DEST.

Paolo


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux