pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephen Frost <sfrost@snowman.net>
To: Justin Pryzby <pryzby@telsasoft.com>
Cc: Jonathan S. Katz <jkatz@postgresql.org>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Thomas Munro <thomas.munro@gmail.com>
Cc: pgsql-hackers@lists.postgresql.org, Amit Kapila <amit.kapila16@gmail.com>
Cc: Alvaro Herrera <alvherre@alvh.no-ip.org>
Subject: Re: longfin missing gssapi_ext.h
Date: Tue, 11 Apr 2023 21:45:13 -0400
Message-ID: <ZDYNKa8FTFBTJnsz@tamriel.snowman.net> (raw)
In-Reply-To: <ZDYJqPiJBQOPvDf5@tamriel.snowman.net>
References: <3604155.1680979238@sss.pgh.pa.us>
	<CA+hUKGLjDaFL8+LtoedNKEHhqRsWBURkw2Q=m=-GBbr0f7eoGw@mail.gmail.com>
	<ZDQd2vxptNARaX/C@tamriel.snowman.net>
	<4077651.1681139807@sss.pgh.pa.us>
	<ZDQrhhsUb+X+WX9q@tamriel.snowman.net>
	<4080250.1681141040@sss.pgh.pa.us>
	<eeb2be64-dcd7-e46c-04b4-0726eb44f901@postgresql.org>
	<ZDYG0GkWQa3uZ8yI@tamriel.snowman.net>
	<ZDYItRDI2X0ur2wg@telsasoft.com>
	<ZDYJqPiJBQOPvDf5@tamriel.snowman.net>

Greetings,

* Stephen Frost (sfrost@snowman.net) wrote:
> Greetings,
> 
> * Justin Pryzby (pryzby@telsasoft.com) wrote:
> > >  configure                                     |  27 ++
> > >  configure.ac                                  |   2 +
> > 
> > Does meson.build need the corresponding change ?
> 
> 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

Attachments:

krb_meson_check_v2.patch (text/x-diff, 748B) download 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 = false endif + if not have_gssapi + elif cc.check_header('gssapi/gssapi_ext.h', dependencies: gssapi, required: 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: gssapi, required: gssapiopt) + cdata.set('HAVE_GSSAPI_EXT_H', 1) + else + have_gssapi = false + endif + if not have_gssapi elif cc.has_function('gss_init_sec_context', dependencies: gssapi, args: test_c_args, include_directories: postgres_inc)
signature.asc (application/pgp-signature, 832B) download

view thread (48+ messages)  latest in thread

Message-ID: <ZDYNKa8FTFBTJnsz@tamriel.snowman.net>
Permalink:  ../ZDYNKa8FTFBTJnsz@tamriel.snowman.net/
Also on:    postgresql.org/message-id/ZDYNKa8FTFBTJnsz@tamriel.snowman.net

 ·  · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: sfrost@snowman.net, pryzby@telsasoft.com, jkatz@postgresql.org, tgl@sss.pgh.pa.us, thomas.munro@gmail.com, amit.kapila16@gmail.com, alvherre@alvh.no-ip.org
  Subject: Re: longfin missing gssapi_ext.h
  In-Reply-To: <ZDYNKa8FTFBTJnsz@tamriel.snowman.net>
  References: <3604155.1680979238@sss.pgh.pa.us> <CA+hUKGLjDaFL8+LtoedNKEHhqRsWBURkw2Q=m=-GBbr0f7eoGw@mail.gmail.com> <ZDQd2vxptNARaX/C@tamriel.snowman.net> <4077651.1681139807@sss.pgh.pa.us> <ZDQrhhsUb+X+WX9q@tamriel.snowman.net> <4080250.1681141040@sss.pgh.pa.us> <eeb2be64-dcd7-e46c-04b4-0726eb44f901@postgresql.org> <ZDYG0GkWQa3uZ8yI@tamriel.snowman.net> <ZDYItRDI2X0ur2wg@telsasoft.com> <ZDYJqPiJBQOPvDf5@tamriel.snowman.net> <ZDYNKa8FTFBTJnsz@tamriel.snowman.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox