Re: Migrate to autoconf 2.72? - Mailing list pgsql-hackers

From Jakub Wartak
Subject Re: Migrate to autoconf 2.72?
Date
Msg-id CAKZiRmz4eCnzBCWazzZPvEL85RCMG5A-_+7GeEJOw35yusyeLg@mail.gmail.com
Whole thread Raw
In response to Migrate to autoconf 2.72?  (Chao Li <li.evan.chao@gmail.com>)
Responses Re: Migrate to autoconf 2.72?
List pgsql-hackers
On Fri, Nov 28, 2025 at 9:35 AM Chao Li <li.evan.chao@gmail.com> wrote:
>
> Hi Hackers,
>
> I wanted to add “—enable-shadows-warning” to “./configure”, I updated configure.ac, then installed autoconf on my
MacBook,then when I tried to run autoconf, I got an error: 
>
> ```
> % autoconf
> configure.ac:22: error: Autoconf version 2.69 is required.
> Untested combinations of 'autoconf' and PostgreSQL versions are not
> recommended.  You can remove the check from 'configure.ac' but it is then
> your responsibility whether the result works or not.
> configure.ac:22: the top level
> autom4te: error: /opt/homebrew/opt/m4/bin/m4 failed with exit status: 1
> ```
>
> I saw my newly installed autoconf is version 2.72. Then I tried to install autoconf 2.69, it says 2.69 is dead now:
> ```
> ==> Fetching downloads for: autoconf@2.69
> Error: autoconf@2.69 has been disabled because it is a versioned formula! It was disabled on 2024-12-14.
> ```

Outside the main $thread question or updating on MacOS, I usually just
grab https://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz and
./configure && make install and it should work (and it's really tiny
and compiles in like 500ms).

-J.



pgsql-hackers by date:

Previous
From: Chao Li
Date:
Subject: Proposal: adding --enable-shadows-warning
Next
From: Antonin Houska
Date:
Subject: Re: Revisiting {CREATE INDEX, REINDEX} CONCURRENTLY improvements