@@ -718,8 +718,8 @@ STRIP_SHARED_LIB
718718TAR
719719LN_S
720720AWK
721- YACC
722- YFLAGS
721+ BISON
722+ BISONFLAGS
723723FLEX
724724FLEXFLAGS
725725PERL
@@ -5952,18 +5952,18 @@ done
59525952
59535953
59545954# 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
59575957do
59585958 # Extract the first word of "$ac_prog", so it can be a program name with args.
59595959set dummy $ac_prog; ac_word=$2
59605960{ echo "$as_me:$LINENO: checking for $ac_word" >&5
59615961echo $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
59635963 echo $ECHO_N "(cached) $ECHO_C" >&6
59645964else
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.
59675967else
59685968as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
59695969for as_dir in $PATH
59725972 test -z "$as_dir" && as_dir=.
59735973 for ac_exec_ext in '' $ac_executable_extensions; do
59745974 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"
59765976 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
59775977 break 2
59785978 fi
@@ -5982,56 +5982,52 @@ IFS=$as_save_IFS
59825982
59835983fi
59845984fi
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; }
59895989else
59905990 { echo "$as_me:$LINENO: result: no" >&5
59915991echo "${ECHO_T}no" >&6; }
59925992fi
59935993
59945994
5995- test -n "$YACC " && break
5995+ test -n "$BISON " && break
59965996done
59975997
59985998fi
59995999
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;}'
60056005 then
60066006 { echo "$as_me:$LINENO: WARNING:
60076007*** The installed version of Bison is too old to use with PostgreSQL.
60086008*** Bison version 1.875 or later is required." >&5
60096009echo "$as_me: WARNING:
60106010*** The installed version of Bison is too old to use with PostgreSQL.
60116011*** Bison version 1.875 or later is required." >&2;}
6012- YACC =""
6012+ BISON =""
60136013 fi
60146014fi
60156015
6016- if test -z "$YACC "; then
6016+ if test -z "$BISON "; then
60176017 { echo "$as_me:$LINENO: WARNING:
60186018*** Without Bison you will not be able to build PostgreSQL from CVS nor
60196019*** change any of the parser definition files. You can obtain Bison from
60206020*** a GNU mirror site. (If you are using the official distribution of
60216021*** 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
60256023echo "$as_me: WARNING:
60266024*** Without Bison you will not be able to build PostgreSQL from CVS nor
60276025*** change any of the parser definition files. You can obtain Bison from
60286026*** a GNU mirror site. (If you are using the official distribution of
60296027*** 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;}
60336029fi
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
60356031
60366032
60376033{ echo "$as_me:$LINENO: checking for flex" >&5
@@ -26600,8 +26596,8 @@ for ac_last_try in false false false false false :; do
2660026596TAR!$TAR$ac_delim
2660126597LN_S!$LN_S$ac_delim
2660226598AWK!$AWK$ac_delim
26603- YACC!$YACC $ac_delim
26604- YFLAGS!$YFLAGS $ac_delim
26599+ BISON!$BISON $ac_delim
26600+ BISONFLAGS!$BISONFLAGS $ac_delim
2660526601FLEX!$FLEX$ac_delim
2660626602FLEXFLAGS!$FLEXFLAGS$ac_delim
2660726603PERL!$PERL$ac_delim