Skip to content

Commit 152ce7a

Browse files
committed
Change configure check to use $YACC, per Tom.
1 parent 9a86a1e commit 152ce7a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4426,7 +4426,7 @@ done
44264426
44274427
44284428
if test "$YACC"; then
4429-
if bison --version | sed q | $AWK '{ if ($4 < 1.875) exit 0; else exit 1;}'; then
4429+
if "$YACC" --version | sed q | $AWK '{ if ($4 < 1.875) exit 0; else exit 1;}'; then
44304430
{ echo "$as_me:$LINENO: WARNING:
44314431
*** The installed version of Bison is too old. PostgreSQL needs
44324432
*** Bison version 1.875 or later." >&5

configure.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
dnl Process this file with autoconf to produce a configure script.
2-
dnl $Header: /cvsroot/pgsql/configure.in,v 1.255 2003/06/06 19:11:55 momjian Exp $
2+
dnl $Header: /cvsroot/pgsql/configure.in,v 1.256 2003/06/07 16:32:05 momjian Exp $
33
dnl
44
dnl Developers, please strive to achieve this order:
55
dnl
@@ -587,7 +587,7 @@ PGAC_CHECK_STRIP
587587
AC_CHECK_PROGS(YACC, ['bison -y'])
588588

589589
if test "$YACC"; then
590-
if bison --version | sed q | $AWK '{ if ($4 < 1.875) exit 0; else exit 1;}'; then
590+
if "$YACC" --version | sed q | $AWK '{ if ($4 < 1.875) exit 0; else exit 1;}'; then
591591
AC_MSG_WARN([
592592
*** The installed version of Bison is too old. PostgreSQL needs
593593
*** Bison version 1.875 or later.])

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy