Fix wording of new bison warning, per Peter.

This commit is contained in:
Bruce Momjian 2004-03-03 17:37:22 +00:00
parent 6008fca4d9
commit 6819787c9b
2 changed files with 4 additions and 4 deletions

4
configure vendored
View File

@ -4107,10 +4107,10 @@ done
if test "$YACC"; then if test "$YACC"; then
if $YACC --version | sed q | $AWK '{ if ($4 < 1.875) exit 0; else exit 1;}'; then if $YACC --version | sed q | $AWK '{ if ($4 < 1.875) exit 0; else exit 1;}'; then
{ echo "$as_me:$LINENO: WARNING: { echo "$as_me:$LINENO: WARNING:
*** If you are going to modify the lexer files or build from CVS, the installed *** If you are going to modify the grammar files or build from CVS, the installed
*** version of Bison is too old. Bison version 1.875 or later is required." >&5 *** version of Bison is too old. Bison version 1.875 or later is required." >&5
echo "$as_me: WARNING: echo "$as_me: WARNING:
*** If you are going to modify the lexer files or build from CVS, the installed *** If you are going to modify the grammar files or build from CVS, the installed
*** version of Bison is too old. Bison version 1.875 or later is required." >&2;} *** version of Bison is too old. Bison version 1.875 or later is required." >&2;}
fi fi
fi fi

View File

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