@@ -6685,30 +6685,33 @@ do
66856685set dummy $ac_prog; ac_word=$2
66866686{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
66876687$as_echo_n "checking for $ac_word... " >&6; }
6688- if test "${ac_cv_prog_BISON +set}" = set; then
6688+ if test "${ac_cv_path_BISON +set}" = set; then
66896689 $as_echo_n "(cached) " >&6
66906690else
6691- if test -n "$BISON"; then
6692- ac_cv_prog_BISON="$BISON" # Let the user override the test.
6693- else
6694- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6691+ case $BISON in
6692+ [\\/]* | ?:[\\/]*)
6693+ ac_cv_path_BISON="$BISON" # Let the user override the test with a path.
6694+ ;;
6695+ *)
6696+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
66956697for as_dir in $PATH
66966698do
66976699 IFS=$as_save_IFS
66986700 test -z "$as_dir" && as_dir=.
66996701 for ac_exec_ext in '' $ac_executable_extensions; do
67006702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6701- ac_cv_prog_BISON ="$ac_prog "
6703+ ac_cv_path_BISON ="$as_dir/$ac_word$ac_exec_ext "
67026704 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
67036705 break 2
67046706 fi
67056707done
67066708done
67076709IFS=$as_save_IFS
67086710
6711+ ;;
6712+ esac
67096713fi
6710- fi
6711- BISON=$ac_cv_prog_BISON
6714+ BISON=$ac_cv_path_BISON
67126715if test -n "$BISON"; then
67136716 { $as_echo "$as_me:$LINENO: result: $BISON" >&5
67146717$as_echo "$BISON" >&6; }
@@ -6730,11 +6733,11 @@ $as_echo "$as_me: using $pgac_bison_version" >&6;}
67306733 if echo "$pgac_bison_version" | $AWK '{ if ($4 < 1.875) exit 0; else exit 1;}'
67316734 then
67326735 { $as_echo "$as_me:$LINENO: WARNING:
6733- *** The installed version of Bison is too old to use with PostgreSQL.
6734- *** Bison version 1.875 or later is required." >&5
6736+ *** The installed version of Bison, $BISON, is too old to use with PostgreSQL.
6737+ *** Bison version 1.875 or later is required, but this is $pgac_bison_version ." >&5
67356738$as_echo "$as_me: WARNING:
6736- *** The installed version of Bison is too old to use with PostgreSQL.
6737- *** Bison version 1.875 or later is required." >&2;}
6739+ *** The installed version of Bison, $BISON, is too old to use with PostgreSQL.
6740+ *** Bison version 1.875 or later is required, but this is $pgac_bison_version ." >&2;}
67386741 BISON=""
67396742 fi
67406743fi
@@ -6787,10 +6790,10 @@ else
67876790 else
67886791 { $as_echo "$as_me:$LINENO: WARNING:
67896792*** The installed version of Flex, $pgac_candidate, is too old to use with PostgreSQL.
6790- *** Flex version 2.5.31 or later is required." >&5
6793+ *** Flex version 2.5.31 or later is required, but this is $pgac_flex_version ." >&5
67916794$as_echo "$as_me: WARNING:
67926795*** The installed version of Flex, $pgac_candidate, is too old to use with PostgreSQL.
6793- *** Flex version 2.5.31 or later is required." >&2;}
6796+ *** Flex version 2.5.31 or later is required, but this is $pgac_flex_version ." >&2;}
67946797 fi
67956798 fi
67966799 fi