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 <nathandboss...@gmail.com>
Discussion: https://postgr.es/m/20230313180432.GA246741@nathanxps13

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/727400994d5a27f2859361f82d0ec9ac2b23385c

Modified Files
--------------
meson.build | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)

Reply via email to