public inbox for [email protected]  
help / color / mirror / Atom feed
From: Nazir Bilal Yavuz <[email protected]>
To: Peter Eisentraut <[email protected]>
To: pgsql-hackers <[email protected]>
Subject: Re: meson: Non-feature feature options
Date: Wed, 8 Feb 2023 14:48:24 +0300
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>

Hi,


On 2/8/23 13:45, Peter Eisentraut wrote:
>
> The problem is that these features now cannot be automatically enabled 
> and behave annoyingly different from other feature options.

Agreed.


> For the 'ssl' option, we have deprecated the --with-openssl option in 
> configure and replaced it with --with-ssl, in anticipation of other 
> SSL implementations.  None of that ever happened or is currently 
> planned AFAICT.  So I suggest that we semi-revert this, so that we can 
> make 'openssl' an auto option in meson.

+1


> For the 'uuid' option, I'm not sure what the best way to address this 
> would.  We could establish a search order of libraries that is used if 
> no specific one is set (similar to libreadline, libedit, in a way).  
> So we'd have one option 'uuid' that is of type feature with default 
> 'auto' and another option, say, 'uuid-library' of type 'combo'.
>

Your suggestion looks good and TCL already has a similar implementation 
with what you suggested:

option('pltcl', type : 'feature', value: 'auto',
   description: 'build with TCL support')

option('tcl_version', type : 'string', value : 'tcl',
   description: 'specify TCL version')


Regards,
Nazir Bilal Yavuz
Microsoft







view thread (2+ messages)

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]
  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