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

REL7_3_STABLE
Bruce Momjian 22 years ago
parent c04e80cf87
commit f52c9c6fb6
  1. 4
      config/programs.m4
  2. 2
      configure

@ -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

2
configure vendored

@ -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

Loading…
Cancel
Save