Update bison warning to be clearer about its purpose.

This commit is contained in:
Bruce Momjian 2004-03-02 20:08:52 +00:00
parent 7bbd9d93cc
commit 351cf4d04e
2 changed files with 7 additions and 7 deletions

8
configure vendored
View File

@ -4107,11 +4107,11 @@ done
if test "$YACC"; then
if $YACC --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
*** If you are going to modify the lexer files or build from CVS, the installed
*** version of Bison is too old. Bison version 1.875 or later is required." >&5
echo "$as_me: WARNING:
*** The installed version of Bison is too old. PostgreSQL needs
*** Bison version 1.875 or later." >&2;}
*** If you are going to modify the lexer files or build from CVS, the installed
*** version of Bison is too old. Bison version 1.875 or later is required." >&2;}
fi
fi

View File

@ -1,5 +1,5 @@
dnl Process this file with autoconf to produce a configure script.
dnl $PostgreSQL: pgsql/configure.in,v 1.316 2004/02/11 21:44:04 momjian Exp $
dnl $PostgreSQL: pgsql/configure.in,v 1.317 2004/03/02 20:08:52 momjian Exp $
dnl
dnl Developers, please strive to achieve this order:
dnl
@ -559,8 +559,8 @@ AC_CHECK_PROGS(YACC, ['bison -y'])
if test "$YACC"; then
if $YACC --version | sed q | $AWK '{ if ($4 < 1.875) exit 0; else exit 1;}'; then
AC_MSG_WARN([
*** The installed version of Bison is too old. PostgreSQL needs
*** Bison version 1.875 or later.])
*** If you are going to modify the lexer files or build from CVS, the installed
*** version of Bison is too old. Bison version 1.875 or later is required.])
fi
fi