[PATCH] Use automake (v5)

Jon Turney jon.turney@dronecode.org.uk
Tue Apr 27 18:32:03 GMT 2021

On 27/04/2021 18:00, Ken Brown wrote:
> On 4/27/2021 12:52 PM, Ken Brown wrote:
>> On 4/27/2021 11:50 AM, Jon Turney wrote:
>>> On 20/04/2021 21:13, Jon Turney wrote:
>>>> For ease of reviewing, this patch doesn't contain changes to generated
>>>> files which would be made by running ./autogen.sh.
>>>   I pushed this patch.
>>> If you have an existing build directory, while you might get away 
>>> with invoking 'make' at the top-level, I would recommend blowing it 
>>> away and configuring again.
>> I'm confused about how the generated files are going to get 
>> regenerated when necessary.  I see calls to autogen (which I guess is 
>> /usr/bin/autogen.exe from the autogen package) in the Makefiles, but I 

That's some cygnus top-level weirdness I don't understand.

>> don't see any calls to autogen.sh. Is the latter no longer needed?

There is (still) an autogen.sh in winsup/ ...

> Oh, never mind.  The Makefiles just call autoconf, etc., as needed.

... but you should now never need to explicitly use it, as 
('maintainer-mode') rules now exist in the Makefile to do what's needed.

If you do need to make changes in the autofoolery which are going to be 
pushed, then specific versions of the autotools still need to be used 
(to avoid these generated files thrashing between forms generated by 
different versions)

More information about the Cygwin-patches mailing list