/[emacs]/emacs/configure
ViewVC logotype

Diff of /emacs/configure

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

revision 1.66 by raeburn, Wed Oct 24 22:54:38 2001 UTC revision 1.67 by gerd, Sun Oct 28 19:28:52 2001 UTC
# Line 1661  case "${canonical}" in Line 1661  case "${canonical}" in
1661    i370-ibm-aix*)    i370-ibm-aix*)
1662      machine=ibm370aix opsys=usg5-3      machine=ibm370aix opsys=usg5-3
1663    ;;    ;;
1664      s390-*-linux-gnu)
1665        machine=ibms390 opsys=gnu-linux
1666      ;;
1667    rs6000-ibm-aix3.1* | powerpc-ibm-aix3.1*  )    rs6000-ibm-aix3.1* | powerpc-ibm-aix3.1*  )
1668      machine=ibmrs6000 opsys=aix3-1      machine=ibmrs6000 opsys=aix3-1
1669    ;;    ;;
# Line 2186  if test x"${opsys}" = x; then Line 2189  if test x"${opsys}" = x; then
2189  fi  fi
2190    
2191  if test $unported = yes; then  if test $unported = yes; then
2192    { { echo "$as_me:2189: error: Emacs hasn't been ported to \`${canonical}' systems.    { { echo "$as_me:2192: error: Emacs hasn't been ported to \`${canonical}' systems.
2193  Check \`etc/MACHINES' for recognized configuration names." >&5  Check \`etc/MACHINES' for recognized configuration names." >&5
2194  echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems.  echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems.
2195  Check \`etc/MACHINES' for recognized configuration names." >&2;}  Check \`etc/MACHINES' for recognized configuration names." >&2;}
# Line 2215  ac_compiler_gnu=$ac_cv_c_compiler_gnu Line 2218  ac_compiler_gnu=$ac_cv_c_compiler_gnu
2218  if test -n "$ac_tool_prefix"; then  if test -n "$ac_tool_prefix"; then
2219    # 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.
2220  set dummy ${ac_tool_prefix}gcc; ac_word=$2  set dummy ${ac_tool_prefix}gcc; ac_word=$2
2221  echo "$as_me:2218: checking for $ac_word" >&5  echo "$as_me:2221: checking for $ac_word" >&5
2222  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2223  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
2224    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2230  for ac_dir in $ac_dummy; do Line 2233  for ac_dir in $ac_dummy; do
2233    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
2234    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
2235  ac_cv_prog_CC="${ac_tool_prefix}gcc"  ac_cv_prog_CC="${ac_tool_prefix}gcc"
2236  echo "$as_me:2233: found $ac_dir/$ac_word" >&5  echo "$as_me:2236: found $ac_dir/$ac_word" >&5
2237  break  break
2238  done  done
2239    
# Line 2238  fi Line 2241  fi
2241  fi  fi
2242  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2243  if test -n "$CC"; then  if test -n "$CC"; then
2244    echo "$as_me:2241: result: $CC" >&5    echo "$as_me:2244: result: $CC" >&5
2245  echo "${ECHO_T}$CC" >&6  echo "${ECHO_T}$CC" >&6
2246  else  else
2247    echo "$as_me:2244: result: no" >&5    echo "$as_me:2247: result: no" >&5
2248  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2249  fi  fi
2250    
# Line 2250  if test -z "$ac_cv_prog_CC"; then Line 2253  if test -z "$ac_cv_prog_CC"; then
2253    ac_ct_CC=$CC    ac_ct_CC=$CC
2254    # 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.
2255  set dummy gcc; ac_word=$2  set dummy gcc; ac_word=$2
2256  echo "$as_me:2253: checking for $ac_word" >&5  echo "$as_me:2256: checking for $ac_word" >&5
2257  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2258  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2259    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2265  for ac_dir in $ac_dummy; do Line 2268  for ac_dir in $ac_dummy; do
2268    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
2269    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
2270  ac_cv_prog_ac_ct_CC="gcc"  ac_cv_prog_ac_ct_CC="gcc"
2271  echo "$as_me:2268: found $ac_dir/$ac_word" >&5  echo "$as_me:2271: found $ac_dir/$ac_word" >&5
2272  break  break
2273  done  done
2274    
# Line 2273  fi Line 2276  fi
2276  fi  fi
2277  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_CC=$ac_cv_prog_ac_ct_CC
2278  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_CC"; then
2279    echo "$as_me:2276: result: $ac_ct_CC" >&5    echo "$as_me:2279: result: $ac_ct_CC" >&5
2280  echo "${ECHO_T}$ac_ct_CC" >&6  echo "${ECHO_T}$ac_ct_CC" >&6
2281  else  else
2282    echo "$as_me:2279: result: no" >&5    echo "$as_me:2282: result: no" >&5
2283  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2284  fi  fi
2285    
# Line 2289  if test -z "$CC"; then Line 2292  if test -z "$CC"; then
2292    if test -n "$ac_tool_prefix"; then    if test -n "$ac_tool_prefix"; then
2293    # 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.
2294  set dummy ${ac_tool_prefix}cc; ac_word=$2  set dummy ${ac_tool_prefix}cc; ac_word=$2
2295  echo "$as_me:2292: checking for $ac_word" >&5  echo "$as_me:2295: checking for $ac_word" >&5
2296  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2297  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
2298    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2304  for ac_dir in $ac_dummy; do Line 2307  for ac_dir in $ac_dummy; do
2307    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
2308    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
2309  ac_cv_prog_CC="${ac_tool_prefix}cc"  ac_cv_prog_CC="${ac_tool_prefix}cc"
2310  echo "$as_me:2307: found $ac_dir/$ac_word" >&5  echo "$as_me:2310: found $ac_dir/$ac_word" >&5
2311  break  break
2312  done  done
2313    
# Line 2312  fi Line 2315  fi
2315  fi  fi
2316  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2317  if test -n "$CC"; then  if test -n "$CC"; then
2318    echo "$as_me:2315: result: $CC" >&5    echo "$as_me:2318: result: $CC" >&5
2319  echo "${ECHO_T}$CC" >&6  echo "${ECHO_T}$CC" >&6
2320  else  else
2321    echo "$as_me:2318: result: no" >&5    echo "$as_me:2321: result: no" >&5
2322  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2323  fi  fi
2324    
# Line 2324  if test -z "$ac_cv_prog_CC"; then Line 2327  if test -z "$ac_cv_prog_CC"; then
2327    ac_ct_CC=$CC    ac_ct_CC=$CC
2328    # 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.
2329  set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
2330  echo "$as_me:2327: checking for $ac_word" >&5  echo "$as_me:2330: checking for $ac_word" >&5
2331  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2332  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2333    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2339  for ac_dir in $ac_dummy; do Line 2342  for ac_dir in $ac_dummy; do
2342    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
2343    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
2344  ac_cv_prog_ac_ct_CC="cc"  ac_cv_prog_ac_ct_CC="cc"
2345  echo "$as_me:2342: found $ac_dir/$ac_word" >&5  echo "$as_me:2345: found $ac_dir/$ac_word" >&5
2346  break  break
2347  done  done
2348    
# Line 2347  fi Line 2350  fi
2350  fi  fi
2351  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_CC=$ac_cv_prog_ac_ct_CC
2352  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_CC"; then
2353    echo "$as_me:2350: result: $ac_ct_CC" >&5    echo "$as_me:2353: result: $ac_ct_CC" >&5
2354  echo "${ECHO_T}$ac_ct_CC" >&6  echo "${ECHO_T}$ac_ct_CC" >&6
2355  else  else
2356    echo "$as_me:2353: result: no" >&5    echo "$as_me:2356: result: no" >&5
2357  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2358  fi  fi
2359    
# Line 2363  fi Line 2366  fi
2366  if test -z "$CC"; then  if test -z "$CC"; then
2367    # 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.
2368  set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
2369  echo "$as_me:2366: checking for $ac_word" >&5  echo "$as_me:2369: checking for $ac_word" >&5
2370  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2371  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
2372    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2383  if test "$ac_dir/$ac_word" = "/usr/ucb/c Line 2386  if test "$ac_dir/$ac_word" = "/usr/ucb/c
2386    continue    continue
2387  fi  fi
2388  ac_cv_prog_CC="cc"  ac_cv_prog_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 2405  fi Line 2408  fi
2408  fi  fi
2409  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2410  if test -n "$CC"; then  if test -n "$CC"; then
2411    echo "$as_me:2408: result: $CC" >&5    echo "$as_me:2411: result: $CC" >&5
2412  echo "${ECHO_T}$CC" >&6  echo "${ECHO_T}$CC" >&6
2413  else  else
2414    echo "$as_me:2411: result: no" >&5    echo "$as_me:2414: result: no" >&5
2415  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2416  fi  fi
2417    
# Line 2419  if test -z "$CC"; then Line 2422  if test -z "$CC"; then
2422    do    do
2423      # 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.
2424  set dummy $ac_tool_prefix$ac_prog; ac_word=$2  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2425  echo "$as_me:2422: checking for $ac_word" >&5  echo "$as_me:2425: checking for $ac_word" >&5
2426  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2427  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
2428    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2434  for ac_dir in $ac_dummy; do Line 2437  for ac_dir in $ac_dummy; do
2437    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
2438    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
2439  ac_cv_prog_CC="$ac_tool_prefix$ac_prog"  ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2440  echo "$as_me:2437: found $ac_dir/$ac_word" >&5  echo "$as_me:2440: found $ac_dir/$ac_word" >&5
2441  break  break
2442  done  done
2443    
# Line 2442  fi Line 2445  fi
2445  fi  fi
2446  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2447  if test -n "$CC"; then  if test -n "$CC"; then
2448    echo "$as_me:2445: result: $CC" >&5    echo "$as_me:2448: result: $CC" >&5
2449  echo "${ECHO_T}$CC" >&6  echo "${ECHO_T}$CC" >&6
2450  else  else
2451    echo "$as_me:2448: result: no" >&5    echo "$as_me:2451: result: no" >&5
2452  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2453  fi  fi
2454    
# Line 2458  if test -z "$CC"; then Line 2461  if test -z "$CC"; then
2461  do  do
2462    # 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.
2463  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
2464  echo "$as_me:2461: checking for $ac_word" >&5  echo "$as_me:2464: checking for $ac_word" >&5
2465  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2466  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2467    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2473  for ac_dir in $ac_dummy; do Line 2476  for ac_dir in $ac_dummy; do
2476    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
2477    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
2478  ac_cv_prog_ac_ct_CC="$ac_prog"  ac_cv_prog_ac_ct_CC="$ac_prog"
2479  echo "$as_me:2476: found $ac_dir/$ac_word" >&5  echo "$as_me:2479: found $ac_dir/$ac_word" >&5
2480  break  break
2481  done  done
2482    
# Line 2481  fi Line 2484  fi
2484  fi  fi
2485  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_CC=$ac_cv_prog_ac_ct_CC
2486  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_CC"; then
2487    echo "$as_me:2484: result: $ac_ct_CC" >&5    echo "$as_me:2487: result: $ac_ct_CC" >&5
2488  echo "${ECHO_T}$ac_ct_CC" >&6  echo "${ECHO_T}$ac_ct_CC" >&6
2489  else  else
2490    echo "$as_me:2487: result: no" >&5    echo "$as_me:2490: result: no" >&5
2491  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2492  fi  fi
2493    
# Line 2496  fi Line 2499  fi
2499    
2500  fi  fi
2501    
2502  test -z "$CC" && { { echo "$as_me:2499: error: no acceptable cc found in \$PATH" >&5  test -z "$CC" && { { echo "$as_me:2502: error: no acceptable cc found in \$PATH" >&5
2503  echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}  echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2504     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
2505    
2506  # Provide some information about the compiler.  # Provide some information about the compiler.
2507  echo "$as_me:2504:" \  echo "$as_me:2507:" \
2508       "checking for C compiler version" >&5       "checking for C compiler version" >&5
2509  ac_compiler=`set X $ac_compile; echo $2`  ac_compiler=`set X $ac_compile; echo $2`
2510  { (eval echo "$as_me:2507: \"$ac_compiler --version </dev/null >&5\"") >&5  { (eval echo "$as_me:2510: \"$ac_compiler --version </dev/null >&5\"") >&5
2511    (eval $ac_compiler --version </dev/null >&5) 2>&5    (eval $ac_compiler --version </dev/null >&5) 2>&5
2512    ac_status=$?    ac_status=$?
2513    echo "$as_me:2510: \$? = $ac_status" >&5    echo "$as_me:2513: \$? = $ac_status" >&5
2514    (exit $ac_status); }    (exit $ac_status); }
2515  { (eval echo "$as_me:2512: \"$ac_compiler -v </dev/null >&5\"") >&5  { (eval echo "$as_me:2515: \"$ac_compiler -v </dev/null >&5\"") >&5
2516    (eval $ac_compiler -v </dev/null >&5) 2>&5    (eval $ac_compiler -v </dev/null >&5) 2>&5
2517    ac_status=$?    ac_status=$?
2518    echo "$as_me:2515: \$? = $ac_status" >&5    echo "$as_me:2518: \$? = $ac_status" >&5
2519    (exit $ac_status); }    (exit $ac_status); }
2520  { (eval echo "$as_me:2517: \"$ac_compiler -V </dev/null >&5\"") >&5  { (eval echo "$as_me:2520: \"$ac_compiler -V </dev/null >&5\"") >&5
2521    (eval $ac_compiler -V </dev/null >&5) 2>&5    (eval $ac_compiler -V </dev/null >&5) 2>&5
2522    ac_status=$?    ac_status=$?
2523    echo "$as_me:2520: \$? = $ac_status" >&5    echo "$as_me:2523: \$? = $ac_status" >&5
2524    (exit $ac_status); }    (exit $ac_status); }
2525    
2526  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
2527  #line 2524 "configure"  #line 2527 "configure"
2528  #include "confdefs.h"  #include "confdefs.h"
2529    
2530  int  int
# Line 2537  ac_clean_files="$ac_clean_files a.out a. Line 2540  ac_clean_files="$ac_clean_files a.out a.
2540  # Try to create an executable without -o first, disregard a.out.  # Try to create an executable without -o first, disregard a.out.
2541  # It will help us diagnose broken compilers, and finding out an intuition  # It will help us diagnose broken compilers, and finding out an intuition
2542  # of exeext.  # of exeext.
2543  echo "$as_me:2540: checking for C compiler default output" >&5  echo "$as_me:2543: checking for C compiler default output" >&5
2544  echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6  echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2545  ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`  ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2546  if { (eval echo "$as_me:2543: \"$ac_link_default\"") >&5  if { (eval echo "$as_me:2546: \"$ac_link_default\"") >&5
2547    (eval $ac_link_default) 2>&5    (eval $ac_link_default) 2>&5
2548    ac_status=$?    ac_status=$?
2549    echo "$as_me:2546: \$? = $ac_status" >&5    echo "$as_me:2549: \$? = $ac_status" >&5
2550    (exit $ac_status); }; then    (exit $ac_status); }; then
2551    # Find the output, starting from the most likely.  This scheme is    # Find the output, starting from the most likely.  This scheme is
2552  # 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 2566  done Line 2569  done
2569  else  else
2570    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2571  cat conftest.$ac_ext >&5  cat conftest.$ac_ext >&5
2572  { { echo "$as_me:2569: error: C compiler cannot create executables" >&5  { { echo "$as_me:2572: error: C compiler cannot create executables" >&5
2573  echo "$as_me: error: C compiler cannot create executables" >&2;}  echo "$as_me: error: C compiler cannot create executables" >&2;}
2574     { (exit 77); exit 77; }; }     { (exit 77); exit 77; }; }
2575  fi  fi
2576    
2577  ac_exeext=$ac_cv_exeext  ac_exeext=$ac_cv_exeext
2578  echo "$as_me:2575: result: $ac_file" >&5  echo "$as_me:2578: result: $ac_file" >&5
2579  echo "${ECHO_T}$ac_file" >&6  echo "${ECHO_T}$ac_file" >&6
2580    
2581  # Check the compiler produces executables we can run.  If not, either  # Check the compiler produces executables we can run.  If not, either
2582  # the compiler is broken, or we cross compile.  # the compiler is broken, or we cross compile.
2583  echo "$as_me:2580: checking whether the C compiler works" >&5  echo "$as_me:2583: checking whether the C compiler works" >&5
2584  echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6  echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2585  # FIXME: These cross compiler hacks should be removed for Autoconf 3.0  # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2586  # If not cross compiling, check that we can run a simple program.  # If not cross compiling, check that we can run a simple program.
2587  if test "$cross_compiling" != yes; then  if test "$cross_compiling" != yes; then
2588    if { ac_try='./$ac_file'    if { ac_try='./$ac_file'
2589    { (eval echo "$as_me:2586: \"$ac_try\"") >&5    { (eval echo "$as_me:2589: \"$ac_try\"") >&5
2590    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2591    ac_status=$?    ac_status=$?
2592    echo "$as_me:2589: \$? = $ac_status" >&5    echo "$as_me:2592: \$? = $ac_status" >&5
2593    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2594      cross_compiling=no      cross_compiling=no
2595    else    else
2596      if test "$cross_compiling" = maybe; then      if test "$cross_compiling" = maybe; then
2597          cross_compiling=yes          cross_compiling=yes
2598      else      else
2599          { { echo "$as_me:2596: error: cannot run C compiled programs.          { { echo "$as_me:2599: error: cannot run C compiled programs.
2600  If you meant to cross compile, use \`--host'." >&5  If you meant to cross compile, use \`--host'." >&5
2601  echo "$as_me: error: cannot run C compiled programs.  echo "$as_me: error: cannot run C compiled programs.
2602  If you meant to cross compile, use \`--host'." >&2;}  If you meant to cross compile, use \`--host'." >&2;}
# Line 2601  If you meant to cross compile, use \`--h Line 2604  If you meant to cross compile, use \`--h
2604      fi      fi
2605    fi    fi
2606  fi  fi
2607  echo "$as_me:2604: result: yes" >&5  echo "$as_me:2607: result: yes" >&5
2608  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
2609    
2610  rm -f a.out a.exe conftest$ac_cv_exeext  rm -f a.out a.exe conftest$ac_cv_exeext
2611  ac_clean_files=$ac_clean_files_save  ac_clean_files=$ac_clean_files_save
2612  # Check the compiler produces executables we can run.  If not, either  # Check the compiler produces executables we can run.  If not, either
2613  # the compiler is broken, or we cross compile.  # the compiler is broken, or we cross compile.
2614  echo "$as_me:2611: checking whether we are cross compiling" >&5  echo "$as_me:2614: checking whether we are cross compiling" >&5
2615  echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6  echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2616  echo "$as_me:2613: result: $cross_compiling" >&5  echo "$as_me:2616: result: $cross_compiling" >&5
2617  echo "${ECHO_T}$cross_compiling" >&6  echo "${ECHO_T}$cross_compiling" >&6
2618    
2619  echo "$as_me:2616: checking for executable suffix" >&5  echo "$as_me:2619: checking for executable suffix" >&5
2620  echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6  echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
2621  if { (eval echo "$as_me:2618: \"$ac_link\"") >&5  if { (eval echo "$as_me:2621: \"$ac_link\"") >&5
2622    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
2623    ac_status=$?    ac_status=$?
2624    echo "$as_me:2621: \$? = $ac_status" >&5    echo "$as_me:2624: \$? = $ac_status" >&5
2625    (exit $ac_status); }; then    (exit $ac_status); }; then
2626    # If both `conftest.exe' and `conftest' are `present' (well, observable)    # If both `conftest.exe' and `conftest' are `present' (well, observable)
2627  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
# Line 2634  for ac_file in `(ls conftest.exe; ls con Line 2637  for ac_file in `(ls conftest.exe; ls con
2637    esac    esac
2638  done  done
2639  else  else
2640    { { echo "$as_me:2637: error: cannot compute EXEEXT: cannot compile and link" >&5    { { echo "$as_me:2640: error: cannot compute EXEEXT: cannot compile and link" >&5
2641  echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}  echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
2642     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
2643  fi  fi
2644    
2645  rm -f conftest$ac_cv_exeext  rm -f conftest$ac_cv_exeext
2646  echo "$as_me:2643: result: $ac_cv_exeext" >&5  echo "$as_me:2646: result: $ac_cv_exeext" >&5
2647  echo "${ECHO_T}$ac_cv_exeext" >&6  echo "${ECHO_T}$ac_cv_exeext" >&6
2648    
2649  rm -f conftest.$ac_ext  rm -f conftest.$ac_ext
2650  EXEEXT=$ac_cv_exeext  EXEEXT=$ac_cv_exeext
2651  ac_exeext=$EXEEXT  ac_exeext=$EXEEXT
2652  echo "$as_me:2649: checking for object suffix" >&5  echo "$as_me:2652: checking for object suffix" >&5
2653  echo $ECHO_N "checking for object suffix... $ECHO_C" >&6  echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
2654  if test "${ac_cv_objext+set}" = set; then  if test "${ac_cv_objext+set}" = set; then
2655    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2656  else  else
2657    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2658  #line 2655 "configure"  #line 2658 "configure"
2659  #include "confdefs.h"  #include "confdefs.h"
2660    
2661  int  int
# Line 2664  main () Line 2667  main ()
2667  }  }
2668  _ACEOF  _ACEOF
2669  rm -f conftest.o conftest.obj  rm -f conftest.o conftest.obj
2670  if { (eval echo "$as_me:2667: \"$ac_compile\"") >&5  if { (eval echo "$as_me:2670: \"$ac_compile\"") >&5
2671    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2672    ac_status=$?    ac_status=$?
2673    echo "$as_me:2670: \$? = $ac_status" >&5    echo "$as_me:2673: \$? = $ac_status" >&5
2674    (exit $ac_status); }; then    (exit $ac_status); }; then
2675    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
2676    case $ac_file in    case $ac_file in
# Line 2679  done Line 2682  done
2682  else  else
2683    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2684  cat conftest.$ac_ext >&5  cat conftest.$ac_ext >&5
2685  { { echo "$as_me:2682: error: cannot compute OBJEXT: cannot compile" >&5  { { echo "$as_me:2685: error: cannot compute OBJEXT: cannot compile" >&5
2686  echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}  echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
2687     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
2688  fi  fi
2689    
2690  rm -f conftest.$ac_cv_objext conftest.$ac_ext  rm -f conftest.$ac_cv_objext conftest.$ac_ext
2691  fi  fi
2692  echo "$as_me:2689: result: $ac_cv_objext" >&5  echo "$as_me:2692: result: $ac_cv_objext" >&5
2693  echo "${ECHO_T}$ac_cv_objext" >&6  echo "${ECHO_T}$ac_cv_objext" >&6
2694  OBJEXT=$ac_cv_objext  OBJEXT=$ac_cv_objext
2695  ac_objext=$OBJEXT  ac_objext=$OBJEXT
2696  echo "$as_me:2693: checking whether we are using the GNU C compiler" >&5  echo "$as_me:2696: checking whether we are using the GNU C compiler" >&5
2697  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
2698  if test "${ac_cv_c_compiler_gnu+set}" = set; then  if test "${ac_cv_c_compiler_gnu+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 2711  main () Line 2714  main ()
2714  }  }
2715  _ACEOF  _ACEOF
2716  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2717  if { (eval echo "$as_me:2714: \"$ac_compile\"") >&5  if { (eval echo "$as_me:2717: \"$ac_compile\"") >&5
2718    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2719    ac_status=$?    ac_status=$?
2720    echo "$as_me:2717: \$? = $ac_status" >&5    echo "$as_me:2720: \$? = $ac_status" >&5
2721    (exit $ac_status); } &&    (exit $ac_status); } &&
2722           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
2723    { (eval echo "$as_me:2720: \"$ac_try\"") >&5    { (eval echo "$as_me:2723: \"$ac_try\"") >&5
2724    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2725    ac_status=$?    ac_status=$?
2726    echo "$as_me:2723: \$? = $ac_status" >&5    echo "$as_me:2726: \$? = $ac_status" >&5
2727    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2728    ac_compiler_gnu=yes    ac_compiler_gnu=yes
2729  else  else
# Line 2732  rm -f conftest.$ac_objext conftest.$ac_e Line 2735  rm -f conftest.$ac_objext conftest.$ac_e
2735  ac_cv_c_compiler_gnu=$ac_compiler_gnu  ac_cv_c_compiler_gnu=$ac_compiler_gnu
2736    
2737  fi  fi
2738  echo "$as_me:2735: result: $ac_cv_c_compiler_gnu" >&5  echo "$as_me:2738: result: $ac_cv_c_compiler_gnu" >&5
2739  echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6  echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2740  GCC=`test $ac_compiler_gnu = yes && echo yes`  GCC=`test $ac_compiler_gnu = yes && echo yes`
2741  ac_test_CFLAGS=${CFLAGS+set}  ac_test_CFLAGS=${CFLAGS+set}
2742  ac_save_CFLAGS=$CFLAGS  ac_save_CFLAGS=$CFLAGS
2743  CFLAGS="-g"  CFLAGS="-g"
2744  echo "$as_me:2741: checking whether $CC accepts -g" >&5  echo "$as_me:2744: checking whether $CC accepts -g" >&5
2745  echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6  echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2746  if test "${ac_cv_prog_cc_g+set}" = set; then  if test "${ac_cv_prog_cc_g+set}" = set; then
2747    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2748  else  else
2749    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2750  #line 2747 "configure"  #line 2750 "configure"
2751  #include "confdefs.h"  #include "confdefs.h"
2752    
2753  int  int
# Line 2756  main () Line 2759  main ()
2759  }  }
2760  _ACEOF  _ACEOF
2761  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2762  if { (eval echo "$as_me:2759: \"$ac_compile\"") >&5  if { (eval echo "$as_me:2762: \"$ac_compile\"") >&5
2763    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2764    ac_status=$?    ac_status=$?
2765    echo "$as_me:2762: \$? = $ac_status" >&5    echo "$as_me:2765: \$? = $ac_status" >&5
2766    (exit $ac_status); } &&    (exit $ac_status); } &&
2767           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
2768    { (eval echo "$as_me:2765: \"$ac_try\"") >&5    { (eval echo "$as_me:2768: \"$ac_try\"") >&5
2769    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2770    ac_status=$?    ac_status=$?
2771    echo "$as_me:2768: \$? = $ac_status" >&5    echo "$as_me:2771: \$? = $ac_status" >&5
2772    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2773    ac_cv_prog_cc_g=yes    ac_cv_prog_cc_g=yes
2774  else  else
# Line 2775  ac_cv_prog_cc_g=no Line 2778  ac_cv_prog_cc_g=no
2778  fi  fi
2779  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
2780  fi  fi
2781  echo "$as_me:2778: result: $ac_cv_prog_cc_g" >&5  echo "$as_me:2781: result: $ac_cv_prog_cc_g" >&5
2782  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2783  if test "$ac_test_CFLAGS" = set; then  if test "$ac_test_CFLAGS" = set; then
2784    CFLAGS=$ac_save_CFLAGS    CFLAGS=$ac_save_CFLAGS
# Line 2802  cat >conftest.$ac_ext <<_ACEOF Line 2805  cat >conftest.$ac_ext <<_ACEOF
2805  #endif  #endif
2806  _ACEOF  _ACEOF
2807  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2808  if { (eval echo "$as_me:2805: \"$ac_compile\"") >&5  if { (eval echo "$as_me:2808: \"$ac_compile\"") >&5
2809    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2810    ac_status=$?    ac_status=$?
2811    echo "$as_me:2808: \$? = $ac_status" >&5    echo "$as_me:2811: \$? = $ac_status" >&5
2812    (exit $ac_status); } &&    (exit $ac_status); } &&
2813           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
2814    { (eval echo "$as_me:2811: \"$ac_try\"") >&5    { (eval echo "$as_me:2814: \"$ac_try\"") >&5
2815    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2816    ac_status=$?    ac_status=$?
2817    echo "$as_me:2814: \$? = $ac_status" >&5    echo "$as_me:2817: \$? = $ac_status" >&5
2818    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2819    for ac_declaration in \    for ac_declaration in \
2820     ''\     ''\
# Line 2823  if { (eval echo "$as_me:2805: \"$ac_comp Line 2826  if { (eval echo "$as_me:2805: \"$ac_comp
2826     'void exit (int);'     'void exit (int);'
2827  do  do
2828    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2829  #line 2826 "configure"  #line 2829 "configure"
2830  #include "confdefs.h"  #include "confdefs.h"
2831  #include <stdlib.h>  #include <stdlib.h>
2832  $ac_declaration  $ac_declaration
# Line 2836  exit (42); Line 2839  exit (42);
2839  }  }
2840  _ACEOF  _ACEOF
2841  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2842  if { (eval echo "$as_me:2839: \"$ac_compile\"") >&5  if { (eval echo "$as_me:2842: \"$ac_compile\"") >&5
2843    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2844    ac_status=$?    ac_status=$?
2845    echo "$as_me:2842: \$? = $ac_status" >&5    echo "$as_me:2845: \$? = $ac_status" >&5
2846    (exit $ac_status); } &&    (exit $ac_status); } &&
2847           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
2848    { (eval echo "$as_me:2845: \"$ac_try\"") >&5    { (eval echo "$as_me:2848: \"$ac_try\"") >&5
2849    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2850    ac_status=$?    ac_status=$?
2851    echo "$as_me:2848: \$? = $ac_status" >&5    echo "$as_me:2851: \$? = $ac_status" >&5
2852    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2853    :    :
2854  else  else
# Line 2855  continue Line 2858  continue
2858  fi  fi
2859  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
2860    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2861  #line 2858 "configure"  #line 2861 "configure"
2862  #include "confdefs.h"  #include "confdefs.h"
2863  $ac_declaration  $ac_declaration
2864  int  int
# Line 2867  exit (42); Line 2870  exit (42);
2870  }  }
2871  _ACEOF  _ACEOF
2872  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2873  if { (eval echo "$as_me:2870: \"$ac_compile\"") >&5  if { (eval echo "$as_me:2873: \"$ac_compile\"") >&5
2874    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2875    ac_status=$?    ac_status=$?
2876    echo "$as_me:2873: \$? = $ac_status" >&5    echo "$as_me:2876: \$? = $ac_status" >&5
2877    (exit $ac_status); } &&    (exit $ac_status); } &&
2878           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
2879    { (eval echo "$as_me:2876: \"$ac_try\"") >&5    { (eval echo "$as_me:2879: \"$ac_try\"") >&5
2880    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2881    ac_status=$?    ac_status=$?
2882    echo "$as_me:2879: \$? = $ac_status" >&5    echo "$as_me:2882: \$? = $ac_status" >&5
2883    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2884    break    break
2885  else  else
# Line 2949  fi Line 2952  fi
2952  #### 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
2953  #### #undef clause to src/config.h.in for autoconf to modify.  #### #undef clause to src/config.h.in for autoconf to modify.
2954    
2955  echo "$as_me:2952: checking whether ln -s works" >&5  echo "$as_me:2955: checking whether ln -s works" >&5
2956  echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6  echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2957  LN_S=$as_ln_s  LN_S=$as_ln_s
2958  if test "$LN_S" = "ln -s"; then  if test "$LN_S" = "ln -s"; then
2959    echo "$as_me:2956: result: yes" >&5    echo "$as_me:2959: result: yes" >&5
2960  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
2961  else  else
2962    echo "$as_me:2959: result: no, using $LN_S" >&5    echo "$as_me:2962: result: no, using $LN_S" >&5
2963  echo "${ECHO_T}no, using $LN_S" >&6  echo "${ECHO_T}no, using $LN_S" >&6
2964  fi  fi
2965    
# Line 2965  ac_cpp='$CPP $CPPFLAGS' Line 2968  ac_cpp='$CPP $CPPFLAGS'
2968  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2969  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'
2970  ac_compiler_gnu=$ac_cv_c_compiler_gnu  ac_compiler_gnu=$ac_cv_c_compiler_gnu
2971  echo "$as_me:2968: checking how to run the C preprocessor" >&5  echo "$as_me:2971: checking how to run the C preprocessor" >&5
2972  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
2973  # On Suns, sometimes $CPP names a directory.  # On Suns, sometimes $CPP names a directory.
2974  if test -n "$CPP" && test -d "$CPP"; then  if test -n "$CPP" && test -d "$CPP"; then
# Line 2986  do Line 2989  do
2989    # 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,
2990    # not just through cpp. "Syntax error" is here to catch this case.    # not just through cpp. "Syntax error" is here to catch this case.
2991    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2992  #line 2989 "configure"  #line 2992 "configure"
2993  #include "confdefs.h"  #include "confdefs.h"
2994  #include <assert.h>  #include <assert.h>
2995                       Syntax error                       Syntax error
2996  _ACEOF  _ACEOF
2997  if { (eval echo "$as_me:2994: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:2997: \"$ac_cpp conftest.$ac_ext\"") >&5
2998    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2999    ac_status=$?    ac_status=$?
3000    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
3001    rm -f conftest.er1    rm -f conftest.er1
3002    cat conftest.err >&5    cat conftest.err >&5
3003    echo "$as_me:3000: \$? = $ac_status" >&5    echo "$as_me:3003: \$? = $ac_status" >&5
3004    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3005    if test -s conftest.err; then    if test -s conftest.err; then
3006      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 3020  rm -f conftest.err conftest.$ac_ext Line 3023  rm -f conftest.err conftest.$ac_ext
3023    # OK, works on sane cases.  Now check whether non-existent headers    # OK, works on sane cases.  Now check whether non-existent headers
3024    # can be detected and how.    # can be detected and how.
3025    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3026  #line 3023 "configure"  #line 3026 "configure"
3027  #include "confdefs.h"  #include "confdefs.h"
3028  #include <ac_nonexistent.h>  #include <ac_nonexistent.h>
3029  _ACEOF  _ACEOF
3030  if { (eval echo "$as_me:3027: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:3030: \"$ac_cpp conftest.$ac_ext\"") >&5
3031    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3032    ac_status=$?    ac_status=$?
3033    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
3034    rm -f conftest.er1    rm -f conftest.er1
3035    cat conftest.err >&5    cat conftest.err >&5
3036    echo "$as_me:3033: \$? = $ac_status" >&5    echo "$as_me:3036: \$? = $ac_status" >&5
3037    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3038    if test -s conftest.err; then    if test -s conftest.err; then
3039      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 3067  fi Line 3070  fi
3070  else  else
3071    ac_cv_prog_CPP=$CPP    ac_cv_prog_CPP=$CPP
3072  fi  fi
3073  echo "$as_me:3070: result: $CPP" >&5  echo "$as_me:3073: result: $CPP" >&5
3074  echo "${ECHO_T}$CPP" >&6  echo "${ECHO_T}$CPP" >&6
3075  ac_preproc_ok=false  ac_preproc_ok=false
3076  for ac_c_preproc_warn_flag in '' yes  for ac_c_preproc_warn_flag in '' yes
# Line 3077  do Line 3080  do
3080    # 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,
3081    # not just through cpp. "Syntax error" is here to catch this case.    # not just through cpp. "Syntax error" is here to catch this case.
3082    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3083  #line 3080 "configure"  #line 3083 "configure"
3084  #include "confdefs.h"  #include "confdefs.h"
3085  #include <assert.h>  #include <assert.h>
3086                       Syntax error                       Syntax error
3087  _ACEOF  _ACEOF
3088  if { (eval echo "$as_me:3085: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:3088: \"$ac_cpp conftest.$ac_ext\"") >&5
3089    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3090    ac_status=$?    ac_status=$?
3091    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
3092    rm -f conftest.er1    rm -f conftest.er1
3093    cat conftest.err >&5    cat conftest.err >&5
3094    echo "$as_me:3091: \$? = $ac_status" >&5    echo "$as_me:3094: \$? = $ac_status" >&5
3095    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3096    if test -s conftest.err; then    if test -s conftest.err; then
3097      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 3111  rm -f conftest.err conftest.$ac_ext Line 3114  rm -f conftest.err conftest.$ac_ext
3114    # OK, works on sane cases.  Now check whether non-existent headers    # OK, works on sane cases.  Now check whether non-existent headers
3115    # can be detected and how.    # can be detected and how.
3116    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3117  #line 3114 "configure"  #line 3117 "configure"
3118  #include "confdefs.h"  #include "confdefs.h"
3119  #include <ac_nonexistent.h>  #include <ac_nonexistent.h>
3120  _ACEOF  _ACEOF
3121  if { (eval echo "$as_me:3118: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:3121: \"$ac_cpp conftest.$ac_ext\"") >&5
3122    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3123    ac_status=$?    ac_status=$?
3124    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
3125    rm -f conftest.er1    rm -f conftest.er1
3126    cat conftest.err >&5    cat conftest.err >&5
3127    echo "$as_me:3124: \$? = $ac_status" >&5    echo "$as_me:3127: \$? = $ac_status" >&5
3128    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3129    if test -s conftest.err; then    if test -s conftest.err; then
3130      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 3149  rm -f conftest.err conftest.$ac_ext Line 3152  rm -f conftest.err conftest.$ac_ext
3152  if $ac_preproc_ok; then  if $ac_preproc_ok; then
3153    :    :
3154  else  else
3155    { { echo "$as_me:3152: error: C preprocessor \"$CPP\" fails sanity check" >&5    { { echo "$as_me:3155: error: C preprocessor \"$CPP\" fails sanity check" >&5
3156  echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}  echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
3157     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3158  fi  fi
# Line 3172  ac_compiler_gnu=$ac_cv_c_compiler_gnu Line 3175  ac_compiler_gnu=$ac_cv_c_compiler_gnu
3175  # AFS /usr/afsws/bin/install, which mishandles nonexistent args  # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3176  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3177  # ./install, which can be erroneously created by make from ./install.sh.  # ./install, which can be erroneously created by make from ./install.sh.
3178  echo "$as_me:3175: checking for a BSD compatible install" >&5  echo "$as_me:3178: checking for a BSD compatible install" >&5
3179  echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6  echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
3180  if test -z "$INSTALL"; then  if test -z "$INSTALL"; then
3181  if test "${ac_cv_path_install+set}" = set; then  if test "${ac_cv_path_install+set}" = set; then
# Line 3221  fi Line 3224  fi
3224      INSTALL=$ac_install_sh      INSTALL=$ac_install_sh
3225    fi    fi
3226  fi  fi
3227  echo "$as_me:3224: result: $INSTALL" >&5  echo "$as_me:3227: result: $INSTALL" >&5
3228  echo "${ECHO_T}$INSTALL" >&6  echo "${ECHO_T}$INSTALL" >&6
3229    
3230  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
# Line 3236  for ac_prog in 'bison -y' byacc Line 3239  for ac_prog in 'bison -y' byacc
3239  do  do
3240    # 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.
3241  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
3242  echo "$as_me:3239: checking for $ac_word" >&5  echo "$as_me:3242: checking for $ac_word" >&5
3243  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3244  if test "${ac_cv_prog_YACC+set}" = set; then  if test "${ac_cv_prog_YACC+set}" = set; then
3245    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3251  for ac_dir in $ac_dummy; do Line 3254  for ac_dir in $ac_dummy; do
3254    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
3255    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
3256  ac_cv_prog_YACC="$ac_prog"  ac_cv_prog_YACC="$ac_prog"
3257  echo "$as_me:3254: found $ac_dir/$ac_word" >&5  echo "$as_me:3257: found $ac_dir/$ac_word" >&5
3258  break  break
3259  done  done
3260    
# Line 3259  fi Line 3262  fi
3262  fi  fi
3263  YACC=$ac_cv_prog_YACC  YACC=$ac_cv_prog_YACC
3264  if test -n "$YACC"; then  if test -n "$YACC"; then
3265    echo "$as_me:3262: result: $YACC" >&5    echo "$as_me:3265: result: $YACC" >&5
3266  echo "${ECHO_T}$YACC" >&6  echo "${ECHO_T}$YACC" >&6
3267  else  else
3268    echo "$as_me:3265: result: no" >&5    echo "$as_me:3268: result: no" >&5
3269  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
3270  fi  fi
3271    
# Line 3274  if test "x$RANLIB" = x; then Line 3277  if test "x$RANLIB" = x; then
3277    if test -n "$ac_tool_prefix"; then    if test -n "$ac_tool_prefix"; then
3278    # 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.
3279  set dummy ${ac_tool_prefix}ranlib; ac_word=$2  set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3280  echo "$as_me:3277: checking for $ac_word" >&5  echo "$as_me:3280: checking for $ac_word" >&5
3281  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3282  if test "${ac_cv_prog_RANLIB+set}" = set; then  if test "${ac_cv_prog_RANLIB+set}" = set; then
3283    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3289  for ac_dir in $ac_dummy; do Line 3292  for ac_dir in $ac_dummy; do
3292    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
3293    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
3294  ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"  ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3295  echo "$as_me:3292: found $ac_dir/$ac_word" >&5  echo "$as_me:3295: found $ac_dir/$ac_word" >&5
3296  break  break
3297  done  done
3298    
# Line 3297  fi Line 3300  fi
3300  fi  fi
3301  RANLIB=$ac_cv_prog_RANLIB  RANLIB=$ac_cv_prog_RANLIB
3302  if test -n "$RANLIB"; then  if test -n "$RANLIB"; then
3303    echo "$as_me:3300: result: $RANLIB" >&5    echo "$as_me:3303: result: $RANLIB" >&5
3304  echo "${ECHO_T}$RANLIB" >&6  echo "${ECHO_T}$RANLIB" >&6
3305  else  else
3306    echo "$as_me:3303: result: no" >&5    echo "$as_me:3306: result: no" >&5
3307  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
3308  fi  fi
3309    
# Line 3309  if test -z "$ac_cv_prog_RANLIB"; then Line 3312  if test -z "$ac_cv_prog_RANLIB"; then
3312    ac_ct_RANLIB=$RANLIB    ac_ct_RANLIB=$RANLIB
3313    # 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.
3314  set dummy ranlib; ac_word=$2  set dummy ranlib; ac_word=$2
3315  echo "$as_me:3312: checking for $ac_word" >&5  echo "$as_me:3315: checking for $ac_word" >&5
3316  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3317  if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then  if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3318    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3324  for ac_dir in $ac_dummy; do Line 3327  for ac_dir in $ac_dummy; do
3327    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
3328    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
3329  ac_cv_prog_ac_ct_RANLIB="ranlib"  ac_cv_prog_ac_ct_RANLIB="ranlib"
3330  echo "$as_me:3327: found $ac_dir/$ac_word" >&5  echo "$as_me:3330: found $ac_dir/$ac_word" >&5
3331  break  break
3332  done  done
3333    
# Line 3333  fi Line 3336  fi
3336  fi  fi
3337  ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB  ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3338  if test -n "$ac_ct_RANLIB"; then  if test -n "$ac_ct_RANLIB"; then
3339    echo "$as_me:3336: result: $ac_ct_RANLIB" >&5    echo "$as_me:3339: result: $ac_ct_RANLIB" >&5
3340  echo "${ECHO_T}$ac_ct_RANLIB" >&6  echo "${ECHO_T}$ac_ct_RANLIB" >&6
3341  else  else
3342    echo "$as_me:3339: result: no" >&5    echo "$as_me:3342: result: no" >&5
3343  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
3344  fi  fi
3345    
# Line 3347  fi Line 3350  fi
3350    
3351  fi  fi
3352    
3353  echo "$as_me:3350: checking for AIX" >&5  echo "$as_me:3353: checking for AIX" >&5
3354  echo $ECHO_N "checking for AIX... $ECHO_C" >&6  echo $ECHO_N "checking for AIX... $ECHO_C" >&6
3355  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
3356  #line 3353 "configure"  #line 3356 "configure"
3357  #include "confdefs.h"  #include "confdefs.h"
3358  #ifdef _AIX  #ifdef _AIX
3359    yes    yes
# Line 3359  cat >conftest.$ac_ext <<_ACEOF Line 3362  cat >conftest.$ac_ext <<_ACEOF
3362  _ACEOF  _ACEOF
3363  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3364    egrep "yes" >/dev/null 2>&1; then    egrep "yes" >/dev/null 2>&1; then
3365    echo "$as_me:3362: result: yes" >&5    echo "$as_me:3365: result: yes" >&5
3366  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
3367  cat >>confdefs.h <<\EOF  cat >>confdefs.h <<\EOF
3368  #define _ALL_SOURCE 1  #define _ALL_SOURCE 1
3369  EOF  EOF
3370    
3371  else  else
3372    echo "$as_me:3369: result: no" >&5    echo "$as_me:3372: result: no" >&5
3373  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
3374  fi  fi
3375  rm -f conftest*  rm -f conftest*
3376    
3377  #### Extract some information from the operating system and machine files.  #### Extract some information from the operating system and machine files.
3378    
3379  { echo "$as_me:3376: checking the machine- and system-dependent files to find out  { echo "$as_me:3379: checking the machine- and system-dependent files to find out
3380   - which libraries the lib-src programs will want, and   - which libraries the lib-src programs will want, and
3381   - whether the GNU malloc routines are usable..." >&5   - whether the GNU malloc routines are usable..." >&5
3382  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 3523  if test "${enable_largefile+set}" = set; Line 3526  if test "${enable_largefile+set}" = set;
3526  fi;  fi;
3527  if test "$enable_largefile" != no; then  if test "$enable_largefile" != no; then
3528    
3529    echo "$as_me:3526: checking for special C compiler options needed for large files" >&5    echo "$as_me:3529: checking for special C compiler options needed for large files" >&5
3530  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
3531  if test "${ac_cv_sys_largefile_CC+set}" = set; then  if test "${ac_cv_sys_largefile_CC+set}" = set; then
3532    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3535  else Line 3538  else
3538           # IRIX 6.2 and later do not support large files by default,           # IRIX 6.2 and later do not support large files by default,
3539           # so use the C compiler's -n32 option if that helps.           # so use the C compiler's -n32 option if that helps.
3540           cat >conftest.$ac_ext <<_ACEOF           cat >conftest.$ac_ext <<_ACEOF
3541  #line 3538 "configure"  #line 3541 "configure"
3542  #include "confdefs.h"  #include "confdefs.h"
3543  #include <sys/types.h>  #include <sys/types.h>
3544   /* Check that off_t can represent 2**63 - 1 correctly.   /* Check that off_t can represent 2**63 - 1 correctly.
# Line 3555  main () Line 3558  main ()
3558  }  }
3559  _ACEOF  _ACEOF
3560           rm -f conftest.$ac_objext           rm -f conftest.$ac_objext
3561  if { (eval echo "$as_me:3558: \"$ac_compile\"") >&5  if { (eval echo "$as_me:3561: \"$ac_compile\"") >&5
3562    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3563    ac_status=$?    ac_status=$?
3564    echo "$as_me:3561: \$? = $ac_status" >&5    echo "$as_me:3564: \$? = $ac_status" >&5
3565    (exit $ac_status); } &&    (exit $ac_status); } &&
3566           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
3567    { (eval echo "$as_me:3564: \"$ac_try\"") >&5    { (eval echo "$as_me:3567: \"$ac_try\"") >&5
3568    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3569    ac_status=$?    ac_status=$?
3570    echo "$as_me:3567: \$? = $ac_status" >&5    echo "$as_me:3570: \$? = $ac_status" >&5
3571    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3572    break    break
3573  else  else
# Line 3574  fi Line 3577  fi
3577  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3578           CC="$CC -n32"           CC="$CC -n32"
3579           rm -f conftest.$ac_objext           rm -f conftest.$ac_objext
3580  if { (eval echo "$as_me:3577: \"$ac_compile\"") >&5  if { (eval echo "$as_me:3580: \"$ac_compile\"") >&5
3581    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3582    ac_status=$?    ac_status=$?
3583    echo "$as_me:3580: \$? = $ac_status" >&5    echo "$as_me:3583: \$? = $ac_status" >&5
3584    (exit $ac_status); } &&    (exit $ac_status); } &&
3585           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
3586    { (eval echo "$as_me:3583: \"$ac_try\"") >&5    { (eval echo "$as_me:3586: \"$ac_try\"") >&5
3587    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3588    ac_status=$?    ac_status=$?
3589    echo "$as_me:3586: \$? = $ac_status" >&5    echo "$as_me:3589: \$? = $ac_status" >&5
3590    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3591    ac_cv_sys_largefile_CC=' -n32'; break    ac_cv_sys_largefile_CC=' -n32'; break
3592  else  else
# Line 3597  rm -f conftest.$ac_objext Line 3600  rm -f conftest.$ac_objext
3600         rm -f conftest.$ac_ext         rm -f conftest.$ac_ext
3601      fi      fi
3602  fi  fi
3603  echo "$as_me:3600: result: $ac_cv_sys_largefile_CC" >&5  echo "$as_me:3603: result: $ac_cv_sys_largefile_CC" >&5
3604  echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6  echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
3605    if test "$ac_cv_sys_largefile_CC" != no; then    if test "$ac_cv_sys_largefile_CC" != no; then
3606      CC=$CC$ac_cv_sys_largefile_CC      CC=$CC$ac_cv_sys_largefile_CC
3607    fi    fi
3608    
3609    echo "$as_me:3606: checking for _FILE_OFFSET_BITS value needed for large files" >&5    echo "$as_me:3609: checking for _FILE_OFFSET_BITS value needed for large files" >&5
3610  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
3611  if test "${ac_cv_sys_file_offset_bits+set}" = set; then  if test "${ac_cv_sys_file_offset_bits+set}" = set; then
3612    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3611  else Line 3614  else
3614    while :; do    while :; do
3615    ac_cv_sys_file_offset_bits=no    ac_cv_sys_file_offset_bits=no
3616    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3617  #line 3614 "configure"  #line 3617 "configure"
3618  #include "confdefs.h"  #include "confdefs.h"
3619  #include <sys/types.h>  #include <sys/types.h>
3620   /* Check that off_t can represent 2**63 - 1 correctly.   /* Check that off_t can represent 2**63 - 1 correctly.
# Line 3631  main () Line 3634  main ()
3634  }  }
3635  _ACEOF  _ACEOF
3636  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3637  if { (eval echo "$as_me:3634: \"$ac_compile\"") >&5  if { (eval echo "$as_me:3637: \"$ac_compile\"") >&5
3638    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3639    ac_status=$?    ac_status=$?
3640    echo "$as_me:3637: \$? = $ac_status" >&5    echo "$as_me:3640: \$? = $ac_status" >&5
3641    (exit $ac_status); } &&    (exit $ac_status); } &&
3642           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
3643    { (eval echo "$as_me:3640: \"$ac_try\"") >&5    { (eval echo "$as_me:3643: \"$ac_try\"") >&5
3644    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3645    ac_status=$?    ac_status=$?
3646    echo "$as_me:3643: \$? = $ac_status" >&5    echo "$as_me:3646: \$? = $ac_status" >&5
3647    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3648    break    break
3649  else  else
# Line 3649  cat conftest.$ac_ext >&5 Line 3652  cat conftest.$ac_ext >&5
3652  fi  fi
3653  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
3654    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3655  #line 3652 "configure"  #line 3655 "configure"
3656  #include "confdefs.h"  #include "confdefs.h"
3657  #define _FILE_OFFSET_BITS 64  #define _FILE_OFFSET_BITS 64
3658  #include <sys/types.h>  #include <sys/types.h>
# Line 3670  main () Line 3673  main ()
3673  }  }
3674  _ACEOF  _ACEOF
3675  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3676  if { (eval echo "$as_me:3673: \"$ac_compile\"") >&5  if { (eval echo "$as_me:3676: \"$ac_compile\"") >&5
3677    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3678    ac_status=$?    ac_status=$?
3679    echo "$as_me:3676: \$? = $ac_status" >&5    echo "$as_me:3679: \$? = $ac_status" >&5
3680    (exit $ac_status); } &&    (exit $ac_status); } &&
3681           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
3682    { (eval echo "$as_me:3679: \"$ac_try\"") >&5    { (eval echo "$as_me:3682: \"$ac_try\"") >&5
3683    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3684    ac_status=$?    ac_status=$?
3685    echo "$as_me:3682: \$? = $ac_status" >&5    echo "$as_me:3685: \$? = $ac_status" >&5
3686    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3687    ac_cv_sys_file_offset_bits=64; break    ac_cv_sys_file_offset_bits=64; break
3688  else  else
# Line 3690  rm -f conftest.$ac_objext conftest.$ac_e Line 3693  rm -f conftest.$ac_objext conftest.$ac_e
3693    break    break
3694  done  done
3695  fi  fi
3696  echo "$as_me:3693: result: $ac_cv_sys_file_offset_bits" >&5  echo "$as_me:3696: result: $ac_cv_sys_file_offset_bits" >&5
3697  echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6  echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
3698  if test "$ac_cv_sys_file_offset_bits" != no; then  if test "$ac_cv_sys_file_offset_bits" != no; then
3699    
# Line 3700  EOF Line 3703  EOF
3703    
3704  fi  fi
3705  rm -f conftest*  rm -f conftest*
3706    echo "$as_me:3703: checking for _LARGE_FILES value needed for large files" >&5    echo "$as_me:3706: checking for _LARGE_FILES value needed for large files" >&5
3707  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
3708  if test "${ac_cv_sys_large_files+set}" = set; then  if test "${ac_cv_sys_large_files+set}" = set; then
3709    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3708  else Line 3711  else
3711    while :; do    while :; do
3712    ac_cv_sys_large_files=no    ac_cv_sys_large_files=no
3713    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3714  #line 3711 "configure"  #line 3714 "configure"
3715  #include "confdefs.h"  #include "confdefs.h"
3716  #include <sys/types.h>  #include <sys/types.h>
3717   /* Check that off_t can represent 2**63 - 1 correctly.   /* Check that off_t can represent 2**63 - 1 correctly.
# Line 3728  main () Line 3731  main ()
3731  }  }
3732  _ACEOF  _ACEOF
3733  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3734  if { (eval echo "$as_me:3731: \"$ac_compile\"") >&5  if { (eval echo "$as_me:3734: \"$ac_compile\"") >&5
3735    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3736    ac_status=$?    ac_status=$?
3737    echo "$as_me:3734: \$? = $ac_status" >&5    echo "$as_me:3737: \$? = $ac_status" >&5
3738    (exit $ac_status); } &&    (exit $ac_status); } &&
3739           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
3740    { (eval echo "$as_me:3737: \"$ac_try\"") >&5    { (eval echo "$as_me:3740: \"$ac_try\"") >&5
3741    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3742    ac_status=$?    ac_status=$?
3743    echo "$as_me:3740: \$? = $ac_status" >&5    echo "$as_me:3743: \$? = $ac_status" >&5
3744    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3745    break    break
3746  else  else
# Line 3746  cat conftest.$ac_ext >&5 Line 3749  cat conftest.$ac_ext >&5
3749  fi  fi
3750  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
3751    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3752  #line 3749 "configure"  #line 3752 "configure"
3753  #include "confdefs.h"  #include "confdefs.h"
3754  #define _LARGE_FILES 1  #define _LARGE_FILES 1
3755  #include <sys/types.h>  #include <sys/types.h>
# Line 3767  main () Line 3770  main ()
3770  }  }
3771  _ACEOF  _ACEOF
3772  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3773  if { (eval echo "$as_me:3770: \"$ac_compile\"") >&5  if { (eval echo "$as_me:3773: \"$ac_compile\"") >&5
3774    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3775    ac_status=$?    ac_status=$?
3776    echo "$as_me:3773: \$? = $ac_status" >&5    echo "$as_me:3776: \$? = $ac_status" >&5
3777    (exit $ac_status); } &&    (exit $ac_status); } &&
3778           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
3779    { (eval echo "$as_me:3776: \"$ac_try\"") >&5    { (eval echo "$as_me:3779: \"$ac_try\"") >&5
3780    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3781    ac_status=$?    ac_status=$?
3782    echo "$as_me:3779: \$? = $ac_status" >&5    echo "$as_me:3782: \$? = $ac_status" >&5
3783    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3784    ac_cv_sys_large_files=1; break    ac_cv_sys_large_files=1; break
3785  else  else
# Line 3787  rm -f conftest.$ac_objext conftest.$ac_e Line 3790  rm -f conftest.$ac_objext conftest.$ac_e
3790    break    break
3791  done  done
3792  fi  fi
3793  echo "$as_me:3790: result: $ac_cv_sys_large_files" >&5  echo "$as_me:3793: result: $ac_cv_sys_large_files" >&5
3794  echo "${ECHO_T}$ac_cv_sys_large_files" >&6  echo "${ECHO_T}$ac_cv_sys_large_files" >&6
3795  if test "$ac_cv_sys_large_files" != no; then  if test "$ac_cv_sys_large_files" != no; then
3796    
# Line 3804  fi Line 3807  fi
3807  for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h  for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h
3808  do  do
3809  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3810  echo "$as_me:3807: checking for $ac_header" >&5  echo "$as_me:3810: checking for $ac_header" >&5
3811  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3812  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
3813    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3814  else  else
3815    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3816  #line 3813 "configure"  #line 3816 "configure"
3817  #include "confdefs.h"  #include "confdefs.h"
3818  #include <$ac_header>  #include <$ac_header>
3819  _ACEOF  _ACEOF
3820  if { (eval echo "$as_me:3817: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:3820: \"$ac_cpp conftest.$ac_ext\"") >&5
3821    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3822    ac_status=$?    ac_status=$?
3823    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
3824    rm -f conftest.er1    rm -f conftest.er1
3825    cat conftest.err >&5    cat conftest.err >&5
3826    echo "$as_me:3823: \$? = $ac_status" >&5    echo "$as_me:3826: \$? = $ac_status" >&5
3827    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3828    if test -s conftest.err; then    if test -s conftest.err; then
3829      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 3839  else Line 3842  else
3842  fi  fi
3843  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
3844  fi  fi
3845  echo "$as_me:3842: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:3845: result: `eval echo '${'$as_ac_Header'}'`" >&5
3846  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3847  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
3848    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 3850  fi Line 3853  fi
3853  done  done
3854    
3855  # Emulation library used on NetBSD.  # Emulation library used on NetBSD.
3856  echo "$as_me:3853: checking for _oss_ioctl in -lossaudio" >&5  echo "$as_me:3856: checking for _oss_ioctl in -lossaudio" >&5
3857  echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6  echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
3858  if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then  if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
3859    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3858  else Line 3861  else
3861    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
3862  LIBS="-lossaudio  $LIBS"  LIBS="-lossaudio  $LIBS"
3863  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
3864  #line 3861 "configure"  #line 3864 "configure"
3865  #include "confdefs.h"  #include "confdefs.h"
3866    
3867  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 3877  _oss_ioctl (); Line 3880  _oss_ioctl ();
3880  }  }
3881  _ACEOF  _ACEOF
3882  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
3883  if { (eval echo "$as_me:3880: \"$ac_link\"") >&5  if { (eval echo "$as_me:3883: \"$ac_link\"") >&5
3884    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
3885    ac_status=$?    ac_status=$?
3886    echo "$as_me:3883: \$? = $ac_status" >&5    echo "$as_me:3886: \$? = $ac_status" >&5
3887    (exit $ac_status); } &&    (exit $ac_status); } &&
3888           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
3889    { (eval echo "$as_me:3886: \"$ac_try\"") >&5    { (eval echo "$as_me:3889: \"$ac_try\"") >&5
3890    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3891    ac_status=$?    ac_status=$?
3892    echo "$as_me:3889: \$? = $ac_status" >&5    echo "$as_me:3892: \$? = $ac_status" >&5
3893    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3894    ac_cv_lib_ossaudio__oss_ioctl=yes    ac_cv_lib_ossaudio__oss_ioctl=yes
3895  else  else
# Line 3897  fi Line 3900  fi
3900  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3901  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
3902  fi  fi
3903  echo "$as_me:3900: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5  echo "$as_me:3903: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
3904  echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6  echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
3905  if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then  if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
3906    LIBSOUND=-lossaudio    LIBSOUND=-lossaudio
# Line 3910  for ac_header in sys/select.h sys/timeb. Line 3913  for ac_header in sys/select.h sys/timeb.
3913    termcap.h stdio_ext.h fcntl.h term.h strings.h    termcap.h stdio_ext.h fcntl.h term.h strings.h
3914  do  do
3915  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3916  echo "$as_me:3913: checking for $ac_header" >&5  echo "$as_me:3916: checking for $ac_header" >&5
3917  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3918  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
3919    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3920  else  else
3921    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3922  #line 3919 "configure"  #line 3922 "configure"
3923  #include "confdefs.h"  #include "confdefs.h"
3924  #include <$ac_header>  #include <$ac_header>
3925  _ACEOF  _ACEOF
3926  if { (eval echo "$as_me:3923: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:3926: \"$ac_cpp conftest.$ac_ext\"") >&5
3927    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3928    ac_status=$?    ac_status=$?
3929    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
3930    rm -f conftest.er1    rm -f conftest.er1
3931    cat conftest.err >&5    cat conftest.err >&5
3932    echo "$as_me:3929: \$? = $ac_status" >&5    echo "$as_me:3932: \$? = $ac_status" >&5
3933    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3934    if test -s conftest.err; then    if test -s conftest.err; then
3935      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 3945  else Line 3948  else
3948  fi  fi
3949  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
3950  fi  fi
3951  echo "$as_me:3948: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:3951: result: `eval echo '${'$as_ac_Header'}'`" >&5
3952  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3953  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
3954    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 3955  EOF Line 3958  EOF
3958  fi  fi
3959  done  done
3960    
3961  echo "$as_me:3958: checking for ANSI C header files" >&5  echo "$as_me:3961: checking for ANSI C header files" >&5
3962  echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6  echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3963  if test "${ac_cv_header_stdc+set}" = set; then  if test "${ac_cv_header_stdc+set}" = set; then
3964    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3965  else  else
3966    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3967  #line 3964 "configure"  #line 3967 "configure"
3968  #include "confdefs.h"  #include "confdefs.h"
3969  #include <stdlib.h>  #include <stdlib.h>
3970  #include <stdarg.h>  #include <stdarg.h>
# Line 3969  else Line 3972  else
3972  #include <float.h>  #include <float.h>
3973    
3974  _ACEOF  _ACEOF
3975  if { (eval echo "$as_me:3972: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:3975: \"$ac_cpp conftest.$ac_ext\"") >&5
3976    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3977    ac_status=$?    ac_status=$?
3978    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
3979    rm -f conftest.er1    rm -f conftest.er1
3980    cat conftest.err >&5    cat conftest.err >&5
3981    echo "$as_me:3978: \$? = $ac_status" >&5    echo "$as_me:3981: \$? = $ac_status" >&5
3982    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3983    if test -s conftest.err; then    if test -s conftest.err; then
3984      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 3997  rm -f conftest.err conftest.$ac_ext Line 4000  rm -f conftest.err conftest.$ac_ext
4000  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
4001    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4002    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4003  #line 4000 "configure"  #line 4003 "configure"
4004  #include "confdefs.h"  #include "confdefs.h"
4005  #include <string.h>  #include <string.h>
4006    
# Line 4015  fi Line 4018  fi
4018  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
4019    # 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.
4020    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4021  #line 4018 "configure"  #line 4021 "configure"
4022  #include "confdefs.h"  #include "confdefs.h"
4023  #include <stdlib.h>  #include <stdlib.h>
4024    
# Line 4036  if test $ac_cv_header_stdc = yes; then Line 4039  if test $ac_cv_header_stdc = yes; then
4039    :    :
4040  else  else
4041    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4042  #line 4039 "configure"  #line 4042 "configure"
4043  #include "confdefs.h"  #include "confdefs.h"
4044  #include <ctype.h>  #include <ctype.h>
4045  #if ((' ' & 0x0FF) == 0x020)  #if ((' ' & 0x0FF) == 0x020)
# Line 4062  main () Line 4065  main ()
4065  }  }
4066  _ACEOF  _ACEOF
4067  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
4068  if { (eval echo "$as_me:4065: \"$ac_link\"") >&5  if { (eval echo "$as_me:4068: \"$ac_link\"") >&5
4069    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
4070    ac_status=$?    ac_status=$?
4071    echo "$as_me:4068: \$? = $ac_status" >&5    echo "$as_me:4071: \$? = $ac_status" >&5
4072    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4073    { (eval echo "$as_me:4070: \"$ac_try\"") >&5    { (eval echo "$as_me:4073: \"$ac_try\"") >&5
4074    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4075    ac_status=$?    ac_status=$?
4076    echo "$as_me:4073: \$? = $ac_status" >&5    echo "$as_me:4076: \$? = $ac_status" >&5
4077    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4078    :    :
4079  else  else
# Line 4083  rm -f core core.* *.core conftest$ac_exe Line 4086  rm -f core core.* *.core conftest$ac_exe
4086  fi  fi
4087  fi  fi
4088  fi  fi
4089  echo "$as_me:4086: result: $ac_cv_header_stdc" >&5  echo "$as_me:4089: result: $ac_cv_header_stdc" >&5
4090  echo "${ECHO_T}$ac_cv_header_stdc" >&6  echo "${ECHO_T}$ac_cv_header_stdc" >&6
4091  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
4092    
# Line 4093  EOF Line 4096  EOF
4096    
4097  fi  fi
4098    
4099  echo "$as_me:4096: checking whether time.h and sys/time.h may both be included" >&5  echo "$as_me:4099: checking whether time.h and sys/time.h may both be included" >&5
4100  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
4101  if test "${ac_cv_header_time+set}" = set; then  if test "${ac_cv_header_time+set}" = set; then
4102    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4103  else  else
4104    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4105  #line 4102 "configure"  #line 4105 "configure"
4106  #include "confdefs.h"  #include "confdefs.h"
4107  #include <sys/types.h>  #include <sys/types.h>
4108  #include <sys/time.h>  #include <sys/time.h>
# Line 4115  return 0; Line 4118  return 0;
4118  }  }
4119  _ACEOF  _ACEOF
4120  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4121  if { (eval echo "$as_me:4118: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4121: \"$ac_compile\"") >&5
4122    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4123    ac_status=$?    ac_status=$?
4124    echo "$as_me:4121: \$? = $ac_status" >&5    echo "$as_me:4124: \$? = $ac_status" >&5
4125    (exit $ac_status); } &&    (exit $ac_status); } &&
4126           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4127    { (eval echo "$as_me:4124: \"$ac_try\"") >&5    { (eval echo "$as_me:4127: \"$ac_try\"") >&5
4128    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4129    ac_status=$?    ac_status=$?
4130    echo "$as_me:4127: \$? = $ac_status" >&5    echo "$as_me:4130: \$? = $ac_status" >&5
4131    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4132    ac_cv_header_time=yes    ac_cv_header_time=yes
4133  else  else
# Line 4134  ac_cv_header_time=no Line 4137  ac_cv_header_time=no
4137  fi  fi
4138  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4139  fi  fi
4140  echo "$as_me:4137: result: $ac_cv_header_time" >&5  echo "$as_me:4140: result: $ac_cv_header_time" >&5
4141  echo "${ECHO_T}$ac_cv_header_time" >&6  echo "${ECHO_T}$ac_cv_header_time" >&6
4142  if test $ac_cv_header_time = yes; then  if test $ac_cv_header_time = yes; then
4143    
# Line 4144  EOF Line 4147  EOF
4147    
4148  fi  fi
4149    
4150  echo "$as_me:4147: checking for sys_siglist declaration in signal.h or unistd.h" >&5  echo "$as_me:4150: checking for sys_siglist declaration in signal.h or unistd.h" >&5
4151  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
4152  if test "${ac_cv_decl_sys_siglist+set}" = set; then  if test "${ac_cv_decl_sys_siglist+set}" = set; then
4153    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4154  else  else
4155    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4156  #line 4153 "configure"  #line 4156 "configure"
4157  #include "confdefs.h"  #include "confdefs.h"
4158  #include <sys/types.h>  #include <sys/types.h>
4159  #include <signal.h>  #include <signal.h>
# Line 4168  char *msg = *(sys_siglist + 1); Line 4171  char *msg = *(sys_siglist + 1);
4171  }  }
4172  _ACEOF  _ACEOF
4173  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4174  if { (eval echo "$as_me:4171: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4174: \"$ac_compile\"") >&5
4175    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4176    ac_status=$?    ac_status=$?
4177    echo "$as_me:4174: \$? = $ac_status" >&5    echo "$as_me:4177: \$? = $ac_status" >&5
4178    (exit $ac_status); } &&    (exit $ac_status); } &&
4179           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4180    { (eval echo "$as_me:4177: \"$ac_try\"") >&5    { (eval echo "$as_me:4180: \"$ac_try\"") >&5
4181    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4182    ac_status=$?    ac_status=$?
4183    echo "$as_me:4180: \$? = $ac_status" >&5    echo "$as_me:4183: \$? = $ac_status" >&5
4184    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4185    ac_cv_decl_sys_siglist=yes    ac_cv_decl_sys_siglist=yes
4186  else  else
# Line 4187  ac_cv_decl_sys_siglist=no Line 4190  ac_cv_decl_sys_siglist=no
4190  fi  fi
4191  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4192  fi  fi
4193  echo "$as_me:4190: result: $ac_cv_decl_sys_siglist" >&5  echo "$as_me:4193: result: $ac_cv_decl_sys_siglist" >&5
4194  echo "${ECHO_T}$ac_cv_decl_sys_siglist" >&6  echo "${ECHO_T}$ac_cv_decl_sys_siglist" >&6
4195  if test $ac_cv_decl_sys_siglist = yes; then  if test $ac_cv_decl_sys_siglist = yes; then
4196    
# Line 4197  EOF Line 4200  EOF
4200    
4201  fi  fi
4202    
4203  echo "$as_me:4200: checking for sys/wait.h that is POSIX.1 compatible" >&5  echo "$as_me:4203: checking for sys/wait.h that is POSIX.1 compatible" >&5
4204  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
4205  if test "${ac_cv_header_sys_wait_h+set}" = set; then  if test "${ac_cv_header_sys_wait_h+set}" = set; then
4206    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4207  else  else
4208    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4209  #line 4206 "configure"  #line 4209 "configure"
4210  #include "confdefs.h"  #include "confdefs.h"
4211  #include <sys/types.h>  #include <sys/types.h>
4212  #include <sys/wait.h>  #include <sys/wait.h>
# Line 4225  main () Line 4228  main ()
4228  }  }
4229  _ACEOF  _ACEOF
4230  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4231  if { (eval echo "$as_me:4228: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4231: \"$ac_compile\"") >&5
4232    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4233    ac_status=$?    ac_status=$?
4234    echo "$as_me:4231: \$? = $ac_status" >&5    echo "$as_me:4234: \$? = $ac_status" >&5
4235    (exit $ac_status); } &&    (exit $ac_status); } &&
4236           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4237    { (eval echo "$as_me:4234: \"$ac_try\"") >&5    { (eval echo "$as_me:4237: \"$ac_try\"") >&5
4238    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4239    ac_status=$?    ac_status=$?
4240    echo "$as_me:4237: \$? = $ac_status" >&5    echo "$as_me:4240: \$? = $ac_status" >&5
4241    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4242    ac_cv_header_sys_wait_h=yes    ac_cv_header_sys_wait_h=yes
4243  else  else
# Line 4244  ac_cv_header_sys_wait_h=no Line 4247  ac_cv_header_sys_wait_h=no
4247  fi  fi
4248  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4249  fi  fi
4250  echo "$as_me:4247: result: $ac_cv_header_sys_wait_h" >&5  echo "$as_me:4250: result: $ac_cv_header_sys_wait_h" >&5
4251  echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6  echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
4252  if test $ac_cv_header_sys_wait_h = yes; then  if test $ac_cv_header_sys_wait_h = yes; then
4253    
# Line 4254  EOF Line 4257  EOF
4257    
4258  fi  fi
4259    
4260  echo "$as_me:4257: checking for struct utimbuf" >&5  echo "$as_me:4260: checking for struct utimbuf" >&5
4261  echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6  echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6
4262  if test "${emacs_cv_struct_utimbuf+set}" = set; then  if test "${emacs_cv_struct_utimbuf+set}" = set; then
4263    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4264  else  else
4265    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4266  #line 4263 "configure"  #line 4266 "configure"
4267  #include "confdefs.h"  #include "confdefs.h"
4268  #ifdef TIME_WITH_SYS_TIME  #ifdef TIME_WITH_SYS_TIME
4269  #include <sys/time.h>  #include <sys/time.h>
# Line 4284  static struct utimbuf x; x.actime = x.mo Line 4287  static struct utimbuf x; x.actime = x.mo
4287  }  }
4288  _ACEOF  _ACEOF
4289  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4290  if { (eval echo "$as_me:4287: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4290: \"$ac_compile\"") >&5
4291    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4292    ac_status=$?    ac_status=$?
4293    echo "$as_me:4290: \$? = $ac_status" >&5    echo "$as_me:4293: \$? = $ac_status" >&5
4294    (exit $ac_status); } &&    (exit $ac_status); } &&
4295           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4296    { (eval echo "$as_me:4293: \"$ac_try\"") >&5    { (eval echo "$as_me:4296: \"$ac_try\"") >&5
4297    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4298    ac_status=$?    ac_status=$?
4299    echo "$as_me:4296: \$? = $ac_status" >&5    echo "$as_me:4299: \$? = $ac_status" >&5
4300    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4301    emacs_cv_struct_utimbuf=yes    emacs_cv_struct_utimbuf=yes
4302  else  else
# Line 4303  emacs_cv_struct_utimbuf=no Line 4306  emacs_cv_struct_utimbuf=no
4306  fi  fi
4307  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4308  fi  fi
4309  echo "$as_me:4306: result: $emacs_cv_struct_utimbuf" >&5  echo "$as_me:4309: result: $emacs_cv_struct_utimbuf" >&5
4310  echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6  echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6
4311  if test $emacs_cv_struct_utimbuf = yes; then  if test $emacs_cv_struct_utimbuf = yes; then
4312    cat >>confdefs.h <<\EOF    cat >>confdefs.h <<\EOF
# Line 4312  EOF Line 4315  EOF
4315    
4316  fi  fi
4317    
4318  echo "$as_me:4315: checking return type of signal handlers" >&5  echo "$as_me:4318: checking return type of signal handlers" >&5
4319  echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6  echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
4320  if test "${ac_cv_type_signal+set}" = set; then  if test "${ac_cv_type_signal+set}" = set; then
4321    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4322  else  else
4323    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4324  #line 4321 "configure"  #line 4324 "configure"
4325  #include "confdefs.h"  #include "confdefs.h"
4326  #include <sys/types.h>  #include <sys/types.h>
4327  #include <signal.h>  #include <signal.h>
# Line 4340  int i; Line 4343  int i;
4343  }  }
4344  _ACEOF  _ACEOF
4345  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4346  if { (eval echo "$as_me:4343: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4346: \"$ac_compile\"") >&5
4347    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4348    ac_status=$?    ac_status=$?
4349    echo "$as_me:4346: \$? = $ac_status" >&5    echo "$as_me:4349: \$? = $ac_status" >&5
4350    (exit $ac_status); } &&    (exit $ac_status); } &&
4351           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4352    { (eval echo "$as_me:4349: \"$ac_try\"") >&5    { (eval echo "$as_me:4352: \"$ac_try\"") >&5
4353    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4354    ac_status=$?    ac_status=$?
4355    echo "$as_me:4352: \$? = $ac_status" >&5    echo "$as_me:4355: \$? = $ac_status" >&5
4356    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4357    ac_cv_type_signal=void    ac_cv_type_signal=void
4358  else  else
# Line 4359  ac_cv_type_signal=int Line 4362  ac_cv_type_signal=int
4362  fi  fi
4363  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4364  fi  fi
4365  echo "$as_me:4362: result: $ac_cv_type_signal" >&5  echo "$as_me:4365: result: $ac_cv_type_signal" >&5
4366  echo "${ECHO_T}$ac_cv_type_signal" >&6  echo "${ECHO_T}$ac_cv_type_signal" >&6
4367    
4368  cat >>confdefs.h <<EOF  cat >>confdefs.h <<EOF
4369  #define RETSIGTYPE $ac_cv_type_signal  #define RETSIGTYPE $ac_cv_type_signal
4370  EOF  EOF
4371    
4372  echo "$as_me:4369: checking for speed_t" >&5  echo "$as_me:4372: checking for speed_t" >&5
4373  echo $ECHO_N "checking for speed_t... $ECHO_C" >&6  echo $ECHO_N "checking for speed_t... $ECHO_C" >&6
4374  if test "${emacs_cv_speed_t+set}" = set; then  if test "${emacs_cv_speed_t+set}" = set; then
4375    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4376  else  else
4377    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4378  #line 4375 "configure"  #line 4378 "configure"
4379  #include "confdefs.h"  #include "confdefs.h"
4380  #include <termios.h>  #include <termios.h>
4381  int  int
# Line 4384  speed_t x = 1; Line 4387  speed_t x = 1;
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    emacs_cv_speed_t=yes    emacs_cv_speed_t=yes
4402  else  else
# Line 4403  emacs_cv_speed_t=no Line 4406  emacs_cv_speed_t=no
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: $emacs_cv_speed_t" >&5  echo "$as_me:4409: result: $emacs_cv_speed_t" >&5
4410  echo "${ECHO_T}$emacs_cv_speed_t" >&6  echo "${ECHO_T}$emacs_cv_speed_t" >&6
4411  if test $emacs_cv_speed_t = yes; then  if test $emacs_cv_speed_t = yes; then
4412    cat >>confdefs.h <<\EOF    cat >>confdefs.h <<\EOF
# Line 4412  EOF Line 4415  EOF
4415    
4416  fi  fi
4417    
4418  echo "$as_me:4415: checking for struct timeval" >&5  echo "$as_me:4418: checking for struct timeval" >&5
4419  echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6  echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6
4420  if test "${emacs_cv_struct_timeval+set}" = set; then  if test "${emacs_cv_struct_timeval+set}" = set; then
4421    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4422  else  else
4423    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4424  #line 4421 "configure"  #line 4424 "configure"
4425  #include "confdefs.h"  #include "confdefs.h"
4426  #ifdef TIME_WITH_SYS_TIME  #ifdef TIME_WITH_SYS_TIME
4427  #include <sys/time.h>  #include <sys/time.h>
# Line 4439  static struct timeval x; x.tv_sec = x.tv Line 4442  static struct timeval x; x.tv_sec = x.tv
4442  }  }
4443  _ACEOF  _ACEOF
4444  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4445  if { (eval echo "$as_me:4442: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4445: \"$ac_compile\"") >&5
4446    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4447    ac_status=$?    ac_status=$?
4448    echo "$as_me:4445: \$? = $ac_status" >&5    echo "$as_me:4448: \$? = $ac_status" >&5
4449    (exit $ac_status); } &&    (exit $ac_status); } &&
4450           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4451    { (eval echo "$as_me:4448: \"$ac_try\"") >&5    { (eval echo "$as_me:4451: \"$ac_try\"") >&5
4452    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4453    ac_status=$?    ac_status=$?
4454    echo "$as_me:4451: \$? = $ac_status" >&5    echo "$as_me:4454: \$? = $ac_status" >&5
4455    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4456    emacs_cv_struct_timeval=yes    emacs_cv_struct_timeval=yes
4457  else  else
# Line 4458  emacs_cv_struct_timeval=no Line 4461  emacs_cv_struct_timeval=no
4461  fi  fi
4462  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4463  fi  fi
4464  echo "$as_me:4461: result: $emacs_cv_struct_timeval" >&5  echo "$as_me:4464: result: $emacs_cv_struct_timeval" >&5
4465  echo "${ECHO_T}$emacs_cv_struct_timeval" >&6  echo "${ECHO_T}$emacs_cv_struct_timeval" >&6
4466  HAVE_TIMEVAL=$emacs_cv_struct_timeval  HAVE_TIMEVAL=$emacs_cv_struct_timeval
4467  if test $emacs_cv_struct_timeval = yes; then  if test $emacs_cv_struct_timeval = yes; then
# Line 4468  EOF Line 4471  EOF
4471    
4472  fi  fi
4473    
4474  echo "$as_me:4471: checking for struct exception" >&5  echo "$as_me:4474: checking for struct exception" >&5
4475  echo $ECHO_N "checking for struct exception... $ECHO_C" >&6  echo $ECHO_N "checking for struct exception... $ECHO_C" >&6
4476  if test "${emacs_cv_struct_exception+set}" = set; then  if test "${emacs_cv_struct_exception+set}" = set; then
4477    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4478  else  else
4479    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4480  #line 4477 "configure"  #line 4480 "configure"
4481  #include "confdefs.h"  #include "confdefs.h"
4482  #include <math.h>  #include <math.h>
4483  int  int
# Line 4486  static struct exception x; x.arg1 = x.ar Line 4489  static struct exception x; x.arg1 = x.ar
4489  }  }
4490  _ACEOF  _ACEOF
4491  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4492  if { (eval echo "$as_me:4489: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4492: \"$ac_compile\"") >&5
4493    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4494    ac_status=$?    ac_status=$?
4495    echo "$as_me:4492: \$? = $ac_status" >&5    echo "$as_me:4495: \$? = $ac_status" >&5
4496    (exit $ac_status); } &&    (exit $ac_status); } &&
4497           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4498    { (eval echo "$as_me:4495: \"$ac_try\"") >&5    { (eval echo "$as_me:4498: \"$ac_try\"") >&5
4499    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4500    ac_status=$?    ac_status=$?
4501    echo "$as_me:4498: \$? = $ac_status" >&5    echo "$as_me:4501: \$? = $ac_status" >&5
4502    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4503    emacs_cv_struct_exception=yes    emacs_cv_struct_exception=yes
4504  else  else
# Line 4505  emacs_cv_struct_exception=no Line 4508  emacs_cv_struct_exception=no
4508  fi  fi
4509  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4510  fi  fi
4511  echo "$as_me:4508: result: $emacs_cv_struct_exception" >&5  echo "$as_me:4511: result: $emacs_cv_struct_exception" >&5
4512  echo "${ECHO_T}$emacs_cv_struct_exception" >&6  echo "${ECHO_T}$emacs_cv_struct_exception" >&6
4513  HAVE_EXCEPTION=$emacs_cv_struct_exception  HAVE_EXCEPTION=$emacs_cv_struct_exception
4514  if test $emacs_cv_struct_exception != yes; then  if test $emacs_cv_struct_exception != yes; then
# Line 4515  EOF Line 4518  EOF
4518    
4519  fi  fi
4520    
4521  echo "$as_me:4518: checking whether struct tm is in sys/time.h or time.h" >&5  echo "$as_me:4521: checking whether struct tm is in sys/time.h or time.h" >&5
4522  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
4523  if test "${ac_cv_struct_tm+set}" = set; then  if test "${ac_cv_struct_tm+set}" = set; then
4524    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4525  else  else
4526    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4527  #line 4524 "configure"  #line 4527 "configure"
4528  #include "confdefs.h"  #include "confdefs.h"
4529  #include <sys/types.h>  #include <sys/types.h>
4530  #include <time.h>  #include <time.h>
# Line 4535  struct tm *tp; tp->tm_sec; Line 4538  struct tm *tp; tp->tm_sec;
4538  }  }
4539  _ACEOF  _ACEOF
4540  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4541  if { (eval echo "$as_me:4538: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4541: \"$ac_compile\"") >&5
4542    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4543    ac_status=$?    ac_status=$?
4544    echo "$as_me:4541: \$? = $ac_status" >&5    echo "$as_me:4544: \$? = $ac_status" >&5
4545    (exit $ac_status); } &&    (exit $ac_status); } &&
4546           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4547    { (eval echo "$as_me:4544: \"$ac_try\"") >&5    { (eval echo "$as_me:4547: \"$ac_try\"") >&5
4548    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4549    ac_status=$?    ac_status=$?
4550    echo "$as_me:4547: \$? = $ac_status" >&5    echo "$as_me:4550: \$? = $ac_status" >&5
4551    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4552    ac_cv_struct_tm=time.h    ac_cv_struct_tm=time.h
4553  else  else
# Line 4554  ac_cv_struct_tm=sys/time.h Line 4557  ac_cv_struct_tm=sys/time.h
4557  fi  fi
4558  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4559  fi  fi
4560  echo "$as_me:4557: result: $ac_cv_struct_tm" >&5  echo "$as_me:4560: result: $ac_cv_struct_tm" >&5
4561  echo "${ECHO_T}$ac_cv_struct_tm" >&6  echo "${ECHO_T}$ac_cv_struct_tm" >&6
4562  if test $ac_cv_struct_tm = sys/time.h; then  if test $ac_cv_struct_tm = sys/time.h; then
4563    
# Line 4564  EOF Line 4567  EOF
4567    
4568  fi  fi
4569    
4570  echo "$as_me:4567: checking for struct tm.tm_zone" >&5  echo "$as_me:4570: checking for struct tm.tm_zone" >&5
4571  echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6  echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
4572  if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then  if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
4573    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4574  else  else
4575    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4576  #line 4573 "configure"  #line 4576 "configure"
4577  #include "confdefs.h"  #include "confdefs.h"
4578  #include <sys/types.h>  #include <sys/types.h>
4579  #include <$ac_cv_struct_tm>  #include <$ac_cv_struct_tm>
# Line 4586  return 0; Line 4589  return 0;
4589  }  }
4590  _ACEOF  _ACEOF
4591  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4592  if { (eval echo "$as_me:4589: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4592: \"$ac_compile\"") >&5
4593    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4594    ac_status=$?    ac_status=$?
4595    echo "$as_me:4592: \$? = $ac_status" >&5    echo "$as_me:4595: \$? = $ac_status" >&5
4596    (exit $ac_status); } &&    (exit $ac_status); } &&
4597           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4598    { (eval echo "$as_me:4595: \"$ac_try\"") >&5    { (eval echo "$as_me:4598: \"$ac_try\"") >&5
4599    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4600    ac_status=$?    ac_status=$?
4601    echo "$as_me:4598: \$? = $ac_status" >&5    echo "$as_me:4601: \$? = $ac_status" >&5
4602    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4603    ac_cv_member_struct_tm_tm_zone=yes    ac_cv_member_struct_tm_tm_zone=yes
4604  else  else
# Line 4605  ac_cv_member_struct_tm_tm_zone=no Line 4608  ac_cv_member_struct_tm_tm_zone=no
4608  fi  fi
4609  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4610  fi  fi
4611  echo "$as_me:4608: result: $ac_cv_member_struct_tm_tm_zone" >&5  echo "$as_me:4611: result: $ac_cv_member_struct_tm_tm_zone" >&5
4612  echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6  echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
4613  if test $ac_cv_member_struct_tm_tm_zone = yes; then  if test $ac_cv_member_struct_tm_tm_zone = yes; then
4614    
# Line 4622  cat >>confdefs.h <<\EOF Line 4625  cat >>confdefs.h <<\EOF
4625  EOF  EOF
4626    
4627  else  else
4628    echo "$as_me:4625: checking for tzname" >&5    echo "$as_me:4628: checking for tzname" >&5
4629  echo $ECHO_N "checking for tzname... $ECHO_C" >&6  echo $ECHO_N "checking for tzname... $ECHO_C" >&6
4630  if test "${ac_cv_var_tzname+set}" = set; then  if test "${ac_cv_var_tzname+set}" = set; then
4631    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4632  else  else
4633    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4634  #line 4631 "configure"  #line 4634 "configure"
4635  #include "confdefs.h"  #include "confdefs.h"
4636  #include <time.h>  #include <time.h>
4637  #ifndef tzname /* For SGI.  */  #ifndef tzname /* For SGI.  */
# Line 4644  atoi(*tzname); Line 4647  atoi(*tzname);
4647  }  }
4648  _ACEOF  _ACEOF
4649  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
4650  if { (eval echo "$as_me:4647: \"$ac_link\"") >&5  if { (eval echo "$as_me:4650: \"$ac_link\"") >&5
4651    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
4652    ac_status=$?    ac_status=$?
4653    echo "$as_me:4650: \$? = $ac_status" >&5    echo "$as_me:4653: \$? = $ac_status" >&5
4654    (exit $ac_status); } &&    (exit $ac_status); } &&
4655           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
4656    { (eval echo "$as_me:4653: \"$ac_try\"") >&5    { (eval echo "$as_me:4656: \"$ac_try\"") >&5
4657    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4658    ac_status=$?    ac_status=$?
4659    echo "$as_me:4656: \$? = $ac_status" >&5    echo "$as_me:4659: \$? = $ac_status" >&5
4660    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4661    ac_cv_var_tzname=yes    ac_cv_var_tzname=yes
4662  else  else
# Line 4663  ac_cv_var_tzname=no Line 4666  ac_cv_var_tzname=no
4666  fi  fi
4667  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4668  fi  fi
4669  echo "$as_me:4666: result: $ac_cv_var_tzname" >&5  echo "$as_me:4669: result: $ac_cv_var_tzname" >&5
4670  echo "${ECHO_T}$ac_cv_var_tzname" >&6  echo "${ECHO_T}$ac_cv_var_tzname" >&6
4671    if test $ac_cv_var_tzname = yes; then    if test $ac_cv_var_tzname = yes; then
4672    
# Line 4674  EOF Line 4677  EOF
4677    fi    fi
4678  fi  fi
4679    
4680  echo "$as_me:4677: checking for tm_gmtoff in struct tm" >&5  echo "$as_me:4680: checking for tm_gmtoff in struct tm" >&5
4681  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
4682  if test "${emacs_cv_tm_gmtoff+set}" = set; then  if test "${emacs_cv_tm_gmtoff+set}" = set; then
4683    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4684  else  else
4685    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4686  #line 4683 "configure"  #line 4686 "configure"
4687  #include "confdefs.h"  #include "confdefs.h"
4688  #include <time.h>  #include <time.h>
4689  int  int
# Line 4692  struct tm t; t.tm_gmtoff = 0 Line 4695  struct tm t; t.tm_gmtoff = 0
4695  }  }
4696  _ACEOF  _ACEOF
4697  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
4698  if { (eval echo "$as_me:4695: \"$ac_link\"") >&5  if { (eval echo "$as_me:4698: \"$ac_link\"") >&5
4699    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
4700    ac_status=$?    ac_status=$?
4701    echo "$as_me:4698: \$? = $ac_status" >&5    echo "$as_me:4701: \$? = $ac_status" >&5
4702    (exit $ac_status); } &&    (exit $ac_status); } &&
4703           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
4704    { (eval echo "$as_me:4701: \"$ac_try\"") >&5    { (eval echo "$as_me:4704: \"$ac_try\"") >&5
4705    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4706    ac_status=$?    ac_status=$?
4707    echo "$as_me:4704: \$? = $ac_status" >&5    echo "$as_me:4707: \$? = $ac_status" >&5
4708    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4709    emacs_cv_tm_gmtoff=yes    emacs_cv_tm_gmtoff=yes
4710  else  else
# Line 4711  emacs_cv_tm_gmtoff=no Line 4714  emacs_cv_tm_gmtoff=no
4714  fi  fi
4715  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4716  fi  fi
4717  echo "$as_me:4714: result: $emacs_cv_tm_gmtoff" >&5  echo "$as_me:4717: result: $emacs_cv_tm_gmtoff" >&5
4718  echo "${ECHO_T}$emacs_cv_tm_gmtoff" >&6  echo "${ECHO_T}$emacs_cv_tm_gmtoff" >&6
4719  if test $emacs_cv_tm_gmtoff = yes; then  if test $emacs_cv_tm_gmtoff = yes; then
4720    cat >>confdefs.h <<\EOF    cat >>confdefs.h <<\EOF
# Line 4720  EOF Line 4723  EOF
4723    
4724  fi  fi
4725    
4726  echo "$as_me:4723: checking for $CC option to accept ANSI C" >&5  echo "$as_me:4726: checking for $CC option to accept ANSI C" >&5
4727  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
4728  if test "${ac_cv_prog_cc_stdc+set}" = set; then  if test "${ac_cv_prog_cc_stdc+set}" = set; then
4729    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4728  else Line 4731  else
4731    ac_cv_prog_cc_stdc=no    ac_cv_prog_cc_stdc=no
4732  ac_save_CC=$CC  ac_save_CC=$CC
4733  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
4734  #line 4731 "configure"  #line 4734 "configure"
4735  #include "confdefs.h"  #include "confdefs.h"
4736  #include <stdarg.h>  #include <stdarg.h>
4737  #include <stdio.h>  #include <stdio.h>
# Line 4777  for ac_arg in "" -qlanglvl=ansi -std1 -A Line 4780  for ac_arg in "" -qlanglvl=ansi -std1 -A
4780  do  do
4781    CC="$ac_save_CC $ac_arg"    CC="$ac_save_CC $ac_arg"
4782    rm -f conftest.$ac_objext    rm -f conftest.$ac_objext
4783  if { (eval echo "$as_me:4780: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4783: \"$ac_compile\"") >&5
4784    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4785    ac_status=$?    ac_status=$?
4786    echo "$as_me:4783: \$? = $ac_status" >&5    echo "$as_me:4786: \$? = $ac_status" >&5
4787    (exit $ac_status); } &&    (exit $ac_status); } &&
4788           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4789    { (eval echo "$as_me:4786: \"$ac_try\"") >&5    { (eval echo "$as_me:4789: \"$ac_try\"") >&5
4790    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4791    ac_status=$?    ac_status=$?
4792    echo "$as_me:4789: \$? = $ac_status" >&5    echo "$as_me:4792: \$? = $ac_status" >&5
4793    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4794    ac_cv_prog_cc_stdc=$ac_arg    ac_cv_prog_cc_stdc=$ac_arg
4795  break  break
# Line 4803  fi Line 4806  fi
4806    
4807  case "x$ac_cv_prog_cc_stdc" in  case "x$ac_cv_prog_cc_stdc" in
4808    x|xno)    x|xno)
4809      echo "$as_me:4806: result: none needed" >&5      echo "$as_me:4809: result: none needed" >&5
4810  echo "${ECHO_T}none needed" >&6 ;;  echo "${ECHO_T}none needed" >&6 ;;
4811    *)    *)
4812      echo "$as_me:4809: result: $ac_cv_prog_cc_stdc" >&5      echo "$as_me:4812: result: $ac_cv_prog_cc_stdc" >&5
4813  echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6  echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4814      CC="$CC $ac_cv_prog_cc_stdc" ;;      CC="$CC $ac_cv_prog_cc_stdc" ;;
4815  esac  esac
4816    
4817  echo "$as_me:4814: checking for function prototypes" >&5  echo "$as_me:4817: checking for function prototypes" >&5
4818  echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6  echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
4819  if test "$ac_cv_prog_cc_stdc" != no; then  if test "$ac_cv_prog_cc_stdc" != no; then
4820    echo "$as_me:4817: result: yes" >&5    echo "$as_me:4820: result: yes" >&5
4821  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
4822    
4823  cat >>confdefs.h <<\EOF  cat >>confdefs.h <<\EOF
# Line 4822  cat >>confdefs.h <<\EOF Line 4825  cat >>confdefs.h <<\EOF
4825  EOF  EOF
4826    
4827  else  else
4828    echo "$as_me:4825: result: no" >&5    echo "$as_me:4828: result: no" >&5
4829  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
4830  fi  fi
4831    
4832  echo "$as_me:4829: checking for working volatile" >&5  echo "$as_me:4832: checking for working volatile" >&5
4833  echo $ECHO_N "checking for working volatile... $ECHO_C" >&6  echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
4834  if test "${ac_cv_c_volatile+set}" = set; then  if test "${ac_cv_c_volatile+set}" = set; then
4835    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4836  else  else
4837    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4838  #line 4835 "configure"  #line 4838 "configure"
4839  #include "confdefs.h"  #include "confdefs.h"
4840    
4841  int  int
# Line 4846  int * volatile y; Line 4849  int * volatile y;
4849  }  }
4850  _ACEOF  _ACEOF
4851  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4852  if { (eval echo "$as_me:4849: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4852: \"$ac_compile\"") >&5
4853    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4854    ac_status=$?    ac_status=$?
4855    echo "$as_me:4852: \$? = $ac_status" >&5    echo "$as_me:4855: \$? = $ac_status" >&5
4856    (exit $ac_status); } &&    (exit $ac_status); } &&
4857           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4858    { (eval echo "$as_me:4855: \"$ac_try\"") >&5    { (eval echo "$as_me:4858: \"$ac_try\"") >&5
4859    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4860    ac_status=$?    ac_status=$?
4861    echo "$as_me:4858: \$? = $ac_status" >&5    echo "$as_me:4861: \$? = $ac_status" >&5
4862    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4863    ac_cv_c_volatile=yes    ac_cv_c_volatile=yes
4864  else  else
# Line 4865  ac_cv_c_volatile=no Line 4868  ac_cv_c_volatile=no
4868  fi  fi
4869  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4870  fi  fi
4871  echo "$as_me:4868: result: $ac_cv_c_volatile" >&5  echo "$as_me:4871: result: $ac_cv_c_volatile" >&5
4872  echo "${ECHO_T}$ac_cv_c_volatile" >&6  echo "${ECHO_T}$ac_cv_c_volatile" >&6
4873  if test $ac_cv_c_volatile = no; then  if test $ac_cv_c_volatile = no; then
4874    
# Line 4875  EOF Line 4878  EOF
4878    
4879  fi  fi
4880    
4881  echo "$as_me:4878: checking for an ANSI C-conforming const" >&5  echo "$as_me:4881: checking for an ANSI C-conforming const" >&5
4882  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
4883  if test "${ac_cv_c_const+set}" = set; then  if test "${ac_cv_c_const+set}" = set; then
4884    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4885  else  else
4886    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4887  #line 4884 "configure"  #line 4887 "configure"
4888  #include "confdefs.h"  #include "confdefs.h"
4889    
4890  int  int
# Line 4939  main () Line 4942  main ()
4942  }  }
4943  _ACEOF  _ACEOF
4944  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4945  if { (eval echo "$as_me:4942: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4945: \"$ac_compile\"") >&5
4946    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4947    ac_status=$?    ac_status=$?
4948    echo "$as_me:4945: \$? = $ac_status" >&5    echo "$as_me:4948: \$? = $ac_status" >&5
4949    (exit $ac_status); } &&    (exit $ac_status); } &&
4950           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4951    { (eval echo "$as_me:4948: \"$ac_try\"") >&5    { (eval echo "$as_me:4951: \"$ac_try\"") >&5
4952    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4953    ac_status=$?    ac_status=$?
4954    echo "$as_me:4951: \$? = $ac_status" >&5    echo "$as_me:4954: \$? = $ac_status" >&5
4955    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4956    ac_cv_c_const=yes    ac_cv_c_const=yes
4957  else  else
# Line 4958  ac_cv_c_const=no Line 4961  ac_cv_c_const=no
4961  fi  fi
4962  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4963  fi  fi
4964  echo "$as_me:4961: result: $ac_cv_c_const" >&5  echo "$as_me:4964: result: $ac_cv_c_const" >&5
4965  echo "${ECHO_T}$ac_cv_c_const" >&6  echo "${ECHO_T}$ac_cv_c_const" >&6
4966  if test $ac_cv_c_const = no; then  if test $ac_cv_c_const = no; then
4967    
# Line 4968  EOF Line 4971  EOF
4971    
4972  fi  fi
4973    
4974  echo "$as_me:4971: checking for void * support" >&5  echo "$as_me:4974: checking for void * support" >&5
4975  echo $ECHO_N "checking for void * support... $ECHO_C" >&6  echo $ECHO_N "checking for void * support... $ECHO_C" >&6
4976  if test "${emacs_cv_void_star+set}" = set; then  if test "${emacs_cv_void_star+set}" = set; then
4977    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4978  else  else
4979    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4980  #line 4977 "configure"  #line 4980 "configure"
4981  #include "confdefs.h"  #include "confdefs.h"
4982    
4983  int  int
# Line 4986  void * foo; Line 4989  void * foo;
4989  }  }
4990  _ACEOF  _ACEOF
4991  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4992  if { (eval echo "$as_me:4989: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4992: \"$ac_compile\"") >&5
4993    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4994    ac_status=$?    ac_status=$?
4995    echo "$as_me:4992: \$? = $ac_status" >&5    echo "$as_me:4995: \$? = $ac_status" >&5
4996    (exit $ac_status); } &&    (exit $ac_status); } &&
4997           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4998    { (eval echo "$as_me:4995: \"$ac_try\"") >&5    { (eval echo "$as_me:4998: \"$ac_try\"") >&5
4999    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5000    ac_status=$?    ac_status=$?
5001    echo "$as_me:4998: \$? = $ac_status" >&5    echo "$as_me:5001: \$? = $ac_status" >&5
5002    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5003    emacs_cv_void_star=yes    emacs_cv_void_star=yes
5004  else  else
# Line 5005  emacs_cv_void_star=no Line 5008  emacs_cv_void_star=no
5008  fi  fi
5009  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
5010  fi  fi
5011  echo "$as_me:5008: result: $emacs_cv_void_star" >&5  echo "$as_me:5011: result: $emacs_cv_void_star" >&5
5012  echo "${ECHO_T}$emacs_cv_void_star" >&6  echo "${ECHO_T}$emacs_cv_void_star" >&6
5013  if test $emacs_cv_void_star = yes; then  if test $emacs_cv_void_star = yes; then
5014    cat >>confdefs.h <<\EOF    cat >>confdefs.h <<\EOF
# Line 5019  EOF Line 5022  EOF
5022    
5023  fi  fi
5024    
5025  echo "$as_me:5022: checking whether ${MAKE-make} sets \${MAKE}" >&5  echo "$as_me:5025: checking whether ${MAKE-make} sets \${MAKE}" >&5
5026  echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6  echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
5027  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
5028  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 5039  fi Line 5042  fi
5042  rm -f conftest.make  rm -f conftest.make
5043  fi  fi
5044  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
5045    echo "$as_me:5042: result: yes" >&5    echo "$as_me:5045: result: yes" >&5
5046  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
5047    SET_MAKE=    SET_MAKE=
5048  else  else
5049    echo "$as_me:5046: result: no" >&5    echo "$as_me:5049: result: no" >&5
5050  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
5051    SET_MAKE="MAKE=${MAKE-make}"    SET_MAKE="MAKE=${MAKE-make}"
5052  fi  fi
5053    
5054  echo "$as_me:5051: checking for long file names" >&5  echo "$as_me:5054: checking for long file names" >&5
5055  echo $ECHO_N "checking for long file names... $ECHO_C" >&6  echo $ECHO_N "checking for long file names... $ECHO_C" >&6
5056  if test "${ac_cv_sys_long_file_names+set}" = set; then  if test "${ac_cv_sys_long_file_names+set}" = set; then
5057    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5087  for ac_dir in  . $ac_tmpdirs `eval echo Line 5090  for ac_dir in  . $ac_tmpdirs `eval echo
5090    rm -rf $ac_xdir 2>/dev/null    rm -rf $ac_xdir 2>/dev/null
5091  done  done
5092  fi  fi
5093  echo "$as_me:5090: result: $ac_cv_sys_long_file_names" >&5  echo "$as_me:5093: result: $ac_cv_sys_long_file_names" >&5
5094  echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6  echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6
5095  if test $ac_cv_sys_long_file_names = yes; then  if test $ac_cv_sys_long_file_names = yes; then
5096    
# Line 5099  fi Line 5102  fi
5102    
5103  #### Choose a window system.  #### Choose a window system.
5104    
5105  echo "$as_me:5102: checking for X" >&5  echo "$as_me:5105: checking for X" >&5
5106  echo $ECHO_N "checking for X... $ECHO_C" >&6  echo $ECHO_N "checking for X... $ECHO_C" >&6
5107    
5108  # Check whether --with-x or --without-x was given.  # Check whether --with-x or --without-x was given.
# Line 5196  if test "$ac_x_includes" = no; then Line 5199  if test "$ac_x_includes" = no; then
5199    # Guess where to find include files, by looking for Intrinsic.h.    # Guess where to find include files, by looking for Intrinsic.h.
5200    # First, try using that file with no special directory specified.    # First, try using that file with no special directory specified.
5201    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5202  #line 5199 "configure"  #line 5202 "configure"
5203  #include "confdefs.h"  #include "confdefs.h"
5204  #include <X11/Intrinsic.h>  #include <X11/Intrinsic.h>
5205  _ACEOF  _ACEOF
5206  if { (eval echo "$as_me:5203: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:5206: \"$ac_cpp conftest.$ac_ext\"") >&5
5207    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5208    ac_status=$?    ac_status=$?
5209    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
5210    rm -f conftest.er1    rm -f conftest.er1
5211    cat conftest.err >&5    cat conftest.err >&5
5212    echo "$as_me:5209: \$? = $ac_status" >&5    echo "$as_me:5212: \$? = $ac_status" >&5
5213    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
5214    if test -s conftest.err; then    if test -s conftest.err; then
5215      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 5239  if test "$ac_x_libraries" = no; then Line 5242  if test "$ac_x_libraries" = no; then
5242    ac_save_LIBS=$LIBS    ac_save_LIBS=$LIBS
5243    LIBS="-lXt $LIBS"    LIBS="-lXt $LIBS"
5244    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5245  #line 5242 "configure"  #line 5245 "configure"
5246  #include "confdefs.h"  #include "confdefs.h"
5247  #include <X11/Intrinsic.h>  #include <X11/Intrinsic.h>
5248  int  int
# Line 5251  XtMalloc (0) Line 5254  XtMalloc (0)
5254  }  }
5255  _ACEOF  _ACEOF
5256  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
5257  if { (eval echo "$as_me:5254: \"$ac_link\"") >&5  if { (eval echo "$as_me:5257: \"$ac_link\"") >&5
5258    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
5259    ac_status=$?    ac_status=$?
5260    echo "$as_me:5257: \$? = $ac_status" >&5    echo "$as_me:5260: \$? = $ac_status" >&5
5261    (exit $ac_status); } &&    (exit $ac_status); } &&
5262           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
5263    { (eval echo "$as_me:5260: \"$ac_try\"") >&5    { (eval echo "$as_me:5263: \"$ac_try\"") >&5
5264    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5265    ac_status=$?    ac_status=$?
5266    echo "$as_me:5263: \$? = $ac_status" >&5    echo "$as_me:5266: \$? = $ac_status" >&5
5267    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5268    LIBS=$ac_save_LIBS    LIBS=$ac_save_LIBS
5269  # We can link X programs with no special library path.  # We can link X programs with no special library path.
# Line 5298  fi Line 5301  fi
5301  fi # $with_x != no  fi # $with_x != no
5302    
5303  if test "$have_x" != yes; then  if test "$have_x" != yes; then
5304    echo "$as_me:5301: result: $have_x" >&5    echo "$as_me:5304: result: $have_x" >&5
5305  echo "${ECHO_T}$have_x" >&6  echo "${ECHO_T}$have_x" >&6
5306    no_x=yes    no_x=yes
5307  else  else
# Line 5308  else Line 5311  else
5311    # Update the cache value to reflect the command line values.    # Update the cache value to reflect the command line values.
5312    ac_cv_have_x="have_x=yes \    ac_cv_have_x="have_x=yes \
5313                  ac_x_includes=$x_includes ac_x_libraries=$x_libraries"                  ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
5314    echo "$as_me:5311: result: libraries $x_libraries, headers $x_includes" >&5    echo "$as_me:5314: result: libraries $x_libraries, headers $x_includes" >&5
5315  echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6  echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
5316  fi  fi
5317    
# Line 5406  UNEXEC_SRC="`echo ${unexec} | sed 's/\.o Line 5409  UNEXEC_SRC="`echo ${unexec} | sed 's/\.o
5409  # Assume not, until told otherwise.  # Assume not, until told otherwise.
5410  GNU_MALLOC=yes  GNU_MALLOC=yes
5411  doug_lea_malloc=yes  doug_lea_malloc=yes
5412  echo "$as_me:5409: checking for malloc_get_state" >&5  echo "$as_me:5412: checking for malloc_get_state" >&5
5413  echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6  echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6
5414  if test "${ac_cv_func_malloc_get_state+set}" = set; then  if test "${ac_cv_func_malloc_get_state+set}" = set; then
5415    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5416  else  else
5417    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5418  #line 5415 "configure"  #line 5418 "configure"
5419  #include "confdefs.h"  #include "confdefs.h"
5420  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5421      which can conflict with char malloc_get_state (); below.  */      which can conflict with char malloc_get_state (); below.  */
# Line 5443  f = malloc_get_state; Line 5446  f = malloc_get_state;
5446  }  }
5447  _ACEOF  _ACEOF
5448  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
5449  if { (eval echo "$as_me:5446: \"$ac_link\"") >&5  if { (eval echo "$as_me:5449: \"$ac_link\"") >&5
5450    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
5451    ac_status=$?    ac_status=$?
5452    echo "$as_me:5449: \$? = $ac_status" >&5    echo "$as_me:5452: \$? = $ac_status" >&5
5453    (exit $ac_status); } &&    (exit $ac_status); } &&
5454           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
5455    { (eval echo "$as_me:5452: \"$ac_try\"") >&5    { (eval echo "$as_me:5455: \"$ac_try\"") >&5
5456    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5457    ac_status=$?    ac_status=$?
5458    echo "$as_me:5455: \$? = $ac_status" >&5    echo "$as_me:5458: \$? = $ac_status" >&5
5459    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5460    ac_cv_func_malloc_get_state=yes    ac_cv_func_malloc_get_state=yes
5461  else  else
# Line 5462  ac_cv_func_malloc_get_state=no Line 5465  ac_cv_func_malloc_get_state=no
5465  fi  fi
5466  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5467  fi  fi
5468  echo "$as_me:5465: result: $ac_cv_func_malloc_get_state" >&5  echo "$as_me:5468: result: $ac_cv_func_malloc_get_state" >&5
5469  echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6  echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6
5470  if test $ac_cv_func_malloc_get_state = yes; then  if test $ac_cv_func_malloc_get_state = yes; then
5471    :    :
# Line 5470  else Line 5473  else
5473    doug_lea_malloc=no    doug_lea_malloc=no
5474  fi  fi
5475    
5476  echo "$as_me:5473: checking for malloc_set_state" >&5  echo "$as_me:5476: checking for malloc_set_state" >&5
5477  echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6  echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6
5478  if test "${ac_cv_func_malloc_set_state+set}" = set; then  if test "${ac_cv_func_malloc_set_state+set}" = set; then
5479    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5480  else  else
5481    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5482  #line 5479 "configure"  #line 5482 "configure"
5483  #include "confdefs.h"  #include "confdefs.h"
5484  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5485      which can conflict with char malloc_set_state (); below.  */      which can conflict with char malloc_set_state (); below.  */
# Line 5507  f = malloc_set_state; Line 5510  f = malloc_set_state;
5510  }  }
5511  _ACEOF  _ACEOF
5512  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
5513  if { (eval echo "$as_me:5510: \"$ac_link\"") >&5  if { (eval echo "$as_me:5513: \"$ac_link\"") >&5
5514    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
5515    ac_status=$?    ac_status=$?
5516    echo "$as_me:5513: \$? = $ac_status" >&5    echo "$as_me:5516: \$? = $ac_status" >&5
5517    (exit $ac_status); } &&    (exit $ac_status); } &&
5518           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
5519    { (eval echo "$as_me:5516: \"$ac_try\"") >&5    { (eval echo "$as_me:5519: \"$ac_try\"") >&5
5520    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5521    ac_status=$?    ac_status=$?
5522    echo "$as_me:5519: \$? = $ac_status" >&5    echo "$as_me:5522: \$? = $ac_status" >&5
5523    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5524    ac_cv_func_malloc_set_state=yes    ac_cv_func_malloc_set_state=yes
5525  else  else
# Line 5526  ac_cv_func_malloc_set_state=no Line 5529  ac_cv_func_malloc_set_state=no
5529  fi  fi
5530  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5531  fi  fi
5532  echo "$as_me:5529: result: $ac_cv_func_malloc_set_state" >&5  echo "$as_me:5532: result: $ac_cv_func_malloc_set_state" >&5
5533  echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6  echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6
5534  if test $ac_cv_func_malloc_set_state = yes; then  if test $ac_cv_func_malloc_set_state = yes; then
5535    :    :
# Line 5534  else Line 5537  else
5537    doug_lea_malloc=no    doug_lea_malloc=no
5538  fi  fi
5539    
5540  echo "$as_me:5537: checking whether __after_morecore_hook exists" >&5  echo "$as_me:5540: checking whether __after_morecore_hook exists" >&5
5541  echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6  echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6
5542  if test "${emacs_cv_var___after_morecore_hook+set}" = set; then  if test "${emacs_cv_var___after_morecore_hook+set}" = set; then
5543    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5544  else  else
5545    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5546  #line 5543 "configure"  #line 5546 "configure"
5547  #include "confdefs.h"  #include "confdefs.h"
5548  extern void (* __after_morecore_hook)();  extern void (* __after_morecore_hook)();
5549  int  int
# Line 5552  __after_morecore_hook = 0 Line 5555  __after_morecore_hook = 0
5555  }  }
5556  _ACEOF  _ACEOF
5557  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
5558  if { (eval echo "$as_me:5555: \"$ac_link\"") >&5  if { (eval echo "$as_me:5558: \"$ac_link\"") >&5
5559    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
5560    ac_status=$?    ac_status=$?
5561    echo "$as_me:5558: \$? = $ac_status" >&5    echo "$as_me:5561: \$? = $ac_status" >&5
5562    (exit $ac_status); } &&    (exit $ac_status); } &&
5563           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
5564    { (eval echo "$as_me:5561: \"$ac_try\"") >&5    { (eval echo "$as_me:5564: \"$ac_try\"") >&5
5565    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5566    ac_status=$?    ac_status=$?
5567    echo "$as_me:5564: \$? = $ac_status" >&5    echo "$as_me:5567: \$? = $ac_status" >&5
5568    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5569    emacs_cv_var___after_morecore_hook=yes    emacs_cv_var___after_morecore_hook=yes
5570  else  else
# Line 5571  emacs_cv_var___after_morecore_hook=no Line 5574  emacs_cv_var___after_morecore_hook=no
5574  fi  fi
5575  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5576  fi  fi
5577  echo "$as_me:5574: result: $emacs_cv_var___after_morecore_hook" >&5  echo "$as_me:5577: result: $emacs_cv_var___after_morecore_hook" >&5
5578  echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6  echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6
5579  if test $emacs_cv_var___after_morecore_hook = no; then  if test $emacs_cv_var___after_morecore_hook = no; then
5580    doug_lea_malloc=no    doug_lea_malloc=no
# Line 5602  for ac_header in sys/types.h sys/stat.h Line 5605  for ac_header in sys/types.h sys/stat.h
5605                    inttypes.h stdint.h unistd.h                    inttypes.h stdint.h unistd.h
5606  do  do
5607  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5608  echo "$as_me:5605: checking for $ac_header" >&5  echo "$as_me:5608: checking for $ac_header" >&5
5609  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5610  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
5611    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5612  else  else
5613    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5614  #line 5611 "configure"  #line 5614 "configure"
5615  #include "confdefs.h"  #include "confdefs.h"
5616  $ac_includes_default  $ac_includes_default
5617  #include <$ac_header>  #include <$ac_header>
5618  _ACEOF  _ACEOF
5619  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
5620  if { (eval echo "$as_me:5617: \"$ac_compile\"") >&5  if { (eval echo "$as_me:5620: \"$ac_compile\"") >&5
5621    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
5622    ac_status=$?    ac_status=$?
5623    echo "$as_me:5620: \$? = $ac_status" >&5    echo "$as_me:5623: \$? = $ac_status" >&5
5624    (exit $ac_status); } &&    (exit $ac_status); } &&
5625           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
5626    { (eval echo "$as_me:5623: \"$ac_try\"") >&5    { (eval echo "$as_me:5626: \"$ac_try\"") >&5
5627    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5628    ac_status=$?    ac_status=$?
5629    echo "$as_me:5626: \$? = $ac_status" >&5    echo "$as_me:5629: \$? = $ac_status" >&5
5630    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5631    eval "$as_ac_Header=yes"    eval "$as_ac_Header=yes"
5632  else  else
# Line 5633  eval "$as_ac_Header=no" Line 5636  eval "$as_ac_Header=no"
5636  fi  fi
5637  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
5638  fi  fi
5639  echo "$as_me:5636: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:5639: result: `eval echo '${'$as_ac_Header'}'`" >&5
5640  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5641  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
5642    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 5646  done Line 5649  done
5649  for ac_header in stdlib.h unistd.h  for ac_header in stdlib.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  #include <$ac_header>  #include <$ac_header>
5661  _ACEOF  _ACEOF
5662  if { (eval echo "$as_me:5659: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:5662: \"$ac_cpp conftest.$ac_ext\"") >&5
5663    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5664    ac_status=$?    ac_status=$?
5665    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
5666    rm -f conftest.er1    rm -f conftest.er1
5667    cat conftest.err >&5    cat conftest.err >&5
5668    echo "$as_me:5665: \$? = $ac_status" >&5    echo "$as_me:5668: \$? = $ac_status" >&5
5669    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
5670    if test -s conftest.err; then    if test -s conftest.err; then
5671      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 5681  else Line 5684  else
5684  fi  fi
5685  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
5686  fi  fi
5687  echo "$as_me:5684: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:5687: result: `eval echo '${'$as_ac_Header'}'`" >&5
5688  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5689  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
5690    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 5694  done Line 5697  done
5697  for ac_func in getpagesize  for ac_func in getpagesize
5698  do  do
5699  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5700  echo "$as_me:5697: checking for $ac_func" >&5  echo "$as_me:5700: checking for $ac_func" >&5
5701  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5702  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
5703    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5704  else  else
5705    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5706  #line 5703 "configure"  #line 5706 "configure"
5707  #include "confdefs.h"  #include "confdefs.h"
5708  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5709      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 5731  f = $ac_func; Line 5734  f = $ac_func;
5734  }  }
5735  _ACEOF  _ACEOF
5736  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
5737  if { (eval echo "$as_me:5734: \"$ac_link\"") >&5  if { (eval echo "$as_me:5737: \"$ac_link\"") >&5
5738    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
5739    ac_status=$?    ac_status=$?
5740    echo "$as_me:5737: \$? = $ac_status" >&5    echo "$as_me:5740: \$? = $ac_status" >&5
5741    (exit $ac_status); } &&    (exit $ac_status); } &&
5742           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
5743    { (eval echo "$as_me:5740: \"$ac_try\"") >&5    { (eval echo "$as_me:5743: \"$ac_try\"") >&5
5744    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5745    ac_status=$?    ac_status=$?
5746    echo "$as_me:5743: \$? = $ac_status" >&5    echo "$as_me:5746: \$? = $ac_status" >&5
5747    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5748    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
5749  else  else
# Line 5750  eval "$as_ac_var=no" Line 5753  eval "$as_ac_var=no"
5753  fi  fi
5754  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5755  fi  fi
5756  echo "$as_me:5753: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:5756: result: `eval echo '${'$as_ac_var'}'`" >&5
5757  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5758  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
5759    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 5760  EOF Line 5763  EOF
5763  fi  fi
5764  done  done
5765    
5766  echo "$as_me:5763: checking for working mmap" >&5  echo "$as_me:5766: checking for working mmap" >&5
5767  echo $ECHO_N "checking for working mmap... $ECHO_C" >&6  echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
5768  if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then  if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
5769    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5769  else Line 5772  else
5772    ac_cv_func_mmap_fixed_mapped=no    ac_cv_func_mmap_fixed_mapped=no
5773  else  else
5774    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5775  #line 5772 "configure"  #line 5775 "configure"
5776  #include "confdefs.h"  #include "confdefs.h"
5777  $ac_includes_default  $ac_includes_default
5778  /* Thanks to Mike Haertel and Jim Avera for this test.  /* Thanks to Mike Haertel and Jim Avera for this test.
# Line 5896  main () Line 5899  main ()
5899  }  }
5900  _ACEOF  _ACEOF
5901  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
5902  if { (eval echo "$as_me:5899: \"$ac_link\"") >&5  if { (eval echo "$as_me:5902: \"$ac_link\"") >&5
5903    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
5904    ac_status=$?    ac_status=$?
5905    echo "$as_me:5902: \$? = $ac_status" >&5    echo "$as_me:5905: \$? = $ac_status" >&5
5906    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5907    { (eval echo "$as_me:5904: \"$ac_try\"") >&5    { (eval echo "$as_me:5907: \"$ac_try\"") >&5
5908    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5909    ac_status=$?    ac_status=$?
5910    echo "$as_me:5907: \$? = $ac_status" >&5    echo "$as_me:5910: \$? = $ac_status" >&5
5911    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5912    ac_cv_func_mmap_fixed_mapped=yes    ac_cv_func_mmap_fixed_mapped=yes
5913  else  else
# Line 5916  fi Line 5919  fi
5919  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
5920  fi  fi
5921  fi  fi
5922  echo "$as_me:5919: result: $ac_cv_func_mmap_fixed_mapped" >&5  echo "$as_me:5922: result: $ac_cv_func_mmap_fixed_mapped" >&5
5923  echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6  echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
5924  if test $ac_cv_func_mmap_fixed_mapped = yes; then  if test $ac_cv_func_mmap_fixed_mapped = yes; then
5925    
# Line 5933  fi Line 5936  fi
5936    
5937  LIBS="$libsrc_libs $LIBS"  LIBS="$libsrc_libs $LIBS"
5938    
5939  echo "$as_me:5936: checking for dnet_ntoa in -ldnet" >&5  echo "$as_me:5939: checking for dnet_ntoa in -ldnet" >&5
5940  echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6  echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
5941  if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then  if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
5942    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5941  else Line 5944  else
5944    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
5945  LIBS="-ldnet  $LIBS"  LIBS="-ldnet  $LIBS"
5946  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
5947  #line 5944 "configure"  #line 5947 "configure"
5948  #include "confdefs.h"  #include "confdefs.h"
5949    
5950  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 5960  dnet_ntoa (); Line 5963  dnet_ntoa ();
5963  }  }
5964  _ACEOF  _ACEOF
5965  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
5966  if { (eval echo "$as_me:5963: \"$ac_link\"") >&5  if { (eval echo "$as_me:5966: \"$ac_link\"") >&5
5967    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
5968    ac_status=$?    ac_status=$?
5969    echo "$as_me:5966: \$? = $ac_status" >&5    echo "$as_me:5969: \$? = $ac_status" >&5
5970    (exit $ac_status); } &&    (exit $ac_status); } &&
5971           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
5972    { (eval echo "$as_me:5969: \"$ac_try\"") >&5    { (eval echo "$as_me:5972: \"$ac_try\"") >&5
5973    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5974    ac_status=$?    ac_status=$?
5975    echo "$as_me:5972: \$? = $ac_status" >&5    echo "$as_me:5975: \$? = $ac_status" >&5
5976    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5977    ac_cv_lib_dnet_dnet_ntoa=yes    ac_cv_lib_dnet_dnet_ntoa=yes
5978  else  else
# Line 5980  fi Line 5983  fi
5983  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5984  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
5985  fi  fi
5986  echo "$as_me:5983: result: $ac_cv_lib_dnet_dnet_ntoa" >&5  echo "$as_me:5986: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
5987  echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6  echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
5988  if test $ac_cv_lib_dnet_dnet_ntoa = yes; then  if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
5989    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 5991  EOF Line 5994  EOF
5994    
5995  fi  fi
5996    
5997  echo "$as_me:5994: checking for main in -lXbsd" >&5  echo "$as_me:5997: checking for main in -lXbsd" >&5
5998  echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6  echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6
5999  if test "${ac_cv_lib_Xbsd_main+set}" = set; then  if test "${ac_cv_lib_Xbsd_main+set}" = set; then
6000    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5999  else Line 6002  else
6002    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
6003  LIBS="-lXbsd  $LIBS"  LIBS="-lXbsd  $LIBS"
6004  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
6005  #line 6002 "configure"  #line 6005 "configure"
6006  #include "confdefs.h"  #include "confdefs.h"
6007    
6008  int  int
# Line 6011  main (); Line 6014  main ();
6014  }  }
6015  _ACEOF  _ACEOF
6016  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6017  if { (eval echo "$as_me:6014: \"$ac_link\"") >&5  if { (eval echo "$as_me:6017: \"$ac_link\"") >&5
6018    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6019    ac_status=$?    ac_status=$?
6020    echo "$as_me:6017: \$? = $ac_status" >&5    echo "$as_me:6020: \$? = $ac_status" >&5
6021    (exit $ac_status); } &&    (exit $ac_status); } &&
6022           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6023    { (eval echo "$as_me:6020: \"$ac_try\"") >&5    { (eval echo "$as_me:6023: \"$ac_try\"") >&5
6024    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6025    ac_status=$?    ac_status=$?
6026    echo "$as_me:6023: \$? = $ac_status" >&5    echo "$as_me:6026: \$? = $ac_status" >&5
6027    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6028    ac_cv_lib_Xbsd_main=yes    ac_cv_lib_Xbsd_main=yes
6029  else  else
# Line 6031  fi Line 6034  fi
6034  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6035  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
6036  fi  fi
6037  echo "$as_me:6034: result: $ac_cv_lib_Xbsd_main" >&5  echo "$as_me:6037: result: $ac_cv_lib_Xbsd_main" >&5
6038  echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6  echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6
6039  if test $ac_cv_lib_Xbsd_main = yes; then  if test $ac_cv_lib_Xbsd_main = yes; then
6040    LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd"    LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd"
6041  fi  fi
6042    
6043  echo "$as_me:6040: checking for cma_open in -lpthreads" >&5  echo "$as_me:6043: checking for cma_open in -lpthreads" >&5
6044  echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6  echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6
6045  if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then  if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then
6046    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6045  else Line 6048  else
6048    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
6049  LIBS="-lpthreads  $LIBS"  LIBS="-lpthreads  $LIBS"
6050  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
6051  #line 6048 "configure"  #line 6051 "configure"
6052  #include "confdefs.h"  #include "confdefs.h"
6053    
6054  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 6064  cma_open (); Line 6067  cma_open ();
6067  }  }
6068  _ACEOF  _ACEOF
6069  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6070  if { (eval echo "$as_me:6067: \"$ac_link\"") >&5  if { (eval echo "$as_me:6070: \"$ac_link\"") >&5
6071    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6072    ac_status=$?    ac_status=$?
6073    echo "$as_me:6070: \$? = $ac_status" >&5    echo "$as_me:6073: \$? = $ac_status" >&5
6074    (exit $ac_status); } &&    (exit $ac_status); } &&
6075           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6076    { (eval echo "$as_me:6073: \"$ac_try\"") >&5    { (eval echo "$as_me:6076: \"$ac_try\"") >&5
6077    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6078    ac_status=$?    ac_status=$?
6079    echo "$as_me:6076: \$? = $ac_status" >&5    echo "$as_me:6079: \$? = $ac_status" >&5
6080    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6081    ac_cv_lib_pthreads_cma_open=yes    ac_cv_lib_pthreads_cma_open=yes
6082  else  else
# Line 6084  fi Line 6087  fi
6087  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6088  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
6089  fi  fi
6090  echo "$as_me:6087: result: $ac_cv_lib_pthreads_cma_open" >&5  echo "$as_me:6090: result: $ac_cv_lib_pthreads_cma_open" >&5
6091  echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6  echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6
6092  if test $ac_cv_lib_pthreads_cma_open = yes; then  if test $ac_cv_lib_pthreads_cma_open = yes; then
6093    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 6095  EOF Line 6098  EOF
6098    
6099  fi  fi
6100    
6101  echo "$as_me:6098: checking for XFree86 in /usr/X386" >&5  echo "$as_me:6101: checking for XFree86 in /usr/X386" >&5
6102  echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6  echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6
6103  if test -d /usr/X386/include; then  if test -d /usr/X386/include; then
6104    HAVE_XFREE386=yes    HAVE_XFREE386=yes
# Line 6103  if test -d /usr/X386/include; then Line 6106  if test -d /usr/X386/include; then
6106  else  else
6107    HAVE_XFREE386=no    HAVE_XFREE386=no
6108  fi  fi
6109  echo "$as_me:6106: result: $HAVE_XFREE386" >&5  echo "$as_me:6109: result: $HAVE_XFREE386" >&5
6110  echo "${ECHO_T}$HAVE_XFREE386" >&6  echo "${ECHO_T}$HAVE_XFREE386" >&6
6111    
6112  # Change CFLAGS temporarily so that C_SWITCH_X_SITE gets used  # Change CFLAGS temporarily so that C_SWITCH_X_SITE gets used
# Line 6128  if test "${HAVE_X11}" = "yes"; then Line 6131  if test "${HAVE_X11}" = "yes"; then
6131    fi    fi
6132    
6133    if test "${opsys}" = "gnu-linux"; then    if test "${opsys}" = "gnu-linux"; then
6134      echo "$as_me:6131: checking whether X on GNU/Linux needs -b to link" >&5      echo "$as_me:6134: checking whether X on GNU/Linux needs -b to link" >&5
6135  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
6136      cat >conftest.$ac_ext <<_ACEOF      cat >conftest.$ac_ext <<_ACEOF
6137  #line 6134 "configure"  #line 6137 "configure"
6138  #include "confdefs.h"  #include "confdefs.h"
6139    
6140  int  int
# Line 6143  XOpenDisplay ("foo"); Line 6146  XOpenDisplay ("foo");
6146  }  }
6147  _ACEOF  _ACEOF
6148  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6149  if { (eval echo "$as_me:6146: \"$ac_link\"") >&5  if { (eval echo "$as_me:6149: \"$ac_link\"") >&5
6150    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6151    ac_status=$?    ac_status=$?
6152    echo "$as_me:6149: \$? = $ac_status" >&5    echo "$as_me:6152: \$? = $ac_status" >&5
6153    (exit $ac_status); } &&    (exit $ac_status); } &&
6154           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6155    { (eval echo "$as_me:6152: \"$ac_try\"") >&5    { (eval echo "$as_me:6155: \"$ac_try\"") >&5
6156    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6157    ac_status=$?    ac_status=$?
6158    echo "$as_me:6155: \$? = $ac_status" >&5    echo "$as_me:6158: \$? = $ac_status" >&5
6159    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6160    xlinux_first_failure=no    xlinux_first_failure=no
6161  else  else
# Line 6171  rm -f conftest.$ac_objext conftest$ac_ex Line 6174  rm -f conftest.$ac_objext conftest$ac_ex
6174        CPPFLAGS="$CPPFLAGS -b i486-linuxaout"        CPPFLAGS="$CPPFLAGS -b i486-linuxaout"
6175        LIBS="$LIBS -b i486-linuxaout"        LIBS="$LIBS -b i486-linuxaout"
6176        cat >conftest.$ac_ext <<_ACEOF        cat >conftest.$ac_ext <<_ACEOF
6177  #line 6174 "configure"  #line 6177 "configure"
6178  #include "confdefs.h"  #include "confdefs.h"
6179    
6180  int  int
# Line 6183  XOpenDisplay ("foo"); Line 6186  XOpenDisplay ("foo");
6186  }  }
6187  _ACEOF  _ACEOF
6188  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6189  if { (eval echo "$as_me:6186: \"$ac_link\"") >&5  if { (eval echo "$as_me:6189: \"$ac_link\"") >&5
6190    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6191    ac_status=$?    ac_status=$?
6192    echo "$as_me:6189: \$? = $ac_status" >&5    echo "$as_me:6192: \$? = $ac_status" >&5
6193    (exit $ac_status); } &&    (exit $ac_status); } &&
6194           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6195    { (eval echo "$as_me:6192: \"$ac_try\"") >&5    { (eval echo "$as_me:6195: \"$ac_try\"") >&5
6196    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6197    ac_status=$?    ac_status=$?
6198    echo "$as_me:6195: \$? = $ac_status" >&5    echo "$as_me:6198: \$? = $ac_status" >&5
6199    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6200    xlinux_second_failure=no    xlinux_second_failure=no
6201  else  else
# Line 6208  rm -f conftest.$ac_objext conftest$ac_ex Line 6211  rm -f conftest.$ac_objext conftest$ac_ex
6211          C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE"          C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE"
6212          CPPFLAGS="$OLD_CPPFLAGS"          CPPFLAGS="$OLD_CPPFLAGS"
6213          LIBS="$OLD_LIBS"          LIBS="$OLD_LIBS"
6214          echo "$as_me:6211: result: no" >&5          echo "$as_me:6214: result: no" >&5
6215  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
6216        else        else
6217          echo "$as_me:6214: result: yes" >&5          echo "$as_me:6217: result: yes" >&5
6218  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
6219        fi        fi
6220      else      else
6221        echo "$as_me:6218: result: no" >&5        echo "$as_me:6221: result: no" >&5
6222  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
6223      fi      fi
6224    fi    fi
6225    
6226    # Reportedly, some broken Solaris systems have XKBlib.h but are missing    # Reportedly, some broken Solaris systems have XKBlib.h but are missing
6227    # header files included from there.    # header files included from there.
6228    echo "$as_me:6225: checking for Xkb" >&5    echo "$as_me:6228: checking for Xkb" >&5
6229  echo $ECHO_N "checking for Xkb... $ECHO_C" >&6  echo $ECHO_N "checking for Xkb... $ECHO_C" >&6
6230    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6231  #line 6228 "configure"  #line 6231 "configure"
6232  #include "confdefs.h"  #include "confdefs.h"
6233  #include <X11/Xlib.h>  #include <X11/Xlib.h>
6234  #include <X11/XKBlib.h>  #include <X11/XKBlib.h>
# Line 6238  XkbDescPtr kb = XkbGetKeyboard (0, XkbAl Line 6241  XkbDescPtr kb = XkbGetKeyboard (0, XkbAl
6241  }  }
6242  _ACEOF  _ACEOF
6243  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6244  if { (eval echo "$as_me:6241: \"$ac_link\"") >&5  if { (eval echo "$as_me:6244: \"$ac_link\"") >&5
6245    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6246    ac_status=$?    ac_status=$?
6247    echo "$as_me:6244: \$? = $ac_status" >&5    echo "$as_me:6247: \$? = $ac_status" >&5
6248    (exit $ac_status); } &&    (exit $ac_status); } &&
6249           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6250    { (eval echo "$as_me:6247: \"$ac_try\"") >&5    { (eval echo "$as_me:6250: \"$ac_try\"") >&5
6251    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6252    ac_status=$?    ac_status=$?
6253    echo "$as_me:6250: \$? = $ac_status" >&5    echo "$as_me:6253: \$? = $ac_status" >&5
6254    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6255    emacs_xkb=yes    emacs_xkb=yes
6256  else  else
# Line 6256  cat conftest.$ac_ext >&5 Line 6259  cat conftest.$ac_ext >&5
6259  emacs_xkb=no  emacs_xkb=no
6260  fi  fi
6261  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6262    echo "$as_me:6259: result: $emacs_xkb" >&5    echo "$as_me:6262: result: $emacs_xkb" >&5
6263  echo "${ECHO_T}$emacs_xkb" >&6  echo "${ECHO_T}$emacs_xkb" >&6
6264    if test $emacs_xkb = yes; then    if test $emacs_xkb = yes; then
6265      cat >>confdefs.h <<\EOF      cat >>confdefs.h <<\EOF
# Line 6269  for ac_func in XrmSetDatabase XScreenRes Line 6272  for ac_func in XrmSetDatabase XScreenRes
6272  XScreenNumberOfScreen XSetWMProtocols  XScreenNumberOfScreen XSetWMProtocols
6273  do  do
6274  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6275  echo "$as_me:6272: checking for $ac_func" >&5  echo "$as_me:6275: checking for $ac_func" >&5
6276  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6277  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
6278    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6279  else  else
6280    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6281  #line 6278 "configure"  #line 6281 "configure"
6282  #include "confdefs.h"  #include "confdefs.h"
6283  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6284      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 6306  f = $ac_func; Line 6309  f = $ac_func;
6309  }  }
6310  _ACEOF  _ACEOF
6311  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6312  if { (eval echo "$as_me:6309: \"$ac_link\"") >&5  if { (eval echo "$as_me:6312: \"$ac_link\"") >&5
6313    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6314    ac_status=$?    ac_status=$?
6315    echo "$as_me:6312: \$? = $ac_status" >&5    echo "$as_me:6315: \$? = $ac_status" >&5
6316    (exit $ac_status); } &&    (exit $ac_status); } &&
6317           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6318    { (eval echo "$as_me:6315: \"$ac_try\"") >&5    { (eval echo "$as_me:6318: \"$ac_try\"") >&5
6319    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6320    ac_status=$?    ac_status=$?
6321    echo "$as_me:6318: \$? = $ac_status" >&5    echo "$as_me:6321: \$? = $ac_status" >&5
6322    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6323    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
6324  else  else
# Line 6325  eval "$as_ac_var=no" Line 6328  eval "$as_ac_var=no"
6328  fi  fi
6329  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6330  fi  fi
6331  echo "$as_me:6328: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:6331: result: `eval echo '${'$as_ac_var'}'`" >&5
6332  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6333  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
6334    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 6338  done Line 6341  done
6341  fi  fi
6342    
6343  if test "${window_system}" = "x11"; then  if test "${window_system}" = "x11"; then
6344    echo "$as_me:6341: checking X11 version 6" >&5    echo "$as_me:6344: checking X11 version 6" >&5
6345  echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6  echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6
6346    if test "${emacs_cv_x11_version_6+set}" = set; then    if test "${emacs_cv_x11_version_6+set}" = set; then
6347    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6348  else  else
6349    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6350  #line 6347 "configure"  #line 6350 "configure"
6351  #include "confdefs.h"  #include "confdefs.h"
6352  #include <X11/Xlib.h>  #include <X11/Xlib.h>
6353  int  int
# Line 6359  fail; Line 6362  fail;
6362  }  }
6363  _ACEOF  _ACEOF
6364  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6365  if { (eval echo "$as_me:6362: \"$ac_link\"") >&5  if { (eval echo "$as_me:6365: \"$ac_link\"") >&5
6366    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6367    ac_status=$?    ac_status=$?
6368    echo "$as_me:6365: \$? = $ac_status" >&5    echo "$as_me:6368: \$? = $ac_status" >&5
6369    (exit $ac_status); } &&    (exit $ac_status); } &&
6370           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6371    { (eval echo "$as_me:6368: \"$ac_try\"") >&5    { (eval echo "$as_me:6371: \"$ac_try\"") >&5
6372    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6373    ac_status=$?    ac_status=$?
6374    echo "$as_me:6371: \$? = $ac_status" >&5    echo "$as_me:6374: \$? = $ac_status" >&5
6375    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6376    emacs_cv_x11_version_6=yes    emacs_cv_x11_version_6=yes
6377  else  else
# Line 6380  rm -f conftest.$ac_objext conftest$ac_ex Line 6383  rm -f conftest.$ac_objext conftest$ac_ex
6383  fi  fi
6384    
6385    if test $emacs_cv_x11_version_6 = yes; then    if test $emacs_cv_x11_version_6 = yes; then
6386      echo "$as_me:6383: result: 6 or newer" >&5      echo "$as_me:6386: result: 6 or newer" >&5
6387  echo "${ECHO_T}6 or newer" >&6  echo "${ECHO_T}6 or newer" >&6
6388      cat >>confdefs.h <<\EOF      cat >>confdefs.h <<\EOF
6389  #define HAVE_X11R6 1  #define HAVE_X11R6 1
6390  EOF  EOF
6391    
6392    else    else
6393      echo "$as_me:6390: result: before 6" >&5      echo "$as_me:6393: result: before 6" >&5
6394  echo "${ECHO_T}before 6" >&6  echo "${ECHO_T}before 6" >&6
6395    fi    fi
6396  fi  fi
6397    
6398  if test "${window_system}" = "x11"; then  if test "${window_system}" = "x11"; then
6399    echo "$as_me:6396: checking X11 version 5" >&5    echo "$as_me:6399: checking X11 version 5" >&5
6400  echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6  echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6
6401    if test "${emacs_cv_x11_version_5+set}" = set; then    if test "${emacs_cv_x11_version_5+set}" = set; then
6402    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6403  else  else
6404    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6405  #line 6402 "configure"  #line 6405 "configure"
6406  #include "confdefs.h"  #include "confdefs.h"
6407  #include <X11/Xlib.h>  #include <X11/Xlib.h>
6408  int  int
# Line 6414  fail; Line 6417  fail;
6417  }  }
6418  _ACEOF  _ACEOF
6419  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6420  if { (eval echo "$as_me:6417: \"$ac_link\"") >&5  if { (eval echo "$as_me:6420: \"$ac_link\"") >&5
6421    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6422    ac_status=$?    ac_status=$?
6423    echo "$as_me:6420: \$? = $ac_status" >&5    echo "$as_me:6423: \$? = $ac_status" >&5
6424    (exit $ac_status); } &&    (exit $ac_status); } &&
6425           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6426    { (eval echo "$as_me:6423: \"$ac_try\"") >&5    { (eval echo "$as_me:6426: \"$ac_try\"") >&5
6427    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6428    ac_status=$?    ac_status=$?
6429    echo "$as_me:6426: \$? = $ac_status" >&5    echo "$as_me:6429: \$? = $ac_status" >&5
6430    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6431    emacs_cv_x11_version_5=yes    emacs_cv_x11_version_5=yes
6432  else  else
# Line 6435  rm -f conftest.$ac_objext conftest$ac_ex Line 6438  rm -f conftest.$ac_objext conftest$ac_ex
6438  fi  fi
6439    
6440    if test $emacs_cv_x11_version_5 = yes; then    if test $emacs_cv_x11_version_5 = yes; then
6441      echo "$as_me:6438: result: 5 or newer" >&5      echo "$as_me:6441: result: 5 or newer" >&5
6442  echo "${ECHO_T}5 or newer" >&6  echo "${ECHO_T}5 or newer" >&6
6443      HAVE_X11R5=yes      HAVE_X11R5=yes
6444      cat >>confdefs.h <<\EOF      cat >>confdefs.h <<\EOF
# Line 6444  EOF Line 6447  EOF
6447    
6448    else    else
6449      HAVE_X11R5=no      HAVE_X11R5=no
6450      echo "$as_me:6447: result: before 5" >&5      echo "$as_me:6450: result: before 5" >&5
6451  echo "${ECHO_T}before 5" >&6  echo "${ECHO_T}before 5" >&6
6452    fi    fi
6453  fi  fi
6454    
6455  if test x"${USE_X_TOOLKIT}" = xmaybe; then  if test x"${USE_X_TOOLKIT}" = xmaybe; then
6456    if test x"${HAVE_X11R5}" = xyes; then    if test x"${HAVE_X11R5}" = xyes; then
6457      echo "$as_me:6454: checking X11 version 5 with Xaw" >&5      echo "$as_me:6457: checking X11 version 5 with Xaw" >&5
6458  echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6  echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6
6459      if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then      if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then
6460    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6461  else  else
6462    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6463  #line 6460 "configure"  #line 6463 "configure"
6464  #include "confdefs.h"  #include "confdefs.h"
6465    
6466  #include <X11/Intrinsic.h>  #include <X11/Intrinsic.h>
# Line 6471  main () Line 6474  main ()
6474  }  }
6475  _ACEOF  _ACEOF
6476  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6477  if { (eval echo "$as_me:6474: \"$ac_link\"") >&5  if { (eval echo "$as_me:6477: \"$ac_link\"") >&5
6478    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6479    ac_status=$?    ac_status=$?
6480    echo "$as_me:6477: \$? = $ac_status" >&5    echo "$as_me:6480: \$? = $ac_status" >&5
6481    (exit $ac_status); } &&    (exit $ac_status); } &&
6482           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6483    { (eval echo "$as_me:6480: \"$ac_try\"") >&5    { (eval echo "$as_me:6483: \"$ac_try\"") >&5
6484    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6485    ac_status=$?    ac_status=$?
6486    echo "$as_me:6483: \$? = $ac_status" >&5    echo "$as_me:6486: \$? = $ac_status" >&5
6487    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6488    emacs_cv_x11_version_5_with_xaw=yes    emacs_cv_x11_version_5_with_xaw=yes
6489  else  else
# Line 6492  rm -f conftest.$ac_objext conftest$ac_ex Line 6495  rm -f conftest.$ac_objext conftest$ac_ex
6495  fi  fi
6496    
6497      if test $emacs_cv_x11_version_5_with_xaw = yes; then      if test $emacs_cv_x11_version_5_with_xaw = yes; then
6498        echo "$as_me:6495: result: 5 or newer, with Xaw; use toolkit by default" >&5        echo "$as_me:6498: result: 5 or newer, with Xaw; use toolkit by default" >&5
6499  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
6500        USE_X_TOOLKIT=LUCID        USE_X_TOOLKIT=LUCID
6501      else      else
6502        echo "$as_me:6499: result: before 5 or no Xaw; do not use toolkit by default" >&5        echo "$as_me:6502: result: before 5 or no Xaw; do not use toolkit by default" >&5
6503  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
6504        USE_X_TOOLKIT=none        USE_X_TOOLKIT=none
6505      fi      fi
# Line 6508  fi Line 6511  fi
6511  X_TOOLKIT_TYPE=$USE_X_TOOLKIT  X_TOOLKIT_TYPE=$USE_X_TOOLKIT
6512    
6513  if test "${USE_X_TOOLKIT}" != "none"; then  if test "${USE_X_TOOLKIT}" != "none"; then
6514    echo "$as_me:6511: checking X11 toolkit version" >&5    echo "$as_me:6514: checking X11 toolkit version" >&5
6515  echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6  echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6
6516    if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then    if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then
6517    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6518  else  else
6519    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6520  #line 6517 "configure"  #line 6520 "configure"
6521  #include "confdefs.h"  #include "confdefs.h"
6522  #include <X11/Intrinsic.h>  #include <X11/Intrinsic.h>
6523  int  int
# Line 6529  fail; Line 6532  fail;
6532  }  }
6533  _ACEOF  _ACEOF
6534  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6535  if { (eval echo "$as_me:6532: \"$ac_link\"") >&5  if { (eval echo "$as_me:6535: \"$ac_link\"") >&5
6536    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6537    ac_status=$?    ac_status=$?
6538    echo "$as_me:6535: \$? = $ac_status" >&5    echo "$as_me:6538: \$? = $ac_status" >&5
6539    (exit $ac_status); } &&    (exit $ac_status); } &&
6540           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6541    { (eval echo "$as_me:6538: \"$ac_try\"") >&5    { (eval echo "$as_me:6541: \"$ac_try\"") >&5
6542    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6543    ac_status=$?    ac_status=$?
6544    echo "$as_me:6541: \$? = $ac_status" >&5    echo "$as_me:6544: \$? = $ac_status" >&5
6545    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6546    emacs_cv_x11_toolkit_version_6=yes    emacs_cv_x11_toolkit_version_6=yes
6547  else  else
# Line 6551  fi Line 6554  fi
6554    
6555    HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6    HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6
6556    if test $emacs_cv_x11_toolkit_version_6 = yes; then    if test $emacs_cv_x11_toolkit_version_6 = yes; then
6557      echo "$as_me:6554: result: 6 or newer" >&5      echo "$as_me:6557: result: 6 or newer" >&5
6558  echo "${ECHO_T}6 or newer" >&6  echo "${ECHO_T}6 or newer" >&6
6559      cat >>confdefs.h <<\EOF      cat >>confdefs.h <<\EOF
6560  #define HAVE_X11XTR6 1  #define HAVE_X11XTR6 1
6561  EOF  EOF
6562    
6563    else    else
6564      echo "$as_me:6561: result: before 6" >&5      echo "$as_me:6564: result: before 6" >&5
6565  echo "${ECHO_T}before 6" >&6  echo "${ECHO_T}before 6" >&6
6566    fi    fi
6567    
# Line 6569  echo "${ECHO_T}before 6" >&6 Line 6572  echo "${ECHO_T}before 6" >&6
6572      LIBS="-lXt $LIBS"      LIBS="-lXt $LIBS"
6573    fi    fi
6574    
6575  echo "$as_me:6572: checking for XmuConvertStandardSelection in -lXmu" >&5  echo "$as_me:6575: checking for XmuConvertStandardSelection in -lXmu" >&5
6576  echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6  echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6
6577  if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then  if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then
6578    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6577  else Line 6580  else
6580    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
6581  LIBS="-lXmu  $LIBS"  LIBS="-lXmu  $LIBS"
6582  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
6583  #line 6580 "configure"  #line 6583 "configure"
6584  #include "confdefs.h"  #include "confdefs.h"
6585    
6586  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 6596  XmuConvertStandardSelection (); Line 6599  XmuConvertStandardSelection ();
6599  }  }
6600  _ACEOF  _ACEOF
6601  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6602  if { (eval echo "$as_me:6599: \"$ac_link\"") >&5  if { (eval echo "$as_me:6602: \"$ac_link\"") >&5
6603    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6604    ac_status=$?    ac_status=$?
6605    echo "$as_me:6602: \$? = $ac_status" >&5    echo "$as_me:6605: \$? = $ac_status" >&5
6606    (exit $ac_status); } &&    (exit $ac_status); } &&
6607           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6608    { (eval echo "$as_me:6605: \"$ac_try\"") >&5    { (eval echo "$as_me:6608: \"$ac_try\"") >&5
6609    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6610    ac_status=$?    ac_status=$?
6611    echo "$as_me:6608: \$? = $ac_status" >&5    echo "$as_me:6611: \$? = $ac_status" >&5
6612    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6613    ac_cv_lib_Xmu_XmuConvertStandardSelection=yes    ac_cv_lib_Xmu_XmuConvertStandardSelection=yes
6614  else  else
# Line 6616  fi Line 6619  fi
6619  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6620  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
6621  fi  fi
6622  echo "$as_me:6619: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5  echo "$as_me:6622: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5
6623  echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6  echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6
6624  if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then  if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then
6625    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 6634  fi Line 6637  fi
6637  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
6638    if test "${USE_X_TOOLKIT}" != "none"; then    if test "${USE_X_TOOLKIT}" != "none"; then
6639    
6640  echo "$as_me:6637: checking for XShapeQueryExtension in -lXext" >&5  echo "$as_me:6640: checking for XShapeQueryExtension in -lXext" >&5
6641  echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6  echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
6642  if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then  if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
6643    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6642  else Line 6645  else
6645    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
6646  LIBS="-lXext  $LIBS"  LIBS="-lXext  $LIBS"
6647  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
6648  #line 6645 "configure"  #line 6648 "configure"
6649  #include "confdefs.h"  #include "confdefs.h"
6650    
6651  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 6661  XShapeQueryExtension (); Line 6664  XShapeQueryExtension ();
6664  }  }
6665  _ACEOF  _ACEOF
6666  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6667  if { (eval echo "$as_me:6664: \"$ac_link\"") >&5  if { (eval echo "$as_me:6667: \"$ac_link\"") >&5
6668    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6669    ac_status=$?    ac_status=$?
6670    echo "$as_me:6667: \$? = $ac_status" >&5    echo "$as_me:6670: \$? = $ac_status" >&5
6671    (exit $ac_status); } &&    (exit $ac_status); } &&
6672           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6673    { (eval echo "$as_me:6670: \"$ac_try\"") >&5    { (eval echo "$as_me:6673: \"$ac_try\"") >&5
6674    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6675    ac_status=$?    ac_status=$?
6676    echo "$as_me:6673: \$? = $ac_status" >&5    echo "$as_me:6676: \$? = $ac_status" >&5
6677    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6678    ac_cv_lib_Xext_XShapeQueryExtension=yes    ac_cv_lib_Xext_XShapeQueryExtension=yes
6679  else  else
# Line 6681  fi Line 6684  fi
6684  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6685  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
6686  fi  fi
6687  echo "$as_me:6684: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5  echo "$as_me:6687: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
6688  echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6  echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
6689  if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then  if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
6690    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 6696  fi Line 6699  fi
6699  fi  fi
6700    
6701  if test "${USE_X_TOOLKIT}" = "MOTIF"; then  if test "${USE_X_TOOLKIT}" = "MOTIF"; then
6702    echo "$as_me:6699: checking for Motif version 2.1" >&5    echo "$as_me:6702: checking for Motif version 2.1" >&5
6703  echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6  echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6
6704  if test "${emacs_cv_motif_version_2_1+set}" = set; then  if test "${emacs_cv_motif_version_2_1+set}" = set; then
6705    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6706  else  else
6707    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6708  #line 6705 "configure"  #line 6708 "configure"
6709  #include "confdefs.h"  #include "confdefs.h"
6710  #include <Xm/Xm.h>  #include <Xm/Xm.h>
6711  int  int
# Line 6718  Motif version prior to 2.1. Line 6721  Motif version prior to 2.1.
6721  }  }
6722  _ACEOF  _ACEOF
6723  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
6724  if { (eval echo "$as_me:6721: \"$ac_compile\"") >&5  if { (eval echo "$as_me:6724: \"$ac_compile\"") >&5
6725    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
6726    ac_status=$?    ac_status=$?
6727    echo "$as_me:6724: \$? = $ac_status" >&5    echo "$as_me:6727: \$? = $ac_status" >&5
6728    (exit $ac_status); } &&    (exit $ac_status); } &&
6729           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
6730    { (eval echo "$as_me:6727: \"$ac_try\"") >&5    { (eval echo "$as_me:6730: \"$ac_try\"") >&5
6731    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6732    ac_status=$?    ac_status=$?
6733    echo "$as_me:6730: \$? = $ac_status" >&5    echo "$as_me:6733: \$? = $ac_status" >&5
6734    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6735    emacs_cv_motif_version_2_1=yes    emacs_cv_motif_version_2_1=yes
6736  else  else
# Line 6737  emacs_cv_motif_version_2_1=no Line 6740  emacs_cv_motif_version_2_1=no
6740  fi  fi
6741  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
6742  fi  fi
6743  echo "$as_me:6740: result: $emacs_cv_motif_version_2_1" >&5  echo "$as_me:6743: result: $emacs_cv_motif_version_2_1" >&5
6744  echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6  echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6
6745    HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1    HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1
6746    if test $emacs_cv_motif_version_2_1 = yes; then    if test $emacs_cv_motif_version_2_1 = yes; then
# Line 6746  echo "${ECHO_T}$emacs_cv_motif_version_2 Line 6749  echo "${ECHO_T}$emacs_cv_motif_version_2
6749  #define HAVE_MOTIF_2_1 1  #define HAVE_MOTIF_2_1 1
6750  EOF  EOF
6751    
6752      echo "$as_me:6749: checking for XpCreateContext in -lXp" >&5      echo "$as_me:6752: checking for XpCreateContext in -lXp" >&5
6753  echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6  echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6
6754  if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then  if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then
6755    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6754  else Line 6757  else
6757    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
6758  LIBS="-lXp  $LIBS"  LIBS="-lXp  $LIBS"
6759  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
6760  #line 6757 "configure"  #line 6760 "configure"
6761  #include "confdefs.h"  #include "confdefs.h"
6762    
6763  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 6773  XpCreateContext (); Line 6776  XpCreateContext ();
6776  }  }
6777  _ACEOF  _ACEOF
6778  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6779  if { (eval echo "$as_me:6776: \"$ac_link\"") >&5  if { (eval echo "$as_me:6779: \"$ac_link\"") >&5
6780    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6781    ac_status=$?    ac_status=$?
6782    echo "$as_me:6779: \$? = $ac_status" >&5    echo "$as_me:6782: \$? = $ac_status" >&5
6783    (exit $ac_status); } &&    (exit $ac_status); } &&
6784           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6785    { (eval echo "$as_me:6782: \"$ac_try\"") >&5    { (eval echo "$as_me:6785: \"$ac_try\"") >&5
6786    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6787    ac_status=$?    ac_status=$?
6788    echo "$as_me:6785: \$? = $ac_status" >&5    echo "$as_me:6788: \$? = $ac_status" >&5
6789    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6790    ac_cv_lib_Xp_XpCreateContext=yes    ac_cv_lib_Xp_XpCreateContext=yes
6791  else  else
# Line 6793  fi Line 6796  fi
6796  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6797  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
6798  fi  fi
6799  echo "$as_me:6796: result: $ac_cv_lib_Xp_XpCreateContext" >&5  echo "$as_me:6799: result: $ac_cv_lib_Xp_XpCreateContext" >&5
6800  echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6  echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6
6801  if test $ac_cv_lib_Xp_XpCreateContext = yes; then  if test $ac_cv_lib_Xp_XpCreateContext = yes; then
6802    HAVE_LIBXP=yes    HAVE_LIBXP=yes
# Line 6812  fi Line 6815  fi
6815  HAVE_XAW3D=no  HAVE_XAW3D=no
6816  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
6817    if test "${USE_X_TOOLKIT}" != "none"; then    if test "${USE_X_TOOLKIT}" != "none"; then
6818      echo "$as_me:6815: checking for X11/Xaw3d/Scrollbar.h" >&5      echo "$as_me:6818: checking for X11/Xaw3d/Scrollbar.h" >&5
6819  echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6  echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6
6820  if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then  if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then
6821    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6822  else  else
6823    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6824  #line 6821 "configure"  #line 6824 "configure"
6825  #include "confdefs.h"  #include "confdefs.h"
6826  #include <X11/Xaw3d/Scrollbar.h>  #include <X11/Xaw3d/Scrollbar.h>
6827  _ACEOF  _ACEOF
6828  if { (eval echo "$as_me:6825: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:6828: \"$ac_cpp conftest.$ac_ext\"") >&5
6829    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6830    ac_status=$?    ac_status=$?
6831    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
6832    rm -f conftest.er1    rm -f conftest.er1
6833    cat conftest.err >&5    cat conftest.err >&5
6834    echo "$as_me:6831: \$? = $ac_status" >&5    echo "$as_me:6834: \$? = $ac_status" >&5
6835    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
6836    if test -s conftest.err; then    if test -s conftest.err; then
6837      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 6847  else Line 6850  else
6850  fi  fi
6851  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
6852  fi  fi
6853  echo "$as_me:6850: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5  echo "$as_me:6853: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5
6854  echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6  echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6
6855  if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then  if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then
6856    echo "$as_me:6853: checking for XawScrollbarSetThumb in -lXaw3d" >&5    echo "$as_me:6856: checking for XawScrollbarSetThumb in -lXaw3d" >&5
6857  echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6  echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6
6858  if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then  if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then
6859    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6858  else Line 6861  else
6861    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
6862  LIBS="-lXaw3d  $LIBS"  LIBS="-lXaw3d  $LIBS"
6863  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
6864  #line 6861 "configure"  #line 6864 "configure"
6865  #include "confdefs.h"  #include "confdefs.h"
6866    
6867  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 6877  XawScrollbarSetThumb (); Line 6880  XawScrollbarSetThumb ();
6880  }  }
6881  _ACEOF  _ACEOF
6882  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6883  if { (eval echo "$as_me:6880: \"$ac_link\"") >&5  if { (eval echo "$as_me:6883: \"$ac_link\"") >&5
6884    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6885    ac_status=$?    ac_status=$?
6886    echo "$as_me:6883: \$? = $ac_status" >&5    echo "$as_me:6886: \$? = $ac_status" >&5
6887    (exit $ac_status); } &&    (exit $ac_status); } &&
6888           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6889    { (eval echo "$as_me:6886: \"$ac_try\"") >&5    { (eval echo "$as_me:6889: \"$ac_try\"") >&5
6890    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6891    ac_status=$?    ac_status=$?
6892    echo "$as_me:6889: \$? = $ac_status" >&5    echo "$as_me:6892: \$? = $ac_status" >&5
6893    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6894    ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes    ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes
6895  else  else
# Line 6897  fi Line 6900  fi
6900  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6901  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
6902  fi  fi
6903  echo "$as_me:6900: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5  echo "$as_me:6903: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5
6904  echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6  echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6
6905  if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then  if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then
6906    HAVE_XAW3D=yes    HAVE_XAW3D=yes
# Line 6945  fi Line 6948  fi
6948  HAVE_XPM=no  HAVE_XPM=no
6949  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
6950    if test "${with_xpm}" != "no"; then    if test "${with_xpm}" != "no"; then
6951      echo "$as_me:6948: checking for X11/xpm.h" >&5      echo "$as_me:6951: checking for X11/xpm.h" >&5
6952  echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6  echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
6953  if test "${ac_cv_header_X11_xpm_h+set}" = set; then  if test "${ac_cv_header_X11_xpm_h+set}" = set; then
6954    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6955  else  else
6956    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6957  #line 6954 "configure"  #line 6957 "configure"
6958  #include "confdefs.h"  #include "confdefs.h"
6959  #include <X11/xpm.h>  #include <X11/xpm.h>
6960  _ACEOF  _ACEOF
6961  if { (eval echo "$as_me:6958: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:6961: \"$ac_cpp conftest.$ac_ext\"") >&5
6962    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6963    ac_status=$?    ac_status=$?
6964    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
6965    rm -f conftest.er1    rm -f conftest.er1
6966    cat conftest.err >&5    cat conftest.err >&5
6967    echo "$as_me:6964: \$? = $ac_status" >&5    echo "$as_me:6967: \$? = $ac_status" >&5
6968    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
6969    if test -s conftest.err; then    if test -s conftest.err; then
6970      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 6980  else Line 6983  else
6983  fi  fi
6984  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
6985  fi  fi
6986  echo "$as_me:6983: result: $ac_cv_header_X11_xpm_h" >&5  echo "$as_me:6986: result: $ac_cv_header_X11_xpm_h" >&5
6987  echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6  echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6
6988  if test $ac_cv_header_X11_xpm_h = yes; then  if test $ac_cv_header_X11_xpm_h = yes; then
6989    echo "$as_me:6986: checking for XpmReadFileToPixmap in -lXpm" >&5    echo "$as_me:6989: checking for XpmReadFileToPixmap in -lXpm" >&5
6990  echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6  echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6
6991  if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then  if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then
6992    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6991  else Line 6994  else
6994    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
6995  LIBS="-lXpm -lX11 $LIBS"  LIBS="-lXpm -lX11 $LIBS"
6996  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
6997  #line 6994 "configure"  #line 6997 "configure"
6998  #include "confdefs.h"  #include "confdefs.h"
6999    
7000  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 7010  XpmReadFileToPixmap (); Line 7013  XpmReadFileToPixmap ();
7013  }  }
7014  _ACEOF  _ACEOF
7015  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7016  if { (eval echo "$as_me:7013: \"$ac_link\"") >&5  if { (eval echo "$as_me:7016: \"$ac_link\"") >&5
7017    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7018    ac_status=$?    ac_status=$?
7019    echo "$as_me:7016: \$? = $ac_status" >&5    echo "$as_me:7019: \$? = $ac_status" >&5
7020    (exit $ac_status); } &&    (exit $ac_status); } &&
7021           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7022    { (eval echo "$as_me:7019: \"$ac_try\"") >&5    { (eval echo "$as_me:7022: \"$ac_try\"") >&5
7023    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7024    ac_status=$?    ac_status=$?
7025    echo "$as_me:7022: \$? = $ac_status" >&5    echo "$as_me:7025: \$? = $ac_status" >&5
7026    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7027    ac_cv_lib_Xpm_XpmReadFileToPixmap=yes    ac_cv_lib_Xpm_XpmReadFileToPixmap=yes
7028  else  else
# Line 7030  fi Line 7033  fi
7033  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7034  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7035  fi  fi
7036  echo "$as_me:7033: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5  echo "$as_me:7036: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
7037  echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6  echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6
7038  if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then  if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then
7039    HAVE_XPM=yes    HAVE_XPM=yes
# Line 7039  fi Line 7042  fi
7042  fi  fi
7043    
7044      if test "${HAVE_XPM}" = "yes"; then      if test "${HAVE_XPM}" = "yes"; then
7045        echo "$as_me:7042: checking for XpmReturnAllocPixels preprocessor define" >&5        echo "$as_me:7045: checking for XpmReturnAllocPixels preprocessor define" >&5
7046  echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6  echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6
7047        cat >conftest.$ac_ext <<_ACEOF        cat >conftest.$ac_ext <<_ACEOF
7048  #line 7045 "configure"  #line 7048 "configure"
7049  #include "confdefs.h"  #include "confdefs.h"
7050  #include "X11/xpm.h"  #include "X11/xpm.h"
7051  #ifndef XpmReturnAllocPixels  #ifndef XpmReturnAllocPixels
# Line 7059  fi Line 7062  fi
7062  rm -f conftest*  rm -f conftest*
7063    
7064        if test "${HAVE_XPM}" = "yes"; then        if test "${HAVE_XPM}" = "yes"; then
7065          echo "$as_me:7062: result: yes" >&5          echo "$as_me:7065: result: yes" >&5
7066  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
7067        else        else
7068          echo "$as_me:7065: result: no" >&5          echo "$as_me:7068: result: no" >&5
7069  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
7070        fi        fi
7071      fi      fi
# Line 7080  fi Line 7083  fi
7083  HAVE_JPEG=no  HAVE_JPEG=no
7084  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
7085    if test "${with_jpeg}" != "no"; then    if test "${with_jpeg}" != "no"; then
7086              echo "$as_me:7083: checking for jerror.h" >&5              echo "$as_me:7086: checking for jerror.h" >&5
7087  echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6  echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6
7088  if test "${ac_cv_header_jerror_h+set}" = set; then  if test "${ac_cv_header_jerror_h+set}" = set; then
7089    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7090  else  else
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 <jerror.h>  #include <jerror.h>
7095  _ACEOF  _ACEOF
7096  if { (eval echo "$as_me:7093: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:7096: \"$ac_cpp conftest.$ac_ext\"") >&5
7097    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7098    ac_status=$?    ac_status=$?
7099    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
7100    rm -f conftest.er1    rm -f conftest.er1
7101    cat conftest.err >&5    cat conftest.err >&5
7102    echo "$as_me:7099: \$? = $ac_status" >&5    echo "$as_me:7102: \$? = $ac_status" >&5
7103    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
7104    if test -s conftest.err; then    if test -s conftest.err; then
7105      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 7115  else Line 7118  else
7118  fi  fi
7119  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
7120  fi  fi
7121  echo "$as_me:7118: result: $ac_cv_header_jerror_h" >&5  echo "$as_me:7121: result: $ac_cv_header_jerror_h" >&5
7122  echo "${ECHO_T}$ac_cv_header_jerror_h" >&6  echo "${ECHO_T}$ac_cv_header_jerror_h" >&6
7123  if test $ac_cv_header_jerror_h = yes; then  if test $ac_cv_header_jerror_h = yes; then
7124    echo "$as_me:7121: checking for jpeg_destroy_compress in -ljpeg" >&5    echo "$as_me:7124: checking for jpeg_destroy_compress in -ljpeg" >&5
7125  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
7126  if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then  if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then
7127    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7126  else Line 7129  else
7129    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7130  LIBS="-ljpeg  $LIBS"  LIBS="-ljpeg  $LIBS"
7131  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7132  #line 7129 "configure"  #line 7132 "configure"
7133  #include "confdefs.h"  #include "confdefs.h"
7134    
7135  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 7145  jpeg_destroy_compress (); Line 7148  jpeg_destroy_compress ();
7148  }  }
7149  _ACEOF  _ACEOF
7150  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7151  if { (eval echo "$as_me:7148: \"$ac_link\"") >&5  if { (eval echo "$as_me:7151: \"$ac_link\"") >&5
7152    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7153    ac_status=$?    ac_status=$?
7154    echo "$as_me:7151: \$? = $ac_status" >&5    echo "$as_me:7154: \$? = $ac_status" >&5
7155    (exit $ac_status); } &&    (exit $ac_status); } &&
7156           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7157    { (eval echo "$as_me:7154: \"$ac_try\"") >&5    { (eval echo "$as_me:7157: \"$ac_try\"") >&5
7158    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7159    ac_status=$?    ac_status=$?
7160    echo "$as_me:7157: \$? = $ac_status" >&5    echo "$as_me:7160: \$? = $ac_status" >&5
7161    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7162    ac_cv_lib_jpeg_jpeg_destroy_compress=yes    ac_cv_lib_jpeg_jpeg_destroy_compress=yes
7163  else  else
# Line 7165  fi Line 7168  fi
7168  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7169  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7170  fi  fi
7171  echo "$as_me:7168: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5  echo "$as_me:7171: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5
7172  echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6  echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6
7173  if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then  if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then
7174    HAVE_JPEG=yes    HAVE_JPEG=yes
# Line 7187  fi Line 7190  fi
7190  HAVE_PNG=no  HAVE_PNG=no
7191  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
7192    if test "${with_png}" != "no"; then    if test "${with_png}" != "no"; then
7193      echo "$as_me:7190: checking for png.h" >&5      echo "$as_me:7193: checking for png.h" >&5
7194  echo $ECHO_N "checking for png.h... $ECHO_C" >&6  echo $ECHO_N "checking for png.h... $ECHO_C" >&6
7195  if test "${ac_cv_header_png_h+set}" = set; then  if test "${ac_cv_header_png_h+set}" = set; then
7196    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7197  else  else
7198    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7199  #line 7196 "configure"  #line 7199 "configure"
7200  #include "confdefs.h"  #include "confdefs.h"
7201  #include <png.h>  #include <png.h>
7202  _ACEOF  _ACEOF
7203  if { (eval echo "$as_me:7200: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:7203: \"$ac_cpp conftest.$ac_ext\"") >&5
7204    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7205    ac_status=$?    ac_status=$?
7206    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
7207    rm -f conftest.er1    rm -f conftest.er1
7208    cat conftest.err >&5    cat conftest.err >&5
7209    echo "$as_me:7206: \$? = $ac_status" >&5    echo "$as_me:7209: \$? = $ac_status" >&5
7210    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
7211    if test -s conftest.err; then    if test -s conftest.err; then
7212      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 7222  else Line 7225  else
7225  fi  fi
7226  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
7227  fi  fi
7228  echo "$as_me:7225: result: $ac_cv_header_png_h" >&5  echo "$as_me:7228: result: $ac_cv_header_png_h" >&5
7229  echo "${ECHO_T}$ac_cv_header_png_h" >&6  echo "${ECHO_T}$ac_cv_header_png_h" >&6
7230  if test $ac_cv_header_png_h = yes; then  if test $ac_cv_header_png_h = yes; then
7231    echo "$as_me:7228: checking for png_get_channels in -lpng" >&5    echo "$as_me:7231: checking for png_get_channels in -lpng" >&5
7232  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
7233  if test "${ac_cv_lib_png_png_get_channels+set}" = set; then  if test "${ac_cv_lib_png_png_get_channels+set}" = set; then
7234    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7233  else Line 7236  else
7236    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7237  LIBS="-lpng -lz -lm $LIBS"  LIBS="-lpng -lz -lm $LIBS"
7238  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7239  #line 7236 "configure"  #line 7239 "configure"
7240  #include "confdefs.h"  #include "confdefs.h"
7241    
7242  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 7252  png_get_channels (); Line 7255  png_get_channels ();
7255  }  }
7256  _ACEOF  _ACEOF
7257  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7258  if { (eval echo "$as_me:7255: \"$ac_link\"") >&5  if { (eval echo "$as_me:7258: \"$ac_link\"") >&5
7259    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7260    ac_status=$?    ac_status=$?
7261    echo "$as_me:7258: \$? = $ac_status" >&5    echo "$as_me:7261: \$? = $ac_status" >&5
7262    (exit $ac_status); } &&    (exit $ac_status); } &&
7263           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7264    { (eval echo "$as_me:7261: \"$ac_try\"") >&5    { (eval echo "$as_me:7264: \"$ac_try\"") >&5
7265    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7266    ac_status=$?    ac_status=$?
7267    echo "$as_me:7264: \$? = $ac_status" >&5    echo "$as_me:7267: \$? = $ac_status" >&5
7268    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7269    ac_cv_lib_png_png_get_channels=yes    ac_cv_lib_png_png_get_channels=yes
7270  else  else
# Line 7272  fi Line 7275  fi
7275  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7276  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7277  fi  fi
7278  echo "$as_me:7275: result: $ac_cv_lib_png_png_get_channels" >&5  echo "$as_me:7278: result: $ac_cv_lib_png_png_get_channels" >&5
7279  echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6  echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6
7280  if test $ac_cv_lib_png_png_get_channels = yes; then  if test $ac_cv_lib_png_png_get_channels = yes; then
7281    HAVE_PNG=yes    HAVE_PNG=yes
# Line 7294  fi Line 7297  fi
7297  HAVE_TIFF=no  HAVE_TIFF=no
7298  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
7299    if test "${with_tiff}" != "no"; then    if test "${with_tiff}" != "no"; then
7300      echo "$as_me:7297: checking for tiffio.h" >&5      echo "$as_me:7300: checking for tiffio.h" >&5
7301  echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6  echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
7302  if test "${ac_cv_header_tiffio_h+set}" = set; then  if test "${ac_cv_header_tiffio_h+set}" = set; then
7303    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7304  else  else
7305    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7306  #line 7303 "configure"  #line 7306 "configure"
7307  #include "confdefs.h"  #include "confdefs.h"
7308  #include <tiffio.h>  #include <tiffio.h>
7309  _ACEOF  _ACEOF
7310  if { (eval echo "$as_me:7307: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:7310: \"$ac_cpp conftest.$ac_ext\"") >&5
7311    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7312    ac_status=$?    ac_status=$?
7313    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
7314    rm -f conftest.er1    rm -f conftest.er1
7315    cat conftest.err >&5    cat conftest.err >&5
7316    echo "$as_me:7313: \$? = $ac_status" >&5    echo "$as_me:7316: \$? = $ac_status" >&5
7317    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
7318    if test -s conftest.err; then    if test -s conftest.err; then
7319      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 7329  else Line 7332  else
7332  fi  fi
7333  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
7334  fi  fi
7335  echo "$as_me:7332: result: $ac_cv_header_tiffio_h" >&5  echo "$as_me:7335: result: $ac_cv_header_tiffio_h" >&5
7336  echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6  echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
7337  if test $ac_cv_header_tiffio_h = yes; then  if test $ac_cv_header_tiffio_h = yes; then
7338    tifflibs="-lz -lm"    tifflibs="-lz -lm"
7339        # At least one tiff package requires the jpeg library.        # At least one tiff package requires the jpeg library.
7340        if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi        if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
7341        echo "$as_me:7338: checking for TIFFGetVersion in -ltiff" >&5        echo "$as_me:7341: checking for TIFFGetVersion in -ltiff" >&5
7342  echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6  echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6
7343  if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then  if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then
7344    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7343  else Line 7346  else
7346    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7347  LIBS="-ltiff $tifflibs $LIBS"  LIBS="-ltiff $tifflibs $LIBS"
7348  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7349  #line 7346 "configure"  #line 7349 "configure"
7350  #include "confdefs.h"  #include "confdefs.h"
7351    
7352  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 7362  TIFFGetVersion (); Line 7365  TIFFGetVersion ();
7365  }  }
7366  _ACEOF  _ACEOF
7367  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7368  if { (eval echo "$as_me:7365: \"$ac_link\"") >&5  if { (eval echo "$as_me:7368: \"$ac_link\"") >&5
7369    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7370    ac_status=$?    ac_status=$?
7371    echo "$as_me:7368: \$? = $ac_status" >&5    echo "$as_me:7371: \$? = $ac_status" >&5
7372    (exit $ac_status); } &&    (exit $ac_status); } &&
7373           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7374    { (eval echo "$as_me:7371: \"$ac_try\"") >&5    { (eval echo "$as_me:7374: \"$ac_try\"") >&5
7375    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7376    ac_status=$?    ac_status=$?
7377    echo "$as_me:7374: \$? = $ac_status" >&5    echo "$as_me:7377: \$? = $ac_status" >&5
7378    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7379    ac_cv_lib_tiff_TIFFGetVersion=yes    ac_cv_lib_tiff_TIFFGetVersion=yes
7380  else  else
# Line 7382  fi Line 7385  fi
7385  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7386  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7387  fi  fi
7388  echo "$as_me:7385: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5  echo "$as_me:7388: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5
7389  echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6  echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6
7390  if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then  if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then
7391    HAVE_TIFF=yes    HAVE_TIFF=yes
# Line 7404  fi Line 7407  fi
7407  HAVE_GIF=no  HAVE_GIF=no
7408  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
7409    if test "${with_gif}" != "no"; then    if test "${with_gif}" != "no"; then
7410      echo "$as_me:7407: checking for gif_lib.h" >&5      echo "$as_me:7410: checking for gif_lib.h" >&5
7411  echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6  echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6
7412  if test "${ac_cv_header_gif_lib_h+set}" = set; then  if test "${ac_cv_header_gif_lib_h+set}" = set; then
7413    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7414  else  else
7415    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7416  #line 7413 "configure"  #line 7416 "configure"
7417  #include "confdefs.h"  #include "confdefs.h"
7418  #include <gif_lib.h>  #include <gif_lib.h>
7419  _ACEOF  _ACEOF
7420  if { (eval echo "$as_me:7417: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:7420: \"$ac_cpp conftest.$ac_ext\"") >&5
7421    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7422    ac_status=$?    ac_status=$?
7423    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
7424    rm -f conftest.er1    rm -f conftest.er1
7425    cat conftest.err >&5    cat conftest.err >&5
7426    echo "$as_me:7423: \$? = $ac_status" >&5    echo "$as_me:7426: \$? = $ac_status" >&5
7427    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
7428    if test -s conftest.err; then    if test -s conftest.err; then
7429      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 7439  else Line 7442  else
7442  fi  fi
7443  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
7444  fi  fi
7445  echo "$as_me:7442: result: $ac_cv_header_gif_lib_h" >&5  echo "$as_me:7445: result: $ac_cv_header_gif_lib_h" >&5
7446  echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6  echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6
7447  if test $ac_cv_header_gif_lib_h = yes; then  if test $ac_cv_header_gif_lib_h = yes; then
7448    echo "$as_me:7445: checking for DGifOpen in -lungif" >&5    echo "$as_me:7448: checking for DGifOpen in -lungif" >&5
7449  echo $ECHO_N "checking for DGifOpen in -lungif... $ECHO_C" >&6  echo $ECHO_N "checking for DGifOpen in -lungif... $ECHO_C" >&6
7450  if test "${ac_cv_lib_ungif_DGifOpen+set}" = set; then  if test "${ac_cv_lib_ungif_DGifOpen+set}" = set; then
7451    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7450  else Line 7453  else
7453    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7454  LIBS="-lungif  $LIBS"  LIBS="-lungif  $LIBS"
7455  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7456  #line 7453 "configure"  #line 7456 "configure"
7457  #include "confdefs.h"  #include "confdefs.h"
7458    
7459  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 7469  DGifOpen (); Line 7472  DGifOpen ();
7472  }  }
7473  _ACEOF  _ACEOF
7474  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7475  if { (eval echo "$as_me:7472: \"$ac_link\"") >&5  if { (eval echo "$as_me:7475: \"$ac_link\"") >&5
7476    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7477    ac_status=$?    ac_status=$?
7478    echo "$as_me:7475: \$? = $ac_status" >&5    echo "$as_me:7478: \$? = $ac_status" >&5
7479    (exit $ac_status); } &&    (exit $ac_status); } &&
7480           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7481    { (eval echo "$as_me:7478: \"$ac_try\"") >&5    { (eval echo "$as_me:7481: \"$ac_try\"") >&5
7482    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7483    ac_status=$?    ac_status=$?
7484    echo "$as_me:7481: \$? = $ac_status" >&5    echo "$as_me:7484: \$? = $ac_status" >&5
7485    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7486    ac_cv_lib_ungif_DGifOpen=yes    ac_cv_lib_ungif_DGifOpen=yes
7487  else  else
# Line 7489  fi Line 7492  fi
7492  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7493  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7494  fi  fi
7495  echo "$as_me:7492: result: $ac_cv_lib_ungif_DGifOpen" >&5  echo "$as_me:7495: result: $ac_cv_lib_ungif_DGifOpen" >&5
7496  echo "${ECHO_T}$ac_cv_lib_ungif_DGifOpen" >&6  echo "${ECHO_T}$ac_cv_lib_ungif_DGifOpen" >&6
7497  if test $ac_cv_lib_ungif_DGifOpen = yes; then  if test $ac_cv_lib_ungif_DGifOpen = yes; then
7498    HAVE_GIF=yes    HAVE_GIF=yes
# Line 7508  EOF Line 7511  EOF
7511  fi  fi
7512    
7513  # 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.
7514  echo "$as_me:7511: checking whether netdb declares h_errno" >&5  echo "$as_me:7514: checking whether netdb declares h_errno" >&5
7515  echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6  echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6
7516  if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then  if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then
7517    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7518  else  else
7519    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7520  #line 7517 "configure"  #line 7520 "configure"
7521  #include "confdefs.h"  #include "confdefs.h"
7522  #include <netdb.h>  #include <netdb.h>
7523  int  int
# Line 7526  return h_errno; Line 7529  return h_errno;
7529  }  }
7530  _ACEOF  _ACEOF
7531  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7532  if { (eval echo "$as_me:7529: \"$ac_link\"") >&5  if { (eval echo "$as_me:7532: \"$ac_link\"") >&5
7533    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7534    ac_status=$?    ac_status=$?
7535    echo "$as_me:7532: \$? = $ac_status" >&5    echo "$as_me:7535: \$? = $ac_status" >&5
7536    (exit $ac_status); } &&    (exit $ac_status); } &&
7537           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7538    { (eval echo "$as_me:7535: \"$ac_try\"") >&5    { (eval echo "$as_me:7538: \"$ac_try\"") >&5
7539    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7540    ac_status=$?    ac_status=$?
7541    echo "$as_me:7538: \$? = $ac_status" >&5    echo "$as_me:7541: \$? = $ac_status" >&5
7542    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7543    emacs_cv_netdb_declares_h_errno=yes    emacs_cv_netdb_declares_h_errno=yes
7544  else  else
# Line 7545  emacs_cv_netdb_declares_h_errno=no Line 7548  emacs_cv_netdb_declares_h_errno=no
7548  fi  fi
7549  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7550  fi  fi
7551  echo "$as_me:7548: result: $emacs_cv_netdb_declares_h_errno" >&5  echo "$as_me:7551: result: $emacs_cv_netdb_declares_h_errno" >&5
7552  echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6  echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6
7553  if test $emacs_cv_netdb_declares_h_errno = yes; then  if test $emacs_cv_netdb_declares_h_errno = yes; then
7554    cat >>confdefs.h <<\EOF    cat >>confdefs.h <<\EOF
# Line 7556  fi Line 7559  fi
7559    
7560  # 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
7561  # for constant arguments.  Useless!  # for constant arguments.  Useless!
7562  echo "$as_me:7559: checking for working alloca.h" >&5  echo "$as_me:7562: checking for working alloca.h" >&5
7563  echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6  echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
7564  if test "${ac_cv_working_alloca_h+set}" = set; then  if test "${ac_cv_working_alloca_h+set}" = set; then
7565    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7566  else  else
7567    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7568  #line 7565 "configure"  #line 7568 "configure"
7569  #include "confdefs.h"  #include "confdefs.h"
7570  #include <alloca.h>  #include <alloca.h>
7571  int  int
# Line 7574  char *p = (char *) alloca (2 * sizeof (i Line 7577  char *p = (char *) alloca (2 * sizeof (i
7577  }  }
7578  _ACEOF  _ACEOF
7579  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7580  if { (eval echo "$as_me:7577: \"$ac_link\"") >&5  if { (eval echo "$as_me:7580: \"$ac_link\"") >&5
7581    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7582    ac_status=$?    ac_status=$?
7583    echo "$as_me:7580: \$? = $ac_status" >&5    echo "$as_me:7583: \$? = $ac_status" >&5
7584    (exit $ac_status); } &&    (exit $ac_status); } &&
7585           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7586    { (eval echo "$as_me:7583: \"$ac_try\"") >&5    { (eval echo "$as_me:7586: \"$ac_try\"") >&5
7587    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7588    ac_status=$?    ac_status=$?
7589    echo "$as_me:7586: \$? = $ac_status" >&5    echo "$as_me:7589: \$? = $ac_status" >&5
7590    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7591    ac_cv_working_alloca_h=yes    ac_cv_working_alloca_h=yes
7592  else  else
# Line 7593  ac_cv_working_alloca_h=no Line 7596  ac_cv_working_alloca_h=no
7596  fi  fi
7597  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7598  fi  fi
7599  echo "$as_me:7596: result: $ac_cv_working_alloca_h" >&5  echo "$as_me:7599: result: $ac_cv_working_alloca_h" >&5
7600  echo "${ECHO_T}$ac_cv_working_alloca_h" >&6  echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
7601  if test $ac_cv_working_alloca_h = yes; then  if test $ac_cv_working_alloca_h = yes; then
7602    
# Line 7603  EOF Line 7606  EOF
7606    
7607  fi  fi
7608    
7609  echo "$as_me:7606: checking for alloca" >&5  echo "$as_me:7609: checking for alloca" >&5
7610  echo $ECHO_N "checking for alloca... $ECHO_C" >&6  echo $ECHO_N "checking for alloca... $ECHO_C" >&6
7611  if test "${ac_cv_func_alloca_works+set}" = set; then  if test "${ac_cv_func_alloca_works+set}" = set; then
7612    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7613  else  else
7614    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7615  #line 7612 "configure"  #line 7615 "configure"
7616  #include "confdefs.h"  #include "confdefs.h"
7617  #ifdef __GNUC__  #ifdef __GNUC__
7618  # define alloca __builtin_alloca  # define alloca __builtin_alloca
# Line 7641  char *p = (char *) alloca (1); Line 7644  char *p = (char *) alloca (1);
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_func_alloca_works=yes    ac_cv_func_alloca_works=yes
7659  else  else
# Line 7660  ac_cv_func_alloca_works=no Line 7663  ac_cv_func_alloca_works=no
7663  fi  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  fi  fi
7666  echo "$as_me:7663: result: $ac_cv_func_alloca_works" >&5  echo "$as_me:7666: result: $ac_cv_func_alloca_works" >&5
7667  echo "${ECHO_T}$ac_cv_func_alloca_works" >&6  echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
7668    
7669  if test $ac_cv_func_alloca_works = yes; then  if test $ac_cv_func_alloca_works = yes; then
# Line 7681  cat >>confdefs.h <<\EOF Line 7684  cat >>confdefs.h <<\EOF
7684  #define C_ALLOCA 1  #define C_ALLOCA 1
7685  EOF  EOF
7686    
7687  echo "$as_me:7684: checking whether \`alloca.c' needs Cray hooks" >&5  echo "$as_me:7687: checking whether \`alloca.c' needs Cray hooks" >&5
7688  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
7689  if test "${ac_cv_os_cray+set}" = set; then  if test "${ac_cv_os_cray+set}" = set; then
7690    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7691  else  else
7692    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7693  #line 7690 "configure"  #line 7693 "configure"
7694  #include "confdefs.h"  #include "confdefs.h"
7695  #if defined(CRAY) && ! defined(CRAY2)  #if defined(CRAY) && ! defined(CRAY2)
7696  webecray  webecray
# Line 7705  fi Line 7708  fi
7708  rm -f conftest*  rm -f conftest*
7709    
7710  fi  fi
7711  echo "$as_me:7708: result: $ac_cv_os_cray" >&5  echo "$as_me:7711: result: $ac_cv_os_cray" >&5
7712  echo "${ECHO_T}$ac_cv_os_cray" >&6  echo "${ECHO_T}$ac_cv_os_cray" >&6
7713  if test $ac_cv_os_cray = yes; then  if test $ac_cv_os_cray = yes; then
7714    for ac_func in _getb67 GETB67 getb67; do    for ac_func in _getb67 GETB67 getb67; do
7715      as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`      as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7716  echo "$as_me:7713: checking for $ac_func" >&5  echo "$as_me:7716: checking for $ac_func" >&5
7717  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7718  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
7719    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7720  else  else
7721    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7722  #line 7719 "configure"  #line 7722 "configure"
7723  #include "confdefs.h"  #include "confdefs.h"
7724  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
7725      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 7747  f = $ac_func; Line 7750  f = $ac_func;
7750  }  }
7751  _ACEOF  _ACEOF
7752  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7753  if { (eval echo "$as_me:7750: \"$ac_link\"") >&5  if { (eval echo "$as_me:7753: \"$ac_link\"") >&5
7754    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7755    ac_status=$?    ac_status=$?
7756    echo "$as_me:7753: \$? = $ac_status" >&5    echo "$as_me:7756: \$? = $ac_status" >&5
7757    (exit $ac_status); } &&    (exit $ac_status); } &&
7758           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7759    { (eval echo "$as_me:7756: \"$ac_try\"") >&5    { (eval echo "$as_me:7759: \"$ac_try\"") >&5
7760    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7761    ac_status=$?    ac_status=$?
7762    echo "$as_me:7759: \$? = $ac_status" >&5    echo "$as_me:7762: \$? = $ac_status" >&5
7763    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7764    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
7765  else  else
# Line 7766  eval "$as_ac_var=no" Line 7769  eval "$as_ac_var=no"
7769  fi  fi
7770  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7771  fi  fi
7772  echo "$as_me:7769: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:7772: result: `eval echo '${'$as_ac_var'}'`" >&5
7773  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7774  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
7775    
# Line 7780  fi Line 7783  fi
7783    done    done
7784  fi  fi
7785    
7786  echo "$as_me:7783: checking stack direction for C alloca" >&5  echo "$as_me:7786: checking stack direction for C alloca" >&5
7787  echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6  echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
7788  if test "${ac_cv_c_stack_direction+set}" = set; then  if test "${ac_cv_c_stack_direction+set}" = set; then
7789    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7789  else Line 7792  else
7792    ac_cv_c_stack_direction=0    ac_cv_c_stack_direction=0
7793  else  else
7794    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7795  #line 7792 "configure"  #line 7795 "configure"
7796  #include "confdefs.h"  #include "confdefs.h"
7797  int  int
7798  find_stack_direction ()  find_stack_direction ()
# Line 7812  main () Line 7815  main ()
7815  }  }
7816  _ACEOF  _ACEOF
7817  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
7818  if { (eval echo "$as_me:7815: \"$ac_link\"") >&5  if { (eval echo "$as_me:7818: \"$ac_link\"") >&5
7819    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7820    ac_status=$?    ac_status=$?
7821    echo "$as_me:7818: \$? = $ac_status" >&5    echo "$as_me:7821: \$? = $ac_status" >&5
7822    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7823    { (eval echo "$as_me:7820: \"$ac_try\"") >&5    { (eval echo "$as_me:7823: \"$ac_try\"") >&5
7824    (eval $ac_try) 2>&5    (eval $ac_try) 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); }; }; then    (exit $ac_status); }; }; then
7828    ac_cv_c_stack_direction=1    ac_cv_c_stack_direction=1
7829  else  else
# Line 7832  fi Line 7835  fi
7835  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
7836  fi  fi
7837  fi  fi
7838  echo "$as_me:7835: result: $ac_cv_c_stack_direction" >&5  echo "$as_me:7838: result: $ac_cv_c_stack_direction" >&5
7839  echo "${ECHO_T}$ac_cv_c_stack_direction" >&6  echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
7840    
7841  cat >>confdefs.h <<EOF  cat >>confdefs.h <<EOF
# Line 7844  fi Line 7847  fi
7847  # fmod, logb, and frexp are found in -lm on most systems.  # fmod, logb, and frexp are found in -lm on most systems.
7848  # 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.
7849    
7850  echo "$as_me:7847: checking for sqrt in -lm" >&5  echo "$as_me:7850: checking for sqrt in -lm" >&5
7851  echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6  echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
7852  if test "${ac_cv_lib_m_sqrt+set}" = set; then  if test "${ac_cv_lib_m_sqrt+set}" = set; then
7853    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7852  else Line 7855  else
7855    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7856  LIBS="-lm  $LIBS"  LIBS="-lm  $LIBS"
7857  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7858  #line 7855 "configure"  #line 7858 "configure"
7859  #include "confdefs.h"  #include "confdefs.h"
7860    
7861  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 7871  sqrt (); Line 7874  sqrt ();
7874  }  }
7875  _ACEOF  _ACEOF
7876  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7877  if { (eval echo "$as_me:7874: \"$ac_link\"") >&5  if { (eval echo "$as_me:7877: \"$ac_link\"") >&5
7878    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7879    ac_status=$?    ac_status=$?
7880    echo "$as_me:7877: \$? = $ac_status" >&5    echo "$as_me:7880: \$? = $ac_status" >&5
7881    (exit $ac_status); } &&    (exit $ac_status); } &&
7882           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7883    { (eval echo "$as_me:7880: \"$ac_try\"") >&5    { (eval echo "$as_me:7883: \"$ac_try\"") >&5
7884    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7885    ac_status=$?    ac_status=$?
7886    echo "$as_me:7883: \$? = $ac_status" >&5    echo "$as_me:7886: \$? = $ac_status" >&5
7887    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7888    ac_cv_lib_m_sqrt=yes    ac_cv_lib_m_sqrt=yes
7889  else  else
# Line 7891  fi Line 7894  fi
7894  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7895  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7896  fi  fi
7897  echo "$as_me:7894: result: $ac_cv_lib_m_sqrt" >&5  echo "$as_me:7897: result: $ac_cv_lib_m_sqrt" >&5
7898  echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6  echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
7899  if test $ac_cv_lib_m_sqrt = yes; then  if test $ac_cv_lib_m_sqrt = yes; then
7900    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 7904  fi Line 7907  fi
7907    
7908  # Check for mail-locking functions in a "mail" library  # Check for mail-locking functions in a "mail" library
7909    
7910  echo "$as_me:7907: checking for maillock in -lmail" >&5  echo "$as_me:7910: checking for maillock in -lmail" >&5
7911  echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6  echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6
7912  if test "${ac_cv_lib_mail_maillock+set}" = set; then  if test "${ac_cv_lib_mail_maillock+set}" = set; then
7913    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7912  else Line 7915  else
7915    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7916  LIBS="-lmail  $LIBS"  LIBS="-lmail  $LIBS"
7917  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7918  #line 7915 "configure"  #line 7918 "configure"
7919  #include "confdefs.h"  #include "confdefs.h"
7920    
7921  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 7931  maillock (); Line 7934  maillock ();
7934  }  }
7935  _ACEOF  _ACEOF
7936  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7937  if { (eval echo "$as_me:7934: \"$ac_link\"") >&5  if { (eval echo "$as_me:7937: \"$ac_link\"") >&5
7938    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7939    ac_status=$?    ac_status=$?
7940    echo "$as_me:7937: \$? = $ac_status" >&5    echo "$as_me:7940: \$? = $ac_status" >&5
7941    (exit $ac_status); } &&    (exit $ac_status); } &&
7942           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7943    { (eval echo "$as_me:7940: \"$ac_try\"") >&5    { (eval echo "$as_me:7943: \"$ac_try\"") >&5
7944    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7945    ac_status=$?    ac_status=$?
7946    echo "$as_me:7943: \$? = $ac_status" >&5    echo "$as_me:7946: \$? = $ac_status" >&5
7947    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7948    ac_cv_lib_mail_maillock=yes    ac_cv_lib_mail_maillock=yes
7949  else  else
# Line 7951  fi Line 7954  fi
7954  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7955  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7956  fi  fi
7957  echo "$as_me:7954: result: $ac_cv_lib_mail_maillock" >&5  echo "$as_me:7957: result: $ac_cv_lib_mail_maillock" >&5
7958  echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6  echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6
7959  if test $ac_cv_lib_mail_maillock = yes; then  if test $ac_cv_lib_mail_maillock = yes; then
7960    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 7962  EOF Line 7965  EOF
7965    
7966  fi  fi
7967    
7968  echo "$as_me:7965: checking for maillock in -llockfile" >&5  echo "$as_me:7968: checking for maillock in -llockfile" >&5
7969  echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6  echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6
7970  if test "${ac_cv_lib_lockfile_maillock+set}" = set; then  if test "${ac_cv_lib_lockfile_maillock+set}" = set; then
7971    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7970  else Line 7973  else
7973    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7974  LIBS="-llockfile  $LIBS"  LIBS="-llockfile  $LIBS"
7975  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7976  #line 7973 "configure"  #line 7976 "configure"
7977  #include "confdefs.h"  #include "confdefs.h"
7978    
7979  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 7989  maillock (); Line 7992  maillock ();
7992  }  }
7993  _ACEOF  _ACEOF
7994  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7995  if { (eval echo "$as_me:7992: \"$ac_link\"") >&5  if { (eval echo "$as_me:7995: \"$ac_link\"") >&5
7996    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7997    ac_status=$?    ac_status=$?
7998    echo "$as_me:7995: \$? = $ac_status" >&5    echo "$as_me:7998: \$? = $ac_status" >&5
7999    (exit $ac_status); } &&    (exit $ac_status); } &&
8000           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8001    { (eval echo "$as_me:7998: \"$ac_try\"") >&5    { (eval echo "$as_me:8001: \"$ac_try\"") >&5
8002    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8003    ac_status=$?    ac_status=$?
8004    echo "$as_me:8001: \$? = $ac_status" >&5    echo "$as_me:8004: \$? = $ac_status" >&5
8005    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8006    ac_cv_lib_lockfile_maillock=yes    ac_cv_lib_lockfile_maillock=yes
8007  else  else
# Line 8009  fi Line 8012  fi
8012  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8013  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
8014  fi  fi
8015  echo "$as_me:8012: result: $ac_cv_lib_lockfile_maillock" >&5  echo "$as_me:8015: result: $ac_cv_lib_lockfile_maillock" >&5
8016  echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6  echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6
8017  if test $ac_cv_lib_lockfile_maillock = yes; then  if test $ac_cv_lib_lockfile_maillock = yes; then
8018    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8026  fi Line 8029  fi
8029  if test "$ac_cv_lib_lockfile_maillock" = no; then  if test "$ac_cv_lib_lockfile_maillock" = no; then
8030        # 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.
8031  set dummy liblockfile.so; ac_word=$2  set dummy liblockfile.so; ac_word=$2
8032  echo "$as_me:8029: checking for $ac_word" >&5  echo "$as_me:8032: checking for $ac_word" >&5
8033  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8034  if test "${ac_cv_prog_liblockfile+set}" = set; then  if test "${ac_cv_prog_liblockfile+set}" = set; then
8035    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8041  for ac_dir in $ac_dummy; do Line 8044  for ac_dir in $ac_dummy; do
8044    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
8045    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
8046  ac_cv_prog_liblockfile="yes"  ac_cv_prog_liblockfile="yes"
8047  echo "$as_me:8044: found $ac_dir/$ac_word" >&5  echo "$as_me:8047: found $ac_dir/$ac_word" >&5
8048  break  break
8049  done  done
8050    
# Line 8050  fi Line 8053  fi
8053  fi  fi
8054  liblockfile=$ac_cv_prog_liblockfile  liblockfile=$ac_cv_prog_liblockfile
8055  if test -n "$liblockfile"; then  if test -n "$liblockfile"; then
8056    echo "$as_me:8053: result: $liblockfile" >&5    echo "$as_me:8056: result: $liblockfile" >&5
8057  echo "${ECHO_T}$liblockfile" >&6  echo "${ECHO_T}$liblockfile" >&6
8058  else  else
8059    echo "$as_me:8056: result: no" >&5    echo "$as_me:8059: result: no" >&5
8060  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
8061  fi  fi
8062    
8063    if test $ac_cv_prog_liblockfile = yes; then    if test $ac_cv_prog_liblockfile = yes; then
8064      { { echo "$as_me:8061: error: Shared liblockfile found but can't link against it.      { { echo "$as_me:8064: error: Shared liblockfile found but can't link against it.
8065  This probably means that movemail could lose mail.  This probably means that movemail could lose mail.
8066  There may be a \`development' package to install containing liblockfile." >&5  There may be a \`development' package to install containing liblockfile." >&5
8067  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 8076  fi Line 8079  fi
8079  for ac_func in touchlock  for ac_func in touchlock
8080  do  do
8081  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8082  echo "$as_me:8079: checking for $ac_func" >&5  echo "$as_me:8082: checking for $ac_func" >&5
8083  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8084  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
8085    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
8086  else  else
8087    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8088  #line 8085 "configure"  #line 8088 "configure"
8089  #include "confdefs.h"  #include "confdefs.h"
8090  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
8091      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 8113  f = $ac_func; Line 8116  f = $ac_func;
8116  }  }
8117  _ACEOF  _ACEOF
8118  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8119  if { (eval echo "$as_me:8116: \"$ac_link\"") >&5  if { (eval echo "$as_me:8119: \"$ac_link\"") >&5
8120    (eval $ac_link) 2>&5    (eval $ac_link) 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); } &&    (exit $ac_status); } &&
8124           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8125    { (eval echo "$as_me:8122: \"$ac_try\"") >&5    { (eval echo "$as_me:8125: \"$ac_try\"") >&5
8126    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8127    ac_status=$?    ac_status=$?
8128    echo "$as_me:8125: \$? = $ac_status" >&5    echo "$as_me:8128: \$? = $ac_status" >&5
8129    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8130    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
8131  else  else
# Line 8132  eval "$as_ac_var=no" Line 8135  eval "$as_ac_var=no"
8135  fi  fi
8136  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8137  fi  fi
8138  echo "$as_me:8135: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:8138: result: `eval echo '${'$as_ac_var'}'`" >&5
8139  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8140  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
8141    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8145  done Line 8148  done
8148  for ac_header in maillock.h  for ac_header in maillock.h
8149  do  do
8150  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8151  echo "$as_me:8148: checking for $ac_header" >&5  echo "$as_me:8151: checking for $ac_header" >&5
8152  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8153  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
8154    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
8155  else  else
8156    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8157  #line 8154 "configure"  #line 8157 "configure"
8158  #include "confdefs.h"  #include "confdefs.h"
8159  #include <$ac_header>  #include <$ac_header>
8160  _ACEOF  _ACEOF
8161  if { (eval echo "$as_me:8158: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:8161: \"$ac_cpp conftest.$ac_ext\"") >&5
8162    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8163    ac_status=$?    ac_status=$?
8164    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
8165    rm -f conftest.er1    rm -f conftest.er1
8166    cat conftest.err >&5    cat conftest.err >&5
8167    echo "$as_me:8164: \$? = $ac_status" >&5    echo "$as_me:8167: \$? = $ac_status" >&5
8168    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
8169    if test -s conftest.err; then    if test -s conftest.err; then
8170      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 8180  else Line 8183  else
8183  fi  fi
8184  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
8185  fi  fi
8186  echo "$as_me:8183: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:8186: result: `eval echo '${'$as_ac_Header'}'`" >&5
8187  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8188  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
8189    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8199  __fpending mblen mbrlen strsignal setiti Line 8202  __fpending mblen mbrlen strsignal setiti
8202  gai_strerror mkstemp  gai_strerror mkstemp
8203  do  do
8204  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8205  echo "$as_me:8202: checking for $ac_func" >&5  echo "$as_me:8205: checking for $ac_func" >&5
8206  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8207  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
8208    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
8209  else  else
8210    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8211  #line 8208 "configure"  #line 8211 "configure"
8212  #include "confdefs.h"  #include "confdefs.h"
8213  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
8214      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 8236  f = $ac_func; Line 8239  f = $ac_func;
8239  }  }
8240  _ACEOF  _ACEOF
8241  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8242  if { (eval echo "$as_me:8239: \"$ac_link\"") >&5  if { (eval echo "$as_me:8242: \"$ac_link\"") >&5
8243    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8244    ac_status=$?    ac_status=$?
8245    echo "$as_me:8242: \$? = $ac_status" >&5    echo "$as_me:8245: \$? = $ac_status" >&5
8246    (exit $ac_status); } &&    (exit $ac_status); } &&
8247           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8248    { (eval echo "$as_me:8245: \"$ac_try\"") >&5    { (eval echo "$as_me:8248: \"$ac_try\"") >&5
8249    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8250    ac_status=$?    ac_status=$?
8251    echo "$as_me:8248: \$? = $ac_status" >&5    echo "$as_me:8251: \$? = $ac_status" >&5
8252    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8253    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
8254  else  else
# Line 8255  eval "$as_ac_var=no" Line 8258  eval "$as_ac_var=no"
8258  fi  fi
8259  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8260  fi  fi
8261  echo "$as_me:8258: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:8261: result: `eval echo '${'$as_ac_var'}'`" >&5
8262  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8263  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
8264    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8268  done Line 8271  done
8271  for ac_header in sys/time.h unistd.h  for ac_header in sys/time.h unistd.h
8272  do  do
8273  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8274  echo "$as_me:8271: checking for $ac_header" >&5  echo "$as_me:8274: checking for $ac_header" >&5
8275  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8276  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
8277    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
8278  else  else
8279    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8280  #line 8277 "configure"  #line 8280 "configure"
8281  #include "confdefs.h"  #include "confdefs.h"
8282  #include <$ac_header>  #include <$ac_header>
8283  _ACEOF  _ACEOF
8284  if { (eval echo "$as_me:8281: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:8284: \"$ac_cpp conftest.$ac_ext\"") >&5
8285    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8286    ac_status=$?    ac_status=$?
8287    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
8288    rm -f conftest.er1    rm -f conftest.er1
8289    cat conftest.err >&5    cat conftest.err >&5
8290    echo "$as_me:8287: \$? = $ac_status" >&5    echo "$as_me:8290: \$? = $ac_status" >&5
8291    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
8292    if test -s conftest.err; then    if test -s conftest.err; then
8293      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 8303  else Line 8306  else
8306  fi  fi
8307  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
8308  fi  fi
8309  echo "$as_me:8306: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:8309: result: `eval echo '${'$as_ac_Header'}'`" >&5
8310  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8311  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
8312    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8316  done Line 8319  done
8319  for ac_func in alarm  for ac_func in alarm
8320  do  do
8321  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8322  echo "$as_me:8319: checking for $ac_func" >&5  echo "$as_me:8322: checking for $ac_func" >&5
8323  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8324  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
8325    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
8326  else  else
8327    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8328  #line 8325 "configure"  #line 8328 "configure"
8329  #include "confdefs.h"  #include "confdefs.h"
8330  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
8331      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 8353  f = $ac_func; Line 8356  f = $ac_func;
8356  }  }
8357  _ACEOF  _ACEOF
8358  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8359  if { (eval echo "$as_me:8356: \"$ac_link\"") >&5  if { (eval echo "$as_me:8359: \"$ac_link\"") >&5
8360    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8361    ac_status=$?    ac_status=$?
8362    echo "$as_me:8359: \$? = $ac_status" >&5    echo "$as_me:8362: \$? = $ac_status" >&5
8363    (exit $ac_status); } &&    (exit $ac_status); } &&
8364           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8365    { (eval echo "$as_me:8362: \"$ac_try\"") >&5    { (eval echo "$as_me:8365: \"$ac_try\"") >&5
8366    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8367    ac_status=$?    ac_status=$?
8368    echo "$as_me:8365: \$? = $ac_status" >&5    echo "$as_me:8368: \$? = $ac_status" >&5
8369    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8370    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
8371  else  else
# Line 8372  eval "$as_ac_var=no" Line 8375  eval "$as_ac_var=no"
8375  fi  fi
8376  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8377  fi  fi
8378  echo "$as_me:8375: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:8378: result: `eval echo '${'$as_ac_var'}'`" >&5
8379  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8380  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
8381    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8382  EOF Line 8385  EOF
8385  fi  fi
8386  done  done
8387    
8388  echo "$as_me:8385: checking for working mktime" >&5  echo "$as_me:8388: checking for working mktime" >&5
8389  echo $ECHO_N "checking for working mktime... $ECHO_C" >&6  echo $ECHO_N "checking for working mktime... $ECHO_C" >&6
8390  if test "${ac_cv_func_working_mktime+set}" = set; then  if test "${ac_cv_func_working_mktime+set}" = set; then
8391    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8391  else Line 8394  else
8394    ac_cv_func_working_mktime=no    ac_cv_func_working_mktime=no
8395  else  else
8396    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8397  #line 8394 "configure"  #line 8397 "configure"
8398  #include "confdefs.h"  #include "confdefs.h"
8399  /* Test program from Paul Eggert and Tony Leneis.  */  /* Test program from Paul Eggert and Tony Leneis.  */
8400  #if TIME_WITH_SYS_TIME  #if TIME_WITH_SYS_TIME
# Line 8540  main () Line 8543  main ()
8543  }  }
8544  _ACEOF  _ACEOF
8545  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
8546  if { (eval echo "$as_me:8543: \"$ac_link\"") >&5  if { (eval echo "$as_me:8546: \"$ac_link\"") >&5
8547    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8548    ac_status=$?    ac_status=$?
8549    echo "$as_me:8546: \$? = $ac_status" >&5    echo "$as_me:8549: \$? = $ac_status" >&5
8550    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8551    { (eval echo "$as_me:8548: \"$ac_try\"") >&5    { (eval echo "$as_me:8551: \"$ac_try\"") >&5
8552    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8553    ac_status=$?    ac_status=$?
8554    echo "$as_me:8551: \$? = $ac_status" >&5    echo "$as_me:8554: \$? = $ac_status" >&5
8555    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8556    ac_cv_func_working_mktime=yes    ac_cv_func_working_mktime=yes
8557  else  else
# Line 8560  fi Line 8563  fi
8563  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
8564  fi  fi
8565  fi  fi
8566  echo "$as_me:8563: result: $ac_cv_func_working_mktime" >&5  echo "$as_me:8566: result: $ac_cv_func_working_mktime" >&5
8567  echo "${ECHO_T}$ac_cv_func_working_mktime" >&6  echo "${ECHO_T}$ac_cv_func_working_mktime" >&6
8568  if test $ac_cv_func_working_mktime = no; then  if test $ac_cv_func_working_mktime = no; then
8569    LIBOBJS="$LIBOBJS mktime.$ac_objext"    LIBOBJS="$LIBOBJS mktime.$ac_objext"
# Line 8578  ac_have_func=no # yes means we've found Line 8581  ac_have_func=no # yes means we've found
8581  ac_save_LIBS=$LIBS  ac_save_LIBS=$LIBS
8582    
8583  # Check for getloadavg, but be sure not to touch the cache variable.  # Check for getloadavg, but be sure not to touch the cache variable.
8584  (echo "$as_me:8581: checking for getloadavg" >&5  (echo "$as_me:8584: checking for getloadavg" >&5
8585  echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6  echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6
8586  if test "${ac_cv_func_getloadavg+set}" = set; then  if test "${ac_cv_func_getloadavg+set}" = set; then
8587    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
8588  else  else
8589    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8590  #line 8587 "configure"  #line 8590 "configure"
8591  #include "confdefs.h"  #include "confdefs.h"
8592  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
8593      which can conflict with char getloadavg (); below.  */      which can conflict with char getloadavg (); below.  */
# Line 8615  f = getloadavg; Line 8618  f = getloadavg;
8618  }  }
8619  _ACEOF  _ACEOF
8620  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8621  if { (eval echo "$as_me:8618: \"$ac_link\"") >&5  if { (eval echo "$as_me:8621: \"$ac_link\"") >&5
8622    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8623    ac_status=$?    ac_status=$?
8624    echo "$as_me:8621: \$? = $ac_status" >&5    echo "$as_me:8624: \$? = $ac_status" >&5
8625    (exit $ac_status); } &&    (exit $ac_status); } &&
8626           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8627    { (eval echo "$as_me:8624: \"$ac_try\"") >&5    { (eval echo "$as_me:8627: \"$ac_try\"") >&5
8628    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8629    ac_status=$?    ac_status=$?
8630    echo "$as_me:8627: \$? = $ac_status" >&5    echo "$as_me:8630: \$? = $ac_status" >&5
8631    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8632    ac_cv_func_getloadavg=yes    ac_cv_func_getloadavg=yes
8633  else  else
# Line 8634  ac_cv_func_getloadavg=no Line 8637  ac_cv_func_getloadavg=no
8637  fi  fi
8638  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8639  fi  fi
8640  echo "$as_me:8637: result: $ac_cv_func_getloadavg" >&5  echo "$as_me:8640: result: $ac_cv_func_getloadavg" >&5
8641  echo "${ECHO_T}$ac_cv_func_getloadavg" >&6  echo "${ECHO_T}$ac_cv_func_getloadavg" >&6
8642  if test $ac_cv_func_getloadavg = yes; then  if test $ac_cv_func_getloadavg = yes; then
8643    exit 0    exit 0
# Line 8648  fi Line 8651  fi
8651  for ac_func in pstat_getdynamic  for ac_func in pstat_getdynamic
8652  do  do
8653  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8654  echo "$as_me:8651: checking for $ac_func" >&5  echo "$as_me:8654: checking for $ac_func" >&5
8655  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8656  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
8657    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
8658  else  else
8659    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8660  #line 8657 "configure"  #line 8660 "configure"
8661  #include "confdefs.h"  #include "confdefs.h"
8662  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
8663      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 8685  f = $ac_func; Line 8688  f = $ac_func;
8688  }  }
8689  _ACEOF  _ACEOF
8690  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8691  if { (eval echo "$as_me:8688: \"$ac_link\"") >&5  if { (eval echo "$as_me:8691: \"$ac_link\"") >&5
8692    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8693    ac_status=$?    ac_status=$?
8694    echo "$as_me:8691: \$? = $ac_status" >&5    echo "$as_me:8694: \$? = $ac_status" >&5
8695    (exit $ac_status); } &&    (exit $ac_status); } &&
8696           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8697    { (eval echo "$as_me:8694: \"$ac_try\"") >&5    { (eval echo "$as_me:8697: \"$ac_try\"") >&5
8698    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8699    ac_status=$?    ac_status=$?
8700    echo "$as_me:8697: \$? = $ac_status" >&5    echo "$as_me:8700: \$? = $ac_status" >&5
8701    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8702    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
8703  else  else
# Line 8704  eval "$as_ac_var=no" Line 8707  eval "$as_ac_var=no"
8707  fi  fi
8708  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8709  fi  fi
8710  echo "$as_me:8707: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:8710: result: `eval echo '${'$as_ac_var'}'`" >&5
8711  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8712  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
8713    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8716  done Line 8719  done
8719    
8720  # Solaris has libkstat which does not require root.  # Solaris has libkstat which does not require root.
8721    
8722  echo "$as_me:8719: checking for kstat_open in -lkstat" >&5  echo "$as_me:8722: checking for kstat_open in -lkstat" >&5
8723  echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6  echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6
8724  if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then  if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then
8725    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8724  else Line 8727  else
8727    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
8728  LIBS="-lkstat  $LIBS"  LIBS="-lkstat  $LIBS"
8729  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
8730  #line 8727 "configure"  #line 8730 "configure"
8731  #include "confdefs.h"  #include "confdefs.h"
8732    
8733  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 8743  kstat_open (); Line 8746  kstat_open ();
8746  }  }
8747  _ACEOF  _ACEOF
8748  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8749  if { (eval echo "$as_me:8746: \"$ac_link\"") >&5  if { (eval echo "$as_me:8749: \"$ac_link\"") >&5
8750    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8751    ac_status=$?    ac_status=$?
8752    echo "$as_me:8749: \$? = $ac_status" >&5    echo "$as_me:8752: \$? = $ac_status" >&5
8753    (exit $ac_status); } &&    (exit $ac_status); } &&
8754           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8755    { (eval echo "$as_me:8752: \"$ac_try\"") >&5    { (eval echo "$as_me:8755: \"$ac_try\"") >&5
8756    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8757    ac_status=$?    ac_status=$?
8758    echo "$as_me:8755: \$? = $ac_status" >&5    echo "$as_me:8758: \$? = $ac_status" >&5
8759    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8760    ac_cv_lib_kstat_kstat_open=yes    ac_cv_lib_kstat_kstat_open=yes
8761  else  else
# Line 8763  fi Line 8766  fi
8766  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8767  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
8768  fi  fi
8769  echo "$as_me:8766: result: $ac_cv_lib_kstat_kstat_open" >&5  echo "$as_me:8769: result: $ac_cv_lib_kstat_kstat_open" >&5
8770  echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6  echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6
8771  if test $ac_cv_lib_kstat_kstat_open = yes; then  if test $ac_cv_lib_kstat_kstat_open = yes; then
8772    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8781  test $ac_cv_lib_kstat_kstat_open = yes & Line 8784  test $ac_cv_lib_kstat_kstat_open = yes &
8784  # to get the right answer into the cache.  # to get the right answer into the cache.
8785  # 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.
8786  if test $ac_have_func = no; then  if test $ac_have_func = no; then
8787    echo "$as_me:8784: checking for elf_begin in -lelf" >&5    echo "$as_me:8787: checking for elf_begin in -lelf" >&5
8788  echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6  echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
8789  if test "${ac_cv_lib_elf_elf_begin+set}" = set; then  if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
8790    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8789  else Line 8792  else
8792    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
8793  LIBS="-lelf  $LIBS"  LIBS="-lelf  $LIBS"
8794  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
8795  #line 8792 "configure"  #line 8795 "configure"
8796  #include "confdefs.h"  #include "confdefs.h"
8797    
8798  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 8808  elf_begin (); Line 8811  elf_begin ();
8811  }  }
8812  _ACEOF  _ACEOF
8813  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8814  if { (eval echo "$as_me:8811: \"$ac_link\"") >&5  if { (eval echo "$as_me:8814: \"$ac_link\"") >&5
8815    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8816    ac_status=$?    ac_status=$?
8817    echo "$as_me:8814: \$? = $ac_status" >&5    echo "$as_me:8817: \$? = $ac_status" >&5
8818    (exit $ac_status); } &&    (exit $ac_status); } &&
8819           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8820    { (eval echo "$as_me:8817: \"$ac_try\"") >&5    { (eval echo "$as_me:8820: \"$ac_try\"") >&5
8821    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8822    ac_status=$?    ac_status=$?
8823    echo "$as_me:8820: \$? = $ac_status" >&5    echo "$as_me:8823: \$? = $ac_status" >&5
8824    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8825    ac_cv_lib_elf_elf_begin=yes    ac_cv_lib_elf_elf_begin=yes
8826  else  else
# Line 8828  fi Line 8831  fi
8831  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8832  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
8833  fi  fi
8834  echo "$as_me:8831: result: $ac_cv_lib_elf_elf_begin" >&5  echo "$as_me:8834: result: $ac_cv_lib_elf_elf_begin" >&5
8835  echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6  echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
8836  if test $ac_cv_lib_elf_elf_begin = yes; then  if test $ac_cv_lib_elf_elf_begin = yes; then
8837    LIBS="-lelf $LIBS"    LIBS="-lelf $LIBS"
# Line 8836  fi Line 8839  fi
8839    
8840  fi  fi
8841  if test $ac_have_func = no; then  if test $ac_have_func = no; then
8842    echo "$as_me:8839: checking for kvm_open in -lkvm" >&5    echo "$as_me:8842: checking for kvm_open in -lkvm" >&5
8843  echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6  echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6
8844  if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then  if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then
8845    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8844  else Line 8847  else
8847    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
8848  LIBS="-lkvm  $LIBS"  LIBS="-lkvm  $LIBS"
8849  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
8850  #line 8847 "configure"  #line 8850 "configure"
8851  #include "confdefs.h"  #include "confdefs.h"
8852    
8853  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 8863  kvm_open (); Line 8866  kvm_open ();
8866  }  }
8867  _ACEOF  _ACEOF
8868  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8869  if { (eval echo "$as_me:8866: \"$ac_link\"") >&5  if { (eval echo "$as_me:8869: \"$ac_link\"") >&5
8870    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8871    ac_status=$?    ac_status=$?
8872    echo "$as_me:8869: \$? = $ac_status" >&5    echo "$as_me:8872: \$? = $ac_status" >&5
8873    (exit $ac_status); } &&    (exit $ac_status); } &&
8874           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8875    { (eval echo "$as_me:8872: \"$ac_try\"") >&5    { (eval echo "$as_me:8875: \"$ac_try\"") >&5
8876    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8877    ac_status=$?    ac_status=$?
8878    echo "$as_me:8875: \$? = $ac_status" >&5    echo "$as_me:8878: \$? = $ac_status" >&5
8879    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8880    ac_cv_lib_kvm_kvm_open=yes    ac_cv_lib_kvm_kvm_open=yes
8881  else  else
# Line 8883  fi Line 8886  fi
8886  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8887  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
8888  fi  fi
8889  echo "$as_me:8886: result: $ac_cv_lib_kvm_kvm_open" >&5  echo "$as_me:8889: result: $ac_cv_lib_kvm_kvm_open" >&5
8890  echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6  echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6
8891  if test $ac_cv_lib_kvm_kvm_open = yes; then  if test $ac_cv_lib_kvm_kvm_open = yes; then
8892    LIBS="-lkvm $LIBS"    LIBS="-lkvm $LIBS"
8893  fi  fi
8894    
8895    # Check for the 4.4BSD definition of getloadavg.    # Check for the 4.4BSD definition of getloadavg.
8896    echo "$as_me:8893: checking for getloadavg in -lutil" >&5    echo "$as_me:8896: checking for getloadavg in -lutil" >&5
8897  echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6  echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6
8898  if test "${ac_cv_lib_util_getloadavg+set}" = set; then  if test "${ac_cv_lib_util_getloadavg+set}" = set; then
8899    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8898  else Line 8901  else
8901    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
8902  LIBS="-lutil  $LIBS"  LIBS="-lutil  $LIBS"
8903  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
8904  #line 8901 "configure"  #line 8904 "configure"
8905  #include "confdefs.h"  #include "confdefs.h"
8906    
8907  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 8917  getloadavg (); Line 8920  getloadavg ();
8920  }  }
8921  _ACEOF  _ACEOF
8922  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8923  if { (eval echo "$as_me:8920: \"$ac_link\"") >&5  if { (eval echo "$as_me:8923: \"$ac_link\"") >&5
8924    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8925    ac_status=$?    ac_status=$?
8926    echo "$as_me:8923: \$? = $ac_status" >&5    echo "$as_me:8926: \$? = $ac_status" >&5
8927    (exit $ac_status); } &&    (exit $ac_status); } &&
8928           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8929    { (eval echo "$as_me:8926: \"$ac_try\"") >&5    { (eval echo "$as_me:8929: \"$ac_try\"") >&5
8930    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8931    ac_status=$?    ac_status=$?
8932    echo "$as_me:8929: \$? = $ac_status" >&5    echo "$as_me:8932: \$? = $ac_status" >&5
8933    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8934    ac_cv_lib_util_getloadavg=yes    ac_cv_lib_util_getloadavg=yes
8935  else  else
# Line 8937  fi Line 8940  fi
8940  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8941  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
8942  fi  fi
8943  echo "$as_me:8940: result: $ac_cv_lib_util_getloadavg" >&5  echo "$as_me:8943: result: $ac_cv_lib_util_getloadavg" >&5
8944  echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6  echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6
8945  if test $ac_cv_lib_util_getloadavg = yes; then  if test $ac_cv_lib_util_getloadavg = yes; then
8946    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 8950  if test $ac_have_func = no; then Line 8953  if test $ac_have_func = no; then
8953    # 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.
8954    ac_getloadavg_LIBS=$LIBS    ac_getloadavg_LIBS=$LIBS
8955    LIBS="-L/usr/local/lib $LIBS"    LIBS="-L/usr/local/lib $LIBS"
8956    echo "$as_me:8953: checking for getloadavg in -lgetloadavg" >&5    echo "$as_me:8956: checking for getloadavg in -lgetloadavg" >&5
8957  echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6  echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6
8958  if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then  if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then
8959    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8958  else Line 8961  else
8961    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
8962  LIBS="-lgetloadavg  $LIBS"  LIBS="-lgetloadavg  $LIBS"
8963  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
8964  #line 8961 "configure"  #line 8964 "configure"
8965  #include "confdefs.h"  #include "confdefs.h"
8966    
8967  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 8977  getloadavg (); Line 8980  getloadavg ();
8980  }  }
8981  _ACEOF  _ACEOF
8982  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8983  if { (eval echo "$as_me:8980: \"$ac_link\"") >&5  if { (eval echo "$as_me:8983: \"$ac_link\"") >&5
8984    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8985    ac_status=$?    ac_status=$?
8986    echo "$as_me:8983: \$? = $ac_status" >&5    echo "$as_me:8986: \$? = $ac_status" >&5
8987    (exit $ac_status); } &&    (exit $ac_status); } &&
8988           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8989    { (eval echo "$as_me:8986: \"$ac_try\"") >&5    { (eval echo "$as_me:8989: \"$ac_try\"") >&5
8990    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8991    ac_status=$?    ac_status=$?
8992    echo "$as_me:8989: \$? = $ac_status" >&5    echo "$as_me:8992: \$? = $ac_status" >&5
8993    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8994    ac_cv_lib_getloadavg_getloadavg=yes    ac_cv_lib_getloadavg_getloadavg=yes
8995  else  else
# Line 8997  fi Line 9000  fi
9000  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9001  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
9002  fi  fi
9003  echo "$as_me:9000: result: $ac_cv_lib_getloadavg_getloadavg" >&5  echo "$as_me:9003: result: $ac_cv_lib_getloadavg_getloadavg" >&5
9004  echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6  echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6
9005  if test $ac_cv_lib_getloadavg_getloadavg = yes; then  if test $ac_cv_lib_getloadavg_getloadavg = yes; then
9006    LIBS="-lgetloadavg $LIBS"    LIBS="-lgetloadavg $LIBS"
# Line 9013  fi Line 9016  fi
9016  for ac_func in getloadavg  for ac_func in getloadavg
9017  do  do
9018  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9019  echo "$as_me:9016: checking for $ac_func" >&5  echo "$as_me:9019: checking for $ac_func" >&5
9020  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9021  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
9022    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9023  else  else
9024    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9025  #line 9022 "configure"  #line 9025 "configure"
9026  #include "confdefs.h"  #include "confdefs.h"
9027  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
9028      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 9050  f = $ac_func; Line 9053  f = $ac_func;
9053  }  }
9054  _ACEOF  _ACEOF
9055  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9056  if { (eval echo "$as_me:9053: \"$ac_link\"") >&5  if { (eval echo "$as_me:9056: \"$ac_link\"") >&5
9057    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9058    ac_status=$?    ac_status=$?
9059    echo "$as_me:9056: \$? = $ac_status" >&5    echo "$as_me:9059: \$? = $ac_status" >&5
9060    (exit $ac_status); } &&    (exit $ac_status); } &&
9061           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9062    { (eval echo "$as_me:9059: \"$ac_try\"") >&5    { (eval echo "$as_me:9062: \"$ac_try\"") >&5
9063    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9064    ac_status=$?    ac_status=$?
9065    echo "$as_me:9062: \$? = $ac_status" >&5    echo "$as_me:9065: \$? = $ac_status" >&5
9066    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9067    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
9068  else  else
# Line 9069  eval "$as_ac_var=no" Line 9072  eval "$as_ac_var=no"
9072  fi  fi
9073  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9074  fi  fi
9075  echo "$as_me:9072: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:9075: result: `eval echo '${'$as_ac_var'}'`" >&5
9076  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9077  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
9078    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 9085  EOF Line 9088  EOF
9088    
9089  # Figure out what our getloadavg.c needs.  # Figure out what our getloadavg.c needs.
9090  ac_have_func=no  ac_have_func=no
9091  echo "$as_me:9088: checking for sys/dg_sys_info.h" >&5  echo "$as_me:9091: checking for sys/dg_sys_info.h" >&5
9092  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
9093  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
9094    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9095  else  else
9096    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9097  #line 9094 "configure"  #line 9097 "configure"
9098  #include "confdefs.h"  #include "confdefs.h"
9099  #include <sys/dg_sys_info.h>  #include <sys/dg_sys_info.h>
9100  _ACEOF  _ACEOF
9101  if { (eval echo "$as_me:9098: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:9101: \"$ac_cpp conftest.$ac_ext\"") >&5
9102    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9103    ac_status=$?    ac_status=$?
9104    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
9105    rm -f conftest.er1    rm -f conftest.er1
9106    cat conftest.err >&5    cat conftest.err >&5
9107    echo "$as_me:9104: \$? = $ac_status" >&5    echo "$as_me:9107: \$? = $ac_status" >&5
9108    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
9109    if test -s conftest.err; then    if test -s conftest.err; then
9110      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 9120  else Line 9123  else
9123  fi  fi
9124  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
9125  fi  fi
9126  echo "$as_me:9123: result: $ac_cv_header_sys_dg_sys_info_h" >&5  echo "$as_me:9126: result: $ac_cv_header_sys_dg_sys_info_h" >&5
9127  echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6  echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
9128  if test $ac_cv_header_sys_dg_sys_info_h = yes; then  if test $ac_cv_header_sys_dg_sys_info_h = yes; then
9129    ac_have_func=yes    ac_have_func=yes
# Line 9129  cat >>confdefs.h <<\EOF Line 9132  cat >>confdefs.h <<\EOF
9132  #define DGUX 1  #define DGUX 1
9133  EOF  EOF
9134    
9135  echo "$as_me:9132: checking for dg_sys_info in -ldgc" >&5  echo "$as_me:9135: checking for dg_sys_info in -ldgc" >&5
9136  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
9137  if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then  if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then
9138    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 9137  else Line 9140  else
9140    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
9141  LIBS="-ldgc  $LIBS"  LIBS="-ldgc  $LIBS"
9142  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
9143  #line 9140 "configure"  #line 9143 "configure"
9144  #include "confdefs.h"  #include "confdefs.h"
9145    
9146  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 9156  dg_sys_info (); Line 9159  dg_sys_info ();
9159  }  }
9160  _ACEOF  _ACEOF
9161  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9162  if { (eval echo "$as_me:9159: \"$ac_link\"") >&5  if { (eval echo "$as_me:9162: \"$ac_link\"") >&5
9163    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9164    ac_status=$?    ac_status=$?
9165    echo "$as_me:9162: \$? = $ac_status" >&5    echo "$as_me:9165: \$? = $ac_status" >&5
9166    (exit $ac_status); } &&    (exit $ac_status); } &&
9167           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9168    { (eval echo "$as_me:9165: \"$ac_try\"") >&5    { (eval echo "$as_me:9168: \"$ac_try\"") >&5
9169    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9170    ac_status=$?    ac_status=$?
9171    echo "$as_me:9168: \$? = $ac_status" >&5    echo "$as_me:9171: \$? = $ac_status" >&5
9172    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9173    ac_cv_lib_dgc_dg_sys_info=yes    ac_cv_lib_dgc_dg_sys_info=yes
9174  else  else
# Line 9176  fi Line 9179  fi
9179  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9180  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
9181  fi  fi
9182  echo "$as_me:9179: result: $ac_cv_lib_dgc_dg_sys_info" >&5  echo "$as_me:9182: result: $ac_cv_lib_dgc_dg_sys_info" >&5
9183  echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6  echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6
9184  if test $ac_cv_lib_dgc_dg_sys_info = yes; then  if test $ac_cv_lib_dgc_dg_sys_info = yes; then
9185    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 9189  fi Line 9192  fi
9192    
9193  fi  fi
9194    
9195  echo "$as_me:9192: checking for locale.h" >&5  echo "$as_me:9195: checking for locale.h" >&5
9196  echo $ECHO_N "checking for locale.h... $ECHO_C" >&6  echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
9197  if test "${ac_cv_header_locale_h+set}" = set; then  if test "${ac_cv_header_locale_h+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  #include <locale.h>  #include <locale.h>
9204  _ACEOF  _ACEOF
9205  if { (eval echo "$as_me:9202: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:9205: \"$ac_cpp conftest.$ac_ext\"") >&5
9206    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9207    ac_status=$?    ac_status=$?
9208    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
9209    rm -f conftest.er1    rm -f conftest.er1
9210    cat conftest.err >&5    cat conftest.err >&5
9211    echo "$as_me:9208: \$? = $ac_status" >&5    echo "$as_me:9211: \$? = $ac_status" >&5
9212    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
9213    if test -s conftest.err; then    if test -s conftest.err; then
9214      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 9224  else Line 9227  else
9227  fi  fi
9228  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
9229  fi  fi
9230  echo "$as_me:9227: result: $ac_cv_header_locale_h" >&5  echo "$as_me:9230: result: $ac_cv_header_locale_h" >&5
9231  echo "${ECHO_T}$ac_cv_header_locale_h" >&6  echo "${ECHO_T}$ac_cv_header_locale_h" >&6
9232    
9233  for ac_func in setlocale  for ac_func in setlocale
9234  do  do
9235  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9236  echo "$as_me:9233: checking for $ac_func" >&5  echo "$as_me:9236: checking for $ac_func" >&5
9237  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9238  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
9239    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9240  else  else
9241    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9242  #line 9239 "configure"  #line 9242 "configure"
9243  #include "confdefs.h"  #include "confdefs.h"
9244  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
9245      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 9267  f = $ac_func; Line 9270  f = $ac_func;
9270  }  }
9271  _ACEOF  _ACEOF
9272  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9273  if { (eval echo "$as_me:9270: \"$ac_link\"") >&5  if { (eval echo "$as_me:9273: \"$ac_link\"") >&5
9274    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9275    ac_status=$?    ac_status=$?
9276    echo "$as_me:9273: \$? = $ac_status" >&5    echo "$as_me:9276: \$? = $ac_status" >&5
9277    (exit $ac_status); } &&    (exit $ac_status); } &&
9278           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9279    { (eval echo "$as_me:9276: \"$ac_try\"") >&5    { (eval echo "$as_me:9279: \"$ac_try\"") >&5
9280    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9281    ac_status=$?    ac_status=$?
9282    echo "$as_me:9279: \$? = $ac_status" >&5    echo "$as_me:9282: \$? = $ac_status" >&5
9283    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9284    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
9285  else  else
# Line 9286  eval "$as_ac_var=no" Line 9289  eval "$as_ac_var=no"
9289  fi  fi
9290  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9291  fi  fi
9292  echo "$as_me:9289: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:9292: result: `eval echo '${'$as_ac_var'}'`" >&5
9293  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9294  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
9295    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 9309  EOF Line 9312  EOF
9312  fi  fi
9313    
9314  if test $ac_have_func = no; then  if test $ac_have_func = no; then
9315    echo "$as_me:9312: checking for inq_stats/cpustats.h" >&5    echo "$as_me:9315: checking for inq_stats/cpustats.h" >&5
9316  echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6  echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
9317  if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then  if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
9318    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9319  else  else
9320    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9321  #line 9318 "configure"  #line 9321 "configure"
9322  #include "confdefs.h"  #include "confdefs.h"
9323  #include <inq_stats/cpustats.h>  #include <inq_stats/cpustats.h>
9324  _ACEOF  _ACEOF
9325  if { (eval echo "$as_me:9322: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:9325: \"$ac_cpp conftest.$ac_ext\"") >&5
9326    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9327    ac_status=$?    ac_status=$?
9328    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
9329    rm -f conftest.er1    rm -f conftest.er1
9330    cat conftest.err >&5    cat conftest.err >&5
9331    echo "$as_me:9328: \$? = $ac_status" >&5    echo "$as_me:9331: \$? = $ac_status" >&5
9332    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
9333    if test -s conftest.err; then    if test -s conftest.err; then
9334      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 9344  else Line 9347  else
9347  fi  fi
9348  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
9349  fi  fi
9350  echo "$as_me:9347: result: $ac_cv_header_inq_stats_cpustats_h" >&5  echo "$as_me:9350: result: $ac_cv_header_inq_stats_cpustats_h" >&5
9351  echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6  echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
9352  if test $ac_cv_header_inq_stats_cpustats_h = yes; then  if test $ac_cv_header_inq_stats_cpustats_h = yes; then
9353    ac_have_func=yes    ac_have_func=yes
# Line 9362  fi Line 9365  fi
9365  fi  fi
9366    
9367  if test $ac_have_func = no; then  if test $ac_have_func = no; then
9368    echo "$as_me:9365: checking for sys/cpustats.h" >&5    echo "$as_me:9368: checking for sys/cpustats.h" >&5
9369  echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6  echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
9370  if test "${ac_cv_header_sys_cpustats_h+set}" = set; then  if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
9371    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9372  else  else
9373    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9374  #line 9371 "configure"  #line 9374 "configure"
9375  #include "confdefs.h"  #include "confdefs.h"
9376  #include <sys/cpustats.h>  #include <sys/cpustats.h>
9377  _ACEOF  _ACEOF
9378  if { (eval echo "$as_me:9375: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:9378: \"$ac_cpp conftest.$ac_ext\"") >&5
9379    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9380    ac_status=$?    ac_status=$?
9381    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
9382    rm -f conftest.er1    rm -f conftest.er1
9383    cat conftest.err >&5    cat conftest.err >&5
9384    echo "$as_me:9381: \$? = $ac_status" >&5    echo "$as_me:9384: \$? = $ac_status" >&5
9385    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
9386    if test -s conftest.err; then    if test -s conftest.err; then
9387      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 9397  else Line 9400  else
9400  fi  fi
9401  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
9402  fi  fi
9403  echo "$as_me:9400: result: $ac_cv_header_sys_cpustats_h" >&5  echo "$as_me:9403: result: $ac_cv_header_sys_cpustats_h" >&5
9404  echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6  echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
9405  if test $ac_cv_header_sys_cpustats_h = yes; then  if test $ac_cv_header_sys_cpustats_h = yes; then
9406    ac_have_func=yes; cat >>confdefs.h <<\EOF    ac_have_func=yes; cat >>confdefs.h <<\EOF
# Line 9413  if test $ac_have_func = no; then Line 9416  if test $ac_have_func = no; then
9416  for ac_header in mach/mach.h  for ac_header in mach/mach.h
9417  do  do
9418  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9419  echo "$as_me:9416: checking for $ac_header" >&5  echo "$as_me:9419: checking for $ac_header" >&5
9420  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9421  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
9422    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9423  else  else
9424    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9425  #line 9422 "configure"  #line 9425 "configure"
9426  #include "confdefs.h"  #include "confdefs.h"
9427  #include <$ac_header>  #include <$ac_header>
9428  _ACEOF  _ACEOF
9429  if { (eval echo "$as_me:9426: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:9429: \"$ac_cpp conftest.$ac_ext\"") >&5
9430    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9431    ac_status=$?    ac_status=$?
9432    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
9433    rm -f conftest.er1    rm -f conftest.er1
9434    cat conftest.err >&5    cat conftest.err >&5
9435    echo "$as_me:9432: \$? = $ac_status" >&5    echo "$as_me:9435: \$? = $ac_status" >&5
9436    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
9437    if test -s conftest.err; then    if test -s conftest.err; then
9438      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 9448  else Line 9451  else
9451  fi  fi
9452  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
9453  fi  fi
9454  echo "$as_me:9451: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:9454: result: `eval echo '${'$as_ac_Header'}'`" >&5
9455  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9456  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
9457    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 9463  fi Line 9466  fi
9466  for ac_header in nlist.h  for ac_header in nlist.h
9467  do  do
9468  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9469  echo "$as_me:9466: checking for $ac_header" >&5  echo "$as_me:9469: checking for $ac_header" >&5
9470  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9471  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
9472    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9473  else  else
9474    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9475  #line 9472 "configure"  #line 9475 "configure"
9476  #include "confdefs.h"  #include "confdefs.h"
9477  #include <$ac_header>  #include <$ac_header>
9478  _ACEOF  _ACEOF
9479  if { (eval echo "$as_me:9476: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:9479: \"$ac_cpp conftest.$ac_ext\"") >&5
9480    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9481    ac_status=$?    ac_status=$?
9482    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
9483    rm -f conftest.er1    rm -f conftest.er1
9484    cat conftest.err >&5    cat conftest.err >&5
9485    echo "$as_me:9482: \$? = $ac_status" >&5    echo "$as_me:9485: \$? = $ac_status" >&5
9486    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
9487    if test -s conftest.err; then    if test -s conftest.err; then
9488      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 9498  else Line 9501  else
9501  fi  fi
9502  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
9503  fi  fi
9504  echo "$as_me:9501: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:9504: result: `eval echo '${'$as_ac_Header'}'`" >&5
9505  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9506  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
9507    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
9508  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9509  EOF  EOF
9510   echo "$as_me:9507: checking for struct nlist.n_un.n_name" >&5   echo "$as_me:9510: checking for struct nlist.n_un.n_name" >&5
9511  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
9512  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
9513    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9514  else  else
9515    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9516  #line 9513 "configure"  #line 9516 "configure"
9517  #include "confdefs.h"  #include "confdefs.h"
9518  #include <nlist.h>  #include <nlist.h>
9519    
# Line 9525  return 0; Line 9528  return 0;
9528  }  }
9529  _ACEOF  _ACEOF
9530  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
9531  if { (eval echo "$as_me:9528: \"$ac_compile\"") >&5  if { (eval echo "$as_me:9531: \"$ac_compile\"") >&5
9532    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
9533    ac_status=$?    ac_status=$?
9534    echo "$as_me:9531: \$? = $ac_status" >&5    echo "$as_me:9534: \$? = $ac_status" >&5
9535    (exit $ac_status); } &&    (exit $ac_status); } &&
9536           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
9537    { (eval echo "$as_me:9534: \"$ac_try\"") >&5    { (eval echo "$as_me:9537: \"$ac_try\"") >&5
9538    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9539    ac_status=$?    ac_status=$?
9540    echo "$as_me:9537: \$? = $ac_status" >&5    echo "$as_me:9540: \$? = $ac_status" >&5
9541    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9542    ac_cv_member_struct_nlist_n_un_n_name=yes    ac_cv_member_struct_nlist_n_un_n_name=yes
9543  else  else
# Line 9544  ac_cv_member_struct_nlist_n_un_n_name=no Line 9547  ac_cv_member_struct_nlist_n_un_n_name=no
9547  fi  fi
9548  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
9549  fi  fi
9550  echo "$as_me:9547: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5  echo "$as_me:9550: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5
9551  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
9552  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
9553    
# Line 9565  fi Line 9568  fi
9568  done  done
9569    
9570  # Some definitions of getloadavg require that the program be installed setgid.  # Some definitions of getloadavg require that the program be installed setgid.
9571  echo "$as_me:9568: checking whether getloadavg requires setgid" >&5  echo "$as_me:9571: checking whether getloadavg requires setgid" >&5
9572  echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6  echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6
9573  if test "${ac_cv_func_getloadavg_setgid+set}" = set; then  if test "${ac_cv_func_getloadavg_setgid+set}" = set; then
9574    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9575  else  else
9576    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9577  #line 9574 "configure"  #line 9577 "configure"
9578  #include "confdefs.h"  #include "confdefs.h"
9579  #include "$srcdir/getloadavg.c"  #include "$srcdir/getloadavg.c"
9580  #ifdef LDAV_PRIVILEGED  #ifdef LDAV_PRIVILEGED
# Line 9587  fi Line 9590  fi
9590  rm -f conftest*  rm -f conftest*
9591    
9592  fi  fi
9593  echo "$as_me:9590: result: $ac_cv_func_getloadavg_setgid" >&5  echo "$as_me:9593: result: $ac_cv_func_getloadavg_setgid" >&5
9594  echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6  echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6
9595  if test $ac_cv_func_getloadavg_setgid = yes; then  if test $ac_cv_func_getloadavg_setgid = yes; then
9596    NEED_SETGID=true    NEED_SETGID=true
# Line 9601  else Line 9604  else
9604  fi  fi
9605    
9606  if test $ac_cv_func_getloadavg_setgid = yes; then  if test $ac_cv_func_getloadavg_setgid = yes; then
9607    echo "$as_me:9604: checking group of /dev/kmem" >&5    echo "$as_me:9607: checking group of /dev/kmem" >&5
9608  echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6  echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6
9609  if test "${ac_cv_group_kmem+set}" = set; then  if test "${ac_cv_group_kmem+set}" = set; then
9610    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 9616  else Line 9619  else
9619                 / /s/.* //;p;'`                 / /s/.* //;p;'`
9620    
9621  fi  fi
9622  echo "$as_me:9619: result: $ac_cv_group_kmem" >&5  echo "$as_me:9622: result: $ac_cv_group_kmem" >&5
9623  echo "${ECHO_T}$ac_cv_group_kmem" >&6  echo "${ECHO_T}$ac_cv_group_kmem" >&6
9624    KMEM_GROUP=$ac_cv_group_kmem    KMEM_GROUP=$ac_cv_group_kmem
9625  fi  fi
# Line 9627  else Line 9630  else
9630  fi  fi
9631  LIBS=$ac_save_LIBS  LIBS=$ac_save_LIBS
9632    
9633  echo "$as_me:9630: checking for _LARGEFILE_SOURCE value needed for large files" >&5  echo "$as_me:9633: checking for _LARGEFILE_SOURCE value needed for large files" >&5
9634  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
9635  if test "${ac_cv_sys_largefile_source+set}" = set; then  if test "${ac_cv_sys_largefile_source+set}" = set; then
9636    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 9635  else Line 9638  else
9638    while :; do    while :; do
9639    ac_cv_sys_largefile_source=no    ac_cv_sys_largefile_source=no
9640    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9641  #line 9638 "configure"  #line 9641 "configure"
9642  #include "confdefs.h"  #include "confdefs.h"
9643  #include <stdio.h>  #include <stdio.h>
9644  int  int
# Line 9647  return !fseeko; Line 9650  return !fseeko;
9650  }  }
9651  _ACEOF  _ACEOF
9652  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
9653  if { (eval echo "$as_me:9650: \"$ac_compile\"") >&5  if { (eval echo "$as_me:9653: \"$ac_compile\"") >&5
9654    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
9655    ac_status=$?    ac_status=$?
9656    echo "$as_me:9653: \$? = $ac_status" >&5    echo "$as_me:9656: \$? = $ac_status" >&5
9657    (exit $ac_status); } &&    (exit $ac_status); } &&
9658           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
9659    { (eval echo "$as_me:9656: \"$ac_try\"") >&5    { (eval echo "$as_me:9659: \"$ac_try\"") >&5
9660    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9661    ac_status=$?    ac_status=$?
9662    echo "$as_me:9659: \$? = $ac_status" >&5    echo "$as_me:9662: \$? = $ac_status" >&5
9663    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9664    break    break
9665  else  else
# Line 9665  cat conftest.$ac_ext >&5 Line 9668  cat conftest.$ac_ext >&5
9668  fi  fi
9669  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
9670    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9671  #line 9668 "configure"  #line 9671 "configure"
9672  #include "confdefs.h"  #include "confdefs.h"
9673  #define _LARGEFILE_SOURCE 1  #define _LARGEFILE_SOURCE 1
9674  #include <stdio.h>  #include <stdio.h>
# Line 9678  return !fseeko; Line 9681  return !fseeko;
9681  }  }
9682  _ACEOF  _ACEOF
9683  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
9684  if { (eval echo "$as_me:9681: \"$ac_compile\"") >&5  if { (eval echo "$as_me:9684: \"$ac_compile\"") >&5
9685    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
9686    ac_status=$?    ac_status=$?
9687    echo "$as_me:9684: \$? = $ac_status" >&5    echo "$as_me:9687: \$? = $ac_status" >&5
9688    (exit $ac_status); } &&    (exit $ac_status); } &&
9689           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
9690    { (eval echo "$as_me:9687: \"$ac_try\"") >&5    { (eval echo "$as_me:9690: \"$ac_try\"") >&5
9691    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9692    ac_status=$?    ac_status=$?
9693    echo "$as_me:9690: \$? = $ac_status" >&5    echo "$as_me:9693: \$? = $ac_status" >&5
9694    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9695    ac_cv_sys_largefile_source=1; break    ac_cv_sys_largefile_source=1; break
9696  else  else
# Line 9698  rm -f conftest.$ac_objext conftest.$ac_e Line 9701  rm -f conftest.$ac_objext conftest.$ac_e
9701    break    break
9702  done  done
9703  fi  fi
9704  echo "$as_me:9701: result: $ac_cv_sys_largefile_source" >&5  echo "$as_me:9704: result: $ac_cv_sys_largefile_source" >&5
9705  echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6  echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
9706  if test "$ac_cv_sys_largefile_source" != no; then  if test "$ac_cv_sys_largefile_source" != no; then
9707    
# Line 9712  rm -f conftest* Line 9715  rm -f conftest*
9715  # 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
9716  # in glibc 2.1.3, but that breaks too many other things.  # in glibc 2.1.3, but that breaks too many other things.
9717  # 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.
9718  echo "$as_me:9715: checking for fseeko" >&5  echo "$as_me:9718: checking for fseeko" >&5
9719  echo $ECHO_N "checking for fseeko... $ECHO_C" >&6  echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
9720  if test "${ac_cv_func_fseeko+set}" = set; then  if test "${ac_cv_func_fseeko+set}" = set; then
9721    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9722  else  else
9723    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9724  #line 9721 "configure"  #line 9724 "configure"
9725  #include "confdefs.h"  #include "confdefs.h"
9726  #include <stdio.h>  #include <stdio.h>
9727  int  int
# Line 9730  return fseeko && fseeko (stdin, 0, 0); Line 9733  return fseeko && fseeko (stdin, 0, 0);
9733  }  }
9734  _ACEOF  _ACEOF
9735  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9736  if { (eval echo "$as_me:9733: \"$ac_link\"") >&5  if { (eval echo "$as_me:9736: \"$ac_link\"") >&5
9737    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9738    ac_status=$?    ac_status=$?
9739    echo "$as_me:9736: \$? = $ac_status" >&5    echo "$as_me:9739: \$? = $ac_status" >&5
9740    (exit $ac_status); } &&    (exit $ac_status); } &&
9741           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9742    { (eval echo "$as_me:9739: \"$ac_try\"") >&5    { (eval echo "$as_me:9742: \"$ac_try\"") >&5
9743    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9744    ac_status=$?    ac_status=$?
9745    echo "$as_me:9742: \$? = $ac_status" >&5    echo "$as_me:9745: \$? = $ac_status" >&5
9746    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9747    ac_cv_func_fseeko=yes    ac_cv_func_fseeko=yes
9748  else  else
# Line 9749  ac_cv_func_fseeko=no Line 9752  ac_cv_func_fseeko=no
9752  fi  fi
9753  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9754  fi  fi
9755  echo "$as_me:9752: result: $ac_cv_func_fseeko" >&5  echo "$as_me:9755: result: $ac_cv_func_fseeko" >&5
9756  echo "${ECHO_T}$ac_cv_func_fseeko" >&6  echo "${ECHO_T}$ac_cv_func_fseeko" >&6
9757  if test $ac_cv_func_fseeko = yes; then  if test $ac_cv_func_fseeko = yes; then
9758    
# Line 9764  fi Line 9767  fi
9767  for ac_func in grantpt  for ac_func in grantpt
9768  do  do
9769  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9770  echo "$as_me:9767: checking for $ac_func" >&5  echo "$as_me:9770: checking for $ac_func" >&5
9771  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9772  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
9773    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9774  else  else
9775    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9776  #line 9773 "configure"  #line 9776 "configure"
9777  #include "confdefs.h"  #include "confdefs.h"
9778  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
9779      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 9801  f = $ac_func; Line 9804  f = $ac_func;
9804  }  }
9805  _ACEOF  _ACEOF
9806  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9807  if { (eval echo "$as_me:9804: \"$ac_link\"") >&5  if { (eval echo "$as_me:9807: \"$ac_link\"") >&5
9808    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9809    ac_status=$?    ac_status=$?
9810    echo "$as_me:9807: \$? = $ac_status" >&5    echo "$as_me:9810: \$? = $ac_status" >&5
9811    (exit $ac_status); } &&    (exit $ac_status); } &&
9812           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9813    { (eval echo "$as_me:9810: \"$ac_try\"") >&5    { (eval echo "$as_me:9813: \"$ac_try\"") >&5
9814    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9815    ac_status=$?    ac_status=$?
9816    echo "$as_me:9813: \$? = $ac_status" >&5    echo "$as_me:9816: \$? = $ac_status" >&5
9817    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9818    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
9819  else  else
# Line 9820  eval "$as_ac_var=no" Line 9823  eval "$as_ac_var=no"
9823  fi  fi
9824  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9825  fi  fi
9826  echo "$as_me:9823: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:9826: result: `eval echo '${'$as_ac_var'}'`" >&5
9827  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9828  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
9829    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 9835  done Line 9838  done
9838  for ac_func in getpt  for ac_func in getpt
9839  do  do
9840  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9841  echo "$as_me:9838: checking for $ac_func" >&5  echo "$as_me:9841: checking for $ac_func" >&5
9842  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9843  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
9844    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9845  else  else
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  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
9850      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 9872  f = $ac_func; Line 9875  f = $ac_func;
9875  }  }
9876  _ACEOF  _ACEOF
9877  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9878  if { (eval echo "$as_me:9875: \"$ac_link\"") >&5  if { (eval echo "$as_me:9878: \"$ac_link\"") >&5
9879    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9880    ac_status=$?    ac_status=$?
9881    echo "$as_me:9878: \$? = $ac_status" >&5    echo "$as_me:9881: \$? = $ac_status" >&5
9882    (exit $ac_status); } &&    (exit $ac_status); } &&
9883           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9884    { (eval echo "$as_me:9881: \"$ac_try\"") >&5    { (eval echo "$as_me:9884: \"$ac_try\"") >&5
9885    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9886    ac_status=$?    ac_status=$?
9887    echo "$as_me:9884: \$? = $ac_status" >&5    echo "$as_me:9887: \$? = $ac_status" >&5
9888    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9889    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
9890  else  else
# Line 9891  eval "$as_ac_var=no" Line 9894  eval "$as_ac_var=no"
9894  fi  fi
9895  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9896  fi  fi
9897  echo "$as_me:9894: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:9897: result: `eval echo '${'$as_ac_var'}'`" >&5
9898  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9899  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
9900    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 9906  done Line 9909  done
9909  # It's better to believe a function is not available  # It's better to believe a function is not available
9910  # than to expect to find it in ncurses.  # than to expect to find it in ncurses.
9911    
9912  echo "$as_me:9909: checking for tparm in -lncurses" >&5  echo "$as_me:9912: checking for tparm in -lncurses" >&5
9913  echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6  echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6
9914  if test "${ac_cv_lib_ncurses_tparm+set}" = set; then  if test "${ac_cv_lib_ncurses_tparm+set}" = set; then
9915    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 9914  else Line 9917  else
9917    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
9918  LIBS="-lncurses  $LIBS"  LIBS="-lncurses  $LIBS"
9919  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
9920  #line 9917 "configure"  #line 9920 "configure"
9921  #include "confdefs.h"  #include "confdefs.h"
9922    
9923  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 9933  tparm (); Line 9936  tparm ();
9936  }  }
9937  _ACEOF  _ACEOF
9938  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9939  if { (eval echo "$as_me:9936: \"$ac_link\"") >&5  if { (eval echo "$as_me:9939: \"$ac_link\"") >&5
9940    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9941    ac_status=$?    ac_status=$?
9942    echo "$as_me:9939: \$? = $ac_status" >&5    echo "$as_me:9942: \$? = $ac_status" >&5
9943    (exit $ac_status); } &&    (exit $ac_status); } &&
9944           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9945    { (eval echo "$as_me:9942: \"$ac_try\"") >&5    { (eval echo "$as_me:9945: \"$ac_try\"") >&5
9946    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9947    ac_status=$?    ac_status=$?
9948    echo "$as_me:9945: \$? = $ac_status" >&5    echo "$as_me:9948: \$? = $ac_status" >&5
9949    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9950    ac_cv_lib_ncurses_tparm=yes    ac_cv_lib_ncurses_tparm=yes
9951  else  else
# Line 9953  fi Line 9956  fi
9956  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9957  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
9958  fi  fi
9959  echo "$as_me:9956: result: $ac_cv_lib_ncurses_tparm" >&5  echo "$as_me:9959: result: $ac_cv_lib_ncurses_tparm" >&5
9960  echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6  echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6
9961  if test $ac_cv_lib_ncurses_tparm = yes; then  if test $ac_cv_lib_ncurses_tparm = yes; then
9962    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 9968  fi Line 9971  fi
9971  if test "$with_hesiod" = yes ; then  if test "$with_hesiod" = yes ; then
9972    # Don't set $LIBS here -- see comments above.    # Don't set $LIBS here -- see comments above.
9973    resolv=no    resolv=no
9974    echo "$as_me:9971: checking for res_send" >&5    echo "$as_me:9974: checking for res_send" >&5
9975  echo $ECHO_N "checking for res_send... $ECHO_C" >&6  echo $ECHO_N "checking for res_send... $ECHO_C" >&6
9976  if test "${ac_cv_func_res_send+set}" = set; then  if test "${ac_cv_func_res_send+set}" = set; then
9977    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9978  else  else
9979    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9980  #line 9977 "configure"  #line 9980 "configure"
9981  #include "confdefs.h"  #include "confdefs.h"
9982  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
9983      which can conflict with char res_send (); below.  */      which can conflict with char res_send (); below.  */
# Line 10005  f = res_send; Line 10008  f = res_send;
10008  }  }
10009  _ACEOF  _ACEOF
10010  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10011  if { (eval echo "$as_me:10008: \"$ac_link\"") >&5  if { (eval echo "$as_me:10011: \"$ac_link\"") >&5
10012    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10013    ac_status=$?    ac_status=$?
10014    echo "$as_me:10011: \$? = $ac_status" >&5    echo "$as_me:10014: \$? = $ac_status" >&5
10015    (exit $ac_status); } &&    (exit $ac_status); } &&
10016           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10017    { (eval echo "$as_me:10014: \"$ac_try\"") >&5    { (eval echo "$as_me:10017: \"$ac_try\"") >&5
10018    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10019    ac_status=$?    ac_status=$?
10020    echo "$as_me:10017: \$? = $ac_status" >&5    echo "$as_me:10020: \$? = $ac_status" >&5
10021    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10022    ac_cv_func_res_send=yes    ac_cv_func_res_send=yes
10023  else  else
# Line 10024  ac_cv_func_res_send=no Line 10027  ac_cv_func_res_send=no
10027  fi  fi
10028  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10029  fi  fi
10030  echo "$as_me:10027: result: $ac_cv_func_res_send" >&5  echo "$as_me:10030: result: $ac_cv_func_res_send" >&5
10031  echo "${ECHO_T}$ac_cv_func_res_send" >&6  echo "${ECHO_T}$ac_cv_func_res_send" >&6
10032  if test $ac_cv_func_res_send = yes; then  if test $ac_cv_func_res_send = yes; then
10033    :    :
10034  else  else
10035    echo "$as_me:10032: checking for __res_send" >&5    echo "$as_me:10035: checking for __res_send" >&5
10036  echo $ECHO_N "checking for __res_send... $ECHO_C" >&6  echo $ECHO_N "checking for __res_send... $ECHO_C" >&6
10037  if test "${ac_cv_func___res_send+set}" = set; then  if test "${ac_cv_func___res_send+set}" = set; then
10038    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
10039  else  else
10040    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
10041  #line 10038 "configure"  #line 10041 "configure"
10042  #include "confdefs.h"  #include "confdefs.h"
10043  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
10044      which can conflict with char __res_send (); below.  */      which can conflict with char __res_send (); below.  */
# Line 10066  f = __res_send; Line 10069  f = __res_send;
10069  }  }
10070  _ACEOF  _ACEOF
10071  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10072  if { (eval echo "$as_me:10069: \"$ac_link\"") >&5  if { (eval echo "$as_me:10072: \"$ac_link\"") >&5
10073    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10074    ac_status=$?    ac_status=$?
10075    echo "$as_me:10072: \$? = $ac_status" >&5    echo "$as_me:10075: \$? = $ac_status" >&5
10076    (exit $ac_status); } &&    (exit $ac_status); } &&
10077           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10078    { (eval echo "$as_me:10075: \"$ac_try\"") >&5    { (eval echo "$as_me:10078: \"$ac_try\"") >&5
10079    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10080    ac_status=$?    ac_status=$?
10081    echo "$as_me:10078: \$? = $ac_status" >&5    echo "$as_me:10081: \$? = $ac_status" >&5
10082    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10083    ac_cv_func___res_send=yes    ac_cv_func___res_send=yes
10084  else  else
# Line 10085  ac_cv_func___res_send=no Line 10088  ac_cv_func___res_send=no
10088  fi  fi
10089  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10090  fi  fi
10091  echo "$as_me:10088: result: $ac_cv_func___res_send" >&5  echo "$as_me:10091: result: $ac_cv_func___res_send" >&5
10092  echo "${ECHO_T}$ac_cv_func___res_send" >&6  echo "${ECHO_T}$ac_cv_func___res_send" >&6
10093  if test $ac_cv_func___res_send = yes; then  if test $ac_cv_func___res_send = yes; then
10094    :    :
10095  else  else
10096    echo "$as_me:10093: checking for res_send in -lresolv" >&5    echo "$as_me:10096: checking for res_send in -lresolv" >&5
10097  echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6  echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6
10098  if test "${ac_cv_lib_resolv_res_send+set}" = set; then  if test "${ac_cv_lib_resolv_res_send+set}" = set; then
10099    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10098  else Line 10101  else
10101    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10102  LIBS="-lresolv  $LIBS"  LIBS="-lresolv  $LIBS"
10103  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10104  #line 10101 "configure"  #line 10104 "configure"
10105  #include "confdefs.h"  #include "confdefs.h"
10106    
10107  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10117  res_send (); Line 10120  res_send ();
10120  }  }
10121  _ACEOF  _ACEOF
10122  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10123  if { (eval echo "$as_me:10120: \"$ac_link\"") >&5  if { (eval echo "$as_me:10123: \"$ac_link\"") >&5
10124    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10125    ac_status=$?    ac_status=$?
10126    echo "$as_me:10123: \$? = $ac_status" >&5    echo "$as_me:10126: \$? = $ac_status" >&5
10127    (exit $ac_status); } &&    (exit $ac_status); } &&
10128           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10129    { (eval echo "$as_me:10126: \"$ac_try\"") >&5    { (eval echo "$as_me:10129: \"$ac_try\"") >&5
10130    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10131    ac_status=$?    ac_status=$?
10132    echo "$as_me:10129: \$? = $ac_status" >&5    echo "$as_me:10132: \$? = $ac_status" >&5
10133    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10134    ac_cv_lib_resolv_res_send=yes    ac_cv_lib_resolv_res_send=yes
10135  else  else
# Line 10137  fi Line 10140  fi
10140  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10141  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10142  fi  fi
10143  echo "$as_me:10140: result: $ac_cv_lib_resolv_res_send" >&5  echo "$as_me:10143: result: $ac_cv_lib_resolv_res_send" >&5
10144  echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6  echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6
10145  if test $ac_cv_lib_resolv_res_send = yes; then  if test $ac_cv_lib_resolv_res_send = yes; then
10146    resolv=yes    resolv=yes
10147  else  else
10148    echo "$as_me:10145: checking for __res_send in -lresolv" >&5    echo "$as_me:10148: checking for __res_send in -lresolv" >&5
10149  echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6  echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6
10150  if test "${ac_cv_lib_resolv___res_send+set}" = set; then  if test "${ac_cv_lib_resolv___res_send+set}" = set; then
10151    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10150  else Line 10153  else
10153    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10154  LIBS="-lresolv  $LIBS"  LIBS="-lresolv  $LIBS"
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    
10159  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10169  __res_send (); Line 10172  __res_send ();
10172  }  }
10173  _ACEOF  _ACEOF
10174  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10175  if { (eval echo "$as_me:10172: \"$ac_link\"") >&5  if { (eval echo "$as_me:10175: \"$ac_link\"") >&5
10176    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10177    ac_status=$?    ac_status=$?
10178    echo "$as_me:10175: \$? = $ac_status" >&5    echo "$as_me:10178: \$? = $ac_status" >&5
10179    (exit $ac_status); } &&    (exit $ac_status); } &&
10180           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10181    { (eval echo "$as_me:10178: \"$ac_try\"") >&5    { (eval echo "$as_me:10181: \"$ac_try\"") >&5
10182    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10183    ac_status=$?    ac_status=$?
10184    echo "$as_me:10181: \$? = $ac_status" >&5    echo "$as_me:10184: \$? = $ac_status" >&5
10185    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10186    ac_cv_lib_resolv___res_send=yes    ac_cv_lib_resolv___res_send=yes
10187  else  else
# Line 10189  fi Line 10192  fi
10192  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10193  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10194  fi  fi
10195  echo "$as_me:10192: result: $ac_cv_lib_resolv___res_send" >&5  echo "$as_me:10195: result: $ac_cv_lib_resolv___res_send" >&5
10196  echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6  echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6
10197  if test $ac_cv_lib_resolv___res_send = yes; then  if test $ac_cv_lib_resolv___res_send = yes; then
10198    resolv=yes    resolv=yes
# Line 10210  EOF Line 10213  EOF
10213    else    else
10214      RESOLVLIB=      RESOLVLIB=
10215    fi    fi
10216    echo "$as_me:10213: checking for hes_getmailhost" >&5    echo "$as_me:10216: checking for hes_getmailhost" >&5
10217  echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6  echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6
10218  if test "${ac_cv_func_hes_getmailhost+set}" = set; then  if test "${ac_cv_func_hes_getmailhost+set}" = set; then
10219    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
10220  else  else
10221    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
10222  #line 10219 "configure"  #line 10222 "configure"
10223  #include "confdefs.h"  #include "confdefs.h"
10224  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
10225      which can conflict with char hes_getmailhost (); below.  */      which can conflict with char hes_getmailhost (); below.  */
# Line 10247  f = hes_getmailhost; Line 10250  f = hes_getmailhost;
10250  }  }
10251  _ACEOF  _ACEOF
10252  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10253  if { (eval echo "$as_me:10250: \"$ac_link\"") >&5  if { (eval echo "$as_me:10253: \"$ac_link\"") >&5
10254    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10255    ac_status=$?    ac_status=$?
10256    echo "$as_me:10253: \$? = $ac_status" >&5    echo "$as_me:10256: \$? = $ac_status" >&5
10257    (exit $ac_status); } &&    (exit $ac_status); } &&
10258           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10259    { (eval echo "$as_me:10256: \"$ac_try\"") >&5    { (eval echo "$as_me:10259: \"$ac_try\"") >&5
10260    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10261    ac_status=$?    ac_status=$?
10262    echo "$as_me:10259: \$? = $ac_status" >&5    echo "$as_me:10262: \$? = $ac_status" >&5
10263    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10264    ac_cv_func_hes_getmailhost=yes    ac_cv_func_hes_getmailhost=yes
10265  else  else
# Line 10266  ac_cv_func_hes_getmailhost=no Line 10269  ac_cv_func_hes_getmailhost=no
10269  fi  fi
10270  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10271  fi  fi
10272  echo "$as_me:10269: result: $ac_cv_func_hes_getmailhost" >&5  echo "$as_me:10272: result: $ac_cv_func_hes_getmailhost" >&5
10273  echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6  echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6
10274  if test $ac_cv_func_hes_getmailhost = yes; then  if test $ac_cv_func_hes_getmailhost = yes; then
10275    :    :
10276  else  else
10277    echo "$as_me:10274: checking for hes_getmailhost in -lhesiod" >&5    echo "$as_me:10277: checking for hes_getmailhost in -lhesiod" >&5
10278  echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6  echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6
10279  if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then  if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then
10280    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10279  else Line 10282  else
10282    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10283  LIBS="-lhesiod $RESOLVLIB $LIBS"  LIBS="-lhesiod $RESOLVLIB $LIBS"
10284  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10285  #line 10282 "configure"  #line 10285 "configure"
10286  #include "confdefs.h"  #include "confdefs.h"
10287    
10288  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10298  hes_getmailhost (); Line 10301  hes_getmailhost ();
10301  }  }
10302  _ACEOF  _ACEOF
10303  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10304  if { (eval echo "$as_me:10301: \"$ac_link\"") >&5  if { (eval echo "$as_me:10304: \"$ac_link\"") >&5
10305    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10306    ac_status=$?    ac_status=$?
10307    echo "$as_me:10304: \$? = $ac_status" >&5    echo "$as_me:10307: \$? = $ac_status" >&5
10308    (exit $ac_status); } &&    (exit $ac_status); } &&
10309           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10310    { (eval echo "$as_me:10307: \"$ac_try\"") >&5    { (eval echo "$as_me:10310: \"$ac_try\"") >&5
10311    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10312    ac_status=$?    ac_status=$?
10313    echo "$as_me:10310: \$? = $ac_status" >&5    echo "$as_me:10313: \$? = $ac_status" >&5
10314    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10315    ac_cv_lib_hesiod_hes_getmailhost=yes    ac_cv_lib_hesiod_hes_getmailhost=yes
10316  else  else
# Line 10318  fi Line 10321  fi
10321  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10322  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10323  fi  fi
10324  echo "$as_me:10321: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5  echo "$as_me:10324: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5
10325  echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6  echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6
10326  if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then  if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then
10327    cat >>confdefs.h <<\EOF    cat >>confdefs.h <<\EOF
# Line 10336  fi Line 10339  fi
10339  # These tell us which Kerberos-related libraries to use.  # These tell us which Kerberos-related libraries to use.
10340  if test "${with_kerberos+set}" = set; then  if test "${with_kerberos+set}" = set; then
10341    
10342  echo "$as_me:10339: checking for com_err in -lcom_err" >&5  echo "$as_me:10342: checking for com_err in -lcom_err" >&5
10343  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
10344  if test "${ac_cv_lib_com_err_com_err+set}" = set; then  if test "${ac_cv_lib_com_err_com_err+set}" = set; then
10345    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10344  else Line 10347  else
10347    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10348  LIBS="-lcom_err  $LIBS"  LIBS="-lcom_err  $LIBS"
10349  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10350  #line 10347 "configure"  #line 10350 "configure"
10351  #include "confdefs.h"  #include "confdefs.h"
10352    
10353  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10363  com_err (); Line 10366  com_err ();
10366  }  }
10367  _ACEOF  _ACEOF
10368  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10369  if { (eval echo "$as_me:10366: \"$ac_link\"") >&5  if { (eval echo "$as_me:10369: \"$ac_link\"") >&5
10370    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10371    ac_status=$?    ac_status=$?
10372    echo "$as_me:10369: \$? = $ac_status" >&5    echo "$as_me:10372: \$? = $ac_status" >&5
10373    (exit $ac_status); } &&    (exit $ac_status); } &&
10374           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10375    { (eval echo "$as_me:10372: \"$ac_try\"") >&5    { (eval echo "$as_me:10375: \"$ac_try\"") >&5
10376    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10377    ac_status=$?    ac_status=$?
10378    echo "$as_me:10375: \$? = $ac_status" >&5    echo "$as_me:10378: \$? = $ac_status" >&5
10379    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10380    ac_cv_lib_com_err_com_err=yes    ac_cv_lib_com_err_com_err=yes
10381  else  else
# Line 10383  fi Line 10386  fi
10386  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10387  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10388  fi  fi
10389  echo "$as_me:10386: result: $ac_cv_lib_com_err_com_err" >&5  echo "$as_me:10389: result: $ac_cv_lib_com_err_com_err" >&5
10390  echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6  echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6
10391  if test $ac_cv_lib_com_err_com_err = yes; then  if test $ac_cv_lib_com_err_com_err = yes; then
10392    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10394  EOF Line 10397  EOF
10397    
10398  fi  fi
10399    
10400  echo "$as_me:10397: checking for mit_des_cbc_encrypt in -lk5crypto" >&5  echo "$as_me:10400: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
10401  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
10402  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
10403    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10402  else Line 10405  else
10405    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10406  LIBS="-lk5crypto  $LIBS"  LIBS="-lk5crypto  $LIBS"
10407  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10408  #line 10405 "configure"  #line 10408 "configure"
10409  #include "confdefs.h"  #include "confdefs.h"
10410    
10411  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10421  mit_des_cbc_encrypt (); Line 10424  mit_des_cbc_encrypt ();
10424  }  }
10425  _ACEOF  _ACEOF
10426  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10427  if { (eval echo "$as_me:10424: \"$ac_link\"") >&5  if { (eval echo "$as_me:10427: \"$ac_link\"") >&5
10428    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10429    ac_status=$?    ac_status=$?
10430    echo "$as_me:10427: \$? = $ac_status" >&5    echo "$as_me:10430: \$? = $ac_status" >&5
10431    (exit $ac_status); } &&    (exit $ac_status); } &&
10432           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10433    { (eval echo "$as_me:10430: \"$ac_try\"") >&5    { (eval echo "$as_me:10433: \"$ac_try\"") >&5
10434    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10435    ac_status=$?    ac_status=$?
10436    echo "$as_me:10433: \$? = $ac_status" >&5    echo "$as_me:10436: \$? = $ac_status" >&5
10437    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10438    ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes    ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes
10439  else  else
# Line 10441  fi Line 10444  fi
10444  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10445  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10446  fi  fi
10447  echo "$as_me:10444: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5  echo "$as_me:10447: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5
10448  echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6  echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6
10449  if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then  if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then
10450    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10452  EOF Line 10455  EOF
10455    
10456  fi  fi
10457    
10458  echo "$as_me:10455: checking for mit_des_cbc_encrypt in -lcrypto" >&5  echo "$as_me:10458: checking for mit_des_cbc_encrypt in -lcrypto" >&5
10459  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
10460  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
10461    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10460  else Line 10463  else
10463    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10464  LIBS="-lcrypto  $LIBS"  LIBS="-lcrypto  $LIBS"
10465  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10466  #line 10463 "configure"  #line 10466 "configure"
10467  #include "confdefs.h"  #include "confdefs.h"
10468    
10469  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10479  mit_des_cbc_encrypt (); Line 10482  mit_des_cbc_encrypt ();
10482  }  }
10483  _ACEOF  _ACEOF
10484  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10485  if { (eval echo "$as_me:10482: \"$ac_link\"") >&5  if { (eval echo "$as_me:10485: \"$ac_link\"") >&5
10486    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10487    ac_status=$?    ac_status=$?
10488    echo "$as_me:10485: \$? = $ac_status" >&5    echo "$as_me:10488: \$? = $ac_status" >&5
10489    (exit $ac_status); } &&    (exit $ac_status); } &&
10490           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10491    { (eval echo "$as_me:10488: \"$ac_try\"") >&5    { (eval echo "$as_me:10491: \"$ac_try\"") >&5
10492    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10493    ac_status=$?    ac_status=$?
10494    echo "$as_me:10491: \$? = $ac_status" >&5    echo "$as_me:10494: \$? = $ac_status" >&5
10495    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10496    ac_cv_lib_crypto_mit_des_cbc_encrypt=yes    ac_cv_lib_crypto_mit_des_cbc_encrypt=yes
10497  else  else
# Line 10499  fi Line 10502  fi
10502  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10503  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10504  fi  fi
10505  echo "$as_me:10502: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5  echo "$as_me:10505: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5
10506  echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6  echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6
10507  if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then  if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then
10508    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10510  EOF Line 10513  EOF
10513    
10514  fi  fi
10515    
10516  echo "$as_me:10513: checking for krb5_init_context in -lkrb5" >&5  echo "$as_me:10516: checking for krb5_init_context in -lkrb5" >&5
10517  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
10518  if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then  if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then
10519    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10518  else Line 10521  else
10521    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10522  LIBS="-lkrb5  $LIBS"  LIBS="-lkrb5  $LIBS"
10523  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10524  #line 10521 "configure"  #line 10524 "configure"
10525  #include "confdefs.h"  #include "confdefs.h"
10526    
10527  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10537  krb5_init_context (); Line 10540  krb5_init_context ();
10540  }  }
10541  _ACEOF  _ACEOF
10542  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10543  if { (eval echo "$as_me:10540: \"$ac_link\"") >&5  if { (eval echo "$as_me:10543: \"$ac_link\"") >&5
10544    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10545    ac_status=$?    ac_status=$?
10546    echo "$as_me:10543: \$? = $ac_status" >&5    echo "$as_me:10546: \$? = $ac_status" >&5
10547    (exit $ac_status); } &&    (exit $ac_status); } &&
10548           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10549    { (eval echo "$as_me:10546: \"$ac_try\"") >&5    { (eval echo "$as_me:10549: \"$ac_try\"") >&5
10550    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10551    ac_status=$?    ac_status=$?
10552    echo "$as_me:10549: \$? = $ac_status" >&5    echo "$as_me:10552: \$? = $ac_status" >&5
10553    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10554    ac_cv_lib_krb5_krb5_init_context=yes    ac_cv_lib_krb5_krb5_init_context=yes
10555  else  else
# Line 10557  fi Line 10560  fi
10560  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10561  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10562  fi  fi
10563  echo "$as_me:10560: result: $ac_cv_lib_krb5_krb5_init_context" >&5  echo "$as_me:10563: result: $ac_cv_lib_krb5_krb5_init_context" >&5
10564  echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6  echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6
10565  if test $ac_cv_lib_krb5_krb5_init_context = yes; then  if test $ac_cv_lib_krb5_krb5_init_context = yes; then
10566    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10570  fi Line 10573  fi
10573    
10574    if test "${with_kerberos5+set}" != set; then    if test "${with_kerberos5+set}" != set; then
10575    
10576  echo "$as_me:10573: checking for des_cbc_encrypt in -ldes425" >&5  echo "$as_me:10576: checking for des_cbc_encrypt in -ldes425" >&5
10577  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
10578  if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then  if test "${ac_cv_lib_des425_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="-ldes425  $LIBS"  LIBS="-ldes425  $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  des_cbc_encrypt (); Line 10600  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_des425_des_cbc_encrypt=yes    ac_cv_lib_des425_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_des425_des_cbc_encrypt" >&5  echo "$as_me:10623: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
10624  echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6  echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6
10625  if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then  if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then
10626    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10628  EOF Line 10631  EOF
10631    
10632  else  else
10633    
10634  echo "$as_me:10631: checking for des_cbc_encrypt in -ldes" >&5  echo "$as_me:10634: checking for des_cbc_encrypt in -ldes" >&5
10635  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
10636  if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then  if test "${ac_cv_lib_des_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="-ldes  $LIBS"  LIBS="-ldes  $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  des_cbc_encrypt (); Line 10658  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_des_des_cbc_encrypt=yes    ac_cv_lib_des_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_des_des_cbc_encrypt" >&5  echo "$as_me:10681: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
10682  echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6  echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6
10683  if test $ac_cv_lib_des_des_cbc_encrypt = yes; then  if test $ac_cv_lib_des_des_cbc_encrypt = yes; then
10684    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10688  fi Line 10691  fi
10691    
10692  fi  fi
10693    
10694  echo "$as_me:10691: checking for krb_get_cred in -lkrb4" >&5  echo "$as_me:10694: checking for krb_get_cred in -lkrb4" >&5
10695  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
10696  if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then  if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then
10697    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10696  else Line 10699  else
10699    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10700  LIBS="-lkrb4  $LIBS"  LIBS="-lkrb4  $LIBS"
10701  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10702  #line 10699 "configure"  #line 10702 "configure"
10703  #include "confdefs.h"  #include "confdefs.h"
10704    
10705  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10715  krb_get_cred (); Line 10718  krb_get_cred ();
10718  }  }
10719  _ACEOF  _ACEOF
10720  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10721  if { (eval echo "$as_me:10718: \"$ac_link\"") >&5  if { (eval echo "$as_me:10721: \"$ac_link\"") >&5
10722    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10723    ac_status=$?    ac_status=$?
10724    echo "$as_me:10721: \$? = $ac_status" >&5    echo "$as_me:10724: \$? = $ac_status" >&5
10725    (exit $ac_status); } &&    (exit $ac_status); } &&
10726           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10727    { (eval echo "$as_me:10724: \"$ac_try\"") >&5    { (eval echo "$as_me:10727: \"$ac_try\"") >&5
10728    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10729    ac_status=$?    ac_status=$?
10730    echo "$as_me:10727: \$? = $ac_status" >&5    echo "$as_me:10730: \$? = $ac_status" >&5
10731    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10732    ac_cv_lib_krb4_krb_get_cred=yes    ac_cv_lib_krb4_krb_get_cred=yes
10733  else  else
# Line 10735  fi Line 10738  fi
10738  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10739  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10740  fi  fi
10741  echo "$as_me:10738: result: $ac_cv_lib_krb4_krb_get_cred" >&5  echo "$as_me:10741: result: $ac_cv_lib_krb4_krb_get_cred" >&5
10742  echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6  echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6
10743  if test $ac_cv_lib_krb4_krb_get_cred = yes; then  if test $ac_cv_lib_krb4_krb_get_cred = yes; then
10744    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10746  EOF Line 10749  EOF
10749    
10750  else  else
10751    
10752  echo "$as_me:10749: checking for krb_get_cred in -lkrb" >&5  echo "$as_me:10752: checking for krb_get_cred in -lkrb" >&5
10753  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
10754  if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then  if test "${ac_cv_lib_krb_krb_get_cred+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="-lkrb  $LIBS"  LIBS="-lkrb  $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  krb_get_cred (); Line 10776  krb_get_cred ();
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_krb_krb_get_cred=yes    ac_cv_lib_krb_krb_get_cred=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_krb_krb_get_cred" >&5  echo "$as_me:10799: result: $ac_cv_lib_krb_krb_get_cred" >&5
10800  echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6  echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6
10801  if test $ac_cv_lib_krb_krb_get_cred = yes; then  if test $ac_cv_lib_krb_krb_get_cred = yes; then
10802    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10813  fi Line 10816  fi
10816  for ac_header in krb5.h  for ac_header in krb5.h
10817  do  do
10818  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10819  echo "$as_me:10816: checking for $ac_header" >&5  echo "$as_me:10819: checking for $ac_header" >&5
10820  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10821  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
10822    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
10823  else  else
10824    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
10825  #line 10822 "configure"  #line 10825 "configure"
10826  #include "confdefs.h"  #include "confdefs.h"
10827  #include <$ac_header>  #include <$ac_header>
10828  _ACEOF  _ACEOF
10829  if { (eval echo "$as_me:10826: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:10829: \"$ac_cpp conftest.$ac_ext\"") >&5
10830    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10831    ac_status=$?    ac_status=$?
10832    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
10833    rm -f conftest.er1    rm -f conftest.er1
10834    cat conftest.err >&5    cat conftest.err >&5
10835    echo "$as_me:10832: \$? = $ac_status" >&5    echo "$as_me:10835: \$? = $ac_status" >&5
10836    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
10837    if test -s conftest.err; then    if test -s conftest.err; then
10838      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 10848  else Line 10851  else
10851  fi  fi
10852  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
10853  fi  fi
10854  echo "$as_me:10851: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:10854: result: `eval echo '${'$as_ac_Header'}'`" >&5
10855  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10856  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
10857    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10863  done Line 10866  done
10866  for ac_header in des.h  for ac_header in des.h
10867  do  do
10868  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10869  echo "$as_me:10866: checking for $ac_header" >&5  echo "$as_me:10869: checking for $ac_header" >&5
10870  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10871  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
10872    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
10873  else  else
10874    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
10875  #line 10872 "configure"  #line 10875 "configure"
10876  #include "confdefs.h"  #include "confdefs.h"
10877  #include <$ac_header>  #include <$ac_header>
10878  _ACEOF  _ACEOF
10879  if { (eval echo "$as_me:10876: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:10879: \"$ac_cpp conftest.$ac_ext\"") >&5
10880    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10881    ac_status=$?    ac_status=$?
10882    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
10883    rm -f conftest.er1    rm -f conftest.er1
10884    cat conftest.err >&5    cat conftest.err >&5
10885    echo "$as_me:10882: \$? = $ac_status" >&5    echo "$as_me:10885: \$? = $ac_status" >&5
10886    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
10887    if test -s conftest.err; then    if test -s conftest.err; then
10888      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 10898  else Line 10901  else
10901  fi  fi
10902  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
10903  fi  fi
10904  echo "$as_me:10901: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:10904: result: `eval echo '${'$as_ac_Header'}'`" >&5
10905  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10906  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
10907    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10910  else Line 10913  else
10913  for ac_header in kerberosIV/des.h  for ac_header in kerberosIV/des.h
10914  do  do
10915  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10916  echo "$as_me:10913: checking for $ac_header" >&5  echo "$as_me:10916: checking for $ac_header" >&5
10917  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10918  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
10919    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
10920  else  else
10921    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
10922  #line 10919 "configure"  #line 10922 "configure"
10923  #include "confdefs.h"  #include "confdefs.h"
10924  #include <$ac_header>  #include <$ac_header>
10925  _ACEOF  _ACEOF
10926  if { (eval echo "$as_me:10923: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:10926: \"$ac_cpp conftest.$ac_ext\"") >&5
10927    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10928    ac_status=$?    ac_status=$?
10929    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
10930    rm -f conftest.er1    rm -f conftest.er1
10931    cat conftest.err >&5    cat conftest.err >&5
10932    echo "$as_me:10929: \$? = $ac_status" >&5    echo "$as_me:10932: \$? = $ac_status" >&5
10933    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
10934    if test -s conftest.err; then    if test -s conftest.err; then
10935      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 10945  else Line 10948  else
10948  fi  fi
10949  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
10950  fi  fi
10951  echo "$as_me:10948: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:10951: result: `eval echo '${'$as_ac_Header'}'`" >&5
10952  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10953  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
10954    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10957  else Line 10960  else
10960  for ac_header in kerberos/des.h  for ac_header in kerberos/des.h
10961  do  do
10962  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10963  echo "$as_me:10960: checking for $ac_header" >&5  echo "$as_me:10963: checking for $ac_header" >&5
10964  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10965  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
10966    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
10967  else  else
10968    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
10969  #line 10966 "configure"  #line 10969 "configure"
10970  #include "confdefs.h"  #include "confdefs.h"
10971  #include <$ac_header>  #include <$ac_header>
10972  _ACEOF  _ACEOF
10973  if { (eval echo "$as_me:10970: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:10973: \"$ac_cpp conftest.$ac_ext\"") >&5
10974    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10975    ac_status=$?    ac_status=$?
10976    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
10977    rm -f conftest.er1    rm -f conftest.er1
10978    cat conftest.err >&5    cat conftest.err >&5
10979    echo "$as_me:10976: \$? = $ac_status" >&5    echo "$as_me:10979: \$? = $ac_status" >&5
10980    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
10981    if test -s conftest.err; then    if test -s conftest.err; then
10982      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 10992  else Line 10995  else
10995  fi  fi
10996  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
10997  fi  fi
10998  echo "$as_me:10995: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:10998: result: `eval echo '${'$as_ac_Header'}'`" >&5
10999  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11000  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
11001    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11011  done Line 11014  done
11014  for ac_header in krb.h  for ac_header in krb.h
11015  do  do
11016  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11017  echo "$as_me:11014: checking for $ac_header" >&5  echo "$as_me:11017: checking for $ac_header" >&5
11018  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11019  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
11020    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11021  else  else
11022    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11023  #line 11020 "configure"  #line 11023 "configure"
11024  #include "confdefs.h"  #include "confdefs.h"
11025  #include <$ac_header>  #include <$ac_header>
11026  _ACEOF  _ACEOF
11027  if { (eval echo "$as_me:11024: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11027: \"$ac_cpp conftest.$ac_ext\"") >&5
11028    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11029    ac_status=$?    ac_status=$?
11030    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11031    rm -f conftest.er1    rm -f conftest.er1
11032    cat conftest.err >&5    cat conftest.err >&5
11033    echo "$as_me:11030: \$? = $ac_status" >&5    echo "$as_me:11033: \$? = $ac_status" >&5
11034    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11035    if test -s conftest.err; then    if test -s conftest.err; then
11036      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11046  else Line 11049  else
11049  fi  fi
11050  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11051  fi  fi
11052  echo "$as_me:11049: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:11052: result: `eval echo '${'$as_ac_Header'}'`" >&5
11053  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11054  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
11055    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11058  else Line 11061  else
11061  for ac_header in kerberosIV/krb.h  for ac_header in kerberosIV/krb.h
11062  do  do
11063  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11064  echo "$as_me:11061: checking for $ac_header" >&5  echo "$as_me:11064: checking for $ac_header" >&5
11065  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11066  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
11067    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11068  else  else
11069    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11070  #line 11067 "configure"  #line 11070 "configure"
11071  #include "confdefs.h"  #include "confdefs.h"
11072  #include <$ac_header>  #include <$ac_header>
11073  _ACEOF  _ACEOF
11074  if { (eval echo "$as_me:11071: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11074: \"$ac_cpp conftest.$ac_ext\"") >&5
11075    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11076    ac_status=$?    ac_status=$?
11077    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11078    rm -f conftest.er1    rm -f conftest.er1
11079    cat conftest.err >&5    cat conftest.err >&5
11080    echo "$as_me:11077: \$? = $ac_status" >&5    echo "$as_me:11080: \$? = $ac_status" >&5
11081    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11082    if test -s conftest.err; then    if test -s conftest.err; then
11083      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11093  else Line 11096  else
11096  fi  fi
11097  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11098  fi  fi
11099  echo "$as_me:11096: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:11099: result: `eval echo '${'$as_ac_Header'}'`" >&5
11100  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11101  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
11102    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11105  else Line 11108  else
11108  for ac_header in kerberos/krb.h  for ac_header in kerberos/krb.h
11109  do  do
11110  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11111  echo "$as_me:11108: checking for $ac_header" >&5  echo "$as_me:11111: checking for $ac_header" >&5
11112  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11113  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
11114    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11115  else  else
11116    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11117  #line 11114 "configure"  #line 11117 "configure"
11118  #include "confdefs.h"  #include "confdefs.h"
11119  #include <$ac_header>  #include <$ac_header>
11120  _ACEOF  _ACEOF
11121  if { (eval echo "$as_me:11118: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11121: \"$ac_cpp conftest.$ac_ext\"") >&5
11122    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11123    ac_status=$?    ac_status=$?
11124    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11125    rm -f conftest.er1    rm -f conftest.er1
11126    cat conftest.err >&5    cat conftest.err >&5
11127    echo "$as_me:11124: \$? = $ac_status" >&5    echo "$as_me:11127: \$? = $ac_status" >&5
11128    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11129    if test -s conftest.err; then    if test -s conftest.err; then
11130      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11140  else Line 11143  else
11143  fi  fi
11144  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11145  fi  fi
11146  echo "$as_me:11143: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:11146: result: `eval echo '${'$as_ac_Header'}'`" >&5
11147  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11148  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
11149    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11161  done Line 11164  done
11164  for ac_header in com_err.h  for ac_header in com_err.h
11165  do  do
11166  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11167  echo "$as_me:11164: checking for $ac_header" >&5  echo "$as_me:11167: checking for $ac_header" >&5
11168  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11169  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
11170    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11171  else  else
11172    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11173  #line 11170 "configure"  #line 11173 "configure"
11174  #include "confdefs.h"  #include "confdefs.h"
11175  #include <$ac_header>  #include <$ac_header>
11176  _ACEOF  _ACEOF
11177  if { (eval echo "$as_me:11174: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11177: \"$ac_cpp conftest.$ac_ext\"") >&5
11178    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11179    ac_status=$?    ac_status=$?
11180    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11181    rm -f conftest.er1    rm -f conftest.er1
11182    cat conftest.err >&5    cat conftest.err >&5
11183    echo "$as_me:11180: \$? = $ac_status" >&5    echo "$as_me:11183: \$? = $ac_status" >&5
11184    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11185    if test -s conftest.err; then    if test -s conftest.err; then
11186      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11196  else Line 11199  else
11199  fi  fi
11200  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11201  fi  fi
11202  echo "$as_me:11199: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:11202: result: `eval echo '${'$as_ac_Header'}'`" >&5
11203  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11204  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
11205    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11211  fi Line 11214  fi
11214  # Solaris requires -lintl if you want strerror (which calls dgettext)  # Solaris requires -lintl if you want strerror (which calls dgettext)
11215  # to return localized messages.  # to return localized messages.
11216    
11217  echo "$as_me:11214: checking for dgettext in -lintl" >&5  echo "$as_me:11217: checking for dgettext in -lintl" >&5
11218  echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6  echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6
11219  if test "${ac_cv_lib_intl_dgettext+set}" = set; then  if test "${ac_cv_lib_intl_dgettext+set}" = set; then
11220    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 11219  else Line 11222  else
11222    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
11223  LIBS="-lintl  $LIBS"  LIBS="-lintl  $LIBS"
11224  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
11225  #line 11222 "configure"  #line 11225 "configure"
11226  #include "confdefs.h"  #include "confdefs.h"
11227    
11228  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 11238  dgettext (); Line 11241  dgettext ();
11241  }  }
11242  _ACEOF  _ACEOF
11243  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
11244  if { (eval echo "$as_me:11241: \"$ac_link\"") >&5  if { (eval echo "$as_me:11244: \"$ac_link\"") >&5
11245    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
11246    ac_status=$?    ac_status=$?
11247    echo "$as_me:11244: \$? = $ac_status" >&5    echo "$as_me:11247: \$? = $ac_status" >&5
11248    (exit $ac_status); } &&    (exit $ac_status); } &&
11249           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
11250    { (eval echo "$as_me:11247: \"$ac_try\"") >&5    { (eval echo "$as_me:11250: \"$ac_try\"") >&5
11251    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11252    ac_status=$?    ac_status=$?
11253    echo "$as_me:11250: \$? = $ac_status" >&5    echo "$as_me:11253: \$? = $ac_status" >&5
11254    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11255    ac_cv_lib_intl_dgettext=yes    ac_cv_lib_intl_dgettext=yes
11256  else  else
# Line 11258  fi Line 11261  fi
11261  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11262  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
11263  fi  fi
11264  echo "$as_me:11261: result: $ac_cv_lib_intl_dgettext" >&5  echo "$as_me:11264: result: $ac_cv_lib_intl_dgettext" >&5
11265  echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6  echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6
11266  if test $ac_cv_lib_intl_dgettext = yes; then  if test $ac_cv_lib_intl_dgettext = yes; then
11267    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11269  EOF Line 11272  EOF
11272    
11273  fi  fi
11274    
11275  echo "$as_me:11272: checking whether localtime caches TZ" >&5  echo "$as_me:11275: checking whether localtime caches TZ" >&5
11276  echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6  echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6
11277  if test "${emacs_cv_localtime_cache+set}" = set; then  if test "${emacs_cv_localtime_cache+set}" = set; then
11278    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 11280  if test "$cross_compiling" = yes; then Line 11283  if test "$cross_compiling" = yes; then
11283  emacs_cv_localtime_cache=yes  emacs_cv_localtime_cache=yes
11284  else  else
11285    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11286  #line 11283 "configure"  #line 11286 "configure"
11287  #include "confdefs.h"  #include "confdefs.h"
11288  #include <time.h>  #include <time.h>
11289  extern char **environ;  extern char **environ;
# Line 11313  main() Line 11316  main()
11316  }  }
11317  _ACEOF  _ACEOF
11318  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
11319  if { (eval echo "$as_me:11316: \"$ac_link\"") >&5  if { (eval echo "$as_me:11319: \"$ac_link\"") >&5
11320    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
11321    ac_status=$?    ac_status=$?
11322    echo "$as_me:11319: \$? = $ac_status" >&5    echo "$as_me:11322: \$? = $ac_status" >&5
11323    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11324    { (eval echo "$as_me:11321: \"$ac_try\"") >&5    { (eval echo "$as_me:11324: \"$ac_try\"") >&5
11325    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11326    ac_status=$?    ac_status=$?
11327    echo "$as_me:11324: \$? = $ac_status" >&5    echo "$as_me:11327: \$? = $ac_status" >&5
11328    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11329    emacs_cv_localtime_cache=no    emacs_cv_localtime_cache=no
11330  else  else
# Line 11338  else Line 11341  else
11341          emacs_cv_localtime_cache=no          emacs_cv_localtime_cache=no
11342  fi  fi
11343  fi  fi
11344  echo "$as_me:11341: result: $emacs_cv_localtime_cache" >&5  echo "$as_me:11344: result: $emacs_cv_localtime_cache" >&5
11345  echo "${ECHO_T}$emacs_cv_localtime_cache" >&6  echo "${ECHO_T}$emacs_cv_localtime_cache" >&6
11346  if test $emacs_cv_localtime_cache = yes; then  if test $emacs_cv_localtime_cache = yes; then
11347    cat >>confdefs.h <<\EOF    cat >>confdefs.h <<\EOF
# Line 11352  if test "x$HAVE_TIMEVAL" = xyes; then Line 11355  if test "x$HAVE_TIMEVAL" = xyes; then
11355  for ac_func in gettimeofday  for ac_func in gettimeofday
11356  do  do
11357  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11358  echo "$as_me:11355: checking for $ac_func" >&5  echo "$as_me:11358: checking for $ac_func" >&5
11359  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11360  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
11361    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11362  else  else
11363    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11364  #line 11361 "configure"  #line 11364 "configure"
11365  #include "confdefs.h"  #include "confdefs.h"
11366  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
11367      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 11389  f = $ac_func; Line 11392  f = $ac_func;
11392  }  }
11393  _ACEOF  _ACEOF
11394  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
11395  if { (eval echo "$as_me:11392: \"$ac_link\"") >&5  if { (eval echo "$as_me:11395: \"$ac_link\"") >&5
11396    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
11397    ac_status=$?    ac_status=$?
11398    echo "$as_me:11395: \$? = $ac_status" >&5    echo "$as_me:11398: \$? = $ac_status" >&5
11399    (exit $ac_status); } &&    (exit $ac_status); } &&
11400           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
11401    { (eval echo "$as_me:11398: \"$ac_try\"") >&5    { (eval echo "$as_me:11401: \"$ac_try\"") >&5
11402    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11403    ac_status=$?    ac_status=$?
11404    echo "$as_me:11401: \$? = $ac_status" >&5    echo "$as_me:11404: \$? = $ac_status" >&5
11405    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11406    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
11407  else  else
# Line 11408  eval "$as_ac_var=no" Line 11411  eval "$as_ac_var=no"
11411  fi  fi
11412  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11413  fi  fi
11414  echo "$as_me:11411: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:11414: result: `eval echo '${'$as_ac_var'}'`" >&5
11415  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11416  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
11417    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11418  EOF Line 11421  EOF
11421  fi  fi
11422  done  done
11423    
11424    echo "$as_me:11421: checking whether gettimeofday can accept two arguments" >&5    echo "$as_me:11424: checking whether gettimeofday can accept two arguments" >&5
11425  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
11426  if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then  if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
11427    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11428  else  else
11429    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11430  #line 11427 "configure"  #line 11430 "configure"
11431  #include "confdefs.h"  #include "confdefs.h"
11432    
11433  #ifdef TIME_WITH_SYS_TIME  #ifdef TIME_WITH_SYS_TIME
# Line 11447  struct timeval time; Line 11450  struct timeval time;
11450  }  }
11451  _ACEOF  _ACEOF
11452  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
11453  if { (eval echo "$as_me:11450: \"$ac_compile\"") >&5  if { (eval echo "$as_me:11453: \"$ac_compile\"") >&5
11454    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
11455    ac_status=$?    ac_status=$?
11456    echo "$as_me:11453: \$? = $ac_status" >&5    echo "$as_me:11456: \$? = $ac_status" >&5
11457    (exit $ac_status); } &&    (exit $ac_status); } &&
11458           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
11459    { (eval echo "$as_me:11456: \"$ac_try\"") >&5    { (eval echo "$as_me:11459: \"$ac_try\"") >&5
11460    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11461    ac_status=$?    ac_status=$?
11462    echo "$as_me:11459: \$? = $ac_status" >&5    echo "$as_me:11462: \$? = $ac_status" >&5
11463    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11464    emacs_cv_gettimeofday_two_arguments=yes    emacs_cv_gettimeofday_two_arguments=yes
11465  else  else
# Line 11466  emacs_cv_gettimeofday_two_arguments=no Line 11469  emacs_cv_gettimeofday_two_arguments=no
11469  fi  fi
11470  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
11471  fi  fi
11472  echo "$as_me:11469: result: $emacs_cv_gettimeofday_two_arguments" >&5  echo "$as_me:11472: result: $emacs_cv_gettimeofday_two_arguments" >&5
11473  echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6  echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
11474    if test $emacs_cv_gettimeofday_two_arguments = no; then    if test $emacs_cv_gettimeofday_two_arguments = no; then
11475      cat >>confdefs.h <<\EOF      cat >>confdefs.h <<\EOF
# Line 11477  EOF Line 11480  EOF
11480  fi  fi
11481    
11482  if test "$ac_cv_func_gettimeofday" = yes; then  if test "$ac_cv_func_gettimeofday" = yes; then
11483    echo "$as_me:11480: checking for struct timezone" >&5    echo "$as_me:11483: checking for struct timezone" >&5
11484  echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6  echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
11485  if test "${emacs_cv_struct_timezone+set}" = set; then  if test "${emacs_cv_struct_timezone+set}" = set; then
11486    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11487  else  else
11488    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11489  #line 11486 "configure"  #line 11489 "configure"
11490  #include "confdefs.h"  #include "confdefs.h"
11491  #include <sys/time.h>  #include <sys/time.h>
11492  int  int
# Line 11495  struct timezone tz; Line 11498  struct timezone tz;
11498  }  }
11499  _ACEOF  _ACEOF
11500  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
11501  if { (eval echo "$as_me:11498: \"$ac_compile\"") >&5  if { (eval echo "$as_me:11501: \"$ac_compile\"") >&5
11502    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
11503    ac_status=$?    ac_status=$?
11504    echo "$as_me:11501: \$? = $ac_status" >&5    echo "$as_me:11504: \$? = $ac_status" >&5
11505    (exit $ac_status); } &&    (exit $ac_status); } &&
11506           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
11507    { (eval echo "$as_me:11504: \"$ac_try\"") >&5    { (eval echo "$as_me:11507: \"$ac_try\"") >&5
11508    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11509    ac_status=$?    ac_status=$?
11510    echo "$as_me:11507: \$? = $ac_status" >&5    echo "$as_me:11510: \$? = $ac_status" >&5
11511    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11512                if test "$cross_compiling" = yes; then                if test "$cross_compiling" = yes; then
11513    emacs_cv_struct_timezone=yes    emacs_cv_struct_timezone=yes
11514  else  else
11515    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11516  #line 11513 "configure"  #line 11516 "configure"
11517  #include "confdefs.h"  #include "confdefs.h"
11518    
11519  #ifdef TIME_WITH_SYS_TIME  #ifdef TIME_WITH_SYS_TIME
# Line 11530  main () { Line 11533  main () {
11533  }  }
11534  _ACEOF  _ACEOF
11535  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
11536  if { (eval echo "$as_me:11533: \"$ac_link\"") >&5  if { (eval echo "$as_me:11536: \"$ac_link\"") >&5
11537    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
11538    ac_status=$?    ac_status=$?
11539    echo "$as_me:11536: \$? = $ac_status" >&5    echo "$as_me:11539: \$? = $ac_status" >&5
11540    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11541    { (eval echo "$as_me:11538: \"$ac_try\"") >&5    { (eval echo "$as_me:11541: \"$ac_try\"") >&5
11542    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11543    ac_status=$?    ac_status=$?
11544    echo "$as_me:11541: \$? = $ac_status" >&5    echo "$as_me:11544: \$? = $ac_status" >&5
11545    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11546    emacs_cv_struct_timezone=yes    emacs_cv_struct_timezone=yes
11547  else  else
# Line 11556  emacs_cv_struct_timezone=no Line 11559  emacs_cv_struct_timezone=no
11559  fi  fi
11560  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
11561  fi  fi
11562  echo "$as_me:11559: result: $emacs_cv_struct_timezone" >&5  echo "$as_me:11562: result: $emacs_cv_struct_timezone" >&5
11563  echo "${ECHO_T}$emacs_cv_struct_timezone" >&6  echo "${ECHO_T}$emacs_cv_struct_timezone" >&6
11564  fi  fi
11565    
11566  ok_so_far=yes  ok_so_far=yes
11567  echo "$as_me:11564: checking for socket" >&5  echo "$as_me:11567: checking for socket" >&5
11568  echo $ECHO_N "checking for socket... $ECHO_C" >&6  echo $ECHO_N "checking for socket... $ECHO_C" >&6
11569  if test "${ac_cv_func_socket+set}" = set; then  if test "${ac_cv_func_socket+set}" = set; then
11570    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11571  else  else
11572    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11573  #line 11570 "configure"  #line 11573 "configure"
11574  #include "confdefs.h"  #include "confdefs.h"
11575  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
11576      which can conflict with char socket (); below.  */      which can conflict with char socket (); below.  */
# Line 11598  f = socket; Line 11601  f = socket;
11601  }  }
11602  _ACEOF  _ACEOF
11603  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
11604  if { (eval echo "$as_me:11601: \"$ac_link\"") >&5  if { (eval echo "$as_me:11604: \"$ac_link\"") >&5
11605    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
11606    ac_status=$?    ac_status=$?
11607    echo "$as_me:11604: \$? = $ac_status" >&5    echo "$as_me:11607: \$? = $ac_status" >&5
11608    (exit $ac_status); } &&    (exit $ac_status); } &&
11609           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
11610    { (eval echo "$as_me:11607: \"$ac_try\"") >&5    { (eval echo "$as_me:11610: \"$ac_try\"") >&5
11611    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11612    ac_status=$?    ac_status=$?
11613    echo "$as_me:11610: \$? = $ac_status" >&5    echo "$as_me:11613: \$? = $ac_status" >&5
11614    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11615    ac_cv_func_socket=yes    ac_cv_func_socket=yes
11616  else  else
# Line 11617  ac_cv_func_socket=no Line 11620  ac_cv_func_socket=no
11620  fi  fi
11621  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11622  fi  fi
11623  echo "$as_me:11620: result: $ac_cv_func_socket" >&5  echo "$as_me:11623: result: $ac_cv_func_socket" >&5
11624  echo "${ECHO_T}$ac_cv_func_socket" >&6  echo "${ECHO_T}$ac_cv_func_socket" >&6
11625  if test $ac_cv_func_socket = yes; then  if test $ac_cv_func_socket = yes; then
11626    :    :
# Line 11626  else Line 11629  else
11629  fi  fi
11630    
11631  if test $ok_so_far = yes; then  if test $ok_so_far = yes; then
11632    echo "$as_me:11629: checking for netinet/in.h" >&5    echo "$as_me:11632: checking for netinet/in.h" >&5
11633  echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6  echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6
11634  if test "${ac_cv_header_netinet_in_h+set}" = set; then  if test "${ac_cv_header_netinet_in_h+set}" = set; then
11635    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11636  else  else
11637    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11638  #line 11635 "configure"  #line 11638 "configure"
11639  #include "confdefs.h"  #include "confdefs.h"
11640  #include <netinet/in.h>  #include <netinet/in.h>
11641  _ACEOF  _ACEOF
11642  if { (eval echo "$as_me:11639: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11642: \"$ac_cpp conftest.$ac_ext\"") >&5
11643    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11644    ac_status=$?    ac_status=$?
11645    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11646    rm -f conftest.er1    rm -f conftest.er1
11647    cat conftest.err >&5    cat conftest.err >&5
11648    echo "$as_me:11645: \$? = $ac_status" >&5    echo "$as_me:11648: \$? = $ac_status" >&5
11649    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11650    if test -s conftest.err; then    if test -s conftest.err; then
11651      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11661  else Line 11664  else
11664  fi  fi
11665  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11666  fi  fi
11667  echo "$as_me:11664: result: $ac_cv_header_netinet_in_h" >&5  echo "$as_me:11667: result: $ac_cv_header_netinet_in_h" >&5
11668  echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6  echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6
11669  if test $ac_cv_header_netinet_in_h = yes; then  if test $ac_cv_header_netinet_in_h = yes; then
11670    :    :
# Line 11671  fi Line 11674  fi
11674    
11675  fi  fi
11676  if test $ok_so_far = yes; then  if test $ok_so_far = yes; then
11677    echo "$as_me:11674: checking for arpa/inet.h" >&5    echo "$as_me:11677: checking for arpa/inet.h" >&5
11678  echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6  echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6
11679  if test "${ac_cv_header_arpa_inet_h+set}" = set; then  if test "${ac_cv_header_arpa_inet_h+set}" = set; then
11680    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11681  else  else
11682    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11683  #line 11680 "configure"  #line 11683 "configure"
11684  #include "confdefs.h"  #include "confdefs.h"
11685  #include <arpa/inet.h>  #include <arpa/inet.h>
11686  _ACEOF  _ACEOF
11687  if { (eval echo "$as_me:11684: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11687: \"$ac_cpp conftest.$ac_ext\"") >&5
11688    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11689    ac_status=$?    ac_status=$?
11690    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11691    rm -f conftest.er1    rm -f conftest.er1
11692    cat conftest.err >&5    cat conftest.err >&5
11693    echo "$as_me:11690: \$? = $ac_status" >&5    echo "$as_me:11693: \$? = $ac_status" >&5
11694    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11695    if test -s conftest.err; then    if test -s conftest.err; then
11696      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11706  else Line 11709  else
11709  fi  fi
11710  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11711  fi  fi
11712  echo "$as_me:11709: result: $ac_cv_header_arpa_inet_h" >&5  echo "$as_me:11712: result: $ac_cv_header_arpa_inet_h" >&5
11713  echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6  echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6
11714  if test $ac_cv_header_arpa_inet_h = yes; then  if test $ac_cv_header_arpa_inet_h = yes; then
11715    :    :
# Line 11729  EOF Line 11732  EOF
11732    
11733  fi  fi
11734    
11735  echo "$as_me:11732: checking whether system supports dynamic ptys" >&5  echo "$as_me:11735: checking whether system supports dynamic ptys" >&5
11736  echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6  echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6
11737  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
11738    echo "$as_me:11735: result: yes" >&5    echo "$as_me:11738: result: yes" >&5
11739  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
11740    cat >>confdefs.h <<\EOF    cat >>confdefs.h <<\EOF
11741  #define HAVE_DEV_PTMX 1  #define HAVE_DEV_PTMX 1
11742  EOF  EOF
11743    
11744  else  else
11745    echo "$as_me:11742: result: no" >&5    echo "$as_me:11745: result: no" >&5
11746  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
11747  fi  fi
11748    
11749  echo "$as_me:11746: checking for pid_t" >&5  echo "$as_me:11749: checking for pid_t" >&5
11750  echo $ECHO_N "checking for pid_t... $ECHO_C" >&6  echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
11751  if test "${ac_cv_type_pid_t+set}" = set; then  if test "${ac_cv_type_pid_t+set}" = set; then
11752    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11753  else  else
11754    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11755  #line 11752 "configure"  #line 11755 "configure"
11756  #include "confdefs.h"  #include "confdefs.h"
11757  $ac_includes_default  $ac_includes_default
11758  int  int
# Line 11764  if (sizeof (pid_t)) Line 11767  if (sizeof (pid_t))
11767  }  }
11768  _ACEOF  _ACEOF
11769  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
11770  if { (eval echo "$as_me:11767: \"$ac_compile\"") >&5  if { (eval echo "$as_me:11770: \"$ac_compile\"") >&5
11771    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
11772    ac_status=$?    ac_status=$?
11773    echo "$as_me:11770: \$? = $ac_status" >&5    echo "$as_me:11773: \$? = $ac_status" >&5
11774    (exit $ac_status); } &&    (exit $ac_status); } &&
11775           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
11776    { (eval echo "$as_me:11773: \"$ac_try\"") >&5    { (eval echo "$as_me:11776: \"$ac_try\"") >&5
11777    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11778    ac_status=$?    ac_status=$?
11779    echo "$as_me:11776: \$? = $ac_status" >&5    echo "$as_me:11779: \$? = $ac_status" >&5
11780    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11781    ac_cv_type_pid_t=yes    ac_cv_type_pid_t=yes
11782  else  else
# Line 11783  ac_cv_type_pid_t=no Line 11786  ac_cv_type_pid_t=no
11786  fi  fi
11787  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
11788  fi  fi
11789  echo "$as_me:11786: result: $ac_cv_type_pid_t" >&5  echo "$as_me:11789: result: $ac_cv_type_pid_t" >&5
11790  echo "${ECHO_T}$ac_cv_type_pid_t" >&6  echo "${ECHO_T}$ac_cv_type_pid_t" >&6
11791  if test $ac_cv_type_pid_t = yes; then  if test $ac_cv_type_pid_t = yes; then
11792    :    :
# Line 11798  fi Line 11801  fi
11801  for ac_header in unistd.h vfork.h  for ac_header in unistd.h vfork.h
11802  do  do
11803  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11804  echo "$as_me:11801: checking for $ac_header" >&5  echo "$as_me:11804: checking for $ac_header" >&5
11805  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11806  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
11807    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11808  else  else
11809    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11810  #line 11807 "configure"  #line 11810 "configure"
11811  #include "confdefs.h"  #include "confdefs.h"
11812  #include <$ac_header>  #include <$ac_header>
11813  _ACEOF  _ACEOF
11814  if { (eval echo "$as_me:11811: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11814: \"$ac_cpp conftest.$ac_ext\"") >&5
11815    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11816    ac_status=$?    ac_status=$?
11817    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11818    rm -f conftest.er1    rm -f conftest.er1
11819    cat conftest.err >&5    cat conftest.err >&5
11820    echo "$as_me:11817: \$? = $ac_status" >&5    echo "$as_me:11820: \$? = $ac_status" >&5
11821    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11822    if test -s conftest.err; then    if test -s conftest.err; then
11823      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11833  else Line 11836  else
11836  fi  fi
11837  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11838  fi  fi
11839  echo "$as_me:11836: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:11839: result: `eval echo '${'$as_ac_Header'}'`" >&5
11840  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11841  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
11842    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11846  done Line 11849  done
11849  for ac_func in fork vfork  for ac_func in fork vfork
11850  do  do
11851  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11852  echo "$as_me:11849: checking for $ac_func" >&5  echo "$as_me:11852: checking for $ac_func" >&5
11853  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11854  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
11855    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11856  else  else
11857    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11858  #line 11855 "configure"  #line 11858 "configure"
11859  #include "confdefs.h"  #include "confdefs.h"
11860  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
11861      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 11883  f = $ac_func; Line 11886  f = $ac_func;
11886  }  }
11887  _ACEOF  _ACEOF
11888  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
11889  if { (eval echo "$as_me:11886: \"$ac_link\"") >&5  if { (eval echo "$as_me:11889: \"$ac_link\"") >&5
11890    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
11891    ac_status=$?    ac_status=$?
11892    echo "$as_me:11889: \$? = $ac_status" >&5    echo "$as_me:11892: \$? = $ac_status" >&5
11893    (exit $ac_status); } &&    (exit $ac_status); } &&
11894           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
11895    { (eval echo "$as_me:11892: \"$ac_try\"") >&5    { (eval echo "$as_me:11895: \"$ac_try\"") >&5
11896    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11897    ac_status=$?    ac_status=$?
11898    echo "$as_me:11895: \$? = $ac_status" >&5    echo "$as_me:11898: \$? = $ac_status" >&5
11899    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11900    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
11901  else  else
# Line 11902  eval "$as_ac_var=no" Line 11905  eval "$as_ac_var=no"
11905  fi  fi
11906  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11907  fi  fi
11908  echo "$as_me:11905: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:11908: result: `eval echo '${'$as_ac_var'}'`" >&5
11909  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11910  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
11911    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11914  done Line 11917  done
11917    
11918  ac_cv_func_fork_works=$ac_cv_func_fork  ac_cv_func_fork_works=$ac_cv_func_fork
11919  if test "x$ac_cv_func_fork" = xyes; then  if test "x$ac_cv_func_fork" = xyes; then
11920    echo "$as_me:11917: checking for working fork" >&5    echo "$as_me:11920: checking for working fork" >&5
11921  echo $ECHO_N "checking for working fork... $ECHO_C" >&6  echo $ECHO_N "checking for working fork... $ECHO_C" >&6
11922  if test "${ac_cv_func_fork_works+set}" = set; then  if test "${ac_cv_func_fork_works+set}" = set; then
11923    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 11937  else Line 11940  else
11940        }        }
11941  _ACEOF  _ACEOF
11942  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
11943  if { (eval echo "$as_me:11940: \"$ac_link\"") >&5  if { (eval echo "$as_me:11943: \"$ac_link\"") >&5
11944    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
11945    ac_status=$?    ac_status=$?
11946    echo "$as_me:11943: \$? = $ac_status" >&5    echo "$as_me:11946: \$? = $ac_status" >&5
11947    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11948    { (eval echo "$as_me:11945: \"$ac_try\"") >&5    { (eval echo "$as_me:11948: \"$ac_try\"") >&5
11949    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11950    ac_status=$?    ac_status=$?
11951    echo "$as_me:11948: \$? = $ac_status" >&5    echo "$as_me:11951: \$? = $ac_status" >&5
11952    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11953    ac_cv_func_fork_works=yes    ac_cv_func_fork_works=yes
11954  else  else
# Line 11957  fi Line 11960  fi
11960  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
11961  fi  fi
11962  fi  fi
11963  echo "$as_me:11960: result: $ac_cv_func_fork_works" >&5  echo "$as_me:11963: result: $ac_cv_func_fork_works" >&5
11964  echo "${ECHO_T}$ac_cv_func_fork_works" >&6  echo "${ECHO_T}$ac_cv_func_fork_works" >&6
11965    
11966  fi  fi
# Line 11971  if test "x$ac_cv_func_fork_works" = xcro Line 11974  if test "x$ac_cv_func_fork_works" = xcro
11974        ac_cv_func_fork_works=yes        ac_cv_func_fork_works=yes
11975        ;;        ;;
11976    esac    esac
11977    { echo "$as_me:11974: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5    { echo "$as_me:11977: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5
11978  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;}
11979  fi  fi
11980  ac_cv_func_vfork_works=$ac_cv_func_vfork  ac_cv_func_vfork_works=$ac_cv_func_vfork
11981  if test "x$ac_cv_func_vfork" = xyes; then  if test "x$ac_cv_func_vfork" = xyes; then
11982    echo "$as_me:11979: checking for working vfork" >&5    echo "$as_me:11982: checking for working vfork" >&5
11983  echo $ECHO_N "checking for working vfork... $ECHO_C" >&6  echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
11984  if test "${ac_cv_func_vfork_works+set}" = set; then  if test "${ac_cv_func_vfork_works+set}" = set; then
11985    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 11985  else Line 11988  else
11988    ac_cv_func_vfork_works=cross    ac_cv_func_vfork_works=cross
11989  else  else
11990    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11991  #line 11988 "configure"  #line 11991 "configure"
11992  #include "confdefs.h"  #include "confdefs.h"
11993  /* Thanks to Paul Eggert for this test.  */  /* Thanks to Paul Eggert for this test.  */
11994  #include <stdio.h>  #include <stdio.h>
# Line 12082  main () Line 12085  main ()
12085  }  }
12086  _ACEOF  _ACEOF
12087  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
12088  if { (eval echo "$as_me:12085: \"$ac_link\"") >&5  if { (eval echo "$as_me:12088: \"$ac_link\"") >&5
12089    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
12090    ac_status=$?    ac_status=$?
12091    echo "$as_me:12088: \$? = $ac_status" >&5    echo "$as_me:12091: \$? = $ac_status" >&5
12092    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12093    { (eval echo "$as_me:12090: \"$ac_try\"") >&5    { (eval echo "$as_me:12093: \"$ac_try\"") >&5
12094    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
12095    ac_status=$?    ac_status=$?
12096    echo "$as_me:12093: \$? = $ac_status" >&5    echo "$as_me:12096: \$? = $ac_status" >&5
12097    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
12098    ac_cv_func_vfork_works=yes    ac_cv_func_vfork_works=yes
12099  else  else
# Line 12102  fi Line 12105  fi
12105  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
12106  fi  fi
12107  fi  fi
12108  echo "$as_me:12105: result: $ac_cv_func_vfork_works" >&5  echo "$as_me:12108: result: $ac_cv_func_vfork_works" >&5
12109  echo "${ECHO_T}$ac_cv_func_vfork_works" >&6  echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
12110    
12111  fi;  fi;
12112  if test "x$ac_cv_func_fork_works" = xcross; then  if test "x$ac_cv_func_fork_works" = xcross; then
12113    ac_cv_func_vfork_works=ac_cv_func_vfork    ac_cv_func_vfork_works=ac_cv_func_vfork
12114    { echo "$as_me:12111: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5    { echo "$as_me:12114: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5
12115  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;}
12116  fi  fi
12117    
# Line 12134  EOF Line 12137  EOF
12137  fi  fi
12138    
12139  # Fixme: This should be replaced when we have autoconf 2.14.  # Fixme: This should be replaced when we have autoconf 2.14.
12140  echo "$as_me:12137: checking for size_t" >&5  echo "$as_me:12140: checking for size_t" >&5
12141  echo $ECHO_N "checking for size_t... $ECHO_C" >&6  echo $ECHO_N "checking for size_t... $ECHO_C" >&6
12142  if test "${ac_cv_type_size_t+set}" = set; then  if test "${ac_cv_type_size_t+set}" = set; then
12143    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
12144  else  else
12145    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
12146  #line 12143 "configure"  #line 12146 "configure"
12147  #include "confdefs.h"  #include "confdefs.h"
12148  $ac_includes_default  $ac_includes_default
12149  int  int
# Line 12155  if (sizeof (size_t)) Line 12158  if (sizeof (size_t))
12158  }  }
12159  _ACEOF  _ACEOF
12160  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
12161  if { (eval echo "$as_me:12158: \"$ac_compile\"") >&5  if { (eval echo "$as_me:12161: \"$ac_compile\"") >&5
12162    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
12163    ac_status=$?    ac_status=$?
12164    echo "$as_me:12161: \$? = $ac_status" >&5    echo "$as_me:12164: \$? = $ac_status" >&5
12165    (exit $ac_status); } &&    (exit $ac_status); } &&
12166           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
12167    { (eval echo "$as_me:12164: \"$ac_try\"") >&5    { (eval echo "$as_me:12167: \"$ac_try\"") >&5
12168    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
12169    ac_status=$?    ac_status=$?
12170    echo "$as_me:12167: \$? = $ac_status" >&5    echo "$as_me:12170: \$? = $ac_status" >&5
12171    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
12172    ac_cv_type_size_t=yes    ac_cv_type_size_t=yes
12173  else  else
# Line 12174  ac_cv_type_size_t=no Line 12177  ac_cv_type_size_t=no
12177  fi  fi
12178  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
12179  fi  fi
12180  echo "$as_me:12177: result: $ac_cv_type_size_t" >&5  echo "$as_me:12180: result: $ac_cv_type_size_t" >&5
12181  echo "${ECHO_T}$ac_cv_type_size_t" >&6  echo "${ECHO_T}$ac_cv_type_size_t" >&6
12182  if test $ac_cv_type_size_t = yes; then  if test $ac_cv_type_size_t = yes; then
12183    :    :
# Line 12194  CPPFLAGS="$REAL_CPPFLAGS" Line 12197  CPPFLAGS="$REAL_CPPFLAGS"
12197  version=`grep 'defconst[         ]*emacs-version' ${srcdir}/lisp/version.el \  version=`grep 'defconst[         ]*emacs-version' ${srcdir}/lisp/version.el \
12198           | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`           | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`
12199  if test x"${version}" = x; then  if test x"${version}" = x; then
12200    { { echo "$as_me:12197: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5    { { echo "$as_me:12200: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5
12201  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;}
12202     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
12203  fi  fi
# Line 12323  test "${exec_prefix}" != NONE && Line 12326  test "${exec_prefix}" != NONE &&
12326  ## C preprocessor.  ## C preprocessor.
12327    
12328  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
12329  #line 12326 "configure"  #line 12329 "configure"
12330  #include "confdefs.h"  #include "confdefs.h"
12331  yes..yes  yes..yes
12332  _ACEOF  _ACEOF
# Line 12416  DEFS=-DHAVE_CONFIG_H Line 12419  DEFS=-DHAVE_CONFIG_H
12419  : ${CONFIG_STATUS=./config.status}  : ${CONFIG_STATUS=./config.status}
12420  ac_clean_files_save=$ac_clean_files  ac_clean_files_save=$ac_clean_files
12421  ac_clean_files="$ac_clean_files $CONFIG_STATUS"  ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12422  { echo "$as_me:12419: creating $CONFIG_STATUS" >&5  { echo "$as_me:12422: creating $CONFIG_STATUS" >&5
12423  echo "$as_me: creating $CONFIG_STATUS" >&6;}  echo "$as_me: creating $CONFIG_STATUS" >&6;}
12424  cat >$CONFIG_STATUS <<_ACEOF  cat >$CONFIG_STATUS <<_ACEOF
12425  #! $SHELL  #! $SHELL
# Line 12592  cat >>$CONFIG_STATUS <<\EOF Line 12595  cat >>$CONFIG_STATUS <<\EOF
12595      echo "$ac_cs_version"; exit 0 ;;      echo "$ac_cs_version"; exit 0 ;;
12596    --he | --h)    --he | --h)
12597      # Conflict between --help and --header      # Conflict between --help and --header
12598      { { echo "$as_me:12595: error: ambiguous option: $1      { { echo "$as_me:12598: error: ambiguous option: $1
12599  Try \`$0 --help' for more information." >&5  Try \`$0 --help' for more information." >&5
12600  echo "$as_me: error: ambiguous option: $1  echo "$as_me: error: ambiguous option: $1
12601  Try \`$0 --help' for more information." >&2;}  Try \`$0 --help' for more information." >&2;}
# Line 12611  Try \`$0 --help' for more information." Line 12614  Try \`$0 --help' for more information."
12614      ac_need_defaults=false;;      ac_need_defaults=false;;
12615    
12616    # This is an error.    # This is an error.
12617    -*) { { echo "$as_me:12614: error: unrecognized option: $1    -*) { { echo "$as_me:12617: error: unrecognized option: $1
12618  Try \`$0 --help' for more information." >&5  Try \`$0 --help' for more information." >&5
12619  echo "$as_me: error: unrecognized option: $1  echo "$as_me: error: unrecognized option: $1
12620  Try \`$0 --help' for more information." >&2;}  Try \`$0 --help' for more information." >&2;}
# Line 12665  do Line 12668  do
12668    "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;;    "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;;
12669    "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;    "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
12670    "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" ;;
12671    *) { { echo "$as_me:12668: error: invalid argument: $ac_config_target" >&5    *) { { echo "$as_me:12671: error: invalid argument: $ac_config_target" >&5
12672  echo "$as_me: error: invalid argument: $ac_config_target" >&2;}  echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12673     { (exit 1); exit 1; }; };;     { (exit 1); exit 1; }; };;
12674    esac    esac
# Line 12912  done; } Line 12915  done; }
12915    esac    esac
12916    
12917    if test x"$ac_file" != x-; then    if test x"$ac_file" != x-; then
12918      { echo "$as_me:12915: creating $ac_file" >&5      { echo "$as_me:12918: creating $ac_file" >&5
12919  echo "$as_me: creating $ac_file" >&6;}  echo "$as_me: creating $ac_file" >&6;}
12920      rm -f "$ac_file"      rm -f "$ac_file"
12921    fi    fi
# Line 12930  echo "$as_me: creating $ac_file" >&6;} Line 12933  echo "$as_me: creating $ac_file" >&6;}
12933        -) echo $tmp/stdin ;;        -) echo $tmp/stdin ;;
12934        [\\/$]*)        [\\/$]*)
12935           # Absolute (can't be DOS-style, as IFS=:)           # Absolute (can't be DOS-style, as IFS=:)
12936           test -f "$f" || { { echo "$as_me:12933: error: cannot find input file: $f" >&5           test -f "$f" || { { echo "$as_me:12936: error: cannot find input file: $f" >&5
12937  echo "$as_me: error: cannot find input file: $f" >&2;}  echo "$as_me: error: cannot find input file: $f" >&2;}
12938     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
12939           echo $f;;           echo $f;;
# Line 12943  echo "$as_me: error: cannot find input f Line 12946  echo "$as_me: error: cannot find input f
12946             echo $srcdir/$f             echo $srcdir/$f
12947           else           else
12948             # /dev/null tree             # /dev/null tree
12949             { { echo "$as_me:12946: error: cannot find input file: $f" >&5             { { echo "$as_me:12949: error: cannot find input file: $f" >&5
12950  echo "$as_me: error: cannot find input file: $f" >&2;}  echo "$as_me: error: cannot find input file: $f" >&2;}
12951     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
12952           fi;;           fi;;
# Line 13004  for ac_file in : $CONFIG_HEADERS; do tes Line 13007  for ac_file in : $CONFIG_HEADERS; do tes
13007    * )   ac_file_in=$ac_file.in ;;    * )   ac_file_in=$ac_file.in ;;
13008    esac    esac
13009    
13010    test x"$ac_file" != x- && { echo "$as_me:13007: creating $ac_file" >&5    test x"$ac_file" != x- && { echo "$as_me:13010: creating $ac_file" >&5
13011  echo "$as_me: creating $ac_file" >&6;}  echo "$as_me: creating $ac_file" >&6;}
13012    
13013    # 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 13015  echo "$as_me: creating $ac_file" >&6;} Line 13018  echo "$as_me: creating $ac_file" >&6;}
13018        -) echo $tmp/stdin ;;        -) echo $tmp/stdin ;;
13019        [\\/$]*)        [\\/$]*)
13020           # Absolute (can't be DOS-style, as IFS=:)           # Absolute (can't be DOS-style, as IFS=:)
13021           test -f "$f" || { { echo "$as_me:13018: error: cannot find input file: $f" >&5           test -f "$f" || { { echo "$as_me:13021: error: cannot find input file: $f" >&5
13022  echo "$as_me: error: cannot find input file: $f" >&2;}  echo "$as_me: error: cannot find input file: $f" >&2;}
13023     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
13024           echo $f;;           echo $f;;
# Line 13028  echo "$as_me: error: cannot find input f Line 13031  echo "$as_me: error: cannot find input f
13031             echo $srcdir/$f             echo $srcdir/$f
13032           else           else
13033             # /dev/null tree             # /dev/null tree
13034             { { echo "$as_me:13031: error: cannot find input file: $f" >&5             { { echo "$as_me:13034: error: cannot find input file: $f" >&5
13035  echo "$as_me: error: cannot find input file: $f" >&2;}  echo "$as_me: error: cannot find input file: $f" >&2;}
13036     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
13037           fi;;           fi;;
# Line 13145  cat >>$CONFIG_STATUS <<\EOF Line 13148  cat >>$CONFIG_STATUS <<\EOF
13148    rm -f $tmp/in    rm -f $tmp/in
13149    if test x"$ac_file" != x-; then    if test x"$ac_file" != x-; then
13150      if cmp -s $ac_file $tmp/config.h 2>/dev/null; then      if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
13151        { echo "$as_me:13148: $ac_file is unchanged" >&5        { echo "$as_me:13151: $ac_file is unchanged" >&5
13152  echo "$as_me: $ac_file is unchanged" >&6;}  echo "$as_me: $ac_file is unchanged" >&6;}
13153      else      else
13154        ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \        ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \

Legend:
Removed from v.1.66  
changed lines
  Added in v.1.67

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