Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fxnDP-0004p6-IQ for pgsql-committers@arkaria.postgresql.org; Thu, 06 Sep 2018 05:52:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fxnDN-000295-Vv for pgsql-committers@arkaria.postgresql.org; Thu, 06 Sep 2018 05:52:25 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fxnDN-00028t-Ne; Thu, 06 Sep 2018 05:52:25 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fxnDK-0000J3-TX; Thu, 06 Sep 2018 05:52:24 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 3000421B42; Thu, 6 Sep 2018 01:52:22 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Thu, 06 Sep 2018 01:52:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=ECpH/aOfOEp5CGFd76jLTcnMjpv0jS3nNsN0GmYGuBc=; b=vvsKyHe+ B1NIm2H/rTaHpY9z7Q0QJKBCa8+2N+Sa+puc6DHubajBdbL9KsnxtOL+d6y7WLlj qaS/CSHsEbozsso1i2lM/XOoRHoAlJ7WTGQ0YIxPsNkQCfDPYW03de/wreBO9gyo j6LyvvjLml3J0Ev3pHemTgvoneKxCsNPqn6V1Ma6oH5bGj8qeNxnrEn33b4GCkWh 7RMhgwPl31JQz7JpbKfehfhdkRhTV4A8CDjahDnCoLExbsnv4W5rU9T9TVrOIaGb ExTxeBCyZf/UCapdkIo9GmwwqameDMQnHwrQucAFGmiPcFd5UkzfHQ5q4p1j1t/w E3x7t2ssy5tsLQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=ECpH/aOfOEp5CGFd76jLTcnMjpv0j S3nNsN0GmYGuBc=; b=JWvZnSoaz45n/gx0qmNFLbTscy1EcOTT09E7lEHWWnjMh EMeHf6v/8kvc9WWWrR3nRUpbQDCpBY0HtiA2EzZ2q8aZnxL1LYqXsmXhQ4ztG69m s+KT0acPapkXhdVMFr04/NfjhN7FS95ePjRRvqOUY3k8BTBA1MPyZA8HeOwvsNuR en+pmm5lXcKPSpNeYI5/pfjDuWfSj2TB3TwK3lX+/oGD4neIYSlKWkF1VlTE85F2 oNHq4pvu9kjXN1chlQeB+FgNdD/XEY0QkK6ZMXd1zeWxKTseJRpDPTW/PEks9XYJ /MssS6NOWrktF3wk5X9Sz4gleObHym+D1S+ykSd/g== X-ME-Proxy: X-ME-Sender: Received: from paquier.xyz (unknown [50.233.106.125]) by mail.messagingengine.com (Postfix) with ESMTPA id EB43B10297; Thu, 6 Sep 2018 01:52:20 -0400 (EDT) Date: Wed, 5 Sep 2018 22:52:19 -0700 From: Michael Paquier To: Andrew Gierth Cc: Postgres commits , Postgres hackers Subject: Re: pgsql: Allow extensions to install built as well as unbuilt headers. Message-ID: <20180906055219.GJ2726@paquier.xyz> References: <20180906051608.GI2726@paquier.xyz> <878t4ftczz.fsf@news-spur.riddles.org.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="enGqbSaueFq5omEL" Content-Disposition: inline In-Reply-To: <878t4ftczz.fsf@news-spur.riddles.org.uk> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --enGqbSaueFq5omEL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Sep 06, 2018 at 06:26:51AM +0100, Andrew Gierth wrote: > What version of GNU Make is on there, do you know? Tom? I don't see it > mentioned in the output anywhere. I don't know it. What I can see is that the use of "else ifdef" is forbidden. You could bypass the problem with more ifdef-only tweaks, but it seems to me that it would be cleaner to somewhat reduce the level of dependency between all the different header concepts. By the way, when you use at least two layers in ifdef/endif in pgxs.mk, putting a comment close to the endif to mention which part gets closed improves readability. -- Michael --enGqbSaueFq5omEL Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAluQwJMACgkQnvQgOdby QH0JcQ/+NHpIDt+Wguy2SVJWbTkgWQcIPC0/2WMKuwKDBGKdR3iN5uCPvrGHuTiR WmFwlYL65VBk4QxDjMVcm967eDzsAFN+esR4ZL5czSj5XThVGYJ0xg95QTdv0FcB 0X86xSKay0f503ke3RpFGt1ezKjnKRi5txhf7A0oKRuELCgreaL2mokAgBUKuUnz jNJ8qHd8x/oCJGorFUMOttL8zyqyowucWDOGdf7BQBLyZQEYnONdiQVzK7tFKz6p p21vyCCdL/CClIzIajB7oUTfqec/JBe9bbONKfykogdV8t4Zt/ADrC9fmMTedvTW pceurXfi9CSqVSTh4tZj+UTIEehSpoAh+toaW4xN0Nw5EyZWkGvR5Uo+jncyUJdM 6qkdhBVbyY58N8ko+bZR7AScu82Us4Ru4iR0IsECiWY1am5dwJRxKejLIvDjDTi7 VQ+1Gt+mWI9avmrGlLhPaC0RGOiOlDMl8teqNCU76AwNGxlvsxbfFnKLTx2HXLM6 KhppKRT1jr0KS2NejjZXvCZuLZto73gCb9RmLylLuJMhj8fA7an/ikzmQz2j54h6 CLq7cs8cn8yRuSJeEcQVrqqdlkry+Tj+Yy5WDx2rDFTLiU6+P9SS8j0HMMtnTs7D BnTe3pz1bOmzr3WIqntNui4q5hDjWmMOInCgjPo0eKTXWKHKWNA= =F8/r -----END PGP SIGNATURE----- --enGqbSaueFq5omEL--