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 1pmPY3-0007Ae-RC for pgsql-hackers@arkaria.postgresql.org; Wed, 12 Apr 2023 01:45:23 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pmPY2-0005dy-Bh for pgsql-hackers@arkaria.postgresql.org; Wed, 12 Apr 2023 01:45:22 +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 1pmPY2-0005dn-0X for pgsql-hackers@lists.postgresql.org; Wed, 12 Apr 2023 01:45:22 +0000 Received: from tamriel.snowman.net ([70.109.60.50]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pmPXz-002LU6-2V for pgsql-hackers@lists.postgresql.org; Wed, 12 Apr 2023 01:45:21 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id 69C055F7C2; Tue, 11 Apr 2023 21:45:13 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=snowman.net; s=dkim; t=1681263913; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=qqfd62ILqG6xw8QJvpOK4l6JhZrocRPonro5e5xb9mk=; b=cM9iSTQwUIKkIJTWoSgrm4YRVOt7gZiewQh+kuFZPt8I0lVdlM7waQ1yFaAqtZAlDuRUoZ r6eGVc+XuUQvNd1ppr6zM0pp26cRvsBbfKeJ6mpei6RmFc0UyAcvEvvyyOveyWKe3ukpst gAhoVWJr1u7qIT5VTzc7wPlySXRcFPQ= Date: Tue, 11 Apr 2023 21:45:13 -0400 From: Stephen Frost To: Justin Pryzby Cc: "Jonathan S. Katz" , Tom Lane , Thomas Munro , pgsql-hackers@lists.postgresql.org, Amit Kapila , Alvaro Herrera Subject: Re: longfin missing gssapi_ext.h Message-ID: References: <3604155.1680979238@sss.pgh.pa.us> <4077651.1681139807@sss.pgh.pa.us> <4080250.1681141040@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="5/Kp6aUshkGMRk6x" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/2.1.4 (2021-12-11) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --5/Kp6aUshkGMRk6x Content-Type: multipart/mixed; boundary="E+IbXOTdHhqjnCDs" Content-Disposition: inline --E+IbXOTdHhqjnCDs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Greetings, * Stephen Frost (sfrost@snowman.net) wrote: > Greetings, >=20 > * Justin Pryzby (pryzby@telsasoft.com) wrote: > > > configure | 27 ++ > > > configure.ac | 2 + > >=20 > > Does meson.build need the corresponding change ? >=20 > Ah, yes, presumably. No, more like attached actually. Picks up on the dependency properly with this when I ran meson/ninja, at least. I'll include this then (along with any other suggestions, of course). Thanks! Stephen --E+IbXOTdHhqjnCDs Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="krb_meson_check_v2.patch" Content-Transfer-Encoding: quoted-printable diff --git a/meson.build b/meson.build index b69aaddb1f..3405cc07ee 100644 --- a/meson.build +++ b/meson.build @@ -623,6 +623,16 @@ if not gssapiopt.disabled() have_gssapi =3D false endif =20 + if not have_gssapi + elif cc.check_header('gssapi/gssapi_ext.h', dependencies: gssapi, requir= ed: false, + args: test_c_args, include_directories: postgres_inc) + cdata.set('HAVE_GSSAPI_GSSAPI_EXT_H', 1) + elif cc.check_header('gssapi_ext.h', args: test_c_args, dependencies: gs= sapi, required: gssapiopt) + cdata.set('HAVE_GSSAPI_EXT_H', 1) + else + have_gssapi =3D false + endif + if not have_gssapi elif cc.has_function('gss_init_sec_context', dependencies: gssapi, args: test_c_args, include_directories: postgres_inc) --E+IbXOTdHhqjnCDs-- --5/Kp6aUshkGMRk6x Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEwf6gbxKhD863zrx/7WyKOINHZFUFAmQ2DSYACgkQ7WyKOINH ZFUUBhAAj6pgZEGsp73FrSbEQl4tA1SkE7zsSMmSkzLIfBFYo07D8ruqT+OXvW6H qidpQR2dflsc9b4sXkKjAzfzj2dCSHFdwKnk27DD+7YiH3PRMND2suO51PQsShDE Gmc9w+KMSc9xEGDxzm6hX8PjMDKCLewOVeJWfBAAs1gOLAHapIY9YRhGzKvKBBi5 j8dV0EJ0hIbQRBdzqgi0QJSmb4lJbe/OgSWoYiDn/HxvfICGlW6oOZNFKbKC6hwz Phu2C2FaoATKBwSZ8AXvYyhngc5v/E4s6We9+myhgZQWxhg5+Zq4HNvAqG2h7nwg PKO7Ksjjn0HPZd+8gjouD9hvjBQbVmbPX1yu07o1X5K05t+7+CpG3Ic+qlkWr9gK +davQfsdUbREleGhJaDcsKbIdPwZSJvJEoNxPtceDn9e6HQTsIaGSn1sunEC0UPK 4g2YEWPTBLDPIjCVmNvQSZUA353F5qXWjIJMoLCh2f+V01Oh93jKDzWMOexc5sob dDq26FiCZpyeFdGW8ZZnYvx7u/gTAvB9Y5PNLNh7wNylFyUUPCZIGCZjnOGMIRbY IY/4jJK2vsPveYCXFD0B1GXHVZeXcatrxLsW5u657HMkax5M+0/w4hhoMaGHUHMt uRn5wIGWh17Qb6OOW0WHuK+VAQp0VMLUJufUTADpJcTreYah6M8= =8gWe -----END PGP SIGNATURE----- --5/Kp6aUshkGMRk6x--