Skip to content

Commit 2df532d

Browse files
committed
Make bison version test actually work ...
1 parent 6bdb7aa commit 2df532d

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

configure

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4426,14 +4426,13 @@ done
44264426
44274427
44284428
if test "$YACC"; then
4429-
if "$YACC" --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
44334433
echo "$as_me: WARNING:
44344434
*** The installed version of Bison is too old. PostgreSQL needs
44354435
*** Bison version 1.875 or later." >&2;}
4436-
unset YACC
44374436
fi
44384437
fi
44394438

configure.in

Lines changed: 2 additions & 3 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.256 2003/06/07 16:32:05 momjian Exp $
2+
dnl $Header: /cvsroot/pgsql/configure.in,v 1.257 2003/06/09 03:41:46 tgl Exp $
33
dnl
44
dnl Developers, please strive to achieve this order:
55
dnl
@@ -587,11 +587,10 @@ PGAC_CHECK_STRIP
587587
AC_CHECK_PROGS(YACC, ['bison -y'])
588588

589589
if test "$YACC"; then
590-
if "$YACC" --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.])
594-
unset YACC
595594
fi
596595
fi
597596

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