Skip to content

Commit 9c779c4

Browse files
committed
Accept flex > 2.5.x on Windows, too.
Commit 32f15d0 fixed this in configure, but missed the similar check in the MSVC scripts. Michael Paquier, per report from Victor Wagner
1 parent c00239e commit 9c779c4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/tools/msvc/pgflex.pl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
$flexver = (split(/\s+/, $flexver))[1];
1717
$flexver =~ s/[^0-9.]//g;
1818
my @verparts = split(/\./, $flexver);
19-
unless ($verparts[0] == 2 && $verparts[1] == 5 && $verparts[2] >= 31)
19+
unless ($verparts[0] == 2 &&
20+
($verparts[1] > 5 || ($verparts[1] == 5 && $verparts[2] >= 31)))
2021
{
2122
print "WARNING! Flex install not found, or unsupported Flex version.\n";
2223
print "echo Attempting to build without.\n";

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy