From 31a242ae1453ce6f263028843662f23fb0fdf892 Mon Sep 17 00:00:00 2001
From: Tom Lane <tgl@sss.pgh.pa.us>
Date: Thu, 2 Sep 2004 20:39:57 +0000
Subject: [PATCH] Some versions of lex will drop a lex.yy.c file when we probe
 to see if they are flex.  Clean up after them.

---
 config/programs.m4 | 4 ++--
 configure          | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/config/programs.m4 b/config/programs.m4
index 0f836f53520..aca56bb3c9b 100644
--- a/config/programs.m4
+++ b/config/programs.m4
@@ -1,4 +1,4 @@
-# $PostgreSQL: pgsql/config/programs.m4,v 1.15 2004/09/02 15:39:55 tgl Exp $
+# $PostgreSQL: pgsql/config/programs.m4,v 1.16 2004/09/02 20:39:57 tgl Exp $
 
 
 # PGAC_PATH_FLEX
@@ -38,7 +38,7 @@ else
       fi
     done
   done
-  rm -f conftest.l
+  rm -f conftest.l lex.yy.c
   : ${pgac_cv_path_flex=no}
 fi
 ])[]dnl AC_CACHE_CHECK
diff --git a/configure b/configure
index 66f14332fb3..9b0dc313434 100755
--- a/configure
+++ b/configure
@@ -3572,7 +3572,7 @@ else
       fi
     done
   done
-  rm -f conftest.l
+  rm -f conftest.l lex.yy.c
   : ${pgac_cv_path_flex=no}
 fi
 
-- 
GitLab