@@ -6685,30 +6685,33 @@ do
6685
6685
set dummy $ac_prog; ac_word=$2
6686
6686
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6687
6687
$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
6689
6689
$as_echo_n "(cached) " >&6
6690
6690
else
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
6695
6697
for as_dir in $PATH
6696
6698
do
6697
6699
IFS=$as_save_IFS
6698
6700
test -z "$as_dir" && as_dir=.
6699
6701
for ac_exec_ext in '' $ac_executable_extensions; do
6700
6702
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 "
6702
6704
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6703
6705
break 2
6704
6706
fi
6705
6707
done
6706
6708
done
6707
6709
IFS=$as_save_IFS
6708
6710
6711
+ ;;
6712
+ esac
6709
6713
fi
6710
- fi
6711
- BISON=$ac_cv_prog_BISON
6714
+ BISON=$ac_cv_path_BISON
6712
6715
if test -n "$BISON"; then
6713
6716
{ $as_echo "$as_me:$LINENO: result: $BISON" >&5
6714
6717
$as_echo "$BISON" >&6; }
@@ -6730,11 +6733,11 @@ $as_echo "$as_me: using $pgac_bison_version" >&6;}
6730
6733
if echo "$pgac_bison_version" | $AWK '{ if ($4 < 1.875) exit 0; else exit 1;}'
6731
6734
then
6732
6735
{ $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
6735
6738
$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;}
6738
6741
BISON=""
6739
6742
fi
6740
6743
fi
@@ -6787,10 +6790,10 @@ else
6787
6790
else
6788
6791
{ $as_echo "$as_me:$LINENO: WARNING:
6789
6792
*** 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
6791
6794
$as_echo "$as_me: WARNING:
6792
6795
*** 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;}
6794
6797
fi
6795
6798
fi
6796
6799
fi