Teach bitmap path generation about transforming OR-clauses to SAOP's
[pgsql.git] / config / check_modules.pl
blobb605634e073b9c8bb57d6eee7fe3eb3578ded04e
2 # Copyright (c) 2024, PostgreSQL Global Development Group
5 # Verify that required Perl modules are available,
6 # in at least the required minimum versions.
7 # (The required minimum versions are all quite ancient now,
8 # but specify them anyway for documentation's sake.)
10 use strict;
11 use warnings FATAL => 'all';
12 use Config;
14 use IPC::Run 0.79;
16 # Test::More and Time::HiRes are supposed to be part of core Perl,
17 # but some distros omit them in a minimal installation.
18 use Test::More 0.98;
19 use Time::HiRes 1.52;
21 # While here, we might as well report exactly what versions we found.
22 diag("IPC::Run::VERSION: $IPC::Run::VERSION");
23 diag("Test::More::VERSION: $Test::More::VERSION");
24 diag("Time::HiRes::VERSION: $Time::HiRes::VERSION");
26 # Check that if prove is using msys perl it is for an msys target
27 ok( ($ENV{__CONFIG_HOST_OS__} || "") eq 'msys',
28 "Msys perl used for correct target") if $Config{osname} eq 'msys';
29 ok(1);
30 done_testing();