Be more precise about check for flex 2.5.3, backpatched to 7.3.X.
authorBruce Momjian <[email protected]>
Wed, 7 May 2003 04:49:02 +0000 (04:49 +0000)
committerBruce Momjian <[email protected]>
Wed, 7 May 2003 04:49:02 +0000 (04:49 +0000)
config/programs.m4
configure

index 99966b0274f83c643d362980b0ff224e5b9eb81a..1390bc02fa3c621ef1553d419d1b0ee6785d8afc 100644 (file)
@@ -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
index fda05fa32f81fef01d2eb62c0435bc335ce4aa1f..44dda647fb62accce5d14515ede5fcc33d0b49a4 100755 (executable)
--- 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