meson: fix openssl detection issues in 6a30027
authorAndres Freund <andres@anarazel.de>
Mon, 13 Mar 2023 21:44:43 +0000 (14:44 -0700)
committerAndres Freund <andres@anarazel.de>
Mon, 13 Mar 2023 21:44:43 +0000 (14:44 -0700)
commit727400994d5a27f2859361f82d0ec9ac2b23385c
tree5aec560d164edf6ad6c8c968d700895afaa5ae7e
parent25a7812cd0867043ec0a045c41e6bd3981d69bc4
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
meson.build