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 1paGaM-0008Ix-MX for pgsql-hackers@arkaria.postgresql.org; Thu, 09 Mar 2023 13:45:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1paGaL-000886-6M for pgsql-hackers@arkaria.postgresql.org; Thu, 09 Mar 2023 13:45:33 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1paGaK-00087w-9y for pgsql-hackers@lists.postgresql.org; Thu, 09 Mar 2023 13:45:32 +0000 Received: from new4-smtp.messagingengine.com ([66.111.4.230]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1paGaG-0002cb-Th for pgsql-hackers@postgresql.org; Thu, 09 Mar 2023 13:45:31 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailnew.nyi.internal (Postfix) with ESMTP id 75D365820D1; Thu, 9 Mar 2023 08:45:26 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 09 Mar 2023 08:45:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1678369526; x=1678376726; bh=TayG27k9kBqVIoPyQhRPE87VVAPjIbBtUzd a2X1hitQ=; b=lGE+iEvYUzlH0Emr3SodWP3mdfYL0hEGs8RAlw5/TDAJpg62/ZQ L79u+XNO4sPd5hgIZmCFCle7b1VxapxOXtpu0WU0lUtI5Hka79H1fWYnx74yBSif 3MP7kN+b/tEPwZsfBmLKiQSFWkkrkYYBTf8veB20ccAAyc9YtDL4f5ZSY5Q8PCio vDkbg5ahByYeM5p69gB7fi0TWrHxYGaZt4qXUOZsj8JzozpCjtAneNj1dIrt2ODq aNbImiLxYrzXoHaBsKGIRxq/8Y7mNreyFC+CMO7f6lf7Lj/iaMFApKY9AkemINUH AOuacWBBFBx4Ee2jg6ji6triQwseSOw3Juw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdduiedgheegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtfeejnecuhfhrohhmpefrvght vghrucfgihhsvghnthhrrghuthcuoehpvghtvghrrdgvihhsvghnthhrrghuthesvghnth gvrhhprhhishgvuggsrdgtohhmqeenucggtffrrghtthgvrhhnpeehleffgeegudejteei hfelteduvdeifffhffdvjedvffegjeekudeludehudeifeenucevlhhushhtvghrufhiii gvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehpvghtvghrrdgvihhsvghnthhrrghu thesvghnthgvrhhprhhishgvuggsrdgtohhm X-ME-Proxy: Feedback-ID: i131946ab:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 9 Mar 2023 08:45:25 -0500 (EST) Message-ID: <9df9067d-5651-2d3e-e838-9e5d273f5524@enterprisedb.com> Date: Thu, 9 Mar 2023 14:45:24 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: meson: Non-feature feature options Content-Language: en-US To: Nazir Bilal Yavuz Cc: Andres Freund , pgsql-hackers References: <20230208162310.scllwgr5qp3m5tme@awork3.anarazel.de> <000d58dd-6164-f695-fe12-38ac7e37543b@gmail.com> <1d1eb740-e2d6-dd92-ba35-985af38b30d5@enterprisedb.com> <20230220194249.lkirdwhosjq6zdkc@awork3.anarazel.de> <4e1fcc8d-77cf-082c-5dd8-9ab09bb7a05f@enterprisedb.com> <0fff0827-c1f5-d29c-2ee3-dc8c871176bf@enterprisedb.com> From: Peter Eisentraut In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 03.03.23 11:01, Nazir Bilal Yavuz wrote: > On Fri, 3 Mar 2023 at 12:16, Peter Eisentraut > wrote: >> >> On 02.03.23 11:41, Nazir Bilal Yavuz wrote: >>> I am kind of confused. I added these checks for considering other SSL >>> implementations in the future, for this reason I have two nested if >>> checks. The top one is for checking if we need to search an SSL >>> library and the nested one is for checking if we need to search this >>> specific SSL library. What do you think? >> >> I suppose that depends on how you envision integrating other SSL >> libraries into this logic. It's not that important right now; if the >> structure makes sense to you, that's fine. >> >> Please send an updated patch with the small changes that have been >> mentioned. >> > > The updated patch is attached. This seems to work well. One flaw, the "External libraries" summary shows something like ssl : YES 3.0.7 It would be nice if it showed "openssl". How about we just hardcode "openssl" here instead? We could build that array dynamically, of course, but maybe we leave that until we actually have a need?