diff --git a/config/programs.m4 b/config/programs.m4 index 371b21b9188..35d9e2b7bb1 100644 --- a/config/programs.m4 +++ b/config/programs.m4 @@ -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 @@ -26,7 +26,7 @@ else then echo '%%' > conftest.l 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 continue fi diff --git a/configure b/configure index fda05fa32f8..44dda647fb6 100755 --- a/configure +++ b/configure @@ -3618,7 +3618,7 @@ else then echo '%%' > conftest.l 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 continue fi