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

Commit2660803

Browse files
committed
Only look for bison as YACC; other yaccs need to be selected explicitly.
When no suitable YACC is configured, supply useful informational messagesto users. (Same way flex has been handled for a while.)
1 parent20edc4a commit2660803

File tree

10 files changed

+388
-347
lines changed

10 files changed

+388
-347
lines changed

‎config/missing

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,27 +5,27 @@
55
# behavior when certain utility programs are missing.
66

77
case$1in
8-
flex)
9-
# `missing flex <input> <output>'
8+
flex|bison)
9+
# `missing flex|bison <input> <output>'
1010
input=$2
1111
output=$3
1212
iftest -f"$output";then
1313
echo"\
1414
***
15-
WARNING:\`flex' is missing on your system. You should only need it
15+
WARNING:\`$1' is missing on your system. You should only need it
1616
if you changed the file\`$input'; these changes will not take effect.
17-
You can getflex from a GNU mirror site.
17+
You can get$1 from a GNU mirror site.
1818
***"
1919
echo"touch$output"
2020
touch"$output"
2121
exit 0
2222
else# ! test -f $output
2323
echo"\
2424
***
25-
ERROR:\`flex' is missing on your system. It is needed to create the
26-
file\`$output'. You can either getflex from a GNU mirror site
25+
ERROR:\`$1' is missing on your system. It is needed to create the
26+
file\`$output'. You can either get$1 from a GNU mirror site
2727
or download an official distribution of PostgreSQL, which contains
28-
pre-packagedflex output.
28+
pre-packaged$1 output.
2929
***"
3030
exit 1
3131
fi

‎config/programs.m4

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $Header: /cvsroot/pgsql/config/programs.m4,v 1.3 2001/02/06 19:20:16 petere Exp $
1+
# $Header: /cvsroot/pgsql/config/programs.m4,v 1.4 2001/02/10 22:31:42 petere Exp $
22

33

44
# PGAC_PATH_FLEX
@@ -46,19 +46,16 @@ fi
4646
if test x"$pgac_cv_path_flex" = x"no"; then
4747
if test -n "$pgac_broken_flex"; then
4848
AC_MSG_WARN([
49-
***
50-
The Flex version 2.5.3 you have at $pgac_broken_flex contains a bug. You
51-
should get version 2.5.4 or later.
52-
###])
49+
*** The Flex version 2.5.3 you have at $pgac_broken_flex contains a bug. You
50+
*** should get version 2.5.4 or later.])
5351
fi
5452
5553
AC_MSG_WARN([
56-
***
57-
Without Flex you won't be able to build PostgreSQL from scratch, or change
58-
any of the scanner definition files. You can obtain Flex from a GNU mirror
59-
site. (If you are using the official distribution of PostgreSQL then you
60-
do not need to worry about this because the lexer files are pre-generated.)
61-
***])
54+
*** Without Flex you will not be able to build PostgreSQL from CVS or
55+
*** change any of the scanner definition files. You can obtain Flex from
56+
*** a GNU mirror site. (If you are using the official distribution of
57+
*** PostgreSQL then you do not need to worry about this because the Flex
58+
*** output is pre-generated.)])
6259
fi
6360
6461
if test x"$pgac_cv_path_flex" = x"no"; then

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp