Please add autoconf and automake to the buildroot

Chip Coldwell coldwell at redhat.com
Fri Sep 22 18:49:30 UTC 2006


On Fri, 22 Sep 2006, Steve Dickson wrote:

>
>
> Steve Grubb wrote:
>> If you patch Makefile.am, aren't you supposed to call automake, autoconf, & 
>> aclocal again to regenerate the Makefile.in & configure scripts? Your build 
>> should have failed calling them if you did not BR it.
> Again the point is the didn't fail because old, outdated configure
> files were used...

The situation is a bit more subtle here.  If a configure script
discovers that the configure.in template is newer, it automatically
runs autoconf to regenerate itself.  (Similarly for Makefile.am and
Makefile).  That is, unless there is no autoconf, in which case it
proceeds silently to (mis-)configure the build.

One could argue (as Steve does) that since the rpm %configure macro
implicitly invokes autoconf/automake, they should be part of the build
root.

I agree with Steve on this.

Chip

-- 
Charles M. "Chip" Coldwell
Senior Software Engineer
Red Hat, Inc
978-392-2426




More information about the Fedora-maintainers mailing list