/[emacs]/emacs/configure
ViewVC logotype

Diff of /emacs/configure

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.81 by jhd, Sun Mar 10 16:37:56 2002 UTC revision 1.82 by eliz, Fri Mar 15 12:22:53 2002 UTC
# Line 1718  case "${canonical}" in Line 1718  case "${canonical}" in
1718    rs6000-ibm-aix4.2* | powerpc-ibm-aix4.2*  )    rs6000-ibm-aix4.2* | powerpc-ibm-aix4.2*  )
1719      machine=ibmrs6000 opsys=aix4-2      machine=ibmrs6000 opsys=aix4-2
1720    ;;    ;;
1721      rs6000-ibm-aix5.1* | powerpc-ibm-aix5.1*  )
1722        machine=ibmrs6000 opsys=aix4-2
1723      ;;
1724    rs6000-ibm-aix4.0* | powerpc-ibm-aix4.0*  )    rs6000-ibm-aix4.0* | powerpc-ibm-aix4.0*  )
1725      machine=ibmrs6000 opsys=aix4      machine=ibmrs6000 opsys=aix4
1726    ;;    ;;
# Line 2230  if test x"${opsys}" = x; then Line 2233  if test x"${opsys}" = x; then
2233  fi  fi
2234    
2235  if test $unported = yes; then  if test $unported = yes; then
2236    { { echo "$as_me:2233: error: Emacs hasn't been ported to \`${canonical}' systems.    { { echo "$as_me:2236: error: Emacs hasn't been ported to \`${canonical}' systems.
2237  Check \`etc/MACHINES' for recognized configuration names." >&5  Check \`etc/MACHINES' for recognized configuration names." >&5
2238  echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems.  echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems.
2239  Check \`etc/MACHINES' for recognized configuration names." >&2;}  Check \`etc/MACHINES' for recognized configuration names." >&2;}
# Line 2259  ac_compiler_gnu=$ac_cv_c_compiler_gnu Line 2262  ac_compiler_gnu=$ac_cv_c_compiler_gnu
2262  if test -n "$ac_tool_prefix"; then  if test -n "$ac_tool_prefix"; then
2263    # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.    # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2264  set dummy ${ac_tool_prefix}gcc; ac_word=$2  set dummy ${ac_tool_prefix}gcc; ac_word=$2
2265  echo "$as_me:2262: checking for $ac_word" >&5  echo "$as_me:2265: checking for $ac_word" >&5
2266  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2267  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
2268    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2274  for ac_dir in $ac_dummy; do Line 2277  for ac_dir in $ac_dummy; do
2277    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
2278    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
2279  ac_cv_prog_CC="${ac_tool_prefix}gcc"  ac_cv_prog_CC="${ac_tool_prefix}gcc"
2280  echo "$as_me:2277: found $ac_dir/$ac_word" >&5  echo "$as_me:2280: found $ac_dir/$ac_word" >&5
2281  break  break
2282  done  done
2283    
# Line 2282  fi Line 2285  fi
2285  fi  fi
2286  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2287  if test -n "$CC"; then  if test -n "$CC"; then
2288    echo "$as_me:2285: result: $CC" >&5    echo "$as_me:2288: result: $CC" >&5
2289  echo "${ECHO_T}$CC" >&6  echo "${ECHO_T}$CC" >&6
2290  else  else
2291    echo "$as_me:2288: result: no" >&5    echo "$as_me:2291: result: no" >&5
2292  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2293  fi  fi
2294    
# Line 2294  if test -z "$ac_cv_prog_CC"; then Line 2297  if test -z "$ac_cv_prog_CC"; then
2297    ac_ct_CC=$CC    ac_ct_CC=$CC
2298    # Extract the first word of "gcc", so it can be a program name with args.    # Extract the first word of "gcc", so it can be a program name with args.
2299  set dummy gcc; ac_word=$2  set dummy gcc; ac_word=$2
2300  echo "$as_me:2297: checking for $ac_word" >&5  echo "$as_me:2300: checking for $ac_word" >&5
2301  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2302  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2303    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2309  for ac_dir in $ac_dummy; do Line 2312  for ac_dir in $ac_dummy; do
2312    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
2313    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
2314  ac_cv_prog_ac_ct_CC="gcc"  ac_cv_prog_ac_ct_CC="gcc"
2315  echo "$as_me:2312: found $ac_dir/$ac_word" >&5  echo "$as_me:2315: found $ac_dir/$ac_word" >&5
2316  break  break
2317  done  done
2318    
# Line 2317  fi Line 2320  fi
2320  fi  fi
2321  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_CC=$ac_cv_prog_ac_ct_CC
2322  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_CC"; then
2323    echo "$as_me:2320: result: $ac_ct_CC" >&5    echo "$as_me:2323: result: $ac_ct_CC" >&5
2324  echo "${ECHO_T}$ac_ct_CC" >&6  echo "${ECHO_T}$ac_ct_CC" >&6
2325  else  else
2326    echo "$as_me:2323: result: no" >&5    echo "$as_me:2326: result: no" >&5
2327  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2328  fi  fi
2329    
# Line 2333  if test -z "$CC"; then Line 2336  if test -z "$CC"; then
2336    if test -n "$ac_tool_prefix"; then    if test -n "$ac_tool_prefix"; then
2337    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2338  set dummy ${ac_tool_prefix}cc; ac_word=$2  set dummy ${ac_tool_prefix}cc; ac_word=$2
2339  echo "$as_me:2336: checking for $ac_word" >&5  echo "$as_me:2339: checking for $ac_word" >&5
2340  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2341  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
2342    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2348  for ac_dir in $ac_dummy; do Line 2351  for ac_dir in $ac_dummy; do
2351    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
2352    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
2353  ac_cv_prog_CC="${ac_tool_prefix}cc"  ac_cv_prog_CC="${ac_tool_prefix}cc"
2354  echo "$as_me:2351: found $ac_dir/$ac_word" >&5  echo "$as_me:2354: found $ac_dir/$ac_word" >&5
2355  break  break
2356  done  done
2357    
# Line 2356  fi Line 2359  fi
2359  fi  fi
2360  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2361  if test -n "$CC"; then  if test -n "$CC"; then
2362    echo "$as_me:2359: result: $CC" >&5    echo "$as_me:2362: result: $CC" >&5
2363  echo "${ECHO_T}$CC" >&6  echo "${ECHO_T}$CC" >&6
2364  else  else
2365    echo "$as_me:2362: result: no" >&5    echo "$as_me:2365: result: no" >&5
2366  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2367  fi  fi
2368    
# Line 2368  if test -z "$ac_cv_prog_CC"; then Line 2371  if test -z "$ac_cv_prog_CC"; then
2371    ac_ct_CC=$CC    ac_ct_CC=$CC
2372    # Extract the first word of "cc", so it can be a program name with args.    # Extract the first word of "cc", so it can be a program name with args.
2373  set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
2374  echo "$as_me:2371: checking for $ac_word" >&5  echo "$as_me:2374: checking for $ac_word" >&5
2375  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2376  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2377    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2383  for ac_dir in $ac_dummy; do Line 2386  for ac_dir in $ac_dummy; do
2386    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
2387    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
2388  ac_cv_prog_ac_ct_CC="cc"  ac_cv_prog_ac_ct_CC="cc"
2389  echo "$as_me:2386: found $ac_dir/$ac_word" >&5  echo "$as_me:2389: found $ac_dir/$ac_word" >&5
2390  break  break
2391  done  done
2392    
# Line 2391  fi Line 2394  fi
2394  fi  fi
2395  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_CC=$ac_cv_prog_ac_ct_CC
2396  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_CC"; then
2397    echo "$as_me:2394: result: $ac_ct_CC" >&5    echo "$as_me:2397: result: $ac_ct_CC" >&5
2398  echo "${ECHO_T}$ac_ct_CC" >&6  echo "${ECHO_T}$ac_ct_CC" >&6
2399  else  else
2400    echo "$as_me:2397: result: no" >&5    echo "$as_me:2400: result: no" >&5
2401  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2402  fi  fi
2403    
# Line 2407  fi Line 2410  fi
2410  if test -z "$CC"; then  if test -z "$CC"; then
2411    # Extract the first word of "cc", so it can be a program name with args.    # Extract the first word of "cc", so it can be a program name with args.
2412  set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
2413  echo "$as_me:2410: checking for $ac_word" >&5  echo "$as_me:2413: checking for $ac_word" >&5
2414  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2415  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
2416    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2427  if test "$ac_dir/$ac_word" = "/usr/ucb/c Line 2430  if test "$ac_dir/$ac_word" = "/usr/ucb/c
2430    continue    continue
2431  fi  fi
2432  ac_cv_prog_CC="cc"  ac_cv_prog_CC="cc"
2433  echo "$as_me:2430: found $ac_dir/$ac_word" >&5  echo "$as_me:2433: found $ac_dir/$ac_word" >&5
2434  break  break
2435  done  done
2436    
# Line 2449  fi Line 2452  fi
2452  fi  fi
2453  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2454  if test -n "$CC"; then  if test -n "$CC"; then
2455    echo "$as_me:2452: result: $CC" >&5    echo "$as_me:2455: result: $CC" >&5
2456  echo "${ECHO_T}$CC" >&6  echo "${ECHO_T}$CC" >&6
2457  else  else
2458    echo "$as_me:2455: result: no" >&5    echo "$as_me:2458: result: no" >&5
2459  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2460  fi  fi
2461    
# Line 2463  if test -z "$CC"; then Line 2466  if test -z "$CC"; then
2466    do    do
2467      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2468  set dummy $ac_tool_prefix$ac_prog; ac_word=$2  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2469  echo "$as_me:2466: checking for $ac_word" >&5  echo "$as_me:2469: checking for $ac_word" >&5
2470  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2471  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
2472    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2478  for ac_dir in $ac_dummy; do Line 2481  for ac_dir in $ac_dummy; do
2481    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
2482    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
2483  ac_cv_prog_CC="$ac_tool_prefix$ac_prog"  ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2484  echo "$as_me:2481: found $ac_dir/$ac_word" >&5  echo "$as_me:2484: found $ac_dir/$ac_word" >&5
2485  break  break
2486  done  done
2487    
# Line 2486  fi Line 2489  fi
2489  fi  fi
2490  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2491  if test -n "$CC"; then  if test -n "$CC"; then
2492    echo "$as_me:2489: result: $CC" >&5    echo "$as_me:2492: result: $CC" >&5
2493  echo "${ECHO_T}$CC" >&6  echo "${ECHO_T}$CC" >&6
2494  else  else
2495    echo "$as_me:2492: result: no" >&5    echo "$as_me:2495: result: no" >&5
2496  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2497  fi  fi
2498    
# Line 2502  if test -z "$CC"; then Line 2505  if test -z "$CC"; then
2505  do  do
2506    # Extract the first word of "$ac_prog", so it can be a program name with args.    # Extract the first word of "$ac_prog", so it can be a program name with args.
2507  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
2508  echo "$as_me:2505: checking for $ac_word" >&5  echo "$as_me:2508: checking for $ac_word" >&5
2509  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2510  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2511    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2517  for ac_dir in $ac_dummy; do Line 2520  for ac_dir in $ac_dummy; do
2520    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
2521    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
2522  ac_cv_prog_ac_ct_CC="$ac_prog"  ac_cv_prog_ac_ct_CC="$ac_prog"
2523  echo "$as_me:2520: found $ac_dir/$ac_word" >&5  echo "$as_me:2523: found $ac_dir/$ac_word" >&5
2524  break  break
2525  done  done
2526    
# Line 2525  fi Line 2528  fi
2528  fi  fi
2529  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_CC=$ac_cv_prog_ac_ct_CC
2530  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_CC"; then
2531    echo "$as_me:2528: result: $ac_ct_CC" >&5    echo "$as_me:2531: result: $ac_ct_CC" >&5
2532  echo "${ECHO_T}$ac_ct_CC" >&6  echo "${ECHO_T}$ac_ct_CC" >&6
2533  else  else
2534    echo "$as_me:2531: result: no" >&5    echo "$as_me:2534: result: no" >&5
2535  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2536  fi  fi
2537    
# Line 2540  fi Line 2543  fi
2543    
2544  fi  fi
2545    
2546  test -z "$CC" && { { echo "$as_me:2543: error: no acceptable cc found in \$PATH" >&5  test -z "$CC" && { { echo "$as_me:2546: error: no acceptable cc found in \$PATH" >&5
2547  echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}  echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2548     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
2549    
2550  # Provide some information about the compiler.  # Provide some information about the compiler.
2551  echo "$as_me:2548:" \  echo "$as_me:2551:" \
2552       "checking for C compiler version" >&5       "checking for C compiler version" >&5
2553  ac_compiler=`set X $ac_compile; echo $2`  ac_compiler=`set X $ac_compile; echo $2`
2554  { (eval echo "$as_me:2551: \"$ac_compiler --version </dev/null >&5\"") >&5  { (eval echo "$as_me:2554: \"$ac_compiler --version </dev/null >&5\"") >&5
2555    (eval $ac_compiler --version </dev/null >&5) 2>&5    (eval $ac_compiler --version </dev/null >&5) 2>&5
2556    ac_status=$?    ac_status=$?
2557    echo "$as_me:2554: \$? = $ac_status" >&5    echo "$as_me:2557: \$? = $ac_status" >&5
2558    (exit $ac_status); }    (exit $ac_status); }
2559  { (eval echo "$as_me:2556: \"$ac_compiler -v </dev/null >&5\"") >&5  { (eval echo "$as_me:2559: \"$ac_compiler -v </dev/null >&5\"") >&5
2560    (eval $ac_compiler -v </dev/null >&5) 2>&5    (eval $ac_compiler -v </dev/null >&5) 2>&5
2561    ac_status=$?    ac_status=$?
2562    echo "$as_me:2559: \$? = $ac_status" >&5    echo "$as_me:2562: \$? = $ac_status" >&5
2563    (exit $ac_status); }    (exit $ac_status); }
2564  { (eval echo "$as_me:2561: \"$ac_compiler -V </dev/null >&5\"") >&5  { (eval echo "$as_me:2564: \"$ac_compiler -V </dev/null >&5\"") >&5
2565    (eval $ac_compiler -V </dev/null >&5) 2>&5    (eval $ac_compiler -V </dev/null >&5) 2>&5
2566    ac_status=$?    ac_status=$?
2567    echo "$as_me:2564: \$? = $ac_status" >&5    echo "$as_me:2567: \$? = $ac_status" >&5
2568    (exit $ac_status); }    (exit $ac_status); }
2569    
2570  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
2571  #line 2568 "configure"  #line 2571 "configure"
2572  #include "confdefs.h"  #include "confdefs.h"
2573    
2574  int  int
# Line 2581  ac_clean_files="$ac_clean_files a.out a. Line 2584  ac_clean_files="$ac_clean_files a.out a.
2584  # Try to create an executable without -o first, disregard a.out.  # Try to create an executable without -o first, disregard a.out.
2585  # It will help us diagnose broken compilers, and finding out an intuition  # It will help us diagnose broken compilers, and finding out an intuition
2586  # of exeext.  # of exeext.
2587  echo "$as_me:2584: checking for C compiler default output" >&5  echo "$as_me:2587: checking for C compiler default output" >&5
2588  echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6  echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2589  ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`  ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2590  if { (eval echo "$as_me:2587: \"$ac_link_default\"") >&5  if { (eval echo "$as_me:2590: \"$ac_link_default\"") >&5
2591    (eval $ac_link_default) 2>&5    (eval $ac_link_default) 2>&5
2592    ac_status=$?    ac_status=$?
2593    echo "$as_me:2590: \$? = $ac_status" >&5    echo "$as_me:2593: \$? = $ac_status" >&5
2594    (exit $ac_status); }; then    (exit $ac_status); }; then
2595    # Find the output, starting from the most likely.  This scheme is    # Find the output, starting from the most likely.  This scheme is
2596  # not robust to junk in `.', hence go to wildcards (a.*) only as a last  # not robust to junk in `.', hence go to wildcards (a.*) only as a last
# Line 2610  done Line 2613  done
2613  else  else
2614    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2615  cat conftest.$ac_ext >&5  cat conftest.$ac_ext >&5
2616  { { echo "$as_me:2613: error: C compiler cannot create executables" >&5  { { echo "$as_me:2616: error: C compiler cannot create executables" >&5
2617  echo "$as_me: error: C compiler cannot create executables" >&2;}  echo "$as_me: error: C compiler cannot create executables" >&2;}
2618     { (exit 77); exit 77; }; }     { (exit 77); exit 77; }; }
2619  fi  fi
2620    
2621  ac_exeext=$ac_cv_exeext  ac_exeext=$ac_cv_exeext
2622  echo "$as_me:2619: result: $ac_file" >&5  echo "$as_me:2622: result: $ac_file" >&5
2623  echo "${ECHO_T}$ac_file" >&6  echo "${ECHO_T}$ac_file" >&6
2624    
2625  # Check the compiler produces executables we can run.  If not, either  # Check the compiler produces executables we can run.  If not, either
2626  # the compiler is broken, or we cross compile.  # the compiler is broken, or we cross compile.
2627  echo "$as_me:2624: checking whether the C compiler works" >&5  echo "$as_me:2627: checking whether the C compiler works" >&5
2628  echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6  echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2629  # FIXME: These cross compiler hacks should be removed for Autoconf 3.0  # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2630  # If not cross compiling, check that we can run a simple program.  # If not cross compiling, check that we can run a simple program.
2631  if test "$cross_compiling" != yes; then  if test "$cross_compiling" != yes; then
2632    if { ac_try='./$ac_file'    if { ac_try='./$ac_file'
2633    { (eval echo "$as_me:2630: \"$ac_try\"") >&5    { (eval echo "$as_me:2633: \"$ac_try\"") >&5
2634    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2635    ac_status=$?    ac_status=$?
2636    echo "$as_me:2633: \$? = $ac_status" >&5    echo "$as_me:2636: \$? = $ac_status" >&5
2637    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2638      cross_compiling=no      cross_compiling=no
2639    else    else
2640      if test "$cross_compiling" = maybe; then      if test "$cross_compiling" = maybe; then
2641          cross_compiling=yes          cross_compiling=yes
2642      else      else
2643          { { echo "$as_me:2640: error: cannot run C compiled programs.          { { echo "$as_me:2643: error: cannot run C compiled programs.
2644  If you meant to cross compile, use \`--host'." >&5  If you meant to cross compile, use \`--host'." >&5
2645  echo "$as_me: error: cannot run C compiled programs.  echo "$as_me: error: cannot run C compiled programs.
2646  If you meant to cross compile, use \`--host'." >&2;}  If you meant to cross compile, use \`--host'." >&2;}
# Line 2645  If you meant to cross compile, use \`--h Line 2648  If you meant to cross compile, use \`--h
2648      fi      fi
2649    fi    fi
2650  fi  fi
2651  echo "$as_me:2648: result: yes" >&5  echo "$as_me:2651: result: yes" >&5
2652  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
2653    
2654  rm -f a.out a.exe conftest$ac_cv_exeext  rm -f a.out a.exe conftest$ac_cv_exeext
2655  ac_clean_files=$ac_clean_files_save  ac_clean_files=$ac_clean_files_save
2656  # Check the compiler produces executables we can run.  If not, either  # Check the compiler produces executables we can run.  If not, either
2657  # the compiler is broken, or we cross compile.  # the compiler is broken, or we cross compile.
2658  echo "$as_me:2655: checking whether we are cross compiling" >&5  echo "$as_me:2658: checking whether we are cross compiling" >&5
2659  echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6  echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2660  echo "$as_me:2657: result: $cross_compiling" >&5  echo "$as_me:2660: result: $cross_compiling" >&5
2661  echo "${ECHO_T}$cross_compiling" >&6  echo "${ECHO_T}$cross_compiling" >&6
2662    
2663  echo "$as_me:2660: checking for executable suffix" >&5  echo "$as_me:2663: checking for executable suffix" >&5
2664  echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6  echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
2665  if { (eval echo "$as_me:2662: \"$ac_link\"") >&5  if { (eval echo "$as_me:2665: \"$ac_link\"") >&5
2666    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
2667    ac_status=$?    ac_status=$?
2668    echo "$as_me:2665: \$? = $ac_status" >&5    echo "$as_me:2668: \$? = $ac_status" >&5
2669    (exit $ac_status); }; then    (exit $ac_status); }; then
2670    # If both `conftest.exe' and `conftest' are `present' (well, observable)    # If both `conftest.exe' and `conftest' are `present' (well, observable)
2671  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
# Line 2678  for ac_file in `(ls conftest.exe; ls con Line 2681  for ac_file in `(ls conftest.exe; ls con
2681    esac    esac
2682  done  done
2683  else  else
2684    { { echo "$as_me:2681: error: cannot compute EXEEXT: cannot compile and link" >&5    { { echo "$as_me:2684: error: cannot compute EXEEXT: cannot compile and link" >&5
2685  echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}  echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
2686     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
2687  fi  fi
2688    
2689  rm -f conftest$ac_cv_exeext  rm -f conftest$ac_cv_exeext
2690  echo "$as_me:2687: result: $ac_cv_exeext" >&5  echo "$as_me:2690: result: $ac_cv_exeext" >&5
2691  echo "${ECHO_T}$ac_cv_exeext" >&6  echo "${ECHO_T}$ac_cv_exeext" >&6
2692    
2693  rm -f conftest.$ac_ext  rm -f conftest.$ac_ext
2694  EXEEXT=$ac_cv_exeext  EXEEXT=$ac_cv_exeext
2695  ac_exeext=$EXEEXT  ac_exeext=$EXEEXT
2696  echo "$as_me:2693: checking for object suffix" >&5  echo "$as_me:2696: checking for object suffix" >&5
2697  echo $ECHO_N "checking for object suffix... $ECHO_C" >&6  echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
2698  if test "${ac_cv_objext+set}" = set; then  if test "${ac_cv_objext+set}" = set; then
2699    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2700  else  else
2701    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2702  #line 2699 "configure"  #line 2702 "configure"
2703  #include "confdefs.h"  #include "confdefs.h"
2704    
2705  int  int
# Line 2708  main () Line 2711  main ()
2711  }  }
2712  _ACEOF  _ACEOF
2713  rm -f conftest.o conftest.obj  rm -f conftest.o conftest.obj
2714  if { (eval echo "$as_me:2711: \"$ac_compile\"") >&5  if { (eval echo "$as_me:2714: \"$ac_compile\"") >&5
2715    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2716    ac_status=$?    ac_status=$?
2717    echo "$as_me:2714: \$? = $ac_status" >&5    echo "$as_me:2717: \$? = $ac_status" >&5
2718    (exit $ac_status); }; then    (exit $ac_status); }; then
2719    for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do    for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2720    case $ac_file in    case $ac_file in
# Line 2723  done Line 2726  done
2726  else  else
2727    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2728  cat conftest.$ac_ext >&5  cat conftest.$ac_ext >&5
2729  { { echo "$as_me:2726: error: cannot compute OBJEXT: cannot compile" >&5  { { echo "$as_me:2729: error: cannot compute OBJEXT: cannot compile" >&5
2730  echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}  echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
2731     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
2732  fi  fi
2733    
2734  rm -f conftest.$ac_cv_objext conftest.$ac_ext  rm -f conftest.$ac_cv_objext conftest.$ac_ext
2735  fi  fi
2736  echo "$as_me:2733: result: $ac_cv_objext" >&5  echo "$as_me:2736: result: $ac_cv_objext" >&5
2737  echo "${ECHO_T}$ac_cv_objext" >&6  echo "${ECHO_T}$ac_cv_objext" >&6
2738  OBJEXT=$ac_cv_objext  OBJEXT=$ac_cv_objext
2739  ac_objext=$OBJEXT  ac_objext=$OBJEXT
2740  echo "$as_me:2737: checking whether we are using the GNU C compiler" >&5  echo "$as_me:2740: checking whether we are using the GNU C compiler" >&5
2741  echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6  echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2742  if test "${ac_cv_c_compiler_gnu+set}" = set; then  if test "${ac_cv_c_compiler_gnu+set}" = set; then
2743    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2744  else  else
2745    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2746  #line 2743 "configure"  #line 2746 "configure"
2747  #include "confdefs.h"  #include "confdefs.h"
2748    
2749  int  int
# Line 2755  main () Line 2758  main ()
2758  }  }
2759  _ACEOF  _ACEOF
2760  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2761  if { (eval echo "$as_me:2758: \"$ac_compile\"") >&5  if { (eval echo "$as_me:2761: \"$ac_compile\"") >&5
2762    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2763    ac_status=$?    ac_status=$?
2764    echo "$as_me:2761: \$? = $ac_status" >&5    echo "$as_me:2764: \$? = $ac_status" >&5
2765    (exit $ac_status); } &&    (exit $ac_status); } &&
2766           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
2767    { (eval echo "$as_me:2764: \"$ac_try\"") >&5    { (eval echo "$as_me:2767: \"$ac_try\"") >&5
2768    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2769    ac_status=$?    ac_status=$?
2770    echo "$as_me:2767: \$? = $ac_status" >&5    echo "$as_me:2770: \$? = $ac_status" >&5
2771    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2772    ac_compiler_gnu=yes    ac_compiler_gnu=yes
2773  else  else
# Line 2776  rm -f conftest.$ac_objext conftest.$ac_e Line 2779  rm -f conftest.$ac_objext conftest.$ac_e
2779  ac_cv_c_compiler_gnu=$ac_compiler_gnu  ac_cv_c_compiler_gnu=$ac_compiler_gnu
2780    
2781  fi  fi
2782  echo "$as_me:2779: result: $ac_cv_c_compiler_gnu" >&5  echo "$as_me:2782: result: $ac_cv_c_compiler_gnu" >&5
2783  echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6  echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2784  GCC=`test $ac_compiler_gnu = yes && echo yes`  GCC=`test $ac_compiler_gnu = yes && echo yes`
2785  ac_test_CFLAGS=${CFLAGS+set}  ac_test_CFLAGS=${CFLAGS+set}
2786  ac_save_CFLAGS=$CFLAGS  ac_save_CFLAGS=$CFLAGS
2787  CFLAGS="-g"  CFLAGS="-g"
2788  echo "$as_me:2785: checking whether $CC accepts -g" >&5  echo "$as_me:2788: checking whether $CC accepts -g" >&5
2789  echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6  echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2790  if test "${ac_cv_prog_cc_g+set}" = set; then  if test "${ac_cv_prog_cc_g+set}" = set; then
2791    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2792  else  else
2793    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2794  #line 2791 "configure"  #line 2794 "configure"
2795  #include "confdefs.h"  #include "confdefs.h"
2796    
2797  int  int
# Line 2800  main () Line 2803  main ()
2803  }  }
2804  _ACEOF  _ACEOF
2805  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2806  if { (eval echo "$as_me:2803: \"$ac_compile\"") >&5  if { (eval echo "$as_me:2806: \"$ac_compile\"") >&5
2807    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2808    ac_status=$?    ac_status=$?
2809    echo "$as_me:2806: \$? = $ac_status" >&5    echo "$as_me:2809: \$? = $ac_status" >&5
2810    (exit $ac_status); } &&    (exit $ac_status); } &&
2811           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
2812    { (eval echo "$as_me:2809: \"$ac_try\"") >&5    { (eval echo "$as_me:2812: \"$ac_try\"") >&5
2813    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2814    ac_status=$?    ac_status=$?
2815    echo "$as_me:2812: \$? = $ac_status" >&5    echo "$as_me:2815: \$? = $ac_status" >&5
2816    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2817    ac_cv_prog_cc_g=yes    ac_cv_prog_cc_g=yes
2818  else  else
# Line 2819  ac_cv_prog_cc_g=no Line 2822  ac_cv_prog_cc_g=no
2822  fi  fi
2823  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
2824  fi  fi
2825  echo "$as_me:2822: result: $ac_cv_prog_cc_g" >&5  echo "$as_me:2825: result: $ac_cv_prog_cc_g" >&5
2826  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2827  if test "$ac_test_CFLAGS" = set; then  if test "$ac_test_CFLAGS" = set; then
2828    CFLAGS=$ac_save_CFLAGS    CFLAGS=$ac_save_CFLAGS
# Line 2846  cat >conftest.$ac_ext <<_ACEOF Line 2849  cat >conftest.$ac_ext <<_ACEOF
2849  #endif  #endif
2850  _ACEOF  _ACEOF
2851  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2852  if { (eval echo "$as_me:2849: \"$ac_compile\"") >&5  if { (eval echo "$as_me:2852: \"$ac_compile\"") >&5
2853    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2854    ac_status=$?    ac_status=$?
2855    echo "$as_me:2852: \$? = $ac_status" >&5    echo "$as_me:2855: \$? = $ac_status" >&5
2856    (exit $ac_status); } &&    (exit $ac_status); } &&
2857           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
2858    { (eval echo "$as_me:2855: \"$ac_try\"") >&5    { (eval echo "$as_me:2858: \"$ac_try\"") >&5
2859    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2860    ac_status=$?    ac_status=$?
2861    echo "$as_me:2858: \$? = $ac_status" >&5    echo "$as_me:2861: \$? = $ac_status" >&5
2862    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2863    for ac_declaration in \    for ac_declaration in \
2864     ''\     ''\
# Line 2867  if { (eval echo "$as_me:2849: \"$ac_comp Line 2870  if { (eval echo "$as_me:2849: \"$ac_comp
2870     'void exit (int);'     'void exit (int);'
2871  do  do
2872    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2873  #line 2870 "configure"  #line 2873 "configure"
2874  #include "confdefs.h"  #include "confdefs.h"
2875  #include <stdlib.h>  #include <stdlib.h>
2876  $ac_declaration  $ac_declaration
# Line 2880  exit (42); Line 2883  exit (42);
2883  }  }
2884  _ACEOF  _ACEOF
2885  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2886  if { (eval echo "$as_me:2883: \"$ac_compile\"") >&5  if { (eval echo "$as_me:2886: \"$ac_compile\"") >&5
2887    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2888    ac_status=$?    ac_status=$?
2889    echo "$as_me:2886: \$? = $ac_status" >&5    echo "$as_me:2889: \$? = $ac_status" >&5
2890    (exit $ac_status); } &&    (exit $ac_status); } &&
2891           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
2892    { (eval echo "$as_me:2889: \"$ac_try\"") >&5    { (eval echo "$as_me:2892: \"$ac_try\"") >&5
2893    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2894    ac_status=$?    ac_status=$?
2895    echo "$as_me:2892: \$? = $ac_status" >&5    echo "$as_me:2895: \$? = $ac_status" >&5
2896    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2897    :    :
2898  else  else
# Line 2899  continue Line 2902  continue
2902  fi  fi
2903  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
2904    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2905  #line 2902 "configure"  #line 2905 "configure"
2906  #include "confdefs.h"  #include "confdefs.h"
2907  $ac_declaration  $ac_declaration
2908  int  int
# Line 2911  exit (42); Line 2914  exit (42);
2914  }  }
2915  _ACEOF  _ACEOF
2916  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2917  if { (eval echo "$as_me:2914: \"$ac_compile\"") >&5  if { (eval echo "$as_me:2917: \"$ac_compile\"") >&5
2918    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2919    ac_status=$?    ac_status=$?
2920    echo "$as_me:2917: \$? = $ac_status" >&5    echo "$as_me:2920: \$? = $ac_status" >&5
2921    (exit $ac_status); } &&    (exit $ac_status); } &&
2922           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
2923    { (eval echo "$as_me:2920: \"$ac_try\"") >&5    { (eval echo "$as_me:2923: \"$ac_try\"") >&5
2924    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2925    ac_status=$?    ac_status=$?
2926    echo "$as_me:2923: \$? = $ac_status" >&5    echo "$as_me:2926: \$? = $ac_status" >&5
2927    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2928    break    break
2929  else  else
# Line 2993  fi Line 2996  fi
2996  #### should make an entry in src/config.h, don't forget to add an  #### should make an entry in src/config.h, don't forget to add an
2997  #### #undef clause to src/config.h.in for autoconf to modify.  #### #undef clause to src/config.h.in for autoconf to modify.
2998    
2999  echo "$as_me:2996: checking whether ln -s works" >&5  echo "$as_me:2999: checking whether ln -s works" >&5
3000  echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6  echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3001  LN_S=$as_ln_s  LN_S=$as_ln_s
3002  if test "$LN_S" = "ln -s"; then  if test "$LN_S" = "ln -s"; then
3003    echo "$as_me:3000: result: yes" >&5    echo "$as_me:3003: result: yes" >&5
3004  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
3005  else  else
3006    echo "$as_me:3003: result: no, using $LN_S" >&5    echo "$as_me:3006: result: no, using $LN_S" >&5
3007  echo "${ECHO_T}no, using $LN_S" >&6  echo "${ECHO_T}no, using $LN_S" >&6
3008  fi  fi
3009    
# Line 3009  ac_cpp='$CPP $CPPFLAGS' Line 3012  ac_cpp='$CPP $CPPFLAGS'
3012  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3013  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3014  ac_compiler_gnu=$ac_cv_c_compiler_gnu  ac_compiler_gnu=$ac_cv_c_compiler_gnu
3015  echo "$as_me:3012: checking how to run the C preprocessor" >&5  echo "$as_me:3015: checking how to run the C preprocessor" >&5
3016  echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6  echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3017  # On Suns, sometimes $CPP names a directory.  # On Suns, sometimes $CPP names a directory.
3018  if test -n "$CPP" && test -d "$CPP"; then  if test -n "$CPP" && test -d "$CPP"; then
# Line 3030  do Line 3033  do
3033    # On the NeXT, cc -E runs the code through the compiler's parser,    # On the NeXT, cc -E runs the code through the compiler's parser,
3034    # not just through cpp. "Syntax error" is here to catch this case.    # not just through cpp. "Syntax error" is here to catch this case.
3035    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3036  #line 3033 "configure"  #line 3036 "configure"
3037  #include "confdefs.h"  #include "confdefs.h"
3038  #include <assert.h>  #include <assert.h>
3039                       Syntax error                       Syntax error
3040  _ACEOF  _ACEOF
3041  if { (eval echo "$as_me:3038: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:3041: \"$ac_cpp conftest.$ac_ext\"") >&5
3042    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3043    ac_status=$?    ac_status=$?
3044    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
3045    rm -f conftest.er1    rm -f conftest.er1
3046    cat conftest.err >&5    cat conftest.err >&5
3047    echo "$as_me:3044: \$? = $ac_status" >&5    echo "$as_me:3047: \$? = $ac_status" >&5
3048    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3049    if test -s conftest.err; then    if test -s conftest.err; then
3050      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 3064  rm -f conftest.err conftest.$ac_ext Line 3067  rm -f conftest.err conftest.$ac_ext
3067    # OK, works on sane cases.  Now check whether non-existent headers    # OK, works on sane cases.  Now check whether non-existent headers
3068    # can be detected and how.    # can be detected and how.
3069    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3070  #line 3067 "configure"  #line 3070 "configure"
3071  #include "confdefs.h"  #include "confdefs.h"
3072  #include <ac_nonexistent.h>  #include <ac_nonexistent.h>
3073  _ACEOF  _ACEOF
3074  if { (eval echo "$as_me:3071: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:3074: \"$ac_cpp conftest.$ac_ext\"") >&5
3075    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3076    ac_status=$?    ac_status=$?
3077    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
3078    rm -f conftest.er1    rm -f conftest.er1
3079    cat conftest.err >&5    cat conftest.err >&5
3080    echo "$as_me:3077: \$? = $ac_status" >&5    echo "$as_me:3080: \$? = $ac_status" >&5
3081    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3082    if test -s conftest.err; then    if test -s conftest.err; then
3083      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 3111  fi Line 3114  fi
3114  else  else
3115    ac_cv_prog_CPP=$CPP    ac_cv_prog_CPP=$CPP
3116  fi  fi
3117  echo "$as_me:3114: result: $CPP" >&5  echo "$as_me:3117: result: $CPP" >&5
3118  echo "${ECHO_T}$CPP" >&6  echo "${ECHO_T}$CPP" >&6
3119  ac_preproc_ok=false  ac_preproc_ok=false
3120  for ac_c_preproc_warn_flag in '' yes  for ac_c_preproc_warn_flag in '' yes
# Line 3121  do Line 3124  do
3124    # On the NeXT, cc -E runs the code through the compiler's parser,    # On the NeXT, cc -E runs the code through the compiler's parser,
3125    # not just through cpp. "Syntax error" is here to catch this case.    # not just through cpp. "Syntax error" is here to catch this case.
3126    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3127  #line 3124 "configure"  #line 3127 "configure"
3128  #include "confdefs.h"  #include "confdefs.h"
3129  #include <assert.h>  #include <assert.h>
3130                       Syntax error                       Syntax error
3131  _ACEOF  _ACEOF
3132  if { (eval echo "$as_me:3129: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:3132: \"$ac_cpp conftest.$ac_ext\"") >&5
3133    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3134    ac_status=$?    ac_status=$?
3135    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
3136    rm -f conftest.er1    rm -f conftest.er1
3137    cat conftest.err >&5    cat conftest.err >&5
3138    echo "$as_me:3135: \$? = $ac_status" >&5    echo "$as_me:3138: \$? = $ac_status" >&5
3139    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3140    if test -s conftest.err; then    if test -s conftest.err; then
3141      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 3155  rm -f conftest.err conftest.$ac_ext Line 3158  rm -f conftest.err conftest.$ac_ext
3158    # OK, works on sane cases.  Now check whether non-existent headers    # OK, works on sane cases.  Now check whether non-existent headers
3159    # can be detected and how.    # can be detected and how.
3160    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3161  #line 3158 "configure"  #line 3161 "configure"
3162  #include "confdefs.h"  #include "confdefs.h"
3163  #include <ac_nonexistent.h>  #include <ac_nonexistent.h>
3164  _ACEOF  _ACEOF
3165  if { (eval echo "$as_me:3162: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:3165: \"$ac_cpp conftest.$ac_ext\"") >&5
3166    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3167    ac_status=$?    ac_status=$?
3168    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
3169    rm -f conftest.er1    rm -f conftest.er1
3170    cat conftest.err >&5    cat conftest.err >&5
3171    echo "$as_me:3168: \$? = $ac_status" >&5    echo "$as_me:3171: \$? = $ac_status" >&5
3172    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3173    if test -s conftest.err; then    if test -s conftest.err; then
3174      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 3193  rm -f conftest.err conftest.$ac_ext Line 3196  rm -f conftest.err conftest.$ac_ext
3196  if $ac_preproc_ok; then  if $ac_preproc_ok; then
3197    :    :
3198  else  else
3199    { { echo "$as_me:3196: error: C preprocessor \"$CPP\" fails sanity check" >&5    { { echo "$as_me:3199: error: C preprocessor \"$CPP\" fails sanity check" >&5
3200  echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}  echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
3201     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3202  fi  fi
# Line 3216  ac_compiler_gnu=$ac_cv_c_compiler_gnu Line 3219  ac_compiler_gnu=$ac_cv_c_compiler_gnu
3219  # AFS /usr/afsws/bin/install, which mishandles nonexistent args  # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3220  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3221  # ./install, which can be erroneously created by make from ./install.sh.  # ./install, which can be erroneously created by make from ./install.sh.
3222  echo "$as_me:3219: checking for a BSD compatible install" >&5  echo "$as_me:3222: checking for a BSD compatible install" >&5
3223  echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6  echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
3224  if test -z "$INSTALL"; then  if test -z "$INSTALL"; then
3225  if test "${ac_cv_path_install+set}" = set; then  if test "${ac_cv_path_install+set}" = set; then
# Line 3265  fi Line 3268  fi
3268      INSTALL=$ac_install_sh      INSTALL=$ac_install_sh
3269    fi    fi
3270  fi  fi
3271  echo "$as_me:3268: result: $INSTALL" >&5  echo "$as_me:3271: result: $INSTALL" >&5
3272  echo "${ECHO_T}$INSTALL" >&6  echo "${ECHO_T}$INSTALL" >&6
3273    
3274  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
# Line 3280  for ac_prog in 'bison -y' byacc Line 3283  for ac_prog in 'bison -y' byacc
3283  do  do
3284    # Extract the first word of "$ac_prog", so it can be a program name with args.    # Extract the first word of "$ac_prog", so it can be a program name with args.
3285  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
3286  echo "$as_me:3283: checking for $ac_word" >&5  echo "$as_me:3286: checking for $ac_word" >&5
3287  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3288  if test "${ac_cv_prog_YACC+set}" = set; then  if test "${ac_cv_prog_YACC+set}" = set; then
3289    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3295  for ac_dir in $ac_dummy; do Line 3298  for ac_dir in $ac_dummy; do
3298    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
3299    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
3300  ac_cv_prog_YACC="$ac_prog"  ac_cv_prog_YACC="$ac_prog"
3301  echo "$as_me:3298: found $ac_dir/$ac_word" >&5  echo "$as_me:3301: found $ac_dir/$ac_word" >&5
3302  break  break
3303  done  done
3304    
# Line 3303  fi Line 3306  fi
3306  fi  fi
3307  YACC=$ac_cv_prog_YACC  YACC=$ac_cv_prog_YACC
3308  if test -n "$YACC"; then  if test -n "$YACC"; then
3309    echo "$as_me:3306: result: $YACC" >&5    echo "$as_me:3309: result: $YACC" >&5
3310  echo "${ECHO_T}$YACC" >&6  echo "${ECHO_T}$YACC" >&6
3311  else  else
3312    echo "$as_me:3309: result: no" >&5    echo "$as_me:3312: result: no" >&5
3313  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
3314  fi  fi
3315    
# Line 3318  if test "x$RANLIB" = x; then Line 3321  if test "x$RANLIB" = x; then
3321    if test -n "$ac_tool_prefix"; then    if test -n "$ac_tool_prefix"; then
3322    # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.    # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3323  set dummy ${ac_tool_prefix}ranlib; ac_word=$2  set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3324  echo "$as_me:3321: checking for $ac_word" >&5  echo "$as_me:3324: checking for $ac_word" >&5
3325  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3326  if test "${ac_cv_prog_RANLIB+set}" = set; then  if test "${ac_cv_prog_RANLIB+set}" = set; then
3327    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3333  for ac_dir in $ac_dummy; do Line 3336  for ac_dir in $ac_dummy; do
3336    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
3337    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
3338  ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"  ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3339  echo "$as_me:3336: found $ac_dir/$ac_word" >&5  echo "$as_me:3339: found $ac_dir/$ac_word" >&5
3340  break  break
3341  done  done
3342    
# Line 3341  fi Line 3344  fi
3344  fi  fi
3345  RANLIB=$ac_cv_prog_RANLIB  RANLIB=$ac_cv_prog_RANLIB
3346  if test -n "$RANLIB"; then  if test -n "$RANLIB"; then
3347    echo "$as_me:3344: result: $RANLIB" >&5    echo "$as_me:3347: result: $RANLIB" >&5
3348  echo "${ECHO_T}$RANLIB" >&6  echo "${ECHO_T}$RANLIB" >&6
3349  else  else
3350    echo "$as_me:3347: result: no" >&5    echo "$as_me:3350: result: no" >&5
3351  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
3352  fi  fi
3353    
# Line 3353  if test -z "$ac_cv_prog_RANLIB"; then Line 3356  if test -z "$ac_cv_prog_RANLIB"; then
3356    ac_ct_RANLIB=$RANLIB    ac_ct_RANLIB=$RANLIB
3357    # Extract the first word of "ranlib", so it can be a program name with args.    # Extract the first word of "ranlib", so it can be a program name with args.
3358  set dummy ranlib; ac_word=$2  set dummy ranlib; ac_word=$2
3359  echo "$as_me:3356: checking for $ac_word" >&5  echo "$as_me:3359: checking for $ac_word" >&5
3360  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3361  if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then  if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3362    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3368  for ac_dir in $ac_dummy; do Line 3371  for ac_dir in $ac_dummy; do
3371    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
3372    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
3373  ac_cv_prog_ac_ct_RANLIB="ranlib"  ac_cv_prog_ac_ct_RANLIB="ranlib"
3374  echo "$as_me:3371: found $ac_dir/$ac_word" >&5  echo "$as_me:3374: found $ac_dir/$ac_word" >&5
3375  break  break
3376  done  done
3377    
# Line 3377  fi Line 3380  fi
3380  fi  fi
3381  ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB  ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3382  if test -n "$ac_ct_RANLIB"; then  if test -n "$ac_ct_RANLIB"; then
3383    echo "$as_me:3380: result: $ac_ct_RANLIB" >&5    echo "$as_me:3383: result: $ac_ct_RANLIB" >&5
3384  echo "${ECHO_T}$ac_ct_RANLIB" >&6  echo "${ECHO_T}$ac_ct_RANLIB" >&6
3385  else  else
3386    echo "$as_me:3383: result: no" >&5    echo "$as_me:3386: result: no" >&5
3387  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
3388  fi  fi
3389    
# Line 3391  fi Line 3394  fi
3394    
3395  fi  fi
3396    
3397  echo "$as_me:3394: checking for AIX" >&5  echo "$as_me:3397: checking for AIX" >&5
3398  echo $ECHO_N "checking for AIX... $ECHO_C" >&6  echo $ECHO_N "checking for AIX... $ECHO_C" >&6
3399  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
3400  #line 3397 "configure"  #line 3400 "configure"
3401  #include "confdefs.h"  #include "confdefs.h"
3402  #ifdef _AIX  #ifdef _AIX
3403    yes    yes
# Line 3403  cat >conftest.$ac_ext <<_ACEOF Line 3406  cat >conftest.$ac_ext <<_ACEOF
3406  _ACEOF  _ACEOF
3407  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3408    egrep "yes" >/dev/null 2>&1; then    egrep "yes" >/dev/null 2>&1; then
3409    echo "$as_me:3406: result: yes" >&5    echo "$as_me:3409: result: yes" >&5
3410  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
3411  cat >>confdefs.h <<\EOF  cat >>confdefs.h <<\EOF
3412  #define _ALL_SOURCE 1  #define _ALL_SOURCE 1
3413  EOF  EOF
3414    
3415  else  else
3416    echo "$as_me:3413: result: no" >&5    echo "$as_me:3416: result: no" >&5
3417  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
3418  fi  fi
3419  rm -f conftest*  rm -f conftest*
3420    
3421  #### Extract some information from the operating system and machine files.  #### Extract some information from the operating system and machine files.
3422    
3423  { echo "$as_me:3420: checking the machine- and system-dependent files to find out  { echo "$as_me:3423: checking the machine- and system-dependent files to find out
3424   - which libraries the lib-src programs will want, and   - which libraries the lib-src programs will want, and
3425   - whether the GNU malloc routines are usable..." >&5   - whether the GNU malloc routines are usable..." >&5
3426  echo "$as_me: checking the machine- and system-dependent files to find out  echo "$as_me: checking the machine- and system-dependent files to find out
# Line 3567  if test "${enable_largefile+set}" = set; Line 3570  if test "${enable_largefile+set}" = set;
3570  fi;  fi;
3571  if test "$enable_largefile" != no; then  if test "$enable_largefile" != no; then
3572    
3573    echo "$as_me:3570: checking for special C compiler options needed for large files" >&5    echo "$as_me:3573: checking for special C compiler options needed for large files" >&5
3574  echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6  echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
3575  if test "${ac_cv_sys_largefile_CC+set}" = set; then  if test "${ac_cv_sys_largefile_CC+set}" = set; then
3576    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3579  else Line 3582  else
3582           # IRIX 6.2 and later do not support large files by default,           # IRIX 6.2 and later do not support large files by default,
3583           # so use the C compiler's -n32 option if that helps.           # so use the C compiler's -n32 option if that helps.
3584           cat >conftest.$ac_ext <<_ACEOF           cat >conftest.$ac_ext <<_ACEOF
3585  #line 3582 "configure"  #line 3585 "configure"
3586  #include "confdefs.h"  #include "confdefs.h"
3587  #include <sys/types.h>  #include <sys/types.h>
3588   /* Check that off_t can represent 2**63 - 1 correctly.   /* Check that off_t can represent 2**63 - 1 correctly.
# Line 3599  main () Line 3602  main ()
3602  }  }
3603  _ACEOF  _ACEOF
3604           rm -f conftest.$ac_objext           rm -f conftest.$ac_objext
3605  if { (eval echo "$as_me:3602: \"$ac_compile\"") >&5  if { (eval echo "$as_me:3605: \"$ac_compile\"") >&5
3606    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3607    ac_status=$?    ac_status=$?
3608    echo "$as_me:3605: \$? = $ac_status" >&5    echo "$as_me:3608: \$? = $ac_status" >&5
3609    (exit $ac_status); } &&    (exit $ac_status); } &&
3610           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
3611    { (eval echo "$as_me:3608: \"$ac_try\"") >&5    { (eval echo "$as_me:3611: \"$ac_try\"") >&5
3612    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3613    ac_status=$?    ac_status=$?
3614    echo "$as_me:3611: \$? = $ac_status" >&5    echo "$as_me:3614: \$? = $ac_status" >&5
3615    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3616    break    break
3617  else  else
# Line 3618  fi Line 3621  fi
3621  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3622           CC="$CC -n32"           CC="$CC -n32"
3623           rm -f conftest.$ac_objext           rm -f conftest.$ac_objext
3624  if { (eval echo "$as_me:3621: \"$ac_compile\"") >&5  if { (eval echo "$as_me:3624: \"$ac_compile\"") >&5
3625    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3626    ac_status=$?    ac_status=$?
3627    echo "$as_me:3624: \$? = $ac_status" >&5    echo "$as_me:3627: \$? = $ac_status" >&5
3628    (exit $ac_status); } &&    (exit $ac_status); } &&
3629           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
3630    { (eval echo "$as_me:3627: \"$ac_try\"") >&5    { (eval echo "$as_me:3630: \"$ac_try\"") >&5
3631    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3632    ac_status=$?    ac_status=$?
3633    echo "$as_me:3630: \$? = $ac_status" >&5    echo "$as_me:3633: \$? = $ac_status" >&5
3634    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3635    ac_cv_sys_largefile_CC=' -n32'; break    ac_cv_sys_largefile_CC=' -n32'; break
3636  else  else
# Line 3641  rm -f conftest.$ac_objext Line 3644  rm -f conftest.$ac_objext
3644         rm -f conftest.$ac_ext         rm -f conftest.$ac_ext
3645      fi      fi
3646  fi  fi
3647  echo "$as_me:3644: result: $ac_cv_sys_largefile_CC" >&5  echo "$as_me:3647: result: $ac_cv_sys_largefile_CC" >&5
3648  echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6  echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
3649    if test "$ac_cv_sys_largefile_CC" != no; then    if test "$ac_cv_sys_largefile_CC" != no; then
3650      CC=$CC$ac_cv_sys_largefile_CC      CC=$CC$ac_cv_sys_largefile_CC
3651    fi    fi
3652    
3653    echo "$as_me:3650: checking for _FILE_OFFSET_BITS value needed for large files" >&5    echo "$as_me:3653: checking for _FILE_OFFSET_BITS value needed for large files" >&5
3654  echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6  echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
3655  if test "${ac_cv_sys_file_offset_bits+set}" = set; then  if test "${ac_cv_sys_file_offset_bits+set}" = set; then
3656    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3655  else Line 3658  else
3658    while :; do    while :; do
3659    ac_cv_sys_file_offset_bits=no    ac_cv_sys_file_offset_bits=no
3660    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3661  #line 3658 "configure"  #line 3661 "configure"
3662  #include "confdefs.h"  #include "confdefs.h"
3663  #include <sys/types.h>  #include <sys/types.h>
3664   /* Check that off_t can represent 2**63 - 1 correctly.   /* Check that off_t can represent 2**63 - 1 correctly.
# Line 3675  main () Line 3678  main ()
3678  }  }
3679  _ACEOF  _ACEOF
3680  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3681  if { (eval echo "$as_me:3678: \"$ac_compile\"") >&5  if { (eval echo "$as_me:3681: \"$ac_compile\"") >&5
3682    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3683    ac_status=$?    ac_status=$?
3684    echo "$as_me:3681: \$? = $ac_status" >&5    echo "$as_me:3684: \$? = $ac_status" >&5
3685    (exit $ac_status); } &&    (exit $ac_status); } &&
3686           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
3687    { (eval echo "$as_me:3684: \"$ac_try\"") >&5    { (eval echo "$as_me:3687: \"$ac_try\"") >&5
3688    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3689    ac_status=$?    ac_status=$?
3690    echo "$as_me:3687: \$? = $ac_status" >&5    echo "$as_me:3690: \$? = $ac_status" >&5
3691    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3692    break    break
3693  else  else
# Line 3693  cat conftest.$ac_ext >&5 Line 3696  cat conftest.$ac_ext >&5
3696  fi  fi
3697  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
3698    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3699  #line 3696 "configure"  #line 3699 "configure"
3700  #include "confdefs.h"  #include "confdefs.h"
3701  #define _FILE_OFFSET_BITS 64  #define _FILE_OFFSET_BITS 64
3702  #include <sys/types.h>  #include <sys/types.h>
# Line 3714  main () Line 3717  main ()
3717  }  }
3718  _ACEOF  _ACEOF
3719  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3720  if { (eval echo "$as_me:3717: \"$ac_compile\"") >&5  if { (eval echo "$as_me:3720: \"$ac_compile\"") >&5
3721    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3722    ac_status=$?    ac_status=$?
3723    echo "$as_me:3720: \$? = $ac_status" >&5    echo "$as_me:3723: \$? = $ac_status" >&5
3724    (exit $ac_status); } &&    (exit $ac_status); } &&
3725           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
3726    { (eval echo "$as_me:3723: \"$ac_try\"") >&5    { (eval echo "$as_me:3726: \"$ac_try\"") >&5
3727    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3728    ac_status=$?    ac_status=$?
3729    echo "$as_me:3726: \$? = $ac_status" >&5    echo "$as_me:3729: \$? = $ac_status" >&5
3730    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3731    ac_cv_sys_file_offset_bits=64; break    ac_cv_sys_file_offset_bits=64; break
3732  else  else
# Line 3734  rm -f conftest.$ac_objext conftest.$ac_e Line 3737  rm -f conftest.$ac_objext conftest.$ac_e
3737    break    break
3738  done  done
3739  fi  fi
3740  echo "$as_me:3737: result: $ac_cv_sys_file_offset_bits" >&5  echo "$as_me:3740: result: $ac_cv_sys_file_offset_bits" >&5
3741  echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6  echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
3742  if test "$ac_cv_sys_file_offset_bits" != no; then  if test "$ac_cv_sys_file_offset_bits" != no; then
3743    
# Line 3744  EOF Line 3747  EOF
3747    
3748  fi  fi
3749  rm -f conftest*  rm -f conftest*
3750    echo "$as_me:3747: checking for _LARGE_FILES value needed for large files" >&5    echo "$as_me:3750: checking for _LARGE_FILES value needed for large files" >&5
3751  echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6  echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
3752  if test "${ac_cv_sys_large_files+set}" = set; then  if test "${ac_cv_sys_large_files+set}" = set; then
3753    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3752  else Line 3755  else
3755    while :; do    while :; do
3756    ac_cv_sys_large_files=no    ac_cv_sys_large_files=no
3757    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3758  #line 3755 "configure"  #line 3758 "configure"
3759  #include "confdefs.h"  #include "confdefs.h"
3760  #include <sys/types.h>  #include <sys/types.h>
3761   /* Check that off_t can represent 2**63 - 1 correctly.   /* Check that off_t can represent 2**63 - 1 correctly.
# Line 3772  main () Line 3775  main ()
3775  }  }
3776  _ACEOF  _ACEOF
3777  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3778  if { (eval echo "$as_me:3775: \"$ac_compile\"") >&5  if { (eval echo "$as_me:3778: \"$ac_compile\"") >&5
3779    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3780    ac_status=$?    ac_status=$?
3781    echo "$as_me:3778: \$? = $ac_status" >&5    echo "$as_me:3781: \$? = $ac_status" >&5
3782    (exit $ac_status); } &&    (exit $ac_status); } &&
3783           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
3784    { (eval echo "$as_me:3781: \"$ac_try\"") >&5    { (eval echo "$as_me:3784: \"$ac_try\"") >&5
3785    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3786    ac_status=$?    ac_status=$?
3787    echo "$as_me:3784: \$? = $ac_status" >&5    echo "$as_me:3787: \$? = $ac_status" >&5
3788    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3789    break    break
3790  else  else
# Line 3790  cat conftest.$ac_ext >&5 Line 3793  cat conftest.$ac_ext >&5
3793  fi  fi
3794  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
3795    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3796  #line 3793 "configure"  #line 3796 "configure"
3797  #include "confdefs.h"  #include "confdefs.h"
3798  #define _LARGE_FILES 1  #define _LARGE_FILES 1
3799  #include <sys/types.h>  #include <sys/types.h>
# Line 3811  main () Line 3814  main ()
3814  }  }
3815  _ACEOF  _ACEOF
3816  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3817  if { (eval echo "$as_me:3814: \"$ac_compile\"") >&5  if { (eval echo "$as_me:3817: \"$ac_compile\"") >&5
3818    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3819    ac_status=$?    ac_status=$?
3820    echo "$as_me:3817: \$? = $ac_status" >&5    echo "$as_me:3820: \$? = $ac_status" >&5
3821    (exit $ac_status); } &&    (exit $ac_status); } &&
3822           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
3823    { (eval echo "$as_me:3820: \"$ac_try\"") >&5    { (eval echo "$as_me:3823: \"$ac_try\"") >&5
3824    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3825    ac_status=$?    ac_status=$?
3826    echo "$as_me:3823: \$? = $ac_status" >&5    echo "$as_me:3826: \$? = $ac_status" >&5
3827    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3828    ac_cv_sys_large_files=1; break    ac_cv_sys_large_files=1; break
3829  else  else
# Line 3831  rm -f conftest.$ac_objext conftest.$ac_e Line 3834  rm -f conftest.$ac_objext conftest.$ac_e
3834    break    break
3835  done  done
3836  fi  fi
3837  echo "$as_me:3834: result: $ac_cv_sys_large_files" >&5  echo "$as_me:3837: result: $ac_cv_sys_large_files" >&5
3838  echo "${ECHO_T}$ac_cv_sys_large_files" >&6  echo "${ECHO_T}$ac_cv_sys_large_files" >&6
3839  if test "$ac_cv_sys_large_files" != no; then  if test "$ac_cv_sys_large_files" != no; then
3840    
# Line 3848  fi Line 3851  fi
3851  for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h  for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h
3852  do  do
3853  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3854  echo "$as_me:3851: checking for $ac_header" >&5  echo "$as_me:3854: checking for $ac_header" >&5
3855  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3856  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
3857    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3858  else  else
3859    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3860  #line 3857 "configure"  #line 3860 "configure"
3861  #include "confdefs.h"  #include "confdefs.h"
3862  #include <$ac_header>  #include <$ac_header>
3863  _ACEOF  _ACEOF
3864  if { (eval echo "$as_me:3861: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:3864: \"$ac_cpp conftest.$ac_ext\"") >&5
3865    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3866    ac_status=$?    ac_status=$?
3867    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
3868    rm -f conftest.er1    rm -f conftest.er1
3869    cat conftest.err >&5    cat conftest.err >&5
3870    echo "$as_me:3867: \$? = $ac_status" >&5    echo "$as_me:3870: \$? = $ac_status" >&5
3871    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3872    if test -s conftest.err; then    if test -s conftest.err; then
3873      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 3883  else Line 3886  else
3886  fi  fi
3887  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
3888  fi  fi
3889  echo "$as_me:3886: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:3889: result: `eval echo '${'$as_ac_Header'}'`" >&5
3890  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3891  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
3892    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 3894  fi Line 3897  fi
3897  done  done
3898    
3899  # Emulation library used on NetBSD.  # Emulation library used on NetBSD.
3900  echo "$as_me:3897: checking for _oss_ioctl in -lossaudio" >&5  echo "$as_me:3900: checking for _oss_ioctl in -lossaudio" >&5
3901  echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6  echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
3902  if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then  if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
3903    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3902  else Line 3905  else
3905    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
3906  LIBS="-lossaudio  $LIBS"  LIBS="-lossaudio  $LIBS"
3907  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
3908  #line 3905 "configure"  #line 3908 "configure"
3909  #include "confdefs.h"  #include "confdefs.h"
3910    
3911  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 3921  _oss_ioctl (); Line 3924  _oss_ioctl ();
3924  }  }
3925  _ACEOF  _ACEOF
3926  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
3927  if { (eval echo "$as_me:3924: \"$ac_link\"") >&5  if { (eval echo "$as_me:3927: \"$ac_link\"") >&5
3928    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
3929    ac_status=$?    ac_status=$?
3930    echo "$as_me:3927: \$? = $ac_status" >&5    echo "$as_me:3930: \$? = $ac_status" >&5
3931    (exit $ac_status); } &&    (exit $ac_status); } &&
3932           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
3933    { (eval echo "$as_me:3930: \"$ac_try\"") >&5    { (eval echo "$as_me:3933: \"$ac_try\"") >&5
3934    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3935    ac_status=$?    ac_status=$?
3936    echo "$as_me:3933: \$? = $ac_status" >&5    echo "$as_me:3936: \$? = $ac_status" >&5
3937    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3938    ac_cv_lib_ossaudio__oss_ioctl=yes    ac_cv_lib_ossaudio__oss_ioctl=yes
3939  else  else
# Line 3941  fi Line 3944  fi
3944  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3945  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
3946  fi  fi
3947  echo "$as_me:3944: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5  echo "$as_me:3947: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
3948  echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6  echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
3949  if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then  if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
3950    LIBSOUND=-lossaudio    LIBSOUND=-lossaudio
# Line 3954  for ac_header in sys/select.h sys/timeb. Line 3957  for ac_header in sys/select.h sys/timeb.
3957    termcap.h stdio_ext.h fcntl.h term.h strings.h coff.h    termcap.h stdio_ext.h fcntl.h term.h strings.h coff.h
3958  do  do
3959  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3960  echo "$as_me:3957: checking for $ac_header" >&5  echo "$as_me:3960: checking for $ac_header" >&5
3961  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3962  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
3963    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3964  else  else
3965    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3966  #line 3963 "configure"  #line 3966 "configure"
3967  #include "confdefs.h"  #include "confdefs.h"
3968  #include <$ac_header>  #include <$ac_header>
3969  _ACEOF  _ACEOF
3970  if { (eval echo "$as_me:3967: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:3970: \"$ac_cpp conftest.$ac_ext\"") >&5
3971    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3972    ac_status=$?    ac_status=$?
3973    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
3974    rm -f conftest.er1    rm -f conftest.er1
3975    cat conftest.err >&5    cat conftest.err >&5
3976    echo "$as_me:3973: \$? = $ac_status" >&5    echo "$as_me:3976: \$? = $ac_status" >&5
3977    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3978    if test -s conftest.err; then    if test -s conftest.err; then
3979      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 3989  else Line 3992  else
3992  fi  fi
3993  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
3994  fi  fi
3995  echo "$as_me:3992: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:3995: result: `eval echo '${'$as_ac_Header'}'`" >&5
3996  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3997  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
3998    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 3999  EOF Line 4002  EOF
4002  fi  fi
4003  done  done
4004    
4005  echo "$as_me:4002: checking for ANSI C header files" >&5  echo "$as_me:4005: checking for ANSI C header files" >&5
4006  echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6  echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4007  if test "${ac_cv_header_stdc+set}" = set; then  if test "${ac_cv_header_stdc+set}" = set; then
4008    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4009  else  else
4010    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4011  #line 4008 "configure"  #line 4011 "configure"
4012  #include "confdefs.h"  #include "confdefs.h"
4013  #include <stdlib.h>  #include <stdlib.h>
4014  #include <stdarg.h>  #include <stdarg.h>
# Line 4013  else Line 4016  else
4016  #include <float.h>  #include <float.h>
4017    
4018  _ACEOF  _ACEOF
4019  if { (eval echo "$as_me:4016: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:4019: \"$ac_cpp conftest.$ac_ext\"") >&5
4020    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4021    ac_status=$?    ac_status=$?
4022    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
4023    rm -f conftest.er1    rm -f conftest.er1
4024    cat conftest.err >&5    cat conftest.err >&5
4025    echo "$as_me:4022: \$? = $ac_status" >&5    echo "$as_me:4025: \$? = $ac_status" >&5
4026    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
4027    if test -s conftest.err; then    if test -s conftest.err; then
4028      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 4041  rm -f conftest.err conftest.$ac_ext Line 4044  rm -f conftest.err conftest.$ac_ext
4044  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
4045    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4046    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4047  #line 4044 "configure"  #line 4047 "configure"
4048  #include "confdefs.h"  #include "confdefs.h"
4049  #include <string.h>  #include <string.h>
4050    
# Line 4059  fi Line 4062  fi
4062  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
4063    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4064    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4065  #line 4062 "configure"  #line 4065 "configure"
4066  #include "confdefs.h"  #include "confdefs.h"
4067  #include <stdlib.h>  #include <stdlib.h>
4068    
# Line 4080  if test $ac_cv_header_stdc = yes; then Line 4083  if test $ac_cv_header_stdc = yes; then
4083    :    :
4084  else  else
4085    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4086  #line 4083 "configure"  #line 4086 "configure"
4087  #include "confdefs.h"  #include "confdefs.h"
4088  #include <ctype.h>  #include <ctype.h>
4089  #if ((' ' & 0x0FF) == 0x020)  #if ((' ' & 0x0FF) == 0x020)
# Line 4106  main () Line 4109  main ()
4109  }  }
4110  _ACEOF  _ACEOF
4111  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
4112  if { (eval echo "$as_me:4109: \"$ac_link\"") >&5  if { (eval echo "$as_me:4112: \"$ac_link\"") >&5
4113    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
4114    ac_status=$?    ac_status=$?
4115    echo "$as_me:4112: \$? = $ac_status" >&5    echo "$as_me:4115: \$? = $ac_status" >&5
4116    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4117    { (eval echo "$as_me:4114: \"$ac_try\"") >&5    { (eval echo "$as_me:4117: \"$ac_try\"") >&5
4118    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4119    ac_status=$?    ac_status=$?
4120    echo "$as_me:4117: \$? = $ac_status" >&5    echo "$as_me:4120: \$? = $ac_status" >&5
4121    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4122    :    :
4123  else  else
# Line 4127  rm -f core core.* *.core conftest$ac_exe Line 4130  rm -f core core.* *.core conftest$ac_exe
4130  fi  fi
4131  fi  fi
4132  fi  fi
4133  echo "$as_me:4130: result: $ac_cv_header_stdc" >&5  echo "$as_me:4133: result: $ac_cv_header_stdc" >&5
4134  echo "${ECHO_T}$ac_cv_header_stdc" >&6  echo "${ECHO_T}$ac_cv_header_stdc" >&6
4135  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
4136    
# Line 4137  EOF Line 4140  EOF
4140    
4141  fi  fi
4142    
4143  echo "$as_me:4140: checking whether time.h and sys/time.h may both be included" >&5  echo "$as_me:4143: checking whether time.h and sys/time.h may both be included" >&5
4144  echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6  echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
4145  if test "${ac_cv_header_time+set}" = set; then  if test "${ac_cv_header_time+set}" = set; then
4146    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4147  else  else
4148    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4149  #line 4146 "configure"  #line 4149 "configure"
4150  #include "confdefs.h"  #include "confdefs.h"
4151  #include <sys/types.h>  #include <sys/types.h>
4152  #include <sys/time.h>  #include <sys/time.h>
# Line 4159  return 0; Line 4162  return 0;
4162  }  }
4163  _ACEOF  _ACEOF
4164  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4165  if { (eval echo "$as_me:4162: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4165: \"$ac_compile\"") >&5
4166    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4167    ac_status=$?    ac_status=$?
4168    echo "$as_me:4165: \$? = $ac_status" >&5    echo "$as_me:4168: \$? = $ac_status" >&5
4169    (exit $ac_status); } &&    (exit $ac_status); } &&
4170           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4171    { (eval echo "$as_me:4168: \"$ac_try\"") >&5    { (eval echo "$as_me:4171: \"$ac_try\"") >&5
4172    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4173    ac_status=$?    ac_status=$?
4174    echo "$as_me:4171: \$? = $ac_status" >&5    echo "$as_me:4174: \$? = $ac_status" >&5
4175    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4176    ac_cv_header_time=yes    ac_cv_header_time=yes
4177  else  else
# Line 4178  ac_cv_header_time=no Line 4181  ac_cv_header_time=no
4181  fi  fi
4182  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4183  fi  fi
4184  echo "$as_me:4181: result: $ac_cv_header_time" >&5  echo "$as_me:4184: result: $ac_cv_header_time" >&5
4185  echo "${ECHO_T}$ac_cv_header_time" >&6  echo "${ECHO_T}$ac_cv_header_time" >&6
4186  if test $ac_cv_header_time = yes; then  if test $ac_cv_header_time = yes; then
4187    
# Line 4188  EOF Line 4191  EOF
4191    
4192  fi  fi
4193    
4194  echo "$as_me:4191: checking for sys_siglist declaration in signal.h or unistd.h" >&5  echo "$as_me:4194: checking for sys_siglist declaration in signal.h or unistd.h" >&5
4195  echo $ECHO_N "checking for sys_siglist declaration in signal.h or unistd.h... $ECHO_C" >&6  echo $ECHO_N "checking for sys_siglist declaration in signal.h or unistd.h... $ECHO_C" >&6
4196  if test "${ac_cv_decl_sys_siglist+set}" = set; then  if test "${ac_cv_decl_sys_siglist+set}" = set; then
4197    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4198  else  else
4199    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4200  #line 4197 "configure"  #line 4200 "configure"
4201  #include "confdefs.h"  #include "confdefs.h"
4202  #include <sys/types.h>  #include <sys/types.h>
4203  #include <signal.h>  #include <signal.h>
# Line 4212  char *msg = *(sys_siglist + 1); Line 4215  char *msg = *(sys_siglist + 1);
4215  }  }
4216  _ACEOF  _ACEOF
4217  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4218  if { (eval echo "$as_me:4215: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4218: \"$ac_compile\"") >&5
4219    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4220    ac_status=$?    ac_status=$?
4221    echo "$as_me:4218: \$? = $ac_status" >&5    echo "$as_me:4221: \$? = $ac_status" >&5
4222    (exit $ac_status); } &&    (exit $ac_status); } &&
4223           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4224    { (eval echo "$as_me:4221: \"$ac_try\"") >&5    { (eval echo "$as_me:4224: \"$ac_try\"") >&5
4225    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4226    ac_status=$?    ac_status=$?
4227    echo "$as_me:4224: \$? = $ac_status" >&5    echo "$as_me:4227: \$? = $ac_status" >&5
4228    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4229    ac_cv_decl_sys_siglist=yes    ac_cv_decl_sys_siglist=yes
4230  else  else
# Line 4231  ac_cv_decl_sys_siglist=no Line 4234  ac_cv_decl_sys_siglist=no
4234  fi  fi
4235  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4236  fi  fi
4237  echo "$as_me:4234: result: $ac_cv_decl_sys_siglist" >&5  echo "$as_me:4237: result: $ac_cv_decl_sys_siglist" >&5
4238  echo "${ECHO_T}$ac_cv_decl_sys_siglist" >&6  echo "${ECHO_T}$ac_cv_decl_sys_siglist" >&6
4239  if test $ac_cv_decl_sys_siglist = yes; then  if test $ac_cv_decl_sys_siglist = yes; then
4240    
# Line 4241  EOF Line 4244  EOF
4244    
4245  fi  fi
4246    
4247  echo "$as_me:4244: checking for sys/wait.h that is POSIX.1 compatible" >&5  echo "$as_me:4247: checking for sys/wait.h that is POSIX.1 compatible" >&5
4248  echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6  echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
4249  if test "${ac_cv_header_sys_wait_h+set}" = set; then  if test "${ac_cv_header_sys_wait_h+set}" = set; then
4250    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4251  else  else
4252    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4253  #line 4250 "configure"  #line 4253 "configure"
4254  #include "confdefs.h"  #include "confdefs.h"
4255  #include <sys/types.h>  #include <sys/types.h>
4256  #include <sys/wait.h>  #include <sys/wait.h>
# Line 4269  main () Line 4272  main ()
4272  }  }
4273  _ACEOF  _ACEOF
4274  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4275  if { (eval echo "$as_me:4272: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4275: \"$ac_compile\"") >&5
4276    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4277    ac_status=$?    ac_status=$?
4278    echo "$as_me:4275: \$? = $ac_status" >&5    echo "$as_me:4278: \$? = $ac_status" >&5
4279    (exit $ac_status); } &&    (exit $ac_status); } &&
4280           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4281    { (eval echo "$as_me:4278: \"$ac_try\"") >&5    { (eval echo "$as_me:4281: \"$ac_try\"") >&5
4282    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4283    ac_status=$?    ac_status=$?
4284    echo "$as_me:4281: \$? = $ac_status" >&5    echo "$as_me:4284: \$? = $ac_status" >&5
4285    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4286    ac_cv_header_sys_wait_h=yes    ac_cv_header_sys_wait_h=yes
4287  else  else
# Line 4288  ac_cv_header_sys_wait_h=no Line 4291  ac_cv_header_sys_wait_h=no
4291  fi  fi
4292  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4293  fi  fi
4294  echo "$as_me:4291: result: $ac_cv_header_sys_wait_h" >&5  echo "$as_me:4294: result: $ac_cv_header_sys_wait_h" >&5
4295  echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6  echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
4296  if test $ac_cv_header_sys_wait_h = yes; then  if test $ac_cv_header_sys_wait_h = yes; then
4297    
# Line 4298  EOF Line 4301  EOF
4301    
4302  fi  fi
4303    
4304  echo "$as_me:4301: checking for struct utimbuf" >&5  echo "$as_me:4304: checking for struct utimbuf" >&5
4305  echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6  echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6
4306  if test "${emacs_cv_struct_utimbuf+set}" = set; then  if test "${emacs_cv_struct_utimbuf+set}" = set; then
4307    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4308  else  else
4309    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4310  #line 4307 "configure"  #line 4310 "configure"
4311  #include "confdefs.h"  #include "confdefs.h"
4312  #ifdef TIME_WITH_SYS_TIME  #ifdef TIME_WITH_SYS_TIME
4313  #include <sys/time.h>  #include <sys/time.h>
# Line 4328  static struct utimbuf x; x.actime = x.mo Line 4331  static struct utimbuf x; x.actime = x.mo
4331  }  }
4332  _ACEOF  _ACEOF
4333  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4334  if { (eval echo "$as_me:4331: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4334: \"$ac_compile\"") >&5
4335    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4336    ac_status=$?    ac_status=$?
4337    echo "$as_me:4334: \$? = $ac_status" >&5    echo "$as_me:4337: \$? = $ac_status" >&5
4338    (exit $ac_status); } &&    (exit $ac_status); } &&
4339           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4340    { (eval echo "$as_me:4337: \"$ac_try\"") >&5    { (eval echo "$as_me:4340: \"$ac_try\"") >&5
4341    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4342    ac_status=$?    ac_status=$?
4343    echo "$as_me:4340: \$? = $ac_status" >&5    echo "$as_me:4343: \$? = $ac_status" >&5
4344    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4345    emacs_cv_struct_utimbuf=yes    emacs_cv_struct_utimbuf=yes
4346  else  else
# Line 4347  emacs_cv_struct_utimbuf=no Line 4350  emacs_cv_struct_utimbuf=no
4350  fi  fi
4351  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4352  fi  fi
4353  echo "$as_me:4350: result: $emacs_cv_struct_utimbuf" >&5  echo "$as_me:4353: result: $emacs_cv_struct_utimbuf" >&5
4354  echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6  echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6
4355  if test $emacs_cv_struct_utimbuf = yes; then  if test $emacs_cv_struct_utimbuf = yes; then
4356    cat >>confdefs.h <<\EOF    cat >>confdefs.h <<\EOF
# Line 4356  EOF Line 4359  EOF
4359    
4360  fi  fi
4361    
4362  echo "$as_me:4359: checking return type of signal handlers" >&5  echo "$as_me:4362: checking return type of signal handlers" >&5
4363  echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6  echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
4364  if test "${ac_cv_type_signal+set}" = set; then  if test "${ac_cv_type_signal+set}" = set; then
4365    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4366  else  else
4367    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4368  #line 4365 "configure"  #line 4368 "configure"
4369  #include "confdefs.h"  #include "confdefs.h"
4370  #include <sys/types.h>  #include <sys/types.h>
4371  #include <signal.h>  #include <signal.h>
# Line 4384  int i; Line 4387  int i;
4387  }  }
4388  _ACEOF  _ACEOF
4389  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4390  if { (eval echo "$as_me:4387: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4390: \"$ac_compile\"") >&5
4391    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4392    ac_status=$?    ac_status=$?
4393    echo "$as_me:4390: \$? = $ac_status" >&5    echo "$as_me:4393: \$? = $ac_status" >&5
4394    (exit $ac_status); } &&    (exit $ac_status); } &&
4395           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4396    { (eval echo "$as_me:4393: \"$ac_try\"") >&5    { (eval echo "$as_me:4396: \"$ac_try\"") >&5
4397    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4398    ac_status=$?    ac_status=$?
4399    echo "$as_me:4396: \$? = $ac_status" >&5    echo "$as_me:4399: \$? = $ac_status" >&5
4400    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4401    ac_cv_type_signal=void    ac_cv_type_signal=void
4402  else  else
# Line 4403  ac_cv_type_signal=int Line 4406  ac_cv_type_signal=int
4406  fi  fi
4407  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4408  fi  fi
4409  echo "$as_me:4406: result: $ac_cv_type_signal" >&5  echo "$as_me:4409: result: $ac_cv_type_signal" >&5
4410  echo "${ECHO_T}$ac_cv_type_signal" >&6  echo "${ECHO_T}$ac_cv_type_signal" >&6
4411    
4412  cat >>confdefs.h <<EOF  cat >>confdefs.h <<EOF
4413  #define RETSIGTYPE $ac_cv_type_signal  #define RETSIGTYPE $ac_cv_type_signal
4414  EOF  EOF
4415    
4416  echo "$as_me:4413: checking for speed_t" >&5  echo "$as_me:4416: checking for speed_t" >&5
4417  echo $ECHO_N "checking for speed_t... $ECHO_C" >&6  echo $ECHO_N "checking for speed_t... $ECHO_C" >&6
4418  if test "${emacs_cv_speed_t+set}" = set; then  if test "${emacs_cv_speed_t+set}" = set; then
4419    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4420  else  else
4421    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4422  #line 4419 "configure"  #line 4422 "configure"
4423  #include "confdefs.h"  #include "confdefs.h"
4424  #include <termios.h>  #include <termios.h>
4425  int  int
# Line 4428  speed_t x = 1; Line 4431  speed_t x = 1;
4431  }  }
4432  _ACEOF  _ACEOF
4433  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4434  if { (eval echo "$as_me:4431: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4434: \"$ac_compile\"") >&5
4435    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4436    ac_status=$?    ac_status=$?
4437    echo "$as_me:4434: \$? = $ac_status" >&5    echo "$as_me:4437: \$? = $ac_status" >&5
4438    (exit $ac_status); } &&    (exit $ac_status); } &&
4439           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4440    { (eval echo "$as_me:4437: \"$ac_try\"") >&5    { (eval echo "$as_me:4440: \"$ac_try\"") >&5
4441    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4442    ac_status=$?    ac_status=$?
4443    echo "$as_me:4440: \$? = $ac_status" >&5    echo "$as_me:4443: \$? = $ac_status" >&5
4444    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4445    emacs_cv_speed_t=yes    emacs_cv_speed_t=yes
4446  else  else
# Line 4447  emacs_cv_speed_t=no Line 4450  emacs_cv_speed_t=no
4450  fi  fi
4451  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4452  fi  fi
4453  echo "$as_me:4450: result: $emacs_cv_speed_t" >&5  echo "$as_me:4453: result: $emacs_cv_speed_t" >&5
4454  echo "${ECHO_T}$emacs_cv_speed_t" >&6  echo "${ECHO_T}$emacs_cv_speed_t" >&6
4455  if test $emacs_cv_speed_t = yes; then  if test $emacs_cv_speed_t = yes; then
4456    cat >>confdefs.h <<\EOF    cat >>confdefs.h <<\EOF
# Line 4456  EOF Line 4459  EOF
4459    
4460  fi  fi
4461    
4462  echo "$as_me:4459: checking for struct timeval" >&5  echo "$as_me:4462: checking for struct timeval" >&5
4463  echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6  echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6
4464  if test "${emacs_cv_struct_timeval+set}" = set; then  if test "${emacs_cv_struct_timeval+set}" = set; then
4465    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4466  else  else
4467    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4468  #line 4465 "configure"  #line 4468 "configure"
4469  #include "confdefs.h"  #include "confdefs.h"
4470  #ifdef TIME_WITH_SYS_TIME  #ifdef TIME_WITH_SYS_TIME
4471  #include <sys/time.h>  #include <sys/time.h>
# Line 4483  static struct timeval x; x.tv_sec = x.tv Line 4486  static struct timeval x; x.tv_sec = x.tv
4486  }  }
4487  _ACEOF  _ACEOF
4488  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4489  if { (eval echo "$as_me:4486: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4489: \"$ac_compile\"") >&5
4490    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4491    ac_status=$?    ac_status=$?
4492    echo "$as_me:4489: \$? = $ac_status" >&5    echo "$as_me:4492: \$? = $ac_status" >&5
4493    (exit $ac_status); } &&    (exit $ac_status); } &&
4494           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4495    { (eval echo "$as_me:4492: \"$ac_try\"") >&5    { (eval echo "$as_me:4495: \"$ac_try\"") >&5
4496    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4497    ac_status=$?    ac_status=$?
4498    echo "$as_me:4495: \$? = $ac_status" >&5    echo "$as_me:4498: \$? = $ac_status" >&5
4499    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4500    emacs_cv_struct_timeval=yes    emacs_cv_struct_timeval=yes
4501  else  else
# Line 4502  emacs_cv_struct_timeval=no Line 4505  emacs_cv_struct_timeval=no
4505  fi  fi
4506  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4507  fi  fi
4508  echo "$as_me:4505: result: $emacs_cv_struct_timeval" >&5  echo "$as_me:4508: result: $emacs_cv_struct_timeval" >&5
4509  echo "${ECHO_T}$emacs_cv_struct_timeval" >&6  echo "${ECHO_T}$emacs_cv_struct_timeval" >&6
4510  HAVE_TIMEVAL=$emacs_cv_struct_timeval  HAVE_TIMEVAL=$emacs_cv_struct_timeval
4511  if test $emacs_cv_struct_timeval = yes; then  if test $emacs_cv_struct_timeval = yes; then
# Line 4512  EOF Line 4515  EOF
4515    
4516  fi  fi
4517    
4518  echo "$as_me:4515: checking for struct exception" >&5  echo "$as_me:4518: checking for struct exception" >&5
4519  echo $ECHO_N "checking for struct exception... $ECHO_C" >&6  echo $ECHO_N "checking for struct exception... $ECHO_C" >&6
4520  if test "${emacs_cv_struct_exception+set}" = set; then  if test "${emacs_cv_struct_exception+set}" = set; then
4521    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4522  else  else
4523    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4524  #line 4521 "configure"  #line 4524 "configure"
4525  #include "confdefs.h"  #include "confdefs.h"
4526  #include <math.h>  #include <math.h>
4527  int  int
# Line 4530  static struct exception x; x.arg1 = x.ar Line 4533  static struct exception x; x.arg1 = x.ar
4533  }  }
4534  _ACEOF  _ACEOF
4535  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4536  if { (eval echo "$as_me:4533: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4536: \"$ac_compile\"") >&5
4537    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4538    ac_status=$?    ac_status=$?
4539    echo "$as_me:4536: \$? = $ac_status" >&5    echo "$as_me:4539: \$? = $ac_status" >&5
4540    (exit $ac_status); } &&    (exit $ac_status); } &&
4541           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4542    { (eval echo "$as_me:4539: \"$ac_try\"") >&5    { (eval echo "$as_me:4542: \"$ac_try\"") >&5
4543    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4544    ac_status=$?    ac_status=$?
4545    echo "$as_me:4542: \$? = $ac_status" >&5    echo "$as_me:4545: \$? = $ac_status" >&5
4546    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4547    emacs_cv_struct_exception=yes    emacs_cv_struct_exception=yes
4548  else  else
# Line 4549  emacs_cv_struct_exception=no Line 4552  emacs_cv_struct_exception=no
4552  fi  fi
4553  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4554  fi  fi
4555  echo "$as_me:4552: result: $emacs_cv_struct_exception" >&5  echo "$as_me:4555: result: $emacs_cv_struct_exception" >&5
4556  echo "${ECHO_T}$emacs_cv_struct_exception" >&6  echo "${ECHO_T}$emacs_cv_struct_exception" >&6
4557  HAVE_EXCEPTION=$emacs_cv_struct_exception  HAVE_EXCEPTION=$emacs_cv_struct_exception
4558  if test $emacs_cv_struct_exception != yes; then  if test $emacs_cv_struct_exception != yes; then
# Line 4559  EOF Line 4562  EOF
4562    
4563  fi  fi
4564    
4565  echo "$as_me:4562: checking whether struct tm is in sys/time.h or time.h" >&5  echo "$as_me:4565: checking whether struct tm is in sys/time.h or time.h" >&5
4566  echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6  echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
4567  if test "${ac_cv_struct_tm+set}" = set; then  if test "${ac_cv_struct_tm+set}" = set; then
4568    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4569  else  else
4570    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4571  #line 4568 "configure"  #line 4571 "configure"
4572  #include "confdefs.h"  #include "confdefs.h"
4573  #include <sys/types.h>  #include <sys/types.h>
4574  #include <time.h>  #include <time.h>
# Line 4579  struct tm *tp; tp->tm_sec; Line 4582  struct tm *tp; tp->tm_sec;
4582  }  }
4583  _ACEOF  _ACEOF
4584  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4585  if { (eval echo "$as_me:4582: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4585: \"$ac_compile\"") >&5
4586    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4587    ac_status=$?    ac_status=$?
4588    echo "$as_me:4585: \$? = $ac_status" >&5    echo "$as_me:4588: \$? = $ac_status" >&5
4589    (exit $ac_status); } &&    (exit $ac_status); } &&
4590           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4591    { (eval echo "$as_me:4588: \"$ac_try\"") >&5    { (eval echo "$as_me:4591: \"$ac_try\"") >&5
4592    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4593    ac_status=$?    ac_status=$?
4594    echo "$as_me:4591: \$? = $ac_status" >&5    echo "$as_me:4594: \$? = $ac_status" >&5
4595    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4596    ac_cv_struct_tm=time.h    ac_cv_struct_tm=time.h
4597  else  else
# Line 4598  ac_cv_struct_tm=sys/time.h Line 4601  ac_cv_struct_tm=sys/time.h
4601  fi  fi
4602  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4603  fi  fi
4604  echo "$as_me:4601: result: $ac_cv_struct_tm" >&5  echo "$as_me:4604: result: $ac_cv_struct_tm" >&5
4605  echo "${ECHO_T}$ac_cv_struct_tm" >&6  echo "${ECHO_T}$ac_cv_struct_tm" >&6
4606  if test $ac_cv_struct_tm = sys/time.h; then  if test $ac_cv_struct_tm = sys/time.h; then
4607    
# Line 4608  EOF Line 4611  EOF
4611    
4612  fi  fi
4613    
4614  echo "$as_me:4611: checking for struct tm.tm_zone" >&5  echo "$as_me:4614: checking for struct tm.tm_zone" >&5
4615  echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6  echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
4616  if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then  if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
4617    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4618  else  else
4619    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4620  #line 4617 "configure"  #line 4620 "configure"
4621  #include "confdefs.h"  #include "confdefs.h"
4622  #include <sys/types.h>  #include <sys/types.h>
4623  #include <$ac_cv_struct_tm>  #include <$ac_cv_struct_tm>
# Line 4630  return 0; Line 4633  return 0;
4633  }  }
4634  _ACEOF  _ACEOF
4635  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4636  if { (eval echo "$as_me:4633: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4636: \"$ac_compile\"") >&5
4637    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4638    ac_status=$?    ac_status=$?
4639    echo "$as_me:4636: \$? = $ac_status" >&5    echo "$as_me:4639: \$? = $ac_status" >&5
4640    (exit $ac_status); } &&    (exit $ac_status); } &&
4641           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4642    { (eval echo "$as_me:4639: \"$ac_try\"") >&5    { (eval echo "$as_me:4642: \"$ac_try\"") >&5
4643    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4644    ac_status=$?    ac_status=$?
4645    echo "$as_me:4642: \$? = $ac_status" >&5    echo "$as_me:4645: \$? = $ac_status" >&5
4646    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4647    ac_cv_member_struct_tm_tm_zone=yes    ac_cv_member_struct_tm_tm_zone=yes
4648  else  else
# Line 4649  ac_cv_member_struct_tm_tm_zone=no Line 4652  ac_cv_member_struct_tm_tm_zone=no
4652  fi  fi
4653  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4654  fi  fi
4655  echo "$as_me:4652: result: $ac_cv_member_struct_tm_tm_zone" >&5  echo "$as_me:4655: result: $ac_cv_member_struct_tm_tm_zone" >&5
4656  echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6  echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
4657  if test $ac_cv_member_struct_tm_tm_zone = yes; then  if test $ac_cv_member_struct_tm_tm_zone = yes; then
4658    
# Line 4666  cat >>confdefs.h <<\EOF Line 4669  cat >>confdefs.h <<\EOF
4669  EOF  EOF
4670    
4671  else  else
4672    echo "$as_me:4669: checking for tzname" >&5    echo "$as_me:4672: checking for tzname" >&5
4673  echo $ECHO_N "checking for tzname... $ECHO_C" >&6  echo $ECHO_N "checking for tzname... $ECHO_C" >&6
4674  if test "${ac_cv_var_tzname+set}" = set; then  if test "${ac_cv_var_tzname+set}" = set; then
4675    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4676  else  else
4677    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4678  #line 4675 "configure"  #line 4678 "configure"
4679  #include "confdefs.h"  #include "confdefs.h"
4680  #include <time.h>  #include <time.h>
4681  #ifndef tzname /* For SGI.  */  #ifndef tzname /* For SGI.  */
# Line 4688  atoi(*tzname); Line 4691  atoi(*tzname);
4691  }  }
4692  _ACEOF  _ACEOF
4693  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
4694  if { (eval echo "$as_me:4691: \"$ac_link\"") >&5  if { (eval echo "$as_me:4694: \"$ac_link\"") >&5
4695    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
4696    ac_status=$?    ac_status=$?
4697    echo "$as_me:4694: \$? = $ac_status" >&5    echo "$as_me:4697: \$? = $ac_status" >&5
4698    (exit $ac_status); } &&    (exit $ac_status); } &&
4699           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
4700    { (eval echo "$as_me:4697: \"$ac_try\"") >&5    { (eval echo "$as_me:4700: \"$ac_try\"") >&5
4701    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4702    ac_status=$?    ac_status=$?
4703    echo "$as_me:4700: \$? = $ac_status" >&5    echo "$as_me:4703: \$? = $ac_status" >&5
4704    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4705    ac_cv_var_tzname=yes    ac_cv_var_tzname=yes
4706  else  else
# Line 4707  ac_cv_var_tzname=no Line 4710  ac_cv_var_tzname=no
4710  fi  fi
4711  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4712  fi  fi
4713  echo "$as_me:4710: result: $ac_cv_var_tzname" >&5  echo "$as_me:4713: result: $ac_cv_var_tzname" >&5
4714  echo "${ECHO_T}$ac_cv_var_tzname" >&6  echo "${ECHO_T}$ac_cv_var_tzname" >&6
4715    if test $ac_cv_var_tzname = yes; then    if test $ac_cv_var_tzname = yes; then
4716    
# Line 4718  EOF Line 4721  EOF
4721    fi    fi
4722  fi  fi
4723    
4724  echo "$as_me:4721: checking for tm_gmtoff in struct tm" >&5  echo "$as_me:4724: checking for tm_gmtoff in struct tm" >&5
4725  echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6  echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
4726  if test "${emacs_cv_tm_gmtoff+set}" = set; then  if test "${emacs_cv_tm_gmtoff+set}" = set; then
4727    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4728  else  else
4729    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4730  #line 4727 "configure"  #line 4730 "configure"
4731  #include "confdefs.h"  #include "confdefs.h"
4732  #include <time.h>  #include <time.h>
4733  int  int
# Line 4736  struct tm t; t.tm_gmtoff = 0 Line 4739  struct tm t; t.tm_gmtoff = 0
4739  }  }
4740  _ACEOF  _ACEOF
4741  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
4742  if { (eval echo "$as_me:4739: \"$ac_link\"") >&5  if { (eval echo "$as_me:4742: \"$ac_link\"") >&5
4743    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
4744    ac_status=$?    ac_status=$?
4745    echo "$as_me:4742: \$? = $ac_status" >&5    echo "$as_me:4745: \$? = $ac_status" >&5
4746    (exit $ac_status); } &&    (exit $ac_status); } &&
4747           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
4748    { (eval echo "$as_me:4745: \"$ac_try\"") >&5    { (eval echo "$as_me:4748: \"$ac_try\"") >&5
4749    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4750    ac_status=$?    ac_status=$?
4751    echo "$as_me:4748: \$? = $ac_status" >&5    echo "$as_me:4751: \$? = $ac_status" >&5
4752    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4753    emacs_cv_tm_gmtoff=yes    emacs_cv_tm_gmtoff=yes
4754  else  else
# Line 4755  emacs_cv_tm_gmtoff=no Line 4758  emacs_cv_tm_gmtoff=no
4758  fi  fi
4759  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4760  fi  fi
4761  echo "$as_me:4758: result: $emacs_cv_tm_gmtoff" >&5  echo "$as_me:4761: result: $emacs_cv_tm_gmtoff" >&5
4762  echo "${ECHO_T}$emacs_cv_tm_gmtoff" >&6  echo "${ECHO_T}$emacs_cv_tm_gmtoff" >&6
4763  if test $emacs_cv_tm_gmtoff = yes; then  if test $emacs_cv_tm_gmtoff = yes; then
4764    cat >>confdefs.h <<\EOF    cat >>confdefs.h <<\EOF
# Line 4764  EOF Line 4767  EOF
4767    
4768  fi  fi
4769    
4770  echo "$as_me:4767: checking for $CC option to accept ANSI C" >&5  echo "$as_me:4770: checking for $CC option to accept ANSI C" >&5
4771  echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6  echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
4772  if test "${ac_cv_prog_cc_stdc+set}" = set; then  if test "${ac_cv_prog_cc_stdc+set}" = set; then
4773    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4772  else Line 4775  else
4775    ac_cv_prog_cc_stdc=no    ac_cv_prog_cc_stdc=no
4776  ac_save_CC=$CC  ac_save_CC=$CC
4777  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
4778  #line 4775 "configure"  #line 4778 "configure"
4779  #include "confdefs.h"  #include "confdefs.h"
4780  #include <stdarg.h>  #include <stdarg.h>
4781  #include <stdio.h>  #include <stdio.h>
# Line 4821  for ac_arg in "" -qlanglvl=ansi -std1 -A Line 4824  for ac_arg in "" -qlanglvl=ansi -std1 -A
4824  do  do
4825    CC="$ac_save_CC $ac_arg"    CC="$ac_save_CC $ac_arg"
4826    rm -f conftest.$ac_objext    rm -f conftest.$ac_objext
4827  if { (eval echo "$as_me:4824: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4827: \"$ac_compile\"") >&5
4828    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4829    ac_status=$?    ac_status=$?
4830    echo "$as_me:4827: \$? = $ac_status" >&5    echo "$as_me:4830: \$? = $ac_status" >&5
4831    (exit $ac_status); } &&    (exit $ac_status); } &&
4832           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4833    { (eval echo "$as_me:4830: \"$ac_try\"") >&5    { (eval echo "$as_me:4833: \"$ac_try\"") >&5
4834    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4835    ac_status=$?    ac_status=$?
4836    echo "$as_me:4833: \$? = $ac_status" >&5    echo "$as_me:4836: \$? = $ac_status" >&5
4837    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4838    ac_cv_prog_cc_stdc=$ac_arg    ac_cv_prog_cc_stdc=$ac_arg
4839  break  break
# Line 4847  fi Line 4850  fi
4850    
4851  case "x$ac_cv_prog_cc_stdc" in  case "x$ac_cv_prog_cc_stdc" in
4852    x|xno)    x|xno)
4853      echo "$as_me:4850: result: none needed" >&5      echo "$as_me:4853: result: none needed" >&5
4854  echo "${ECHO_T}none needed" >&6 ;;  echo "${ECHO_T}none needed" >&6 ;;
4855    *)    *)
4856      echo "$as_me:4853: result: $ac_cv_prog_cc_stdc" >&5      echo "$as_me:4856: result: $ac_cv_prog_cc_stdc" >&5
4857  echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6  echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4858      CC="$CC $ac_cv_prog_cc_stdc" ;;      CC="$CC $ac_cv_prog_cc_stdc" ;;
4859  esac  esac
4860    
4861  echo "$as_me:4858: checking for function prototypes" >&5  echo "$as_me:4861: checking for function prototypes" >&5
4862  echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6  echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
4863  if test "$ac_cv_prog_cc_stdc" != no; then  if test "$ac_cv_prog_cc_stdc" != no; then
4864    echo "$as_me:4861: result: yes" >&5    echo "$as_me:4864: result: yes" >&5
4865  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
4866    
4867  cat >>confdefs.h <<\EOF  cat >>confdefs.h <<\EOF
# Line 4866  cat >>confdefs.h <<\EOF Line 4869  cat >>confdefs.h <<\EOF
4869  EOF  EOF
4870    
4871  else  else
4872    echo "$as_me:4869: result: no" >&5    echo "$as_me:4872: result: no" >&5
4873  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
4874  fi  fi
4875    
4876  echo "$as_me:4873: checking for working volatile" >&5  echo "$as_me:4876: checking for working volatile" >&5
4877  echo $ECHO_N "checking for working volatile... $ECHO_C" >&6  echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
4878  if test "${ac_cv_c_volatile+set}" = set; then  if test "${ac_cv_c_volatile+set}" = set; then
4879    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4880  else  else
4881    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4882  #line 4879 "configure"  #line 4882 "configure"
4883  #include "confdefs.h"  #include "confdefs.h"
4884    
4885  int  int
# Line 4890  int * volatile y; Line 4893  int * volatile y;
4893  }  }
4894  _ACEOF  _ACEOF
4895  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4896  if { (eval echo "$as_me:4893: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4896: \"$ac_compile\"") >&5
4897    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4898    ac_status=$?    ac_status=$?
4899    echo "$as_me:4896: \$? = $ac_status" >&5    echo "$as_me:4899: \$? = $ac_status" >&5
4900    (exit $ac_status); } &&    (exit $ac_status); } &&
4901           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4902    { (eval echo "$as_me:4899: \"$ac_try\"") >&5    { (eval echo "$as_me:4902: \"$ac_try\"") >&5
4903    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4904    ac_status=$?    ac_status=$?
4905    echo "$as_me:4902: \$? = $ac_status" >&5    echo "$as_me:4905: \$? = $ac_status" >&5
4906    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4907    ac_cv_c_volatile=yes    ac_cv_c_volatile=yes
4908  else  else
# Line 4909  ac_cv_c_volatile=no Line 4912  ac_cv_c_volatile=no
4912  fi  fi
4913  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4914  fi  fi
4915  echo "$as_me:4912: result: $ac_cv_c_volatile" >&5  echo "$as_me:4915: result: $ac_cv_c_volatile" >&5
4916  echo "${ECHO_T}$ac_cv_c_volatile" >&6  echo "${ECHO_T}$ac_cv_c_volatile" >&6
4917  if test $ac_cv_c_volatile = no; then  if test $ac_cv_c_volatile = no; then
4918    
# Line 4919  EOF Line 4922  EOF
4922    
4923  fi  fi
4924    
4925  echo "$as_me:4922: checking for an ANSI C-conforming const" >&5  echo "$as_me:4925: checking for an ANSI C-conforming const" >&5
4926  echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6  echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4927  if test "${ac_cv_c_const+set}" = set; then  if test "${ac_cv_c_const+set}" = set; then
4928    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4929  else  else
4930    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4931  #line 4928 "configure"  #line 4931 "configure"
4932  #include "confdefs.h"  #include "confdefs.h"
4933    
4934  int  int
# Line 4983  main () Line 4986  main ()
4986  }  }
4987  _ACEOF  _ACEOF
4988  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4989  if { (eval echo "$as_me:4986: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4989: \"$ac_compile\"") >&5
4990    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4991    ac_status=$?    ac_status=$?
4992    echo "$as_me:4989: \$? = $ac_status" >&5    echo "$as_me:4992: \$? = $ac_status" >&5
4993    (exit $ac_status); } &&    (exit $ac_status); } &&
4994           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4995    { (eval echo "$as_me:4992: \"$ac_try\"") >&5    { (eval echo "$as_me:4995: \"$ac_try\"") >&5
4996    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4997    ac_status=$?    ac_status=$?
4998    echo "$as_me:4995: \$? = $ac_status" >&5    echo "$as_me:4998: \$? = $ac_status" >&5
4999    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5000    ac_cv_c_const=yes    ac_cv_c_const=yes
5001  else  else
# Line 5002  ac_cv_c_const=no Line 5005  ac_cv_c_const=no
5005  fi  fi
5006  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
5007  fi  fi
5008  echo "$as_me:5005: result: $ac_cv_c_const" >&5  echo "$as_me:5008: result: $ac_cv_c_const" >&5
5009  echo "${ECHO_T}$ac_cv_c_const" >&6  echo "${ECHO_T}$ac_cv_c_const" >&6
5010  if test $ac_cv_c_const = no; then  if test $ac_cv_c_const = no; then
5011    
# Line 5012  EOF Line 5015  EOF
5015    
5016  fi  fi
5017    
5018  echo "$as_me:5015: checking for void * support" >&5  echo "$as_me:5018: checking for void * support" >&5
5019  echo $ECHO_N "checking for void * support... $ECHO_C" >&6  echo $ECHO_N "checking for void * support... $ECHO_C" >&6
5020  if test "${emacs_cv_void_star+set}" = set; then  if test "${emacs_cv_void_star+set}" = set; then
5021    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5022  else  else
5023    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5024  #line 5021 "configure"  #line 5024 "configure"
5025  #include "confdefs.h"  #include "confdefs.h"
5026    
5027  int  int
# Line 5030  void * foo; Line 5033  void * foo;
5033  }  }
5034  _ACEOF  _ACEOF
5035  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
5036  if { (eval echo "$as_me:5033: \"$ac_compile\"") >&5  if { (eval echo "$as_me:5036: \"$ac_compile\"") >&5
5037    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
5038    ac_status=$?    ac_status=$?
5039    echo "$as_me:5036: \$? = $ac_status" >&5    echo "$as_me:5039: \$? = $ac_status" >&5
5040    (exit $ac_status); } &&    (exit $ac_status); } &&
5041           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
5042    { (eval echo "$as_me:5039: \"$ac_try\"") >&5    { (eval echo "$as_me:5042: \"$ac_try\"") >&5
5043    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5044    ac_status=$?    ac_status=$?
5045    echo "$as_me:5042: \$? = $ac_status" >&5    echo "$as_me:5045: \$? = $ac_status" >&5
5046    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5047    emacs_cv_void_star=yes    emacs_cv_void_star=yes
5048  else  else
# Line 5049  emacs_cv_void_star=no Line 5052  emacs_cv_void_star=no
5052  fi  fi
5053  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
5054  fi  fi
5055  echo "$as_me:5052: result: $emacs_cv_void_star" >&5  echo "$as_me:5055: result: $emacs_cv_void_star" >&5
5056  echo "${ECHO_T}$emacs_cv_void_star" >&6  echo "${ECHO_T}$emacs_cv_void_star" >&6
5057  if test $emacs_cv_void_star = yes; then  if test $emacs_cv_void_star = yes; then
5058    cat >>confdefs.h <<\EOF    cat >>confdefs.h <<\EOF
# Line 5063  EOF Line 5066  EOF
5066    
5067  fi  fi
5068    
5069  echo "$as_me:5066: checking whether ${MAKE-make} sets \${MAKE}" >&5  echo "$as_me:5069: checking whether ${MAKE-make} sets \${MAKE}" >&5
5070  echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6  echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
5071  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
5072  if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then  if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
# Line 5083  fi Line 5086  fi
5086  rm -f conftest.make  rm -f conftest.make
5087  fi  fi
5088  if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then  if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
5089    echo "$as_me:5086: result: yes" >&5    echo "$as_me:5089: result: yes" >&5
5090  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
5091    SET_MAKE=    SET_MAKE=
5092  else  else
5093    echo "$as_me:5090: result: no" >&5    echo "$as_me:5093: result: no" >&5
5094  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
5095    SET_MAKE="MAKE=${MAKE-make}"    SET_MAKE="MAKE=${MAKE-make}"
5096  fi  fi
5097    
5098  echo "$as_me:5095: checking for long file names" >&5  echo "$as_me:5098: checking for long file names" >&5
5099  echo $ECHO_N "checking for long file names... $ECHO_C" >&6  echo $ECHO_N "checking for long file names... $ECHO_C" >&6
5100  if test "${ac_cv_sys_long_file_names+set}" = set; then  if test "${ac_cv_sys_long_file_names+set}" = set; then
5101    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5131  for ac_dir in  . $ac_tmpdirs `eval echo Line 5134  for ac_dir in  . $ac_tmpdirs `eval echo
5134    rm -rf $ac_xdir 2>/dev/null    rm -rf $ac_xdir 2>/dev/null
5135  done  done
5136  fi  fi
5137  echo "$as_me:5134: result: $ac_cv_sys_long_file_names" >&5  echo "$as_me:5137: result: $ac_cv_sys_long_file_names" >&5
5138  echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6  echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6
5139  if test $ac_cv_sys_long_file_names = yes; then  if test $ac_cv_sys_long_file_names = yes; then
5140    
# Line 5143  fi Line 5146  fi
5146    
5147  #### Choose a window system.  #### Choose a window system.
5148    
5149  echo "$as_me:5146: checking for X" >&5  echo "$as_me:5149: checking for X" >&5
5150  echo $ECHO_N "checking for X... $ECHO_C" >&6  echo $ECHO_N "checking for X... $ECHO_C" >&6
5151    
5152  # Check whether --with-x or --without-x was given.  # Check whether --with-x or --without-x was given.
# Line 5240  if test "$ac_x_includes" = no; then Line 5243  if test "$ac_x_includes" = no; then
5243    # Guess where to find include files, by looking for Intrinsic.h.    # Guess where to find include files, by looking for Intrinsic.h.
5244    # First, try using that file with no special directory specified.    # First, try using that file with no special directory specified.
5245    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5246  #line 5243 "configure"  #line 5246 "configure"
5247  #include "confdefs.h"  #include "confdefs.h"
5248  #include <X11/Intrinsic.h>  #include <X11/Intrinsic.h>
5249  _ACEOF  _ACEOF
5250  if { (eval echo "$as_me:5247: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:5250: \"$ac_cpp conftest.$ac_ext\"") >&5
5251    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5252    ac_status=$?    ac_status=$?
5253    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
5254    rm -f conftest.er1    rm -f conftest.er1
5255    cat conftest.err >&5    cat conftest.err >&5
5256    echo "$as_me:5253: \$? = $ac_status" >&5    echo "$as_me:5256: \$? = $ac_status" >&5
5257    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
5258    if test -s conftest.err; then    if test -s conftest.err; then
5259      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 5283  if test "$ac_x_libraries" = no; then Line 5286  if test "$ac_x_libraries" = no; then
5286    ac_save_LIBS=$LIBS    ac_save_LIBS=$LIBS
5287    LIBS="-lXt $LIBS"    LIBS="-lXt $LIBS"
5288    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5289  #line 5286 "configure"  #line 5289 "configure"
5290  #include "confdefs.h"  #include "confdefs.h"
5291  #include <X11/Intrinsic.h>  #include <X11/Intrinsic.h>
5292  int  int
# Line 5295  XtMalloc (0) Line 5298  XtMalloc (0)
5298  }  }
5299  _ACEOF  _ACEOF
5300  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
5301  if { (eval echo "$as_me:5298: \"$ac_link\"") >&5  if { (eval echo "$as_me:5301: \"$ac_link\"") >&5
5302    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
5303    ac_status=$?    ac_status=$?
5304    echo "$as_me:5301: \$? = $ac_status" >&5    echo "$as_me:5304: \$? = $ac_status" >&5
5305    (exit $ac_status); } &&    (exit $ac_status); } &&
5306           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
5307    { (eval echo "$as_me:5304: \"$ac_try\"") >&5    { (eval echo "$as_me:5307: \"$ac_try\"") >&5
5308    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5309    ac_status=$?    ac_status=$?
5310    echo "$as_me:5307: \$? = $ac_status" >&5    echo "$as_me:5310: \$? = $ac_status" >&5
5311    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5312    LIBS=$ac_save_LIBS    LIBS=$ac_save_LIBS
5313  # We can link X programs with no special library path.  # We can link X programs with no special library path.
# Line 5342  fi Line 5345  fi
5345  fi # $with_x != no  fi # $with_x != no
5346    
5347  if test "$have_x" != yes; then  if test "$have_x" != yes; then
5348    echo "$as_me:5345: result: $have_x" >&5    echo "$as_me:5348: result: $have_x" >&5
5349  echo "${ECHO_T}$have_x" >&6  echo "${ECHO_T}$have_x" >&6
5350    no_x=yes    no_x=yes
5351  else  else
# Line 5352  else Line 5355  else
5355    # Update the cache value to reflect the command line values.    # Update the cache value to reflect the command line values.
5356    ac_cv_have_x="have_x=yes \    ac_cv_have_x="have_x=yes \
5357                  ac_x_includes=$x_includes ac_x_libraries=$x_libraries"                  ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
5358    echo "$as_me:5355: result: libraries $x_libraries, headers $x_includes" >&5    echo "$as_me:5358: result: libraries $x_libraries, headers $x_includes" >&5
5359  echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6  echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
5360  fi  fi
5361    
# Line 5450  UNEXEC_SRC="`echo ${unexec} | sed 's/\.o Line 5453  UNEXEC_SRC="`echo ${unexec} | sed 's/\.o
5453  # Assume not, until told otherwise.  # Assume not, until told otherwise.
5454  GNU_MALLOC=yes  GNU_MALLOC=yes
5455  doug_lea_malloc=yes  doug_lea_malloc=yes
5456  echo "$as_me:5453: checking for malloc_get_state" >&5  echo "$as_me:5456: checking for malloc_get_state" >&5
5457  echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6  echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6
5458  if test "${ac_cv_func_malloc_get_state+set}" = set; then  if test "${ac_cv_func_malloc_get_state+set}" = set; then
5459    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5460  else  else
5461    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5462  #line 5459 "configure"  #line 5462 "configure"
5463  #include "confdefs.h"  #include "confdefs.h"
5464  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5465      which can conflict with char malloc_get_state (); below.  */      which can conflict with char malloc_get_state (); below.  */
# Line 5487  f = malloc_get_state; Line 5490  f = malloc_get_state;
5490  }  }
5491  _ACEOF  _ACEOF
5492  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
5493  if { (eval echo "$as_me:5490: \"$ac_link\"") >&5  if { (eval echo "$as_me:5493: \"$ac_link\"") >&5
5494    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
5495    ac_status=$?    ac_status=$?
5496    echo "$as_me:5493: \$? = $ac_status" >&5    echo "$as_me:5496: \$? = $ac_status" >&5
5497    (exit $ac_status); } &&    (exit $ac_status); } &&
5498           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
5499    { (eval echo "$as_me:5496: \"$ac_try\"") >&5    { (eval echo "$as_me:5499: \"$ac_try\"") >&5
5500    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5501    ac_status=$?    ac_status=$?
5502    echo "$as_me:5499: \$? = $ac_status" >&5    echo "$as_me:5502: \$? = $ac_status" >&5
5503    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5504    ac_cv_func_malloc_get_state=yes    ac_cv_func_malloc_get_state=yes
5505  else  else
# Line 5506  ac_cv_func_malloc_get_state=no Line 5509  ac_cv_func_malloc_get_state=no
5509  fi  fi
5510  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5511  fi  fi
5512  echo "$as_me:5509: result: $ac_cv_func_malloc_get_state" >&5  echo "$as_me:5512: result: $ac_cv_func_malloc_get_state" >&5
5513  echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6  echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6
5514  if test $ac_cv_func_malloc_get_state = yes; then  if test $ac_cv_func_malloc_get_state = yes; then
5515    :    :
# Line 5514  else Line 5517  else
5517    doug_lea_malloc=no    doug_lea_malloc=no
5518  fi  fi
5519    
5520  echo "$as_me:5517: checking for malloc_set_state" >&5  echo "$as_me:5520: checking for malloc_set_state" >&5
5521  echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6  echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6
5522  if test "${ac_cv_func_malloc_set_state+set}" = set; then  if test "${ac_cv_func_malloc_set_state+set}" = set; then
5523    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5524  else  else
5525    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5526  #line 5523 "configure"  #line 5526 "configure"
5527  #include "confdefs.h"  #include "confdefs.h"
5528  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5529      which can conflict with char malloc_set_state (); below.  */      which can conflict with char malloc_set_state (); below.  */
# Line 5551  f = malloc_set_state; Line 5554  f = malloc_set_state;
5554  }  }
5555  _ACEOF  _ACEOF
5556  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
5557  if { (eval echo "$as_me:5554: \"$ac_link\"") >&5  if { (eval echo "$as_me:5557: \"$ac_link\"") >&5
5558    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
5559    ac_status=$?    ac_status=$?
5560    echo "$as_me:5557: \$? = $ac_status" >&5    echo "$as_me:5560: \$? = $ac_status" >&5
5561    (exit $ac_status); } &&    (exit $ac_status); } &&
5562           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
5563    { (eval echo "$as_me:5560: \"$ac_try\"") >&5    { (eval echo "$as_me:5563: \"$ac_try\"") >&5
5564    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5565    ac_status=$?    ac_status=$?
5566    echo "$as_me:5563: \$? = $ac_status" >&5    echo "$as_me:5566: \$? = $ac_status" >&5
5567    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5568    ac_cv_func_malloc_set_state=yes    ac_cv_func_malloc_set_state=yes
5569  else  else
# Line 5570  ac_cv_func_malloc_set_state=no Line 5573  ac_cv_func_malloc_set_state=no
5573  fi  fi
5574  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5575  fi  fi
5576  echo "$as_me:5573: result: $ac_cv_func_malloc_set_state" >&5  echo "$as_me:5576: result: $ac_cv_func_malloc_set_state" >&5
5577  echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6  echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6
5578  if test $ac_cv_func_malloc_set_state = yes; then  if test $ac_cv_func_malloc_set_state = yes; then
5579    :    :
# Line 5578  else Line 5581  else
5581    doug_lea_malloc=no    doug_lea_malloc=no
5582  fi  fi
5583    
5584  echo "$as_me:5581: checking whether __after_morecore_hook exists" >&5  echo "$as_me:5584: checking whether __after_morecore_hook exists" >&5
5585  echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6  echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6
5586  if test "${emacs_cv_var___after_morecore_hook+set}" = set; then  if test "${emacs_cv_var___after_morecore_hook+set}" = set; then
5587    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5588  else  else
5589    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5590  #line 5587 "configure"  #line 5590 "configure"
5591  #include "confdefs.h"  #include "confdefs.h"
5592  extern void (* __after_morecore_hook)();  extern void (* __after_morecore_hook)();
5593  int  int
# Line 5596  __after_morecore_hook = 0 Line 5599  __after_morecore_hook = 0
5599  }  }
5600  _ACEOF  _ACEOF
5601  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
5602  if { (eval echo "$as_me:5599: \"$ac_link\"") >&5  if { (eval echo "$as_me:5602: \"$ac_link\"") >&5
5603    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
5604    ac_status=$?    ac_status=$?
5605    echo "$as_me:5602: \$? = $ac_status" >&5    echo "$as_me:5605: \$? = $ac_status" >&5
5606    (exit $ac_status); } &&    (exit $ac_status); } &&
5607           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
5608    { (eval echo "$as_me:5605: \"$ac_try\"") >&5    { (eval echo "$as_me:5608: \"$ac_try\"") >&5
5609    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5610    ac_status=$?    ac_status=$?
5611    echo "$as_me:5608: \$? = $ac_status" >&5    echo "$as_me:5611: \$? = $ac_status" >&5
5612    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5613    emacs_cv_var___after_morecore_hook=yes    emacs_cv_var___after_morecore_hook=yes
5614  else  else
# Line 5615  emacs_cv_var___after_morecore_hook=no Line 5618  emacs_cv_var___after_morecore_hook=no
5618  fi  fi
5619  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5620  fi  fi
5621  echo "$as_me:5618: result: $emacs_cv_var___after_morecore_hook" >&5  echo "$as_me:5621: result: $emacs_cv_var___after_morecore_hook" >&5
5622  echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6  echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6
5623  if test $emacs_cv_var___after_morecore_hook = no; then  if test $emacs_cv_var___after_morecore_hook = no; then
5624    doug_lea_malloc=no    doug_lea_malloc=no
# Line 5646  for ac_header in sys/types.h sys/stat.h Line 5649  for ac_header in sys/types.h sys/stat.h
5649                    inttypes.h stdint.h unistd.h                    inttypes.h stdint.h unistd.h
5650  do  do
5651  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5652  echo "$as_me:5649: checking for $ac_header" >&5  echo "$as_me:5652: checking for $ac_header" >&5
5653  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5654  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
5655    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5656  else  else
5657    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5658  #line 5655 "configure"  #line 5658 "configure"
5659  #include "confdefs.h"  #include "confdefs.h"
5660  $ac_includes_default  $ac_includes_default
5661  #include <$ac_header>  #include <$ac_header>
5662  _ACEOF  _ACEOF
5663  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
5664  if { (eval echo "$as_me:5661: \"$ac_compile\"") >&5  if { (eval echo "$as_me:5664: \"$ac_compile\"") >&5
5665    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
5666    ac_status=$?    ac_status=$?
5667    echo "$as_me:5664: \$? = $ac_status" >&5    echo "$as_me:5667: \$? = $ac_status" >&5
5668    (exit $ac_status); } &&    (exit $ac_status); } &&
5669           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
5670    { (eval echo "$as_me:5667: \"$ac_try\"") >&5    { (eval echo "$as_me:5670: \"$ac_try\"") >&5
5671    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5672    ac_status=$?    ac_status=$?
5673    echo "$as_me:5670: \$? = $ac_status" >&5    echo "$as_me:5673: \$? = $ac_status" >&5
5674    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5675    eval "$as_ac_Header=yes"    eval "$as_ac_Header=yes"
5676  else  else
# Line 5677  eval "$as_ac_Header=no" Line 5680  eval "$as_ac_Header=no"
5680  fi  fi
5681  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
5682  fi  fi
5683  echo "$as_me:5680: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:5683: result: `eval echo '${'$as_ac_Header'}'`" >&5
5684  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5685  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
5686    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 5690  done Line 5693  done
5693  for ac_header in stdlib.h unistd.h  for ac_header in stdlib.h unistd.h
5694  do  do
5695  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5696  echo "$as_me:5693: checking for $ac_header" >&5  echo "$as_me:5696: checking for $ac_header" >&5
5697  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5698  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
5699    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5700  else  else
5701    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5702  #line 5699 "configure"  #line 5702 "configure"
5703  #include "confdefs.h"  #include "confdefs.h"
5704  #include <$ac_header>  #include <$ac_header>
5705  _ACEOF  _ACEOF
5706  if { (eval echo "$as_me:5703: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:5706: \"$ac_cpp conftest.$ac_ext\"") >&5
5707    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5708    ac_status=$?    ac_status=$?
5709    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
5710    rm -f conftest.er1    rm -f conftest.er1
5711    cat conftest.err >&5    cat conftest.err >&5
5712    echo "$as_me:5709: \$? = $ac_status" >&5    echo "$as_me:5712: \$? = $ac_status" >&5
5713    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
5714    if test -s conftest.err; then    if test -s conftest.err; then
5715      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 5725  else Line 5728  else
5728  fi  fi
5729  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
5730  fi  fi
5731  echo "$as_me:5728: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:5731: result: `eval echo '${'$as_ac_Header'}'`" >&5
5732  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5733  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
5734    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 5738  done Line 5741  done
5741  for ac_func in getpagesize  for ac_func in getpagesize
5742  do  do
5743  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5744  echo "$as_me:5741: checking for $ac_func" >&5  echo "$as_me:5744: checking for $ac_func" >&5
5745  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5746  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
5747    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5748  else  else
5749    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5750  #line 5747 "configure"  #line 5750 "configure"
5751  #include "confdefs.h"  #include "confdefs.h"
5752  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5753      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 5775  f = $ac_func; Line 5778  f = $ac_func;
5778  }  }
5779  _ACEOF  _ACEOF
5780  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
5781  if { (eval echo "$as_me:5778: \"$ac_link\"") >&5  if { (eval echo "$as_me:5781: \"$ac_link\"") >&5
5782    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
5783    ac_status=$?    ac_status=$?
5784    echo "$as_me:5781: \$? = $ac_status" >&5    echo "$as_me:5784: \$? = $ac_status" >&5
5785    (exit $ac_status); } &&    (exit $ac_status); } &&
5786           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
5787    { (eval echo "$as_me:5784: \"$ac_try\"") >&5    { (eval echo "$as_me:5787: \"$ac_try\"") >&5
5788    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5789    ac_status=$?    ac_status=$?
5790    echo "$as_me:5787: \$? = $ac_status" >&5    echo "$as_me:5790: \$? = $ac_status" >&5
5791    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5792    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
5793  else  else
# Line 5794  eval "$as_ac_var=no" Line 5797  eval "$as_ac_var=no"
5797  fi  fi
5798  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5799  fi  fi
5800  echo "$as_me:5797: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:5800: result: `eval echo '${'$as_ac_var'}'`" >&5
5801  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5802  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
5803    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 5804  EOF Line 5807  EOF
5807  fi  fi
5808  done  done
5809    
5810  echo "$as_me:5807: checking for working mmap" >&5  echo "$as_me:5810: checking for working mmap" >&5
5811  echo $ECHO_N "checking for working mmap... $ECHO_C" >&6  echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
5812  if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then  if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
5813    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5813  else Line 5816  else
5816    ac_cv_func_mmap_fixed_mapped=no    ac_cv_func_mmap_fixed_mapped=no
5817  else  else
5818    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5819  #line 5816 "configure"  #line 5819 "configure"
5820  #include "confdefs.h"  #include "confdefs.h"
5821  $ac_includes_default  $ac_includes_default
5822  /* Thanks to Mike Haertel and Jim Avera for this test.  /* Thanks to Mike Haertel and Jim Avera for this test.
# Line 5940  main () Line 5943  main ()
5943  }  }
5944  _ACEOF  _ACEOF
5945  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
5946  if { (eval echo "$as_me:5943: \"$ac_link\"") >&5  if { (eval echo "$as_me:5946: \"$ac_link\"") >&5
5947    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
5948    ac_status=$?    ac_status=$?
5949    echo "$as_me:5946: \$? = $ac_status" >&5    echo "$as_me:5949: \$? = $ac_status" >&5
5950    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5951    { (eval echo "$as_me:5948: \"$ac_try\"") >&5    { (eval echo "$as_me:5951: \"$ac_try\"") >&5
5952    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5953    ac_status=$?    ac_status=$?
5954    echo "$as_me:5951: \$? = $ac_status" >&5    echo "$as_me:5954: \$? = $ac_status" >&5
5955    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5956    ac_cv_func_mmap_fixed_mapped=yes    ac_cv_func_mmap_fixed_mapped=yes
5957  else  else
# Line 5960  fi Line 5963  fi
5963  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5964  fi  fi
5965  fi  fi
5966  echo "$as_me:5963: result: $ac_cv_func_mmap_fixed_mapped" >&5  echo "$as_me:5966: result: $ac_cv_func_mmap_fixed_mapped" >&5
5967  echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6  echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
5968  if test $ac_cv_func_mmap_fixed_mapped = yes; then  if test $ac_cv_func_mmap_fixed_mapped = yes; then
5969    
# Line 5977  fi Line 5980  fi
5980    
5981  LIBS="$libsrc_libs $LIBS"  LIBS="$libsrc_libs $LIBS"
5982    
5983  echo "$as_me:5980: checking for dnet_ntoa in -ldnet" >&5  echo "$as_me:5983: checking for dnet_ntoa in -ldnet" >&5
5984  echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6  echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
5985  if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then  if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
5986    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5985  else Line 5988  else
5988    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
5989  LIBS="-ldnet  $LIBS"  LIBS="-ldnet  $LIBS"
5990  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
5991  #line 5988 "configure"  #line 5991 "configure"
5992  #include "confdefs.h"  #include "confdefs.h"
5993    
5994  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 6004  dnet_ntoa (); Line 6007  dnet_ntoa ();
6007  }  }
6008  _ACEOF  _ACEOF
6009  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6010  if { (eval echo "$as_me:6007: \"$ac_link\"") >&5  if { (eval echo "$as_me:6010: \"$ac_link\"") >&5
6011    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6012    ac_status=$?    ac_status=$?
6013    echo "$as_me:6010: \$? = $ac_status" >&5    echo "$as_me:6013: \$? = $ac_status" >&5
6014    (exit $ac_status); } &&    (exit $ac_status); } &&
6015           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6016    { (eval echo "$as_me:6013: \"$ac_try\"") >&5    { (eval echo "$as_me:6016: \"$ac_try\"") >&5
6017    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6018    ac_status=$?    ac_status=$?
6019    echo "$as_me:6016: \$? = $ac_status" >&5    echo "$as_me:6019: \$? = $ac_status" >&5
6020    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6021    ac_cv_lib_dnet_dnet_ntoa=yes    ac_cv_lib_dnet_dnet_ntoa=yes
6022  else  else
# Line 6024  fi Line 6027  fi
6027  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6028  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
6029  fi  fi
6030  echo "$as_me:6027: result: $ac_cv_lib_dnet_dnet_ntoa" >&5  echo "$as_me:6030: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
6031  echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6  echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
6032  if test $ac_cv_lib_dnet_dnet_ntoa = yes; then  if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
6033    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 6035  EOF Line 6038  EOF
6038    
6039  fi  fi
6040    
6041  echo "$as_me:6038: checking for main in -lXbsd" >&5  echo "$as_me:6041: checking for main in -lXbsd" >&5
6042  echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6  echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6
6043  if test "${ac_cv_lib_Xbsd_main+set}" = set; then  if test "${ac_cv_lib_Xbsd_main+set}" = set; then
6044    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6043  else Line 6046  else
6046    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
6047  LIBS="-lXbsd  $LIBS"  LIBS="-lXbsd  $LIBS"
6048  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
6049  #line 6046 "configure"  #line 6049 "configure"
6050  #include "confdefs.h"  #include "confdefs.h"
6051    
6052  int  int
# Line 6055  main (); Line 6058  main ();
6058  }  }
6059  _ACEOF  _ACEOF
6060  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6061  if { (eval echo "$as_me:6058: \"$ac_link\"") >&5  if { (eval echo "$as_me:6061: \"$ac_link\"") >&5
6062    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6063    ac_status=$?    ac_status=$?
6064    echo "$as_me:6061: \$? = $ac_status" >&5    echo "$as_me:6064: \$? = $ac_status" >&5
6065    (exit $ac_status); } &&    (exit $ac_status); } &&
6066           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6067    { (eval echo "$as_me:6064: \"$ac_try\"") >&5    { (eval echo "$as_me:6067: \"$ac_try\"") >&5
6068    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6069    ac_status=$?    ac_status=$?
6070    echo "$as_me:6067: \$? = $ac_status" >&5    echo "$as_me:6070: \$? = $ac_status" >&5
6071    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6072    ac_cv_lib_Xbsd_main=yes    ac_cv_lib_Xbsd_main=yes
6073  else  else
# Line 6075  fi Line 6078  fi
6078  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6079  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
6080  fi  fi
6081  echo "$as_me:6078: result: $ac_cv_lib_Xbsd_main" >&5  echo "$as_me:6081: result: $ac_cv_lib_Xbsd_main" >&5
6082  echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6  echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6
6083  if test $ac_cv_lib_Xbsd_main = yes; then  if test $ac_cv_lib_Xbsd_main = yes; then
6084    LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd"    LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd"
6085  fi  fi
6086    
6087  echo "$as_me:6084: checking for cma_open in -lpthreads" >&5  echo "$as_me:6087: checking for cma_open in -lpthreads" >&5
6088  echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6  echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6
6089  if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then  if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then
6090    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6089  else Line 6092  else
6092    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
6093  LIBS="-lpthreads  $LIBS"  LIBS="-lpthreads  $LIBS"
6094  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
6095  #line 6092 "configure"  #line 6095 "configure"
6096  #include "confdefs.h"  #include "confdefs.h"
6097    
6098  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 6108  cma_open (); Line 6111  cma_open ();
6111  }  }
6112  _ACEOF  _ACEOF
6113  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6114  if { (eval echo "$as_me:6111: \"$ac_link\"") >&5  if { (eval echo "$as_me:6114: \"$ac_link\"") >&5
6115    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6116    ac_status=$?    ac_status=$?
6117    echo "$as_me:6114: \$? = $ac_status" >&5    echo "$as_me:6117: \$? = $ac_status" >&5
6118    (exit $ac_status); } &&    (exit $ac_status); } &&
6119           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6120    { (eval echo "$as_me:6117: \"$ac_try\"") >&5    { (eval echo "$as_me:6120: \"$ac_try\"") >&5
6121    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6122    ac_status=$?    ac_status=$?
6123    echo "$as_me:6120: \$? = $ac_status" >&5    echo "$as_me:6123: \$? = $ac_status" >&5
6124    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6125    ac_cv_lib_pthreads_cma_open=yes    ac_cv_lib_pthreads_cma_open=yes
6126  else  else
# Line 6128  fi Line 6131  fi
6131  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6132  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
6133  fi  fi
6134  echo "$as_me:6131: result: $ac_cv_lib_pthreads_cma_open" >&5  echo "$as_me:6134: result: $ac_cv_lib_pthreads_cma_open" >&5
6135  echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6  echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6
6136  if test $ac_cv_lib_pthreads_cma_open = yes; then  if test $ac_cv_lib_pthreads_cma_open = yes; then
6137    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 6139  EOF Line 6142  EOF
6142    
6143  fi  fi
6144    
6145  echo "$as_me:6142: checking for XFree86 in /usr/X386" >&5  echo "$as_me:6145: checking for XFree86 in /usr/X386" >&5
6146  echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6  echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6
6147  if test -d /usr/X386/include; then  if test -d /usr/X386/include; then
6148    HAVE_XFREE386=yes    HAVE_XFREE386=yes
# Line 6147  if test -d /usr/X386/include; then Line 6150  if test -d /usr/X386/include; then
6150  else  else
6151    HAVE_XFREE386=no    HAVE_XFREE386=no
6152  fi  fi
6153  echo "$as_me:6150: result: $HAVE_XFREE386" >&5  echo "$as_me:6153: result: $HAVE_XFREE386" >&5
6154  echo "${ECHO_T}$HAVE_XFREE386" >&6  echo "${ECHO_T}$HAVE_XFREE386" >&6
6155    
6156  # Change CFLAGS temporarily so that C_SWITCH_X_SITE gets used  # Change CFLAGS temporarily so that C_SWITCH_X_SITE gets used
# Line 6172  if test "${HAVE_X11}" = "yes"; then Line 6175  if test "${HAVE_X11}" = "yes"; then
6175    fi    fi
6176    
6177    if test "${opsys}" = "gnu-linux"; then    if test "${opsys}" = "gnu-linux"; then
6178      echo "$as_me:6175: checking whether X on GNU/Linux needs -b to link" >&5      echo "$as_me:6178: checking whether X on GNU/Linux needs -b to link" >&5
6179  echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6  echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6
6180      cat >conftest.$ac_ext <<_ACEOF      cat >conftest.$ac_ext <<_ACEOF
6181  #line 6178 "configure"  #line 6181 "configure"
6182  #include "confdefs.h"  #include "confdefs.h"
6183    
6184  int  int
# Line 6187  XOpenDisplay ("foo"); Line 6190  XOpenDisplay ("foo");
6190  }  }
6191  _ACEOF  _ACEOF
6192  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6193  if { (eval echo "$as_me:6190: \"$ac_link\"") >&5  if { (eval echo "$as_me:6193: \"$ac_link\"") >&5
6194    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6195    ac_status=$?    ac_status=$?
6196    echo "$as_me:6193: \$? = $ac_status" >&5    echo "$as_me:6196: \$? = $ac_status" >&5
6197    (exit $ac_status); } &&    (exit $ac_status); } &&
6198           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6199    { (eval echo "$as_me:6196: \"$ac_try\"") >&5    { (eval echo "$as_me:6199: \"$ac_try\"") >&5
6200    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6201    ac_status=$?    ac_status=$?
6202    echo "$as_me:6199: \$? = $ac_status" >&5    echo "$as_me:6202: \$? = $ac_status" >&5
6203    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6204    xlinux_first_failure=no    xlinux_first_failure=no
6205  else  else
# Line 6215  rm -f conftest.$ac_objext conftest$ac_ex Line 6218  rm -f conftest.$ac_objext conftest$ac_ex
6218        CPPFLAGS="$CPPFLAGS -b i486-linuxaout"        CPPFLAGS="$CPPFLAGS -b i486-linuxaout"
6219        LIBS="$LIBS -b i486-linuxaout"        LIBS="$LIBS -b i486-linuxaout"
6220        cat >conftest.$ac_ext <<_ACEOF        cat >conftest.$ac_ext <<_ACEOF
6221  #line 6218 "configure"  #line 6221 "configure"
6222  #include "confdefs.h"  #include "confdefs.h"
6223    
6224  int  int
# Line 6227  XOpenDisplay ("foo"); Line 6230  XOpenDisplay ("foo");
6230  }  }
6231  _ACEOF  _ACEOF
6232  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6233  if { (eval echo "$as_me:6230: \"$ac_link\"") >&5  if { (eval echo "$as_me:6233: \"$ac_link\"") >&5
6234    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6235    ac_status=$?    ac_status=$?
6236    echo "$as_me:6233: \$? = $ac_status" >&5    echo "$as_me:6236: \$? = $ac_status" >&5
6237    (exit $ac_status); } &&    (exit $ac_status); } &&
6238           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6239    { (eval echo "$as_me:6236: \"$ac_try\"") >&5    { (eval echo "$as_me:6239: \"$ac_try\"") >&5
6240    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6241    ac_status=$?    ac_status=$?
6242    echo "$as_me:6239: \$? = $ac_status" >&5    echo "$as_me:6242: \$? = $ac_status" >&5
6243    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6244    xlinux_second_failure=no    xlinux_second_failure=no
6245  else  else
# Line 6252  rm -f conftest.$ac_objext conftest$ac_ex Line 6255  rm -f conftest.$ac_objext conftest$ac_ex
6255          C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE"          C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE"
6256          CPPFLAGS="$OLD_CPPFLAGS"          CPPFLAGS="$OLD_CPPFLAGS"
6257          LIBS="$OLD_LIBS"          LIBS="$OLD_LIBS"
6258          echo "$as_me:6255: result: no" >&5          echo "$as_me:6258: result: no" >&5
6259  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
6260        else        else
6261          echo "$as_me:6258: result: yes" >&5          echo "$as_me:6261: result: yes" >&5
6262  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
6263        fi        fi
6264      else      else
6265        echo "$as_me:6262: result: no" >&5        echo "$as_me:6265: result: no" >&5
6266  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
6267      fi      fi
6268    fi    fi
6269    
6270    # Reportedly, some broken Solaris systems have XKBlib.h but are missing    # Reportedly, some broken Solaris systems have XKBlib.h but are missing
6271    # header files included from there.    # header files included from there.
6272    echo "$as_me:6269: checking for Xkb" >&5    echo "$as_me:6272: checking for Xkb" >&5
6273  echo $ECHO_N "checking for Xkb... $ECHO_C" >&6  echo $ECHO_N "checking for Xkb... $ECHO_C" >&6
6274    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6275  #line 6272 "configure"  #line 6275 "configure"
6276  #include "confdefs.h"  #include "confdefs.h"
6277  #include <X11/Xlib.h>  #include <X11/Xlib.h>
6278  #include <X11/XKBlib.h>  #include <X11/XKBlib.h>
# Line 6282  XkbDescPtr kb = XkbGetKeyboard (0, XkbAl Line 6285  XkbDescPtr kb = XkbGetKeyboard (0, XkbAl
6285  }  }
6286  _ACEOF  _ACEOF
6287  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6288  if { (eval echo "$as_me:6285: \"$ac_link\"") >&5  if { (eval echo "$as_me:6288: \"$ac_link\"") >&5
6289    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6290    ac_status=$?    ac_status=$?
6291    echo "$as_me:6288: \$? = $ac_status" >&5    echo "$as_me:6291: \$? = $ac_status" >&5
6292    (exit $ac_status); } &&    (exit $ac_status); } &&
6293           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6294    { (eval echo "$as_me:6291: \"$ac_try\"") >&5    { (eval echo "$as_me:6294: \"$ac_try\"") >&5
6295    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6296    ac_status=$?    ac_status=$?
6297    echo "$as_me:6294: \$? = $ac_status" >&5    echo "$as_me:6297: \$? = $ac_status" >&5
6298    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6299    emacs_xkb=yes    emacs_xkb=yes
6300  else  else
# Line 6300  cat conftest.$ac_ext >&5 Line 6303  cat conftest.$ac_ext >&5
6303  emacs_xkb=no  emacs_xkb=no
6304  fi  fi
6305  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6306    echo "$as_me:6303: result: $emacs_xkb" >&5    echo "$as_me:6306: result: $emacs_xkb" >&5
6307  echo "${ECHO_T}$emacs_xkb" >&6  echo "${ECHO_T}$emacs_xkb" >&6
6308    if test $emacs_xkb = yes; then    if test $emacs_xkb = yes; then
6309      cat >>confdefs.h <<\EOF      cat >>confdefs.h <<\EOF
# Line 6313  for ac_func in XrmSetDatabase XScreenRes Line 6316  for ac_func in XrmSetDatabase XScreenRes
6316  XScreenNumberOfScreen XSetWMProtocols  XScreenNumberOfScreen XSetWMProtocols
6317  do  do
6318  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6319  echo "$as_me:6316: checking for $ac_func" >&5  echo "$as_me:6319: checking for $ac_func" >&5
6320  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6321  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
6322    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6323  else  else
6324    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6325  #line 6322 "configure"  #line 6325 "configure"
6326  #include "confdefs.h"  #include "confdefs.h"
6327  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6328      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 6350  f = $ac_func; Line 6353  f = $ac_func;
6353  }  }
6354  _ACEOF  _ACEOF
6355  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6356  if { (eval echo "$as_me:6353: \"$ac_link\"") >&5  if { (eval echo "$as_me:6356: \"$ac_link\"") >&5
6357    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6358    ac_status=$?    ac_status=$?
6359    echo "$as_me:6356: \$? = $ac_status" >&5    echo "$as_me:6359: \$? = $ac_status" >&5
6360    (exit $ac_status); } &&    (exit $ac_status); } &&
6361           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6362    { (eval echo "$as_me:6359: \"$ac_try\"") >&5    { (eval echo "$as_me:6362: \"$ac_try\"") >&5
6363    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6364    ac_status=$?    ac_status=$?
6365    echo "$as_me:6362: \$? = $ac_status" >&5    echo "$as_me:6365: \$? = $ac_status" >&5
6366    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6367    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
6368  else  else
# Line 6369  eval "$as_ac_var=no" Line 6372  eval "$as_ac_var=no"
6372  fi  fi
6373  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6374  fi  fi
6375  echo "$as_me:6372: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:6375: result: `eval echo '${'$as_ac_var'}'`" >&5
6376  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6377  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
6378    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 6382  done Line 6385  done
6385  fi  fi
6386    
6387  if test "${window_system}" = "x11"; then  if test "${window_system}" = "x11"; then
6388    echo "$as_me:6385: checking X11 version 6" >&5    echo "$as_me:6388: checking X11 version 6" >&5
6389  echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6  echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6
6390    if test "${emacs_cv_x11_version_6+set}" = set; then    if test "${emacs_cv_x11_version_6+set}" = set; then
6391    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6392  else  else
6393    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6394  #line 6391 "configure"  #line 6394 "configure"
6395  #include "confdefs.h"  #include "confdefs.h"
6396  #include <X11/Xlib.h>  #include <X11/Xlib.h>
6397  int  int
# Line 6403  fail; Line 6406  fail;
6406  }  }
6407  _ACEOF  _ACEOF
6408  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6409  if { (eval echo "$as_me:6406: \"$ac_link\"") >&5  if { (eval echo "$as_me:6409: \"$ac_link\"") >&5
6410    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6411    ac_status=$?    ac_status=$?
6412    echo "$as_me:6409: \$? = $ac_status" >&5    echo "$as_me:6412: \$? = $ac_status" >&5
6413    (exit $ac_status); } &&    (exit $ac_status); } &&
6414           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6415    { (eval echo "$as_me:6412: \"$ac_try\"") >&5    { (eval echo "$as_me:6415: \"$ac_try\"") >&5
6416    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6417    ac_status=$?    ac_status=$?
6418    echo "$as_me:6415: \$? = $ac_status" >&5    echo "$as_me:6418: \$? = $ac_status" >&5
6419    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6420    emacs_cv_x11_version_6=yes    emacs_cv_x11_version_6=yes
6421  else  else
# Line 6424  rm -f conftest.$ac_objext conftest$ac_ex Line 6427  rm -f conftest.$ac_objext conftest$ac_ex
6427  fi  fi
6428    
6429    if test $emacs_cv_x11_version_6 = yes; then    if test $emacs_cv_x11_version_6 = yes; then
6430      echo "$as_me:6427: result: 6 or newer" >&5      echo "$as_me:6430: result: 6 or newer" >&5
6431  echo "${ECHO_T}6 or newer" >&6  echo "${ECHO_T}6 or newer" >&6
6432      cat >>confdefs.h <<\EOF      cat >>confdefs.h <<\EOF
6433  #define HAVE_X11R6 1  #define HAVE_X11R6 1
6434  EOF  EOF
6435    
6436    else    else
6437      echo "$as_me:6434: result: before 6" >&5      echo "$as_me:6437: result: before 6" >&5
6438  echo "${ECHO_T}before 6" >&6  echo "${ECHO_T}before 6" >&6
6439    fi    fi
6440  fi  fi
6441    
6442  if test "${window_system}" = "x11"; then  if test "${window_system}" = "x11"; then
6443    echo "$as_me:6440: checking X11 version 5" >&5    echo "$as_me:6443: checking X11 version 5" >&5
6444  echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6  echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6
6445    if test "${emacs_cv_x11_version_5+set}" = set; then    if test "${emacs_cv_x11_version_5+set}" = set; then
6446    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6447  else  else
6448    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6449  #line 6446 "configure"  #line 6449 "configure"
6450  #include "confdefs.h"  #include "confdefs.h"
6451  #include <X11/Xlib.h>  #include <X11/Xlib.h>
6452  int  int
# Line 6458  fail; Line 6461  fail;
6461  }  }
6462  _ACEOF  _ACEOF
6463  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6464  if { (eval echo "$as_me:6461: \"$ac_link\"") >&5  if { (eval echo "$as_me:6464: \"$ac_link\"") >&5
6465    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6466    ac_status=$?    ac_status=$?
6467    echo "$as_me:6464: \$? = $ac_status" >&5    echo "$as_me:6467: \$? = $ac_status" >&5
6468    (exit $ac_status); } &&    (exit $ac_status); } &&
6469           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6470    { (eval echo "$as_me:6467: \"$ac_try\"") >&5    { (eval echo "$as_me:6470: \"$ac_try\"") >&5
6471    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6472    ac_status=$?    ac_status=$?
6473    echo "$as_me:6470: \$? = $ac_status" >&5    echo "$as_me:6473: \$? = $ac_status" >&5
6474    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6475    emacs_cv_x11_version_5=yes    emacs_cv_x11_version_5=yes
6476  else  else
# Line 6479  rm -f conftest.$ac_objext conftest$ac_ex Line 6482  rm -f conftest.$ac_objext conftest$ac_ex
6482  fi  fi
6483    
6484    if test $emacs_cv_x11_version_5 = yes; then    if test $emacs_cv_x11_version_5 = yes; then
6485      echo "$as_me:6482: result: 5 or newer" >&5      echo "$as_me:6485: result: 5 or newer" >&5
6486  echo "${ECHO_T}5 or newer" >&6  echo "${ECHO_T}5 or newer" >&6
6487      HAVE_X11R5=yes      HAVE_X11R5=yes
6488      cat >>confdefs.h <<\EOF      cat >>confdefs.h <<\EOF
# Line 6488  EOF Line 6491  EOF
6491    
6492    else    else
6493      HAVE_X11R5=no      HAVE_X11R5=no
6494      echo "$as_me:6491: result: before 5" >&5      echo "$as_me:6494: result: before 5" >&5
6495  echo "${ECHO_T}before 5" >&6  echo "${ECHO_T}before 5" >&6
6496    fi    fi
6497  fi  fi
6498    
6499  if test x"${USE_X_TOOLKIT}" = xmaybe; then  if test x"${USE_X_TOOLKIT}" = xmaybe; then
6500    if test x"${HAVE_X11R5}" = xyes; then    if test x"${HAVE_X11R5}" = xyes; then
6501      echo "$as_me:6498: checking X11 version 5 with Xaw" >&5      echo "$as_me:6501: checking X11 version 5 with Xaw" >&5
6502  echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6  echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6
6503      if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then      if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then
6504    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6505  else  else
6506    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6507  #line 6504 "configure"  #line 6507 "configure"
6508  #include "confdefs.h"  #include "confdefs.h"
6509    
6510  #include <X11/Intrinsic.h>  #include <X11/Intrinsic.h>
# Line 6515  main () Line 6518  main ()
6518  }  }
6519  _ACEOF  _ACEOF
6520  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6521  if { (eval echo "$as_me:6518: \"$ac_link\"") >&5  if { (eval echo "$as_me:6521: \"$ac_link\"") >&5
6522    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6523    ac_status=$?    ac_status=$?
6524    echo "$as_me:6521: \$? = $ac_status" >&5    echo "$as_me:6524: \$? = $ac_status" >&5
6525    (exit $ac_status); } &&    (exit $ac_status); } &&
6526           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6527    { (eval echo "$as_me:6524: \"$ac_try\"") >&5    { (eval echo "$as_me:6527: \"$ac_try\"") >&5
6528    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6529    ac_status=$?    ac_status=$?
6530    echo "$as_me:6527: \$? = $ac_status" >&5    echo "$as_me:6530: \$? = $ac_status" >&5
6531    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6532    emacs_cv_x11_version_5_with_xaw=yes    emacs_cv_x11_version_5_with_xaw=yes
6533  else  else
# Line 6536  rm -f conftest.$ac_objext conftest$ac_ex Line 6539  rm -f conftest.$ac_objext conftest$ac_ex
6539  fi  fi
6540    
6541      if test $emacs_cv_x11_version_5_with_xaw = yes; then      if test $emacs_cv_x11_version_5_with_xaw = yes; then
6542        echo "$as_me:6539: result: 5 or newer, with Xaw; use toolkit by default" >&5        echo "$as_me:6542: result: 5 or newer, with Xaw; use toolkit by default" >&5
6543  echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6  echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6
6544        USE_X_TOOLKIT=LUCID        USE_X_TOOLKIT=LUCID
6545      else      else
6546        echo "$as_me:6543: result: before 5 or no Xaw; do not use toolkit by default" >&5        echo "$as_me:6546: result: before 5 or no Xaw; do not use toolkit by default" >&5
6547  echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6  echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6
6548        USE_X_TOOLKIT=none        USE_X_TOOLKIT=none
6549      fi      fi
# Line 6552  fi Line 6555  fi
6555  X_TOOLKIT_TYPE=$USE_X_TOOLKIT  X_TOOLKIT_TYPE=$USE_X_TOOLKIT
6556    
6557  if test "${USE_X_TOOLKIT}" != "none"; then  if test "${USE_X_TOOLKIT}" != "none"; then
6558    echo "$as_me:6555: checking X11 toolkit version" >&5    echo "$as_me:6558: checking X11 toolkit version" >&5
6559  echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6  echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6
6560    if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then    if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then
6561    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6562  else  else
6563    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6564  #line 6561 "configure"  #line 6564 "configure"
6565  #include "confdefs.h"  #include "confdefs.h"
6566  #include <X11/Intrinsic.h>  #include <X11/Intrinsic.h>
6567  int  int
# Line 6573  fail; Line 6576  fail;
6576  }  }
6577  _ACEOF  _ACEOF
6578  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6579  if { (eval echo "$as_me:6576: \"$ac_link\"") >&5  if { (eval echo "$as_me:6579: \"$ac_link\"") >&5
6580    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6581    ac_status=$?    ac_status=$?
6582    echo "$as_me:6579: \$? = $ac_status" >&5    echo "$as_me:6582: \$? = $ac_status" >&5
6583    (exit $ac_status); } &&    (exit $ac_status); } &&
6584           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6585    { (eval echo "$as_me:6582: \"$ac_try\"") >&5    { (eval echo "$as_me:6585: \"$ac_try\"") >&5
6586    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6587    ac_status=$?    ac_status=$?
6588    echo "$as_me:6585: \$? = $ac_status" >&5    echo "$as_me:6588: \$? = $ac_status" >&5
6589    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6590    emacs_cv_x11_toolkit_version_6=yes    emacs_cv_x11_toolkit_version_6=yes
6591  else  else
# Line 6595  fi Line 6598  fi
6598    
6599    HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6    HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6
6600    if test $emacs_cv_x11_toolkit_version_6 = yes; then    if test $emacs_cv_x11_toolkit_version_6 = yes; then
6601      echo "$as_me:6598: result: 6 or newer" >&5      echo "$as_me:6601: result: 6 or newer" >&5
6602  echo "${ECHO_T}6 or newer" >&6  echo "${ECHO_T}6 or newer" >&6
6603      cat >>confdefs.h <<\EOF      cat >>confdefs.h <<\EOF
6604  #define HAVE_X11XTR6 1  #define HAVE_X11XTR6 1
6605  EOF  EOF
6606    
6607    else    else
6608      echo "$as_me:6605: result: before 6" >&5      echo "$as_me:6608: result: before 6" >&5
6609  echo "${ECHO_T}before 6" >&6  echo "${ECHO_T}before 6" >&6
6610    fi    fi
6611    
# Line 6613  echo "${ECHO_T}before 6" >&6 Line 6616  echo "${ECHO_T}before 6" >&6
6616      LIBS="-lXt $LIBS"      LIBS="-lXt $LIBS"
6617    fi    fi
6618    
6619  echo "$as_me:6616: checking for XmuConvertStandardSelection in -lXmu" >&5  echo "$as_me:6619: checking for XmuConvertStandardSelection in -lXmu" >&5
6620  echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6  echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6
6621  if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then  if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then
6622    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6621  else Line 6624  else
6624    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
6625  LIBS="-lXmu  $LIBS"  LIBS="-lXmu  $LIBS"
6626  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
6627  #line 6624 "configure"  #line 6627 "configure"
6628  #include "confdefs.h"  #include "confdefs.h"
6629    
6630  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 6640  XmuConvertStandardSelection (); Line 6643  XmuConvertStandardSelection ();
6643  }  }
6644  _ACEOF  _ACEOF
6645  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6646  if { (eval echo "$as_me:6643: \"$ac_link\"") >&5  if { (eval echo "$as_me:6646: \"$ac_link\"") >&5
6647    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6648    ac_status=$?    ac_status=$?
6649    echo "$as_me:6646: \$? = $ac_status" >&5    echo "$as_me:6649: \$? = $ac_status" >&5
6650    (exit $ac_status); } &&    (exit $ac_status); } &&
6651           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6652    { (eval echo "$as_me:6649: \"$ac_try\"") >&5    { (eval echo "$as_me:6652: \"$ac_try\"") >&5
6653    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6654    ac_status=$?    ac_status=$?
6655    echo "$as_me:6652: \$? = $ac_status" >&5    echo "$as_me:6655: \$? = $ac_status" >&5
6656    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6657    ac_cv_lib_Xmu_XmuConvertStandardSelection=yes    ac_cv_lib_Xmu_XmuConvertStandardSelection=yes
6658  else  else
# Line 6660  fi Line 6663  fi
6663  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6664  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
6665  fi  fi
6666  echo "$as_me:6663: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5  echo "$as_me:6666: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5
6667  echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6  echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6
6668  if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then  if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then
6669    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 6678  fi Line 6681  fi
6681  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
6682    if test "${USE_X_TOOLKIT}" != "none"; then    if test "${USE_X_TOOLKIT}" != "none"; then
6683    
6684  echo "$as_me:6681: checking for XShapeQueryExtension in -lXext" >&5  echo "$as_me:6684: checking for XShapeQueryExtension in -lXext" >&5
6685  echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6  echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
6686  if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then  if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
6687    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6686  else Line 6689  else
6689    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
6690  LIBS="-lXext  $LIBS"  LIBS="-lXext  $LIBS"
6691  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
6692  #line 6689 "configure"  #line 6692 "configure"
6693  #include "confdefs.h"  #include "confdefs.h"
6694    
6695  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 6705  XShapeQueryExtension (); Line 6708  XShapeQueryExtension ();
6708  }  }
6709  _ACEOF  _ACEOF
6710  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6711  if { (eval echo "$as_me:6708: \"$ac_link\"") >&5  if { (eval echo "$as_me:6711: \"$ac_link\"") >&5
6712    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6713    ac_status=$?    ac_status=$?
6714    echo "$as_me:6711: \$? = $ac_status" >&5    echo "$as_me:6714: \$? = $ac_status" >&5
6715    (exit $ac_status); } &&    (exit $ac_status); } &&
6716           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6717    { (eval echo "$as_me:6714: \"$ac_try\"") >&5    { (eval echo "$as_me:6717: \"$ac_try\"") >&5
6718    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6719    ac_status=$?    ac_status=$?
6720    echo "$as_me:6717: \$? = $ac_status" >&5    echo "$as_me:6720: \$? = $ac_status" >&5
6721    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6722    ac_cv_lib_Xext_XShapeQueryExtension=yes    ac_cv_lib_Xext_XShapeQueryExtension=yes
6723  else  else
# Line 6725  fi Line 6728  fi
6728  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6729  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
6730  fi  fi
6731  echo "$as_me:6728: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5  echo "$as_me:6731: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
6732  echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6  echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
6733  if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then  if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
6734    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 6740  fi Line 6743  fi
6743  fi  fi
6744    
6745  if test "${USE_X_TOOLKIT}" = "MOTIF"; then  if test "${USE_X_TOOLKIT}" = "MOTIF"; then
6746    echo "$as_me:6743: checking for Motif version 2.1" >&5    echo "$as_me:6746: checking for Motif version 2.1" >&5
6747  echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6  echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6
6748  if test "${emacs_cv_motif_version_2_1+set}" = set; then  if test "${emacs_cv_motif_version_2_1+set}" = set; then
6749    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6750  else  else
6751    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6752  #line 6749 "configure"  #line 6752 "configure"
6753  #include "confdefs.h"  #include "confdefs.h"
6754  #include <Xm/Xm.h>  #include <Xm/Xm.h>
6755  int  int
# Line 6762  Motif version prior to 2.1. Line 6765  Motif version prior to 2.1.
6765  }  }
6766  _ACEOF  _ACEOF
6767  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
6768  if { (eval echo "$as_me:6765: \"$ac_compile\"") >&5  if { (eval echo "$as_me:6768: \"$ac_compile\"") >&5
6769    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
6770    ac_status=$?    ac_status=$?
6771    echo "$as_me:6768: \$? = $ac_status" >&5    echo "$as_me:6771: \$? = $ac_status" >&5
6772    (exit $ac_status); } &&    (exit $ac_status); } &&
6773           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
6774    { (eval echo "$as_me:6771: \"$ac_try\"") >&5    { (eval echo "$as_me:6774: \"$ac_try\"") >&5
6775    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6776    ac_status=$?    ac_status=$?
6777    echo "$as_me:6774: \$? = $ac_status" >&5    echo "$as_me:6777: \$? = $ac_status" >&5
6778    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6779    emacs_cv_motif_version_2_1=yes    emacs_cv_motif_version_2_1=yes
6780  else  else
# Line 6781  emacs_cv_motif_version_2_1=no Line 6784  emacs_cv_motif_version_2_1=no
6784  fi  fi
6785  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
6786  fi  fi
6787  echo "$as_me:6784: result: $emacs_cv_motif_version_2_1" >&5  echo "$as_me:6787: result: $emacs_cv_motif_version_2_1" >&5
6788  echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6  echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6
6789    HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1    HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1
6790    if test $emacs_cv_motif_version_2_1 = yes; then    if test $emacs_cv_motif_version_2_1 = yes; then
# Line 6790  echo "${ECHO_T}$emacs_cv_motif_version_2 Line 6793  echo "${ECHO_T}$emacs_cv_motif_version_2
6793  #define HAVE_MOTIF_2_1 1  #define HAVE_MOTIF_2_1 1
6794  EOF  EOF
6795    
6796      echo "$as_me:6793: checking for XpCreateContext in -lXp" >&5      echo "$as_me:6796: checking for XpCreateContext in -lXp" >&5
6797  echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6  echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6
6798  if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then  if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then
6799    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6798  else Line 6801  else
6801    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
6802  LIBS="-lXp  $LIBS"  LIBS="-lXp  $LIBS"
6803  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
6804  #line 6801 "configure"  #line 6804 "configure"
6805  #include "confdefs.h"  #include "confdefs.h"
6806    
6807  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 6817  XpCreateContext (); Line 6820  XpCreateContext ();
6820  }  }
6821  _ACEOF  _ACEOF
6822  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6823  if { (eval echo "$as_me:6820: \"$ac_link\"") >&5  if { (eval echo "$as_me:6823: \"$ac_link\"") >&5
6824    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6825    ac_status=$?    ac_status=$?
6826    echo "$as_me:6823: \$? = $ac_status" >&5    echo "$as_me:6826: \$? = $ac_status" >&5
6827    (exit $ac_status); } &&    (exit $ac_status); } &&
6828           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6829    { (eval echo "$as_me:6826: \"$ac_try\"") >&5    { (eval echo "$as_me:6829: \"$ac_try\"") >&5
6830    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6831    ac_status=$?    ac_status=$?
6832    echo "$as_me:6829: \$? = $ac_status" >&5    echo "$as_me:6832: \$? = $ac_status" >&5
6833    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6834    ac_cv_lib_Xp_XpCreateContext=yes    ac_cv_lib_Xp_XpCreateContext=yes
6835  else  else
# Line 6837  fi Line 6840  fi
6840  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6841  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
6842  fi  fi
6843  echo "$as_me:6840: result: $ac_cv_lib_Xp_XpCreateContext" >&5  echo "$as_me:6843: result: $ac_cv_lib_Xp_XpCreateContext" >&5
6844  echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6  echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6
6845  if test $ac_cv_lib_Xp_XpCreateContext = yes; then  if test $ac_cv_lib_Xp_XpCreateContext = yes; then
6846    HAVE_LIBXP=yes    HAVE_LIBXP=yes
# Line 6856  fi Line 6859  fi
6859  HAVE_XAW3D=no  HAVE_XAW3D=no
6860  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
6861    if test "${USE_X_TOOLKIT}" != "none"; then    if test "${USE_X_TOOLKIT}" != "none"; then
6862      echo "$as_me:6859: checking for X11/Xaw3d/Scrollbar.h" >&5      echo "$as_me:6862: checking for X11/Xaw3d/Scrollbar.h" >&5
6863  echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6  echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6
6864  if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then  if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then
6865    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6866  else  else
6867    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6868  #line 6865 "configure"  #line 6868 "configure"
6869  #include "confdefs.h"  #include "confdefs.h"
6870  #include <X11/Xaw3d/Scrollbar.h>  #include <X11/Xaw3d/Scrollbar.h>
6871  _ACEOF  _ACEOF
6872  if { (eval echo "$as_me:6869: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:6872: \"$ac_cpp conftest.$ac_ext\"") >&5
6873    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6874    ac_status=$?    ac_status=$?
6875    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
6876    rm -f conftest.er1    rm -f conftest.er1
6877    cat conftest.err >&5    cat conftest.err >&5
6878    echo "$as_me:6875: \$? = $ac_status" >&5    echo "$as_me:6878: \$? = $ac_status" >&5
6879    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
6880    if test -s conftest.err; then    if test -s conftest.err; then
6881      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 6891  else Line 6894  else
6894  fi  fi
6895  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
6896  fi  fi
6897  echo "$as_me:6894: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5  echo "$as_me:6897: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5
6898  echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6  echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6
6899  if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then  if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then
6900    echo "$as_me:6897: checking for XawScrollbarSetThumb in -lXaw3d" >&5    echo "$as_me:6900: checking for XawScrollbarSetThumb in -lXaw3d" >&5
6901  echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6  echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6
6902  if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then  if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then
6903    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6902  else Line 6905  else
6905    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
6906  LIBS="-lXaw3d  $LIBS"  LIBS="-lXaw3d  $LIBS"
6907  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
6908  #line 6905 "configure"  #line 6908 "configure"
6909  #include "confdefs.h"  #include "confdefs.h"
6910    
6911  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 6921  XawScrollbarSetThumb (); Line 6924  XawScrollbarSetThumb ();
6924  }  }
6925  _ACEOF  _ACEOF
6926  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6927  if { (eval echo "$as_me:6924: \"$ac_link\"") >&5  if { (eval echo "$as_me:6927: \"$ac_link\"") >&5
6928    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6929    ac_status=$?    ac_status=$?
6930    echo "$as_me:6927: \$? = $ac_status" >&5    echo "$as_me:6930: \$? = $ac_status" >&5
6931    (exit $ac_status); } &&    (exit $ac_status); } &&
6932           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6933    { (eval echo "$as_me:6930: \"$ac_try\"") >&5    { (eval echo "$as_me:6933: \"$ac_try\"") >&5
6934    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6935    ac_status=$?    ac_status=$?
6936    echo "$as_me:6933: \$? = $ac_status" >&5    echo "$as_me:6936: \$? = $ac_status" >&5
6937    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6938    ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes    ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes
6939  else  else
# Line 6941  fi Line 6944  fi
6944  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6945  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
6946  fi  fi
6947  echo "$as_me:6944: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5  echo "$as_me:6947: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5
6948  echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6  echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6
6949  if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then  if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then
6950    HAVE_XAW3D=yes    HAVE_XAW3D=yes
# Line 6989  fi Line 6992  fi
6992  HAVE_XPM=no  HAVE_XPM=no
6993  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
6994    if test "${with_xpm}" != "no"; then    if test "${with_xpm}" != "no"; then
6995      echo "$as_me:6992: checking for X11/xpm.h" >&5      echo "$as_me:6995: checking for X11/xpm.h" >&5
6996  echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6  echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
6997  if test "${ac_cv_header_X11_xpm_h+set}" = set; then  if test "${ac_cv_header_X11_xpm_h+set}" = set; then
6998    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6999  else  else
7000    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7001  #line 6998 "configure"  #line 7001 "configure"
7002  #include "confdefs.h"  #include "confdefs.h"
7003  #include <X11/xpm.h>  #include <X11/xpm.h>
7004  _ACEOF  _ACEOF
7005  if { (eval echo "$as_me:7002: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:7005: \"$ac_cpp conftest.$ac_ext\"") >&5
7006    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7007    ac_status=$?    ac_status=$?
7008    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
7009    rm -f conftest.er1    rm -f conftest.er1
7010    cat conftest.err >&5    cat conftest.err >&5
7011    echo "$as_me:7008: \$? = $ac_status" >&5    echo "$as_me:7011: \$? = $ac_status" >&5
7012    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
7013    if test -s conftest.err; then    if test -s conftest.err; then
7014      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 7024  else Line 7027  else
7027  fi  fi
7028  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
7029  fi  fi
7030  echo "$as_me:7027: result: $ac_cv_header_X11_xpm_h" >&5  echo "$as_me:7030: result: $ac_cv_header_X11_xpm_h" >&5
7031  echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6  echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6
7032  if test $ac_cv_header_X11_xpm_h = yes; then  if test $ac_cv_header_X11_xpm_h = yes; then
7033    echo "$as_me:7030: checking for XpmReadFileToPixmap in -lXpm" >&5    echo "$as_me:7033: checking for XpmReadFileToPixmap in -lXpm" >&5
7034  echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6  echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6
7035  if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then  if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then
7036    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7035  else Line 7038  else
7038    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7039  LIBS="-lXpm -lX11 $LIBS"  LIBS="-lXpm -lX11 $LIBS"
7040  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7041  #line 7038 "configure"  #line 7041 "configure"
7042  #include "confdefs.h"  #include "confdefs.h"
7043    
7044  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 7054  XpmReadFileToPixmap (); Line 7057  XpmReadFileToPixmap ();
7057  }  }
7058  _ACEOF  _ACEOF
7059  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7060  if { (eval echo "$as_me:7057: \"$ac_link\"") >&5  if { (eval echo "$as_me:7060: \"$ac_link\"") >&5
7061    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7062    ac_status=$?    ac_status=$?
7063    echo "$as_me:7060: \$? = $ac_status" >&5    echo "$as_me:7063: \$? = $ac_status" >&5
7064    (exit $ac_status); } &&    (exit $ac_status); } &&
7065           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7066    { (eval echo "$as_me:7063: \"$ac_try\"") >&5    { (eval echo "$as_me:7066: \"$ac_try\"") >&5
7067    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7068    ac_status=$?    ac_status=$?
7069    echo "$as_me:7066: \$? = $ac_status" >&5    echo "$as_me:7069: \$? = $ac_status" >&5
7070    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7071    ac_cv_lib_Xpm_XpmReadFileToPixmap=yes    ac_cv_lib_Xpm_XpmReadFileToPixmap=yes
7072  else  else
# Line 7074  fi Line 7077  fi
7077  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7078  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7079  fi  fi
7080  echo "$as_me:7077: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5  echo "$as_me:7080: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
7081  echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6  echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6
7082  if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then  if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then
7083    HAVE_XPM=yes    HAVE_XPM=yes
# Line 7083  fi Line 7086  fi
7086  fi  fi
7087    
7088      if test "${HAVE_XPM}" = "yes"; then      if test "${HAVE_XPM}" = "yes"; then
7089        echo "$as_me:7086: checking for XpmReturnAllocPixels preprocessor define" >&5        echo "$as_me:7089: checking for XpmReturnAllocPixels preprocessor define" >&5
7090  echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6  echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6
7091        cat >conftest.$ac_ext <<_ACEOF        cat >conftest.$ac_ext <<_ACEOF
7092  #line 7089 "configure"  #line 7092 "configure"
7093  #include "confdefs.h"  #include "confdefs.h"
7094  #include "X11/xpm.h"  #include "X11/xpm.h"
7095  #ifndef XpmReturnAllocPixels  #ifndef XpmReturnAllocPixels
# Line 7103  fi Line 7106  fi
7106  rm -f conftest*  rm -f conftest*
7107    
7108        if test "${HAVE_XPM}" = "yes"; then        if test "${HAVE_XPM}" = "yes"; then
7109          echo "$as_me:7106: result: yes" >&5          echo "$as_me:7109: result: yes" >&5
7110  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
7111        else        else
7112          echo "$as_me:7109: result: no" >&5          echo "$as_me:7112: result: no" >&5
7113  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
7114        fi        fi
7115      fi      fi
# Line 7124  fi Line 7127  fi
7127  HAVE_JPEG=no  HAVE_JPEG=no
7128  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
7129    if test "${with_jpeg}" != "no"; then    if test "${with_jpeg}" != "no"; then
7130              echo "$as_me:7127: checking for jerror.h" >&5              echo "$as_me:7130: checking for jerror.h" >&5
7131  echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6  echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6
7132  if test "${ac_cv_header_jerror_h+set}" = set; then  if test "${ac_cv_header_jerror_h+set}" = set; then
7133    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7134  else  else
7135    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7136  #line 7133 "configure"  #line 7136 "configure"
7137  #include "confdefs.h"  #include "confdefs.h"
7138  #include <jerror.h>  #include <jerror.h>
7139  _ACEOF  _ACEOF
7140  if { (eval echo "$as_me:7137: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:7140: \"$ac_cpp conftest.$ac_ext\"") >&5
7141    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7142    ac_status=$?    ac_status=$?
7143    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
7144    rm -f conftest.er1    rm -f conftest.er1
7145    cat conftest.err >&5    cat conftest.err >&5
7146    echo "$as_me:7143: \$? = $ac_status" >&5    echo "$as_me:7146: \$? = $ac_status" >&5
7147    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
7148    if test -s conftest.err; then    if test -s conftest.err; then
7149      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 7159  else Line 7162  else
7162  fi  fi
7163  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
7164  fi  fi
7165  echo "$as_me:7162: result: $ac_cv_header_jerror_h" >&5  echo "$as_me:7165: result: $ac_cv_header_jerror_h" >&5
7166  echo "${ECHO_T}$ac_cv_header_jerror_h" >&6  echo "${ECHO_T}$ac_cv_header_jerror_h" >&6
7167  if test $ac_cv_header_jerror_h = yes; then  if test $ac_cv_header_jerror_h = yes; then
7168    echo "$as_me:7165: checking for jpeg_destroy_compress in -ljpeg" >&5    echo "$as_me:7168: checking for jpeg_destroy_compress in -ljpeg" >&5
7169  echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6  echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6
7170  if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then  if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then
7171    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7170  else Line 7173  else
7173    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7174  LIBS="-ljpeg  $LIBS"  LIBS="-ljpeg  $LIBS"
7175  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7176  #line 7173 "configure"  #line 7176 "configure"
7177  #include "confdefs.h"  #include "confdefs.h"
7178    
7179  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 7189  jpeg_destroy_compress (); Line 7192  jpeg_destroy_compress ();
7192  }  }
7193  _ACEOF  _ACEOF
7194  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7195  if { (eval echo "$as_me:7192: \"$ac_link\"") >&5  if { (eval echo "$as_me:7195: \"$ac_link\"") >&5
7196    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7197    ac_status=$?    ac_status=$?
7198    echo "$as_me:7195: \$? = $ac_status" >&5    echo "$as_me:7198: \$? = $ac_status" >&5
7199    (exit $ac_status); } &&    (exit $ac_status); } &&
7200           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7201    { (eval echo "$as_me:7198: \"$ac_try\"") >&5    { (eval echo "$as_me:7201: \"$ac_try\"") >&5
7202    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7203    ac_status=$?    ac_status=$?
7204    echo "$as_me:7201: \$? = $ac_status" >&5    echo "$as_me:7204: \$? = $ac_status" >&5
7205    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7206    ac_cv_lib_jpeg_jpeg_destroy_compress=yes    ac_cv_lib_jpeg_jpeg_destroy_compress=yes
7207  else  else
# Line 7209  fi Line 7212  fi
7212  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7213  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7214  fi  fi
7215  echo "$as_me:7212: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5  echo "$as_me:7215: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5
7216  echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6  echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6
7217  if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then  if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then
7218    HAVE_JPEG=yes    HAVE_JPEG=yes
# Line 7225  fi Line 7228  fi
7228  EOF  EOF
7229    
7230      cat >conftest.$ac_ext <<_ACEOF      cat >conftest.$ac_ext <<_ACEOF
7231  #line 7228 "configure"  #line 7231 "configure"
7232  #include "confdefs.h"  #include "confdefs.h"
7233          #include <jpeglib.h>          #include <jpeglib.h>
7234           version=JPEG_LIB_VERSION           version=JPEG_LIB_VERSION
# Line 7238  if (eval "$ac_cpp conftest.$ac_ext") 2>& Line 7241  if (eval "$ac_cpp conftest.$ac_ext") 2>&
7241  EOF  EOF
7242    
7243  else  else
7244    { echo "$as_me:7241: WARNING: libjpeg found, but not version 6b or later" >&5    { echo "$as_me:7244: WARNING: libjpeg found, but not version 6b or later" >&5
7245  echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;}  echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;}
7246          HAVE_JPEG=no          HAVE_JPEG=no
7247  fi  fi
# Line 7251  fi Line 7254  fi
7254  HAVE_PNG=no  HAVE_PNG=no
7255  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
7256    if test "${with_png}" != "no"; then    if test "${with_png}" != "no"; then
7257      echo "$as_me:7254: checking for png.h" >&5      echo "$as_me:7257: checking for png.h" >&5
7258  echo $ECHO_N "checking for png.h... $ECHO_C" >&6  echo $ECHO_N "checking for png.h... $ECHO_C" >&6
7259  if test "${ac_cv_header_png_h+set}" = set; then  if test "${ac_cv_header_png_h+set}" = set; then
7260    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7261  else  else
7262    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7263  #line 7260 "configure"  #line 7263 "configure"
7264  #include "confdefs.h"  #include "confdefs.h"
7265  #include <png.h>  #include <png.h>
7266  _ACEOF  _ACEOF
7267  if { (eval echo "$as_me:7264: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:7267: \"$ac_cpp conftest.$ac_ext\"") >&5
7268    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7269    ac_status=$?    ac_status=$?
7270    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
7271    rm -f conftest.er1    rm -f conftest.er1
7272    cat conftest.err >&5    cat conftest.err >&5
7273    echo "$as_me:7270: \$? = $ac_status" >&5    echo "$as_me:7273: \$? = $ac_status" >&5
7274    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
7275    if test -s conftest.err; then    if test -s conftest.err; then
7276      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 7286  else Line 7289  else
7289  fi  fi
7290  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
7291  fi  fi
7292  echo "$as_me:7289: result: $ac_cv_header_png_h" >&5  echo "$as_me:7292: result: $ac_cv_header_png_h" >&5
7293  echo "${ECHO_T}$ac_cv_header_png_h" >&6  echo "${ECHO_T}$ac_cv_header_png_h" >&6
7294  if test $ac_cv_header_png_h = yes; then  if test $ac_cv_header_png_h = yes; then
7295    echo "$as_me:7292: checking for png_get_channels in -lpng" >&5    echo "$as_me:7295: checking for png_get_channels in -lpng" >&5
7296  echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6  echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6
7297  if test "${ac_cv_lib_png_png_get_channels+set}" = set; then  if test "${ac_cv_lib_png_png_get_channels+set}" = set; then
7298    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7297  else Line 7300  else
7300    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7301  LIBS="-lpng -lz -lm $LIBS"  LIBS="-lpng -lz -lm $LIBS"
7302  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7303  #line 7300 "configure"  #line 7303 "configure"
7304  #include "confdefs.h"  #include "confdefs.h"
7305    
7306  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 7316  png_get_channels (); Line 7319  png_get_channels ();
7319  }  }
7320  _ACEOF  _ACEOF
7321  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7322  if { (eval echo "$as_me:7319: \"$ac_link\"") >&5  if { (eval echo "$as_me:7322: \"$ac_link\"") >&5
7323    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7324    ac_status=$?    ac_status=$?
7325    echo "$as_me:7322: \$? = $ac_status" >&5    echo "$as_me:7325: \$? = $ac_status" >&5
7326    (exit $ac_status); } &&    (exit $ac_status); } &&
7327           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7328    { (eval echo "$as_me:7325: \"$ac_try\"") >&5    { (eval echo "$as_me:7328: \"$ac_try\"") >&5
7329    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7330    ac_status=$?    ac_status=$?
7331    echo "$as_me:7328: \$? = $ac_status" >&5    echo "$as_me:7331: \$? = $ac_status" >&5
7332    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7333    ac_cv_lib_png_png_get_channels=yes    ac_cv_lib_png_png_get_channels=yes
7334  else  else
# Line 7336  fi Line 7339  fi
7339  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7340  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7341  fi  fi
7342  echo "$as_me:7339: result: $ac_cv_lib_png_png_get_channels" >&5  echo "$as_me:7342: result: $ac_cv_lib_png_png_get_channels" >&5
7343  echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6  echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6
7344  if test $ac_cv_lib_png_png_get_channels = yes; then  if test $ac_cv_lib_png_png_get_channels = yes; then
7345    HAVE_PNG=yes    HAVE_PNG=yes
# Line 7358  fi Line 7361  fi
7361  HAVE_TIFF=no  HAVE_TIFF=no
7362  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
7363    if test "${with_tiff}" != "no"; then    if test "${with_tiff}" != "no"; then
7364      echo "$as_me:7361: checking for tiffio.h" >&5      echo "$as_me:7364: checking for tiffio.h" >&5
7365  echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6  echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
7366  if test "${ac_cv_header_tiffio_h+set}" = set; then  if test "${ac_cv_header_tiffio_h+set}" = set; then
7367    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7368  else  else
7369    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7370  #line 7367 "configure"  #line 7370 "configure"
7371  #include "confdefs.h"  #include "confdefs.h"
7372  #include <tiffio.h>  #include <tiffio.h>
7373  _ACEOF  _ACEOF
7374  if { (eval echo "$as_me:7371: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:7374: \"$ac_cpp conftest.$ac_ext\"") >&5
7375    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7376    ac_status=$?    ac_status=$?
7377    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
7378    rm -f conftest.er1    rm -f conftest.er1
7379    cat conftest.err >&5    cat conftest.err >&5
7380    echo "$as_me:7377: \$? = $ac_status" >&5    echo "$as_me:7380: \$? = $ac_status" >&5
7381    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
7382    if test -s conftest.err; then    if test -s conftest.err; then
7383      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 7393  else Line 7396  else
7396  fi  fi
7397  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
7398  fi  fi
7399  echo "$as_me:7396: result: $ac_cv_header_tiffio_h" >&5  echo "$as_me:7399: result: $ac_cv_header_tiffio_h" >&5
7400  echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6  echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
7401  if test $ac_cv_header_tiffio_h = yes; then  if test $ac_cv_header_tiffio_h = yes; then
7402    tifflibs="-lz -lm"    tifflibs="-lz -lm"
7403        # At least one tiff package requires the jpeg library.        # At least one tiff package requires the jpeg library.
7404        if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi        if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
7405        echo "$as_me:7402: checking for TIFFGetVersion in -ltiff" >&5        echo "$as_me:7405: checking for TIFFGetVersion in -ltiff" >&5
7406  echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6  echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6
7407  if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then  if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then
7408    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7407  else Line 7410  else
7410    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7411  LIBS="-ltiff $tifflibs $LIBS"  LIBS="-ltiff $tifflibs $LIBS"
7412  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7413  #line 7410 "configure"  #line 7413 "configure"
7414  #include "confdefs.h"  #include "confdefs.h"
7415    
7416  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 7426  TIFFGetVersion (); Line 7429  TIFFGetVersion ();
7429  }  }
7430  _ACEOF  _ACEOF
7431  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7432  if { (eval echo "$as_me:7429: \"$ac_link\"") >&5  if { (eval echo "$as_me:7432: \"$ac_link\"") >&5
7433    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7434    ac_status=$?    ac_status=$?
7435    echo "$as_me:7432: \$? = $ac_status" >&5    echo "$as_me:7435: \$? = $ac_status" >&5
7436    (exit $ac_status); } &&    (exit $ac_status); } &&
7437           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7438    { (eval echo "$as_me:7435: \"$ac_try\"") >&5    { (eval echo "$as_me:7438: \"$ac_try\"") >&5
7439    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7440    ac_status=$?    ac_status=$?
7441    echo "$as_me:7438: \$? = $ac_status" >&5    echo "$as_me:7441: \$? = $ac_status" >&5
7442    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7443    ac_cv_lib_tiff_TIFFGetVersion=yes    ac_cv_lib_tiff_TIFFGetVersion=yes
7444  else  else
# Line 7446  fi Line 7449  fi
7449  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7450  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7451  fi  fi
7452  echo "$as_me:7449: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5  echo "$as_me:7452: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5
7453  echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6  echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6
7454  if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then  if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then
7455    HAVE_TIFF=yes    HAVE_TIFF=yes
# Line 7468  fi Line 7471  fi
7471  HAVE_GIF=no  HAVE_GIF=no
7472  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
7473    if test "${with_gif}" != "no"; then    if test "${with_gif}" != "no"; then
7474      echo "$as_me:7471: checking for gif_lib.h" >&5      echo "$as_me:7474: checking for gif_lib.h" >&5
7475  echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6  echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6
7476  if test "${ac_cv_header_gif_lib_h+set}" = set; then  if test "${ac_cv_header_gif_lib_h+set}" = set; then
7477    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7478  else  else
7479    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7480  #line 7477 "configure"  #line 7480 "configure"
7481  #include "confdefs.h"  #include "confdefs.h"
7482  #include <gif_lib.h>  #include <gif_lib.h>
7483  _ACEOF  _ACEOF
7484  if { (eval echo "$as_me:7481: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:7484: \"$ac_cpp conftest.$ac_ext\"") >&5
7485    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7486    ac_status=$?    ac_status=$?
7487    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
7488    rm -f conftest.er1    rm -f conftest.er1
7489    cat conftest.err >&5    cat conftest.err >&5
7490    echo "$as_me:7487: \$? = $ac_status" >&5    echo "$as_me:7490: \$? = $ac_status" >&5
7491    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
7492    if test -s conftest.err; then    if test -s conftest.err; then
7493      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 7503  else Line 7506  else
7506  fi  fi
7507  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
7508  fi  fi
7509  echo "$as_me:7506: result: $ac_cv_header_gif_lib_h" >&5  echo "$as_me:7509: result: $ac_cv_header_gif_lib_h" >&5
7510  echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6  echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6
7511  if test $ac_cv_header_gif_lib_h = yes; then  if test $ac_cv_header_gif_lib_h = yes; then
7512    # EGifPutExtensionLast only exists from version libungif-4.1.0b1.    # EGifPutExtensionLast only exists from version libungif-4.1.0b1.
7513  # Earlier versions can crash Emacs.  # Earlier versions can crash Emacs.
7514        echo "$as_me:7511: checking for EGifPutExtensionLast in -lungif" >&5        echo "$as_me:7514: checking for EGifPutExtensionLast in -lungif" >&5
7515  echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6  echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6
7516  if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then  if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then
7517    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7516  else Line 7519  else
7519    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7520  LIBS="-lungif  $LIBS"  LIBS="-lungif  $LIBS"
7521  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7522  #line 7519 "configure"  #line 7522 "configure"
7523  #include "confdefs.h"  #include "confdefs.h"
7524    
7525  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 7535  EGifPutExtensionLast (); Line 7538  EGifPutExtensionLast ();
7538  }  }
7539  _ACEOF  _ACEOF
7540  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7541  if { (eval echo "$as_me:7538: \"$ac_link\"") >&5  if { (eval echo "$as_me:7541: \"$ac_link\"") >&5
7542    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7543    ac_status=$?    ac_status=$?
7544    echo "$as_me:7541: \$? = $ac_status" >&5    echo "$as_me:7544: \$? = $ac_status" >&5
7545    (exit $ac_status); } &&    (exit $ac_status); } &&
7546           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7547    { (eval echo "$as_me:7544: \"$ac_try\"") >&5    { (eval echo "$as_me:7547: \"$ac_try\"") >&5
7548    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7549    ac_status=$?    ac_status=$?
7550    echo "$as_me:7547: \$? = $ac_status" >&5    echo "$as_me:7550: \$? = $ac_status" >&5
7551    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7552    ac_cv_lib_ungif_EGifPutExtensionLast=yes    ac_cv_lib_ungif_EGifPutExtensionLast=yes
7553  else  else
# Line 7555  fi Line 7558  fi
7558  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7559  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7560  fi  fi
7561  echo "$as_me:7558: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5  echo "$as_me:7561: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5
7562  echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6  echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6
7563  if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then  if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then
7564    HAVE_GIF=yes    HAVE_GIF=yes
# Line 7576  fi Line 7579  fi
7579  ### Use session management (-lSM -lICE) if available  ### Use session management (-lSM -lICE) if available
7580  HAVE_X_SM=no  HAVE_X_SM=no
7581  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
7582    echo "$as_me:7579: checking for X11/SM/SMlib.h" >&5    echo "$as_me:7582: checking for X11/SM/SMlib.h" >&5
7583  echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6  echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6
7584  if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then  if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
7585    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7586  else  else
7587    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7588  #line 7585 "configure"  #line 7588 "configure"
7589  #include "confdefs.h"  #include "confdefs.h"
7590  #include <X11/SM/SMlib.h>  #include <X11/SM/SMlib.h>
7591  _ACEOF  _ACEOF
7592  if { (eval echo "$as_me:7589: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:7592: \"$ac_cpp conftest.$ac_ext\"") >&5
7593    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7594    ac_status=$?    ac_status=$?
7595    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
7596    rm -f conftest.er1    rm -f conftest.er1
7597    cat conftest.err >&5    cat conftest.err >&5
7598    echo "$as_me:7595: \$? = $ac_status" >&5    echo "$as_me:7598: \$? = $ac_status" >&5
7599    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
7600    if test -s conftest.err; then    if test -s conftest.err; then
7601      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 7611  else Line 7614  else
7614  fi  fi
7615  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
7616  fi  fi
7617  echo "$as_me:7614: result: $ac_cv_header_X11_SM_SMlib_h" >&5  echo "$as_me:7617: result: $ac_cv_header_X11_SM_SMlib_h" >&5
7618  echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6  echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6
7619  if test $ac_cv_header_X11_SM_SMlib_h = yes; then  if test $ac_cv_header_X11_SM_SMlib_h = yes; then
7620    echo "$as_me:7617: checking for SmcOpenConnection in -lSM" >&5    echo "$as_me:7620: checking for SmcOpenConnection in -lSM" >&5
7621  echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6  echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6
7622  if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then  if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
7623    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7622  else Line 7625  else
7625    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7626  LIBS="-lSM  $LIBS"  LIBS="-lSM  $LIBS"
7627  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7628  #line 7625 "configure"  #line 7628 "configure"
7629  #include "confdefs.h"  #include "confdefs.h"
7630    
7631  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 7641  SmcOpenConnection (); Line 7644  SmcOpenConnection ();
7644  }  }
7645  _ACEOF  _ACEOF
7646  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7647  if { (eval echo "$as_me:7644: \"$ac_link\"") >&5  if { (eval echo "$as_me:7647: \"$ac_link\"") >&5
7648    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7649    ac_status=$?    ac_status=$?
7650    echo "$as_me:7647: \$? = $ac_status" >&5    echo "$as_me:7650: \$? = $ac_status" >&5
7651    (exit $ac_status); } &&    (exit $ac_status); } &&
7652           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7653    { (eval echo "$as_me:7650: \"$ac_try\"") >&5    { (eval echo "$as_me:7653: \"$ac_try\"") >&5
7654    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7655    ac_status=$?    ac_status=$?
7656    echo "$as_me:7653: \$? = $ac_status" >&5    echo "$as_me:7656: \$? = $ac_status" >&5
7657    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7658    ac_cv_lib_SM_SmcOpenConnection=yes    ac_cv_lib_SM_SmcOpenConnection=yes
7659  else  else
# Line 7661  fi Line 7664  fi
7664  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7665  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7666  fi  fi
7667  echo "$as_me:7664: result: $ac_cv_lib_SM_SmcOpenConnection" >&5  echo "$as_me:7667: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
7668  echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6  echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6
7669  if test $ac_cv_lib_SM_SmcOpenConnection = yes; then  if test $ac_cv_lib_SM_SmcOpenConnection = yes; then
7670    HAVE_X_SM=yes    HAVE_X_SM=yes
# Line 7684  EOF Line 7687  EOF
7687  fi  fi
7688    
7689  # If netdb.h doesn't declare h_errno, we must declare it by hand.  # If netdb.h doesn't declare h_errno, we must declare it by hand.
7690  echo "$as_me:7687: checking whether netdb declares h_errno" >&5  echo "$as_me:7690: checking whether netdb declares h_errno" >&5
7691  echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6  echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6
7692  if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then  if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then
7693    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7694  else  else
7695    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7696  #line 7693 "configure"  #line 7696 "configure"
7697  #include "confdefs.h"  #include "confdefs.h"
7698  #include <netdb.h>  #include <netdb.h>
7699  int  int
# Line 7702  return h_errno; Line 7705  return h_errno;
7705  }  }
7706  _ACEOF  _ACEOF
7707  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7708  if { (eval echo "$as_me:7705: \"$ac_link\"") >&5  if { (eval echo "$as_me:7708: \"$ac_link\"") >&5
7709    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7710    ac_status=$?    ac_status=$?
7711    echo "$as_me:7708: \$? = $ac_status" >&5    echo "$as_me:7711: \$? = $ac_status" >&5
7712    (exit $ac_status); } &&    (exit $ac_status); } &&
7713           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7714    { (eval echo "$as_me:7711: \"$ac_try\"") >&5    { (eval echo "$as_me:7714: \"$ac_try\"") >&5
7715    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7716    ac_status=$?    ac_status=$?
7717    echo "$as_me:7714: \$? = $ac_status" >&5    echo "$as_me:7717: \$? = $ac_status" >&5
7718    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7719    emacs_cv_netdb_declares_h_errno=yes    emacs_cv_netdb_declares_h_errno=yes
7720  else  else
# Line 7721  emacs_cv_netdb_declares_h_errno=no Line 7724  emacs_cv_netdb_declares_h_errno=no
7724  fi  fi
7725  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7726  fi  fi
7727  echo "$as_me:7724: result: $emacs_cv_netdb_declares_h_errno" >&5  echo "$as_me:7727: result: $emacs_cv_netdb_declares_h_errno" >&5
7728  echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6  echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6
7729  if test $emacs_cv_netdb_declares_h_errno = yes; then  if test $emacs_cv_netdb_declares_h_errno = yes; then
7730    cat >>confdefs.h <<\EOF    cat >>confdefs.h <<\EOF
# Line 7732  fi Line 7735  fi
7735    
7736  # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works  # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
7737  # for constant arguments.  Useless!  # for constant arguments.  Useless!
7738  echo "$as_me:7735: checking for working alloca.h" >&5  echo "$as_me:7738: checking for working alloca.h" >&5
7739  echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6  echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
7740  if test "${ac_cv_working_alloca_h+set}" = set; then  if test "${ac_cv_working_alloca_h+set}" = set; then
7741    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7742  else  else
7743    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7744  #line 7741 "configure"  #line 7744 "configure"
7745  #include "confdefs.h"  #include "confdefs.h"
7746  #include <alloca.h>  #include <alloca.h>
7747  int  int
# Line 7750  char *p = (char *) alloca (2 * sizeof (i Line 7753  char *p = (char *) alloca (2 * sizeof (i
7753  }  }
7754  _ACEOF  _ACEOF
7755  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7756  if { (eval echo "$as_me:7753: \"$ac_link\"") >&5  if { (eval echo "$as_me:7756: \"$ac_link\"") >&5
7757    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7758    ac_status=$?    ac_status=$?
7759    echo "$as_me:7756: \$? = $ac_status" >&5    echo "$as_me:7759: \$? = $ac_status" >&5
7760    (exit $ac_status); } &&    (exit $ac_status); } &&
7761           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7762    { (eval echo "$as_me:7759: \"$ac_try\"") >&5    { (eval echo "$as_me:7762: \"$ac_try\"") >&5
7763    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7764    ac_status=$?    ac_status=$?
7765    echo "$as_me:7762: \$? = $ac_status" >&5    echo "$as_me:7765: \$? = $ac_status" >&5
7766    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7767    ac_cv_working_alloca_h=yes    ac_cv_working_alloca_h=yes
7768  else  else
# Line 7769  ac_cv_working_alloca_h=no Line 7772  ac_cv_working_alloca_h=no
7772  fi  fi
7773  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7774  fi  fi
7775  echo "$as_me:7772: result: $ac_cv_working_alloca_h" >&5  echo "$as_me:7775: result: $ac_cv_working_alloca_h" >&5
7776  echo "${ECHO_T}$ac_cv_working_alloca_h" >&6  echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
7777  if test $ac_cv_working_alloca_h = yes; then  if test $ac_cv_working_alloca_h = yes; then
7778    
# Line 7779  EOF Line 7782  EOF
7782    
7783  fi  fi
7784    
7785  echo "$as_me:7782: checking for alloca" >&5  echo "$as_me:7785: checking for alloca" >&5
7786  echo $ECHO_N "checking for alloca... $ECHO_C" >&6  echo $ECHO_N "checking for alloca... $ECHO_C" >&6
7787  if test "${ac_cv_func_alloca_works+set}" = set; then  if test "${ac_cv_func_alloca_works+set}" = set; then
7788    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7789  else  else
7790    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7791  #line 7788 "configure"  #line 7791 "configure"
7792  #include "confdefs.h"  #include "confdefs.h"
7793  #ifdef __GNUC__  #ifdef __GNUC__
7794  # define alloca __builtin_alloca  # define alloca __builtin_alloca
# Line 7817  char *p = (char *) alloca (1); Line 7820  char *p = (char *) alloca (1);
7820  }  }
7821  _ACEOF  _ACEOF
7822  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7823  if { (eval echo "$as_me:7820: \"$ac_link\"") >&5  if { (eval echo "$as_me:7823: \"$ac_link\"") >&5
7824    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7825    ac_status=$?    ac_status=$?
7826    echo "$as_me:7823: \$? = $ac_status" >&5    echo "$as_me:7826: \$? = $ac_status" >&5
7827    (exit $ac_status); } &&    (exit $ac_status); } &&
7828           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7829    { (eval echo "$as_me:7826: \"$ac_try\"") >&5    { (eval echo "$as_me:7829: \"$ac_try\"") >&5
7830    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7831    ac_status=$?    ac_status=$?
7832    echo "$as_me:7829: \$? = $ac_status" >&5    echo "$as_me:7832: \$? = $ac_status" >&5
7833    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7834    ac_cv_func_alloca_works=yes    ac_cv_func_alloca_works=yes
7835  else  else
# Line 7836  ac_cv_func_alloca_works=no Line 7839  ac_cv_func_alloca_works=no
7839  fi  fi
7840  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7841  fi  fi
7842  echo "$as_me:7839: result: $ac_cv_func_alloca_works" >&5  echo "$as_me:7842: result: $ac_cv_func_alloca_works" >&5
7843  echo "${ECHO_T}$ac_cv_func_alloca_works" >&6  echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
7844    
7845  if test $ac_cv_func_alloca_works = yes; then  if test $ac_cv_func_alloca_works = yes; then
# Line 7857  cat >>confdefs.h <<\EOF Line 7860  cat >>confdefs.h <<\EOF
7860  #define C_ALLOCA 1  #define C_ALLOCA 1
7861  EOF  EOF
7862    
7863  echo "$as_me:7860: checking whether \`alloca.c' needs Cray hooks" >&5  echo "$as_me:7863: checking whether \`alloca.c' needs Cray hooks" >&5
7864  echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6  echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
7865  if test "${ac_cv_os_cray+set}" = set; then  if test "${ac_cv_os_cray+set}" = set; then
7866    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7867  else  else
7868    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7869  #line 7866 "configure"  #line 7869 "configure"
7870  #include "confdefs.h"  #include "confdefs.h"
7871  #if defined(CRAY) && ! defined(CRAY2)  #if defined(CRAY) && ! defined(CRAY2)
7872  webecray  webecray
# Line 7881  fi Line 7884  fi
7884  rm -f conftest*  rm -f conftest*
7885    
7886  fi  fi
7887  echo "$as_me:7884: result: $ac_cv_os_cray" >&5  echo "$as_me:7887: result: $ac_cv_os_cray" >&5
7888  echo "${ECHO_T}$ac_cv_os_cray" >&6  echo "${ECHO_T}$ac_cv_os_cray" >&6
7889  if test $ac_cv_os_cray = yes; then  if test $ac_cv_os_cray = yes; then
7890    for ac_func in _getb67 GETB67 getb67; do    for ac_func in _getb67 GETB67 getb67; do
7891      as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`      as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7892  echo "$as_me:7889: checking for $ac_func" >&5  echo "$as_me:7892: checking for $ac_func" >&5
7893  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7894  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
7895    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7896  else  else
7897    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7898  #line 7895 "configure"  #line 7898 "configure"
7899  #include "confdefs.h"  #include "confdefs.h"
7900  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
7901      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 7923  f = $ac_func; Line 7926  f = $ac_func;
7926  }  }
7927  _ACEOF  _ACEOF
7928  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7929  if { (eval echo "$as_me:7926: \"$ac_link\"") >&5  if { (eval echo "$as_me:7929: \"$ac_link\"") >&5
7930    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7931    ac_status=$?    ac_status=$?
7932    echo "$as_me:7929: \$? = $ac_status" >&5    echo "$as_me:7932: \$? = $ac_status" >&5
7933    (exit $ac_status); } &&    (exit $ac_status); } &&
7934           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7935    { (eval echo "$as_me:7932: \"$ac_try\"") >&5    { (eval echo "$as_me:7935: \"$ac_try\"") >&5
7936    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7937    ac_status=$?    ac_status=$?
7938    echo "$as_me:7935: \$? = $ac_status" >&5    echo "$as_me:7938: \$? = $ac_status" >&5
7939    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7940    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
7941  else  else
# Line 7942  eval "$as_ac_var=no" Line 7945  eval "$as_ac_var=no"
7945  fi  fi
7946  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7947  fi  fi
7948  echo "$as_me:7945: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:7948: result: `eval echo '${'$as_ac_var'}'`" >&5
7949  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7950  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
7951    
# Line 7956  fi Line 7959  fi
7959    done    done
7960  fi  fi
7961    
7962  echo "$as_me:7959: checking stack direction for C alloca" >&5  echo "$as_me:7962: checking stack direction for C alloca" >&5
7963  echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6  echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
7964  if test "${ac_cv_c_stack_direction+set}" = set; then  if test "${ac_cv_c_stack_direction+set}" = set; then
7965    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7965  else Line 7968  else
7968    ac_cv_c_stack_direction=0    ac_cv_c_stack_direction=0
7969  else  else
7970    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7971  #line 7968 "configure"  #line 7971 "configure"
7972  #include "confdefs.h"  #include "confdefs.h"
7973  int  int
7974  find_stack_direction ()  find_stack_direction ()
# Line 7988  main () Line 7991  main ()
7991  }  }
7992  _ACEOF  _ACEOF
7993  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
7994  if { (eval echo "$as_me:7991: \"$ac_link\"") >&5  if { (eval echo "$as_me:7994: \"$ac_link\"") >&5
7995    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7996    ac_status=$?    ac_status=$?
7997    echo "$as_me:7994: \$? = $ac_status" >&5    echo "$as_me:7997: \$? = $ac_status" >&5
7998    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7999    { (eval echo "$as_me:7996: \"$ac_try\"") >&5    { (eval echo "$as_me:7999: \"$ac_try\"") >&5
8000    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8001    ac_status=$?    ac_status=$?
8002    echo "$as_me:7999: \$? = $ac_status" >&5    echo "$as_me:8002: \$? = $ac_status" >&5
8003    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8004    ac_cv_c_stack_direction=1    ac_cv_c_stack_direction=1
8005  else  else
# Line 8008  fi Line 8011  fi
8011  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8012  fi  fi
8013  fi  fi
8014  echo "$as_me:8011: result: $ac_cv_c_stack_direction" >&5  echo "$as_me:8014: result: $ac_cv_c_stack_direction" >&5
8015  echo "${ECHO_T}$ac_cv_c_stack_direction" >&6  echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
8016    
8017  cat >>confdefs.h <<EOF  cat >>confdefs.h <<EOF
# Line 8020  fi Line 8023  fi
8023  # fmod, logb, and frexp are found in -lm on most systems.  # fmod, logb, and frexp are found in -lm on most systems.
8024  # On HPUX 9.01, -lm does not contain logb, so check for sqrt.  # On HPUX 9.01, -lm does not contain logb, so check for sqrt.
8025    
8026  echo "$as_me:8023: checking for sqrt in -lm" >&5  echo "$as_me:8026: checking for sqrt in -lm" >&5
8027  echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6  echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
8028  if test "${ac_cv_lib_m_sqrt+set}" = set; then  if test "${ac_cv_lib_m_sqrt+set}" = set; then
8029    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8028  else Line 8031  else
8031    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
8032  LIBS="-lm  $LIBS"  LIBS="-lm  $LIBS"
8033  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
8034  #line 8031 "configure"  #line 8034 "configure"
8035  #include "confdefs.h"  #include "confdefs.h"
8036    
8037  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 8047  sqrt (); Line 8050  sqrt ();
8050  }  }
8051  _ACEOF  _ACEOF
8052  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8053  if { (eval echo "$as_me:8050: \"$ac_link\"") >&5  if { (eval echo "$as_me:8053: \"$ac_link\"") >&5
8054    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8055    ac_status=$?    ac_status=$?
8056    echo "$as_me:8053: \$? = $ac_status" >&5    echo "$as_me:8056: \$? = $ac_status" >&5
8057    (exit $ac_status); } &&    (exit $ac_status); } &&
8058           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8059    { (eval echo "$as_me:8056: \"$ac_try\"") >&5    { (eval echo "$as_me:8059: \"$ac_try\"") >&5
8060    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8061    ac_status=$?    ac_status=$?
8062    echo "$as_me:8059: \$? = $ac_status" >&5    echo "$as_me:8062: \$? = $ac_status" >&5
8063    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8064    ac_cv_lib_m_sqrt=yes    ac_cv_lib_m_sqrt=yes
8065  else  else
# Line 8067  fi Line 8070  fi
8070  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8071  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
8072  fi  fi
8073  echo "$as_me:8070: result: $ac_cv_lib_m_sqrt" >&5  echo "$as_me:8073: result: $ac_cv_lib_m_sqrt" >&5
8074  echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6  echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
8075  if test $ac_cv_lib_m_sqrt = yes; then  if test $ac_cv_lib_m_sqrt = yes; then
8076    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8080  fi Line 8083  fi
8083    
8084  # Check for mail-locking functions in a "mail" library  # Check for mail-locking functions in a "mail" library
8085    
8086  echo "$as_me:8083: checking for maillock in -lmail" >&5  echo "$as_me:8086: checking for maillock in -lmail" >&5
8087  echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6  echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6
8088  if test "${ac_cv_lib_mail_maillock+set}" = set; then  if test "${ac_cv_lib_mail_maillock+set}" = set; then
8089    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8088  else Line 8091  else
8091    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
8092  LIBS="-lmail  $LIBS"  LIBS="-lmail  $LIBS"
8093  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
8094  #line 8091 "configure"  #line 8094 "configure"
8095  #include "confdefs.h"  #include "confdefs.h"
8096    
8097  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 8107  maillock (); Line 8110  maillock ();
8110  }  }
8111  _ACEOF  _ACEOF
8112  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8113  if { (eval echo "$as_me:8110: \"$ac_link\"") >&5  if { (eval echo "$as_me:8113: \"$ac_link\"") >&5
8114    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8115    ac_status=$?    ac_status=$?
8116    echo "$as_me:8113: \$? = $ac_status" >&5    echo "$as_me:8116: \$? = $ac_status" >&5
8117    (exit $ac_status); } &&    (exit $ac_status); } &&
8118           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8119    { (eval echo "$as_me:8116: \"$ac_try\"") >&5    { (eval echo "$as_me:8119: \"$ac_try\"") >&5
8120    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8121    ac_status=$?    ac_status=$?
8122    echo "$as_me:8119: \$? = $ac_status" >&5    echo "$as_me:8122: \$? = $ac_status" >&5
8123    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8124    ac_cv_lib_mail_maillock=yes    ac_cv_lib_mail_maillock=yes
8125  else  else
# Line 8127  fi Line 8130  fi
8130  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8131  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
8132  fi  fi
8133  echo "$as_me:8130: result: $ac_cv_lib_mail_maillock" >&5  echo "$as_me:8133: result: $ac_cv_lib_mail_maillock" >&5
8134  echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6  echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6
8135  if test $ac_cv_lib_mail_maillock = yes; then  if test $ac_cv_lib_mail_maillock = yes; then
8136    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8138  EOF Line 8141  EOF
8141    
8142  fi  fi
8143    
8144  echo "$as_me:8141: checking for maillock in -llockfile" >&5  echo "$as_me:8144: checking for maillock in -llockfile" >&5
8145  echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6  echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6
8146  if test "${ac_cv_lib_lockfile_maillock+set}" = set; then  if test "${ac_cv_lib_lockfile_maillock+set}" = set; then
8147    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8146  else Line 8149  else
8149    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
8150  LIBS="-llockfile  $LIBS"  LIBS="-llockfile  $LIBS"
8151  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
8152  #line 8149 "configure"  #line 8152 "configure"
8153  #include "confdefs.h"  #include "confdefs.h"
8154    
8155  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 8165  maillock (); Line 8168  maillock ();
8168  }  }
8169  _ACEOF  _ACEOF
8170  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8171  if { (eval echo "$as_me:8168: \"$ac_link\"") >&5  if { (eval echo "$as_me:8171: \"$ac_link\"") >&5
8172    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8173    ac_status=$?    ac_status=$?
8174    echo "$as_me:8171: \$? = $ac_status" >&5    echo "$as_me:8174: \$? = $ac_status" >&5
8175    (exit $ac_status); } &&    (exit $ac_status); } &&
8176           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8177    { (eval echo "$as_me:8174: \"$ac_try\"") >&5    { (eval echo "$as_me:8177: \"$ac_try\"") >&5
8178    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8179    ac_status=$?    ac_status=$?
8180    echo "$as_me:8177: \$? = $ac_status" >&5    echo "$as_me:8180: \$? = $ac_status" >&5
8181    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8182    ac_cv_lib_lockfile_maillock=yes    ac_cv_lib_lockfile_maillock=yes
8183  else  else
# Line 8185  fi Line 8188  fi
8188  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8189  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
8190  fi  fi
8191  echo "$as_me:8188: result: $ac_cv_lib_lockfile_maillock" >&5  echo "$as_me:8191: result: $ac_cv_lib_lockfile_maillock" >&5
8192  echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6  echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6
8193  if test $ac_cv_lib_lockfile_maillock = yes; then  if test $ac_cv_lib_lockfile_maillock = yes; then
8194    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8202  fi Line 8205  fi
8205  if test "$ac_cv_lib_lockfile_maillock" = no; then  if test "$ac_cv_lib_lockfile_maillock" = no; then
8206        # Extract the first word of "liblockfile.so", so it can be a program name with args.        # Extract the first word of "liblockfile.so", so it can be a program name with args.
8207  set dummy liblockfile.so; ac_word=$2  set dummy liblockfile.so; ac_word=$2
8208  echo "$as_me:8205: checking for $ac_word" >&5  echo "$as_me:8208: checking for $ac_word" >&5
8209  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8210  if test "${ac_cv_prog_liblockfile+set}" = set; then  if test "${ac_cv_prog_liblockfile+set}" = set; then
8211    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8217  for ac_dir in $ac_dummy; do Line 8220  for ac_dir in $ac_dummy; do
8220    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
8221    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
8222  ac_cv_prog_liblockfile="yes"  ac_cv_prog_liblockfile="yes"
8223  echo "$as_me:8220: found $ac_dir/$ac_word" >&5  echo "$as_me:8223: found $ac_dir/$ac_word" >&5
8224  break  break
8225  done  done
8226    
# Line 8226  fi Line 8229  fi
8229  fi  fi
8230  liblockfile=$ac_cv_prog_liblockfile  liblockfile=$ac_cv_prog_liblockfile
8231  if test -n "$liblockfile"; then  if test -n "$liblockfile"; then
8232    echo "$as_me:8229: result: $liblockfile" >&5    echo "$as_me:8232: result: $liblockfile" >&5
8233  echo "${ECHO_T}$liblockfile" >&6  echo "${ECHO_T}$liblockfile" >&6
8234  else  else
8235    echo "$as_me:8232: result: no" >&5    echo "$as_me:8235: result: no" >&5
8236  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
8237  fi  fi
8238    
8239    if test $ac_cv_prog_liblockfile = yes; then    if test $ac_cv_prog_liblockfile = yes; then
8240      { { echo "$as_me:8237: error: Shared liblockfile found but can't link against it.      { { echo "$as_me:8240: error: Shared liblockfile found but can't link against it.
8241  This probably means that movemail could lose mail.  This probably means that movemail could lose mail.
8242  There may be a \`development' package to install containing liblockfile." >&5  There may be a \`development' package to install containing liblockfile." >&5
8243  echo "$as_me: error: Shared liblockfile found but can't link against it.  echo "$as_me: error: Shared liblockfile found but can't link against it.
# Line 8252  fi Line 8255  fi
8255  for ac_func in touchlock  for ac_func in touchlock
8256  do  do
8257  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8258  echo "$as_me:8255: checking for $ac_func" >&5  echo "$as_me:8258: checking for $ac_func" >&5
8259  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8260  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
8261    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
8262  else  else
8263    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8264  #line 8261 "configure"  #line 8264 "configure"
8265  #include "confdefs.h"  #include "confdefs.h"
8266  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
8267      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 8289  f = $ac_func; Line 8292  f = $ac_func;
8292  }  }
8293  _ACEOF  _ACEOF
8294  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8295  if { (eval echo "$as_me:8292: \"$ac_link\"") >&5  if { (eval echo "$as_me:8295: \"$ac_link\"") >&5
8296    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8297    ac_status=$?    ac_status=$?
8298    echo "$as_me:8295: \$? = $ac_status" >&5    echo "$as_me:8298: \$? = $ac_status" >&5
8299    (exit $ac_status); } &&    (exit $ac_status); } &&
8300           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8301    { (eval echo "$as_me:8298: \"$ac_try\"") >&5    { (eval echo "$as_me:8301: \"$ac_try\"") >&5
8302    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8303    ac_status=$?    ac_status=$?
8304    echo "$as_me:8301: \$? = $ac_status" >&5    echo "$as_me:8304: \$? = $ac_status" >&5
8305    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8306    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
8307  else  else
# Line 8308  eval "$as_ac_var=no" Line 8311  eval "$as_ac_var=no"
8311  fi  fi
8312  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8313  fi  fi
8314  echo "$as_me:8311: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:8314: result: `eval echo '${'$as_ac_var'}'`" >&5
8315  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8316  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
8317    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8321  done Line 8324  done
8324  for ac_header in maillock.h  for ac_header in maillock.h
8325  do  do
8326  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8327  echo "$as_me:8324: checking for $ac_header" >&5  echo "$as_me:8327: checking for $ac_header" >&5
8328  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8329  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
8330    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
8331  else  else
8332    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8333  #line 8330 "configure"  #line 8333 "configure"
8334  #include "confdefs.h"  #include "confdefs.h"
8335  #include <$ac_header>  #include <$ac_header>
8336  _ACEOF  _ACEOF
8337  if { (eval echo "$as_me:8334: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:8337: \"$ac_cpp conftest.$ac_ext\"") >&5
8338    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8339    ac_status=$?    ac_status=$?
8340    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
8341    rm -f conftest.er1    rm -f conftest.er1
8342    cat conftest.err >&5    cat conftest.err >&5
8343    echo "$as_me:8340: \$? = $ac_status" >&5    echo "$as_me:8343: \$? = $ac_status" >&5
8344    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
8345    if test -s conftest.err; then    if test -s conftest.err; then
8346      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 8356  else Line 8359  else
8359  fi  fi
8360  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
8361  fi  fi
8362  echo "$as_me:8359: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:8362: result: `eval echo '${'$as_ac_Header'}'`" >&5
8363  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8364  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
8365    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8375  __fpending mblen mbrlen mbsinit strsigna Line 8378  __fpending mblen mbrlen mbsinit strsigna
8378  gai_strerror mkstemp  gai_strerror mkstemp
8379  do  do
8380  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8381  echo "$as_me:8378: checking for $ac_func" >&5  echo "$as_me:8381: checking for $ac_func" >&5
8382  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8383  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
8384    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
8385  else  else
8386    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8387  #line 8384 "configure"  #line 8387 "configure"
8388  #include "confdefs.h"  #include "confdefs.h"
8389  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
8390      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 8412  f = $ac_func; Line 8415  f = $ac_func;
8415  }  }
8416  _ACEOF  _ACEOF
8417  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8418  if { (eval echo "$as_me:8415: \"$ac_link\"") >&5  if { (eval echo "$as_me:8418: \"$ac_link\"") >&5
8419    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8420    ac_status=$?    ac_status=$?
8421    echo "$as_me:8418: \$? = $ac_status" >&5    echo "$as_me:8421: \$? = $ac_status" >&5
8422    (exit $ac_status); } &&    (exit $ac_status); } &&
8423           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8424    { (eval echo "$as_me:8421: \"$ac_try\"") >&5    { (eval echo "$as_me:8424: \"$ac_try\"") >&5
8425    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8426    ac_status=$?    ac_status=$?
8427    echo "$as_me:8424: \$? = $ac_status" >&5    echo "$as_me:8427: \$? = $ac_status" >&5
8428    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8429    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
8430  else  else
# Line 8431  eval "$as_ac_var=no" Line 8434  eval "$as_ac_var=no"
8434  fi  fi
8435  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8436  fi  fi
8437  echo "$as_me:8434: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:8437: result: `eval echo '${'$as_ac_var'}'`" >&5
8438  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8439  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
8440    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8444  done Line 8447  done
8447  for ac_header in sys/time.h unistd.h  for ac_header in sys/time.h unistd.h
8448  do  do
8449  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8450  echo "$as_me:8447: checking for $ac_header" >&5  echo "$as_me:8450: checking for $ac_header" >&5
8451  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8452  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
8453    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
8454  else  else
8455    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8456  #line 8453 "configure"  #line 8456 "configure"
8457  #include "confdefs.h"  #include "confdefs.h"
8458  #include <$ac_header>  #include <$ac_header>
8459  _ACEOF  _ACEOF
8460  if { (eval echo "$as_me:8457: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:8460: \"$ac_cpp conftest.$ac_ext\"") >&5
8461    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8462    ac_status=$?    ac_status=$?
8463    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
8464    rm -f conftest.er1    rm -f conftest.er1
8465    cat conftest.err >&5    cat conftest.err >&5
8466    echo "$as_me:8463: \$? = $ac_status" >&5    echo "$as_me:8466: \$? = $ac_status" >&5
8467    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
8468    if test -s conftest.err; then    if test -s conftest.err; then
8469      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 8479  else Line 8482  else
8482  fi  fi
8483  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
8484  fi  fi
8485  echo "$as_me:8482: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:8485: result: `eval echo '${'$as_ac_Header'}'`" >&5
8486  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8487  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
8488    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8492  done Line 8495  done
8495  for ac_func in alarm  for ac_func in alarm
8496  do  do
8497  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8498  echo "$as_me:8495: checking for $ac_func" >&5  echo "$as_me:8498: checking for $ac_func" >&5
8499  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8500  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
8501    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
8502  else  else
8503    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8504  #line 8501 "configure"  #line 8504 "configure"
8505  #include "confdefs.h"  #include "confdefs.h"
8506  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
8507      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 8529  f = $ac_func; Line 8532  f = $ac_func;
8532  }  }
8533  _ACEOF  _ACEOF
8534  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8535  if { (eval echo "$as_me:8532: \"$ac_link\"") >&5  if { (eval echo "$as_me:8535: \"$ac_link\"") >&5
8536    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8537    ac_status=$?    ac_status=$?
8538    echo "$as_me:8535: \$? = $ac_status" >&5    echo "$as_me:8538: \$? = $ac_status" >&5
8539    (exit $ac_status); } &&    (exit $ac_status); } &&
8540           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8541    { (eval echo "$as_me:8538: \"$ac_try\"") >&5    { (eval echo "$as_me:8541: \"$ac_try\"") >&5
8542    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8543    ac_status=$?    ac_status=$?
8544    echo "$as_me:8541: \$? = $ac_status" >&5    echo "$as_me:8544: \$? = $ac_status" >&5
8545    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8546    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
8547  else  else
# Line 8548  eval "$as_ac_var=no" Line 8551  eval "$as_ac_var=no"
8551  fi  fi
8552  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8553  fi  fi
8554  echo "$as_me:8551: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:8554: result: `eval echo '${'$as_ac_var'}'`" >&5
8555  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8556  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
8557    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8558  EOF Line 8561  EOF
8561  fi  fi
8562  done  done
8563    
8564  echo "$as_me:8561: checking for working mktime" >&5  echo "$as_me:8564: checking for working mktime" >&5
8565  echo $ECHO_N "checking for working mktime... $ECHO_C" >&6  echo $ECHO_N "checking for working mktime... $ECHO_C" >&6
8566  if test "${ac_cv_func_working_mktime+set}" = set; then  if test "${ac_cv_func_working_mktime+set}" = set; then
8567    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8567  else Line 8570  else
8570    ac_cv_func_working_mktime=no    ac_cv_func_working_mktime=no
8571  else  else
8572    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8573  #line 8570 "configure"  #line 8573 "configure"
8574  #include "confdefs.h"  #include "confdefs.h"
8575  /* Test program from Paul Eggert and Tony Leneis.  */  /* Test program from Paul Eggert and Tony Leneis.  */
8576  #if TIME_WITH_SYS_TIME  #if TIME_WITH_SYS_TIME
# Line 8716  main () Line 8719  main ()
8719  }  }
8720  _ACEOF  _ACEOF
8721  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
8722  if { (eval echo "$as_me:8719: \"$ac_link\"") >&5  if { (eval echo "$as_me:8722: \"$ac_link\"") >&5
8723    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8724    ac_status=$?    ac_status=$?
8725    echo "$as_me:8722: \$? = $ac_status" >&5    echo "$as_me:8725: \$? = $ac_status" >&5
8726    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8727    { (eval echo "$as_me:8724: \"$ac_try\"") >&5    { (eval echo "$as_me:8727: \"$ac_try\"") >&5
8728    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8729    ac_status=$?    ac_status=$?
8730    echo "$as_me:8727: \$? = $ac_status" >&5    echo "$as_me:8730: \$? = $ac_status" >&5
8731    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8732    ac_cv_func_working_mktime=yes    ac_cv_func_working_mktime=yes
8733  else  else
# Line 8736  fi Line 8739  fi
8739  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8740  fi  fi
8741  fi  fi
8742  echo "$as_me:8739: result: $ac_cv_func_working_mktime" >&5  echo "$as_me:8742: result: $ac_cv_func_working_mktime" >&5
8743  echo "${ECHO_T}$ac_cv_func_working_mktime" >&6  echo "${ECHO_T}$ac_cv_func_working_mktime" >&6
8744  if test $ac_cv_func_working_mktime = no; then  if test $ac_cv_func_working_mktime = no; then
8745    LIBOBJS="$LIBOBJS mktime.$ac_objext"    LIBOBJS="$LIBOBJS mktime.$ac_objext"
# Line 8754  ac_have_func=no # yes means we've found Line 8757  ac_have_func=no # yes means we've found
8757  ac_save_LIBS=$LIBS  ac_save_LIBS=$LIBS
8758    
8759  # Check for getloadavg, but be sure not to touch the cache variable.  # Check for getloadavg, but be sure not to touch the cache variable.
8760  (echo "$as_me:8757: checking for getloadavg" >&5  (echo "$as_me:8760: checking for getloadavg" >&5
8761  echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6  echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6
8762  if test "${ac_cv_func_getloadavg+set}" = set; then  if test "${ac_cv_func_getloadavg+set}" = set; then
8763    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
8764  else  else
8765    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8766  #line 8763 "configure"  #line 8766 "configure"
8767  #include "confdefs.h"  #include "confdefs.h"
8768  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
8769      which can conflict with char getloadavg (); below.  */      which can conflict with char getloadavg (); below.  */
# Line 8791  f = getloadavg; Line 8794  f = getloadavg;
8794  }  }
8795  _ACEOF  _ACEOF
8796  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8797  if { (eval echo "$as_me:8794: \"$ac_link\"") >&5  if { (eval echo "$as_me:8797: \"$ac_link\"") >&5
8798    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8799    ac_status=$?    ac_status=$?
8800    echo "$as_me:8797: \$? = $ac_status" >&5    echo "$as_me:8800: \$? = $ac_status" >&5
8801    (exit $ac_status); } &&    (exit $ac_status); } &&
8802           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8803    { (eval echo "$as_me:8800: \"$ac_try\"") >&5    { (eval echo "$as_me:8803: \"$ac_try\"") >&5
8804    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8805    ac_status=$?    ac_status=$?
8806    echo "$as_me:8803: \$? = $ac_status" >&5    echo "$as_me:8806: \$? = $ac_status" >&5
8807    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8808    ac_cv_func_getloadavg=yes    ac_cv_func_getloadavg=yes
8809  else  else
# Line 8810  ac_cv_func_getloadavg=no Line 8813  ac_cv_func_getloadavg=no
8813  fi  fi
8814  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8815  fi  fi
8816  echo "$as_me:8813: result: $ac_cv_func_getloadavg" >&5  echo "$as_me:8816: result: $ac_cv_func_getloadavg" >&5
8817  echo "${ECHO_T}$ac_cv_func_getloadavg" >&6  echo "${ECHO_T}$ac_cv_func_getloadavg" >&6
8818  if test $ac_cv_func_getloadavg = yes; then  if test $ac_cv_func_getloadavg = yes; then
8819    exit 0    exit 0
# Line 8824  fi Line 8827  fi
8827  for ac_func in pstat_getdynamic  for ac_func in pstat_getdynamic
8828  do  do
8829  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8830  echo "$as_me:8827: checking for $ac_func" >&5  echo "$as_me:8830: checking for $ac_func" >&5
8831  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8832  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
8833    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
8834  else  else
8835    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8836  #line 8833 "configure"  #line 8836 "configure"
8837  #include "confdefs.h"  #include "confdefs.h"
8838  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
8839      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 8861  f = $ac_func; Line 8864  f = $ac_func;
8864  }  }
8865  _ACEOF  _ACEOF
8866  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8867  if { (eval echo "$as_me:8864: \"$ac_link\"") >&5  if { (eval echo "$as_me:8867: \"$ac_link\"") >&5
8868    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8869    ac_status=$?    ac_status=$?
8870    echo "$as_me:8867: \$? = $ac_status" >&5    echo "$as_me:8870: \$? = $ac_status" >&5
8871    (exit $ac_status); } &&    (exit $ac_status); } &&
8872           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8873    { (eval echo "$as_me:8870: \"$ac_try\"") >&5    { (eval echo "$as_me:8873: \"$ac_try\"") >&5
8874    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8875    ac_status=$?    ac_status=$?
8876    echo "$as_me:8873: \$? = $ac_status" >&5    echo "$as_me:8876: \$? = $ac_status" >&5
8877    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8878    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
8879  else  else
# Line 8880  eval "$as_ac_var=no" Line 8883  eval "$as_ac_var=no"
8883  fi  fi
8884  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8885  fi  fi
8886  echo "$as_me:8883: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:8886: result: `eval echo '${'$as_ac_var'}'`" >&5
8887  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8888  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
8889    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8892  done Line 8895  done
8895    
8896  # Solaris has libkstat which does not require root.  # Solaris has libkstat which does not require root.
8897    
8898  echo "$as_me:8895: checking for kstat_open in -lkstat" >&5  echo "$as_me:8898: checking for kstat_open in -lkstat" >&5
8899  echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6  echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6
8900  if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then  if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then
8901    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8900  else Line 8903  else
8903    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
8904  LIBS="-lkstat  $LIBS"  LIBS="-lkstat  $LIBS"
8905  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
8906  #line 8903 "configure"  #line 8906 "configure"
8907  #include "confdefs.h"  #include "confdefs.h"
8908    
8909  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 8919  kstat_open (); Line 8922  kstat_open ();
8922  }  }
8923  _ACEOF  _ACEOF
8924  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8925  if { (eval echo "$as_me:8922: \"$ac_link\"") >&5  if { (eval echo "$as_me:8925: \"$ac_link\"") >&5
8926    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8927    ac_status=$?    ac_status=$?
8928    echo "$as_me:8925: \$? = $ac_status" >&5    echo "$as_me:8928: \$? = $ac_status" >&5
8929    (exit $ac_status); } &&    (exit $ac_status); } &&
8930           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8931    { (eval echo "$as_me:8928: \"$ac_try\"") >&5    { (eval echo "$as_me:8931: \"$ac_try\"") >&5
8932    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8933    ac_status=$?    ac_status=$?
8934    echo "$as_me:8931: \$? = $ac_status" >&5    echo "$as_me:8934: \$? = $ac_status" >&5
8935    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8936    ac_cv_lib_kstat_kstat_open=yes    ac_cv_lib_kstat_kstat_open=yes
8937  else  else
# Line 8939  fi Line 8942  fi
8942  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8943  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
8944  fi  fi
8945  echo "$as_me:8942: result: $ac_cv_lib_kstat_kstat_open" >&5  echo "$as_me:8945: result: $ac_cv_lib_kstat_kstat_open" >&5
8946  echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6  echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6
8947  if test $ac_cv_lib_kstat_kstat_open = yes; then  if test $ac_cv_lib_kstat_kstat_open = yes; then
8948    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8957  test $ac_cv_lib_kstat_kstat_open = yes & Line 8960  test $ac_cv_lib_kstat_kstat_open = yes &
8960  # to get the right answer into the cache.  # to get the right answer into the cache.
8961  # For kstat on solaris, we need libelf to force the definition of SVR4 below.  # For kstat on solaris, we need libelf to force the definition of SVR4 below.
8962  if test $ac_have_func = no; then  if test $ac_have_func = no; then
8963    echo "$as_me:8960: checking for elf_begin in -lelf" >&5    echo "$as_me:8963: checking for elf_begin in -lelf" >&5
8964  echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6  echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
8965  if test "${ac_cv_lib_elf_elf_begin+set}" = set; then  if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
8966    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8965  else Line 8968  else
8968    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
8969  LIBS="-lelf  $LIBS"  LIBS="-lelf  $LIBS"
8970  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
8971  #line 8968 "configure"  #line 8971 "configure"
8972  #include "confdefs.h"  #include "confdefs.h"
8973    
8974  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 8984  elf_begin (); Line 8987  elf_begin ();
8987  }  }
8988  _ACEOF  _ACEOF
8989  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8990  if { (eval echo "$as_me:8987: \"$ac_link\"") >&5  if { (eval echo "$as_me:8990: \"$ac_link\"") >&5
8991    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8992    ac_status=$?    ac_status=$?
8993    echo "$as_me:8990: \$? = $ac_status" >&5    echo "$as_me:8993: \$? = $ac_status" >&5
8994    (exit $ac_status); } &&    (exit $ac_status); } &&
8995           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8996    { (eval echo "$as_me:8993: \"$ac_try\"") >&5    { (eval echo "$as_me:8996: \"$ac_try\"") >&5
8997    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8998    ac_status=$?    ac_status=$?
8999    echo "$as_me:8996: \$? = $ac_status" >&5    echo "$as_me:8999: \$? = $ac_status" >&5
9000    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9001    ac_cv_lib_elf_elf_begin=yes    ac_cv_lib_elf_elf_begin=yes
9002  else  else
# Line 9004  fi Line 9007  fi
9007  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9008  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
9009  fi  fi
9010  echo "$as_me:9007: result: $ac_cv_lib_elf_elf_begin" >&5  echo "$as_me:9010: result: $ac_cv_lib_elf_elf_begin" >&5
9011  echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6  echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
9012  if test $ac_cv_lib_elf_elf_begin = yes; then  if test $ac_cv_lib_elf_elf_begin = yes; then
9013    LIBS="-lelf $LIBS"    LIBS="-lelf $LIBS"
# Line 9012  fi Line 9015  fi
9015    
9016  fi  fi
9017  if test $ac_have_func = no; then  if test $ac_have_func = no; then
9018    echo "$as_me:9015: checking for kvm_open in -lkvm" >&5    echo "$as_me:9018: checking for kvm_open in -lkvm" >&5
9019  echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6  echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6
9020  if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then  if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then
9021    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 9020  else Line 9023  else
9023    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
9024  LIBS="-lkvm  $LIBS"  LIBS="-lkvm  $LIBS"
9025  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
9026  #line 9023 "configure"  #line 9026 "configure"
9027  #include "confdefs.h"  #include "confdefs.h"
9028    
9029  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 9039  kvm_open (); Line 9042  kvm_open ();
9042  }  }
9043  _ACEOF  _ACEOF
9044  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9045  if { (eval echo "$as_me:9042: \"$ac_link\"") >&5  if { (eval echo "$as_me:9045: \"$ac_link\"") >&5
9046    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9047    ac_status=$?    ac_status=$?
9048    echo "$as_me:9045: \$? = $ac_status" >&5    echo "$as_me:9048: \$? = $ac_status" >&5
9049    (exit $ac_status); } &&    (exit $ac_status); } &&
9050           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9051    { (eval echo "$as_me:9048: \"$ac_try\"") >&5    { (eval echo "$as_me:9051: \"$ac_try\"") >&5
9052    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9053    ac_status=$?    ac_status=$?
9054    echo "$as_me:9051: \$? = $ac_status" >&5    echo "$as_me:9054: \$? = $ac_status" >&5
9055    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9056    ac_cv_lib_kvm_kvm_open=yes    ac_cv_lib_kvm_kvm_open=yes
9057  else  else
# Line 9059  fi Line 9062  fi
9062  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9063  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
9064  fi  fi
9065  echo "$as_me:9062: result: $ac_cv_lib_kvm_kvm_open" >&5  echo "$as_me:9065: result: $ac_cv_lib_kvm_kvm_open" >&5
9066  echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6  echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6
9067  if test $ac_cv_lib_kvm_kvm_open = yes; then  if test $ac_cv_lib_kvm_kvm_open = yes; then
9068    LIBS="-lkvm $LIBS"    LIBS="-lkvm $LIBS"
9069  fi  fi
9070    
9071    # Check for the 4.4BSD definition of getloadavg.    # Check for the 4.4BSD definition of getloadavg.
9072    echo "$as_me:9069: checking for getloadavg in -lutil" >&5    echo "$as_me:9072: checking for getloadavg in -lutil" >&5
9073  echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6  echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6
9074  if test "${ac_cv_lib_util_getloadavg+set}" = set; then  if test "${ac_cv_lib_util_getloadavg+set}" = set; then
9075    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 9074  else Line 9077  else
9077    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
9078  LIBS="-lutil  $LIBS"  LIBS="-lutil  $LIBS"
9079  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
9080  #line 9077 "configure"  #line 9080 "configure"
9081  #include "confdefs.h"  #include "confdefs.h"
9082    
9083  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 9093  getloadavg (); Line 9096  getloadavg ();
9096  }  }
9097  _ACEOF  _ACEOF
9098  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9099  if { (eval echo "$as_me:9096: \"$ac_link\"") >&5  if { (eval echo "$as_me:9099: \"$ac_link\"") >&5
9100    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9101    ac_status=$?    ac_status=$?
9102    echo "$as_me:9099: \$? = $ac_status" >&5    echo "$as_me:9102: \$? = $ac_status" >&5
9103    (exit $ac_status); } &&    (exit $ac_status); } &&
9104           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9105    { (eval echo "$as_me:9102: \"$ac_try\"") >&5    { (eval echo "$as_me:9105: \"$ac_try\"") >&5
9106    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9107    ac_status=$?    ac_status=$?
9108    echo "$as_me:9105: \$? = $ac_status" >&5    echo "$as_me:9108: \$? = $ac_status" >&5
9109    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9110    ac_cv_lib_util_getloadavg=yes    ac_cv_lib_util_getloadavg=yes
9111  else  else
# Line 9113  fi Line 9116  fi
9116  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9117  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
9118  fi  fi
9119  echo "$as_me:9116: result: $ac_cv_lib_util_getloadavg" >&5  echo "$as_me:9119: result: $ac_cv_lib_util_getloadavg" >&5
9120  echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6  echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6
9121  if test $ac_cv_lib_util_getloadavg = yes; then  if test $ac_cv_lib_util_getloadavg = yes; then
9122    LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes    LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes
# Line 9126  if test $ac_have_func = no; then Line 9129  if test $ac_have_func = no; then
9129    # Since it is not a standard part of AIX, it might be installed locally.    # Since it is not a standard part of AIX, it might be installed locally.
9130    ac_getloadavg_LIBS=$LIBS    ac_getloadavg_LIBS=$LIBS
9131    LIBS="-L/usr/local/lib $LIBS"    LIBS="-L/usr/local/lib $LIBS"
9132    echo "$as_me:9129: checking for getloadavg in -lgetloadavg" >&5    echo "$as_me:9132: checking for getloadavg in -lgetloadavg" >&5
9133  echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6  echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6
9134  if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then  if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then
9135    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 9134  else Line 9137  else
9137    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
9138  LIBS="-lgetloadavg  $LIBS"  LIBS="-lgetloadavg  $LIBS"
9139  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
9140  #line 9137 "configure"  #line 9140 "configure"
9141  #include "confdefs.h"  #include "confdefs.h"
9142    
9143  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 9153  getloadavg (); Line 9156  getloadavg ();
9156  }  }
9157  _ACEOF  _ACEOF
9158  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9159  if { (eval echo "$as_me:9156: \"$ac_link\"") >&5  if { (eval echo "$as_me:9159: \"$ac_link\"") >&5
9160    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9161    ac_status=$?    ac_status=$?
9162    echo "$as_me:9159: \$? = $ac_status" >&5    echo "$as_me:9162: \$? = $ac_status" >&5
9163    (exit $ac_status); } &&    (exit $ac_status); } &&
9164           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9165    { (eval echo "$as_me:9162: \"$ac_try\"") >&5    { (eval echo "$as_me:9165: \"$ac_try\"") >&5
9166    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9167    ac_status=$?    ac_status=$?
9168    echo "$as_me:9165: \$? = $ac_status" >&5    echo "$as_me:9168: \$? = $ac_status" >&5
9169    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9170    ac_cv_lib_getloadavg_getloadavg=yes    ac_cv_lib_getloadavg_getloadavg=yes
9171  else  else
# Line 9173  fi Line 9176  fi
9176  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9177  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
9178  fi  fi
9179  echo "$as_me:9176: result: $ac_cv_lib_getloadavg_getloadavg" >&5  echo "$as_me:9179: result: $ac_cv_lib_getloadavg_getloadavg" >&5
9180  echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6  echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6
9181  if test $ac_cv_lib_getloadavg_getloadavg = yes; then  if test $ac_cv_lib_getloadavg_getloadavg = yes; then
9182    LIBS="-lgetloadavg $LIBS"    LIBS="-lgetloadavg $LIBS"
# Line 9189  fi Line 9192  fi
9192  for ac_func in getloadavg  for ac_func in getloadavg
9193  do  do
9194  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9195  echo "$as_me:9192: checking for $ac_func" >&5  echo "$as_me:9195: checking for $ac_func" >&5
9196  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9197  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
9198    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9199  else  else
9200    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9201  #line 9198 "configure"  #line 9201 "configure"
9202  #include "confdefs.h"  #include "confdefs.h"
9203  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
9204      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 9226  f = $ac_func; Line 9229  f = $ac_func;
9229  }  }
9230  _ACEOF  _ACEOF
9231  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9232  if { (eval echo "$as_me:9229: \"$ac_link\"") >&5  if { (eval echo "$as_me:9232: \"$ac_link\"") >&5
9233    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9234    ac_status=$?    ac_status=$?
9235    echo "$as_me:9232: \$? = $ac_status" >&5    echo "$as_me:9235: \$? = $ac_status" >&5
9236    (exit $ac_status); } &&    (exit $ac_status); } &&
9237           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9238    { (eval echo "$as_me:9235: \"$ac_try\"") >&5    { (eval echo "$as_me:9238: \"$ac_try\"") >&5
9239    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9240    ac_status=$?    ac_status=$?
9241    echo "$as_me:9238: \$? = $ac_status" >&5    echo "$as_me:9241: \$? = $ac_status" >&5
9242    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9243    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
9244  else  else
# Line 9245  eval "$as_ac_var=no" Line 9248  eval "$as_ac_var=no"
9248  fi  fi
9249  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9250  fi  fi
9251  echo "$as_me:9248: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:9251: result: `eval echo '${'$as_ac_var'}'`" >&5
9252  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9253  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
9254    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 9261  EOF Line 9264  EOF
9264    
9265  # Figure out what our getloadavg.c needs.  # Figure out what our getloadavg.c needs.
9266  ac_have_func=no  ac_have_func=no
9267  echo "$as_me:9264: checking for sys/dg_sys_info.h" >&5  echo "$as_me:9267: checking for sys/dg_sys_info.h" >&5
9268  echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6  echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
9269  if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then  if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
9270    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9271  else  else
9272    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9273  #line 9270 "configure"  #line 9273 "configure"
9274  #include "confdefs.h"  #include "confdefs.h"
9275  #include <sys/dg_sys_info.h>  #include <sys/dg_sys_info.h>
9276  _ACEOF  _ACEOF
9277  if { (eval echo "$as_me:9274: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:9277: \"$ac_cpp conftest.$ac_ext\"") >&5
9278    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9279    ac_status=$?    ac_status=$?
9280    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
9281    rm -f conftest.er1    rm -f conftest.er1
9282    cat conftest.err >&5    cat conftest.err >&5
9283    echo "$as_me:9280: \$? = $ac_status" >&5    echo "$as_me:9283: \$? = $ac_status" >&5
9284    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
9285    if test -s conftest.err; then    if test -s conftest.err; then
9286      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 9296  else Line 9299  else
9299  fi  fi
9300  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
9301  fi  fi
9302  echo "$as_me:9299: result: $ac_cv_header_sys_dg_sys_info_h" >&5  echo "$as_me:9302: result: $ac_cv_header_sys_dg_sys_info_h" >&5
9303  echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6  echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
9304  if test $ac_cv_header_sys_dg_sys_info_h = yes; then  if test $ac_cv_header_sys_dg_sys_info_h = yes; then
9305    ac_have_func=yes    ac_have_func=yes
# Line 9305  cat >>confdefs.h <<\EOF Line 9308  cat >>confdefs.h <<\EOF
9308  #define DGUX 1  #define DGUX 1
9309  EOF  EOF
9310    
9311  echo "$as_me:9308: checking for dg_sys_info in -ldgc" >&5  echo "$as_me:9311: checking for dg_sys_info in -ldgc" >&5
9312  echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6  echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6
9313  if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then  if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then
9314    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 9313  else Line 9316  else
9316    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
9317  LIBS="-ldgc  $LIBS"  LIBS="-ldgc  $LIBS"
9318  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
9319  #line 9316 "configure"  #line 9319 "configure"
9320  #include "confdefs.h"  #include "confdefs.h"
9321    
9322  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 9332  dg_sys_info (); Line 9335  dg_sys_info ();
9335  }  }
9336  _ACEOF  _ACEOF
9337  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9338  if { (eval echo "$as_me:9335: \"$ac_link\"") >&5  if { (eval echo "$as_me:9338: \"$ac_link\"") >&5
9339    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9340    ac_status=$?    ac_status=$?
9341    echo "$as_me:9338: \$? = $ac_status" >&5    echo "$as_me:9341: \$? = $ac_status" >&5
9342    (exit $ac_status); } &&    (exit $ac_status); } &&
9343           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9344    { (eval echo "$as_me:9341: \"$ac_try\"") >&5    { (eval echo "$as_me:9344: \"$ac_try\"") >&5
9345    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9346    ac_status=$?    ac_status=$?
9347    echo "$as_me:9344: \$? = $ac_status" >&5    echo "$as_me:9347: \$? = $ac_status" >&5
9348    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9349    ac_cv_lib_dgc_dg_sys_info=yes    ac_cv_lib_dgc_dg_sys_info=yes
9350  else  else
# Line 9352  fi Line 9355  fi
9355  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9356  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
9357  fi  fi
9358  echo "$as_me:9355: result: $ac_cv_lib_dgc_dg_sys_info" >&5  echo "$as_me:9358: result: $ac_cv_lib_dgc_dg_sys_info" >&5
9359  echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6  echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6
9360  if test $ac_cv_lib_dgc_dg_sys_info = yes; then  if test $ac_cv_lib_dgc_dg_sys_info = yes; then
9361    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 9365  fi Line 9368  fi
9368    
9369  fi  fi
9370    
9371  echo "$as_me:9368: checking for locale.h" >&5  echo "$as_me:9371: checking for locale.h" >&5
9372  echo $ECHO_N "checking for locale.h... $ECHO_C" >&6  echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
9373  if test "${ac_cv_header_locale_h+set}" = set; then  if test "${ac_cv_header_locale_h+set}" = set; then
9374    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9375  else  else
9376    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9377  #line 9374 "configure"  #line 9377 "configure"
9378  #include "confdefs.h"  #include "confdefs.h"
9379  #include <locale.h>  #include <locale.h>
9380  _ACEOF  _ACEOF
9381  if { (eval echo "$as_me:9378: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:9381: \"$ac_cpp conftest.$ac_ext\"") >&5
9382    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9383    ac_status=$?    ac_status=$?
9384    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
9385    rm -f conftest.er1    rm -f conftest.er1
9386    cat conftest.err >&5    cat conftest.err >&5
9387    echo "$as_me:9384: \$? = $ac_status" >&5    echo "$as_me:9387: \$? = $ac_status" >&5
9388    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
9389    if test -s conftest.err; then    if test -s conftest.err; then
9390      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 9400  else Line 9403  else
9403  fi  fi
9404  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
9405  fi  fi
9406  echo "$as_me:9403: result: $ac_cv_header_locale_h" >&5  echo "$as_me:9406: result: $ac_cv_header_locale_h" >&5
9407  echo "${ECHO_T}$ac_cv_header_locale_h" >&6  echo "${ECHO_T}$ac_cv_header_locale_h" >&6
9408    
9409  for ac_func in setlocale  for ac_func in setlocale
9410  do  do
9411  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9412  echo "$as_me:9409: checking for $ac_func" >&5  echo "$as_me:9412: checking for $ac_func" >&5
9413  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9414  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
9415    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9416  else  else
9417    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9418  #line 9415 "configure"  #line 9418 "configure"
9419  #include "confdefs.h"  #include "confdefs.h"
9420  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
9421      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 9443  f = $ac_func; Line 9446  f = $ac_func;
9446  }  }
9447  _ACEOF  _ACEOF
9448  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9449  if { (eval echo "$as_me:9446: \"$ac_link\"") >&5  if { (eval echo "$as_me:9449: \"$ac_link\"") >&5
9450    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9451    ac_status=$?    ac_status=$?
9452    echo "$as_me:9449: \$? = $ac_status" >&5    echo "$as_me:9452: \$? = $ac_status" >&5
9453    (exit $ac_status); } &&    (exit $ac_status); } &&
9454           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9455    { (eval echo "$as_me:9452: \"$ac_try\"") >&5    { (eval echo "$as_me:9455: \"$ac_try\"") >&5
9456    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9457    ac_status=$?    ac_status=$?
9458    echo "$as_me:9455: \$? = $ac_status" >&5    echo "$as_me:9458: \$? = $ac_status" >&5
9459    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9460    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
9461  else  else
# Line 9462  eval "$as_ac_var=no" Line 9465  eval "$as_ac_var=no"
9465  fi  fi
9466  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9467  fi  fi
9468  echo "$as_me:9465: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:9468: result: `eval echo '${'$as_ac_var'}'`" >&5
9469  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9470  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
9471    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 9485  EOF Line 9488  EOF
9488  fi  fi
9489    
9490  if test $ac_have_func = no; then  if test $ac_have_func = no; then
9491    echo "$as_me:9488: checking for inq_stats/cpustats.h" >&5    echo "$as_me:9491: checking for inq_stats/cpustats.h" >&5
9492  echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6  echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
9493  if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then  if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
9494    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9495  else  else
9496    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9497  #line 9494 "configure"  #line 9497 "configure"
9498  #include "confdefs.h"  #include "confdefs.h"
9499  #include <inq_stats/cpustats.h>  #include <inq_stats/cpustats.h>
9500  _ACEOF  _ACEOF
9501  if { (eval echo "$as_me:9498: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:9501: \"$ac_cpp conftest.$ac_ext\"") >&5
9502    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9503    ac_status=$?    ac_status=$?
9504    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
9505    rm -f conftest.er1    rm -f conftest.er1
9506    cat conftest.err >&5    cat conftest.err >&5
9507    echo "$as_me:9504: \$? = $ac_status" >&5    echo "$as_me:9507: \$? = $ac_status" >&5
9508    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
9509    if test -s conftest.err; then    if test -s conftest.err; then
9510      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 9520  else Line 9523  else
9523  fi  fi
9524  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
9525  fi  fi
9526  echo "$as_me:9523: result: $ac_cv_header_inq_stats_cpustats_h" >&5  echo "$as_me:9526: result: $ac_cv_header_inq_stats_cpustats_h" >&5
9527  echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6  echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
9528  if test $ac_cv_header_inq_stats_cpustats_h = yes; then  if test $ac_cv_header_inq_stats_cpustats_h = yes; then
9529    ac_have_func=yes    ac_have_func=yes
# Line 9538  fi Line 9541  fi
9541  fi  fi
9542    
9543  if test $ac_have_func = no; then  if test $ac_have_func = no; then
9544    echo "$as_me:9541: checking for sys/cpustats.h" >&5    echo "$as_me:9544: checking for sys/cpustats.h" >&5
9545  echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6  echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
9546  if test "${ac_cv_header_sys_cpustats_h+set}" = set; then  if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
9547    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9548  else  else
9549    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9550  #line 9547 "configure"  #line 9550 "configure"
9551  #include "confdefs.h"  #include "confdefs.h"
9552  #include <sys/cpustats.h>  #include <sys/cpustats.h>
9553  _ACEOF  _ACEOF
9554  if { (eval echo "$as_me:9551: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:9554: \"$ac_cpp conftest.$ac_ext\"") >&5
9555    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9556    ac_status=$?    ac_status=$?
9557    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
9558    rm -f conftest.er1    rm -f conftest.er1
9559    cat conftest.err >&5    cat conftest.err >&5
9560    echo "$as_me:9557: \$? = $ac_status" >&5    echo "$as_me:9560: \$? = $ac_status" >&5
9561    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
9562    if test -s conftest.err; then    if test -s conftest.err; then
9563      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 9573  else Line 9576  else
9576  fi  fi
9577  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
9578  fi  fi
9579  echo "$as_me:9576: result: $ac_cv_header_sys_cpustats_h" >&5  echo "$as_me:9579: result: $ac_cv_header_sys_cpustats_h" >&5
9580  echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6  echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
9581  if test $ac_cv_header_sys_cpustats_h = yes; then  if test $ac_cv_header_sys_cpustats_h = yes; then
9582    ac_have_func=yes; cat >>confdefs.h <<\EOF    ac_have_func=yes; cat >>confdefs.h <<\EOF
# Line 9589  if test $ac_have_func = no; then Line 9592  if test $ac_have_func = no; then
9592  for ac_header in mach/mach.h  for ac_header in mach/mach.h
9593  do  do
9594  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9595  echo "$as_me:9592: checking for $ac_header" >&5  echo "$as_me:9595: checking for $ac_header" >&5
9596  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9597  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
9598    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9599  else  else
9600    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9601  #line 9598 "configure"  #line 9601 "configure"
9602  #include "confdefs.h"  #include "confdefs.h"
9603  #include <$ac_header>  #include <$ac_header>
9604  _ACEOF  _ACEOF
9605  if { (eval echo "$as_me:9602: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:9605: \"$ac_cpp conftest.$ac_ext\"") >&5
9606    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9607    ac_status=$?    ac_status=$?
9608    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
9609    rm -f conftest.er1    rm -f conftest.er1
9610    cat conftest.err >&5    cat conftest.err >&5
9611    echo "$as_me:9608: \$? = $ac_status" >&5    echo "$as_me:9611: \$? = $ac_status" >&5
9612    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
9613    if test -s conftest.err; then    if test -s conftest.err; then
9614      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 9624  else Line 9627  else
9627  fi  fi
9628  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
9629  fi  fi
9630  echo "$as_me:9627: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:9630: result: `eval echo '${'$as_ac_Header'}'`" >&5
9631  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9632  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
9633    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 9639  fi Line 9642  fi
9642  for ac_header in nlist.h  for ac_header in nlist.h
9643  do  do
9644  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9645  echo "$as_me:9642: checking for $ac_header" >&5  echo "$as_me:9645: checking for $ac_header" >&5
9646  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9647  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
9648    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9649  else  else
9650    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9651  #line 9648 "configure"  #line 9651 "configure"
9652  #include "confdefs.h"  #include "confdefs.h"
9653  #include <$ac_header>  #include <$ac_header>
9654  _ACEOF  _ACEOF
9655  if { (eval echo "$as_me:9652: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:9655: \"$ac_cpp conftest.$ac_ext\"") >&5
9656    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9657    ac_status=$?    ac_status=$?
9658    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
9659    rm -f conftest.er1    rm -f conftest.er1
9660    cat conftest.err >&5    cat conftest.err >&5
9661    echo "$as_me:9658: \$? = $ac_status" >&5    echo "$as_me:9661: \$? = $ac_status" >&5
9662    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
9663    if test -s conftest.err; then    if test -s conftest.err; then
9664      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 9674  else Line 9677  else
9677  fi  fi
9678  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
9679  fi  fi
9680  echo "$as_me:9677: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:9680: result: `eval echo '${'$as_ac_Header'}'`" >&5
9681  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9682  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
9683    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
9684  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9685  EOF  EOF
9686   echo "$as_me:9683: checking for struct nlist.n_un.n_name" >&5   echo "$as_me:9686: checking for struct nlist.n_un.n_name" >&5
9687  echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6  echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6
9688  if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then  if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then
9689    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9690  else  else
9691    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9692  #line 9689 "configure"  #line 9692 "configure"
9693  #include "confdefs.h"  #include "confdefs.h"
9694  #include <nlist.h>  #include <nlist.h>
9695    
# Line 9701  return 0; Line 9704  return 0;
9704  }  }
9705  _ACEOF  _ACEOF
9706  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
9707  if { (eval echo "$as_me:9704: \"$ac_compile\"") >&5  if { (eval echo "$as_me:9707: \"$ac_compile\"") >&5
9708    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
9709    ac_status=$?    ac_status=$?
9710    echo "$as_me:9707: \$? = $ac_status" >&5    echo "$as_me:9710: \$? = $ac_status" >&5
9711    (exit $ac_status); } &&    (exit $ac_status); } &&
9712           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
9713    { (eval echo "$as_me:9710: \"$ac_try\"") >&5    { (eval echo "$as_me:9713: \"$ac_try\"") >&5
9714    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9715    ac_status=$?    ac_status=$?
9716    echo "$as_me:9713: \$? = $ac_status" >&5    echo "$as_me:9716: \$? = $ac_status" >&5
9717    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9718    ac_cv_member_struct_nlist_n_un_n_name=yes    ac_cv_member_struct_nlist_n_un_n_name=yes
9719  else  else
# Line 9720  ac_cv_member_struct_nlist_n_un_n_name=no Line 9723  ac_cv_member_struct_nlist_n_un_n_name=no
9723  fi  fi
9724  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
9725  fi  fi
9726  echo "$as_me:9723: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5  echo "$as_me:9726: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5
9727  echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6  echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6
9728  if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then  if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then
9729    
# Line 9741  fi Line 9744  fi
9744  done  done
9745    
9746  # Some definitions of getloadavg require that the program be installed setgid.  # Some definitions of getloadavg require that the program be installed setgid.
9747  echo "$as_me:9744: checking whether getloadavg requires setgid" >&5  echo "$as_me:9747: checking whether getloadavg requires setgid" >&5
9748  echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6  echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6
9749  if test "${ac_cv_func_getloadavg_setgid+set}" = set; then  if test "${ac_cv_func_getloadavg_setgid+set}" = set; then
9750    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9751  else  else
9752    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9753  #line 9750 "configure"  #line 9753 "configure"
9754  #include "confdefs.h"  #include "confdefs.h"
9755  #include "$srcdir/getloadavg.c"  #include "$srcdir/getloadavg.c"
9756  #ifdef LDAV_PRIVILEGED  #ifdef LDAV_PRIVILEGED
# Line 9763  fi Line 9766  fi
9766  rm -f conftest*  rm -f conftest*
9767    
9768  fi  fi
9769  echo "$as_me:9766: result: $ac_cv_func_getloadavg_setgid" >&5  echo "$as_me:9769: result: $ac_cv_func_getloadavg_setgid" >&5
9770  echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6  echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6
9771  if test $ac_cv_func_getloadavg_setgid = yes; then  if test $ac_cv_func_getloadavg_setgid = yes; then
9772    NEED_SETGID=true    NEED_SETGID=true
# Line 9777  else Line 9780  else
9780  fi  fi
9781    
9782  if test $ac_cv_func_getloadavg_setgid = yes; then  if test $ac_cv_func_getloadavg_setgid = yes; then
9783    echo "$as_me:9780: checking group of /dev/kmem" >&5    echo "$as_me:9783: checking group of /dev/kmem" >&5
9784  echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6  echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6
9785  if test "${ac_cv_group_kmem+set}" = set; then  if test "${ac_cv_group_kmem+set}" = set; then
9786    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 9792  else Line 9795  else
9795                 / /s/.* //;p;'`                 / /s/.* //;p;'`
9796    
9797  fi  fi
9798  echo "$as_me:9795: result: $ac_cv_group_kmem" >&5  echo "$as_me:9798: result: $ac_cv_group_kmem" >&5
9799  echo "${ECHO_T}$ac_cv_group_kmem" >&6  echo "${ECHO_T}$ac_cv_group_kmem" >&6
9800    KMEM_GROUP=$ac_cv_group_kmem    KMEM_GROUP=$ac_cv_group_kmem
9801  fi  fi
# Line 9803  else Line 9806  else
9806  fi  fi
9807  LIBS=$ac_save_LIBS  LIBS=$ac_save_LIBS
9808    
9809  echo "$as_me:9806: checking for _LARGEFILE_SOURCE value needed for large files" >&5  echo "$as_me:9809: checking for _LARGEFILE_SOURCE value needed for large files" >&5
9810  echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6  echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
9811  if test "${ac_cv_sys_largefile_source+set}" = set; then  if test "${ac_cv_sys_largefile_source+set}" = set; then
9812    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 9811  else Line 9814  else
9814    while :; do    while :; do
9815    ac_cv_sys_largefile_source=no    ac_cv_sys_largefile_source=no
9816    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9817  #line 9814 "configure"  #line 9817 "configure"
9818  #include "confdefs.h"  #include "confdefs.h"
9819  #include <stdio.h>  #include <stdio.h>
9820  int  int
# Line 9823  return !fseeko; Line 9826  return !fseeko;
9826  }  }
9827  _ACEOF  _ACEOF
9828  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
9829  if { (eval echo "$as_me:9826: \"$ac_compile\"") >&5  if { (eval echo "$as_me:9829: \"$ac_compile\"") >&5
9830    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
9831    ac_status=$?    ac_status=$?
9832    echo "$as_me:9829: \$? = $ac_status" >&5    echo "$as_me:9832: \$? = $ac_status" >&5
9833    (exit $ac_status); } &&    (exit $ac_status); } &&
9834           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
9835    { (eval echo "$as_me:9832: \"$ac_try\"") >&5    { (eval echo "$as_me:9835: \"$ac_try\"") >&5
9836    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9837    ac_status=$?    ac_status=$?
9838    echo "$as_me:9835: \$? = $ac_status" >&5    echo "$as_me:9838: \$? = $ac_status" >&5
9839    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9840    break    break
9841  else  else
# Line 9841  cat conftest.$ac_ext >&5 Line 9844  cat conftest.$ac_ext >&5
9844  fi  fi
9845  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
9846    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9847  #line 9844 "configure"  #line 9847 "configure"
9848  #include "confdefs.h"  #include "confdefs.h"
9849  #define _LARGEFILE_SOURCE 1  #define _LARGEFILE_SOURCE 1
9850  #include <stdio.h>  #include <stdio.h>
# Line 9854  return !fseeko; Line 9857  return !fseeko;
9857  }  }
9858  _ACEOF  _ACEOF
9859  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
9860  if { (eval echo "$as_me:9857: \"$ac_compile\"") >&5  if { (eval echo "$as_me:9860: \"$ac_compile\"") >&5
9861    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
9862    ac_status=$?    ac_status=$?
9863    echo "$as_me:9860: \$? = $ac_status" >&5    echo "$as_me:9863: \$? = $ac_status" >&5
9864    (exit $ac_status); } &&    (exit $ac_status); } &&
9865           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
9866    { (eval echo "$as_me:9863: \"$ac_try\"") >&5    { (eval echo "$as_me:9866: \"$ac_try\"") >&5
9867    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9868    ac_status=$?    ac_status=$?
9869    echo "$as_me:9866: \$? = $ac_status" >&5    echo "$as_me:9869: \$? = $ac_status" >&5
9870    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9871    ac_cv_sys_largefile_source=1; break    ac_cv_sys_largefile_source=1; break
9872  else  else
# Line 9874  rm -f conftest.$ac_objext conftest.$ac_e Line 9877  rm -f conftest.$ac_objext conftest.$ac_e
9877    break    break
9878  done  done
9879  fi  fi
9880  echo "$as_me:9877: result: $ac_cv_sys_largefile_source" >&5  echo "$as_me:9880: result: $ac_cv_sys_largefile_source" >&5
9881  echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6  echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
9882  if test "$ac_cv_sys_largefile_source" != no; then  if test "$ac_cv_sys_largefile_source" != no; then
9883    
# Line 9888  rm -f conftest* Line 9891  rm -f conftest*
9891  # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug  # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
9892  # in glibc 2.1.3, but that breaks too many other things.  # in glibc 2.1.3, but that breaks too many other things.
9893  # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.  # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
9894  echo "$as_me:9891: checking for fseeko" >&5  echo "$as_me:9894: checking for fseeko" >&5
9895  echo $ECHO_N "checking for fseeko... $ECHO_C" >&6  echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
9896  if test "${ac_cv_func_fseeko+set}" = set; then  if test "${ac_cv_func_fseeko+set}" = set; then
9897    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9898  else  else
9899    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9900  #line 9897 "configure"  #line 9900 "configure"
9901  #include "confdefs.h"  #include "confdefs.h"
9902  #include <stdio.h>  #include <stdio.h>
9903  int  int
# Line 9906  return fseeko && fseeko (stdin, 0, 0); Line 9909  return fseeko && fseeko (stdin, 0, 0);
9909  }  }
9910  _ACEOF  _ACEOF
9911  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9912  if { (eval echo "$as_me:9909: \"$ac_link\"") >&5  if { (eval echo "$as_me:9912: \"$ac_link\"") >&5
9913    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9914    ac_status=$?    ac_status=$?
9915    echo "$as_me:9912: \$? = $ac_status" >&5    echo "$as_me:9915: \$? = $ac_status" >&5
9916    (exit $ac_status); } &&    (exit $ac_status); } &&
9917           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9918    { (eval echo "$as_me:9915: \"$ac_try\"") >&5    { (eval echo "$as_me:9918: \"$ac_try\"") >&5
9919    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9920    ac_status=$?    ac_status=$?
9921    echo "$as_me:9918: \$? = $ac_status" >&5    echo "$as_me:9921: \$? = $ac_status" >&5
9922    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9923    ac_cv_func_fseeko=yes    ac_cv_func_fseeko=yes
9924  else  else
# Line 9925  ac_cv_func_fseeko=no Line 9928  ac_cv_func_fseeko=no
9928  fi  fi
9929  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9930  fi  fi
9931  echo "$as_me:9928: result: $ac_cv_func_fseeko" >&5  echo "$as_me:9931: result: $ac_cv_func_fseeko" >&5
9932  echo "${ECHO_T}$ac_cv_func_fseeko" >&6  echo "${ECHO_T}$ac_cv_func_fseeko" >&6
9933  if test $ac_cv_func_fseeko = yes; then  if test $ac_cv_func_fseeko = yes; then
9934    
# Line 9940  fi Line 9943  fi
9943  for ac_func in grantpt  for ac_func in grantpt
9944  do  do
9945  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9946  echo "$as_me:9943: checking for $ac_func" >&5  echo "$as_me:9946: checking for $ac_func" >&5
9947  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9948  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
9949    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9950  else  else
9951    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9952  #line 9949 "configure"  #line 9952 "configure"
9953  #include "confdefs.h"  #include "confdefs.h"
9954  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
9955      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 9977  f = $ac_func; Line 9980  f = $ac_func;
9980  }  }
9981  _ACEOF  _ACEOF
9982  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9983  if { (eval echo "$as_me:9980: \"$ac_link\"") >&5  if { (eval echo "$as_me:9983: \"$ac_link\"") >&5
9984    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9985    ac_status=$?    ac_status=$?
9986    echo "$as_me:9983: \$? = $ac_status" >&5    echo "$as_me:9986: \$? = $ac_status" >&5
9987    (exit $ac_status); } &&    (exit $ac_status); } &&
9988           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9989    { (eval echo "$as_me:9986: \"$ac_try\"") >&5    { (eval echo "$as_me:9989: \"$ac_try\"") >&5
9990    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9991    ac_status=$?    ac_status=$?
9992    echo "$as_me:9989: \$? = $ac_status" >&5    echo "$as_me:9992: \$? = $ac_status" >&5
9993    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9994    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
9995  else  else
# Line 9996  eval "$as_ac_var=no" Line 9999  eval "$as_ac_var=no"
9999  fi  fi
10000  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10001  fi  fi
10002  echo "$as_me:9999: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:10002: result: `eval echo '${'$as_ac_var'}'`" >&5
10003  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10004  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
10005    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10011  done Line 10014  done
10014  for ac_func in getpt  for ac_func in getpt
10015  do  do
10016  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10017  echo "$as_me:10014: checking for $ac_func" >&5  echo "$as_me:10017: checking for $ac_func" >&5
10018  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10019  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
10020    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
10021  else  else
10022    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
10023  #line 10020 "configure"  #line 10023 "configure"
10024  #include "confdefs.h"  #include "confdefs.h"
10025  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
10026      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 10048  f = $ac_func; Line 10051  f = $ac_func;
10051  }  }
10052  _ACEOF  _ACEOF
10053  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10054  if { (eval echo "$as_me:10051: \"$ac_link\"") >&5  if { (eval echo "$as_me:10054: \"$ac_link\"") >&5
10055    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10056    ac_status=$?    ac_status=$?
10057    echo "$as_me:10054: \$? = $ac_status" >&5    echo "$as_me:10057: \$? = $ac_status" >&5
10058    (exit $ac_status); } &&    (exit $ac_status); } &&
10059           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10060    { (eval echo "$as_me:10057: \"$ac_try\"") >&5    { (eval echo "$as_me:10060: \"$ac_try\"") >&5
10061    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10062    ac_status=$?    ac_status=$?
10063    echo "$as_me:10060: \$? = $ac_status" >&5    echo "$as_me:10063: \$? = $ac_status" >&5
10064    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10065    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
10066  else  else
# Line 10067  eval "$as_ac_var=no" Line 10070  eval "$as_ac_var=no"
10070  fi  fi
10071  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10072  fi  fi
10073  echo "$as_me:10070: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:10073: result: `eval echo '${'$as_ac_var'}'`" >&5
10074  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10075  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
10076    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10082  done Line 10085  done
10085  # It's better to believe a function is not available  # It's better to believe a function is not available
10086  # than to expect to find it in ncurses.  # than to expect to find it in ncurses.
10087    
10088  echo "$as_me:10085: checking for tparm in -lncurses" >&5  echo "$as_me:10088: checking for tparm in -lncurses" >&5
10089  echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6  echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6
10090  if test "${ac_cv_lib_ncurses_tparm+set}" = set; then  if test "${ac_cv_lib_ncurses_tparm+set}" = set; then
10091    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10090  else Line 10093  else
10093    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10094  LIBS="-lncurses  $LIBS"  LIBS="-lncurses  $LIBS"
10095  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10096  #line 10093 "configure"  #line 10096 "configure"
10097  #include "confdefs.h"  #include "confdefs.h"
10098    
10099  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10109  tparm (); Line 10112  tparm ();
10112  }  }
10113  _ACEOF  _ACEOF
10114  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10115  if { (eval echo "$as_me:10112: \"$ac_link\"") >&5  if { (eval echo "$as_me:10115: \"$ac_link\"") >&5
10116    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10117    ac_status=$?    ac_status=$?
10118    echo "$as_me:10115: \$? = $ac_status" >&5    echo "$as_me:10118: \$? = $ac_status" >&5
10119    (exit $ac_status); } &&    (exit $ac_status); } &&
10120           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10121    { (eval echo "$as_me:10118: \"$ac_try\"") >&5    { (eval echo "$as_me:10121: \"$ac_try\"") >&5
10122    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10123    ac_status=$?    ac_status=$?
10124    echo "$as_me:10121: \$? = $ac_status" >&5    echo "$as_me:10124: \$? = $ac_status" >&5
10125    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10126    ac_cv_lib_ncurses_tparm=yes    ac_cv_lib_ncurses_tparm=yes
10127  else  else
# Line 10129  fi Line 10132  fi
10132  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10133  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10134  fi  fi
10135  echo "$as_me:10132: result: $ac_cv_lib_ncurses_tparm" >&5  echo "$as_me:10135: result: $ac_cv_lib_ncurses_tparm" >&5
10136  echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6  echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6
10137  if test $ac_cv_lib_ncurses_tparm = yes; then  if test $ac_cv_lib_ncurses_tparm = yes; then
10138    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10144  fi Line 10147  fi
10147  if test "$with_hesiod" = yes ; then  if test "$with_hesiod" = yes ; then
10148    # Don't set $LIBS here -- see comments above.    # Don't set $LIBS here -- see comments above.
10149    resolv=no    resolv=no
10150    echo "$as_me:10147: checking for res_send" >&5    echo "$as_me:10150: checking for res_send" >&5
10151  echo $ECHO_N "checking for res_send... $ECHO_C" >&6  echo $ECHO_N "checking for res_send... $ECHO_C" >&6
10152  if test "${ac_cv_func_res_send+set}" = set; then  if test "${ac_cv_func_res_send+set}" = set; then
10153    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
10154  else  else
10155    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
10156  #line 10153 "configure"  #line 10156 "configure"
10157  #include "confdefs.h"  #include "confdefs.h"
10158  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
10159      which can conflict with char res_send (); below.  */      which can conflict with char res_send (); below.  */
# Line 10181  f = res_send; Line 10184  f = res_send;
10184  }  }
10185  _ACEOF  _ACEOF
10186  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10187  if { (eval echo "$as_me:10184: \"$ac_link\"") >&5  if { (eval echo "$as_me:10187: \"$ac_link\"") >&5
10188    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10189    ac_status=$?    ac_status=$?
10190    echo "$as_me:10187: \$? = $ac_status" >&5    echo "$as_me:10190: \$? = $ac_status" >&5
10191    (exit $ac_status); } &&    (exit $ac_status); } &&
10192           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10193    { (eval echo "$as_me:10190: \"$ac_try\"") >&5    { (eval echo "$as_me:10193: \"$ac_try\"") >&5
10194    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10195    ac_status=$?    ac_status=$?
10196    echo "$as_me:10193: \$? = $ac_status" >&5    echo "$as_me:10196: \$? = $ac_status" >&5
10197    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10198    ac_cv_func_res_send=yes    ac_cv_func_res_send=yes
10199  else  else
# Line 10200  ac_cv_func_res_send=no Line 10203  ac_cv_func_res_send=no
10203  fi  fi
10204  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10205  fi  fi
10206  echo "$as_me:10203: result: $ac_cv_func_res_send" >&5  echo "$as_me:10206: result: $ac_cv_func_res_send" >&5
10207  echo "${ECHO_T}$ac_cv_func_res_send" >&6  echo "${ECHO_T}$ac_cv_func_res_send" >&6
10208  if test $ac_cv_func_res_send = yes; then  if test $ac_cv_func_res_send = yes; then
10209    :    :
10210  else  else
10211    echo "$as_me:10208: checking for __res_send" >&5    echo "$as_me:10211: checking for __res_send" >&5
10212  echo $ECHO_N "checking for __res_send... $ECHO_C" >&6  echo $ECHO_N "checking for __res_send... $ECHO_C" >&6
10213  if test "${ac_cv_func___res_send+set}" = set; then  if test "${ac_cv_func___res_send+set}" = set; then
10214    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
10215  else  else
10216    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
10217  #line 10214 "configure"  #line 10217 "configure"
10218  #include "confdefs.h"  #include "confdefs.h"
10219  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
10220      which can conflict with char __res_send (); below.  */      which can conflict with char __res_send (); below.  */
# Line 10242  f = __res_send; Line 10245  f = __res_send;
10245  }  }
10246  _ACEOF  _ACEOF
10247  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10248  if { (eval echo "$as_me:10245: \"$ac_link\"") >&5  if { (eval echo "$as_me:10248: \"$ac_link\"") >&5
10249    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10250    ac_status=$?    ac_status=$?
10251    echo "$as_me:10248: \$? = $ac_status" >&5    echo "$as_me:10251: \$? = $ac_status" >&5
10252    (exit $ac_status); } &&    (exit $ac_status); } &&
10253           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10254    { (eval echo "$as_me:10251: \"$ac_try\"") >&5    { (eval echo "$as_me:10254: \"$ac_try\"") >&5
10255    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10256    ac_status=$?    ac_status=$?
10257    echo "$as_me:10254: \$? = $ac_status" >&5    echo "$as_me:10257: \$? = $ac_status" >&5
10258    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10259    ac_cv_func___res_send=yes    ac_cv_func___res_send=yes
10260  else  else
# Line 10261  ac_cv_func___res_send=no Line 10264  ac_cv_func___res_send=no
10264  fi  fi
10265  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10266  fi  fi
10267  echo "$as_me:10264: result: $ac_cv_func___res_send" >&5  echo "$as_me:10267: result: $ac_cv_func___res_send" >&5
10268  echo "${ECHO_T}$ac_cv_func___res_send" >&6  echo "${ECHO_T}$ac_cv_func___res_send" >&6
10269  if test $ac_cv_func___res_send = yes; then  if test $ac_cv_func___res_send = yes; then
10270    :    :
10271  else  else
10272    echo "$as_me:10269: checking for res_send in -lresolv" >&5    echo "$as_me:10272: checking for res_send in -lresolv" >&5
10273  echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6  echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6
10274  if test "${ac_cv_lib_resolv_res_send+set}" = set; then  if test "${ac_cv_lib_resolv_res_send+set}" = set; then
10275    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10274  else Line 10277  else
10277    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10278  LIBS="-lresolv  $LIBS"  LIBS="-lresolv  $LIBS"
10279  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10280  #line 10277 "configure"  #line 10280 "configure"
10281  #include "confdefs.h"  #include "confdefs.h"
10282    
10283  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10293  res_send (); Line 10296  res_send ();
10296  }  }
10297  _ACEOF  _ACEOF
10298  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10299  if { (eval echo "$as_me:10296: \"$ac_link\"") >&5  if { (eval echo "$as_me:10299: \"$ac_link\"") >&5
10300    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10301    ac_status=$?    ac_status=$?
10302    echo "$as_me:10299: \$? = $ac_status" >&5    echo "$as_me:10302: \$? = $ac_status" >&5
10303    (exit $ac_status); } &&    (exit $ac_status); } &&
10304           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10305    { (eval echo "$as_me:10302: \"$ac_try\"") >&5    { (eval echo "$as_me:10305: \"$ac_try\"") >&5
10306    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10307    ac_status=$?    ac_status=$?
10308    echo "$as_me:10305: \$? = $ac_status" >&5    echo "$as_me:10308: \$? = $ac_status" >&5
10309    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10310    ac_cv_lib_resolv_res_send=yes    ac_cv_lib_resolv_res_send=yes
10311  else  else
# Line 10313  fi Line 10316  fi
10316  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10317  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10318  fi  fi
10319  echo "$as_me:10316: result: $ac_cv_lib_resolv_res_send" >&5  echo "$as_me:10319: result: $ac_cv_lib_resolv_res_send" >&5
10320  echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6  echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6
10321  if test $ac_cv_lib_resolv_res_send = yes; then  if test $ac_cv_lib_resolv_res_send = yes; then
10322    resolv=yes    resolv=yes
10323  else  else
10324    echo "$as_me:10321: checking for __res_send in -lresolv" >&5    echo "$as_me:10324: checking for __res_send in -lresolv" >&5
10325  echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6  echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6
10326  if test "${ac_cv_lib_resolv___res_send+set}" = set; then  if test "${ac_cv_lib_resolv___res_send+set}" = set; then
10327    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10326  else Line 10329  else
10329    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10330  LIBS="-lresolv  $LIBS"  LIBS="-lresolv  $LIBS"
10331  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10332  #line 10329 "configure"  #line 10332 "configure"
10333  #include "confdefs.h"  #include "confdefs.h"
10334    
10335  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10345  __res_send (); Line 10348  __res_send ();
10348  }  }
10349  _ACEOF  _ACEOF
10350  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10351  if { (eval echo "$as_me:10348: \"$ac_link\"") >&5  if { (eval echo "$as_me:10351: \"$ac_link\"") >&5
10352    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10353    ac_status=$?    ac_status=$?
10354    echo "$as_me:10351: \$? = $ac_status" >&5    echo "$as_me:10354: \$? = $ac_status" >&5
10355    (exit $ac_status); } &&    (exit $ac_status); } &&
10356           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10357    { (eval echo "$as_me:10354: \"$ac_try\"") >&5    { (eval echo "$as_me:10357: \"$ac_try\"") >&5
10358    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10359    ac_status=$?    ac_status=$?
10360    echo "$as_me:10357: \$? = $ac_status" >&5    echo "$as_me:10360: \$? = $ac_status" >&5
10361    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10362    ac_cv_lib_resolv___res_send=yes    ac_cv_lib_resolv___res_send=yes
10363  else  else
# Line 10365  fi Line 10368  fi
10368  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10369  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10370  fi  fi
10371  echo "$as_me:10368: result: $ac_cv_lib_resolv___res_send" >&5  echo "$as_me:10371: result: $ac_cv_lib_resolv___res_send" >&5
10372  echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6  echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6
10373  if test $ac_cv_lib_resolv___res_send = yes; then  if test $ac_cv_lib_resolv___res_send = yes; then
10374    resolv=yes    resolv=yes
# Line 10386  EOF Line 10389  EOF
10389    else    else
10390      RESOLVLIB=      RESOLVLIB=
10391    fi    fi
10392    echo "$as_me:10389: checking for hes_getmailhost" >&5    echo "$as_me:10392: checking for hes_getmailhost" >&5
10393  echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6  echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6
10394  if test "${ac_cv_func_hes_getmailhost+set}" = set; then  if test "${ac_cv_func_hes_getmailhost+set}" = set; then
10395    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
10396  else  else
10397    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
10398  #line 10395 "configure"  #line 10398 "configure"
10399  #include "confdefs.h"  #include "confdefs.h"
10400  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
10401      which can conflict with char hes_getmailhost (); below.  */      which can conflict with char hes_getmailhost (); below.  */
# Line 10423  f = hes_getmailhost; Line 10426  f = hes_getmailhost;
10426  }  }
10427  _ACEOF  _ACEOF
10428  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10429  if { (eval echo "$as_me:10426: \"$ac_link\"") >&5  if { (eval echo "$as_me:10429: \"$ac_link\"") >&5
10430    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10431    ac_status=$?    ac_status=$?
10432    echo "$as_me:10429: \$? = $ac_status" >&5    echo "$as_me:10432: \$? = $ac_status" >&5
10433    (exit $ac_status); } &&    (exit $ac_status); } &&
10434           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10435    { (eval echo "$as_me:10432: \"$ac_try\"") >&5    { (eval echo "$as_me:10435: \"$ac_try\"") >&5
10436    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10437    ac_status=$?    ac_status=$?
10438    echo "$as_me:10435: \$? = $ac_status" >&5    echo "$as_me:10438: \$? = $ac_status" >&5
10439    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10440    ac_cv_func_hes_getmailhost=yes    ac_cv_func_hes_getmailhost=yes
10441  else  else
# Line 10442  ac_cv_func_hes_getmailhost=no Line 10445  ac_cv_func_hes_getmailhost=no
10445  fi  fi
10446  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10447  fi  fi
10448  echo "$as_me:10445: result: $ac_cv_func_hes_getmailhost" >&5  echo "$as_me:10448: result: $ac_cv_func_hes_getmailhost" >&5
10449  echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6  echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6
10450  if test $ac_cv_func_hes_getmailhost = yes; then  if test $ac_cv_func_hes_getmailhost = yes; then
10451    :    :
10452  else  else
10453    echo "$as_me:10450: checking for hes_getmailhost in -lhesiod" >&5    echo "$as_me:10453: checking for hes_getmailhost in -lhesiod" >&5
10454  echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6  echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6
10455  if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then  if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then
10456    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10455  else Line 10458  else
10458    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10459  LIBS="-lhesiod $RESOLVLIB $LIBS"  LIBS="-lhesiod $RESOLVLIB $LIBS"
10460  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10461  #line 10458 "configure"  #line 10461 "configure"
10462  #include "confdefs.h"  #include "confdefs.h"
10463    
10464  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10474  hes_getmailhost (); Line 10477  hes_getmailhost ();
10477  }  }
10478  _ACEOF  _ACEOF
10479  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10480  if { (eval echo "$as_me:10477: \"$ac_link\"") >&5  if { (eval echo "$as_me:10480: \"$ac_link\"") >&5
10481    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10482    ac_status=$?    ac_status=$?
10483    echo "$as_me:10480: \$? = $ac_status" >&5    echo "$as_me:10483: \$? = $ac_status" >&5
10484    (exit $ac_status); } &&    (exit $ac_status); } &&
10485           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10486    { (eval echo "$as_me:10483: \"$ac_try\"") >&5    { (eval echo "$as_me:10486: \"$ac_try\"") >&5
10487    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10488    ac_status=$?    ac_status=$?
10489    echo "$as_me:10486: \$? = $ac_status" >&5    echo "$as_me:10489: \$? = $ac_status" >&5
10490    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10491    ac_cv_lib_hesiod_hes_getmailhost=yes    ac_cv_lib_hesiod_hes_getmailhost=yes
10492  else  else
# Line 10494  fi Line 10497  fi
10497  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10498  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10499  fi  fi
10500  echo "$as_me:10497: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5  echo "$as_me:10500: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5
10501  echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6  echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6
10502  if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then  if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then
10503    cat >>confdefs.h <<\EOF    cat >>confdefs.h <<\EOF
# Line 10512  fi Line 10515  fi
10515  # These tell us which Kerberos-related libraries to use.  # These tell us which Kerberos-related libraries to use.
10516  if test "${with_kerberos+set}" = set; then  if test "${with_kerberos+set}" = set; then
10517    
10518  echo "$as_me:10515: checking for com_err in -lcom_err" >&5  echo "$as_me:10518: checking for com_err in -lcom_err" >&5
10519  echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6  echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6
10520  if test "${ac_cv_lib_com_err_com_err+set}" = set; then  if test "${ac_cv_lib_com_err_com_err+set}" = set; then
10521    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10520  else Line 10523  else
10523    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10524  LIBS="-lcom_err  $LIBS"  LIBS="-lcom_err  $LIBS"
10525  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10526  #line 10523 "configure"  #line 10526 "configure"
10527  #include "confdefs.h"  #include "confdefs.h"
10528    
10529  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10539  com_err (); Line 10542  com_err ();
10542  }  }
10543  _ACEOF  _ACEOF
10544  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10545  if { (eval echo "$as_me:10542: \"$ac_link\"") >&5  if { (eval echo "$as_me:10545: \"$ac_link\"") >&5
10546    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10547    ac_status=$?    ac_status=$?
10548    echo "$as_me:10545: \$? = $ac_status" >&5    echo "$as_me:10548: \$? = $ac_status" >&5
10549    (exit $ac_status); } &&    (exit $ac_status); } &&
10550           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10551    { (eval echo "$as_me:10548: \"$ac_try\"") >&5    { (eval echo "$as_me:10551: \"$ac_try\"") >&5
10552    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10553    ac_status=$?    ac_status=$?
10554    echo "$as_me:10551: \$? = $ac_status" >&5    echo "$as_me:10554: \$? = $ac_status" >&5
10555    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10556    ac_cv_lib_com_err_com_err=yes    ac_cv_lib_com_err_com_err=yes
10557  else  else
# Line 10559  fi Line 10562  fi
10562  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10563  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10564  fi  fi
10565  echo "$as_me:10562: result: $ac_cv_lib_com_err_com_err" >&5  echo "$as_me:10565: result: $ac_cv_lib_com_err_com_err" >&5
10566  echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6  echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6
10567  if test $ac_cv_lib_com_err_com_err = yes; then  if test $ac_cv_lib_com_err_com_err = yes; then
10568    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10570  EOF Line 10573  EOF
10573    
10574  fi  fi
10575    
10576  echo "$as_me:10573: checking for mit_des_cbc_encrypt in -lk5crypto" >&5  echo "$as_me:10576: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
10577  echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6  echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6
10578  if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then  if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then
10579    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10578  else Line 10581  else
10581    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10582  LIBS="-lk5crypto  $LIBS"  LIBS="-lk5crypto  $LIBS"
10583  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10584  #line 10581 "configure"  #line 10584 "configure"
10585  #include "confdefs.h"  #include "confdefs.h"
10586    
10587  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10597  mit_des_cbc_encrypt (); Line 10600  mit_des_cbc_encrypt ();
10600  }  }
10601  _ACEOF  _ACEOF
10602  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10603  if { (eval echo "$as_me:10600: \"$ac_link\"") >&5  if { (eval echo "$as_me:10603: \"$ac_link\"") >&5
10604    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10605    ac_status=$?    ac_status=$?
10606    echo "$as_me:10603: \$? = $ac_status" >&5    echo "$as_me:10606: \$? = $ac_status" >&5
10607    (exit $ac_status); } &&    (exit $ac_status); } &&
10608           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10609    { (eval echo "$as_me:10606: \"$ac_try\"") >&5    { (eval echo "$as_me:10609: \"$ac_try\"") >&5
10610    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10611    ac_status=$?    ac_status=$?
10612    echo "$as_me:10609: \$? = $ac_status" >&5    echo "$as_me:10612: \$? = $ac_status" >&5
10613    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10614    ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes    ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes
10615  else  else
# Line 10617  fi Line 10620  fi
10620  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10621  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10622  fi  fi
10623  echo "$as_me:10620: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5  echo "$as_me:10623: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5
10624  echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6  echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6
10625  if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then  if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then
10626    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10628  EOF Line 10631  EOF
10631    
10632  fi  fi
10633    
10634  echo "$as_me:10631: checking for mit_des_cbc_encrypt in -lcrypto" >&5  echo "$as_me:10634: checking for mit_des_cbc_encrypt in -lcrypto" >&5
10635  echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6  echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6
10636  if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then  if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then
10637    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10636  else Line 10639  else
10639    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10640  LIBS="-lcrypto  $LIBS"  LIBS="-lcrypto  $LIBS"
10641  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10642  #line 10639 "configure"  #line 10642 "configure"
10643  #include "confdefs.h"  #include "confdefs.h"
10644    
10645  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10655  mit_des_cbc_encrypt (); Line 10658  mit_des_cbc_encrypt ();
10658  }  }
10659  _ACEOF  _ACEOF
10660  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10661  if { (eval echo "$as_me:10658: \"$ac_link\"") >&5  if { (eval echo "$as_me:10661: \"$ac_link\"") >&5
10662    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10663    ac_status=$?    ac_status=$?
10664    echo "$as_me:10661: \$? = $ac_status" >&5    echo "$as_me:10664: \$? = $ac_status" >&5
10665    (exit $ac_status); } &&    (exit $ac_status); } &&
10666           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10667    { (eval echo "$as_me:10664: \"$ac_try\"") >&5    { (eval echo "$as_me:10667: \"$ac_try\"") >&5
10668    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10669    ac_status=$?    ac_status=$?
10670    echo "$as_me:10667: \$? = $ac_status" >&5    echo "$as_me:10670: \$? = $ac_status" >&5
10671    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10672    ac_cv_lib_crypto_mit_des_cbc_encrypt=yes    ac_cv_lib_crypto_mit_des_cbc_encrypt=yes
10673  else  else
# Line 10675  fi Line 10678  fi
10678  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10679  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10680  fi  fi
10681  echo "$as_me:10678: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5  echo "$as_me:10681: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5
10682  echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6  echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6
10683  if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then  if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then
10684    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10686  EOF Line 10689  EOF
10689    
10690  fi  fi
10691    
10692  echo "$as_me:10689: checking for krb5_init_context in -lkrb5" >&5  echo "$as_me:10692: checking for krb5_init_context in -lkrb5" >&5
10693  echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6  echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6
10694  if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then  if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then
10695    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10694  else Line 10697  else
10697    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10698  LIBS="-lkrb5  $LIBS"  LIBS="-lkrb5  $LIBS"
10699  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10700  #line 10697 "configure"  #line 10700 "configure"
10701  #include "confdefs.h"  #include "confdefs.h"
10702    
10703  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10713  krb5_init_context (); Line 10716  krb5_init_context ();
10716  }  }
10717  _ACEOF  _ACEOF
10718  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10719  if { (eval echo "$as_me:10716: \"$ac_link\"") >&5  if { (eval echo "$as_me:10719: \"$ac_link\"") >&5
10720    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10721    ac_status=$?    ac_status=$?
10722    echo "$as_me:10719: \$? = $ac_status" >&5    echo "$as_me:10722: \$? = $ac_status" >&5
10723    (exit $ac_status); } &&    (exit $ac_status); } &&
10724           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10725    { (eval echo "$as_me:10722: \"$ac_try\"") >&5    { (eval echo "$as_me:10725: \"$ac_try\"") >&5
10726    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10727    ac_status=$?    ac_status=$?
10728    echo "$as_me:10725: \$? = $ac_status" >&5    echo "$as_me:10728: \$? = $ac_status" >&5
10729    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10730    ac_cv_lib_krb5_krb5_init_context=yes    ac_cv_lib_krb5_krb5_init_context=yes
10731  else  else
# Line 10733  fi Line 10736  fi
10736  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10737  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10738  fi  fi
10739  echo "$as_me:10736: result: $ac_cv_lib_krb5_krb5_init_context" >&5  echo "$as_me:10739: result: $ac_cv_lib_krb5_krb5_init_context" >&5
10740  echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6  echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6
10741  if test $ac_cv_lib_krb5_krb5_init_context = yes; then  if test $ac_cv_lib_krb5_krb5_init_context = yes; then
10742    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10746  fi Line 10749  fi
10749    
10750    if test "${with_kerberos5+set}" != set; then    if test "${with_kerberos5+set}" != set; then
10751    
10752  echo "$as_me:10749: checking for des_cbc_encrypt in -ldes425" >&5  echo "$as_me:10752: checking for des_cbc_encrypt in -ldes425" >&5
10753  echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6  echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6
10754  if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then  if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then
10755    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10754  else Line 10757  else
10757    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10758  LIBS="-ldes425  $LIBS"  LIBS="-ldes425  $LIBS"
10759  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10760  #line 10757 "configure"  #line 10760 "configure"
10761  #include "confdefs.h"  #include "confdefs.h"
10762    
10763  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10773  des_cbc_encrypt (); Line 10776  des_cbc_encrypt ();
10776  }  }
10777  _ACEOF  _ACEOF
10778  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10779  if { (eval echo "$as_me:10776: \"$ac_link\"") >&5  if { (eval echo "$as_me:10779: \"$ac_link\"") >&5
10780    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10781    ac_status=$?    ac_status=$?
10782    echo "$as_me:10779: \$? = $ac_status" >&5    echo "$as_me:10782: \$? = $ac_status" >&5
10783    (exit $ac_status); } &&    (exit $ac_status); } &&
10784           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10785    { (eval echo "$as_me:10782: \"$ac_try\"") >&5    { (eval echo "$as_me:10785: \"$ac_try\"") >&5
10786    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10787    ac_status=$?    ac_status=$?
10788    echo "$as_me:10785: \$? = $ac_status" >&5    echo "$as_me:10788: \$? = $ac_status" >&5
10789    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10790    ac_cv_lib_des425_des_cbc_encrypt=yes    ac_cv_lib_des425_des_cbc_encrypt=yes
10791  else  else
# Line 10793  fi Line 10796  fi
10796  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10797  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10798  fi  fi
10799  echo "$as_me:10796: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5  echo "$as_me:10799: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
10800  echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6  echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6
10801  if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then  if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then
10802    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10804  EOF Line 10807  EOF
10807    
10808  else  else
10809    
10810  echo "$as_me:10807: checking for des_cbc_encrypt in -ldes" >&5  echo "$as_me:10810: checking for des_cbc_encrypt in -ldes" >&5
10811  echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6  echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6
10812  if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then  if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then
10813    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10812  else Line 10815  else
10815    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10816  LIBS="-ldes  $LIBS"  LIBS="-ldes  $LIBS"
10817  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10818  #line 10815 "configure"  #line 10818 "configure"
10819  #include "confdefs.h"  #include "confdefs.h"
10820    
10821  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10831  des_cbc_encrypt (); Line 10834  des_cbc_encrypt ();
10834  }  }
10835  _ACEOF  _ACEOF
10836  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10837  if { (eval echo "$as_me:10834: \"$ac_link\"") >&5  if { (eval echo "$as_me:10837: \"$ac_link\"") >&5
10838    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10839    ac_status=$?    ac_status=$?
10840    echo "$as_me:10837: \$? = $ac_status" >&5    echo "$as_me:10840: \$? = $ac_status" >&5
10841    (exit $ac_status); } &&    (exit $ac_status); } &&
10842           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10843    { (eval echo "$as_me:10840: \"$ac_try\"") >&5    { (eval echo "$as_me:10843: \"$ac_try\"") >&5
10844    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10845    ac_status=$?    ac_status=$?
10846    echo "$as_me:10843: \$? = $ac_status" >&5    echo "$as_me:10846: \$? = $ac_status" >&5
10847    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10848    ac_cv_lib_des_des_cbc_encrypt=yes    ac_cv_lib_des_des_cbc_encrypt=yes
10849  else  else
# Line 10851  fi Line 10854  fi
10854  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10855  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10856  fi  fi
10857  echo "$as_me:10854: result: $ac_cv_lib_des_des_cbc_encrypt" >&5  echo "$as_me:10857: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
10858  echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6  echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6
10859  if test $ac_cv_lib_des_des_cbc_encrypt = yes; then  if test $ac_cv_lib_des_des_cbc_encrypt = yes; then
10860    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10864  fi Line 10867  fi
10867    
10868  fi  fi
10869    
10870  echo "$as_me:10867: checking for krb_get_cred in -lkrb4" >&5  echo "$as_me:10870: checking for krb_get_cred in -lkrb4" >&5
10871  echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6  echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6
10872  if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then  if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then
10873    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10872  else Line 10875  else
10875    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10876  LIBS="-lkrb4  $LIBS"  LIBS="-lkrb4  $LIBS"
10877  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10878  #line 10875 "configure"  #line 10878 "configure"
10879  #include "confdefs.h"  #include "confdefs.h"
10880    
10881  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10891  krb_get_cred (); Line 10894  krb_get_cred ();
10894  }  }
10895  _ACEOF  _ACEOF
10896  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10897  if { (eval echo "$as_me:10894: \"$ac_link\"") >&5  if { (eval echo "$as_me:10897: \"$ac_link\"") >&5
10898    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10899    ac_status=$?    ac_status=$?
10900    echo "$as_me:10897: \$? = $ac_status" >&5    echo "$as_me:10900: \$? = $ac_status" >&5
10901    (exit $ac_status); } &&    (exit $ac_status); } &&
10902           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10903    { (eval echo "$as_me:10900: \"$ac_try\"") >&5    { (eval echo "$as_me:10903: \"$ac_try\"") >&5
10904    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10905    ac_status=$?    ac_status=$?
10906    echo "$as_me:10903: \$? = $ac_status" >&5    echo "$as_me:10906: \$? = $ac_status" >&5
10907    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10908    ac_cv_lib_krb4_krb_get_cred=yes    ac_cv_lib_krb4_krb_get_cred=yes
10909  else  else
# Line 10911  fi Line 10914  fi
10914  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10915  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10916  fi  fi
10917  echo "$as_me:10914: result: $ac_cv_lib_krb4_krb_get_cred" >&5  echo "$as_me:10917: result: $ac_cv_lib_krb4_krb_get_cred" >&5
10918  echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6  echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6
10919  if test $ac_cv_lib_krb4_krb_get_cred = yes; then  if test $ac_cv_lib_krb4_krb_get_cred = yes; then
10920    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10922  EOF Line 10925  EOF
10925    
10926  else  else
10927    
10928  echo "$as_me:10925: checking for krb_get_cred in -lkrb" >&5  echo "$as_me:10928: checking for krb_get_cred in -lkrb" >&5
10929  echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6  echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6
10930  if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then  if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then
10931    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10930  else Line 10933  else
10933    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10934  LIBS="-lkrb  $LIBS"  LIBS="-lkrb  $LIBS"
10935  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10936  #line 10933 "configure"  #line 10936 "configure"
10937  #include "confdefs.h"  #include "confdefs.h"
10938    
10939  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10949  krb_get_cred (); Line 10952  krb_get_cred ();
10952  }  }
10953  _ACEOF  _ACEOF
10954  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10955  if { (eval echo "$as_me:10952: \"$ac_link\"") >&5  if { (eval echo "$as_me:10955: \"$ac_link\"") >&5
10956    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10957    ac_status=$?    ac_status=$?
10958    echo "$as_me:10955: \$? = $ac_status" >&5    echo "$as_me:10958: \$? = $ac_status" >&5
10959    (exit $ac_status); } &&    (exit $ac_status); } &&
10960           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10961    { (eval echo "$as_me:10958: \"$ac_try\"") >&5    { (eval echo "$as_me:10961: \"$ac_try\"") >&5
10962    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10963    ac_status=$?    ac_status=$?
10964    echo "$as_me:10961: \$? = $ac_status" >&5    echo "$as_me:10964: \$? = $ac_status" >&5
10965    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10966    ac_cv_lib_krb_krb_get_cred=yes    ac_cv_lib_krb_krb_get_cred=yes
10967  else  else
# Line 10969  fi Line 10972  fi
10972  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10973  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10974  fi  fi
10975  echo "$as_me:10972: result: $ac_cv_lib_krb_krb_get_cred" >&5  echo "$as_me:10975: result: $ac_cv_lib_krb_krb_get_cred" >&5
10976  echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6  echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6
10977  if test $ac_cv_lib_krb_krb_get_cred = yes; then  if test $ac_cv_lib_krb_krb_get_cred = yes; then
10978    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10989  fi Line 10992  fi
10992  for ac_header in krb5.h  for ac_header in krb5.h
10993  do  do
10994  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10995  echo "$as_me:10992: checking for $ac_header" >&5  echo "$as_me:10995: checking for $ac_header" >&5
10996  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10997  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
10998    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
10999  else  else
11000    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11001  #line 10998 "configure"  #line 11001 "configure"
11002  #include "confdefs.h"  #include "confdefs.h"
11003  #include <$ac_header>  #include <$ac_header>
11004  _ACEOF  _ACEOF
11005  if { (eval echo "$as_me:11002: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11005: \"$ac_cpp conftest.$ac_ext\"") >&5
11006    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11007    ac_status=$?    ac_status=$?
11008    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11009    rm -f conftest.er1    rm -f conftest.er1
11010    cat conftest.err >&5    cat conftest.err >&5
11011    echo "$as_me:11008: \$? = $ac_status" >&5    echo "$as_me:11011: \$? = $ac_status" >&5
11012    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11013    if test -s conftest.err; then    if test -s conftest.err; then
11014      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11024  else Line 11027  else
11027  fi  fi
11028  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11029  fi  fi
11030  echo "$as_me:11027: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:11030: result: `eval echo '${'$as_ac_Header'}'`" >&5
11031  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11032  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
11033    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11039  done Line 11042  done
11042  for ac_header in des.h  for ac_header in des.h
11043  do  do
11044  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11045  echo "$as_me:11042: checking for $ac_header" >&5  echo "$as_me:11045: checking for $ac_header" >&5
11046  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11047  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
11048    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11049  else  else
11050    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11051  #line 11048 "configure"  #line 11051 "configure"
11052  #include "confdefs.h"  #include "confdefs.h"
11053  #include <$ac_header>  #include <$ac_header>
11054  _ACEOF  _ACEOF
11055  if { (eval echo "$as_me:11052: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11055: \"$ac_cpp conftest.$ac_ext\"") >&5
11056    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11057    ac_status=$?    ac_status=$?
11058    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11059    rm -f conftest.er1    rm -f conftest.er1
11060    cat conftest.err >&5    cat conftest.err >&5
11061    echo "$as_me:11058: \$? = $ac_status" >&5    echo "$as_me:11061: \$? = $ac_status" >&5
11062    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11063    if test -s conftest.err; then    if test -s conftest.err; then
11064      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11074  else Line 11077  else
11077  fi  fi
11078  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11079  fi  fi
11080  echo "$as_me:11077: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:11080: result: `eval echo '${'$as_ac_Header'}'`" >&5
11081  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11082  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
11083    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11086  else Line 11089  else
11089  for ac_header in kerberosIV/des.h  for ac_header in kerberosIV/des.h
11090  do  do
11091  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11092  echo "$as_me:11089: checking for $ac_header" >&5  echo "$as_me:11092: checking for $ac_header" >&5
11093  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11094  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
11095    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11096  else  else
11097    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11098  #line 11095 "configure"  #line 11098 "configure"
11099  #include "confdefs.h"  #include "confdefs.h"
11100  #include <$ac_header>  #include <$ac_header>
11101  _ACEOF  _ACEOF
11102  if { (eval echo "$as_me:11099: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11102: \"$ac_cpp conftest.$ac_ext\"") >&5
11103    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11104    ac_status=$?    ac_status=$?
11105    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11106    rm -f conftest.er1    rm -f conftest.er1
11107    cat conftest.err >&5    cat conftest.err >&5
11108    echo "$as_me:11105: \$? = $ac_status" >&5    echo "$as_me:11108: \$? = $ac_status" >&5
11109    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11110    if test -s conftest.err; then    if test -s conftest.err; then
11111      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11121  else Line 11124  else
11124  fi  fi
11125  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11126  fi  fi
11127  echo "$as_me:11124: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:11127: result: `eval echo '${'$as_ac_Header'}'`" >&5
11128  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11129  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
11130    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11133  else Line 11136  else
11136  for ac_header in kerberos/des.h  for ac_header in kerberos/des.h
11137  do  do
11138  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11139  echo "$as_me:11136: checking for $ac_header" >&5  echo "$as_me:11139: checking for $ac_header" >&5
11140  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11141  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
11142    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11143  else  else
11144    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11145  #line 11142 "configure"  #line 11145 "configure"
11146  #include "confdefs.h"  #include "confdefs.h"
11147  #include <$ac_header>  #include <$ac_header>
11148  _ACEOF  _ACEOF
11149  if { (eval echo "$as_me:11146: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11149: \"$ac_cpp conftest.$ac_ext\"") >&5
11150    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11151    ac_status=$?    ac_status=$?
11152    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11153    rm -f conftest.er1    rm -f conftest.er1
11154    cat conftest.err >&5    cat conftest.err >&5
11155    echo "$as_me:11152: \$? = $ac_status" >&5    echo "$as_me:11155: \$? = $ac_status" >&5
11156    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11157    if test -s conftest.err; then    if test -s conftest.err; then
11158      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11168  else Line 11171  else
11171  fi  fi
11172  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11173  fi  fi
11174  echo "$as_me:11171: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:11174: result: `eval echo '${'$as_ac_Header'}'`" >&5
11175  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11176  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
11177    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11187  done Line 11190  done
11190  for ac_header in krb.h  for ac_header in krb.h
11191  do  do
11192  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11193  echo "$as_me:11190: checking for $ac_header" >&5  echo "$as_me:11193: checking for $ac_header" >&5
11194  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11195  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
11196    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11197  else  else
11198    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11199  #line 11196 "configure"  #line 11199 "configure"
11200  #include "confdefs.h"  #include "confdefs.h"
11201  #include <$ac_header>  #include <$ac_header>
11202  _ACEOF  _ACEOF
11203  if { (eval echo "$as_me:11200: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11203: \"$ac_cpp conftest.$ac_ext\"") >&5
11204    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11205    ac_status=$?    ac_status=$?
11206    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11207    rm -f conftest.er1    rm -f conftest.er1
11208    cat conftest.err >&5    cat conftest.err >&5
11209    echo "$as_me:11206: \$? = $ac_status" >&5    echo "$as_me:11209: \$? = $ac_status" >&5
11210    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11211    if test -s conftest.err; then    if test -s conftest.err; then
11212      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11222  else Line 11225  else
11225  fi  fi
11226  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11227  fi  fi
11228  echo "$as_me:11225: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:11228: result: `eval echo '${'$as_ac_Header'}'`" >&5
11229  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11230  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
11231    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11234  else Line 11237  else
11237  for ac_header in kerberosIV/krb.h  for ac_header in kerberosIV/krb.h
11238  do  do
11239  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11240  echo "$as_me:11237: checking for $ac_header" >&5  echo "$as_me:11240: checking for $ac_header" >&5
11241  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11242  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
11243    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11244  else  else
11245    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11246  #line 11243 "configure"  #line 11246 "configure"
11247  #include "confdefs.h"  #include "confdefs.h"
11248  #include <$ac_header>  #include <$ac_header>
11249  _ACEOF  _ACEOF
11250  if { (eval echo "$as_me:11247: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11250: \"$ac_cpp conftest.$ac_ext\"") >&5
11251    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11252    ac_status=$?    ac_status=$?
11253    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11254    rm -f conftest.er1    rm -f conftest.er1
11255    cat conftest.err >&5    cat conftest.err >&5
11256    echo "$as_me:11253: \$? = $ac_status" >&5    echo "$as_me:11256: \$? = $ac_status" >&5
11257    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11258    if test -s conftest.err; then    if test -s conftest.err; then
11259      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11269  else Line 11272  else
11272  fi  fi
11273  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11274  fi  fi
11275  echo "$as_me:11272: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:11275: result: `eval echo '${'$as_ac_Header'}'`" >&5
11276  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11277  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
11278    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11281  else Line 11284  else
11284  for ac_header in kerberos/krb.h  for ac_header in kerberos/krb.h
11285  do  do
11286  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11287  echo "$as_me:11284: checking for $ac_header" >&5  echo "$as_me:11287: checking for $ac_header" >&5
11288  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11289  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
11290    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11291  else  else
11292    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11293  #line 11290 "configure"  #line 11293 "configure"
11294  #include "confdefs.h"  #include "confdefs.h"
11295  #include <$ac_header>  #include <$ac_header>
11296  _ACEOF  _ACEOF
11297  if { (eval echo "$as_me:11294: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11297: \"$ac_cpp conftest.$ac_ext\"") >&5
11298    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11299    ac_status=$?    ac_status=$?
11300    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11301    rm -f conftest.er1    rm -f conftest.er1
11302    cat conftest.err >&5    cat conftest.err >&5
11303    echo "$as_me:11300: \$? = $ac_status" >&5    echo "$as_me:11303: \$? = $ac_status" >&5
11304    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11305    if test -s conftest.err; then    if test -s conftest.err; then
11306      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11316  else Line 11319  else
11319  fi  fi
11320  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11321  fi  fi
11322  echo "$as_me:11319: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:11322: result: `eval echo '${'$as_ac_Header'}'`" >&5
11323  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11324  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
11325    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11337  done Line 11340  done
11340  for ac_header in com_err.h  for ac_header in com_err.h
11341  do  do
11342  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11343  echo "$as_me:11340: checking for $ac_header" >&5  echo "$as_me:11343: checking for $ac_header" >&5
11344  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11345  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
11346    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11347  else  else
11348    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11349  #line 11346 "configure"  #line 11349 "configure"
11350  #include "confdefs.h"  #include "confdefs.h"
11351  #include <$ac_header>  #include <$ac_header>
11352  _ACEOF  _ACEOF
11353  if { (eval echo "$as_me:11350: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11353: \"$ac_cpp conftest.$ac_ext\"") >&5
11354    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11355    ac_status=$?    ac_status=$?
11356    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11357    rm -f conftest.er1    rm -f conftest.er1
11358    cat conftest.err >&5    cat conftest.err >&5
11359    echo "$as_me:11356: \$? = $ac_status" >&5    echo "$as_me:11359: \$? = $ac_status" >&5
11360    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11361    if test -s conftest.err; then    if test -s conftest.err; then
11362      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11372  else Line 11375  else
11375  fi  fi
11376  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11377  fi  fi
11378  echo "$as_me:11375: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:11378: result: `eval echo '${'$as_ac_Header'}'`" >&5
11379  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11380  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
11381    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11387  fi Line 11390  fi
11390  # Solaris requires -lintl if you want strerror (which calls dgettext)  # Solaris requires -lintl if you want strerror (which calls dgettext)
11391  # to return localized messages.  # to return localized messages.
11392    
11393  echo "$as_me:11390: checking for dgettext in -lintl" >&5  echo "$as_me:11393: checking for dgettext in -lintl" >&5
11394  echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6  echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6
11395  if test "${ac_cv_lib_intl_dgettext+set}" = set; then  if test "${ac_cv_lib_intl_dgettext+set}" = set; then
11396    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 11395  else Line 11398  else
11398    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
11399  LIBS="-lintl  $LIBS"  LIBS="-lintl  $LIBS"
11400  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
11401  #line 11398 "configure"  #line 11401 "configure"
11402  #include "confdefs.h"  #include "confdefs.h"
11403    
11404  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 11414  dgettext (); Line 11417  dgettext ();
11417  }  }
11418  _ACEOF  _ACEOF
11419  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
11420  if { (eval echo "$as_me:11417: \"$ac_link\"") >&5  if { (eval echo "$as_me:11420: \"$ac_link\"") >&5
11421    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
11422    ac_status=$?    ac_status=$?
11423    echo "$as_me:11420: \$? = $ac_status" >&5    echo "$as_me:11423: \$? = $ac_status" >&5
11424    (exit $ac_status); } &&    (exit $ac_status); } &&
11425           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
11426    { (eval echo "$as_me:11423: \"$ac_try\"") >&5    { (eval echo "$as_me:11426: \"$ac_try\"") >&5
11427    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11428    ac_status=$?    ac_status=$?
11429    echo "$as_me:11426: \$? = $ac_status" >&5    echo "$as_me:11429: \$? = $ac_status" >&5
11430    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11431    ac_cv_lib_intl_dgettext=yes    ac_cv_lib_intl_dgettext=yes
11432  else  else
# Line 11434  fi Line 11437  fi
11437  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11438  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
11439  fi  fi
11440  echo "$as_me:11437: result: $ac_cv_lib_intl_dgettext" >&5  echo "$as_me:11440: result: $ac_cv_lib_intl_dgettext" >&5
11441  echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6  echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6
11442  if test $ac_cv_lib_intl_dgettext = yes; then  if test $ac_cv_lib_intl_dgettext = yes; then
11443    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11445  EOF Line 11448  EOF
11448    
11449  fi  fi
11450    
11451  echo "$as_me:11448: checking whether localtime caches TZ" >&5  echo "$as_me:11451: checking whether localtime caches TZ" >&5
11452  echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6  echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6
11453  if test "${emacs_cv_localtime_cache+set}" = set; then  if test "${emacs_cv_localtime_cache+set}" = set; then
11454    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 11456  if test "$cross_compiling" = yes; then Line 11459  if test "$cross_compiling" = yes; then
11459  emacs_cv_localtime_cache=yes  emacs_cv_localtime_cache=yes
11460  else  else
11461    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11462  #line 11459 "configure"  #line 11462 "configure"
11463  #include "confdefs.h"  #include "confdefs.h"
11464  #include <time.h>  #include <time.h>
11465  extern char **environ;  extern char **environ;
# Line 11489  main() Line 11492  main()
11492  }  }
11493  _ACEOF  _ACEOF
11494  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
11495  if { (eval echo "$as_me:11492: \"$ac_link\"") >&5  if { (eval echo "$as_me:11495: \"$ac_link\"") >&5
11496    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
11497    ac_status=$?    ac_status=$?
11498    echo "$as_me:11495: \$? = $ac_status" >&5    echo "$as_me:11498: \$? = $ac_status" >&5
11499    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11500    { (eval echo "$as_me:11497: \"$ac_try\"") >&5    { (eval echo "$as_me:11500: \"$ac_try\"") >&5
11501    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11502    ac_status=$?    ac_status=$?
11503    echo "$as_me:11500: \$? = $ac_status" >&5    echo "$as_me:11503: \$? = $ac_status" >&5
11504    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11505    emacs_cv_localtime_cache=no    emacs_cv_localtime_cache=no
11506  else  else
# Line 11514  else Line 11517  else
11517          emacs_cv_localtime_cache=no          emacs_cv_localtime_cache=no
11518  fi  fi
11519  fi  fi
11520  echo "$as_me:11517: result: $emacs_cv_localtime_cache" >&5  echo "$as_me:11520: result: $emacs_cv_localtime_cache" >&5
11521  echo "${ECHO_T}$emacs_cv_localtime_cache" >&6  echo "${ECHO_T}$emacs_cv_localtime_cache" >&6
11522  if test $emacs_cv_localtime_cache = yes; then  if test $emacs_cv_localtime_cache = yes; then
11523    cat >>confdefs.h <<\EOF    cat >>confdefs.h <<\EOF
# Line 11528  if test "x$HAVE_TIMEVAL" = xyes; then Line 11531  if test "x$HAVE_TIMEVAL" = xyes; then
11531  for ac_func in gettimeofday  for ac_func in gettimeofday
11532  do  do
11533  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11534  echo "$as_me:11531: checking for $ac_func" >&5  echo "$as_me:11534: checking for $ac_func" >&5
11535  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11536  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
11537    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11538  else  else
11539    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11540  #line 11537 "configure"  #line 11540 "configure"
11541  #include "confdefs.h"  #include "confdefs.h"
11542  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
11543      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 11565  f = $ac_func; Line 11568  f = $ac_func;
11568  }  }
11569  _ACEOF  _ACEOF
11570  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
11571  if { (eval echo "$as_me:11568: \"$ac_link\"") >&5  if { (eval echo "$as_me:11571: \"$ac_link\"") >&5
11572    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
11573    ac_status=$?    ac_status=$?
11574    echo "$as_me:11571: \$? = $ac_status" >&5    echo "$as_me:11574: \$? = $ac_status" >&5
11575    (exit $ac_status); } &&    (exit $ac_status); } &&
11576           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
11577    { (eval echo "$as_me:11574: \"$ac_try\"") >&5    { (eval echo "$as_me:11577: \"$ac_try\"") >&5
11578    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11579    ac_status=$?    ac_status=$?
11580    echo "$as_me:11577: \$? = $ac_status" >&5    echo "$as_me:11580: \$? = $ac_status" >&5
11581    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11582    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
11583  else  else
# Line 11584  eval "$as_ac_var=no" Line 11587  eval "$as_ac_var=no"
11587  fi  fi
11588  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11589  fi  fi
11590  echo "$as_me:11587: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:11590: result: `eval echo '${'$as_ac_var'}'`" >&5
11591  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11592  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
11593    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11594  EOF Line 11597  EOF
11597  fi  fi
11598  done  done
11599    
11600    echo "$as_me:11597: checking whether gettimeofday can accept two arguments" >&5    echo "$as_me:11600: checking whether gettimeofday can accept two arguments" >&5
11601  echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6  echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
11602  if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then  if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
11603    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11604  else  else
11605    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11606  #line 11603 "configure"  #line 11606 "configure"
11607  #include "confdefs.h"  #include "confdefs.h"
11608    
11609  #ifdef TIME_WITH_SYS_TIME  #ifdef TIME_WITH_SYS_TIME
# Line 11623  struct timeval time; Line 11626  struct timeval time;
11626  }  }
11627  _ACEOF  _ACEOF
11628  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
11629  if { (eval echo "$as_me:11626: \"$ac_compile\"") >&5  if { (eval echo "$as_me:11629: \"$ac_compile\"") >&5
11630    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
11631    ac_status=$?    ac_status=$?
11632    echo "$as_me:11629: \$? = $ac_status" >&5    echo "$as_me:11632: \$? = $ac_status" >&5
11633    (exit $ac_status); } &&    (exit $ac_status); } &&
11634           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
11635    { (eval echo "$as_me:11632: \"$ac_try\"") >&5    { (eval echo "$as_me:11635: \"$ac_try\"") >&5
11636    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11637    ac_status=$?    ac_status=$?
11638    echo "$as_me:11635: \$? = $ac_status" >&5    echo "$as_me:11638: \$? = $ac_status" >&5
11639    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11640    emacs_cv_gettimeofday_two_arguments=yes    emacs_cv_gettimeofday_two_arguments=yes
11641  else  else
# Line 11642  emacs_cv_gettimeofday_two_arguments=no Line 11645  emacs_cv_gettimeofday_two_arguments=no
11645  fi  fi
11646  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
11647  fi  fi
11648  echo "$as_me:11645: result: $emacs_cv_gettimeofday_two_arguments" >&5  echo "$as_me:11648: result: $emacs_cv_gettimeofday_two_arguments" >&5
11649  echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6  echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
11650    if test $emacs_cv_gettimeofday_two_arguments = no; then    if test $emacs_cv_gettimeofday_two_arguments = no; then
11651      cat >>confdefs.h <<\EOF      cat >>confdefs.h <<\EOF
# Line 11653  EOF Line 11656  EOF
11656  fi  fi
11657    
11658  if test "$ac_cv_func_gettimeofday" = yes; then  if test "$ac_cv_func_gettimeofday" = yes; then
11659    echo "$as_me:11656: checking for struct timezone" >&5    echo "$as_me:11659: checking for struct timezone" >&5
11660  echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6  echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
11661  if test "${emacs_cv_struct_timezone+set}" = set; then  if test "${emacs_cv_struct_timezone+set}" = set; then
11662    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11663  else  else
11664    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11665  #line 11662 "configure"  #line 11665 "configure"
11666  #include "confdefs.h"  #include "confdefs.h"
11667  #include <sys/time.h>  #include <sys/time.h>
11668  int  int
# Line 11671  struct timezone tz; Line 11674  struct timezone tz;
11674  }  }
11675  _ACEOF  _ACEOF
11676  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
11677  if { (eval echo "$as_me:11674: \"$ac_compile\"") >&5  if { (eval echo "$as_me:11677: \"$ac_compile\"") >&5
11678    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
11679    ac_status=$?    ac_status=$?
11680    echo "$as_me:11677: \$? = $ac_status" >&5    echo "$as_me:11680: \$? = $ac_status" >&5
11681    (exit $ac_status); } &&    (exit $ac_status); } &&
11682           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
11683    { (eval echo "$as_me:11680: \"$ac_try\"") >&5    { (eval echo "$as_me:11683: \"$ac_try\"") >&5
11684    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11685    ac_status=$?    ac_status=$?
11686    echo "$as_me:11683: \$? = $ac_status" >&5    echo "$as_me:11686: \$? = $ac_status" >&5
11687    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11688                if test "$cross_compiling" = yes; then                if test "$cross_compiling" = yes; then
11689    emacs_cv_struct_timezone=yes    emacs_cv_struct_timezone=yes
11690  else  else
11691    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11692  #line 11689 "configure"  #line 11692 "configure"
11693  #include "confdefs.h"  #include "confdefs.h"
11694    
11695  #ifdef TIME_WITH_SYS_TIME  #ifdef TIME_WITH_SYS_TIME
# Line 11706  main () { Line 11709  main () {
11709  }  }
11710  _ACEOF  _ACEOF
11711  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
11712  if { (eval echo "$as_me:11709: \"$ac_link\"") >&5  if { (eval echo "$as_me:11712: \"$ac_link\"") >&5
11713    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
11714    ac_status=$?    ac_status=$?
11715    echo "$as_me:11712: \$? = $ac_status" >&5    echo "$as_me:11715: \$? = $ac_status" >&5
11716    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11717    { (eval echo "$as_me:11714: \"$ac_try\"") >&5    { (eval echo "$as_me:11717: \"$ac_try\"") >&5
11718    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11719    ac_status=$?    ac_status=$?
11720    echo "$as_me:11717: \$? = $ac_status" >&5    echo "$as_me:11720: \$? = $ac_status" >&5
11721    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11722    emacs_cv_struct_timezone=yes    emacs_cv_struct_timezone=yes
11723  else  else
# Line 11732  emacs_cv_struct_timezone=no Line 11735  emacs_cv_struct_timezone=no
11735  fi  fi
11736  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
11737  fi  fi
11738  echo "$as_me:11735: result: $emacs_cv_struct_timezone" >&5  echo "$as_me:11738: result: $emacs_cv_struct_timezone" >&5
11739  echo "${ECHO_T}$emacs_cv_struct_timezone" >&6  echo "${ECHO_T}$emacs_cv_struct_timezone" >&6
11740  fi  fi
11741    
11742  ok_so_far=yes  ok_so_far=yes
11743  echo "$as_me:11740: checking for socket" >&5  echo "$as_me:11743: checking for socket" >&5
11744  echo $ECHO_N "checking for socket... $ECHO_C" >&6  echo $ECHO_N "checking for socket... $ECHO_C" >&6
11745  if test "${ac_cv_func_socket+set}" = set; then  if test "${ac_cv_func_socket+set}" = set; then
11746    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11747  else  else
11748    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11749  #line 11746 "configure"  #line 11749 "configure"
11750  #include "confdefs.h"  #include "confdefs.h"
11751  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
11752      which can conflict with char socket (); below.  */      which can conflict with char socket (); below.  */
# Line 11774  f = socket; Line 11777  f = socket;
11777  }  }
11778  _ACEOF  _ACEOF
11779  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
11780  if { (eval echo "$as_me:11777: \"$ac_link\"") >&5  if { (eval echo "$as_me:11780: \"$ac_link\"") >&5
11781    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
11782    ac_status=$?    ac_status=$?
11783    echo "$as_me:11780: \$? = $ac_status" >&5    echo "$as_me:11783: \$? = $ac_status" >&5
11784    (exit $ac_status); } &&    (exit $ac_status); } &&
11785           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
11786    { (eval echo "$as_me:11783: \"$ac_try\"") >&5    { (eval echo "$as_me:11786: \"$ac_try\"") >&5
11787    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11788    ac_status=$?    ac_status=$?
11789    echo "$as_me:11786: \$? = $ac_status" >&5    echo "$as_me:11789: \$? = $ac_status" >&5
11790    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11791    ac_cv_func_socket=yes    ac_cv_func_socket=yes
11792  else  else
# Line 11793  ac_cv_func_socket=no Line 11796  ac_cv_func_socket=no
11796  fi  fi
11797  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11798  fi  fi
11799  echo "$as_me:11796: result: $ac_cv_func_socket" >&5  echo "$as_me:11799: result: $ac_cv_func_socket" >&5
11800  echo "${ECHO_T}$ac_cv_func_socket" >&6  echo "${ECHO_T}$ac_cv_func_socket" >&6
11801  if test $ac_cv_func_socket = yes; then  if test $ac_cv_func_socket = yes; then
11802    :    :
# Line 11802  else Line 11805  else
11805  fi  fi
11806    
11807  if test $ok_so_far = yes; then  if test $ok_so_far = yes; then
11808    echo "$as_me:11805: checking for netinet/in.h" >&5    echo "$as_me:11808: checking for netinet/in.h" >&5
11809  echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6  echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6
11810  if test "${ac_cv_header_netinet_in_h+set}" = set; then  if test "${ac_cv_header_netinet_in_h+set}" = set; then
11811    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11812  else  else
11813    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11814  #line 11811 "configure"  #line 11814 "configure"
11815  #include "confdefs.h"  #include "confdefs.h"
11816  #include <netinet/in.h>  #include <netinet/in.h>
11817  _ACEOF  _ACEOF
11818  if { (eval echo "$as_me:11815: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11818: \"$ac_cpp conftest.$ac_ext\"") >&5
11819    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11820    ac_status=$?    ac_status=$?
11821    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11822    rm -f conftest.er1    rm -f conftest.er1
11823    cat conftest.err >&5    cat conftest.err >&5
11824    echo "$as_me:11821: \$? = $ac_status" >&5    echo "$as_me:11824: \$? = $ac_status" >&5
11825    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11826    if test -s conftest.err; then    if test -s conftest.err; then
11827      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11837  else Line 11840  else
11840  fi  fi
11841  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11842  fi  fi
11843  echo "$as_me:11840: result: $ac_cv_header_netinet_in_h" >&5  echo "$as_me:11843: result: $ac_cv_header_netinet_in_h" >&5
11844  echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6  echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6
11845  if test $ac_cv_header_netinet_in_h = yes; then  if test $ac_cv_header_netinet_in_h = yes; then
11846    :    :
# Line 11847  fi Line 11850  fi
11850    
11851  fi  fi
11852  if test $ok_so_far = yes; then  if test $ok_so_far = yes; then
11853    echo "$as_me:11850: checking for arpa/inet.h" >&5    echo "$as_me:11853: checking for arpa/inet.h" >&5
11854  echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6  echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6
11855  if test "${ac_cv_header_arpa_inet_h+set}" = set; then  if test "${ac_cv_header_arpa_inet_h+set}" = set; then
11856    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11857  else  else
11858    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11859  #line 11856 "configure"  #line 11859 "configure"
11860  #include "confdefs.h"  #include "confdefs.h"
11861  #include <arpa/inet.h>  #include <arpa/inet.h>
11862  _ACEOF  _ACEOF
11863  if { (eval echo "$as_me:11860: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11863: \"$ac_cpp conftest.$ac_ext\"") >&5
11864    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11865    ac_status=$?    ac_status=$?
11866    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11867    rm -f conftest.er1    rm -f conftest.er1
11868    cat conftest.err >&5    cat conftest.err >&5
11869    echo "$as_me:11866: \$? = $ac_status" >&5    echo "$as_me:11869: \$? = $ac_status" >&5
11870    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11871    if test -s conftest.err; then    if test -s conftest.err; then
11872      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11882  else Line 11885  else
11885  fi  fi
11886  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11887  fi  fi
11888  echo "$as_me:11885: result: $ac_cv_header_arpa_inet_h" >&5  echo "$as_me:11888: result: $ac_cv_header_arpa_inet_h" >&5
11889  echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6  echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6
11890  if test $ac_cv_header_arpa_inet_h = yes; then  if test $ac_cv_header_arpa_inet_h = yes; then
11891    :    :
# Line 11905  EOF Line 11908  EOF
11908    
11909  fi  fi
11910    
11911  echo "$as_me:11908: checking whether system supports dynamic ptys" >&5  echo "$as_me:11911: checking whether system supports dynamic ptys" >&5
11912  echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6  echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6
11913  if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then  if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then
11914    echo "$as_me:11911: result: yes" >&5    echo "$as_me:11914: result: yes" >&5
11915  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
11916    cat >>confdefs.h <<\EOF    cat >>confdefs.h <<\EOF
11917  #define HAVE_DEV_PTMX 1  #define HAVE_DEV_PTMX 1
11918  EOF  EOF
11919    
11920  else  else
11921    echo "$as_me:11918: result: no" >&5    echo "$as_me:11921: result: no" >&5
11922  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
11923  fi  fi
11924    
11925  echo "$as_me:11922: checking for pid_t" >&5  echo "$as_me:11925: checking for pid_t" >&5
11926  echo $ECHO_N "checking for pid_t... $ECHO_C" >&6  echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
11927  if test "${ac_cv_type_pid_t+set}" = set; then  if test "${ac_cv_type_pid_t+set}" = set; then
11928    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11929  else  else
11930    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11931  #line 11928 "configure"  #line 11931 "configure"
11932  #include "confdefs.h"  #include "confdefs.h"
11933  $ac_includes_default  $ac_includes_default
11934  int  int
# Line 11940  if (sizeof (pid_t)) Line 11943  if (sizeof (pid_t))
11943  }  }
11944  _ACEOF  _ACEOF
11945  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
11946  if { (eval echo "$as_me:11943: \"$ac_compile\"") >&5  if { (eval echo "$as_me:11946: \"$ac_compile\"") >&5
11947    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
11948    ac_status=$?    ac_status=$?
11949    echo "$as_me:11946: \$? = $ac_status" >&5    echo "$as_me:11949: \$? = $ac_status" >&5
11950    (exit $ac_status); } &&    (exit $ac_status); } &&
11951           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
11952    { (eval echo "$as_me:11949: \"$ac_try\"") >&5    { (eval echo "$as_me:11952: \"$ac_try\"") >&5
11953    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11954    ac_status=$?    ac_status=$?
11955    echo "$as_me:11952: \$? = $ac_status" >&5    echo "$as_me:11955: \$? = $ac_status" >&5
11956    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11957    ac_cv_type_pid_t=yes    ac_cv_type_pid_t=yes
11958  else  else
# Line 11959  ac_cv_type_pid_t=no Line 11962  ac_cv_type_pid_t=no
11962  fi  fi
11963  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
11964  fi  fi
11965  echo "$as_me:11962: result: $ac_cv_type_pid_t" >&5  echo "$as_me:11965: result: $ac_cv_type_pid_t" >&5
11966  echo "${ECHO_T}$ac_cv_type_pid_t" >&6  echo "${ECHO_T}$ac_cv_type_pid_t" >&6
11967  if test $ac_cv_type_pid_t = yes; then  if test $ac_cv_type_pid_t = yes; then
11968    :    :
# Line 11974  fi Line 11977  fi
11977  for ac_header in unistd.h vfork.h  for ac_header in unistd.h vfork.h
11978  do  do
11979  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11980  echo "$as_me:11977: checking for $ac_header" >&5  echo "$as_me:11980: checking for $ac_header" >&5
11981  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11982  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
11983    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11984  else  else
11985    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11986  #line 11983 "configure"  #line 11986 "configure"
11987  #include "confdefs.h"  #include "confdefs.h"
11988  #include <$ac_header>  #include <$ac_header>
11989  _ACEOF  _ACEOF
11990  if { (eval echo "$as_me:11987: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11990: \"$ac_cpp conftest.$ac_ext\"") >&5
11991    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11992    ac_status=$?    ac_status=$?
11993    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11994    rm -f conftest.er1    rm -f conftest.er1
11995    cat conftest.err >&5    cat conftest.err >&5
11996    echo "$as_me:11993: \$? = $ac_status" >&5    echo "$as_me:11996: \$? = $ac_status" >&5
11997    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11998    if test -s conftest.err; then    if test -s conftest.err; then
11999      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 12009  else Line 12012  else
12012  fi  fi
12013  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
12014  fi  fi
12015  echo "$as_me:12012: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:12015: result: `eval echo '${'$as_ac_Header'}'`" >&5
12016  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12017  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
12018    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 12022  done Line 12025  done
12025  for ac_func in fork vfork  for ac_func in fork vfork
12026  do  do
12027  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12028  echo "$as_me:12025: checking for $ac_func" >&5  echo "$as_me:12028: checking for $ac_func" >&5
12029  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12030  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
12031    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
12032  else  else
12033    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
12034  #line 12031 "configure"  #line 12034 "configure"
12035  #include "confdefs.h"  #include "confdefs.h"
12036  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
12037      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 12059  f = $ac_func; Line 12062  f = $ac_func;
12062  }  }
12063  _ACEOF  _ACEOF
12064  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
12065  if { (eval echo "$as_me:12062: \"$ac_link\"") >&5  if { (eval echo "$as_me:12065: \"$ac_link\"") >&5
12066    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
12067    ac_status=$?    ac_status=$?
12068    echo "$as_me:12065: \$? = $ac_status" >&5    echo "$as_me:12068: \$? = $ac_status" >&5
12069    (exit $ac_status); } &&    (exit $ac_status); } &&
12070           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
12071    { (eval echo "$as_me:12068: \"$ac_try\"") >&5    { (eval echo "$as_me:12071: \"$ac_try\"") >&5
12072    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
12073    ac_status=$?    ac_status=$?
12074    echo "$as_me:12071: \$? = $ac_status" >&5    echo "$as_me:12074: \$? = $ac_status" >&5
12075    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
12076    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
12077  else  else
# Line 12078  eval "$as_ac_var=no" Line 12081  eval "$as_ac_var=no"
12081  fi  fi
12082  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12083  fi  fi
12084  echo "$as_me:12081: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:12084: result: `eval echo '${'$as_ac_var'}'`" >&5
12085  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12086  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
12087    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 12090  done Line 12093  done
12093    
12094  ac_cv_func_fork_works=$ac_cv_func_fork  ac_cv_func_fork_works=$ac_cv_func_fork
12095  if test "x$ac_cv_func_fork" = xyes; then  if test "x$ac_cv_func_fork" = xyes; then
12096    echo "$as_me:12093: checking for working fork" >&5    echo "$as_me:12096: checking for working fork" >&5
12097  echo $ECHO_N "checking for working fork... $ECHO_C" >&6  echo $ECHO_N "checking for working fork... $ECHO_C" >&6
12098  if test "${ac_cv_func_fork_works+set}" = set; then  if test "${ac_cv_func_fork_works+set}" = set; then
12099    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 12113  else Line 12116  else
12116        }        }
12117  _ACEOF  _ACEOF
12118  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
12119  if { (eval echo "$as_me:12116: \"$ac_link\"") >&5  if { (eval echo "$as_me:12119: \"$ac_link\"") >&5
12120    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
12121    ac_status=$?    ac_status=$?
12122    echo "$as_me:12119: \$? = $ac_status" >&5    echo "$as_me:12122: \$? = $ac_status" >&5
12123    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12124    { (eval echo "$as_me:12121: \"$ac_try\"") >&5    { (eval echo "$as_me:12124: \"$ac_try\"") >&5
12125    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
12126    ac_status=$?    ac_status=$?
12127    echo "$as_me:12124: \$? = $ac_status" >&5    echo "$as_me:12127: \$? = $ac_status" >&5
12128    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
12129    ac_cv_func_fork_works=yes    ac_cv_func_fork_works=yes
12130  else  else
# Line 12133  fi Line 12136  fi
12136  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12137  fi  fi
12138  fi  fi
12139  echo "$as_me:12136: result: $ac_cv_func_fork_works" >&5  echo "$as_me:12139: result: $ac_cv_func_fork_works" >&5
12140  echo "${ECHO_T}$ac_cv_func_fork_works" >&6  echo "${ECHO_T}$ac_cv_func_fork_works" >&6
12141    
12142  fi  fi
# Line 12147  if test "x$ac_cv_func_fork_works" = xcro Line 12150  if test "x$ac_cv_func_fork_works" = xcro
12150        ac_cv_func_fork_works=yes        ac_cv_func_fork_works=yes
12151        ;;        ;;
12152    esac    esac
12153    { echo "$as_me:12150: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5    { echo "$as_me:12153: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5
12154  echo "$as_me: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&2;}  echo "$as_me: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&2;}
12155  fi  fi
12156  ac_cv_func_vfork_works=$ac_cv_func_vfork  ac_cv_func_vfork_works=$ac_cv_func_vfork
12157  if test "x$ac_cv_func_vfork" = xyes; then  if test "x$ac_cv_func_vfork" = xyes; then
12158    echo "$as_me:12155: checking for working vfork" >&5    echo "$as_me:12158: checking for working vfork" >&5
12159  echo $ECHO_N "checking for working vfork... $ECHO_C" >&6  echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
12160  if test "${ac_cv_func_vfork_works+set}" = set; then  if test "${ac_cv_func_vfork_works+set}" = set; then
12161    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 12161  else Line 12164  else
12164    ac_cv_func_vfork_works=cross    ac_cv_func_vfork_works=cross
12165  else  else
12166    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
12167  #line 12164 "configure"  #line 12167 "configure"
12168  #include "confdefs.h"  #include "confdefs.h"
12169  /* Thanks to Paul Eggert for this test.  */  /* Thanks to Paul Eggert for this test.  */
12170  #include <stdio.h>  #include <stdio.h>
# Line 12258  main () Line 12261  main ()
12261  }  }
12262  _ACEOF  _ACEOF
12263  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
12264  if { (eval echo "$as_me:12261: \"$ac_link\"") >&5  if { (eval echo "$as_me:12264: \"$ac_link\"") >&5
12265    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
12266    ac_status=$?    ac_status=$?
12267    echo "$as_me:12264: \$? = $ac_status" >&5    echo "$as_me:12267: \$? = $ac_status" >&5
12268    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12269    { (eval echo "$as_me:12266: \"$ac_try\"") >&5    { (eval echo "$as_me:12269: \"$ac_try\"") >&5
12270    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
12271    ac_status=$?    ac_status=$?
12272    echo "$as_me:12269: \$? = $ac_status" >&5    echo "$as_me:12272: \$? = $ac_status" >&5
12273    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
12274    ac_cv_func_vfork_works=yes    ac_cv_func_vfork_works=yes
12275  else  else
# Line 12278  fi Line 12281  fi
12281  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12282  fi  fi
12283  fi  fi
12284  echo "$as_me:12281: result: $ac_cv_func_vfork_works" >&5  echo "$as_me:12284: result: $ac_cv_func_vfork_works" >&5
12285  echo "${ECHO_T}$ac_cv_func_vfork_works" >&6  echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
12286    
12287  fi;  fi;
12288  if test "x$ac_cv_func_fork_works" = xcross; then  if test "x$ac_cv_func_fork_works" = xcross; then
12289    ac_cv_func_vfork_works=ac_cv_func_vfork    ac_cv_func_vfork_works=ac_cv_func_vfork
12290    { echo "$as_me:12287: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5    { echo "$as_me:12290: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5
12291  echo "$as_me: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&2;}  echo "$as_me: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&2;}
12292  fi  fi
12293    
# Line 12310  EOF Line 12313  EOF
12313  fi  fi
12314    
12315  # Fixme: This should be replaced when we have autoconf 2.14.  # Fixme: This should be replaced when we have autoconf 2.14.
12316  echo "$as_me:12313: checking for size_t" >&5  echo "$as_me:12316: checking for size_t" >&5
12317  echo $ECHO_N "checking for size_t... $ECHO_C" >&6  echo $ECHO_N "checking for size_t... $ECHO_C" >&6
12318  if test "${ac_cv_type_size_t+set}" = set; then  if test "${ac_cv_type_size_t+set}" = set; then
12319    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
12320  else  else
12321    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
12322  #line 12319 "configure"  #line 12322 "configure"
12323  #include "confdefs.h"  #include "confdefs.h"
12324  $ac_includes_default  $ac_includes_default
12325  int  int
# Line 12331  if (sizeof (size_t)) Line 12334  if (sizeof (size_t))
12334  }  }
12335  _ACEOF  _ACEOF
12336  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
12337  if { (eval echo "$as_me:12334: \"$ac_compile\"") >&5  if { (eval echo "$as_me:12337: \"$ac_compile\"") >&5
12338    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
12339    ac_status=$?    ac_status=$?
12340    echo "$as_me:12337: \$? = $ac_status" >&5    echo "$as_me:12340: \$? = $ac_status" >&5
12341    (exit $ac_status); } &&    (exit $ac_status); } &&
12342           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
12343    { (eval echo "$as_me:12340: \"$ac_try\"") >&5    { (eval echo "$as_me:12343: \"$ac_try\"") >&5
12344    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
12345    ac_status=$?    ac_status=$?
12346    echo "$as_me:12343: \$? = $ac_status" >&5    echo "$as_me:12346: \$? = $ac_status" >&5
12347    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
12348    ac_cv_type_size_t=yes    ac_cv_type_size_t=yes
12349  else  else
# Line 12350  ac_cv_type_size_t=no Line 12353  ac_cv_type_size_t=no
12353  fi  fi
12354  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
12355  fi  fi
12356  echo "$as_me:12353: result: $ac_cv_type_size_t" >&5  echo "$as_me:12356: result: $ac_cv_type_size_t" >&5
12357  echo "${ECHO_T}$ac_cv_type_size_t" >&6  echo "${ECHO_T}$ac_cv_type_size_t" >&6
12358  if test $ac_cv_type_size_t = yes; then  if test $ac_cv_type_size_t = yes; then
12359    :    :
# Line 12370  CPPFLAGS="$REAL_CPPFLAGS" Line 12373  CPPFLAGS="$REAL_CPPFLAGS"
12373  version=`grep 'defconst[         ]*emacs-version' ${srcdir}/lisp/version.el \  version=`grep 'defconst[         ]*emacs-version' ${srcdir}/lisp/version.el \
12374           | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`           | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`
12375  if test x"${version}" = x; then  if test x"${version}" = x; then
12376    { { echo "$as_me:12373: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5    { { echo "$as_me:12376: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5
12377  echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;}  echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;}
12378     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
12379  fi  fi
# Line 12456  fi Line 12459  fi
12459  for ac_header in nlist.h  for ac_header in nlist.h
12460  do  do
12461  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12462  echo "$as_me:12459: checking for $ac_header" >&5  echo "$as_me:12462: checking for $ac_header" >&5
12463  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12464  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
12465    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
12466  else  else
12467    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
12468  #line 12465 "configure"  #line 12468 "configure"
12469  #include "confdefs.h"  #include "confdefs.h"
12470  #include <$ac_header>  #include <$ac_header>
12471  _ACEOF  _ACEOF
12472  if { (eval echo "$as_me:12469: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:12472: \"$ac_cpp conftest.$ac_ext\"") >&5
12473    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12474    ac_status=$?    ac_status=$?
12475    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
12476    rm -f conftest.er1    rm -f conftest.er1
12477    cat conftest.err >&5    cat conftest.err >&5
12478    echo "$as_me:12475: \$? = $ac_status" >&5    echo "$as_me:12478: \$? = $ac_status" >&5
12479    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
12480    if test -s conftest.err; then    if test -s conftest.err; then
12481      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 12491  else Line 12494  else
12494  fi  fi
12495  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
12496  fi  fi
12497  echo "$as_me:12494: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:12497: result: `eval echo '${'$as_ac_Header'}'`" >&5
12498  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12499  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
12500    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 12551  test "${exec_prefix}" != NONE && Line 12554  test "${exec_prefix}" != NONE &&
12554  ## C preprocessor.  ## C preprocessor.
12555    
12556  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
12557  #line 12554 "configure"  #line 12557 "configure"
12558  #include "confdefs.h"  #include "confdefs.h"
12559  yes..yes  yes..yes
12560  _ACEOF  _ACEOF
# Line 12644  DEFS=-DHAVE_CONFIG_H Line 12647  DEFS=-DHAVE_CONFIG_H
12647  : ${CONFIG_STATUS=./config.status}  : ${CONFIG_STATUS=./config.status}
12648  ac_clean_files_save=$ac_clean_files  ac_clean_files_save=$ac_clean_files
12649  ac_clean_files="$ac_clean_files $CONFIG_STATUS"  ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12650  { echo "$as_me:12647: creating $CONFIG_STATUS" >&5  { echo "$as_me:12650: creating $CONFIG_STATUS" >&5
12651  echo "$as_me: creating $CONFIG_STATUS" >&6;}  echo "$as_me: creating $CONFIG_STATUS" >&6;}
12652  cat >$CONFIG_STATUS <<_ACEOF  cat >$CONFIG_STATUS <<_ACEOF
12653  #! $SHELL  #! $SHELL
# Line 12820  cat >>$CONFIG_STATUS <<\EOF Line 12823  cat >>$CONFIG_STATUS <<\EOF
12823      echo "$ac_cs_version"; exit 0 ;;      echo "$ac_cs_version"; exit 0 ;;
12824    --he | --h)    --he | --h)
12825      # Conflict between --help and --header      # Conflict between --help and --header
12826      { { echo "$as_me:12823: error: ambiguous option: $1      { { echo "$as_me:12826: error: ambiguous option: $1
12827  Try \`$0 --help' for more information." >&5  Try \`$0 --help' for more information." >&5
12828  echo "$as_me: error: ambiguous option: $1  echo "$as_me: error: ambiguous option: $1
12829  Try \`$0 --help' for more information." >&2;}  Try \`$0 --help' for more information." >&2;}
# Line 12839  Try \`$0 --help' for more information." Line 12842  Try \`$0 --help' for more information."
12842      ac_need_defaults=false;;      ac_need_defaults=false;;
12843    
12844    # This is an error.    # This is an error.
12845    -*) { { echo "$as_me:12842: error: unrecognized option: $1    -*) { { echo "$as_me:12845: error: unrecognized option: $1
12846  Try \`$0 --help' for more information." >&5  Try \`$0 --help' for more information." >&5
12847  echo "$as_me: error: unrecognized option: $1  echo "$as_me: error: unrecognized option: $1
12848  Try \`$0 --help' for more information." >&2;}  Try \`$0 --help' for more information." >&2;}
# Line 12895  do Line 12898  do
12898    "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;;    "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;;
12899    "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;    "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
12900    "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:src/config.in" ;;    "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:src/config.in" ;;
12901    *) { { echo "$as_me:12898: error: invalid argument: $ac_config_target" >&5    *) { { echo "$as_me:12901: error: invalid argument: $ac_config_target" >&5
12902  echo "$as_me: error: invalid argument: $ac_config_target" >&2;}  echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12903     { (exit 1); exit 1; }; };;     { (exit 1); exit 1; }; };;
12904    esac    esac
# Line 13142  done; } Line 13145  done; }
13145    esac    esac
13146    
13147    if test x"$ac_file" != x-; then    if test x"$ac_file" != x-; then
13148      { echo "$as_me:13145: creating $ac_file" >&5      { echo "$as_me:13148: creating $ac_file" >&5
13149  echo "$as_me: creating $ac_file" >&6;}  echo "$as_me: creating $ac_file" >&6;}
13150      rm -f "$ac_file"      rm -f "$ac_file"
13151    fi    fi
# Line 13160  echo "$as_me: creating $ac_file" >&6;} Line 13163  echo "$as_me: creating $ac_file" >&6;}
13163        -) echo $tmp/stdin ;;        -) echo $tmp/stdin ;;
13164        [\\/$]*)        [\\/$]*)
13165           # Absolute (can't be DOS-style, as IFS=:)           # Absolute (can't be DOS-style, as IFS=:)
13166           test -f "$f" || { { echo "$as_me:13163: error: cannot find input file: $f" >&5           test -f "$f" || { { echo "$as_me:13166: error: cannot find input file: $f" >&5
13167  echo "$as_me: error: cannot find input file: $f" >&2;}  echo "$as_me: error: cannot find input file: $f" >&2;}
13168     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
13169           echo $f;;           echo $f;;
# Line 13173  echo "$as_me: error: cannot find input f Line 13176  echo "$as_me: error: cannot find input f
13176             echo $srcdir/$f             echo $srcdir/$f
13177           else           else
13178             # /dev/null tree             # /dev/null tree
13179             { { echo "$as_me:13176: error: cannot find input file: $f" >&5             { { echo "$as_me:13179: error: cannot find input file: $f" >&5
13180  echo "$as_me: error: cannot find input file: $f" >&2;}  echo "$as_me: error: cannot find input file: $f" >&2;}
13181     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
13182           fi;;           fi;;
# Line 13234  for ac_file in : $CONFIG_HEADERS; do tes Line 13237  for ac_file in : $CONFIG_HEADERS; do tes
13237    * )   ac_file_in=$ac_file.in ;;    * )   ac_file_in=$ac_file.in ;;
13238    esac    esac
13239    
13240    test x"$ac_file" != x- && { echo "$as_me:13237: creating $ac_file" >&5    test x"$ac_file" != x- && { echo "$as_me:13240: creating $ac_file" >&5
13241  echo "$as_me: creating $ac_file" >&6;}  echo "$as_me: creating $ac_file" >&6;}
13242    
13243    # First look for the input files in the build tree, otherwise in the    # First look for the input files in the build tree, otherwise in the
# Line 13245  echo "$as_me: creating $ac_file" >&6;} Line 13248  echo "$as_me: creating $ac_file" >&6;}
13248        -) echo $tmp/stdin ;;        -) echo $tmp/stdin ;;
13249        [\\/$]*)        [\\/$]*)
13250           # Absolute (can't be DOS-style, as IFS=:)           # Absolute (can't be DOS-style, as IFS=:)
13251           test -f "$f" || { { echo "$as_me:13248: error: cannot find input file: $f" >&5           test -f "$f" || { { echo "$as_me:13251: error: cannot find input file: $f" >&5
13252  echo "$as_me: error: cannot find input file: $f" >&2;}  echo "$as_me: error: cannot find input file: $f" >&2;}
13253     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
13254           echo $f;;           echo $f;;
# Line 13258  echo "$as_me: error: cannot find input f Line 13261  echo "$as_me: error: cannot find input f
13261             echo $srcdir/$f             echo $srcdir/$f
13262           else           else
13263             # /dev/null tree             # /dev/null tree
13264             { { echo "$as_me:13261: error: cannot find input file: $f" >&5             { { echo "$as_me:13264: error: cannot find input file: $f" >&5
13265  echo "$as_me: error: cannot find input file: $f" >&2;}  echo "$as_me: error: cannot find input file: $f" >&2;}
13266     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
13267           fi;;           fi;;
# Line 13375  cat >>$CONFIG_STATUS <<\EOF Line 13378  cat >>$CONFIG_STATUS <<\EOF
13378    rm -f $tmp/in    rm -f $tmp/in
13379    if test x"$ac_file" != x-; then    if test x"$ac_file" != x-; then
13380      if cmp -s $ac_file $tmp/config.h 2>/dev/null; then      if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
13381        { echo "$as_me:13378: $ac_file is unchanged" >&5        { echo "$as_me:13381: $ac_file is unchanged" >&5
13382  echo "$as_me: $ac_file is unchanged" >&6;}  echo "$as_me: $ac_file is unchanged" >&6;}
13383      else      else
13384        ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \        ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \

Legend:
Removed from v.1.81  
changed lines
  Added in v.1.82

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26