1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-27 12:41:57 +03:00

Be more precise about check for flex 2.5.3, backpatched to 7.3.X.

This commit is contained in:
Bruce Momjian
2003-05-07 04:49:02 +00:00
parent c04e80cf87
commit f52c9c6fb6
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $Header: /cvsroot/pgsql/config/programs.m4,v 1.10 2002/04/10 22:46:33 petere Exp $ # $Header: /cvsroot/pgsql/config/programs.m4,v 1.10.2.1 2003/05/07 04:49:02 momjian Exp $
# PGAC_PATH_FLEX # PGAC_PATH_FLEX
@ -26,7 +26,7 @@ else
then then
echo '%%' > conftest.l echo '%%' > conftest.l
if $pgac_candidate -t conftest.l 2>/dev/null | grep FLEX_SCANNER >/dev/null 2>&1; then if $pgac_candidate -t conftest.l 2>/dev/null | grep FLEX_SCANNER >/dev/null 2>&1; then
if $pgac_candidate --version | grep '2\.5\.3' >/dev/null 2>&1; then if $pgac_candidate --version | grep ' 2\.5\.3$' >/dev/null 2>&1; then
pgac_broken_flex=$pgac_candidate pgac_broken_flex=$pgac_candidate
continue continue
fi fi

2
configure vendored
View File

@ -3618,7 +3618,7 @@ else
then then
echo '%%' > conftest.l echo '%%' > conftest.l
if $pgac_candidate -t conftest.l 2>/dev/null | grep FLEX_SCANNER >/dev/null 2>&1; then if $pgac_candidate -t conftest.l 2>/dev/null | grep FLEX_SCANNER >/dev/null 2>&1; then
if $pgac_candidate --version | grep '2\.5\.3' >/dev/null 2>&1; then if $pgac_candidate --version | grep ' 2\.5\.3$' >/dev/null 2>&1; then
pgac_broken_flex=$pgac_candidate pgac_broken_flex=$pgac_candidate
continue continue
fi fi