Proposal: proactive search for autofoo bugs

Alexander E. Patrakov patrakov at ums.usu.ru
Mon Aug 15 05:24:50 PDT 2005


Bryan Kadzban wrote:
> Alexander E. Patrakov wrote:
> 
>>The two cases (forgotten config.h.in entry and obsolete code) cannot
>>be distinguished from each other automatically. One of them is a bug.
> 
> I thought manually setting up config.h.in was obsolete -- aren't people
> supposed to be using AC_DEFINE/AC_DEFINE_UNQUOTED in their configure.ac
> file, and then have autoheader take those declarations and turn them
> into config.h.in files?

Correct. But it's easier for the script to base its checks on the 
contents of config.h.in, not configure.ac.

> Depending on the developers' version of autoheader, it might be possible
> to fix this by just running it on either configure.ac or configure.in
> (for the packages that still use the old filename).

No, if the relevant check is not in configure.ac. Please provide the 
sequence of autocommands that actually fix the gawk-3.1.5 bug :)

-- 
Alexander E. Patrakov



More information about the lfs-dev mailing list