pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jacob Champion <jchampion@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: oauth: Run Autoconf tests with correct compiler flags
Date: Fri, 11 Jul 2025 17:32:42 +0000
Message-ID: <E1uaHc2-005nBP-1z@gemulon.postgresql.org> (raw)

oauth: Run Autoconf tests with correct compiler flags

Commit b0635bfda split off the CPPFLAGS/LDFLAGS/LDLIBS for libcurl into
their own separate Makefile variables, but I neglected to move the
existing AC_CHECKs for Curl into a place where they would make use of
those variables. They instead tested the system libcurl, which 1) is
unhelpful if a different Curl is being used for the build and 2) will
fail the build entirely if no system libcurl exists. Correct the order
of operations here.

Reported-by: Ivan Kush <ivan.kush@tantorlabs.com>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Reviewed-by: Ivan Kush <ivan.kush@tantorlabs.com>
Discussion: https://postgr.es/m/8a611028-51a1-408c-b592-832e2e6e1fc9%40tantorlabs.com
Backpatch-through: 18

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/990571a08b66c76be85b077ddcba419fd4524952

Modified Files
--------------
config/programs.m4 | 18 ++++++++++++------
configure          | 18 ++++++++++++------
2 files changed, 24 insertions(+), 12 deletions(-)



view thread (2+ messages)

Message-ID: <E1uaHc2-005nBP-1z@gemulon.postgresql.org>
Permalink:  ../E1uaHc2-005nBP-1z@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1uaHc2-005nBP-1z@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: jchampion@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: oauth: Run Autoconf tests with correct compiler flags
  In-Reply-To: <E1uaHc2-005nBP-1z@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox