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:
@ -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
2
configure
vendored
@ -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
|
||||||
|
Reference in New Issue
Block a user