1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-27 12:41:57 +03:00

Add configure warning to check for bison version >= 1.875.

This commit is contained in:
Bruce Momjian
2003-06-06 19:11:55 +00:00
parent df1f5d6d7d
commit fee9b7ca9b
2 changed files with 24 additions and 1 deletions

13
configure vendored
View File

@ -4424,6 +4424,19 @@ fi
test -n "$YACC" && break
done
if test "$YACC"; then
if bison --version | sed q | $AWK '{ if ($4 < 1.875) exit 0; else exit 1;}'; then
{ echo "$as_me:$LINENO: WARNING:
*** The installed version of Bison is too old. PostgreSQL needs
*** Bison version 1.875 or later." >&5
echo "$as_me: WARNING:
*** The installed version of Bison is too old. PostgreSQL needs
*** Bison version 1.875 or later." >&2;}
unset YACC
fi
fi
if test -z "$YACC"; then
{ echo "$as_me:$LINENO: WARNING:
*** Without Bison you will not be able to build PostgreSQL from CVS or