From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Daniel Gustafsson <daniel@yesql.se>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: Add PostgreSQL home page to --help output
Date: Wed, 12 Feb 2020 11:54:10 +0100
Message-ID: <2897e201-712f-ba8d-afda-559968a9a8b3@2ndquadrant.com> (raw)
In-Reply-To: <00FB6A02-B74A-4A25-A7AC-9FE98F4E931A@yesql.se>
References: <8d389c5f-7fb5-8e48-9a4a-68cec44786fa@2ndquadrant.com>
<00FB6A02-B74A-4A25-A7AC-9FE98F4E931A@yesql.se>
On 2020-02-11 10:34, Daniel Gustafsson wrote:
> Pardon my weak autoconf-skills, what does the inverted brackets (]foo[ as
> opposed to [foo]) do in the below?
>
> -Please also contact<pgsql-bugs@lists.postgresql.org> to see about
> +Please also contact <]AC_PACKAGE_BUGREPORT[> to see about
AC_PACKAGE_BUGREPORT is an Autoconf macro, set up by AC_INIT. The call
above is in the context of
AC_MSG_ERROR([[ ... text ... ]])
The brackets are quote characters that prevent accidentally expanding a
token in the text as a macro. So in order to get AC_PACKAGE_BUGREPORT
expanded, we need to undo one level of quoting.
See also
<https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/M4-Quotation.html...;
for more information.
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
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: peter.eisentraut@2ndquadrant.com, daniel@yesql.se
Subject: Re: Add PostgreSQL home page to --help output
In-Reply-To: <2897e201-712f-ba8d-afda-559968a9a8b3@2ndquadrant.com>
References: <8d389c5f-7fb5-8e48-9a4a-68cec44786fa@2ndquadrant.com> <00FB6A02-B74A-4A25-A7AC-9FE98F4E931A@yesql.se> <2897e201-712f-ba8d-afda-559968a9a8b3@2ndquadrant.com>
* 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