Re: killing perl2host - Mailing list pgsql-hackers

From Andres Freund
Subject Re: killing perl2host
Date
Msg-id 20220217181016.7aaqsyrapu3qik4h@alap3.anarazel.de
Whole thread Raw
In response to Re: killing perl2host  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: killing perl2host  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
On 2022-02-17 13:08:01 -0500, Andrew Dunstan wrote:
> >> perhaps something like:
> >>
> >>
> >>     my $msystem = $ENV{MSYSTEM} || 'undef';
> >>
> >>     die "incompatible perl" if $Config{osname} eq 'msys' && $msystem ne
> >> 'MSYS';
> > Why tests MSYSTEM instead of $host_os?

> Is that available in check_modules.pl? AFAICT it's an unexported shell
> variable.

No, but it could just be passed to it? Or the test just implemented in
configure, as I suggested.

Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Time to drop plpython2?
Next
From: Andres Freund
Date:
Subject: Re: Nonrandom scanned_pages distorts pg_class.reltuples set by VACUUM