public inbox for [email protected]  
help / color / mirror / Atom feed
From: Peter Eisentraut <[email protected]>
To: Nazir Bilal Yavuz <[email protected]>
To: Andres Freund <[email protected]>
Cc: pgsql-hackers <[email protected]>
Subject: Re: meson: Non-feature feature options
Date: Mon, 20 Feb 2023 19:53:53 +0100
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>

On 20.02.23 13:33, Nazir Bilal Yavuz wrote:
> I added SSL and UUID patches. UUID patch has two different fixes:
> 
> 1 - v1-0002-meson-Refactor-UUID-option.patch: Adding 'auto' choice to 
> 'uuid' combo option.
> 
> 2 - v1-0002-meson-Refactor-UUID-option-with-uuid_library.patch: Making 
> 'uuid' feature option and adding new 'uuid_library' combo option with 
> ['auto', 'bsd', 'e2fs', 'ossp'] choices. If 'uuid_library' is set other 
> than 'auto' and it can't be found, build throws an error.
> 
> What do you think?

I like the second approach, with a 'uuid' feature option.  As you wrote 
earlier, adding an 'auto' choice to a combo option doesn't work fully 
like a real feature option.

But what does uuid_library=auto do?  Which one does it pick?  This is 
not a behavior we currently have, is it?

I would rename the ssl_type variable to ssl_library, so that if we ever 
expose that as an option, it would be consistent with uuid_library.







view thread (6+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: meson: Non-feature feature options
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox