On 01/08/2013 11:35 AM, Stefano Lattarini wrote: >> >> this warning (given when there are C - or other? - sources in subdirs) >> should also mention the need to use AM_PROG_CC_C_O. >> > Agreed. > Actually, the warning about a missing AM_PROG_CC_C_O will be automatically given once the user has added 'subdir-objects' to the AUTOMAKE_OPTIONS.
- the user sees the warning about missing 'subdir-objects' option; - he adds it to AM_INIT_AUTOMAKE, and calls "autoreconf"; - he now sees the warning about AM_PROG_CC_C_O that is now triggered by the presence of 'subdir-objects'; - he add AM_PROG_CC_C_O to configure.ac, and calls autoreconf. However, I see that it would be nice to try to be smarter and give the warning right away, to save the user that potentially annoy second bootstrap. So I still think your suggestion is a good idea. Thanks, Stefano