Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2df532d

Browse files
committed
Make bison version test actually work ...
1 parent6bdb7aa commit2df532d

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
iftest"$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)

[8]ページ先頭

©2009-2025 Movatter.jp