summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorPeter Eisentraut2000-08-28 11:53:23 +0000
committerPeter Eisentraut2000-08-28 11:53:23 +0000
commitf03fc94e7df1078959a4fa4a4b5c4e02b09a2bc1 (patch)
tree1aadad9c51a781f608d1820000a4478dbf00aa83 /configure.in
parent4c8d2f7f7b129d8fd679bb970345593ac6190725 (diff)
New configure test for flex, which recognizes only flex but does so in all
incarnations (I hope). When an acceptable flex version is not found, print instructive error messages from both configure and the makefiles, so that users can continue building anyway.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in17
1 files changed, 1 insertions, 16 deletions
diff --git a/configure.in b/configure.in
index 6de67fc5da4..d1c67c77203 100644
--- a/configure.in
+++ b/configure.in
@@ -712,22 +712,7 @@ AC_SUBST(mkinstalldirs)
AC_PROG_AWK
-
-AC_PROG_LEX
-if test "$LEX" = "flex"; then
- $LEX --version 2> /dev/null | grep -s '2\.5\.3' > /dev/null 2>&1
- if test $? -eq 0 ; then
- AC_MSG_WARN([
-***
-You have flex version 2.5.3, which is broken. Get version 2.5.4 or
-a different lex.
-(If you are using the official distribution of PostgreSQL then you
-do not need to worry about this because the lexer files are
-pre-generated. However, other software using flex is likely to be
-broken as well.)
-***])
- fi
-fi
+PGAC_PATH_FLEX
AC_PROG_LN_S
AC_PROG_RANLIB
AC_PATH_PROG(tar, tar)