From: | Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Andres Freund <andres(at)anarazel(dot)de> |
Cc: | pgsql-hackers(at)lists(dot)postgresql(dot)org, Noah Misch <noah(at)leadboat(dot)com> |
Subject: | Re: renaming configure.in to configure.ac |
Date: | 2020-07-17 08:46:30 |
Message-ID: | b4c4a0a3-1d04-e747-12dd-6ca0eb8d797d@2ndquadrant.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 2020-07-16 18:17, Tom Lane wrote:
> Andres Freund <andres(at)anarazel(dot)de> writes:
>> I think it'd be a good plan to adopt the beta on master.
>
>> We already have parts of it backpacked, there have been things we couldn't easily do because of bugs in 2.69. There aren't that many changes to configure it total, and particularly not in the back branches. So I think it'd be ok overhead wise.
>
> Yeah. Because we'd want to rip out those hacks, it's not quite as simple
> as "regenerate configure with this other autoconf version"; somebody will
> have to do some preliminary investigation and produce a patch for the
> autoconf input files. Peter, were you intending to do that?
Okay, let's take a look. Attached is a patch series.
v1-0001-Rename-configure.in-to-configure.ac.patch
This is unsurprising.
v1-0002-Update-to-Autoconf-2.69b.patch.bz2
This runs auto(re)conf 2.69b and cleans up a minimal amount of obsoleted
stuff.
The bulk of the changes in the produced configure are from the change
from echo to printf. Not much else that's too interesting. I think a
lot of the compatibility/testing advisories relate to the way you write
your configure.ac, not so much to the produced shell code.
v1-0003-Remove-check_decls.m4-obsoleted-by-Autoconf-updat.patch
This is something we had backported and is now no longer necessary.
Note that there are no significant changes in the produced configure,
which is good.
v1-0004-configure.ac-Remove-_DARWIN_USE_64_BIT_INODE-hack.patch
This is also something that has been obsoleted.
I'm not immediately aware of anything else that can be removed, cleaned,
or simplified.
One thing that's annoying is that the release notes claim that configure
should now be faster, and some of the changes they have made should
support that, but my (limited) testing doesn't bear that out. Most
notably, the newly arisen test
checking for g++ option to enable C++11 features... none needed
takes approximately 10 seconds(!) on my machine (for one loop, since
"none needed"; good luck if you need more than none).
This clearly depends on a lot of specifics of the environment, so some
more testing would be useful. This is perhaps something we can
construct some useful feedback for.
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Attachment | Content-Type | Size |
---|---|---|
v1-0001-Rename-configure.in-to-configure.ac.patch | text/plain | 6.3 KB |
v1-0002-Update-to-Autoconf-2.69b.patch.bz2 | application/x-bzip2 | 68.2 KB |
v1-0003-Remove-check_decls.m4-obsoleted-by-Autoconf-updat.patch | text/plain | 6.0 KB |
v1-0004-configure.ac-Remove-_DARWIN_USE_64_BIT_INODE-hack.patch | text/plain | 1.6 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Fujii Masao | 2020-07-17 09:11:36 | Re: max_slot_wal_keep_size and wal_keep_segments |
Previous Message | vignesh C | 2020-07-17 08:39:28 | Re: Parallel copy |