Re: meson: Non-feature feature options - Mailing list pgsql-hackers

From Andres Freund
Subject Re: meson: Non-feature feature options
Date
Msg-id 20230313201331.xvbhzh5fufs6gxmn@awork3.anarazel.de
Whole thread Raw
In response to Re: meson: Non-feature feature options  (Nathan Bossart <nathandbossart@gmail.com>)
Responses Re: meson: Non-feature feature options  (Nathan Bossart <nathandbossart@gmail.com>)
List pgsql-hackers
Hi,

On 2023-03-13 11:04:32 -0700, Nathan Bossart wrote:
> On Mon, Mar 13, 2023 at 07:27:18AM +0100, Peter Eisentraut wrote:
> > I have committed it like this.
> 
> I noticed that after 6a30027, if you don't have the OpenSSL headers
> installed, 'meson setup' will fail:
> 
>     meson.build:1195:4: ERROR: C header 'openssl/ssl.h' not found
> 
> Shouldn't "auto" cause Postgres to be built without OpenSSL if the required
> headers are not present?

Yea. I found another thing: When dependency() found something, but the headers
weren't present, ssl_int wouldn't exist.

Maybe something like the attached?

Greetings,

Andres Freund

Attachment

pgsql-hackers by date:

Previous
From: Justin Pryzby
Date:
Subject: Re: Improve logging when using Huge Pages
Next
From: Andres Freund
Date:
Subject: Re: meson: Non-feature feature options