aboutsummaryrefslogtreecommitdiff
path: root/config/perl.m4
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2019-01-18 08:29:42 +0100
committerPeter Eisentraut <peter@eisentraut.org>2019-01-18 08:38:34 +0100
commit29b3ac75462625b78eec0a92a49a22c5e2c7a01f (patch)
tree275646c4350d065c7dff658aaa1896beab57e41e /config/perl.m4
parent80971bc206b06deebe71e722f49949f6df4ce642 (diff)
downloadpostgresql-29b3ac75462625b78eec0a92a49a22c5e2c7a01f.tar.gz
postgresql-29b3ac75462625b78eec0a92a49a22c5e2c7a01f.zip
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
Diffstat (limited to 'config/perl.m4')
-rw-r--r--config/perl.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/config/perl.m4 b/config/perl.m4
index caefb0705e7..059e31c4766 100644
--- a/config/perl.m4
+++ b/config/perl.m4
@@ -5,6 +5,7 @@
# --------------
AC_DEFUN([PGAC_PATH_PERL],
[PGAC_PATH_PROGS(PERL, perl)
+AC_ARG_VAR(PERL, [Perl program])dnl
if test "$PERL"; then
pgac_perl_version=`$PERL -v 2>/dev/null | sed -n ['s/This is perl.*v[a-z ]*\([0-9]\.[0-9][0-9.]*\).*$/\1/p']`