@@ -718,8 +718,8 @@ STRIP_SHARED_LIB
718
718
TAR
719
719
LN_S
720
720
AWK
721
- YACC
722
- YFLAGS
721
+ BISON
722
+ BISONFLAGS
723
723
FLEX
724
724
FLEXFLAGS
725
725
PERL
@@ -5952,18 +5952,18 @@ done
5952
5952
5953
5953
5954
5954
# Let the user override the search
5955
- if test -z "$YACC "; then
5956
- for ac_prog in ' bison -y'
5955
+ if test -z "$BISON "; then
5956
+ for ac_prog in bison
5957
5957
do
5958
5958
# Extract the first word of "$ac_prog", so it can be a program name with args.
5959
5959
set dummy $ac_prog; ac_word=$2
5960
5960
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5961
5961
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5962
- if test "${ac_cv_prog_YACC +set}" = set; then
5962
+ if test "${ac_cv_prog_BISON +set}" = set; then
5963
5963
echo $ECHO_N "(cached) $ECHO_C" >&6
5964
5964
else
5965
- if test -n "$YACC "; then
5966
- ac_cv_prog_YACC ="$YACC " # Let the user override the test.
5965
+ if test -n "$BISON "; then
5966
+ ac_cv_prog_BISON ="$BISON " # Let the user override the test.
5967
5967
else
5968
5968
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5969
5969
for as_dir in $PATH
5972
5972
test -z "$as_dir" && as_dir=.
5973
5973
for ac_exec_ext in '' $ac_executable_extensions; do
5974
5974
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5975
- ac_cv_prog_YACC ="$ac_prog"
5975
+ ac_cv_prog_BISON ="$ac_prog"
5976
5976
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5977
5977
break 2
5978
5978
fi
@@ -5982,56 +5982,52 @@ IFS=$as_save_IFS
5982
5982
5983
5983
fi
5984
5984
fi
5985
- YACC=$ac_cv_prog_YACC
5986
- if test -n "$YACC "; then
5987
- { echo "$as_me:$LINENO: result: $YACC " >&5
5988
- echo "${ECHO_T}$YACC " >&6; }
5985
+ BISON=$ac_cv_prog_BISON
5986
+ if test -n "$BISON "; then
5987
+ { echo "$as_me:$LINENO: result: $BISON " >&5
5988
+ echo "${ECHO_T}$BISON " >&6; }
5989
5989
else
5990
5990
{ echo "$as_me:$LINENO: result: no" >&5
5991
5991
echo "${ECHO_T}no" >&6; }
5992
5992
fi
5993
5993
5994
5994
5995
- test -n "$YACC " && break
5995
+ test -n "$BISON " && break
5996
5996
done
5997
5997
5998
5998
fi
5999
5999
6000
- if test "$YACC "; then
6001
- pgac_yacc_version =`$YACC --version 2>/dev/null | sed q`
6002
- { echo "$as_me:$LINENO: using $pgac_yacc_version " >&5
6003
- echo "$as_me: using $pgac_yacc_version " >&6;}
6004
- if echo "$pgac_yacc_version " | $AWK '{ if ($4 < 1.875) exit 0; else exit 1;}'
6000
+ if test "$BISON "; then
6001
+ pgac_bison_version =`$BISON --version 2>/dev/null | sed q`
6002
+ { echo "$as_me:$LINENO: using $pgac_bison_version " >&5
6003
+ echo "$as_me: using $pgac_bison_version " >&6;}
6004
+ if echo "$pgac_bison_version " | $AWK '{ if ($4 < 1.875) exit 0; else exit 1;}'
6005
6005
then
6006
6006
{ echo "$as_me:$LINENO: WARNING:
6007
6007
*** The installed version of Bison is too old to use with PostgreSQL.
6008
6008
*** Bison version 1.875 or later is required." >&5
6009
6009
echo "$as_me: WARNING:
6010
6010
*** The installed version of Bison is too old to use with PostgreSQL.
6011
6011
*** Bison version 1.875 or later is required." >&2;}
6012
- YACC =""
6012
+ BISON =""
6013
6013
fi
6014
6014
fi
6015
6015
6016
- if test -z "$YACC "; then
6016
+ if test -z "$BISON "; then
6017
6017
{ echo "$as_me:$LINENO: WARNING:
6018
6018
*** Without Bison you will not be able to build PostgreSQL from CVS nor
6019
6019
*** change any of the parser definition files. You can obtain Bison from
6020
6020
*** a GNU mirror site. (If you are using the official distribution of
6021
6021
*** PostgreSQL then you do not need to worry about this, because the Bison
6022
- *** output is pre-generated.) To use a different yacc program (possible,
6023
- *** but not recommended), set the environment variable YACC before running
6024
- *** 'configure'." >&5
6022
+ *** output is pre-generated.)" >&5
6025
6023
echo "$as_me: WARNING:
6026
6024
*** Without Bison you will not be able to build PostgreSQL from CVS nor
6027
6025
*** change any of the parser definition files. You can obtain Bison from
6028
6026
*** a GNU mirror site. (If you are using the official distribution of
6029
6027
*** PostgreSQL then you do not need to worry about this, because the Bison
6030
- *** output is pre-generated.) To use a different yacc program (possible,
6031
- *** but not recommended), set the environment variable YACC before running
6032
- *** 'configure'." >&2;}
6028
+ *** output is pre-generated.)" >&2;}
6033
6029
fi
6034
- # We don't need AC_SUBST(YACC ) because AC_PATH_PROG did it
6030
+ # We don't need AC_SUBST(BISON ) because AC_PATH_PROG did it
6035
6031
6036
6032
6037
6033
{ echo "$as_me:$LINENO: checking for flex" >&5
@@ -26600,8 +26596,8 @@ for ac_last_try in false false false false false :; do
26600
26596
TAR!$TAR$ac_delim
26601
26597
LN_S!$LN_S$ac_delim
26602
26598
AWK!$AWK$ac_delim
26603
- YACC!$YACC $ac_delim
26604
- YFLAGS!$YFLAGS $ac_delim
26599
+ BISON!$BISON $ac_delim
26600
+ BISONFLAGS!$BISONFLAGS $ac_delim
26605
26601
FLEX!$FLEX$ac_delim
26606
26602
FLEXFLAGS!$FLEXFLAGS$ac_delim
26607
26603
PERL!$PERL$ac_delim
0 commit comments