pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Antonin Houska <ah@cybertec.at>
Cc: pgsql-hackers@postgresql.org
Subject: Re: pg_config_h.in not up-to-date
Date: Fri, 19 Feb 2021 16:13:24 +0900
Message-ID: <YC9lFCSScmY5k7Dl@paquier.xyz> (raw)
In-Reply-To: <3002133.1613716958@sss.pgh.pa.us>
References: <47255.1613716807@antos>
	<3002133.1613716958@sss.pgh.pa.us>

On Fri, Feb 19, 2021 at 01:42:38AM -0500, Tom Lane wrote:
> Antonin Houska <ah@cybertec.at> writes:
>> When I run "autoreconf" on the master branch, git generates the diff
>> below. Shouldn't it just be applied? I suppose someone changed configure.ac
>> and forgot to update the generated file.
> 
> Yeah, looks like fe61df7f8 is at fault.  Michael?

Indeed, thanks.  It looks like a "git add" that was fat-fingered.  I
would like to make things more consistent with the attached.
Thoughts?
--
Michael

Attachments:

openssl-autoconf.patch (text/x-diff, 1.0K) download diff --git a/src/include/pg_config.h.in b/src/include/pg_config.h.in index 55cab4d2bf..3c1c515d3c 100644 --- a/src/include/pg_config.h.in +++ b/src/include/pg_config.h.in @@ -899,7 +899,7 @@ /* Define to select named POSIX semaphores. */ #undef USE_NAMED_POSIX_SEMAPHORES -/* Define to build with OpenSSL support. (--with-ssl=openssl) */ +/* Define to 1 to build with OpenSSL support. (--with-ssl=openssl). */ #undef USE_OPENSSL /* Define to 1 to build with PAM support. (--with-pam) */ diff --git a/configure.ac b/configure.ac index 07da84d401..9a7d836ead 100644 --- a/configure.ac +++ b/configure.ac @@ -1234,7 +1234,7 @@ if test "$with_ssl" = openssl ; then # thread-safety. In 1.1.0, it's no longer required, and CRYPTO_lock() # function was removed. AC_CHECK_FUNCS([CRYPTO_lock]) - AC_DEFINE([USE_OPENSSL], 1, [Define to 1 if you have OpenSSL support.]) + AC_DEFINE([USE_OPENSSL], 1, [Define to 1 to build with OpenSSL support. (--with-ssl=openssl).]) elif test "$with_ssl" != no ; then AC_MSG_ERROR([--with-ssl must specify openssl]) fi
signature.asc (application/pgp-signature, 832B) download

view thread (7+ messages)  latest in thread

Message-ID: <YC9lFCSScmY5k7Dl@paquier.xyz>
Permalink:  ../YC9lFCSScmY5k7Dl@paquier.xyz/
Also on:    postgresql.org/message-id/YC9lFCSScmY5k7Dl@paquier.xyz

 ·  · 

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: michael@paquier.xyz, tgl@sss.pgh.pa.us, ah@cybertec.at
  Subject: Re: pg_config_h.in not up-to-date
  In-Reply-To: <YC9lFCSScmY5k7Dl@paquier.xyz>
  References: <47255.1613716807@antos> <3002133.1613716958@sss.pgh.pa.us> <YC9lFCSScmY5k7Dl@paquier.xyz>

* 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