pgsql: configure: More use of AC_ARG_VAR

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: configure: More use of AC_ARG_VAR
Date: 2019-01-18 07:38:53
Message-ID: E1gkOjt-0001G0-BO@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

configure: More use of AC_ARG_VAR

AC_ARG_VAR is necessary if an environment variable influences a
configure result that is then used by other tests that are cached.
With AC_ARG_VAR, a change in the variable is detected on subsequent
configure runs and the user is then advised to remove the cache.

This adds AC_ARG_VAR calls for: MSGFMT, PERL, PYTHON, TCLSH, XML2_CONFIG

Reviewed-by: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Discussion: https://www.postgresql.org/message-id/30672.1546816567@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/29b3ac75462625b78eec0a92a49a22c5e2c7a01f

Modified Files
--------------
config/perl.m4 | 1 +
config/programs.m4 | 1 +
config/python.m4 | 1 +
config/tcl.m4 | 1 +
configure | 16 +++++++++++++---
configure.in | 1 +
6 files changed, 18 insertions(+), 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2019-01-18 08:49:20 pgsql: Remove obsolete comment
Previous Message Michael Paquier 2019-01-18 04:55:00 pgsql: Fix incorrect relation name in comment of vacuumlazy.c