mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-02-11 19:20:40 +08:00
Accept flex > 2.5.x on Windows, too.
Commit 32f15d05c
fixed this in configure, but missed the similar check
in the MSVC scripts.
Michael Paquier, per report from Victor Wagner
This commit is contained in:
parent
c00239ea6a
commit
9c779c49e3
@ -16,7 +16,8 @@ my ($flexver) = `flex -V`; # grab first line
|
||||
$flexver = (split(/\s+/, $flexver))[1];
|
||||
$flexver =~ s/[^0-9.]//g;
|
||||
my @verparts = split(/\./, $flexver);
|
||||
unless ($verparts[0] == 2 && $verparts[1] == 5 && $verparts[2] >= 31)
|
||||
unless ($verparts[0] == 2 &&
|
||||
($verparts[1] > 5 || ($verparts[1] == 5 && $verparts[2] >= 31)))
|
||||
{
|
||||
print "WARNING! Flex install not found, or unsupported Flex version.\n";
|
||||
print "echo Attempting to build without.\n";
|
||||
|
Loading…
Reference in New Issue
Block a user