]> git.ipfire.org Git - thirdparty/postgresql.git/commit
oauth: Run Autoconf tests with correct compiler flags
authorJacob Champion <jchampion@postgresql.org>
Fri, 11 Jul 2025 17:26:18 +0000 (10:26 -0700)
committerJacob Champion <jchampion@postgresql.org>
Fri, 11 Jul 2025 17:26:18 +0000 (10:26 -0700)
commit3d23f68c5529b5a38c6f38ebd8fae518b5a369d0
treedd8c5477a29c7cfd083312c8884d11226f21b4f2
parentf36e5774510d9221fb38c988a62392784ae87405
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
config/programs.m4
configure