configure: More use of AC_ARG_VAR

Peter Eisentraut <peter@eisentraut.org>

Commit: 29b3ac75462625b78eec0a92a49a22c5e2c7a01f
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2019-01-18T07:38:34Z
Releases: 12.0
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@sss.pgh.pa.us>
Discussion: https://www.postgresql.org/message-id/30672.1546816567@sss.pgh.pa.us

Files

PathChange+/−
config/perl.m4 modified +1 −0
config/programs.m4 modified +1 −0
config/python.m4 modified +1 −0
config/tcl.m4 modified +1 −0
configure modified +13 −3
configure.in modified +1 −0

Discussion