oauth: Run Autoconf tests with correct compiler flags
Jacob Champion <jchampion@postgresql.org>
Author:
Jacob Champion <jchampion@postgresql.org>
Date: 2025-07-11T17:06:41Z
Releases:
19 (unreleased)
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
Files
| Path | Change | +/− |
|---|---|---|
| config/programs.m4 | modified | +12 −6 |
| configure | modified | +12 −6 |
Discussion
- [PoC] Federated Authn/z with OAUTHBEARER 429 messages · 2021-06-08 → 2025-08-08