Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

+1-2
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

+2-3
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)