meson: fix openssl detection issues in 6a30027

Andres Freund <andres@anarazel.de>

Commit: 727400994d5a27f2859361f82d0ec9ac2b23385c
Author: Andres Freund <andres@anarazel.de>
Date: 2023-03-13T21:44:43Z
Releases: 16.0
meson: fix openssl detection issues in 6a30027

When not detecting openssl via pkg-config, we'd error out if the headers
weren't found, even if -Dssl=auto. When detecting via pkg-config, but the
headers could not be found, we'd error out because the ssl_int variable would
not exist.

Reported-by: Nathan Bossart <nathandbossart@gmail.com>
Discussion: https://postgr.es/m/20230313180432.GA246741@nathanxps13

Files

PathChange+/−
meson.build modified +12 −6

Discussion