summaryrefslogtreecommitdiff
path: root/contrib/xml2
diff options
context:
space:
mode:
authorJacob Champion2025-07-07 20:41:55 +0000
committerJacob Champion2025-07-07 20:41:55 +0000
commit7376e6085468054328a66e8c10c007bdaaf88f91 (patch)
tree0260219d1cb5cb80d1804bcacc67245e977dec84 /contrib/xml2
parent3adcf9fbd8ba9c07edb3ef5168a259fb12e6e3a6 (diff)
oauth: Fix kqueue detection on OpenBSDHEADmaster
In b0635bfda, I added an early header check to the Meson OAuth support, which was intended to duplicate the later checks for HAVE_SYS_[EVENT|EPOLL]_H. However, I implemented the new test via check_header() -- which tries to compile -- rather than has_header(), which just looks for the file's existence. The distinction matters on OpenBSD, where <sys/event.h> can't be compiled without including prerequisite headers, so -Dlibcurl=enabled failed on that platform. Switch to has_header() to fix this. Note that reviewers expressed concern about the difference between our Autoconf feature tests (which compile headers) and our Meson feature tests (which do not). I'm not opposed to aligning the two, but I want to avoid making bigger changes as part of this fix. Reviewed-by: Peter Eisentraut <[email protected]> Reviewed-by: Tom Lane <[email protected]> Discussion: https://postgr.es/m/flat/CAOYmi+kdR218ke2zu74oTJvzYJcqV1MN5=mGAPqZQuc79HMSVA@mail.gmail.com Backpatch-through: 18
Diffstat (limited to 'contrib/xml2')
0 files changed, 0 insertions, 0 deletions