- Notifications
You must be signed in to change notification settings - Fork5.2k
Commit3a797c2
committed
oauth: Fix kqueue detection on OpenBSD
Inb0635bf, I added an early header check to the Meson OAuth support,which was intended to duplicate the later checks forHAVE_SYS_[EVENT|EPOLL]_H. However, I implemented the new test viacheck_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 becompiled without including prerequisite headers, so -Dlibcurl=enabledfailed on that platform. Switch to has_header() to fix this.Note that reviewers expressed concern about the difference between ourAutoconf feature tests (which compile headers) and our Meson featuretests (which do not). I'm not opposed to aligning the two, but I want toavoid making bigger changes as part of this fix.Reviewed-by: Peter Eisentraut <peter@eisentraut.org>Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>Discussion:https://postgr.es/m/flat/CAOYmi+kdR218ke2zu74oTJvzYJcqV1MN5=mGAPqZQuc79HMSVA@mail.gmail.comBackpatch-through: 181 parent440c5ee commit3a797c2
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
943 | 943 | | |
944 | 944 | | |
945 | 945 | | |
946 | | - | |
947 | | - | |
948 | | - | |
949 | | - | |
| 946 | + | |
| 947 | + | |
| 948 | + | |
| 949 | + | |
950 | 950 | | |
951 | 951 | | |
952 | 952 | | |
| |||
0 commit comments
Comments
(0)