pgsql: Add PGAC_PROG_VARCC_VARFLAGS_OPT autoconf macro.

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add PGAC_PROG_VARCC_VARFLAGS_OPT autoconf macro.
Date: 2018-03-20 20:09:15
Message-ID: E1eyNZL-0002h1-GD@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add PGAC_PROG_VARCC_VARFLAGS_OPT autoconf macro.

The new macro allows to test flags for different compilers and to
store them in different CFLAG like variables. The existing
PGAC_PROG_CC_CFLAGS_OPT and PGAC_PROG_CC_VAR_OPT are changed to be
just wrappers around the new function.

This'll be used by the upcoming LLVM support, to separately detect
capabilities used by clang, when generating bitcode.

Author: Andres Freund
Discussion: https://postgr.es/m/20170901064131.tazjxwus3k2w3ybh@alap3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3de04e4ed12d0794e87e1db2e729d126cf183a58

Modified Files
--------------
config/c-compiler.m4 | 48 +++----
configure | 366 ++++++++++++++++++++++++++++++---------------------
2 files changed, 243 insertions(+), 171 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2018-03-20 20:57:53 pgsql: Attempt to fix build with unusual OpenSSL versions
Previous Message Tom Lane 2018-03-20 19:16:23 pgsql: Make configure check for a couple more Perl modules for --enable