2386 |
done |
done |
2387 |
test -n "$YACC" || YACC="yacc" |
test -n "$YACC" || YACC="yacc" |
2388 |
|
|
2389 |
|
# AC_PROG_YACC doesn't actually check if yacc exists! |
2390 |
|
tmp_yacc=$YACC |
2391 |
|
unset YACC |
2392 |
|
# Extract the first word of ""$tmp_yacc"", so it can be a program name with args. |
2393 |
|
set dummy "$tmp_yacc"; ac_word=$2 |
2394 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2395 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2396 |
|
if test "${ac_cv_prog_YACC+set}" = set; then |
2397 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2398 |
|
else |
2399 |
|
if test -n "$YACC"; then |
2400 |
|
ac_cv_prog_YACC="$YACC" # Let the user override the test. |
2401 |
|
else |
2402 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2403 |
|
for as_dir in $PATH |
2404 |
|
do |
2405 |
|
IFS=$as_save_IFS |
2406 |
|
test -z "$as_dir" && as_dir=. |
2407 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
2408 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2409 |
|
ac_cv_prog_YACC=""$tmp_yacc"" |
2410 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2411 |
|
break 2 |
2412 |
|
fi |
2413 |
|
done |
2414 |
|
done |
2415 |
|
|
2416 |
|
fi |
2417 |
|
fi |
2418 |
|
YACC=$ac_cv_prog_YACC |
2419 |
|
if test -n "$YACC"; then |
2420 |
|
echo "$as_me:$LINENO: result: $YACC" >&5 |
2421 |
|
echo "${ECHO_T}$YACC" >&6 |
2422 |
|
else |
2423 |
|
echo "$as_me:$LINENO: result: no" >&5 |
2424 |
|
echo "${ECHO_T}no" >&6 |
2425 |
|
fi |
2426 |
|
|
2427 |
|
if test "x$YACC" = x; then |
2428 |
|
{ { echo "$as_me:$LINENO: error: Could not find $tmp_yacc." >&5 |
2429 |
|
echo "$as_me: error: Could not find $tmp_yacc." >&2;} |
2430 |
|
{ (exit 1); exit 1; }; } |
2431 |
|
fi |
2432 |
|
|
2433 |
|
|
2434 |
# Check whether --enable-largefile or --disable-largefile was given. |
# Check whether --enable-largefile or --disable-largefile was given. |
2435 |
if test "${enable_largefile+set}" = set; then |
if test "${enable_largefile+set}" = set; then |