diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2003-06-09 03:41:47 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2003-06-09 03:41:47 +0000 |
| commit | 2df532d9a2b79f27f17235b3b125bd0ab977b7d8 (patch) | |
| tree | 0ade145d0477c119d6c95a07459d1cdb0297c4ef | |
| parent | 6bdb7aa4db5571c83c87f5f761d4af4bc73e166e (diff) | |
| download | postgresql-2df532d9a2b79f27f17235b3b125bd0ab977b7d8.tar.gz | |
Make bison version test actually work ...
| -rwxr-xr-x | configure | 3 | ||||
| -rw-r--r-- | configure.in | 5 |
2 files changed, 3 insertions, 5 deletions
@@ -4426,14 +4426,13 @@ done 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: *** 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 diff --git a/configure.in b/configure.in index f5cba505c5..f70d3d2f72 100644 --- a/configure.in +++ b/configure.in @@ -1,5 +1,5 @@ dnl Process this file with autoconf to produce a configure script. -dnl $Header: /cvsroot/pgsql/configure.in,v 1.256 2003/06/07 16:32:05 momjian Exp $ +dnl $Header: /cvsroot/pgsql/configure.in,v 1.257 2003/06/09 03:41:46 tgl Exp $ dnl dnl Developers, please strive to achieve this order: dnl @@ -587,11 +587,10 @@ PGAC_CHECK_STRIP 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 + 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.]) - unset YACC fi fi |
