Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd5bb7c6

Browse files
committed
Accept flex > 2.5.x in configure.
Per buildfarm member anchovy, 2.6.0 exists in the wild now.Hopefully it works with Postgres; if not, we'll have to do somethingabout that, but in any case claiming it's "too old" is pretty silly.
1 parentcc95595 commitd5bb7c6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎config/programs.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ else
7777
echo '%%' > conftest.l
7878
if $pgac_candidate -t conftest.l 2>/dev/null | grep FLEX_SCANNER >/dev/null 2>&1; then
7979
pgac_flex_version=`$pgac_candidate --version 2>/dev/null`
80-
if echo "$pgac_flex_version" | sed['s/[.a-z]/ /g'] | $AWK '{ if ([$]1 = 2 &&[$]2 = 5 &&[$]3 >= 31) exit 0; else exit 1;}'
80+
if echo "$pgac_flex_version" | sed['s/[.a-z]/ /g'] | $AWK '{ if ([$]1 = 2 &&([$]2> 5 || ([$]2= 5 &&[$]3 >= 31))) exit 0; else exit 1;}'
8181
then
8282
pgac_cv_path_flex=$pgac_candidate
8383
break 2

‎configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7243,7 +7243,7 @@ else
72437243
echo'%%'> conftest.l
72447244
if$pgac_candidate -t conftest.l2>/dev/null| grep FLEX_SCANNER>/dev/null2>&1;then
72457245
pgac_flex_version=`$pgac_candidate --version2>/dev/null`
7246-
ifecho"$pgac_flex_version"| sed's/[.a-z]/ /g'|$AWK'{ if ($1 = 2 && $2 = 5 && $3 >= 31) exit 0; else exit 1;}'
7246+
ifecho"$pgac_flex_version"| sed's/[.a-z]/ /g'|$AWK'{ if ($1 = 2 &&($2> 5 || ($2= 5 && $3 >= 31))) exit 0; else exit 1;}'
72477247
then
72487248
pgac_cv_path_flex=$pgac_candidate
72497249
break 2

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp