Re: [PATCH] Fix OAuth feature detection on OpenBSD+Meson - Mailing list pgsql-hackers

From Jacob Champion
Subject Re: [PATCH] Fix OAuth feature detection on OpenBSD+Meson
Date
Msg-id CAOYmi+=DQppMwTQ-fRp_sL3jLmWrJ+LEuTZcJXJFR3mxz-MTOw@mail.gmail.com
Whole thread Raw
In response to Re: [PATCH] Fix OAuth feature detection on OpenBSD+Meson  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [PATCH] Fix OAuth feature detection on OpenBSD+Meson
List pgsql-hackers
On Tue, Jun 24, 2025 at 2:50 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Can't say that I find this to be impressive software engineering:
> rather than having only one probe failure mode to worry about,
> we have two, depending on whether the compiler knows __has_include().
> Pretty close to the worst of all possible worlds.

I did a double-take on the code you posted, but! It looks like they're
running the preprocessor only. That doesn't seem so bad to me (though
they could probably do better than calling it a "compile" in the log).

--Jacob



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PATCH] Fix OAuth feature detection on OpenBSD+Meson
Next
From: Tom Lane
Date:
Subject: Re: [PATCH] Fix OAuth feature detection on OpenBSD+Meson