summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAndrew Dunstan2022-02-18 21:59:30 +0000
committerAndrew Dunstan2022-02-20 16:51:44 +0000
commitcf12541f2bd5fd34425ecbb99f056a30ca5b7cae (patch)
tree2a73ed35f67b62630b3e377cf78bb48978ed3ee7 /configure.ac
parent69639e2b5c12c6f1eafa9db1a6b7d16e6471ac61 (diff)
Ensure the right perl is used for TAP tests on msys
In particular, perl with $Config{osname} = msys should only be used if the build target is msys (which is currently buildable but not usable). For builds targeted at native Windows, perl from the ucrt64 toolchain is suitable. Discussion: https://postgr.es/m/20220216210141.5glt5isg5qtwty4c@alap3.anarazel.de
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 331683b3363..19d1a803673 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2432,6 +2432,7 @@ if test "$enable_tap_tests" = yes; then
# AX_PROG_PERL_MODULES here, but prove might be part of a different Perl
# installation than perl, eg on MSys, so we have to check using prove.
AC_MSG_CHECKING(for Perl modules required for TAP tests)
+ __CONFIG_HOST_OS__=$host_os; export __CONFIG_HOST_OS__
[modulestderr=`"$PROVE" "$srcdir/config/check_modules.pl" 2>&1 >/dev/null`]
if test $? -eq 0; then
# log the module version details, but don't show them interactively