Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pPiwH-0007zu-7n for pgsql-hackers@arkaria.postgresql.org; Wed, 08 Feb 2023 11:48:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pPiwF-0006qH-IW for pgsql-hackers@arkaria.postgresql.org; Wed, 08 Feb 2023 11:48:35 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pPiwF-0006q8-6y for pgsql-hackers@lists.postgresql.org; Wed, 08 Feb 2023 11:48:35 +0000 Received: from mail-ej1-x631.google.com ([2a00:1450:4864:20::631]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pPiw9-0005OB-O2 for pgsql-hackers@postgresql.org; Wed, 08 Feb 2023 11:48:34 +0000 Received: by mail-ej1-x631.google.com with SMTP id p9so4588007ejj.1 for ; Wed, 08 Feb 2023 03:48:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=izXBWLzo2Qum2qHPK6EXB77/RHBEQShY70TAqOuxFA0=; b=BQUV86MqUYC3I0oJba+pU88jC2yRsza951eV3MbIFoDFsVBKL+TyK/Y+PqfwFr2vD2 JQwWZpC3YnzBaVx7DirAoK/Srqm/hCJVGlRsV6WCaXahkwkAqX+tltOTMc8O44iiuMvj X/Xauc6v1fpyaUeWPf8q/lAiNolKEvIQhuDzX8UYDEZ0w6EPj//YdHMW/oGhh7sROCb8 HNaCDkoQfvoNPC0I1/RD9mUMNAswc+x9fcTg1s7nL3F95rK+c16IxWmr6wTLAKtc2MpC ZIXRt/DCwMKYxbEHuXfX8MTM4UC9kr4hyQYWgo7ydnhB6oEgqR0BGWl6dhhVjXgRZhXR CjnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=izXBWLzo2Qum2qHPK6EXB77/RHBEQShY70TAqOuxFA0=; b=OycAnx+6bZg2RHcmJE83sFGzZW3sVIIe1QsEeGGjsEYwHsEXnboJElPK9DE6EofGmX vqiGN1walLiVDbnZlcpVAMJbt2ynXQ5QPhcmwuLkFzZQysERazXxFs5O1BsvadNp7p3G j8CnzgUTST9GMLR0X/b6N1ATI7jh03KBAlE0WB2EI0ldAARuen6B98l6QHJgyiOuQsJd IqgijNw2LESNHrG+h/ycQoyrYPCSxYvo9hMX2dwtmcQetDLwlNffyhQ50xZqozOwx2+l hD2xB+IL8e50AxjPViRr3NV2G6puN917l6Wg1Sjz/u31qjK0M2CcFm6L/1ciYG1Prg5j 93Qg== X-Gm-Message-State: AO0yUKUIjnojAKT7AWRJM90qpas+H0nJwpPyZVHmDPcAHomA1WyfzJT/ a7gLNEeQQ8SuQmnVYpK58pzB2zWhiczHQw== X-Google-Smtp-Source: AK7set+PVmNUGFJ81WNc6Foay4ihWzX5W4GrkH2gN9eGAnglLG5Mu/rZrVdStaZWVtCe16r/nDI+yg== X-Received: by 2002:a17:906:179b:b0:87b:3d29:2990 with SMTP id t27-20020a170906179b00b0087b3d292990mr7118148eje.9.1675856908160; Wed, 08 Feb 2023 03:48:28 -0800 (PST) Received: from [192.168.1.244] ([176.43.99.98]) by smtp.gmail.com with ESMTPSA id kz18-20020a17090777d200b008af21450420sm89816ejc.85.2023.02.08.03.48.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 08 Feb 2023 03:48:26 -0800 (PST) Message-ID: <0d23e027-02dd-4533-7ac7-b5da972a5736@gmail.com> Date: Wed, 8 Feb 2023 14:48:24 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: meson: Non-feature feature options Content-Language: en-US To: Peter Eisentraut , pgsql-hackers References: From: Nazir Bilal Yavuz In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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