File tree Expand file tree Collapse file tree 10 files changed +388
-347
lines changed Expand file tree Collapse file tree 10 files changed +388
-347
lines changed Original file line number Diff line number Diff line change 55# behavior when certain utility programs are missing.
66
77case $1 in
8- flex)
9- # `missing flex <input> <output>'
8+ flex|bison )
9+ # `missing flex|bison <input> <output>'
1010 input=$2
1111 output=$3
1212 if test -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
1616if you changed the file \` $input '; these changes will not take effect.
17- You can get flex 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 get flex 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
2727or download an official distribution of PostgreSQL, which contains
28- pre-packaged flex output.
28+ pre-packaged $1 output.
2929***"
3030 exit 1
3131 fi
Original file line number Diff line number Diff line change 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
4646if 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.)] )
6259fi
6360
6461if test x"$pgac_cv_path_flex" = x"no"; then
You can’t perform that action at this time.
0 commit comments