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:
13
configure
vendored
13
configure
vendored
@ -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
|
||||
|
Reference in New Issue
Block a user