Commit e8f4f2f9 authored by Bruce Momjian's avatar Bruce Momjian

Properly test for buggy flex 2.5.3.

parent efa58e10
# $Header: /cvsroot/pgsql/config/programs.m4,v 1.11 2003/04/06 22:45:22 petere Exp $ # $Header: /cvsroot/pgsql/config/programs.m4,v 1.12 2003/05/06 23:33:52 momjian Exp $
# PGAC_PATH_FLEX # PGAC_PATH_FLEX
...@@ -26,7 +26,7 @@ else ...@@ -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
......
...@@ -3577,7 +3577,7 @@ else ...@@ -3577,7 +3577,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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment