/[emacs]/emacs/configure
ViewVC logotype

Diff of /emacs/configure

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

revision 1.74 by gerd, Thu Nov 29 12:13:52 2001 UTC revision 1.75 by pj, Sat Dec 8 21:08:03 2001 UTC
# Line 1246  build_cpu=`echo $ac_cv_build | sed 's/^\ Line 1246  build_cpu=`echo $ac_cv_build | sed 's/^\
1246  build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`  build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1247  build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`  build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1248    
1249  echo "$as_me:1249: checking host system type" >&5  test -z "$build_alias" &&
1250      build_alias=$ac_cv_build
1251    
1252    echo "$as_me:1252: checking host system type" >&5
1253  echo $ECHO_N "checking host system type... $ECHO_C" >&6  echo $ECHO_N "checking host system type... $ECHO_C" >&6
1254  if test "${ac_cv_host+set}" = set; then  if test "${ac_cv_host+set}" = set; then
1255    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1255  else Line 1258  else
1258  test -z "$ac_cv_host_alias" &&  test -z "$ac_cv_host_alias" &&
1259    ac_cv_host_alias=$ac_cv_build_alias    ac_cv_host_alias=$ac_cv_build_alias
1260  ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||  ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1261    { { echo "$as_me:1258: error: $ac_config_sub $ac_cv_host_alias failed" >&5    { { echo "$as_me:1261: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1262  echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}  echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1263     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1264    
1265  fi  fi
1266  echo "$as_me:1263: result: $ac_cv_host" >&5  echo "$as_me:1266: result: $ac_cv_host" >&5
1267  echo "${ECHO_T}$ac_cv_host" >&6  echo "${ECHO_T}$ac_cv_host" >&6
1268  host=$ac_cv_host  host=$ac_cv_host
1269  host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`  host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1270  host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`  host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1271  host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`  host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1272    
1273    test -z "$host_alias" &&
1274      host_alias=$ac_cv_host
1275    
1276  canonical=$host  canonical=$host
1277  configuration=${host_alias-$host}  configuration=${host_alias-$host}
1278    
# Line 2218  if test x"${opsys}" = x; then Line 2224  if test x"${opsys}" = x; then
2224  fi  fi
2225    
2226  if test $unported = yes; then  if test $unported = yes; then
2227    { { echo "$as_me:2221: error: Emacs hasn't been ported to \`${canonical}' systems.    { { echo "$as_me:2227: error: Emacs hasn't been ported to \`${canonical}' systems.
2228  Check \`etc/MACHINES' for recognized configuration names." >&5  Check \`etc/MACHINES' for recognized configuration names." >&5
2229  echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems.  echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems.
2230  Check \`etc/MACHINES' for recognized configuration names." >&2;}  Check \`etc/MACHINES' for recognized configuration names." >&2;}
# Line 2247  ac_compiler_gnu=$ac_cv_c_compiler_gnu Line 2253  ac_compiler_gnu=$ac_cv_c_compiler_gnu
2253  if test -n "$ac_tool_prefix"; then  if test -n "$ac_tool_prefix"; then
2254    # 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.
2255  set dummy ${ac_tool_prefix}gcc; ac_word=$2  set dummy ${ac_tool_prefix}gcc; ac_word=$2
2256  echo "$as_me:2250: 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_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
2259    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2262  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_CC="${ac_tool_prefix}gcc"  ac_cv_prog_CC="${ac_tool_prefix}gcc"
2271  echo "$as_me:2265: found $ac_dir/$ac_word" >&5  echo "$as_me:2271: found $ac_dir/$ac_word" >&5
2272  break  break
2273  done  done
2274    
# Line 2270  fi Line 2276  fi
2276  fi  fi
2277  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2278  if test -n "$CC"; then  if test -n "$CC"; then
2279    echo "$as_me:2273: result: $CC" >&5    echo "$as_me:2279: result: $CC" >&5
2280  echo "${ECHO_T}$CC" >&6  echo "${ECHO_T}$CC" >&6
2281  else  else
2282    echo "$as_me:2276: 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 2282  if test -z "$ac_cv_prog_CC"; then Line 2288  if test -z "$ac_cv_prog_CC"; then
2288    ac_ct_CC=$CC    ac_ct_CC=$CC
2289    # 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.
2290  set dummy gcc; ac_word=$2  set dummy gcc; ac_word=$2
2291  echo "$as_me:2285: checking for $ac_word" >&5  echo "$as_me:2291: checking for $ac_word" >&5
2292  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2293  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2294    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2297  for ac_dir in $ac_dummy; do Line 2303  for ac_dir in $ac_dummy; do
2303    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
2304    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
2305  ac_cv_prog_ac_ct_CC="gcc"  ac_cv_prog_ac_ct_CC="gcc"
2306  echo "$as_me:2300: found $ac_dir/$ac_word" >&5  echo "$as_me:2306: found $ac_dir/$ac_word" >&5
2307  break  break
2308  done  done
2309    
# Line 2305  fi Line 2311  fi
2311  fi  fi
2312  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_CC=$ac_cv_prog_ac_ct_CC
2313  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_CC"; then
2314    echo "$as_me:2308: result: $ac_ct_CC" >&5    echo "$as_me:2314: result: $ac_ct_CC" >&5
2315  echo "${ECHO_T}$ac_ct_CC" >&6  echo "${ECHO_T}$ac_ct_CC" >&6
2316  else  else
2317    echo "$as_me:2311: result: no" >&5    echo "$as_me:2317: result: no" >&5
2318  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2319  fi  fi
2320    
# Line 2321  if test -z "$CC"; then Line 2327  if test -z "$CC"; then
2327    if test -n "$ac_tool_prefix"; then    if test -n "$ac_tool_prefix"; then
2328    # 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.
2329  set dummy ${ac_tool_prefix}cc; ac_word=$2  set dummy ${ac_tool_prefix}cc; ac_word=$2
2330  echo "$as_me:2324: 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_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
2333    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2336  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_CC="${ac_tool_prefix}cc"  ac_cv_prog_CC="${ac_tool_prefix}cc"
2345  echo "$as_me:2339: found $ac_dir/$ac_word" >&5  echo "$as_me:2345: found $ac_dir/$ac_word" >&5
2346  break  break
2347  done  done
2348    
# Line 2344  fi Line 2350  fi
2350  fi  fi
2351  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2352  if test -n "$CC"; then  if test -n "$CC"; then
2353    echo "$as_me:2347: result: $CC" >&5    echo "$as_me:2353: result: $CC" >&5
2354  echo "${ECHO_T}$CC" >&6  echo "${ECHO_T}$CC" >&6
2355  else  else
2356    echo "$as_me:2350: 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 2356  if test -z "$ac_cv_prog_CC"; then Line 2362  if test -z "$ac_cv_prog_CC"; then
2362    ac_ct_CC=$CC    ac_ct_CC=$CC
2363    # 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.
2364  set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
2365  echo "$as_me:2359: checking for $ac_word" >&5  echo "$as_me:2365: checking for $ac_word" >&5
2366  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2367  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2368    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2371  for ac_dir in $ac_dummy; do Line 2377  for ac_dir in $ac_dummy; do
2377    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
2378    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
2379  ac_cv_prog_ac_ct_CC="cc"  ac_cv_prog_ac_ct_CC="cc"
2380  echo "$as_me:2374: found $ac_dir/$ac_word" >&5  echo "$as_me:2380: found $ac_dir/$ac_word" >&5
2381  break  break
2382  done  done
2383    
# Line 2379  fi Line 2385  fi
2385  fi  fi
2386  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_CC=$ac_cv_prog_ac_ct_CC
2387  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_CC"; then
2388    echo "$as_me:2382: result: $ac_ct_CC" >&5    echo "$as_me:2388: result: $ac_ct_CC" >&5
2389  echo "${ECHO_T}$ac_ct_CC" >&6  echo "${ECHO_T}$ac_ct_CC" >&6
2390  else  else
2391    echo "$as_me:2385: result: no" >&5    echo "$as_me:2391: result: no" >&5
2392  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2393  fi  fi
2394    
# Line 2395  fi Line 2401  fi
2401  if test -z "$CC"; then  if test -z "$CC"; then
2402    # 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.
2403  set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
2404  echo "$as_me:2398: checking for $ac_word" >&5  echo "$as_me:2404: checking for $ac_word" >&5
2405  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2406  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
2407    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2415  if test "$ac_dir/$ac_word" = "/usr/ucb/c Line 2421  if test "$ac_dir/$ac_word" = "/usr/ucb/c
2421    continue    continue
2422  fi  fi
2423  ac_cv_prog_CC="cc"  ac_cv_prog_CC="cc"
2424  echo "$as_me:2418: found $ac_dir/$ac_word" >&5  echo "$as_me:2424: found $ac_dir/$ac_word" >&5
2425  break  break
2426  done  done
2427    
# Line 2437  fi Line 2443  fi
2443  fi  fi
2444  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2445  if test -n "$CC"; then  if test -n "$CC"; then
2446    echo "$as_me:2440: result: $CC" >&5    echo "$as_me:2446: result: $CC" >&5
2447  echo "${ECHO_T}$CC" >&6  echo "${ECHO_T}$CC" >&6
2448  else  else
2449    echo "$as_me:2443: result: no" >&5    echo "$as_me:2449: result: no" >&5
2450  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2451  fi  fi
2452    
# Line 2451  if test -z "$CC"; then Line 2457  if test -z "$CC"; then
2457    do    do
2458      # 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.
2459  set dummy $ac_tool_prefix$ac_prog; ac_word=$2  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2460  echo "$as_me:2454: checking for $ac_word" >&5  echo "$as_me:2460: checking for $ac_word" >&5
2461  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2462  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
2463    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2466  for ac_dir in $ac_dummy; do Line 2472  for ac_dir in $ac_dummy; do
2472    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
2473    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
2474  ac_cv_prog_CC="$ac_tool_prefix$ac_prog"  ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2475  echo "$as_me:2469: found $ac_dir/$ac_word" >&5  echo "$as_me:2475: found $ac_dir/$ac_word" >&5
2476  break  break
2477  done  done
2478    
# Line 2474  fi Line 2480  fi
2480  fi  fi
2481  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2482  if test -n "$CC"; then  if test -n "$CC"; then
2483    echo "$as_me:2477: result: $CC" >&5    echo "$as_me:2483: result: $CC" >&5
2484  echo "${ECHO_T}$CC" >&6  echo "${ECHO_T}$CC" >&6
2485  else  else
2486    echo "$as_me:2480: result: no" >&5    echo "$as_me:2486: result: no" >&5
2487  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2488  fi  fi
2489    
# Line 2490  if test -z "$CC"; then Line 2496  if test -z "$CC"; then
2496  do  do
2497    # 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.
2498  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
2499  echo "$as_me:2493: checking for $ac_word" >&5  echo "$as_me:2499: checking for $ac_word" >&5
2500  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2501  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2502    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2505  for ac_dir in $ac_dummy; do Line 2511  for ac_dir in $ac_dummy; do
2511    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
2512    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
2513  ac_cv_prog_ac_ct_CC="$ac_prog"  ac_cv_prog_ac_ct_CC="$ac_prog"
2514  echo "$as_me:2508: found $ac_dir/$ac_word" >&5  echo "$as_me:2514: found $ac_dir/$ac_word" >&5
2515  break  break
2516  done  done
2517    
# Line 2513  fi Line 2519  fi
2519  fi  fi
2520  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_CC=$ac_cv_prog_ac_ct_CC
2521  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_CC"; then
2522    echo "$as_me:2516: result: $ac_ct_CC" >&5    echo "$as_me:2522: result: $ac_ct_CC" >&5
2523  echo "${ECHO_T}$ac_ct_CC" >&6  echo "${ECHO_T}$ac_ct_CC" >&6
2524  else  else
2525    echo "$as_me:2519: result: no" >&5    echo "$as_me:2525: result: no" >&5
2526  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2527  fi  fi
2528    
# Line 2528  fi Line 2534  fi
2534    
2535  fi  fi
2536    
2537  test -z "$CC" && { { echo "$as_me:2531: error: no acceptable cc found in \$PATH" >&5  test -z "$CC" && { { echo "$as_me:2537: error: no acceptable cc found in \$PATH" >&5
2538  echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}  echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2539     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
2540    
2541  # Provide some information about the compiler.  # Provide some information about the compiler.
2542  echo "$as_me:2536:" \  echo "$as_me:2542:" \
2543       "checking for C compiler version" >&5       "checking for C compiler version" >&5
2544  ac_compiler=`set X $ac_compile; echo $2`  ac_compiler=`set X $ac_compile; echo $2`
2545  { (eval echo "$as_me:2539: \"$ac_compiler --version </dev/null >&5\"") >&5  { (eval echo "$as_me:2545: \"$ac_compiler --version </dev/null >&5\"") >&5
2546    (eval $ac_compiler --version </dev/null >&5) 2>&5    (eval $ac_compiler --version </dev/null >&5) 2>&5
2547    ac_status=$?    ac_status=$?
2548    echo "$as_me:2542: \$? = $ac_status" >&5    echo "$as_me:2548: \$? = $ac_status" >&5
2549    (exit $ac_status); }    (exit $ac_status); }
2550  { (eval echo "$as_me:2544: \"$ac_compiler -v </dev/null >&5\"") >&5  { (eval echo "$as_me:2550: \"$ac_compiler -v </dev/null >&5\"") >&5
2551    (eval $ac_compiler -v </dev/null >&5) 2>&5    (eval $ac_compiler -v </dev/null >&5) 2>&5
2552    ac_status=$?    ac_status=$?
2553    echo "$as_me:2547: \$? = $ac_status" >&5    echo "$as_me:2553: \$? = $ac_status" >&5
2554    (exit $ac_status); }    (exit $ac_status); }
2555  { (eval echo "$as_me:2549: \"$ac_compiler -V </dev/null >&5\"") >&5  { (eval echo "$as_me:2555: \"$ac_compiler -V </dev/null >&5\"") >&5
2556    (eval $ac_compiler -V </dev/null >&5) 2>&5    (eval $ac_compiler -V </dev/null >&5) 2>&5
2557    ac_status=$?    ac_status=$?
2558    echo "$as_me:2552: \$? = $ac_status" >&5    echo "$as_me:2558: \$? = $ac_status" >&5
2559    (exit $ac_status); }    (exit $ac_status); }
2560    
2561  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
2562  #line 2556 "configure"  #line 2562 "configure"
2563  #include "confdefs.h"  #include "confdefs.h"
2564    
2565  int  int
# Line 2569  ac_clean_files="$ac_clean_files a.out a. Line 2575  ac_clean_files="$ac_clean_files a.out a.
2575  # Try to create an executable without -o first, disregard a.out.  # Try to create an executable without -o first, disregard a.out.
2576  # It will help us diagnose broken compilers, and finding out an intuition  # It will help us diagnose broken compilers, and finding out an intuition
2577  # of exeext.  # of exeext.
2578  echo "$as_me:2572: checking for C compiler default output" >&5  echo "$as_me:2578: checking for C compiler default output" >&5
2579  echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6  echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2580  ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`  ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2581  if { (eval echo "$as_me:2575: \"$ac_link_default\"") >&5  if { (eval echo "$as_me:2581: \"$ac_link_default\"") >&5
2582    (eval $ac_link_default) 2>&5    (eval $ac_link_default) 2>&5
2583    ac_status=$?    ac_status=$?
2584    echo "$as_me:2578: \$? = $ac_status" >&5    echo "$as_me:2584: \$? = $ac_status" >&5
2585    (exit $ac_status); }; then    (exit $ac_status); }; then
2586    # Find the output, starting from the most likely.  This scheme is    # Find the output, starting from the most likely.  This scheme is
2587  # 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 2598  done Line 2604  done
2604  else  else
2605    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2606  cat conftest.$ac_ext >&5  cat conftest.$ac_ext >&5
2607  { { echo "$as_me:2601: error: C compiler cannot create executables" >&5  { { echo "$as_me:2607: error: C compiler cannot create executables" >&5
2608  echo "$as_me: error: C compiler cannot create executables" >&2;}  echo "$as_me: error: C compiler cannot create executables" >&2;}
2609     { (exit 77); exit 77; }; }     { (exit 77); exit 77; }; }
2610  fi  fi
2611    
2612  ac_exeext=$ac_cv_exeext  ac_exeext=$ac_cv_exeext
2613  echo "$as_me:2607: result: $ac_file" >&5  echo "$as_me:2613: result: $ac_file" >&5
2614  echo "${ECHO_T}$ac_file" >&6  echo "${ECHO_T}$ac_file" >&6
2615    
2616  # Check the compiler produces executables we can run.  If not, either  # Check the compiler produces executables we can run.  If not, either
2617  # the compiler is broken, or we cross compile.  # the compiler is broken, or we cross compile.
2618  echo "$as_me:2612: checking whether the C compiler works" >&5  echo "$as_me:2618: checking whether the C compiler works" >&5
2619  echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6  echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2620  # FIXME: These cross compiler hacks should be removed for Autoconf 3.0  # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2621  # If not cross compiling, check that we can run a simple program.  # If not cross compiling, check that we can run a simple program.
2622  if test "$cross_compiling" != yes; then  if test "$cross_compiling" != yes; then
2623    if { ac_try='./$ac_file'    if { ac_try='./$ac_file'
2624    { (eval echo "$as_me:2618: \"$ac_try\"") >&5    { (eval echo "$as_me:2624: \"$ac_try\"") >&5
2625    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2626    ac_status=$?    ac_status=$?
2627    echo "$as_me:2621: \$? = $ac_status" >&5    echo "$as_me:2627: \$? = $ac_status" >&5
2628    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2629      cross_compiling=no      cross_compiling=no
2630    else    else
2631      if test "$cross_compiling" = maybe; then      if test "$cross_compiling" = maybe; then
2632          cross_compiling=yes          cross_compiling=yes
2633      else      else
2634          { { echo "$as_me:2628: error: cannot run C compiled programs.          { { echo "$as_me:2634: error: cannot run C compiled programs.
2635  If you meant to cross compile, use \`--host'." >&5  If you meant to cross compile, use \`--host'." >&5
2636  echo "$as_me: error: cannot run C compiled programs.  echo "$as_me: error: cannot run C compiled programs.
2637  If you meant to cross compile, use \`--host'." >&2;}  If you meant to cross compile, use \`--host'." >&2;}
# Line 2633  If you meant to cross compile, use \`--h Line 2639  If you meant to cross compile, use \`--h
2639      fi      fi
2640    fi    fi
2641  fi  fi
2642  echo "$as_me:2636: result: yes" >&5  echo "$as_me:2642: result: yes" >&5
2643  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
2644    
2645  rm -f a.out a.exe conftest$ac_cv_exeext  rm -f a.out a.exe conftest$ac_cv_exeext
2646  ac_clean_files=$ac_clean_files_save  ac_clean_files=$ac_clean_files_save
2647  # Check the compiler produces executables we can run.  If not, either  # Check the compiler produces executables we can run.  If not, either
2648  # the compiler is broken, or we cross compile.  # the compiler is broken, or we cross compile.
2649  echo "$as_me:2643: checking whether we are cross compiling" >&5  echo "$as_me:2649: checking whether we are cross compiling" >&5
2650  echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6  echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2651  echo "$as_me:2645: result: $cross_compiling" >&5  echo "$as_me:2651: result: $cross_compiling" >&5
2652  echo "${ECHO_T}$cross_compiling" >&6  echo "${ECHO_T}$cross_compiling" >&6
2653    
2654  echo "$as_me:2648: checking for executable suffix" >&5  echo "$as_me:2654: checking for executable suffix" >&5
2655  echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6  echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
2656  if { (eval echo "$as_me:2650: \"$ac_link\"") >&5  if { (eval echo "$as_me:2656: \"$ac_link\"") >&5
2657    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
2658    ac_status=$?    ac_status=$?
2659    echo "$as_me:2653: \$? = $ac_status" >&5    echo "$as_me:2659: \$? = $ac_status" >&5
2660    (exit $ac_status); }; then    (exit $ac_status); }; then
2661    # If both `conftest.exe' and `conftest' are `present' (well, observable)    # If both `conftest.exe' and `conftest' are `present' (well, observable)
2662  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
# Line 2666  for ac_file in `(ls conftest.exe; ls con Line 2672  for ac_file in `(ls conftest.exe; ls con
2672    esac    esac
2673  done  done
2674  else  else
2675    { { echo "$as_me:2669: error: cannot compute EXEEXT: cannot compile and link" >&5    { { echo "$as_me:2675: error: cannot compute EXEEXT: cannot compile and link" >&5
2676  echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}  echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
2677     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
2678  fi  fi
2679    
2680  rm -f conftest$ac_cv_exeext  rm -f conftest$ac_cv_exeext
2681  echo "$as_me:2675: result: $ac_cv_exeext" >&5  echo "$as_me:2681: result: $ac_cv_exeext" >&5
2682  echo "${ECHO_T}$ac_cv_exeext" >&6  echo "${ECHO_T}$ac_cv_exeext" >&6
2683    
2684  rm -f conftest.$ac_ext  rm -f conftest.$ac_ext
2685  EXEEXT=$ac_cv_exeext  EXEEXT=$ac_cv_exeext
2686  ac_exeext=$EXEEXT  ac_exeext=$EXEEXT
2687  echo "$as_me:2681: checking for object suffix" >&5  echo "$as_me:2687: checking for object suffix" >&5
2688  echo $ECHO_N "checking for object suffix... $ECHO_C" >&6  echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
2689  if test "${ac_cv_objext+set}" = set; then  if test "${ac_cv_objext+set}" = set; then
2690    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2691  else  else
2692    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2693  #line 2687 "configure"  #line 2693 "configure"
2694  #include "confdefs.h"  #include "confdefs.h"
2695    
2696  int  int
# Line 2696  main () Line 2702  main ()
2702  }  }
2703  _ACEOF  _ACEOF
2704  rm -f conftest.o conftest.obj  rm -f conftest.o conftest.obj
2705  if { (eval echo "$as_me:2699: \"$ac_compile\"") >&5  if { (eval echo "$as_me:2705: \"$ac_compile\"") >&5
2706    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2707    ac_status=$?    ac_status=$?
2708    echo "$as_me:2702: \$? = $ac_status" >&5    echo "$as_me:2708: \$? = $ac_status" >&5
2709    (exit $ac_status); }; then    (exit $ac_status); }; then
2710    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
2711    case $ac_file in    case $ac_file in
# Line 2711  done Line 2717  done
2717  else  else
2718    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2719  cat conftest.$ac_ext >&5  cat conftest.$ac_ext >&5
2720  { { echo "$as_me:2714: error: cannot compute OBJEXT: cannot compile" >&5  { { echo "$as_me:2720: error: cannot compute OBJEXT: cannot compile" >&5
2721  echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}  echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
2722     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
2723  fi  fi
2724    
2725  rm -f conftest.$ac_cv_objext conftest.$ac_ext  rm -f conftest.$ac_cv_objext conftest.$ac_ext
2726  fi  fi
2727  echo "$as_me:2721: result: $ac_cv_objext" >&5  echo "$as_me:2727: result: $ac_cv_objext" >&5
2728  echo "${ECHO_T}$ac_cv_objext" >&6  echo "${ECHO_T}$ac_cv_objext" >&6
2729  OBJEXT=$ac_cv_objext  OBJEXT=$ac_cv_objext
2730  ac_objext=$OBJEXT  ac_objext=$OBJEXT
2731  echo "$as_me:2725: checking whether we are using the GNU C compiler" >&5  echo "$as_me:2731: checking whether we are using the GNU C compiler" >&5
2732  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
2733  if test "${ac_cv_c_compiler_gnu+set}" = set; then  if test "${ac_cv_c_compiler_gnu+set}" = set; then
2734    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2735  else  else
2736    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2737  #line 2731 "configure"  #line 2737 "configure"
2738  #include "confdefs.h"  #include "confdefs.h"
2739    
2740  int  int
# Line 2743  main () Line 2749  main ()
2749  }  }
2750  _ACEOF  _ACEOF
2751  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2752  if { (eval echo "$as_me:2746: \"$ac_compile\"") >&5  if { (eval echo "$as_me:2752: \"$ac_compile\"") >&5
2753    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2754    ac_status=$?    ac_status=$?
2755    echo "$as_me:2749: \$? = $ac_status" >&5    echo "$as_me:2755: \$? = $ac_status" >&5
2756    (exit $ac_status); } &&    (exit $ac_status); } &&
2757           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
2758    { (eval echo "$as_me:2752: \"$ac_try\"") >&5    { (eval echo "$as_me:2758: \"$ac_try\"") >&5
2759    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2760    ac_status=$?    ac_status=$?
2761    echo "$as_me:2755: \$? = $ac_status" >&5    echo "$as_me:2761: \$? = $ac_status" >&5
2762    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2763    ac_compiler_gnu=yes    ac_compiler_gnu=yes
2764  else  else
# Line 2764  rm -f conftest.$ac_objext conftest.$ac_e Line 2770  rm -f conftest.$ac_objext conftest.$ac_e
2770  ac_cv_c_compiler_gnu=$ac_compiler_gnu  ac_cv_c_compiler_gnu=$ac_compiler_gnu
2771    
2772  fi  fi
2773  echo "$as_me:2767: result: $ac_cv_c_compiler_gnu" >&5  echo "$as_me:2773: result: $ac_cv_c_compiler_gnu" >&5
2774  echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6  echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2775  GCC=`test $ac_compiler_gnu = yes && echo yes`  GCC=`test $ac_compiler_gnu = yes && echo yes`
2776  ac_test_CFLAGS=${CFLAGS+set}  ac_test_CFLAGS=${CFLAGS+set}
2777  ac_save_CFLAGS=$CFLAGS  ac_save_CFLAGS=$CFLAGS
2778  CFLAGS="-g"  CFLAGS="-g"
2779  echo "$as_me:2773: checking whether $CC accepts -g" >&5  echo "$as_me:2779: checking whether $CC accepts -g" >&5
2780  echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6  echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2781  if test "${ac_cv_prog_cc_g+set}" = set; then  if test "${ac_cv_prog_cc_g+set}" = set; then
2782    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2783  else  else
2784    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2785  #line 2779 "configure"  #line 2785 "configure"
2786  #include "confdefs.h"  #include "confdefs.h"
2787    
2788  int  int
# Line 2788  main () Line 2794  main ()
2794  }  }
2795  _ACEOF  _ACEOF
2796  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2797  if { (eval echo "$as_me:2791: \"$ac_compile\"") >&5  if { (eval echo "$as_me:2797: \"$ac_compile\"") >&5
2798    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2799    ac_status=$?    ac_status=$?
2800    echo "$as_me:2794: \$? = $ac_status" >&5    echo "$as_me:2800: \$? = $ac_status" >&5
2801    (exit $ac_status); } &&    (exit $ac_status); } &&
2802           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
2803    { (eval echo "$as_me:2797: \"$ac_try\"") >&5    { (eval echo "$as_me:2803: \"$ac_try\"") >&5
2804    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2805    ac_status=$?    ac_status=$?
2806    echo "$as_me:2800: \$? = $ac_status" >&5    echo "$as_me:2806: \$? = $ac_status" >&5
2807    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2808    ac_cv_prog_cc_g=yes    ac_cv_prog_cc_g=yes
2809  else  else
# Line 2807  ac_cv_prog_cc_g=no Line 2813  ac_cv_prog_cc_g=no
2813  fi  fi
2814  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
2815  fi  fi
2816  echo "$as_me:2810: result: $ac_cv_prog_cc_g" >&5  echo "$as_me:2816: result: $ac_cv_prog_cc_g" >&5
2817  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2818  if test "$ac_test_CFLAGS" = set; then  if test "$ac_test_CFLAGS" = set; then
2819    CFLAGS=$ac_save_CFLAGS    CFLAGS=$ac_save_CFLAGS
# Line 2834  cat >conftest.$ac_ext <<_ACEOF Line 2840  cat >conftest.$ac_ext <<_ACEOF
2840  #endif  #endif
2841  _ACEOF  _ACEOF
2842  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2843  if { (eval echo "$as_me:2837: \"$ac_compile\"") >&5  if { (eval echo "$as_me:2843: \"$ac_compile\"") >&5
2844    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2845    ac_status=$?    ac_status=$?
2846    echo "$as_me:2840: \$? = $ac_status" >&5    echo "$as_me:2846: \$? = $ac_status" >&5
2847    (exit $ac_status); } &&    (exit $ac_status); } &&
2848           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
2849    { (eval echo "$as_me:2843: \"$ac_try\"") >&5    { (eval echo "$as_me:2849: \"$ac_try\"") >&5
2850    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2851    ac_status=$?    ac_status=$?
2852    echo "$as_me:2846: \$? = $ac_status" >&5    echo "$as_me:2852: \$? = $ac_status" >&5
2853    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2854    for ac_declaration in \    for ac_declaration in \
2855     ''\     ''\
# Line 2855  if { (eval echo "$as_me:2837: \"$ac_comp Line 2861  if { (eval echo "$as_me:2837: \"$ac_comp
2861     'void exit (int);'     'void exit (int);'
2862  do  do
2863    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2864  #line 2858 "configure"  #line 2864 "configure"
2865  #include "confdefs.h"  #include "confdefs.h"
2866  #include <stdlib.h>  #include <stdlib.h>
2867  $ac_declaration  $ac_declaration
# Line 2868  exit (42); Line 2874  exit (42);
2874  }  }
2875  _ACEOF  _ACEOF
2876  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2877  if { (eval echo "$as_me:2871: \"$ac_compile\"") >&5  if { (eval echo "$as_me:2877: \"$ac_compile\"") >&5
2878    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2879    ac_status=$?    ac_status=$?
2880    echo "$as_me:2874: \$? = $ac_status" >&5    echo "$as_me:2880: \$? = $ac_status" >&5
2881    (exit $ac_status); } &&    (exit $ac_status); } &&
2882           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
2883    { (eval echo "$as_me:2877: \"$ac_try\"") >&5    { (eval echo "$as_me:2883: \"$ac_try\"") >&5
2884    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2885    ac_status=$?    ac_status=$?
2886    echo "$as_me:2880: \$? = $ac_status" >&5    echo "$as_me:2886: \$? = $ac_status" >&5
2887    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2888    :    :
2889  else  else
# Line 2887  continue Line 2893  continue
2893  fi  fi
2894  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
2895    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2896  #line 2890 "configure"  #line 2896 "configure"
2897  #include "confdefs.h"  #include "confdefs.h"
2898  $ac_declaration  $ac_declaration
2899  int  int
# Line 2899  exit (42); Line 2905  exit (42);
2905  }  }
2906  _ACEOF  _ACEOF
2907  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2908  if { (eval echo "$as_me:2902: \"$ac_compile\"") >&5  if { (eval echo "$as_me:2908: \"$ac_compile\"") >&5
2909    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2910    ac_status=$?    ac_status=$?
2911    echo "$as_me:2905: \$? = $ac_status" >&5    echo "$as_me:2911: \$? = $ac_status" >&5
2912    (exit $ac_status); } &&    (exit $ac_status); } &&
2913           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
2914    { (eval echo "$as_me:2908: \"$ac_try\"") >&5    { (eval echo "$as_me:2914: \"$ac_try\"") >&5
2915    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2916    ac_status=$?    ac_status=$?
2917    echo "$as_me:2911: \$? = $ac_status" >&5    echo "$as_me:2917: \$? = $ac_status" >&5
2918    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2919    break    break
2920  else  else
# Line 2981  fi Line 2987  fi
2987  #### 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
2988  #### #undef clause to src/config.h.in for autoconf to modify.  #### #undef clause to src/config.h.in for autoconf to modify.
2989    
2990  echo "$as_me:2984: checking whether ln -s works" >&5  echo "$as_me:2990: checking whether ln -s works" >&5
2991  echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6  echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2992  LN_S=$as_ln_s  LN_S=$as_ln_s
2993  if test "$LN_S" = "ln -s"; then  if test "$LN_S" = "ln -s"; then
2994    echo "$as_me:2988: result: yes" >&5    echo "$as_me:2994: result: yes" >&5
2995  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
2996  else  else
2997    echo "$as_me:2991: result: no, using $LN_S" >&5    echo "$as_me:2997: result: no, using $LN_S" >&5
2998  echo "${ECHO_T}no, using $LN_S" >&6  echo "${ECHO_T}no, using $LN_S" >&6
2999  fi  fi
3000    
# Line 2997  ac_cpp='$CPP $CPPFLAGS' Line 3003  ac_cpp='$CPP $CPPFLAGS'
3003  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3004  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'
3005  ac_compiler_gnu=$ac_cv_c_compiler_gnu  ac_compiler_gnu=$ac_cv_c_compiler_gnu
3006  echo "$as_me:3000: checking how to run the C preprocessor" >&5  echo "$as_me:3006: checking how to run the C preprocessor" >&5
3007  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
3008  # On Suns, sometimes $CPP names a directory.  # On Suns, sometimes $CPP names a directory.
3009  if test -n "$CPP" && test -d "$CPP"; then  if test -n "$CPP" && test -d "$CPP"; then
# Line 3018  do Line 3024  do
3024    # 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,
3025    # not just through cpp. "Syntax error" is here to catch this case.    # not just through cpp. "Syntax error" is here to catch this case.
3026    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3027  #line 3021 "configure"  #line 3027 "configure"
3028  #include "confdefs.h"  #include "confdefs.h"
3029  #include <assert.h>  #include <assert.h>
3030                       Syntax error                       Syntax error
3031  _ACEOF  _ACEOF
3032  if { (eval echo "$as_me:3026: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:3032: \"$ac_cpp conftest.$ac_ext\"") >&5
3033    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3034    ac_status=$?    ac_status=$?
3035    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
3036    rm -f conftest.er1    rm -f conftest.er1
3037    cat conftest.err >&5    cat conftest.err >&5
3038    echo "$as_me:3032: \$? = $ac_status" >&5    echo "$as_me:3038: \$? = $ac_status" >&5
3039    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3040    if test -s conftest.err; then    if test -s conftest.err; then
3041      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 3052  rm -f conftest.err conftest.$ac_ext Line 3058  rm -f conftest.err conftest.$ac_ext
3058    # OK, works on sane cases.  Now check whether non-existent headers    # OK, works on sane cases.  Now check whether non-existent headers
3059    # can be detected and how.    # can be detected and how.
3060    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3061  #line 3055 "configure"  #line 3061 "configure"
3062  #include "confdefs.h"  #include "confdefs.h"
3063  #include <ac_nonexistent.h>  #include <ac_nonexistent.h>
3064  _ACEOF  _ACEOF
3065  if { (eval echo "$as_me:3059: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:3065: \"$ac_cpp conftest.$ac_ext\"") >&5
3066    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3067    ac_status=$?    ac_status=$?
3068    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
3069    rm -f conftest.er1    rm -f conftest.er1
3070    cat conftest.err >&5    cat conftest.err >&5
3071    echo "$as_me:3065: \$? = $ac_status" >&5    echo "$as_me:3071: \$? = $ac_status" >&5
3072    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3073    if test -s conftest.err; then    if test -s conftest.err; then
3074      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 3099  fi Line 3105  fi
3105  else  else
3106    ac_cv_prog_CPP=$CPP    ac_cv_prog_CPP=$CPP
3107  fi  fi
3108  echo "$as_me:3102: result: $CPP" >&5  echo "$as_me:3108: result: $CPP" >&5
3109  echo "${ECHO_T}$CPP" >&6  echo "${ECHO_T}$CPP" >&6
3110  ac_preproc_ok=false  ac_preproc_ok=false
3111  for ac_c_preproc_warn_flag in '' yes  for ac_c_preproc_warn_flag in '' yes
# Line 3109  do Line 3115  do
3115    # 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,
3116    # not just through cpp. "Syntax error" is here to catch this case.    # not just through cpp. "Syntax error" is here to catch this case.
3117    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3118  #line 3112 "configure"  #line 3118 "configure"
3119  #include "confdefs.h"  #include "confdefs.h"
3120  #include <assert.h>  #include <assert.h>
3121                       Syntax error                       Syntax error
3122  _ACEOF  _ACEOF
3123  if { (eval echo "$as_me:3117: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:3123: \"$ac_cpp conftest.$ac_ext\"") >&5
3124    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3125    ac_status=$?    ac_status=$?
3126    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
3127    rm -f conftest.er1    rm -f conftest.er1
3128    cat conftest.err >&5    cat conftest.err >&5
3129    echo "$as_me:3123: \$? = $ac_status" >&5    echo "$as_me:3129: \$? = $ac_status" >&5
3130    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3131    if test -s conftest.err; then    if test -s conftest.err; then
3132      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 3143  rm -f conftest.err conftest.$ac_ext Line 3149  rm -f conftest.err conftest.$ac_ext
3149    # OK, works on sane cases.  Now check whether non-existent headers    # OK, works on sane cases.  Now check whether non-existent headers
3150    # can be detected and how.    # can be detected and how.
3151    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3152  #line 3146 "configure"  #line 3152 "configure"
3153  #include "confdefs.h"  #include "confdefs.h"
3154  #include <ac_nonexistent.h>  #include <ac_nonexistent.h>
3155  _ACEOF  _ACEOF
3156  if { (eval echo "$as_me:3150: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:3156: \"$ac_cpp conftest.$ac_ext\"") >&5
3157    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3158    ac_status=$?    ac_status=$?
3159    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
3160    rm -f conftest.er1    rm -f conftest.er1
3161    cat conftest.err >&5    cat conftest.err >&5
3162    echo "$as_me:3156: \$? = $ac_status" >&5    echo "$as_me:3162: \$? = $ac_status" >&5
3163    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3164    if test -s conftest.err; then    if test -s conftest.err; then
3165      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 3181  rm -f conftest.err conftest.$ac_ext Line 3187  rm -f conftest.err conftest.$ac_ext
3187  if $ac_preproc_ok; then  if $ac_preproc_ok; then
3188    :    :
3189  else  else
3190    { { echo "$as_me:3184: error: C preprocessor \"$CPP\" fails sanity check" >&5    { { echo "$as_me:3190: error: C preprocessor \"$CPP\" fails sanity check" >&5
3191  echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}  echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
3192     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3193  fi  fi
# Line 3204  ac_compiler_gnu=$ac_cv_c_compiler_gnu Line 3210  ac_compiler_gnu=$ac_cv_c_compiler_gnu
3210  # AFS /usr/afsws/bin/install, which mishandles nonexistent args  # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3211  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3212  # ./install, which can be erroneously created by make from ./install.sh.  # ./install, which can be erroneously created by make from ./install.sh.
3213  echo "$as_me:3207: checking for a BSD compatible install" >&5  echo "$as_me:3213: checking for a BSD compatible install" >&5
3214  echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6  echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
3215  if test -z "$INSTALL"; then  if test -z "$INSTALL"; then
3216  if test "${ac_cv_path_install+set}" = set; then  if test "${ac_cv_path_install+set}" = set; then
# Line 3253  fi Line 3259  fi
3259      INSTALL=$ac_install_sh      INSTALL=$ac_install_sh
3260    fi    fi
3261  fi  fi
3262  echo "$as_me:3256: result: $INSTALL" >&5  echo "$as_me:3262: result: $INSTALL" >&5
3263  echo "${ECHO_T}$INSTALL" >&6  echo "${ECHO_T}$INSTALL" >&6
3264    
3265  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
# Line 3268  for ac_prog in 'bison -y' byacc Line 3274  for ac_prog in 'bison -y' byacc
3274  do  do
3275    # 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.
3276  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
3277  echo "$as_me:3271: checking for $ac_word" >&5  echo "$as_me:3277: checking for $ac_word" >&5
3278  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3279  if test "${ac_cv_prog_YACC+set}" = set; then  if test "${ac_cv_prog_YACC+set}" = set; then
3280    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3283  for ac_dir in $ac_dummy; do Line 3289  for ac_dir in $ac_dummy; do
3289    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
3290    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
3291  ac_cv_prog_YACC="$ac_prog"  ac_cv_prog_YACC="$ac_prog"
3292  echo "$as_me:3286: found $ac_dir/$ac_word" >&5  echo "$as_me:3292: found $ac_dir/$ac_word" >&5
3293  break  break
3294  done  done
3295    
# Line 3291  fi Line 3297  fi
3297  fi  fi
3298  YACC=$ac_cv_prog_YACC  YACC=$ac_cv_prog_YACC
3299  if test -n "$YACC"; then  if test -n "$YACC"; then
3300    echo "$as_me:3294: result: $YACC" >&5    echo "$as_me:3300: result: $YACC" >&5
3301  echo "${ECHO_T}$YACC" >&6  echo "${ECHO_T}$YACC" >&6
3302  else  else
3303    echo "$as_me:3297: result: no" >&5    echo "$as_me:3303: result: no" >&5
3304  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
3305  fi  fi
3306    
# Line 3306  if test "x$RANLIB" = x; then Line 3312  if test "x$RANLIB" = x; then
3312    if test -n "$ac_tool_prefix"; then    if test -n "$ac_tool_prefix"; then
3313    # 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.
3314  set dummy ${ac_tool_prefix}ranlib; ac_word=$2  set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3315  echo "$as_me:3309: 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_RANLIB+set}" = set; then  if test "${ac_cv_prog_RANLIB+set}" = set; then
3318    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3321  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_RANLIB="${ac_tool_prefix}ranlib"  ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3330  echo "$as_me:3324: found $ac_dir/$ac_word" >&5  echo "$as_me:3330: found $ac_dir/$ac_word" >&5
3331  break  break
3332  done  done
3333    
# Line 3329  fi Line 3335  fi
3335  fi  fi
3336  RANLIB=$ac_cv_prog_RANLIB  RANLIB=$ac_cv_prog_RANLIB
3337  if test -n "$RANLIB"; then  if test -n "$RANLIB"; then
3338    echo "$as_me:3332: result: $RANLIB" >&5    echo "$as_me:3338: result: $RANLIB" >&5
3339  echo "${ECHO_T}$RANLIB" >&6  echo "${ECHO_T}$RANLIB" >&6
3340  else  else
3341    echo "$as_me:3335: result: no" >&5    echo "$as_me:3341: result: no" >&5
3342  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
3343  fi  fi
3344    
# Line 3341  if test -z "$ac_cv_prog_RANLIB"; then Line 3347  if test -z "$ac_cv_prog_RANLIB"; then
3347    ac_ct_RANLIB=$RANLIB    ac_ct_RANLIB=$RANLIB
3348    # 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.
3349  set dummy ranlib; ac_word=$2  set dummy ranlib; ac_word=$2
3350  echo "$as_me:3344: checking for $ac_word" >&5  echo "$as_me:3350: checking for $ac_word" >&5
3351  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3352  if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then  if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3353    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3356  for ac_dir in $ac_dummy; do Line 3362  for ac_dir in $ac_dummy; do
3362    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
3363    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
3364  ac_cv_prog_ac_ct_RANLIB="ranlib"  ac_cv_prog_ac_ct_RANLIB="ranlib"
3365  echo "$as_me:3359: found $ac_dir/$ac_word" >&5  echo "$as_me:3365: found $ac_dir/$ac_word" >&5
3366  break  break
3367  done  done
3368    
# Line 3365  fi Line 3371  fi
3371  fi  fi
3372  ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB  ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3373  if test -n "$ac_ct_RANLIB"; then  if test -n "$ac_ct_RANLIB"; then
3374    echo "$as_me:3368: result: $ac_ct_RANLIB" >&5    echo "$as_me:3374: result: $ac_ct_RANLIB" >&5
3375  echo "${ECHO_T}$ac_ct_RANLIB" >&6  echo "${ECHO_T}$ac_ct_RANLIB" >&6
3376  else  else
3377    echo "$as_me:3371: result: no" >&5    echo "$as_me:3377: result: no" >&5
3378  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
3379  fi  fi
3380    
# Line 3379  fi Line 3385  fi
3385    
3386  fi  fi
3387    
3388  echo "$as_me:3382: checking for AIX" >&5  echo "$as_me:3388: checking for AIX" >&5
3389  echo $ECHO_N "checking for AIX... $ECHO_C" >&6  echo $ECHO_N "checking for AIX... $ECHO_C" >&6
3390  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
3391  #line 3385 "configure"  #line 3391 "configure"
3392  #include "confdefs.h"  #include "confdefs.h"
3393  #ifdef _AIX  #ifdef _AIX
3394    yes    yes
# Line 3391  cat >conftest.$ac_ext <<_ACEOF Line 3397  cat >conftest.$ac_ext <<_ACEOF
3397  _ACEOF  _ACEOF
3398  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3399    egrep "yes" >/dev/null 2>&1; then    egrep "yes" >/dev/null 2>&1; then
3400    echo "$as_me:3394: result: yes" >&5    echo "$as_me:3400: result: yes" >&5
3401  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
3402  cat >>confdefs.h <<\EOF  cat >>confdefs.h <<\EOF
3403  #define _ALL_SOURCE 1  #define _ALL_SOURCE 1
3404  EOF  EOF
3405    
3406  else  else
3407    echo "$as_me:3401: result: no" >&5    echo "$as_me:3407: result: no" >&5
3408  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
3409  fi  fi
3410  rm -f conftest*  rm -f conftest*
3411    
3412  #### Extract some information from the operating system and machine files.  #### Extract some information from the operating system and machine files.
3413    
3414  { echo "$as_me:3408: checking the machine- and system-dependent files to find out  { echo "$as_me:3414: checking the machine- and system-dependent files to find out
3415   - which libraries the lib-src programs will want, and   - which libraries the lib-src programs will want, and
3416   - whether the GNU malloc routines are usable..." >&5   - whether the GNU malloc routines are usable..." >&5
3417  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 3555  if test "${enable_largefile+set}" = set; Line 3561  if test "${enable_largefile+set}" = set;
3561  fi;  fi;
3562  if test "$enable_largefile" != no; then  if test "$enable_largefile" != no; then
3563    
3564    echo "$as_me:3558: checking for special C compiler options needed for large files" >&5    echo "$as_me:3564: checking for special C compiler options needed for large files" >&5
3565  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
3566  if test "${ac_cv_sys_largefile_CC+set}" = set; then  if test "${ac_cv_sys_largefile_CC+set}" = set; then
3567    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3567  else Line 3573  else
3573           # IRIX 6.2 and later do not support large files by default,           # IRIX 6.2 and later do not support large files by default,
3574           # so use the C compiler's -n32 option if that helps.           # so use the C compiler's -n32 option if that helps.
3575           cat >conftest.$ac_ext <<_ACEOF           cat >conftest.$ac_ext <<_ACEOF
3576  #line 3570 "configure"  #line 3576 "configure"
3577  #include "confdefs.h"  #include "confdefs.h"
3578  #include <sys/types.h>  #include <sys/types.h>
3579   /* Check that off_t can represent 2**63 - 1 correctly.   /* Check that off_t can represent 2**63 - 1 correctly.
# Line 3587  main () Line 3593  main ()
3593  }  }
3594  _ACEOF  _ACEOF
3595           rm -f conftest.$ac_objext           rm -f conftest.$ac_objext
3596  if { (eval echo "$as_me:3590: \"$ac_compile\"") >&5  if { (eval echo "$as_me:3596: \"$ac_compile\"") >&5
3597    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3598    ac_status=$?    ac_status=$?
3599    echo "$as_me:3593: \$? = $ac_status" >&5    echo "$as_me:3599: \$? = $ac_status" >&5
3600    (exit $ac_status); } &&    (exit $ac_status); } &&
3601           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
3602    { (eval echo "$as_me:3596: \"$ac_try\"") >&5    { (eval echo "$as_me:3602: \"$ac_try\"") >&5
3603    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3604    ac_status=$?    ac_status=$?
3605    echo "$as_me:3599: \$? = $ac_status" >&5    echo "$as_me:3605: \$? = $ac_status" >&5
3606    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3607    break    break
3608  else  else
# Line 3606  fi Line 3612  fi
3612  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3613           CC="$CC -n32"           CC="$CC -n32"
3614           rm -f conftest.$ac_objext           rm -f conftest.$ac_objext
3615  if { (eval echo "$as_me:3609: \"$ac_compile\"") >&5  if { (eval echo "$as_me:3615: \"$ac_compile\"") >&5
3616    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3617    ac_status=$?    ac_status=$?
3618    echo "$as_me:3612: \$? = $ac_status" >&5    echo "$as_me:3618: \$? = $ac_status" >&5
3619    (exit $ac_status); } &&    (exit $ac_status); } &&
3620           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
3621    { (eval echo "$as_me:3615: \"$ac_try\"") >&5    { (eval echo "$as_me:3621: \"$ac_try\"") >&5
3622    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3623    ac_status=$?    ac_status=$?
3624    echo "$as_me:3618: \$? = $ac_status" >&5    echo "$as_me:3624: \$? = $ac_status" >&5
3625    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3626    ac_cv_sys_largefile_CC=' -n32'; break    ac_cv_sys_largefile_CC=' -n32'; break
3627  else  else
# Line 3629  rm -f conftest.$ac_objext Line 3635  rm -f conftest.$ac_objext
3635         rm -f conftest.$ac_ext         rm -f conftest.$ac_ext
3636      fi      fi
3637  fi  fi
3638  echo "$as_me:3632: result: $ac_cv_sys_largefile_CC" >&5  echo "$as_me:3638: result: $ac_cv_sys_largefile_CC" >&5
3639  echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6  echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
3640    if test "$ac_cv_sys_largefile_CC" != no; then    if test "$ac_cv_sys_largefile_CC" != no; then
3641      CC=$CC$ac_cv_sys_largefile_CC      CC=$CC$ac_cv_sys_largefile_CC
3642    fi    fi
3643    
3644    echo "$as_me:3638: checking for _FILE_OFFSET_BITS value needed for large files" >&5    echo "$as_me:3644: checking for _FILE_OFFSET_BITS value needed for large files" >&5
3645  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
3646  if test "${ac_cv_sys_file_offset_bits+set}" = set; then  if test "${ac_cv_sys_file_offset_bits+set}" = set; then
3647    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3643  else Line 3649  else
3649    while :; do    while :; do
3650    ac_cv_sys_file_offset_bits=no    ac_cv_sys_file_offset_bits=no
3651    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3652  #line 3646 "configure"  #line 3652 "configure"
3653  #include "confdefs.h"  #include "confdefs.h"
3654  #include <sys/types.h>  #include <sys/types.h>
3655   /* Check that off_t can represent 2**63 - 1 correctly.   /* Check that off_t can represent 2**63 - 1 correctly.
# Line 3663  main () Line 3669  main ()
3669  }  }
3670  _ACEOF  _ACEOF
3671  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3672  if { (eval echo "$as_me:3666: \"$ac_compile\"") >&5  if { (eval echo "$as_me:3672: \"$ac_compile\"") >&5
3673    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3674    ac_status=$?    ac_status=$?
3675    echo "$as_me:3669: \$? = $ac_status" >&5    echo "$as_me:3675: \$? = $ac_status" >&5
3676    (exit $ac_status); } &&    (exit $ac_status); } &&
3677           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
3678    { (eval echo "$as_me:3672: \"$ac_try\"") >&5    { (eval echo "$as_me:3678: \"$ac_try\"") >&5
3679    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3680    ac_status=$?    ac_status=$?
3681    echo "$as_me:3675: \$? = $ac_status" >&5    echo "$as_me:3681: \$? = $ac_status" >&5
3682    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3683    break    break
3684  else  else
# Line 3681  cat conftest.$ac_ext >&5 Line 3687  cat conftest.$ac_ext >&5
3687  fi  fi
3688  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
3689    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3690  #line 3684 "configure"  #line 3690 "configure"
3691  #include "confdefs.h"  #include "confdefs.h"
3692  #define _FILE_OFFSET_BITS 64  #define _FILE_OFFSET_BITS 64
3693  #include <sys/types.h>  #include <sys/types.h>
# Line 3702  main () Line 3708  main ()
3708  }  }
3709  _ACEOF  _ACEOF
3710  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3711  if { (eval echo "$as_me:3705: \"$ac_compile\"") >&5  if { (eval echo "$as_me:3711: \"$ac_compile\"") >&5
3712    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3713    ac_status=$?    ac_status=$?
3714    echo "$as_me:3708: \$? = $ac_status" >&5    echo "$as_me:3714: \$? = $ac_status" >&5
3715    (exit $ac_status); } &&    (exit $ac_status); } &&
3716           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
3717    { (eval echo "$as_me:3711: \"$ac_try\"") >&5    { (eval echo "$as_me:3717: \"$ac_try\"") >&5
3718    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3719    ac_status=$?    ac_status=$?
3720    echo "$as_me:3714: \$? = $ac_status" >&5    echo "$as_me:3720: \$? = $ac_status" >&5
3721    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3722    ac_cv_sys_file_offset_bits=64; break    ac_cv_sys_file_offset_bits=64; break
3723  else  else
# Line 3722  rm -f conftest.$ac_objext conftest.$ac_e Line 3728  rm -f conftest.$ac_objext conftest.$ac_e
3728    break    break
3729  done  done
3730  fi  fi
3731  echo "$as_me:3725: result: $ac_cv_sys_file_offset_bits" >&5  echo "$as_me:3731: result: $ac_cv_sys_file_offset_bits" >&5
3732  echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6  echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
3733  if test "$ac_cv_sys_file_offset_bits" != no; then  if test "$ac_cv_sys_file_offset_bits" != no; then
3734    
# Line 3732  EOF Line 3738  EOF
3738    
3739  fi  fi
3740  rm -f conftest*  rm -f conftest*
3741    echo "$as_me:3735: checking for _LARGE_FILES value needed for large files" >&5    echo "$as_me:3741: checking for _LARGE_FILES value needed for large files" >&5
3742  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
3743  if test "${ac_cv_sys_large_files+set}" = set; then  if test "${ac_cv_sys_large_files+set}" = set; then
3744    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3740  else Line 3746  else
3746    while :; do    while :; do
3747    ac_cv_sys_large_files=no    ac_cv_sys_large_files=no
3748    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3749  #line 3743 "configure"  #line 3749 "configure"
3750  #include "confdefs.h"  #include "confdefs.h"
3751  #include <sys/types.h>  #include <sys/types.h>
3752   /* Check that off_t can represent 2**63 - 1 correctly.   /* Check that off_t can represent 2**63 - 1 correctly.
# Line 3760  main () Line 3766  main ()
3766  }  }
3767  _ACEOF  _ACEOF
3768  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3769  if { (eval echo "$as_me:3763: \"$ac_compile\"") >&5  if { (eval echo "$as_me:3769: \"$ac_compile\"") >&5
3770    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3771    ac_status=$?    ac_status=$?
3772    echo "$as_me:3766: \$? = $ac_status" >&5    echo "$as_me:3772: \$? = $ac_status" >&5
3773    (exit $ac_status); } &&    (exit $ac_status); } &&
3774           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
3775    { (eval echo "$as_me:3769: \"$ac_try\"") >&5    { (eval echo "$as_me:3775: \"$ac_try\"") >&5
3776    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3777    ac_status=$?    ac_status=$?
3778    echo "$as_me:3772: \$? = $ac_status" >&5    echo "$as_me:3778: \$? = $ac_status" >&5
3779    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3780    break    break
3781  else  else
# Line 3778  cat conftest.$ac_ext >&5 Line 3784  cat conftest.$ac_ext >&5
3784  fi  fi
3785  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
3786    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3787  #line 3781 "configure"  #line 3787 "configure"
3788  #include "confdefs.h"  #include "confdefs.h"
3789  #define _LARGE_FILES 1  #define _LARGE_FILES 1
3790  #include <sys/types.h>  #include <sys/types.h>
# Line 3799  main () Line 3805  main ()
3805  }  }
3806  _ACEOF  _ACEOF
3807  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3808  if { (eval echo "$as_me:3802: \"$ac_compile\"") >&5  if { (eval echo "$as_me:3808: \"$ac_compile\"") >&5
3809    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3810    ac_status=$?    ac_status=$?
3811    echo "$as_me:3805: \$? = $ac_status" >&5    echo "$as_me:3811: \$? = $ac_status" >&5
3812    (exit $ac_status); } &&    (exit $ac_status); } &&
3813           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
3814    { (eval echo "$as_me:3808: \"$ac_try\"") >&5    { (eval echo "$as_me:3814: \"$ac_try\"") >&5
3815    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3816    ac_status=$?    ac_status=$?
3817    echo "$as_me:3811: \$? = $ac_status" >&5    echo "$as_me:3817: \$? = $ac_status" >&5
3818    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3819    ac_cv_sys_large_files=1; break    ac_cv_sys_large_files=1; break
3820  else  else
# Line 3819  rm -f conftest.$ac_objext conftest.$ac_e Line 3825  rm -f conftest.$ac_objext conftest.$ac_e
3825    break    break
3826  done  done
3827  fi  fi
3828  echo "$as_me:3822: result: $ac_cv_sys_large_files" >&5  echo "$as_me:3828: result: $ac_cv_sys_large_files" >&5
3829  echo "${ECHO_T}$ac_cv_sys_large_files" >&6  echo "${ECHO_T}$ac_cv_sys_large_files" >&6
3830  if test "$ac_cv_sys_large_files" != no; then  if test "$ac_cv_sys_large_files" != no; then
3831    
# Line 3836  fi Line 3842  fi
3842  for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h  for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h
3843  do  do
3844  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3845  echo "$as_me:3839: checking for $ac_header" >&5  echo "$as_me:3845: checking for $ac_header" >&5
3846  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3847  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
3848    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3849  else  else
3850    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3851  #line 3845 "configure"  #line 3851 "configure"
3852  #include "confdefs.h"  #include "confdefs.h"
3853  #include <$ac_header>  #include <$ac_header>
3854  _ACEOF  _ACEOF
3855  if { (eval echo "$as_me:3849: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:3855: \"$ac_cpp conftest.$ac_ext\"") >&5
3856    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3857    ac_status=$?    ac_status=$?
3858    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
3859    rm -f conftest.er1    rm -f conftest.er1
3860    cat conftest.err >&5    cat conftest.err >&5
3861    echo "$as_me:3855: \$? = $ac_status" >&5    echo "$as_me:3861: \$? = $ac_status" >&5
3862    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3863    if test -s conftest.err; then    if test -s conftest.err; then
3864      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 3871  else Line 3877  else
3877  fi  fi
3878  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
3879  fi  fi
3880  echo "$as_me:3874: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:3880: result: `eval echo '${'$as_ac_Header'}'`" >&5
3881  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3882  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
3883    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 3882  fi Line 3888  fi
3888  done  done
3889    
3890  # Emulation library used on NetBSD.  # Emulation library used on NetBSD.
3891  echo "$as_me:3885: checking for _oss_ioctl in -lossaudio" >&5  echo "$as_me:3891: checking for _oss_ioctl in -lossaudio" >&5
3892  echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6  echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
3893  if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then  if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
3894    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3890  else Line 3896  else
3896    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
3897  LIBS="-lossaudio  $LIBS"  LIBS="-lossaudio  $LIBS"
3898  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
3899  #line 3893 "configure"  #line 3899 "configure"
3900  #include "confdefs.h"  #include "confdefs.h"
3901    
3902  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 3909  _oss_ioctl (); Line 3915  _oss_ioctl ();
3915  }  }
3916  _ACEOF  _ACEOF
3917  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
3918  if { (eval echo "$as_me:3912: \"$ac_link\"") >&5  if { (eval echo "$as_me:3918: \"$ac_link\"") >&5
3919    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
3920    ac_status=$?    ac_status=$?
3921    echo "$as_me:3915: \$? = $ac_status" >&5    echo "$as_me:3921: \$? = $ac_status" >&5
3922    (exit $ac_status); } &&    (exit $ac_status); } &&
3923           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
3924    { (eval echo "$as_me:3918: \"$ac_try\"") >&5    { (eval echo "$as_me:3924: \"$ac_try\"") >&5
3925    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3926    ac_status=$?    ac_status=$?
3927    echo "$as_me:3921: \$? = $ac_status" >&5    echo "$as_me:3927: \$? = $ac_status" >&5
3928    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3929    ac_cv_lib_ossaudio__oss_ioctl=yes    ac_cv_lib_ossaudio__oss_ioctl=yes
3930  else  else
# Line 3929  fi Line 3935  fi
3935  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3936  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
3937  fi  fi
3938  echo "$as_me:3932: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5  echo "$as_me:3938: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
3939  echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6  echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
3940  if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then  if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
3941    LIBSOUND=-lossaudio    LIBSOUND=-lossaudio
# Line 3942  for ac_header in sys/select.h sys/timeb. Line 3948  for ac_header in sys/select.h sys/timeb.
3948    termcap.h stdio_ext.h fcntl.h term.h strings.h coff.h    termcap.h stdio_ext.h fcntl.h term.h strings.h coff.h
3949  do  do
3950  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3951  echo "$as_me:3945: checking for $ac_header" >&5  echo "$as_me:3951: checking for $ac_header" >&5
3952  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3953  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
3954    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3955  else  else
3956    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3957  #line 3951 "configure"  #line 3957 "configure"
3958  #include "confdefs.h"  #include "confdefs.h"
3959  #include <$ac_header>  #include <$ac_header>
3960  _ACEOF  _ACEOF
3961  if { (eval echo "$as_me:3955: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:3961: \"$ac_cpp conftest.$ac_ext\"") >&5
3962    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3963    ac_status=$?    ac_status=$?
3964    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
3965    rm -f conftest.er1    rm -f conftest.er1
3966    cat conftest.err >&5    cat conftest.err >&5
3967    echo "$as_me:3961: \$? = $ac_status" >&5    echo "$as_me:3967: \$? = $ac_status" >&5
3968    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3969    if test -s conftest.err; then    if test -s conftest.err; then
3970      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 3977  else Line 3983  else
3983  fi  fi
3984  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
3985  fi  fi
3986  echo "$as_me:3980: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:3986: result: `eval echo '${'$as_ac_Header'}'`" >&5
3987  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3988  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
3989    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 3987  EOF Line 3993  EOF
3993  fi  fi
3994  done  done
3995    
3996  echo "$as_me:3990: checking for ANSI C header files" >&5  echo "$as_me:3996: checking for ANSI C header files" >&5
3997  echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6  echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3998  if test "${ac_cv_header_stdc+set}" = set; then  if test "${ac_cv_header_stdc+set}" = set; then
3999    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4000  else  else
4001    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4002  #line 3996 "configure"  #line 4002 "configure"
4003  #include "confdefs.h"  #include "confdefs.h"
4004  #include <stdlib.h>  #include <stdlib.h>
4005  #include <stdarg.h>  #include <stdarg.h>
# Line 4001  else Line 4007  else
4007  #include <float.h>  #include <float.h>
4008    
4009  _ACEOF  _ACEOF
4010  if { (eval echo "$as_me:4004: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:4010: \"$ac_cpp conftest.$ac_ext\"") >&5
4011    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4012    ac_status=$?    ac_status=$?
4013    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
4014    rm -f conftest.er1    rm -f conftest.er1
4015    cat conftest.err >&5    cat conftest.err >&5
4016    echo "$as_me:4010: \$? = $ac_status" >&5    echo "$as_me:4016: \$? = $ac_status" >&5
4017    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
4018    if test -s conftest.err; then    if test -s conftest.err; then
4019      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 4029  rm -f conftest.err conftest.$ac_ext Line 4035  rm -f conftest.err conftest.$ac_ext
4035  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
4036    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4037    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4038  #line 4032 "configure"  #line 4038 "configure"
4039  #include "confdefs.h"  #include "confdefs.h"
4040  #include <string.h>  #include <string.h>
4041    
# Line 4047  fi Line 4053  fi
4053  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
4054    # 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.
4055    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4056  #line 4050 "configure"  #line 4056 "configure"
4057  #include "confdefs.h"  #include "confdefs.h"
4058  #include <stdlib.h>  #include <stdlib.h>
4059    
# Line 4068  if test $ac_cv_header_stdc = yes; then Line 4074  if test $ac_cv_header_stdc = yes; then
4074    :    :
4075  else  else
4076    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4077  #line 4071 "configure"  #line 4077 "configure"
4078  #include "confdefs.h"  #include "confdefs.h"
4079  #include <ctype.h>  #include <ctype.h>
4080  #if ((' ' & 0x0FF) == 0x020)  #if ((' ' & 0x0FF) == 0x020)
# Line 4094  main () Line 4100  main ()
4100  }  }
4101  _ACEOF  _ACEOF
4102  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
4103  if { (eval echo "$as_me:4097: \"$ac_link\"") >&5  if { (eval echo "$as_me:4103: \"$ac_link\"") >&5
4104    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
4105    ac_status=$?    ac_status=$?
4106    echo "$as_me:4100: \$? = $ac_status" >&5    echo "$as_me:4106: \$? = $ac_status" >&5
4107    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4108    { (eval echo "$as_me:4102: \"$ac_try\"") >&5    { (eval echo "$as_me:4108: \"$ac_try\"") >&5
4109    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4110    ac_status=$?    ac_status=$?
4111    echo "$as_me:4105: \$? = $ac_status" >&5    echo "$as_me:4111: \$? = $ac_status" >&5
4112    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4113    :    :
4114  else  else
# Line 4115  rm -f core core.* *.core conftest$ac_exe Line 4121  rm -f core core.* *.core conftest$ac_exe
4121  fi  fi
4122  fi  fi
4123  fi  fi
4124  echo "$as_me:4118: result: $ac_cv_header_stdc" >&5  echo "$as_me:4124: result: $ac_cv_header_stdc" >&5
4125  echo "${ECHO_T}$ac_cv_header_stdc" >&6  echo "${ECHO_T}$ac_cv_header_stdc" >&6
4126  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
4127    
# Line 4125  EOF Line 4131  EOF
4131    
4132  fi  fi
4133    
4134  echo "$as_me:4128: checking whether time.h and sys/time.h may both be included" >&5  echo "$as_me:4134: checking whether time.h and sys/time.h may both be included" >&5
4135  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
4136  if test "${ac_cv_header_time+set}" = set; then  if test "${ac_cv_header_time+set}" = set; then
4137    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4138  else  else
4139    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4140  #line 4134 "configure"  #line 4140 "configure"
4141  #include "confdefs.h"  #include "confdefs.h"
4142  #include <sys/types.h>  #include <sys/types.h>
4143  #include <sys/time.h>  #include <sys/time.h>
# Line 4147  return 0; Line 4153  return 0;
4153  }  }
4154  _ACEOF  _ACEOF
4155  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4156  if { (eval echo "$as_me:4150: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4156: \"$ac_compile\"") >&5
4157    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4158    ac_status=$?    ac_status=$?
4159    echo "$as_me:4153: \$? = $ac_status" >&5    echo "$as_me:4159: \$? = $ac_status" >&5
4160    (exit $ac_status); } &&    (exit $ac_status); } &&
4161           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4162    { (eval echo "$as_me:4156: \"$ac_try\"") >&5    { (eval echo "$as_me:4162: \"$ac_try\"") >&5
4163    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4164    ac_status=$?    ac_status=$?
4165    echo "$as_me:4159: \$? = $ac_status" >&5    echo "$as_me:4165: \$? = $ac_status" >&5
4166    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4167    ac_cv_header_time=yes    ac_cv_header_time=yes
4168  else  else
# Line 4166  ac_cv_header_time=no Line 4172  ac_cv_header_time=no
4172  fi  fi
4173  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4174  fi  fi
4175  echo "$as_me:4169: result: $ac_cv_header_time" >&5  echo "$as_me:4175: result: $ac_cv_header_time" >&5
4176  echo "${ECHO_T}$ac_cv_header_time" >&6  echo "${ECHO_T}$ac_cv_header_time" >&6
4177  if test $ac_cv_header_time = yes; then  if test $ac_cv_header_time = yes; then
4178    
# Line 4176  EOF Line 4182  EOF
4182    
4183  fi  fi
4184    
4185  echo "$as_me:4179: checking for sys_siglist declaration in signal.h or unistd.h" >&5  echo "$as_me:4185: checking for sys_siglist declaration in signal.h or unistd.h" >&5
4186  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
4187  if test "${ac_cv_decl_sys_siglist+set}" = set; then  if test "${ac_cv_decl_sys_siglist+set}" = set; then
4188    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4189  else  else
4190    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4191  #line 4185 "configure"  #line 4191 "configure"
4192  #include "confdefs.h"  #include "confdefs.h"
4193  #include <sys/types.h>  #include <sys/types.h>
4194  #include <signal.h>  #include <signal.h>
# Line 4200  char *msg = *(sys_siglist + 1); Line 4206  char *msg = *(sys_siglist + 1);
4206  }  }
4207  _ACEOF  _ACEOF
4208  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4209  if { (eval echo "$as_me:4203: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4209: \"$ac_compile\"") >&5
4210    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4211    ac_status=$?    ac_status=$?
4212    echo "$as_me:4206: \$? = $ac_status" >&5    echo "$as_me:4212: \$? = $ac_status" >&5
4213    (exit $ac_status); } &&    (exit $ac_status); } &&
4214           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4215    { (eval echo "$as_me:4209: \"$ac_try\"") >&5    { (eval echo "$as_me:4215: \"$ac_try\"") >&5
4216    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4217    ac_status=$?    ac_status=$?
4218    echo "$as_me:4212: \$? = $ac_status" >&5    echo "$as_me:4218: \$? = $ac_status" >&5
4219    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4220    ac_cv_decl_sys_siglist=yes    ac_cv_decl_sys_siglist=yes
4221  else  else
# Line 4219  ac_cv_decl_sys_siglist=no Line 4225  ac_cv_decl_sys_siglist=no
4225  fi  fi
4226  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4227  fi  fi
4228  echo "$as_me:4222: result: $ac_cv_decl_sys_siglist" >&5  echo "$as_me:4228: result: $ac_cv_decl_sys_siglist" >&5
4229  echo "${ECHO_T}$ac_cv_decl_sys_siglist" >&6  echo "${ECHO_T}$ac_cv_decl_sys_siglist" >&6
4230  if test $ac_cv_decl_sys_siglist = yes; then  if test $ac_cv_decl_sys_siglist = yes; then
4231    
# Line 4229  EOF Line 4235  EOF
4235    
4236  fi  fi
4237    
4238  echo "$as_me:4232: checking for sys/wait.h that is POSIX.1 compatible" >&5  echo "$as_me:4238: checking for sys/wait.h that is POSIX.1 compatible" >&5
4239  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
4240  if test "${ac_cv_header_sys_wait_h+set}" = set; then  if test "${ac_cv_header_sys_wait_h+set}" = set; then
4241    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4242  else  else
4243    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4244  #line 4238 "configure"  #line 4244 "configure"
4245  #include "confdefs.h"  #include "confdefs.h"
4246  #include <sys/types.h>  #include <sys/types.h>
4247  #include <sys/wait.h>  #include <sys/wait.h>
# Line 4257  main () Line 4263  main ()
4263  }  }
4264  _ACEOF  _ACEOF
4265  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4266  if { (eval echo "$as_me:4260: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4266: \"$ac_compile\"") >&5
4267    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4268    ac_status=$?    ac_status=$?
4269    echo "$as_me:4263: \$? = $ac_status" >&5    echo "$as_me:4269: \$? = $ac_status" >&5
4270    (exit $ac_status); } &&    (exit $ac_status); } &&
4271           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4272    { (eval echo "$as_me:4266: \"$ac_try\"") >&5    { (eval echo "$as_me:4272: \"$ac_try\"") >&5
4273    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4274    ac_status=$?    ac_status=$?
4275    echo "$as_me:4269: \$? = $ac_status" >&5    echo "$as_me:4275: \$? = $ac_status" >&5
4276    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4277    ac_cv_header_sys_wait_h=yes    ac_cv_header_sys_wait_h=yes
4278  else  else
# Line 4276  ac_cv_header_sys_wait_h=no Line 4282  ac_cv_header_sys_wait_h=no
4282  fi  fi
4283  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4284  fi  fi
4285  echo "$as_me:4279: result: $ac_cv_header_sys_wait_h" >&5  echo "$as_me:4285: result: $ac_cv_header_sys_wait_h" >&5
4286  echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6  echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
4287  if test $ac_cv_header_sys_wait_h = yes; then  if test $ac_cv_header_sys_wait_h = yes; then
4288    
# Line 4286  EOF Line 4292  EOF
4292    
4293  fi  fi
4294    
4295  echo "$as_me:4289: checking for struct utimbuf" >&5  echo "$as_me:4295: checking for struct utimbuf" >&5
4296  echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6  echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6
4297  if test "${emacs_cv_struct_utimbuf+set}" = set; then  if test "${emacs_cv_struct_utimbuf+set}" = set; then
4298    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4299  else  else
4300    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4301  #line 4295 "configure"  #line 4301 "configure"
4302  #include "confdefs.h"  #include "confdefs.h"
4303  #ifdef TIME_WITH_SYS_TIME  #ifdef TIME_WITH_SYS_TIME
4304  #include <sys/time.h>  #include <sys/time.h>
# Line 4316  static struct utimbuf x; x.actime = x.mo Line 4322  static struct utimbuf x; x.actime = x.mo
4322  }  }
4323  _ACEOF  _ACEOF
4324  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4325  if { (eval echo "$as_me:4319: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4325: \"$ac_compile\"") >&5
4326    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4327    ac_status=$?    ac_status=$?
4328    echo "$as_me:4322: \$? = $ac_status" >&5    echo "$as_me:4328: \$? = $ac_status" >&5
4329    (exit $ac_status); } &&    (exit $ac_status); } &&
4330           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4331    { (eval echo "$as_me:4325: \"$ac_try\"") >&5    { (eval echo "$as_me:4331: \"$ac_try\"") >&5
4332    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4333    ac_status=$?    ac_status=$?
4334    echo "$as_me:4328: \$? = $ac_status" >&5    echo "$as_me:4334: \$? = $ac_status" >&5
4335    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4336    emacs_cv_struct_utimbuf=yes    emacs_cv_struct_utimbuf=yes
4337  else  else
# Line 4335  emacs_cv_struct_utimbuf=no Line 4341  emacs_cv_struct_utimbuf=no
4341  fi  fi
4342  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4343  fi  fi
4344  echo "$as_me:4338: result: $emacs_cv_struct_utimbuf" >&5  echo "$as_me:4344: result: $emacs_cv_struct_utimbuf" >&5
4345  echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6  echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6
4346  if test $emacs_cv_struct_utimbuf = yes; then  if test $emacs_cv_struct_utimbuf = yes; then
4347    cat >>confdefs.h <<\EOF    cat >>confdefs.h <<\EOF
# Line 4344  EOF Line 4350  EOF
4350    
4351  fi  fi
4352    
4353  echo "$as_me:4347: checking return type of signal handlers" >&5  echo "$as_me:4353: checking return type of signal handlers" >&5
4354  echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6  echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
4355  if test "${ac_cv_type_signal+set}" = set; then  if test "${ac_cv_type_signal+set}" = set; then
4356    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4357  else  else
4358    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4359  #line 4353 "configure"  #line 4359 "configure"
4360  #include "confdefs.h"  #include "confdefs.h"
4361  #include <sys/types.h>  #include <sys/types.h>
4362  #include <signal.h>  #include <signal.h>
# Line 4372  int i; Line 4378  int i;
4378  }  }
4379  _ACEOF  _ACEOF
4380  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4381  if { (eval echo "$as_me:4375: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4381: \"$ac_compile\"") >&5
4382    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4383    ac_status=$?    ac_status=$?
4384    echo "$as_me:4378: \$? = $ac_status" >&5    echo "$as_me:4384: \$? = $ac_status" >&5
4385    (exit $ac_status); } &&    (exit $ac_status); } &&
4386           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4387    { (eval echo "$as_me:4381: \"$ac_try\"") >&5    { (eval echo "$as_me:4387: \"$ac_try\"") >&5
4388    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4389    ac_status=$?    ac_status=$?
4390    echo "$as_me:4384: \$? = $ac_status" >&5    echo "$as_me:4390: \$? = $ac_status" >&5
4391    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4392    ac_cv_type_signal=void    ac_cv_type_signal=void
4393  else  else
# Line 4391  ac_cv_type_signal=int Line 4397  ac_cv_type_signal=int
4397  fi  fi
4398  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4399  fi  fi
4400  echo "$as_me:4394: result: $ac_cv_type_signal" >&5  echo "$as_me:4400: result: $ac_cv_type_signal" >&5
4401  echo "${ECHO_T}$ac_cv_type_signal" >&6  echo "${ECHO_T}$ac_cv_type_signal" >&6
4402    
4403  cat >>confdefs.h <<EOF  cat >>confdefs.h <<EOF
4404  #define RETSIGTYPE $ac_cv_type_signal  #define RETSIGTYPE $ac_cv_type_signal
4405  EOF  EOF
4406    
4407  echo "$as_me:4401: checking for speed_t" >&5  echo "$as_me:4407: checking for speed_t" >&5
4408  echo $ECHO_N "checking for speed_t... $ECHO_C" >&6  echo $ECHO_N "checking for speed_t... $ECHO_C" >&6
4409  if test "${emacs_cv_speed_t+set}" = set; then  if test "${emacs_cv_speed_t+set}" = set; then
4410    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4411  else  else
4412    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4413  #line 4407 "configure"  #line 4413 "configure"
4414  #include "confdefs.h"  #include "confdefs.h"
4415  #include <termios.h>  #include <termios.h>
4416  int  int
# Line 4416  speed_t x = 1; Line 4422  speed_t x = 1;
4422  }  }
4423  _ACEOF  _ACEOF
4424  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4425  if { (eval echo "$as_me:4419: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4425: \"$ac_compile\"") >&5
4426    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4427    ac_status=$?    ac_status=$?
4428    echo "$as_me:4422: \$? = $ac_status" >&5    echo "$as_me:4428: \$? = $ac_status" >&5
4429    (exit $ac_status); } &&    (exit $ac_status); } &&
4430           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4431    { (eval echo "$as_me:4425: \"$ac_try\"") >&5    { (eval echo "$as_me:4431: \"$ac_try\"") >&5
4432    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4433    ac_status=$?    ac_status=$?
4434    echo "$as_me:4428: \$? = $ac_status" >&5    echo "$as_me:4434: \$? = $ac_status" >&5
4435    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4436    emacs_cv_speed_t=yes    emacs_cv_speed_t=yes
4437  else  else
# Line 4435  emacs_cv_speed_t=no Line 4441  emacs_cv_speed_t=no
4441  fi  fi
4442  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4443  fi  fi
4444  echo "$as_me:4438: result: $emacs_cv_speed_t" >&5  echo "$as_me:4444: result: $emacs_cv_speed_t" >&5
4445  echo "${ECHO_T}$emacs_cv_speed_t" >&6  echo "${ECHO_T}$emacs_cv_speed_t" >&6
4446  if test $emacs_cv_speed_t = yes; then  if test $emacs_cv_speed_t = yes; then
4447    cat >>confdefs.h <<\EOF    cat >>confdefs.h <<\EOF
# Line 4444  EOF Line 4450  EOF
4450    
4451  fi  fi
4452    
4453  echo "$as_me:4447: checking for struct timeval" >&5  echo "$as_me:4453: checking for struct timeval" >&5
4454  echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6  echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6
4455  if test "${emacs_cv_struct_timeval+set}" = set; then  if test "${emacs_cv_struct_timeval+set}" = set; then
4456    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4457  else  else
4458    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4459  #line 4453 "configure"  #line 4459 "configure"
4460  #include "confdefs.h"  #include "confdefs.h"
4461  #ifdef TIME_WITH_SYS_TIME  #ifdef TIME_WITH_SYS_TIME
4462  #include <sys/time.h>  #include <sys/time.h>
# Line 4471  static struct timeval x; x.tv_sec = x.tv Line 4477  static struct timeval x; x.tv_sec = x.tv
4477  }  }
4478  _ACEOF  _ACEOF
4479  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4480  if { (eval echo "$as_me:4474: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4480: \"$ac_compile\"") >&5
4481    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4482    ac_status=$?    ac_status=$?
4483    echo "$as_me:4477: \$? = $ac_status" >&5    echo "$as_me:4483: \$? = $ac_status" >&5
4484    (exit $ac_status); } &&    (exit $ac_status); } &&
4485           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4486    { (eval echo "$as_me:4480: \"$ac_try\"") >&5    { (eval echo "$as_me:4486: \"$ac_try\"") >&5
4487    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4488    ac_status=$?    ac_status=$?
4489    echo "$as_me:4483: \$? = $ac_status" >&5    echo "$as_me:4489: \$? = $ac_status" >&5
4490    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4491    emacs_cv_struct_timeval=yes    emacs_cv_struct_timeval=yes
4492  else  else
# Line 4490  emacs_cv_struct_timeval=no Line 4496  emacs_cv_struct_timeval=no
4496  fi  fi
4497  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4498  fi  fi
4499  echo "$as_me:4493: result: $emacs_cv_struct_timeval" >&5  echo "$as_me:4499: result: $emacs_cv_struct_timeval" >&5
4500  echo "${ECHO_T}$emacs_cv_struct_timeval" >&6  echo "${ECHO_T}$emacs_cv_struct_timeval" >&6
4501  HAVE_TIMEVAL=$emacs_cv_struct_timeval  HAVE_TIMEVAL=$emacs_cv_struct_timeval
4502  if test $emacs_cv_struct_timeval = yes; then  if test $emacs_cv_struct_timeval = yes; then
# Line 4500  EOF Line 4506  EOF
4506    
4507  fi  fi
4508    
4509  echo "$as_me:4503: checking for struct exception" >&5  echo "$as_me:4509: checking for struct exception" >&5
4510  echo $ECHO_N "checking for struct exception... $ECHO_C" >&6  echo $ECHO_N "checking for struct exception... $ECHO_C" >&6
4511  if test "${emacs_cv_struct_exception+set}" = set; then  if test "${emacs_cv_struct_exception+set}" = set; then
4512    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4513  else  else
4514    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4515  #line 4509 "configure"  #line 4515 "configure"
4516  #include "confdefs.h"  #include "confdefs.h"
4517  #include <math.h>  #include <math.h>
4518  int  int
# Line 4518  static struct exception x; x.arg1 = x.ar Line 4524  static struct exception x; x.arg1 = x.ar
4524  }  }
4525  _ACEOF  _ACEOF
4526  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4527  if { (eval echo "$as_me:4521: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4527: \"$ac_compile\"") >&5
4528    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4529    ac_status=$?    ac_status=$?
4530    echo "$as_me:4524: \$? = $ac_status" >&5    echo "$as_me:4530: \$? = $ac_status" >&5
4531    (exit $ac_status); } &&    (exit $ac_status); } &&
4532           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4533    { (eval echo "$as_me:4527: \"$ac_try\"") >&5    { (eval echo "$as_me:4533: \"$ac_try\"") >&5
4534    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4535    ac_status=$?    ac_status=$?
4536    echo "$as_me:4530: \$? = $ac_status" >&5    echo "$as_me:4536: \$? = $ac_status" >&5
4537    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4538    emacs_cv_struct_exception=yes    emacs_cv_struct_exception=yes
4539  else  else
# Line 4537  emacs_cv_struct_exception=no Line 4543  emacs_cv_struct_exception=no
4543  fi  fi
4544  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4545  fi  fi
4546  echo "$as_me:4540: result: $emacs_cv_struct_exception" >&5  echo "$as_me:4546: result: $emacs_cv_struct_exception" >&5
4547  echo "${ECHO_T}$emacs_cv_struct_exception" >&6  echo "${ECHO_T}$emacs_cv_struct_exception" >&6
4548  HAVE_EXCEPTION=$emacs_cv_struct_exception  HAVE_EXCEPTION=$emacs_cv_struct_exception
4549  if test $emacs_cv_struct_exception != yes; then  if test $emacs_cv_struct_exception != yes; then
# Line 4547  EOF Line 4553  EOF
4553    
4554  fi  fi
4555    
4556  echo "$as_me:4550: checking whether struct tm is in sys/time.h or time.h" >&5  echo "$as_me:4556: checking whether struct tm is in sys/time.h or time.h" >&5
4557  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
4558  if test "${ac_cv_struct_tm+set}" = set; then  if test "${ac_cv_struct_tm+set}" = set; then
4559    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4560  else  else
4561    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4562  #line 4556 "configure"  #line 4562 "configure"
4563  #include "confdefs.h"  #include "confdefs.h"
4564  #include <sys/types.h>  #include <sys/types.h>
4565  #include <time.h>  #include <time.h>
# Line 4567  struct tm *tp; tp->tm_sec; Line 4573  struct tm *tp; tp->tm_sec;
4573  }  }
4574  _ACEOF  _ACEOF
4575  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4576  if { (eval echo "$as_me:4570: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4576: \"$ac_compile\"") >&5
4577    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4578    ac_status=$?    ac_status=$?
4579    echo "$as_me:4573: \$? = $ac_status" >&5    echo "$as_me:4579: \$? = $ac_status" >&5
4580    (exit $ac_status); } &&    (exit $ac_status); } &&
4581           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4582    { (eval echo "$as_me:4576: \"$ac_try\"") >&5    { (eval echo "$as_me:4582: \"$ac_try\"") >&5
4583    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4584    ac_status=$?    ac_status=$?
4585    echo "$as_me:4579: \$? = $ac_status" >&5    echo "$as_me:4585: \$? = $ac_status" >&5
4586    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4587    ac_cv_struct_tm=time.h    ac_cv_struct_tm=time.h
4588  else  else
# Line 4586  ac_cv_struct_tm=sys/time.h Line 4592  ac_cv_struct_tm=sys/time.h
4592  fi  fi
4593  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4594  fi  fi
4595  echo "$as_me:4589: result: $ac_cv_struct_tm" >&5  echo "$as_me:4595: result: $ac_cv_struct_tm" >&5
4596  echo "${ECHO_T}$ac_cv_struct_tm" >&6  echo "${ECHO_T}$ac_cv_struct_tm" >&6
4597  if test $ac_cv_struct_tm = sys/time.h; then  if test $ac_cv_struct_tm = sys/time.h; then
4598    
# Line 4596  EOF Line 4602  EOF
4602    
4603  fi  fi
4604    
4605  echo "$as_me:4599: checking for struct tm.tm_zone" >&5  echo "$as_me:4605: checking for struct tm.tm_zone" >&5
4606  echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6  echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
4607  if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then  if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
4608    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4609  else  else
4610    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4611  #line 4605 "configure"  #line 4611 "configure"
4612  #include "confdefs.h"  #include "confdefs.h"
4613  #include <sys/types.h>  #include <sys/types.h>
4614  #include <$ac_cv_struct_tm>  #include <$ac_cv_struct_tm>
# Line 4618  return 0; Line 4624  return 0;
4624  }  }
4625  _ACEOF  _ACEOF
4626  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4627  if { (eval echo "$as_me:4621: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4627: \"$ac_compile\"") >&5
4628    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4629    ac_status=$?    ac_status=$?
4630    echo "$as_me:4624: \$? = $ac_status" >&5    echo "$as_me:4630: \$? = $ac_status" >&5
4631    (exit $ac_status); } &&    (exit $ac_status); } &&
4632           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4633    { (eval echo "$as_me:4627: \"$ac_try\"") >&5    { (eval echo "$as_me:4633: \"$ac_try\"") >&5
4634    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4635    ac_status=$?    ac_status=$?
4636    echo "$as_me:4630: \$? = $ac_status" >&5    echo "$as_me:4636: \$? = $ac_status" >&5
4637    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4638    ac_cv_member_struct_tm_tm_zone=yes    ac_cv_member_struct_tm_tm_zone=yes
4639  else  else
# Line 4637  ac_cv_member_struct_tm_tm_zone=no Line 4643  ac_cv_member_struct_tm_tm_zone=no
4643  fi  fi
4644  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4645  fi  fi
4646  echo "$as_me:4640: result: $ac_cv_member_struct_tm_tm_zone" >&5  echo "$as_me:4646: result: $ac_cv_member_struct_tm_tm_zone" >&5
4647  echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6  echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
4648  if test $ac_cv_member_struct_tm_tm_zone = yes; then  if test $ac_cv_member_struct_tm_tm_zone = yes; then
4649    
# Line 4654  cat >>confdefs.h <<\EOF Line 4660  cat >>confdefs.h <<\EOF
4660  EOF  EOF
4661    
4662  else  else
4663    echo "$as_me:4657: checking for tzname" >&5    echo "$as_me:4663: checking for tzname" >&5
4664  echo $ECHO_N "checking for tzname... $ECHO_C" >&6  echo $ECHO_N "checking for tzname... $ECHO_C" >&6
4665  if test "${ac_cv_var_tzname+set}" = set; then  if test "${ac_cv_var_tzname+set}" = set; then
4666    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4667  else  else
4668    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4669  #line 4663 "configure"  #line 4669 "configure"
4670  #include "confdefs.h"  #include "confdefs.h"
4671  #include <time.h>  #include <time.h>
4672  #ifndef tzname /* For SGI.  */  #ifndef tzname /* For SGI.  */
# Line 4676  atoi(*tzname); Line 4682  atoi(*tzname);
4682  }  }
4683  _ACEOF  _ACEOF
4684  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
4685  if { (eval echo "$as_me:4679: \"$ac_link\"") >&5  if { (eval echo "$as_me:4685: \"$ac_link\"") >&5
4686    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
4687    ac_status=$?    ac_status=$?
4688    echo "$as_me:4682: \$? = $ac_status" >&5    echo "$as_me:4688: \$? = $ac_status" >&5
4689    (exit $ac_status); } &&    (exit $ac_status); } &&
4690           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
4691    { (eval echo "$as_me:4685: \"$ac_try\"") >&5    { (eval echo "$as_me:4691: \"$ac_try\"") >&5
4692    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4693    ac_status=$?    ac_status=$?
4694    echo "$as_me:4688: \$? = $ac_status" >&5    echo "$as_me:4694: \$? = $ac_status" >&5
4695    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4696    ac_cv_var_tzname=yes    ac_cv_var_tzname=yes
4697  else  else
# Line 4695  ac_cv_var_tzname=no Line 4701  ac_cv_var_tzname=no
4701  fi  fi
4702  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4703  fi  fi
4704  echo "$as_me:4698: result: $ac_cv_var_tzname" >&5  echo "$as_me:4704: result: $ac_cv_var_tzname" >&5
4705  echo "${ECHO_T}$ac_cv_var_tzname" >&6  echo "${ECHO_T}$ac_cv_var_tzname" >&6
4706    if test $ac_cv_var_tzname = yes; then    if test $ac_cv_var_tzname = yes; then
4707    
# Line 4706  EOF Line 4712  EOF
4712    fi    fi
4713  fi  fi
4714    
4715  echo "$as_me:4709: checking for tm_gmtoff in struct tm" >&5  echo "$as_me:4715: checking for tm_gmtoff in struct tm" >&5
4716  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
4717  if test "${emacs_cv_tm_gmtoff+set}" = set; then  if test "${emacs_cv_tm_gmtoff+set}" = set; then
4718    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4719  else  else
4720    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4721  #line 4715 "configure"  #line 4721 "configure"
4722  #include "confdefs.h"  #include "confdefs.h"
4723  #include <time.h>  #include <time.h>
4724  int  int
# Line 4724  struct tm t; t.tm_gmtoff = 0 Line 4730  struct tm t; t.tm_gmtoff = 0
4730  }  }
4731  _ACEOF  _ACEOF
4732  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
4733  if { (eval echo "$as_me:4727: \"$ac_link\"") >&5  if { (eval echo "$as_me:4733: \"$ac_link\"") >&5
4734    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
4735    ac_status=$?    ac_status=$?
4736    echo "$as_me:4730: \$? = $ac_status" >&5    echo "$as_me:4736: \$? = $ac_status" >&5
4737    (exit $ac_status); } &&    (exit $ac_status); } &&
4738           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
4739    { (eval echo "$as_me:4733: \"$ac_try\"") >&5    { (eval echo "$as_me:4739: \"$ac_try\"") >&5
4740    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4741    ac_status=$?    ac_status=$?
4742    echo "$as_me:4736: \$? = $ac_status" >&5    echo "$as_me:4742: \$? = $ac_status" >&5
4743    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4744    emacs_cv_tm_gmtoff=yes    emacs_cv_tm_gmtoff=yes
4745  else  else
# Line 4743  emacs_cv_tm_gmtoff=no Line 4749  emacs_cv_tm_gmtoff=no
4749  fi  fi
4750  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4751  fi  fi
4752  echo "$as_me:4746: result: $emacs_cv_tm_gmtoff" >&5  echo "$as_me:4752: result: $emacs_cv_tm_gmtoff" >&5
4753  echo "${ECHO_T}$emacs_cv_tm_gmtoff" >&6  echo "${ECHO_T}$emacs_cv_tm_gmtoff" >&6
4754  if test $emacs_cv_tm_gmtoff = yes; then  if test $emacs_cv_tm_gmtoff = yes; then
4755    cat >>confdefs.h <<\EOF    cat >>confdefs.h <<\EOF
# Line 4752  EOF Line 4758  EOF
4758    
4759  fi  fi
4760    
4761  echo "$as_me:4755: checking for $CC option to accept ANSI C" >&5  echo "$as_me:4761: checking for $CC option to accept ANSI C" >&5
4762  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
4763  if test "${ac_cv_prog_cc_stdc+set}" = set; then  if test "${ac_cv_prog_cc_stdc+set}" = set; then
4764    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4760  else Line 4766  else
4766    ac_cv_prog_cc_stdc=no    ac_cv_prog_cc_stdc=no
4767  ac_save_CC=$CC  ac_save_CC=$CC
4768  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
4769  #line 4763 "configure"  #line 4769 "configure"
4770  #include "confdefs.h"  #include "confdefs.h"
4771  #include <stdarg.h>  #include <stdarg.h>
4772  #include <stdio.h>  #include <stdio.h>
# Line 4809  for ac_arg in "" -qlanglvl=ansi -std1 -A Line 4815  for ac_arg in "" -qlanglvl=ansi -std1 -A
4815  do  do
4816    CC="$ac_save_CC $ac_arg"    CC="$ac_save_CC $ac_arg"
4817    rm -f conftest.$ac_objext    rm -f conftest.$ac_objext
4818  if { (eval echo "$as_me:4812: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4818: \"$ac_compile\"") >&5
4819    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4820    ac_status=$?    ac_status=$?
4821    echo "$as_me:4815: \$? = $ac_status" >&5    echo "$as_me:4821: \$? = $ac_status" >&5
4822    (exit $ac_status); } &&    (exit $ac_status); } &&
4823           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4824    { (eval echo "$as_me:4818: \"$ac_try\"") >&5    { (eval echo "$as_me:4824: \"$ac_try\"") >&5
4825    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4826    ac_status=$?    ac_status=$?
4827    echo "$as_me:4821: \$? = $ac_status" >&5    echo "$as_me:4827: \$? = $ac_status" >&5
4828    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4829    ac_cv_prog_cc_stdc=$ac_arg    ac_cv_prog_cc_stdc=$ac_arg
4830  break  break
# Line 4835  fi Line 4841  fi
4841    
4842  case "x$ac_cv_prog_cc_stdc" in  case "x$ac_cv_prog_cc_stdc" in
4843    x|xno)    x|xno)
4844      echo "$as_me:4838: result: none needed" >&5      echo "$as_me:4844: result: none needed" >&5
4845  echo "${ECHO_T}none needed" >&6 ;;  echo "${ECHO_T}none needed" >&6 ;;
4846    *)    *)
4847      echo "$as_me:4841: result: $ac_cv_prog_cc_stdc" >&5      echo "$as_me:4847: result: $ac_cv_prog_cc_stdc" >&5
4848  echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6  echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4849      CC="$CC $ac_cv_prog_cc_stdc" ;;      CC="$CC $ac_cv_prog_cc_stdc" ;;
4850  esac  esac
4851    
4852  echo "$as_me:4846: checking for function prototypes" >&5  echo "$as_me:4852: checking for function prototypes" >&5
4853  echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6  echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
4854  if test "$ac_cv_prog_cc_stdc" != no; then  if test "$ac_cv_prog_cc_stdc" != no; then
4855    echo "$as_me:4849: result: yes" >&5    echo "$as_me:4855: result: yes" >&5
4856  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
4857    
4858  cat >>confdefs.h <<\EOF  cat >>confdefs.h <<\EOF
# Line 4854  cat >>confdefs.h <<\EOF Line 4860  cat >>confdefs.h <<\EOF
4860  EOF  EOF
4861    
4862  else  else
4863    echo "$as_me:4857: result: no" >&5    echo "$as_me:4863: result: no" >&5
4864  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
4865  fi  fi
4866    
4867  echo "$as_me:4861: checking for working volatile" >&5  echo "$as_me:4867: checking for working volatile" >&5
4868  echo $ECHO_N "checking for working volatile... $ECHO_C" >&6  echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
4869  if test "${ac_cv_c_volatile+set}" = set; then  if test "${ac_cv_c_volatile+set}" = set; then
4870    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4871  else  else
4872    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4873  #line 4867 "configure"  #line 4873 "configure"
4874  #include "confdefs.h"  #include "confdefs.h"
4875    
4876  int  int
# Line 4878  int * volatile y; Line 4884  int * volatile y;
4884  }  }
4885  _ACEOF  _ACEOF
4886  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4887  if { (eval echo "$as_me:4881: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4887: \"$ac_compile\"") >&5
4888    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4889    ac_status=$?    ac_status=$?
4890    echo "$as_me:4884: \$? = $ac_status" >&5    echo "$as_me:4890: \$? = $ac_status" >&5
4891    (exit $ac_status); } &&    (exit $ac_status); } &&
4892           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4893    { (eval echo "$as_me:4887: \"$ac_try\"") >&5    { (eval echo "$as_me:4893: \"$ac_try\"") >&5
4894    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4895    ac_status=$?    ac_status=$?
4896    echo "$as_me:4890: \$? = $ac_status" >&5    echo "$as_me:4896: \$? = $ac_status" >&5
4897    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4898    ac_cv_c_volatile=yes    ac_cv_c_volatile=yes
4899  else  else
# Line 4897  ac_cv_c_volatile=no Line 4903  ac_cv_c_volatile=no
4903  fi  fi
4904  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4905  fi  fi
4906  echo "$as_me:4900: result: $ac_cv_c_volatile" >&5  echo "$as_me:4906: result: $ac_cv_c_volatile" >&5
4907  echo "${ECHO_T}$ac_cv_c_volatile" >&6  echo "${ECHO_T}$ac_cv_c_volatile" >&6
4908  if test $ac_cv_c_volatile = no; then  if test $ac_cv_c_volatile = no; then
4909    
# Line 4907  EOF Line 4913  EOF
4913    
4914  fi  fi
4915    
4916  echo "$as_me:4910: checking for an ANSI C-conforming const" >&5  echo "$as_me:4916: checking for an ANSI C-conforming const" >&5
4917  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
4918  if test "${ac_cv_c_const+set}" = set; then  if test "${ac_cv_c_const+set}" = set; then
4919    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4920  else  else
4921    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4922  #line 4916 "configure"  #line 4922 "configure"
4923  #include "confdefs.h"  #include "confdefs.h"
4924    
4925  int  int
# Line 4971  main () Line 4977  main ()
4977  }  }
4978  _ACEOF  _ACEOF
4979  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4980  if { (eval echo "$as_me:4974: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4980: \"$ac_compile\"") >&5
4981    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4982    ac_status=$?    ac_status=$?
4983    echo "$as_me:4977: \$? = $ac_status" >&5    echo "$as_me:4983: \$? = $ac_status" >&5
4984    (exit $ac_status); } &&    (exit $ac_status); } &&
4985           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4986    { (eval echo "$as_me:4980: \"$ac_try\"") >&5    { (eval echo "$as_me:4986: \"$ac_try\"") >&5
4987    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4988    ac_status=$?    ac_status=$?
4989    echo "$as_me:4983: \$? = $ac_status" >&5    echo "$as_me:4989: \$? = $ac_status" >&5
4990    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4991    ac_cv_c_const=yes    ac_cv_c_const=yes
4992  else  else
# Line 4990  ac_cv_c_const=no Line 4996  ac_cv_c_const=no
4996  fi  fi
4997  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4998  fi  fi
4999  echo "$as_me:4993: result: $ac_cv_c_const" >&5  echo "$as_me:4999: result: $ac_cv_c_const" >&5
5000  echo "${ECHO_T}$ac_cv_c_const" >&6  echo "${ECHO_T}$ac_cv_c_const" >&6
5001  if test $ac_cv_c_const = no; then  if test $ac_cv_c_const = no; then
5002    
# Line 5000  EOF Line 5006  EOF
5006    
5007  fi  fi
5008    
5009  echo "$as_me:5003: checking for void * support" >&5  echo "$as_me:5009: checking for void * support" >&5
5010  echo $ECHO_N "checking for void * support... $ECHO_C" >&6  echo $ECHO_N "checking for void * support... $ECHO_C" >&6
5011  if test "${emacs_cv_void_star+set}" = set; then  if test "${emacs_cv_void_star+set}" = set; then
5012    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5013  else  else
5014    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5015  #line 5009 "configure"  #line 5015 "configure"
5016  #include "confdefs.h"  #include "confdefs.h"
5017    
5018  int  int
# Line 5018  void * foo; Line 5024  void * foo;
5024  }  }
5025  _ACEOF  _ACEOF
5026  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
5027  if { (eval echo "$as_me:5021: \"$ac_compile\"") >&5  if { (eval echo "$as_me:5027: \"$ac_compile\"") >&5
5028    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
5029    ac_status=$?    ac_status=$?
5030    echo "$as_me:5024: \$? = $ac_status" >&5    echo "$as_me:5030: \$? = $ac_status" >&5
5031    (exit $ac_status); } &&    (exit $ac_status); } &&
5032           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
5033    { (eval echo "$as_me:5027: \"$ac_try\"") >&5    { (eval echo "$as_me:5033: \"$ac_try\"") >&5
5034    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5035    ac_status=$?    ac_status=$?
5036    echo "$as_me:5030: \$? = $ac_status" >&5    echo "$as_me:5036: \$? = $ac_status" >&5
5037    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5038    emacs_cv_void_star=yes    emacs_cv_void_star=yes
5039  else  else
# Line 5037  emacs_cv_void_star=no Line 5043  emacs_cv_void_star=no
5043  fi  fi
5044  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
5045  fi  fi
5046  echo "$as_me:5040: result: $emacs_cv_void_star" >&5  echo "$as_me:5046: result: $emacs_cv_void_star" >&5
5047  echo "${ECHO_T}$emacs_cv_void_star" >&6  echo "${ECHO_T}$emacs_cv_void_star" >&6
5048  if test $emacs_cv_void_star = yes; then  if test $emacs_cv_void_star = yes; then
5049    cat >>confdefs.h <<\EOF    cat >>confdefs.h <<\EOF
# Line 5051  EOF Line 5057  EOF
5057    
5058  fi  fi
5059    
5060  echo "$as_me:5054: checking whether ${MAKE-make} sets \${MAKE}" >&5  echo "$as_me:5060: checking whether ${MAKE-make} sets \${MAKE}" >&5
5061  echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6  echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
5062  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
5063  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 5071  fi Line 5077  fi
5077  rm -f conftest.make  rm -f conftest.make
5078  fi  fi
5079  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
5080    echo "$as_me:5074: result: yes" >&5    echo "$as_me:5080: result: yes" >&5
5081  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
5082    SET_MAKE=    SET_MAKE=
5083  else  else
5084    echo "$as_me:5078: result: no" >&5    echo "$as_me:5084: result: no" >&5
5085  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
5086    SET_MAKE="MAKE=${MAKE-make}"    SET_MAKE="MAKE=${MAKE-make}"
5087  fi  fi
5088    
5089  echo "$as_me:5083: checking for long file names" >&5  echo "$as_me:5089: checking for long file names" >&5
5090  echo $ECHO_N "checking for long file names... $ECHO_C" >&6  echo $ECHO_N "checking for long file names... $ECHO_C" >&6
5091  if test "${ac_cv_sys_long_file_names+set}" = set; then  if test "${ac_cv_sys_long_file_names+set}" = set; then
5092    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5119  for ac_dir in  . $ac_tmpdirs `eval echo Line 5125  for ac_dir in  . $ac_tmpdirs `eval echo
5125    rm -rf $ac_xdir 2>/dev/null    rm -rf $ac_xdir 2>/dev/null
5126  done  done
5127  fi  fi
5128  echo "$as_me:5122: result: $ac_cv_sys_long_file_names" >&5  echo "$as_me:5128: result: $ac_cv_sys_long_file_names" >&5
5129  echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6  echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6
5130  if test $ac_cv_sys_long_file_names = yes; then  if test $ac_cv_sys_long_file_names = yes; then
5131    
# Line 5131  fi Line 5137  fi
5137    
5138  #### Choose a window system.  #### Choose a window system.
5139    
5140  echo "$as_me:5134: checking for X" >&5  echo "$as_me:5140: checking for X" >&5
5141  echo $ECHO_N "checking for X... $ECHO_C" >&6  echo $ECHO_N "checking for X... $ECHO_C" >&6
5142    
5143  # Check whether --with-x or --without-x was given.  # Check whether --with-x or --without-x was given.
# Line 5228  if test "$ac_x_includes" = no; then Line 5234  if test "$ac_x_includes" = no; then
5234    # Guess where to find include files, by looking for Intrinsic.h.    # Guess where to find include files, by looking for Intrinsic.h.
5235    # First, try using that file with no special directory specified.    # First, try using that file with no special directory specified.
5236    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5237  #line 5231 "configure"  #line 5237 "configure"
5238  #include "confdefs.h"  #include "confdefs.h"
5239  #include <X11/Intrinsic.h>  #include <X11/Intrinsic.h>
5240  _ACEOF  _ACEOF
5241  if { (eval echo "$as_me:5235: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:5241: \"$ac_cpp conftest.$ac_ext\"") >&5
5242    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5243    ac_status=$?    ac_status=$?
5244    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
5245    rm -f conftest.er1    rm -f conftest.er1
5246    cat conftest.err >&5    cat conftest.err >&5
5247    echo "$as_me:5241: \$? = $ac_status" >&5    echo "$as_me:5247: \$? = $ac_status" >&5
5248    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
5249    if test -s conftest.err; then    if test -s conftest.err; then
5250      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 5271  if test "$ac_x_libraries" = no; then Line 5277  if test "$ac_x_libraries" = no; then
5277    ac_save_LIBS=$LIBS    ac_save_LIBS=$LIBS
5278    LIBS="-lXt $LIBS"    LIBS="-lXt $LIBS"
5279    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5280  #line 5274 "configure"  #line 5280 "configure"
5281  #include "confdefs.h"  #include "confdefs.h"
5282  #include <X11/Intrinsic.h>  #include <X11/Intrinsic.h>
5283  int  int
# Line 5283  XtMalloc (0) Line 5289  XtMalloc (0)
5289  }  }
5290  _ACEOF  _ACEOF
5291  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
5292  if { (eval echo "$as_me:5286: \"$ac_link\"") >&5  if { (eval echo "$as_me:5292: \"$ac_link\"") >&5
5293    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
5294    ac_status=$?    ac_status=$?
5295    echo "$as_me:5289: \$? = $ac_status" >&5    echo "$as_me:5295: \$? = $ac_status" >&5
5296    (exit $ac_status); } &&    (exit $ac_status); } &&
5297           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
5298    { (eval echo "$as_me:5292: \"$ac_try\"") >&5    { (eval echo "$as_me:5298: \"$ac_try\"") >&5
5299    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5300    ac_status=$?    ac_status=$?
5301    echo "$as_me:5295: \$? = $ac_status" >&5    echo "$as_me:5301: \$? = $ac_status" >&5
5302    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5303    LIBS=$ac_save_LIBS    LIBS=$ac_save_LIBS
5304  # We can link X programs with no special library path.  # We can link X programs with no special library path.
# Line 5330  fi Line 5336  fi
5336  fi # $with_x != no  fi # $with_x != no
5337    
5338  if test "$have_x" != yes; then  if test "$have_x" != yes; then
5339    echo "$as_me:5333: result: $have_x" >&5    echo "$as_me:5339: result: $have_x" >&5
5340  echo "${ECHO_T}$have_x" >&6  echo "${ECHO_T}$have_x" >&6
5341    no_x=yes    no_x=yes
5342  else  else
# Line 5340  else Line 5346  else
5346    # Update the cache value to reflect the command line values.    # Update the cache value to reflect the command line values.
5347    ac_cv_have_x="have_x=yes \    ac_cv_have_x="have_x=yes \
5348                  ac_x_includes=$x_includes ac_x_libraries=$x_libraries"                  ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
5349    echo "$as_me:5343: result: libraries $x_libraries, headers $x_includes" >&5    echo "$as_me:5349: result: libraries $x_libraries, headers $x_includes" >&5
5350  echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6  echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
5351  fi  fi
5352    
# Line 5438  UNEXEC_SRC="`echo ${unexec} | sed 's/\.o Line 5444  UNEXEC_SRC="`echo ${unexec} | sed 's/\.o
5444  # Assume not, until told otherwise.  # Assume not, until told otherwise.
5445  GNU_MALLOC=yes  GNU_MALLOC=yes
5446  doug_lea_malloc=yes  doug_lea_malloc=yes
5447  echo "$as_me:5441: checking for malloc_get_state" >&5  echo "$as_me:5447: checking for malloc_get_state" >&5
5448  echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6  echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6
5449  if test "${ac_cv_func_malloc_get_state+set}" = set; then  if test "${ac_cv_func_malloc_get_state+set}" = set; then
5450    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5451  else  else
5452    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5453  #line 5447 "configure"  #line 5453 "configure"
5454  #include "confdefs.h"  #include "confdefs.h"
5455  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5456      which can conflict with char malloc_get_state (); below.  */      which can conflict with char malloc_get_state (); below.  */
# Line 5475  f = malloc_get_state; Line 5481  f = malloc_get_state;
5481  }  }
5482  _ACEOF  _ACEOF
5483  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
5484  if { (eval echo "$as_me:5478: \"$ac_link\"") >&5  if { (eval echo "$as_me:5484: \"$ac_link\"") >&5
5485    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
5486    ac_status=$?    ac_status=$?
5487    echo "$as_me:5481: \$? = $ac_status" >&5    echo "$as_me:5487: \$? = $ac_status" >&5
5488    (exit $ac_status); } &&    (exit $ac_status); } &&
5489           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
5490    { (eval echo "$as_me:5484: \"$ac_try\"") >&5    { (eval echo "$as_me:5490: \"$ac_try\"") >&5
5491    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5492    ac_status=$?    ac_status=$?
5493    echo "$as_me:5487: \$? = $ac_status" >&5    echo "$as_me:5493: \$? = $ac_status" >&5
5494    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5495    ac_cv_func_malloc_get_state=yes    ac_cv_func_malloc_get_state=yes
5496  else  else
# Line 5494  ac_cv_func_malloc_get_state=no Line 5500  ac_cv_func_malloc_get_state=no
5500  fi  fi
5501  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5502  fi  fi
5503  echo "$as_me:5497: result: $ac_cv_func_malloc_get_state" >&5  echo "$as_me:5503: result: $ac_cv_func_malloc_get_state" >&5
5504  echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6  echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6
5505  if test $ac_cv_func_malloc_get_state = yes; then  if test $ac_cv_func_malloc_get_state = yes; then
5506    :    :
# Line 5502  else Line 5508  else
5508    doug_lea_malloc=no    doug_lea_malloc=no
5509  fi  fi
5510    
5511  echo "$as_me:5505: checking for malloc_set_state" >&5  echo "$as_me:5511: checking for malloc_set_state" >&5
5512  echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6  echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6
5513  if test "${ac_cv_func_malloc_set_state+set}" = set; then  if test "${ac_cv_func_malloc_set_state+set}" = set; then
5514    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5515  else  else
5516    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5517  #line 5511 "configure"  #line 5517 "configure"
5518  #include "confdefs.h"  #include "confdefs.h"
5519  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5520      which can conflict with char malloc_set_state (); below.  */      which can conflict with char malloc_set_state (); below.  */
# Line 5539  f = malloc_set_state; Line 5545  f = malloc_set_state;
5545  }  }
5546  _ACEOF  _ACEOF
5547  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
5548  if { (eval echo "$as_me:5542: \"$ac_link\"") >&5  if { (eval echo "$as_me:5548: \"$ac_link\"") >&5
5549    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
5550    ac_status=$?    ac_status=$?
5551    echo "$as_me:5545: \$? = $ac_status" >&5    echo "$as_me:5551: \$? = $ac_status" >&5
5552    (exit $ac_status); } &&    (exit $ac_status); } &&
5553           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
5554    { (eval echo "$as_me:5548: \"$ac_try\"") >&5    { (eval echo "$as_me:5554: \"$ac_try\"") >&5
5555    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5556    ac_status=$?    ac_status=$?
5557    echo "$as_me:5551: \$? = $ac_status" >&5    echo "$as_me:5557: \$? = $ac_status" >&5
5558    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5559    ac_cv_func_malloc_set_state=yes    ac_cv_func_malloc_set_state=yes
5560  else  else
# Line 5558  ac_cv_func_malloc_set_state=no Line 5564  ac_cv_func_malloc_set_state=no
5564  fi  fi
5565  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5566  fi  fi
5567  echo "$as_me:5561: result: $ac_cv_func_malloc_set_state" >&5  echo "$as_me:5567: result: $ac_cv_func_malloc_set_state" >&5
5568  echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6  echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6
5569  if test $ac_cv_func_malloc_set_state = yes; then  if test $ac_cv_func_malloc_set_state = yes; then
5570    :    :
# Line 5566  else Line 5572  else
5572    doug_lea_malloc=no    doug_lea_malloc=no
5573  fi  fi
5574    
5575  echo "$as_me:5569: checking whether __after_morecore_hook exists" >&5  echo "$as_me:5575: checking whether __after_morecore_hook exists" >&5
5576  echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6  echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6
5577  if test "${emacs_cv_var___after_morecore_hook+set}" = set; then  if test "${emacs_cv_var___after_morecore_hook+set}" = set; then
5578    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5579  else  else
5580    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5581  #line 5575 "configure"  #line 5581 "configure"
5582  #include "confdefs.h"  #include "confdefs.h"
5583  extern void (* __after_morecore_hook)();  extern void (* __after_morecore_hook)();
5584  int  int
# Line 5584  __after_morecore_hook = 0 Line 5590  __after_morecore_hook = 0
5590  }  }
5591  _ACEOF  _ACEOF
5592  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
5593  if { (eval echo "$as_me:5587: \"$ac_link\"") >&5  if { (eval echo "$as_me:5593: \"$ac_link\"") >&5
5594    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
5595    ac_status=$?    ac_status=$?
5596    echo "$as_me:5590: \$? = $ac_status" >&5    echo "$as_me:5596: \$? = $ac_status" >&5
5597    (exit $ac_status); } &&    (exit $ac_status); } &&
5598           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
5599    { (eval echo "$as_me:5593: \"$ac_try\"") >&5    { (eval echo "$as_me:5599: \"$ac_try\"") >&5
5600    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5601    ac_status=$?    ac_status=$?
5602    echo "$as_me:5596: \$? = $ac_status" >&5    echo "$as_me:5602: \$? = $ac_status" >&5
5603    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5604    emacs_cv_var___after_morecore_hook=yes    emacs_cv_var___after_morecore_hook=yes
5605  else  else
# Line 5603  emacs_cv_var___after_morecore_hook=no Line 5609  emacs_cv_var___after_morecore_hook=no
5609  fi  fi
5610  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5611  fi  fi
5612  echo "$as_me:5606: result: $emacs_cv_var___after_morecore_hook" >&5  echo "$as_me:5612: result: $emacs_cv_var___after_morecore_hook" >&5
5613  echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6  echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6
5614  if test $emacs_cv_var___after_morecore_hook = no; then  if test $emacs_cv_var___after_morecore_hook = no; then
5615    doug_lea_malloc=no    doug_lea_malloc=no
# Line 5634  for ac_header in sys/types.h sys/stat.h Line 5640  for ac_header in sys/types.h sys/stat.h
5640                    inttypes.h stdint.h unistd.h                    inttypes.h stdint.h unistd.h
5641  do  do
5642  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5643  echo "$as_me:5637: checking for $ac_header" >&5  echo "$as_me:5643: checking for $ac_header" >&5
5644  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5645  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
5646    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5647  else  else
5648    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5649  #line 5643 "configure"  #line 5649 "configure"
5650  #include "confdefs.h"  #include "confdefs.h"
5651  $ac_includes_default  $ac_includes_default
5652  #include <$ac_header>  #include <$ac_header>
5653  _ACEOF  _ACEOF
5654  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
5655  if { (eval echo "$as_me:5649: \"$ac_compile\"") >&5  if { (eval echo "$as_me:5655: \"$ac_compile\"") >&5
5656    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
5657    ac_status=$?    ac_status=$?
5658    echo "$as_me:5652: \$? = $ac_status" >&5    echo "$as_me:5658: \$? = $ac_status" >&5
5659    (exit $ac_status); } &&    (exit $ac_status); } &&
5660           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
5661    { (eval echo "$as_me:5655: \"$ac_try\"") >&5    { (eval echo "$as_me:5661: \"$ac_try\"") >&5
5662    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5663    ac_status=$?    ac_status=$?
5664    echo "$as_me:5658: \$? = $ac_status" >&5    echo "$as_me:5664: \$? = $ac_status" >&5
5665    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5666    eval "$as_ac_Header=yes"    eval "$as_ac_Header=yes"
5667  else  else
# Line 5665  eval "$as_ac_Header=no" Line 5671  eval "$as_ac_Header=no"
5671  fi  fi
5672  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
5673  fi  fi
5674  echo "$as_me:5668: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:5674: result: `eval echo '${'$as_ac_Header'}'`" >&5
5675  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5676  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
5677    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 5678  done Line 5684  done
5684  for ac_header in stdlib.h unistd.h  for ac_header in stdlib.h unistd.h
5685  do  do
5686  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5687  echo "$as_me:5681: checking for $ac_header" >&5  echo "$as_me:5687: checking for $ac_header" >&5
5688  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5689  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
5690    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5691  else  else
5692    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5693  #line 5687 "configure"  #line 5693 "configure"
5694  #include "confdefs.h"  #include "confdefs.h"
5695  #include <$ac_header>  #include <$ac_header>
5696  _ACEOF  _ACEOF
5697  if { (eval echo "$as_me:5691: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:5697: \"$ac_cpp conftest.$ac_ext\"") >&5
5698    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5699    ac_status=$?    ac_status=$?
5700    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
5701    rm -f conftest.er1    rm -f conftest.er1
5702    cat conftest.err >&5    cat conftest.err >&5
5703    echo "$as_me:5697: \$? = $ac_status" >&5    echo "$as_me:5703: \$? = $ac_status" >&5
5704    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
5705    if test -s conftest.err; then    if test -s conftest.err; then
5706      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 5713  else Line 5719  else
5719  fi  fi
5720  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
5721  fi  fi
5722  echo "$as_me:5716: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:5722: result: `eval echo '${'$as_ac_Header'}'`" >&5
5723  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5724  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
5725    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 5726  done Line 5732  done
5732  for ac_func in getpagesize  for ac_func in getpagesize
5733  do  do
5734  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5735  echo "$as_me:5729: checking for $ac_func" >&5  echo "$as_me:5735: checking for $ac_func" >&5
5736  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5737  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
5738    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5739  else  else
5740    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5741  #line 5735 "configure"  #line 5741 "configure"
5742  #include "confdefs.h"  #include "confdefs.h"
5743  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5744      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 5763  f = $ac_func; Line 5769  f = $ac_func;
5769  }  }
5770  _ACEOF  _ACEOF
5771  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
5772  if { (eval echo "$as_me:5766: \"$ac_link\"") >&5  if { (eval echo "$as_me:5772: \"$ac_link\"") >&5
5773    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
5774    ac_status=$?    ac_status=$?
5775    echo "$as_me:5769: \$? = $ac_status" >&5    echo "$as_me:5775: \$? = $ac_status" >&5
5776    (exit $ac_status); } &&    (exit $ac_status); } &&
5777           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
5778    { (eval echo "$as_me:5772: \"$ac_try\"") >&5    { (eval echo "$as_me:5778: \"$ac_try\"") >&5
5779    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5780    ac_status=$?    ac_status=$?
5781    echo "$as_me:5775: \$? = $ac_status" >&5    echo "$as_me:5781: \$? = $ac_status" >&5
5782    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5783    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
5784  else  else
# Line 5782  eval "$as_ac_var=no" Line 5788  eval "$as_ac_var=no"
5788  fi  fi
5789  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5790  fi  fi
5791  echo "$as_me:5785: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:5791: result: `eval echo '${'$as_ac_var'}'`" >&5
5792  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5793  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
5794    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 5792  EOF Line 5798  EOF
5798  fi  fi
5799  done  done
5800    
5801  echo "$as_me:5795: checking for working mmap" >&5  echo "$as_me:5801: checking for working mmap" >&5
5802  echo $ECHO_N "checking for working mmap... $ECHO_C" >&6  echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
5803  if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then  if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
5804    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5801  else Line 5807  else
5807    ac_cv_func_mmap_fixed_mapped=no    ac_cv_func_mmap_fixed_mapped=no
5808  else  else
5809    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5810  #line 5804 "configure"  #line 5810 "configure"
5811  #include "confdefs.h"  #include "confdefs.h"
5812  $ac_includes_default  $ac_includes_default
5813  /* Thanks to Mike Haertel and Jim Avera for this test.  /* Thanks to Mike Haertel and Jim Avera for this test.
# Line 5928  main () Line 5934  main ()
5934  }  }
5935  _ACEOF  _ACEOF
5936  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
5937  if { (eval echo "$as_me:5931: \"$ac_link\"") >&5  if { (eval echo "$as_me:5937: \"$ac_link\"") >&5
5938    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
5939    ac_status=$?    ac_status=$?
5940    echo "$as_me:5934: \$? = $ac_status" >&5    echo "$as_me:5940: \$? = $ac_status" >&5
5941    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5942    { (eval echo "$as_me:5936: \"$ac_try\"") >&5    { (eval echo "$as_me:5942: \"$ac_try\"") >&5
5943    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5944    ac_status=$?    ac_status=$?
5945    echo "$as_me:5939: \$? = $ac_status" >&5    echo "$as_me:5945: \$? = $ac_status" >&5
5946    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5947    ac_cv_func_mmap_fixed_mapped=yes    ac_cv_func_mmap_fixed_mapped=yes
5948  else  else
# Line 5948  fi Line 5954  fi
5954  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
5955  fi  fi
5956  fi  fi
5957  echo "$as_me:5951: result: $ac_cv_func_mmap_fixed_mapped" >&5  echo "$as_me:5957: result: $ac_cv_func_mmap_fixed_mapped" >&5
5958  echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6  echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
5959  if test $ac_cv_func_mmap_fixed_mapped = yes; then  if test $ac_cv_func_mmap_fixed_mapped = yes; then
5960    
# Line 5965  fi Line 5971  fi
5971    
5972  LIBS="$libsrc_libs $LIBS"  LIBS="$libsrc_libs $LIBS"
5973    
5974  echo "$as_me:5968: checking for dnet_ntoa in -ldnet" >&5  echo "$as_me:5974: checking for dnet_ntoa in -ldnet" >&5
5975  echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6  echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
5976  if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then  if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
5977    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5973  else Line 5979  else
5979    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
5980  LIBS="-ldnet  $LIBS"  LIBS="-ldnet  $LIBS"
5981  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
5982  #line 5976 "configure"  #line 5982 "configure"
5983  #include "confdefs.h"  #include "confdefs.h"
5984    
5985  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 5992  dnet_ntoa (); Line 5998  dnet_ntoa ();
5998  }  }
5999  _ACEOF  _ACEOF
6000  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6001  if { (eval echo "$as_me:5995: \"$ac_link\"") >&5  if { (eval echo "$as_me:6001: \"$ac_link\"") >&5
6002    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6003    ac_status=$?    ac_status=$?
6004    echo "$as_me:5998: \$? = $ac_status" >&5    echo "$as_me:6004: \$? = $ac_status" >&5
6005    (exit $ac_status); } &&    (exit $ac_status); } &&
6006           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6007    { (eval echo "$as_me:6001: \"$ac_try\"") >&5    { (eval echo "$as_me:6007: \"$ac_try\"") >&5
6008    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6009    ac_status=$?    ac_status=$?
6010    echo "$as_me:6004: \$? = $ac_status" >&5    echo "$as_me:6010: \$? = $ac_status" >&5
6011    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6012    ac_cv_lib_dnet_dnet_ntoa=yes    ac_cv_lib_dnet_dnet_ntoa=yes
6013  else  else
# Line 6012  fi Line 6018  fi
6018  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6019  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
6020  fi  fi
6021  echo "$as_me:6015: result: $ac_cv_lib_dnet_dnet_ntoa" >&5  echo "$as_me:6021: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
6022  echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6  echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
6023  if test $ac_cv_lib_dnet_dnet_ntoa = yes; then  if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
6024    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 6023  EOF Line 6029  EOF
6029    
6030  fi  fi
6031    
6032  echo "$as_me:6026: checking for main in -lXbsd" >&5  echo "$as_me:6032: checking for main in -lXbsd" >&5
6033  echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6  echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6
6034  if test "${ac_cv_lib_Xbsd_main+set}" = set; then  if test "${ac_cv_lib_Xbsd_main+set}" = set; then
6035    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6031  else Line 6037  else
6037    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
6038  LIBS="-lXbsd  $LIBS"  LIBS="-lXbsd  $LIBS"
6039  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
6040  #line 6034 "configure"  #line 6040 "configure"
6041  #include "confdefs.h"  #include "confdefs.h"
6042    
6043  int  int
# Line 6043  main (); Line 6049  main ();
6049  }  }
6050  _ACEOF  _ACEOF
6051  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6052  if { (eval echo "$as_me:6046: \"$ac_link\"") >&5  if { (eval echo "$as_me:6052: \"$ac_link\"") >&5
6053    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6054    ac_status=$?    ac_status=$?
6055    echo "$as_me:6049: \$? = $ac_status" >&5    echo "$as_me:6055: \$? = $ac_status" >&5
6056    (exit $ac_status); } &&    (exit $ac_status); } &&
6057           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6058    { (eval echo "$as_me:6052: \"$ac_try\"") >&5    { (eval echo "$as_me:6058: \"$ac_try\"") >&5
6059    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6060    ac_status=$?    ac_status=$?
6061    echo "$as_me:6055: \$? = $ac_status" >&5    echo "$as_me:6061: \$? = $ac_status" >&5
6062    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6063    ac_cv_lib_Xbsd_main=yes    ac_cv_lib_Xbsd_main=yes
6064  else  else
# Line 6063  fi Line 6069  fi
6069  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6070  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
6071  fi  fi
6072  echo "$as_me:6066: result: $ac_cv_lib_Xbsd_main" >&5  echo "$as_me:6072: result: $ac_cv_lib_Xbsd_main" >&5
6073  echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6  echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6
6074  if test $ac_cv_lib_Xbsd_main = yes; then  if test $ac_cv_lib_Xbsd_main = yes; then
6075    LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd"    LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd"
6076  fi  fi
6077    
6078  echo "$as_me:6072: checking for cma_open in -lpthreads" >&5  echo "$as_me:6078: checking for cma_open in -lpthreads" >&5
6079  echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6  echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6
6080  if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then  if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then
6081    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6077  else Line 6083  else
6083    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
6084  LIBS="-lpthreads  $LIBS"  LIBS="-lpthreads  $LIBS"
6085  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
6086  #line 6080 "configure"  #line 6086 "configure"
6087  #include "confdefs.h"  #include "confdefs.h"
6088    
6089  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 6096  cma_open (); Line 6102  cma_open ();
6102  }  }
6103  _ACEOF  _ACEOF
6104  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6105  if { (eval echo "$as_me:6099: \"$ac_link\"") >&5  if { (eval echo "$as_me:6105: \"$ac_link\"") >&5
6106    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6107    ac_status=$?    ac_status=$?
6108    echo "$as_me:6102: \$? = $ac_status" >&5    echo "$as_me:6108: \$? = $ac_status" >&5
6109    (exit $ac_status); } &&    (exit $ac_status); } &&
6110           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6111    { (eval echo "$as_me:6105: \"$ac_try\"") >&5    { (eval echo "$as_me:6111: \"$ac_try\"") >&5
6112    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6113    ac_status=$?    ac_status=$?
6114    echo "$as_me:6108: \$? = $ac_status" >&5    echo "$as_me:6114: \$? = $ac_status" >&5
6115    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6116    ac_cv_lib_pthreads_cma_open=yes    ac_cv_lib_pthreads_cma_open=yes
6117  else  else
# Line 6116  fi Line 6122  fi
6122  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6123  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
6124  fi  fi
6125  echo "$as_me:6119: result: $ac_cv_lib_pthreads_cma_open" >&5  echo "$as_me:6125: result: $ac_cv_lib_pthreads_cma_open" >&5
6126  echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6  echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6
6127  if test $ac_cv_lib_pthreads_cma_open = yes; then  if test $ac_cv_lib_pthreads_cma_open = yes; then
6128    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 6127  EOF Line 6133  EOF
6133    
6134  fi  fi
6135    
6136  echo "$as_me:6130: checking for XFree86 in /usr/X386" >&5  echo "$as_me:6136: checking for XFree86 in /usr/X386" >&5
6137  echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6  echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6
6138  if test -d /usr/X386/include; then  if test -d /usr/X386/include; then
6139    HAVE_XFREE386=yes    HAVE_XFREE386=yes
# Line 6135  if test -d /usr/X386/include; then Line 6141  if test -d /usr/X386/include; then
6141  else  else
6142    HAVE_XFREE386=no    HAVE_XFREE386=no
6143  fi  fi
6144  echo "$as_me:6138: result: $HAVE_XFREE386" >&5  echo "$as_me:6144: result: $HAVE_XFREE386" >&5
6145  echo "${ECHO_T}$HAVE_XFREE386" >&6  echo "${ECHO_T}$HAVE_XFREE386" >&6
6146    
6147  # Change CFLAGS temporarily so that C_SWITCH_X_SITE gets used  # Change CFLAGS temporarily so that C_SWITCH_X_SITE gets used
# Line 6160  if test "${HAVE_X11}" = "yes"; then Line 6166  if test "${HAVE_X11}" = "yes"; then
6166    fi    fi
6167    
6168    if test "${opsys}" = "gnu-linux"; then    if test "${opsys}" = "gnu-linux"; then
6169      echo "$as_me:6163: checking whether X on GNU/Linux needs -b to link" >&5      echo "$as_me:6169: checking whether X on GNU/Linux needs -b to link" >&5
6170  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
6171      cat >conftest.$ac_ext <<_ACEOF      cat >conftest.$ac_ext <<_ACEOF
6172  #line 6166 "configure"  #line 6172 "configure"
6173  #include "confdefs.h"  #include "confdefs.h"
6174    
6175  int  int
# Line 6175  XOpenDisplay ("foo"); Line 6181  XOpenDisplay ("foo");
6181  }  }
6182  _ACEOF  _ACEOF
6183  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6184  if { (eval echo "$as_me:6178: \"$ac_link\"") >&5  if { (eval echo "$as_me:6184: \"$ac_link\"") >&5
6185    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6186    ac_status=$?    ac_status=$?
6187    echo "$as_me:6181: \$? = $ac_status" >&5    echo "$as_me:6187: \$? = $ac_status" >&5
6188    (exit $ac_status); } &&    (exit $ac_status); } &&
6189           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6190    { (eval echo "$as_me:6184: \"$ac_try\"") >&5    { (eval echo "$as_me:6190: \"$ac_try\"") >&5
6191    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6192    ac_status=$?    ac_status=$?
6193    echo "$as_me:6187: \$? = $ac_status" >&5    echo "$as_me:6193: \$? = $ac_status" >&5
6194    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6195    xlinux_first_failure=no    xlinux_first_failure=no
6196  else  else
# Line 6203  rm -f conftest.$ac_objext conftest$ac_ex Line 6209  rm -f conftest.$ac_objext conftest$ac_ex
6209        CPPFLAGS="$CPPFLAGS -b i486-linuxaout"        CPPFLAGS="$CPPFLAGS -b i486-linuxaout"
6210        LIBS="$LIBS -b i486-linuxaout"        LIBS="$LIBS -b i486-linuxaout"
6211        cat >conftest.$ac_ext <<_ACEOF        cat >conftest.$ac_ext <<_ACEOF
6212  #line 6206 "configure"  #line 6212 "configure"
6213  #include "confdefs.h"  #include "confdefs.h"
6214    
6215  int  int
# Line 6215  XOpenDisplay ("foo"); Line 6221  XOpenDisplay ("foo");
6221  }  }
6222  _ACEOF  _ACEOF
6223  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6224  if { (eval echo "$as_me:6218: \"$ac_link\"") >&5  if { (eval echo "$as_me:6224: \"$ac_link\"") >&5
6225    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6226    ac_status=$?    ac_status=$?
6227    echo "$as_me:6221: \$? = $ac_status" >&5    echo "$as_me:6227: \$? = $ac_status" >&5
6228    (exit $ac_status); } &&    (exit $ac_status); } &&
6229           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6230    { (eval echo "$as_me:6224: \"$ac_try\"") >&5    { (eval echo "$as_me:6230: \"$ac_try\"") >&5
6231    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6232    ac_status=$?    ac_status=$?
6233    echo "$as_me:6227: \$? = $ac_status" >&5    echo "$as_me:6233: \$? = $ac_status" >&5
6234    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6235    xlinux_second_failure=no    xlinux_second_failure=no
6236  else  else
# Line 6240  rm -f conftest.$ac_objext conftest$ac_ex Line 6246  rm -f conftest.$ac_objext conftest$ac_ex
6246          C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE"          C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE"
6247          CPPFLAGS="$OLD_CPPFLAGS"          CPPFLAGS="$OLD_CPPFLAGS"
6248          LIBS="$OLD_LIBS"          LIBS="$OLD_LIBS"
6249          echo "$as_me:6243: result: no" >&5          echo "$as_me:6249: result: no" >&5
6250  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
6251        else        else
6252          echo "$as_me:6246: result: yes" >&5          echo "$as_me:6252: result: yes" >&5
6253  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
6254        fi        fi
6255      else      else
6256        echo "$as_me:6250: result: no" >&5        echo "$as_me:6256: result: no" >&5
6257  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
6258      fi      fi
6259    fi    fi
6260    
6261    # Reportedly, some broken Solaris systems have XKBlib.h but are missing    # Reportedly, some broken Solaris systems have XKBlib.h but are missing
6262    # header files included from there.    # header files included from there.
6263    echo "$as_me:6257: checking for Xkb" >&5    echo "$as_me:6263: checking for Xkb" >&5
6264  echo $ECHO_N "checking for Xkb... $ECHO_C" >&6  echo $ECHO_N "checking for Xkb... $ECHO_C" >&6
6265    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6266  #line 6260 "configure"  #line 6266 "configure"
6267  #include "confdefs.h"  #include "confdefs.h"
6268  #include <X11/Xlib.h>  #include <X11/Xlib.h>
6269  #include <X11/XKBlib.h>  #include <X11/XKBlib.h>
# Line 6270  XkbDescPtr kb = XkbGetKeyboard (0, XkbAl Line 6276  XkbDescPtr kb = XkbGetKeyboard (0, XkbAl
6276  }  }
6277  _ACEOF  _ACEOF
6278  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6279  if { (eval echo "$as_me:6273: \"$ac_link\"") >&5  if { (eval echo "$as_me:6279: \"$ac_link\"") >&5
6280    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6281    ac_status=$?    ac_status=$?
6282    echo "$as_me:6276: \$? = $ac_status" >&5    echo "$as_me:6282: \$? = $ac_status" >&5
6283    (exit $ac_status); } &&    (exit $ac_status); } &&
6284           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6285    { (eval echo "$as_me:6279: \"$ac_try\"") >&5    { (eval echo "$as_me:6285: \"$ac_try\"") >&5
6286    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6287    ac_status=$?    ac_status=$?
6288    echo "$as_me:6282: \$? = $ac_status" >&5    echo "$as_me:6288: \$? = $ac_status" >&5
6289    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6290    emacs_xkb=yes    emacs_xkb=yes
6291  else  else
# Line 6288  cat conftest.$ac_ext >&5 Line 6294  cat conftest.$ac_ext >&5
6294  emacs_xkb=no  emacs_xkb=no
6295  fi  fi
6296  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6297    echo "$as_me:6291: result: $emacs_xkb" >&5    echo "$as_me:6297: result: $emacs_xkb" >&5
6298  echo "${ECHO_T}$emacs_xkb" >&6  echo "${ECHO_T}$emacs_xkb" >&6
6299    if test $emacs_xkb = yes; then    if test $emacs_xkb = yes; then
6300      cat >>confdefs.h <<\EOF      cat >>confdefs.h <<\EOF
# Line 6301  for ac_func in XrmSetDatabase XScreenRes Line 6307  for ac_func in XrmSetDatabase XScreenRes
6307  XScreenNumberOfScreen XSetWMProtocols  XScreenNumberOfScreen XSetWMProtocols
6308  do  do
6309  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6310  echo "$as_me:6304: checking for $ac_func" >&5  echo "$as_me:6310: checking for $ac_func" >&5
6311  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6312  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
6313    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6314  else  else
6315    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6316  #line 6310 "configure"  #line 6316 "configure"
6317  #include "confdefs.h"  #include "confdefs.h"
6318  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6319      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 6338  f = $ac_func; Line 6344  f = $ac_func;
6344  }  }
6345  _ACEOF  _ACEOF
6346  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6347  if { (eval echo "$as_me:6341: \"$ac_link\"") >&5  if { (eval echo "$as_me:6347: \"$ac_link\"") >&5
6348    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6349    ac_status=$?    ac_status=$?
6350    echo "$as_me:6344: \$? = $ac_status" >&5    echo "$as_me:6350: \$? = $ac_status" >&5
6351    (exit $ac_status); } &&    (exit $ac_status); } &&
6352           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6353    { (eval echo "$as_me:6347: \"$ac_try\"") >&5    { (eval echo "$as_me:6353: \"$ac_try\"") >&5
6354    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6355    ac_status=$?    ac_status=$?
6356    echo "$as_me:6350: \$? = $ac_status" >&5    echo "$as_me:6356: \$? = $ac_status" >&5
6357    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6358    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
6359  else  else
# Line 6357  eval "$as_ac_var=no" Line 6363  eval "$as_ac_var=no"
6363  fi  fi
6364  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6365  fi  fi
6366  echo "$as_me:6360: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:6366: result: `eval echo '${'$as_ac_var'}'`" >&5
6367  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6368  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
6369    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 6370  done Line 6376  done
6376  fi  fi
6377    
6378  if test "${window_system}" = "x11"; then  if test "${window_system}" = "x11"; then
6379    echo "$as_me:6373: checking X11 version 6" >&5    echo "$as_me:6379: checking X11 version 6" >&5
6380  echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6  echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6
6381    if test "${emacs_cv_x11_version_6+set}" = set; then    if test "${emacs_cv_x11_version_6+set}" = set; then
6382    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6383  else  else
6384    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6385  #line 6379 "configure"  #line 6385 "configure"
6386  #include "confdefs.h"  #include "confdefs.h"
6387  #include <X11/Xlib.h>  #include <X11/Xlib.h>
6388  int  int
# Line 6391  fail; Line 6397  fail;
6397  }  }
6398  _ACEOF  _ACEOF
6399  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6400  if { (eval echo "$as_me:6394: \"$ac_link\"") >&5  if { (eval echo "$as_me:6400: \"$ac_link\"") >&5
6401    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6402    ac_status=$?    ac_status=$?
6403    echo "$as_me:6397: \$? = $ac_status" >&5    echo "$as_me:6403: \$? = $ac_status" >&5
6404    (exit $ac_status); } &&    (exit $ac_status); } &&
6405           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6406    { (eval echo "$as_me:6400: \"$ac_try\"") >&5    { (eval echo "$as_me:6406: \"$ac_try\"") >&5
6407    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6408    ac_status=$?    ac_status=$?
6409    echo "$as_me:6403: \$? = $ac_status" >&5    echo "$as_me:6409: \$? = $ac_status" >&5
6410    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6411    emacs_cv_x11_version_6=yes    emacs_cv_x11_version_6=yes
6412  else  else
# Line 6412  rm -f conftest.$ac_objext conftest$ac_ex Line 6418  rm -f conftest.$ac_objext conftest$ac_ex
6418  fi  fi
6419    
6420    if test $emacs_cv_x11_version_6 = yes; then    if test $emacs_cv_x11_version_6 = yes; then
6421      echo "$as_me:6415: result: 6 or newer" >&5      echo "$as_me:6421: result: 6 or newer" >&5
6422  echo "${ECHO_T}6 or newer" >&6  echo "${ECHO_T}6 or newer" >&6
6423      cat >>confdefs.h <<\EOF      cat >>confdefs.h <<\EOF
6424  #define HAVE_X11R6 1  #define HAVE_X11R6 1
6425  EOF  EOF
6426    
6427    else    else
6428      echo "$as_me:6422: result: before 6" >&5      echo "$as_me:6428: result: before 6" >&5
6429  echo "${ECHO_T}before 6" >&6  echo "${ECHO_T}before 6" >&6
6430    fi    fi
6431  fi  fi
6432    
6433  if test "${window_system}" = "x11"; then  if test "${window_system}" = "x11"; then
6434    echo "$as_me:6428: checking X11 version 5" >&5    echo "$as_me:6434: checking X11 version 5" >&5
6435  echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6  echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6
6436    if test "${emacs_cv_x11_version_5+set}" = set; then    if test "${emacs_cv_x11_version_5+set}" = set; then
6437    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6438  else  else
6439    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6440  #line 6434 "configure"  #line 6440 "configure"
6441  #include "confdefs.h"  #include "confdefs.h"
6442  #include <X11/Xlib.h>  #include <X11/Xlib.h>
6443  int  int
# Line 6446  fail; Line 6452  fail;
6452  }  }
6453  _ACEOF  _ACEOF
6454  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6455  if { (eval echo "$as_me:6449: \"$ac_link\"") >&5  if { (eval echo "$as_me:6455: \"$ac_link\"") >&5
6456    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6457    ac_status=$?    ac_status=$?
6458    echo "$as_me:6452: \$? = $ac_status" >&5    echo "$as_me:6458: \$? = $ac_status" >&5
6459    (exit $ac_status); } &&    (exit $ac_status); } &&
6460           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6461    { (eval echo "$as_me:6455: \"$ac_try\"") >&5    { (eval echo "$as_me:6461: \"$ac_try\"") >&5
6462    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6463    ac_status=$?    ac_status=$?
6464    echo "$as_me:6458: \$? = $ac_status" >&5    echo "$as_me:6464: \$? = $ac_status" >&5
6465    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6466    emacs_cv_x11_version_5=yes    emacs_cv_x11_version_5=yes
6467  else  else
# Line 6467  rm -f conftest.$ac_objext conftest$ac_ex Line 6473  rm -f conftest.$ac_objext conftest$ac_ex
6473  fi  fi
6474    
6475    if test $emacs_cv_x11_version_5 = yes; then    if test $emacs_cv_x11_version_5 = yes; then
6476      echo "$as_me:6470: result: 5 or newer" >&5      echo "$as_me:6476: result: 5 or newer" >&5
6477  echo "${ECHO_T}5 or newer" >&6  echo "${ECHO_T}5 or newer" >&6
6478      HAVE_X11R5=yes      HAVE_X11R5=yes
6479      cat >>confdefs.h <<\EOF      cat >>confdefs.h <<\EOF
# Line 6476  EOF Line 6482  EOF
6482    
6483    else    else
6484      HAVE_X11R5=no      HAVE_X11R5=no
6485      echo "$as_me:6479: result: before 5" >&5      echo "$as_me:6485: result: before 5" >&5
6486  echo "${ECHO_T}before 5" >&6  echo "${ECHO_T}before 5" >&6
6487    fi    fi
6488  fi  fi
6489    
6490  if test x"${USE_X_TOOLKIT}" = xmaybe; then  if test x"${USE_X_TOOLKIT}" = xmaybe; then
6491    if test x"${HAVE_X11R5}" = xyes; then    if test x"${HAVE_X11R5}" = xyes; then
6492      echo "$as_me:6486: checking X11 version 5 with Xaw" >&5      echo "$as_me:6492: checking X11 version 5 with Xaw" >&5
6493  echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6  echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6
6494      if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then      if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then
6495    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6496  else  else
6497    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6498  #line 6492 "configure"  #line 6498 "configure"
6499  #include "confdefs.h"  #include "confdefs.h"
6500    
6501  #include <X11/Intrinsic.h>  #include <X11/Intrinsic.h>
# Line 6503  main () Line 6509  main ()
6509  }  }
6510  _ACEOF  _ACEOF
6511  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6512  if { (eval echo "$as_me:6506: \"$ac_link\"") >&5  if { (eval echo "$as_me:6512: \"$ac_link\"") >&5
6513    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6514    ac_status=$?    ac_status=$?
6515    echo "$as_me:6509: \$? = $ac_status" >&5    echo "$as_me:6515: \$? = $ac_status" >&5
6516    (exit $ac_status); } &&    (exit $ac_status); } &&
6517           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6518    { (eval echo "$as_me:6512: \"$ac_try\"") >&5    { (eval echo "$as_me:6518: \"$ac_try\"") >&5
6519    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6520    ac_status=$?    ac_status=$?
6521    echo "$as_me:6515: \$? = $ac_status" >&5    echo "$as_me:6521: \$? = $ac_status" >&5
6522    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6523    emacs_cv_x11_version_5_with_xaw=yes    emacs_cv_x11_version_5_with_xaw=yes
6524  else  else
# Line 6524  rm -f conftest.$ac_objext conftest$ac_ex Line 6530  rm -f conftest.$ac_objext conftest$ac_ex
6530  fi  fi
6531    
6532      if test $emacs_cv_x11_version_5_with_xaw = yes; then      if test $emacs_cv_x11_version_5_with_xaw = yes; then
6533        echo "$as_me:6527: result: 5 or newer, with Xaw; use toolkit by default" >&5        echo "$as_me:6533: result: 5 or newer, with Xaw; use toolkit by default" >&5
6534  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
6535        USE_X_TOOLKIT=LUCID        USE_X_TOOLKIT=LUCID
6536      else      else
6537        echo "$as_me:6531: result: before 5 or no Xaw; do not use toolkit by default" >&5        echo "$as_me:6537: result: before 5 or no Xaw; do not use toolkit by default" >&5
6538  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
6539        USE_X_TOOLKIT=none        USE_X_TOOLKIT=none
6540      fi      fi
# Line 6540  fi Line 6546  fi
6546  X_TOOLKIT_TYPE=$USE_X_TOOLKIT  X_TOOLKIT_TYPE=$USE_X_TOOLKIT
6547    
6548  if test "${USE_X_TOOLKIT}" != "none"; then  if test "${USE_X_TOOLKIT}" != "none"; then
6549    echo "$as_me:6543: checking X11 toolkit version" >&5    echo "$as_me:6549: checking X11 toolkit version" >&5
6550  echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6  echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6
6551    if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then    if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then
6552    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6553  else  else
6554    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6555  #line 6549 "configure"  #line 6555 "configure"
6556  #include "confdefs.h"  #include "confdefs.h"
6557  #include <X11/Intrinsic.h>  #include <X11/Intrinsic.h>
6558  int  int
# Line 6561  fail; Line 6567  fail;
6567  }  }
6568  _ACEOF  _ACEOF
6569  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6570  if { (eval echo "$as_me:6564: \"$ac_link\"") >&5  if { (eval echo "$as_me:6570: \"$ac_link\"") >&5
6571    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6572    ac_status=$?    ac_status=$?
6573    echo "$as_me:6567: \$? = $ac_status" >&5    echo "$as_me:6573: \$? = $ac_status" >&5
6574    (exit $ac_status); } &&    (exit $ac_status); } &&
6575           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6576    { (eval echo "$as_me:6570: \"$ac_try\"") >&5    { (eval echo "$as_me:6576: \"$ac_try\"") >&5
6577    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6578    ac_status=$?    ac_status=$?
6579    echo "$as_me:6573: \$? = $ac_status" >&5    echo "$as_me:6579: \$? = $ac_status" >&5
6580    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6581    emacs_cv_x11_toolkit_version_6=yes    emacs_cv_x11_toolkit_version_6=yes
6582  else  else
# Line 6583  fi Line 6589  fi
6589    
6590    HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6    HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6
6591    if test $emacs_cv_x11_toolkit_version_6 = yes; then    if test $emacs_cv_x11_toolkit_version_6 = yes; then
6592      echo "$as_me:6586: result: 6 or newer" >&5      echo "$as_me:6592: result: 6 or newer" >&5
6593  echo "${ECHO_T}6 or newer" >&6  echo "${ECHO_T}6 or newer" >&6
6594      cat >>confdefs.h <<\EOF      cat >>confdefs.h <<\EOF
6595  #define HAVE_X11XTR6 1  #define HAVE_X11XTR6 1
6596  EOF  EOF
6597    
6598    else    else
6599      echo "$as_me:6593: result: before 6" >&5      echo "$as_me:6599: result: before 6" >&5
6600  echo "${ECHO_T}before 6" >&6  echo "${ECHO_T}before 6" >&6
6601    fi    fi
6602    
# Line 6601  echo "${ECHO_T}before 6" >&6 Line 6607  echo "${ECHO_T}before 6" >&6
6607      LIBS="-lXt $LIBS"      LIBS="-lXt $LIBS"
6608    fi    fi
6609    
6610  echo "$as_me:6604: checking for XmuConvertStandardSelection in -lXmu" >&5  echo "$as_me:6610: checking for XmuConvertStandardSelection in -lXmu" >&5
6611  echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6  echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6
6612  if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then  if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then
6613    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6609  else Line 6615  else
6615    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
6616  LIBS="-lXmu  $LIBS"  LIBS="-lXmu  $LIBS"
6617  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
6618  #line 6612 "configure"  #line 6618 "configure"
6619  #include "confdefs.h"  #include "confdefs.h"
6620    
6621  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 6628  XmuConvertStandardSelection (); Line 6634  XmuConvertStandardSelection ();
6634  }  }
6635  _ACEOF  _ACEOF
6636  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6637  if { (eval echo "$as_me:6631: \"$ac_link\"") >&5  if { (eval echo "$as_me:6637: \"$ac_link\"") >&5
6638    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6639    ac_status=$?    ac_status=$?
6640    echo "$as_me:6634: \$? = $ac_status" >&5    echo "$as_me:6640: \$? = $ac_status" >&5
6641    (exit $ac_status); } &&    (exit $ac_status); } &&
6642           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6643    { (eval echo "$as_me:6637: \"$ac_try\"") >&5    { (eval echo "$as_me:6643: \"$ac_try\"") >&5
6644    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6645    ac_status=$?    ac_status=$?
6646    echo "$as_me:6640: \$? = $ac_status" >&5    echo "$as_me:6646: \$? = $ac_status" >&5
6647    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6648    ac_cv_lib_Xmu_XmuConvertStandardSelection=yes    ac_cv_lib_Xmu_XmuConvertStandardSelection=yes
6649  else  else
# Line 6648  fi Line 6654  fi
6654  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6655  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
6656  fi  fi
6657  echo "$as_me:6651: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5  echo "$as_me:6657: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5
6658  echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6  echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6
6659  if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then  if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then
6660    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 6666  fi Line 6672  fi
6672  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
6673    if test "${USE_X_TOOLKIT}" != "none"; then    if test "${USE_X_TOOLKIT}" != "none"; then
6674    
6675  echo "$as_me:6669: checking for XShapeQueryExtension in -lXext" >&5  echo "$as_me:6675: checking for XShapeQueryExtension in -lXext" >&5
6676  echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6  echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
6677  if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then  if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
6678    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6674  else Line 6680  else
6680    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
6681  LIBS="-lXext  $LIBS"  LIBS="-lXext  $LIBS"
6682  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
6683  #line 6677 "configure"  #line 6683 "configure"
6684  #include "confdefs.h"  #include "confdefs.h"
6685    
6686  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 6693  XShapeQueryExtension (); Line 6699  XShapeQueryExtension ();
6699  }  }
6700  _ACEOF  _ACEOF
6701  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6702  if { (eval echo "$as_me:6696: \"$ac_link\"") >&5  if { (eval echo "$as_me:6702: \"$ac_link\"") >&5
6703    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6704    ac_status=$?    ac_status=$?
6705    echo "$as_me:6699: \$? = $ac_status" >&5    echo "$as_me:6705: \$? = $ac_status" >&5
6706    (exit $ac_status); } &&    (exit $ac_status); } &&
6707           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6708    { (eval echo "$as_me:6702: \"$ac_try\"") >&5    { (eval echo "$as_me:6708: \"$ac_try\"") >&5
6709    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6710    ac_status=$?    ac_status=$?
6711    echo "$as_me:6705: \$? = $ac_status" >&5    echo "$as_me:6711: \$? = $ac_status" >&5
6712    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6713    ac_cv_lib_Xext_XShapeQueryExtension=yes    ac_cv_lib_Xext_XShapeQueryExtension=yes
6714  else  else
# Line 6713  fi Line 6719  fi
6719  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6720  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
6721  fi  fi
6722  echo "$as_me:6716: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5  echo "$as_me:6722: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
6723  echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6  echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
6724  if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then  if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
6725    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 6728  fi Line 6734  fi
6734  fi  fi
6735    
6736  if test "${USE_X_TOOLKIT}" = "MOTIF"; then  if test "${USE_X_TOOLKIT}" = "MOTIF"; then
6737    echo "$as_me:6731: checking for Motif version 2.1" >&5    echo "$as_me:6737: checking for Motif version 2.1" >&5
6738  echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6  echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6
6739  if test "${emacs_cv_motif_version_2_1+set}" = set; then  if test "${emacs_cv_motif_version_2_1+set}" = set; then
6740    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6741  else  else
6742    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6743  #line 6737 "configure"  #line 6743 "configure"
6744  #include "confdefs.h"  #include "confdefs.h"
6745  #include <Xm/Xm.h>  #include <Xm/Xm.h>
6746  int  int
# Line 6750  Motif version prior to 2.1. Line 6756  Motif version prior to 2.1.
6756  }  }
6757  _ACEOF  _ACEOF
6758  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
6759  if { (eval echo "$as_me:6753: \"$ac_compile\"") >&5  if { (eval echo "$as_me:6759: \"$ac_compile\"") >&5
6760    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
6761    ac_status=$?    ac_status=$?
6762    echo "$as_me:6756: \$? = $ac_status" >&5    echo "$as_me:6762: \$? = $ac_status" >&5
6763    (exit $ac_status); } &&    (exit $ac_status); } &&
6764           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
6765    { (eval echo "$as_me:6759: \"$ac_try\"") >&5    { (eval echo "$as_me:6765: \"$ac_try\"") >&5
6766    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6767    ac_status=$?    ac_status=$?
6768    echo "$as_me:6762: \$? = $ac_status" >&5    echo "$as_me:6768: \$? = $ac_status" >&5
6769    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6770    emacs_cv_motif_version_2_1=yes    emacs_cv_motif_version_2_1=yes
6771  else  else
# Line 6769  emacs_cv_motif_version_2_1=no Line 6775  emacs_cv_motif_version_2_1=no
6775  fi  fi
6776  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
6777  fi  fi
6778  echo "$as_me:6772: result: $emacs_cv_motif_version_2_1" >&5  echo "$as_me:6778: result: $emacs_cv_motif_version_2_1" >&5
6779  echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6  echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6
6780    HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1    HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1
6781    if test $emacs_cv_motif_version_2_1 = yes; then    if test $emacs_cv_motif_version_2_1 = yes; then
# Line 6778  echo "${ECHO_T}$emacs_cv_motif_version_2 Line 6784  echo "${ECHO_T}$emacs_cv_motif_version_2
6784  #define HAVE_MOTIF_2_1 1  #define HAVE_MOTIF_2_1 1
6785  EOF  EOF
6786    
6787      echo "$as_me:6781: checking for XpCreateContext in -lXp" >&5      echo "$as_me:6787: checking for XpCreateContext in -lXp" >&5
6788  echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6  echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6
6789  if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then  if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then
6790    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6786  else Line 6792  else
6792    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
6793  LIBS="-lXp  $LIBS"  LIBS="-lXp  $LIBS"
6794  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
6795  #line 6789 "configure"  #line 6795 "configure"
6796  #include "confdefs.h"  #include "confdefs.h"
6797    
6798  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 6805  XpCreateContext (); Line 6811  XpCreateContext ();
6811  }  }
6812  _ACEOF  _ACEOF
6813  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6814  if { (eval echo "$as_me:6808: \"$ac_link\"") >&5  if { (eval echo "$as_me:6814: \"$ac_link\"") >&5
6815    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6816    ac_status=$?    ac_status=$?
6817    echo "$as_me:6811: \$? = $ac_status" >&5    echo "$as_me:6817: \$? = $ac_status" >&5
6818    (exit $ac_status); } &&    (exit $ac_status); } &&
6819           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6820    { (eval echo "$as_me:6814: \"$ac_try\"") >&5    { (eval echo "$as_me:6820: \"$ac_try\"") >&5
6821    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6822    ac_status=$?    ac_status=$?
6823    echo "$as_me:6817: \$? = $ac_status" >&5    echo "$as_me:6823: \$? = $ac_status" >&5
6824    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6825    ac_cv_lib_Xp_XpCreateContext=yes    ac_cv_lib_Xp_XpCreateContext=yes
6826  else  else
# Line 6825  fi Line 6831  fi
6831  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6832  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
6833  fi  fi
6834  echo "$as_me:6828: result: $ac_cv_lib_Xp_XpCreateContext" >&5  echo "$as_me:6834: result: $ac_cv_lib_Xp_XpCreateContext" >&5
6835  echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6  echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6
6836  if test $ac_cv_lib_Xp_XpCreateContext = yes; then  if test $ac_cv_lib_Xp_XpCreateContext = yes; then
6837    HAVE_LIBXP=yes    HAVE_LIBXP=yes
# Line 6844  fi Line 6850  fi
6850  HAVE_XAW3D=no  HAVE_XAW3D=no
6851  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
6852    if test "${USE_X_TOOLKIT}" != "none"; then    if test "${USE_X_TOOLKIT}" != "none"; then
6853      echo "$as_me:6847: checking for X11/Xaw3d/Scrollbar.h" >&5      echo "$as_me:6853: checking for X11/Xaw3d/Scrollbar.h" >&5
6854  echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6  echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6
6855  if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then  if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then
6856    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6857  else  else
6858    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6859  #line 6853 "configure"  #line 6859 "configure"
6860  #include "confdefs.h"  #include "confdefs.h"
6861  #include <X11/Xaw3d/Scrollbar.h>  #include <X11/Xaw3d/Scrollbar.h>
6862  _ACEOF  _ACEOF
6863  if { (eval echo "$as_me:6857: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:6863: \"$ac_cpp conftest.$ac_ext\"") >&5
6864    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6865    ac_status=$?    ac_status=$?
6866    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
6867    rm -f conftest.er1    rm -f conftest.er1
6868    cat conftest.err >&5    cat conftest.err >&5
6869    echo "$as_me:6863: \$? = $ac_status" >&5    echo "$as_me:6869: \$? = $ac_status" >&5
6870    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
6871    if test -s conftest.err; then    if test -s conftest.err; then
6872      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 6879  else Line 6885  else
6885  fi  fi
6886  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
6887  fi  fi
6888  echo "$as_me:6882: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5  echo "$as_me:6888: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5
6889  echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6  echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6
6890  if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then  if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then
6891    echo "$as_me:6885: checking for XawScrollbarSetThumb in -lXaw3d" >&5    echo "$as_me:6891: checking for XawScrollbarSetThumb in -lXaw3d" >&5
6892  echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6  echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6
6893  if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then  if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then
6894    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6890  else Line 6896  else
6896    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
6897  LIBS="-lXaw3d  $LIBS"  LIBS="-lXaw3d  $LIBS"
6898  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
6899  #line 6893 "configure"  #line 6899 "configure"
6900  #include "confdefs.h"  #include "confdefs.h"
6901    
6902  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 6909  XawScrollbarSetThumb (); Line 6915  XawScrollbarSetThumb ();
6915  }  }
6916  _ACEOF  _ACEOF
6917  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6918  if { (eval echo "$as_me:6912: \"$ac_link\"") >&5  if { (eval echo "$as_me:6918: \"$ac_link\"") >&5
6919    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6920    ac_status=$?    ac_status=$?
6921    echo "$as_me:6915: \$? = $ac_status" >&5    echo "$as_me:6921: \$? = $ac_status" >&5
6922    (exit $ac_status); } &&    (exit $ac_status); } &&
6923           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6924    { (eval echo "$as_me:6918: \"$ac_try\"") >&5    { (eval echo "$as_me:6924: \"$ac_try\"") >&5
6925    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6926    ac_status=$?    ac_status=$?
6927    echo "$as_me:6921: \$? = $ac_status" >&5    echo "$as_me:6927: \$? = $ac_status" >&5
6928    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6929    ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes    ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes
6930  else  else
# Line 6929  fi Line 6935  fi
6935  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6936  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
6937  fi  fi
6938  echo "$as_me:6932: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5  echo "$as_me:6938: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5
6939  echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6  echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6
6940  if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then  if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then
6941    HAVE_XAW3D=yes    HAVE_XAW3D=yes
# Line 6977  fi Line 6983  fi
6983  HAVE_XPM=no  HAVE_XPM=no
6984  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
6985    if test "${with_xpm}" != "no"; then    if test "${with_xpm}" != "no"; then
6986      echo "$as_me:6980: checking for X11/xpm.h" >&5      echo "$as_me:6986: checking for X11/xpm.h" >&5
6987  echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6  echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
6988  if test "${ac_cv_header_X11_xpm_h+set}" = set; then  if test "${ac_cv_header_X11_xpm_h+set}" = set; then
6989    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6990  else  else
6991    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6992  #line 6986 "configure"  #line 6992 "configure"
6993  #include "confdefs.h"  #include "confdefs.h"
6994  #include <X11/xpm.h>  #include <X11/xpm.h>
6995  _ACEOF  _ACEOF
6996  if { (eval echo "$as_me:6990: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:6996: \"$ac_cpp conftest.$ac_ext\"") >&5
6997    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6998    ac_status=$?    ac_status=$?
6999    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
7000    rm -f conftest.er1    rm -f conftest.er1
7001    cat conftest.err >&5    cat conftest.err >&5
7002    echo "$as_me:6996: \$? = $ac_status" >&5    echo "$as_me:7002: \$? = $ac_status" >&5
7003    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
7004    if test -s conftest.err; then    if test -s conftest.err; then
7005      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 7012  else Line 7018  else
7018  fi  fi
7019  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
7020  fi  fi
7021  echo "$as_me:7015: result: $ac_cv_header_X11_xpm_h" >&5  echo "$as_me:7021: result: $ac_cv_header_X11_xpm_h" >&5
7022  echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6  echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6
7023  if test $ac_cv_header_X11_xpm_h = yes; then  if test $ac_cv_header_X11_xpm_h = yes; then
7024    echo "$as_me:7018: checking for XpmReadFileToPixmap in -lXpm" >&5    echo "$as_me:7024: checking for XpmReadFileToPixmap in -lXpm" >&5
7025  echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6  echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6
7026  if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then  if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then
7027    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7023  else Line 7029  else
7029    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7030  LIBS="-lXpm -lX11 $LIBS"  LIBS="-lXpm -lX11 $LIBS"
7031  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7032  #line 7026 "configure"  #line 7032 "configure"
7033  #include "confdefs.h"  #include "confdefs.h"
7034    
7035  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 7042  XpmReadFileToPixmap (); Line 7048  XpmReadFileToPixmap ();
7048  }  }
7049  _ACEOF  _ACEOF
7050  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7051  if { (eval echo "$as_me:7045: \"$ac_link\"") >&5  if { (eval echo "$as_me:7051: \"$ac_link\"") >&5
7052    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7053    ac_status=$?    ac_status=$?
7054    echo "$as_me:7048: \$? = $ac_status" >&5    echo "$as_me:7054: \$? = $ac_status" >&5
7055    (exit $ac_status); } &&    (exit $ac_status); } &&
7056           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7057    { (eval echo "$as_me:7051: \"$ac_try\"") >&5    { (eval echo "$as_me:7057: \"$ac_try\"") >&5
7058    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7059    ac_status=$?    ac_status=$?
7060    echo "$as_me:7054: \$? = $ac_status" >&5    echo "$as_me:7060: \$? = $ac_status" >&5
7061    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7062    ac_cv_lib_Xpm_XpmReadFileToPixmap=yes    ac_cv_lib_Xpm_XpmReadFileToPixmap=yes
7063  else  else
# Line 7062  fi Line 7068  fi
7068  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7069  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7070  fi  fi
7071  echo "$as_me:7065: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5  echo "$as_me:7071: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
7072  echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6  echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6
7073  if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then  if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then
7074    HAVE_XPM=yes    HAVE_XPM=yes
# Line 7071  fi Line 7077  fi
7077  fi  fi
7078    
7079      if test "${HAVE_XPM}" = "yes"; then      if test "${HAVE_XPM}" = "yes"; then
7080        echo "$as_me:7074: checking for XpmReturnAllocPixels preprocessor define" >&5        echo "$as_me:7080: checking for XpmReturnAllocPixels preprocessor define" >&5
7081  echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6  echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6
7082        cat >conftest.$ac_ext <<_ACEOF        cat >conftest.$ac_ext <<_ACEOF
7083  #line 7077 "configure"  #line 7083 "configure"
7084  #include "confdefs.h"  #include "confdefs.h"
7085  #include "X11/xpm.h"  #include "X11/xpm.h"
7086  #ifndef XpmReturnAllocPixels  #ifndef XpmReturnAllocPixels
# Line 7091  fi Line 7097  fi
7097  rm -f conftest*  rm -f conftest*
7098    
7099        if test "${HAVE_XPM}" = "yes"; then        if test "${HAVE_XPM}" = "yes"; then
7100          echo "$as_me:7094: result: yes" >&5          echo "$as_me:7100: result: yes" >&5
7101  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
7102        else        else
7103          echo "$as_me:7097: result: no" >&5          echo "$as_me:7103: result: no" >&5
7104  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
7105        fi        fi
7106      fi      fi
# Line 7112  fi Line 7118  fi
7118  HAVE_JPEG=no  HAVE_JPEG=no
7119  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
7120    if test "${with_jpeg}" != "no"; then    if test "${with_jpeg}" != "no"; then
7121              echo "$as_me:7115: checking for jerror.h" >&5              echo "$as_me:7121: checking for jerror.h" >&5
7122  echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6  echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6
7123  if test "${ac_cv_header_jerror_h+set}" = set; then  if test "${ac_cv_header_jerror_h+set}" = set; then
7124    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7125  else  else
7126    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7127  #line 7121 "configure"  #line 7127 "configure"
7128  #include "confdefs.h"  #include "confdefs.h"
7129  #include <jerror.h>  #include <jerror.h>
7130  _ACEOF  _ACEOF
7131  if { (eval echo "$as_me:7125: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:7131: \"$ac_cpp conftest.$ac_ext\"") >&5
7132    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7133    ac_status=$?    ac_status=$?
7134    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
7135    rm -f conftest.er1    rm -f conftest.er1
7136    cat conftest.err >&5    cat conftest.err >&5
7137    echo "$as_me:7131: \$? = $ac_status" >&5    echo "$as_me:7137: \$? = $ac_status" >&5
7138    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
7139    if test -s conftest.err; then    if test -s conftest.err; then
7140      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 7147  else Line 7153  else
7153  fi  fi
7154  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
7155  fi  fi
7156  echo "$as_me:7150: result: $ac_cv_header_jerror_h" >&5  echo "$as_me:7156: result: $ac_cv_header_jerror_h" >&5
7157  echo "${ECHO_T}$ac_cv_header_jerror_h" >&6  echo "${ECHO_T}$ac_cv_header_jerror_h" >&6
7158  if test $ac_cv_header_jerror_h = yes; then  if test $ac_cv_header_jerror_h = yes; then
7159    echo "$as_me:7153: checking for jpeg_destroy_compress in -ljpeg" >&5    echo "$as_me:7159: checking for jpeg_destroy_compress in -ljpeg" >&5
7160  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
7161  if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then  if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then
7162    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7158  else Line 7164  else
7164    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7165  LIBS="-ljpeg  $LIBS"  LIBS="-ljpeg  $LIBS"
7166  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7167  #line 7161 "configure"  #line 7167 "configure"
7168  #include "confdefs.h"  #include "confdefs.h"
7169    
7170  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 7177  jpeg_destroy_compress (); Line 7183  jpeg_destroy_compress ();
7183  }  }
7184  _ACEOF  _ACEOF
7185  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7186  if { (eval echo "$as_me:7180: \"$ac_link\"") >&5  if { (eval echo "$as_me:7186: \"$ac_link\"") >&5
7187    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7188    ac_status=$?    ac_status=$?
7189    echo "$as_me:7183: \$? = $ac_status" >&5    echo "$as_me:7189: \$? = $ac_status" >&5
7190    (exit $ac_status); } &&    (exit $ac_status); } &&
7191           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7192    { (eval echo "$as_me:7186: \"$ac_try\"") >&5    { (eval echo "$as_me:7192: \"$ac_try\"") >&5
7193    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7194    ac_status=$?    ac_status=$?
7195    echo "$as_me:7189: \$? = $ac_status" >&5    echo "$as_me:7195: \$? = $ac_status" >&5
7196    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7197    ac_cv_lib_jpeg_jpeg_destroy_compress=yes    ac_cv_lib_jpeg_jpeg_destroy_compress=yes
7198  else  else
# Line 7197  fi Line 7203  fi
7203  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7204  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7205  fi  fi
7206  echo "$as_me:7200: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5  echo "$as_me:7206: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5
7207  echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6  echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6
7208  if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then  if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then
7209    HAVE_JPEG=yes    HAVE_JPEG=yes
# Line 7219  fi Line 7225  fi
7225  HAVE_PNG=no  HAVE_PNG=no
7226  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
7227    if test "${with_png}" != "no"; then    if test "${with_png}" != "no"; then
7228      echo "$as_me:7222: checking for png.h" >&5      echo "$as_me:7228: checking for png.h" >&5
7229  echo $ECHO_N "checking for png.h... $ECHO_C" >&6  echo $ECHO_N "checking for png.h... $ECHO_C" >&6
7230  if test "${ac_cv_header_png_h+set}" = set; then  if test "${ac_cv_header_png_h+set}" = set; then
7231    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7232  else  else
7233    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7234  #line 7228 "configure"  #line 7234 "configure"
7235  #include "confdefs.h"  #include "confdefs.h"
7236  #include <png.h>  #include <png.h>
7237  _ACEOF  _ACEOF
7238  if { (eval echo "$as_me:7232: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:7238: \"$ac_cpp conftest.$ac_ext\"") >&5
7239    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7240    ac_status=$?    ac_status=$?
7241    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
7242    rm -f conftest.er1    rm -f conftest.er1
7243    cat conftest.err >&5    cat conftest.err >&5
7244    echo "$as_me:7238: \$? = $ac_status" >&5    echo "$as_me:7244: \$? = $ac_status" >&5
7245    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
7246    if test -s conftest.err; then    if test -s conftest.err; then
7247      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 7254  else Line 7260  else
7260  fi  fi
7261  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
7262  fi  fi
7263  echo "$as_me:7257: result: $ac_cv_header_png_h" >&5  echo "$as_me:7263: result: $ac_cv_header_png_h" >&5
7264  echo "${ECHO_T}$ac_cv_header_png_h" >&6  echo "${ECHO_T}$ac_cv_header_png_h" >&6
7265  if test $ac_cv_header_png_h = yes; then  if test $ac_cv_header_png_h = yes; then
7266    echo "$as_me:7260: checking for png_get_channels in -lpng" >&5    echo "$as_me:7266: checking for png_get_channels in -lpng" >&5
7267  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
7268  if test "${ac_cv_lib_png_png_get_channels+set}" = set; then  if test "${ac_cv_lib_png_png_get_channels+set}" = set; then
7269    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7265  else Line 7271  else
7271    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7272  LIBS="-lpng -lz -lm $LIBS"  LIBS="-lpng -lz -lm $LIBS"
7273  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7274  #line 7268 "configure"  #line 7274 "configure"
7275  #include "confdefs.h"  #include "confdefs.h"
7276    
7277  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 7284  png_get_channels (); Line 7290  png_get_channels ();
7290  }  }
7291  _ACEOF  _ACEOF
7292  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7293  if { (eval echo "$as_me:7287: \"$ac_link\"") >&5  if { (eval echo "$as_me:7293: \"$ac_link\"") >&5
7294    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7295    ac_status=$?    ac_status=$?
7296    echo "$as_me:7290: \$? = $ac_status" >&5    echo "$as_me:7296: \$? = $ac_status" >&5
7297    (exit $ac_status); } &&    (exit $ac_status); } &&
7298           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7299    { (eval echo "$as_me:7293: \"$ac_try\"") >&5    { (eval echo "$as_me:7299: \"$ac_try\"") >&5
7300    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7301    ac_status=$?    ac_status=$?
7302    echo "$as_me:7296: \$? = $ac_status" >&5    echo "$as_me:7302: \$? = $ac_status" >&5
7303    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7304    ac_cv_lib_png_png_get_channels=yes    ac_cv_lib_png_png_get_channels=yes
7305  else  else
# Line 7304  fi Line 7310  fi
7310  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7311  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7312  fi  fi
7313  echo "$as_me:7307: result: $ac_cv_lib_png_png_get_channels" >&5  echo "$as_me:7313: result: $ac_cv_lib_png_png_get_channels" >&5
7314  echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6  echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6
7315  if test $ac_cv_lib_png_png_get_channels = yes; then  if test $ac_cv_lib_png_png_get_channels = yes; then
7316    HAVE_PNG=yes    HAVE_PNG=yes
# Line 7326  fi Line 7332  fi
7332  HAVE_TIFF=no  HAVE_TIFF=no
7333  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
7334    if test "${with_tiff}" != "no"; then    if test "${with_tiff}" != "no"; then
7335      echo "$as_me:7329: checking for tiffio.h" >&5      echo "$as_me:7335: checking for tiffio.h" >&5
7336  echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6  echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
7337  if test "${ac_cv_header_tiffio_h+set}" = set; then  if test "${ac_cv_header_tiffio_h+set}" = set; then
7338    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7339  else  else
7340    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7341  #line 7335 "configure"  #line 7341 "configure"
7342  #include "confdefs.h"  #include "confdefs.h"
7343  #include <tiffio.h>  #include <tiffio.h>
7344  _ACEOF  _ACEOF
7345  if { (eval echo "$as_me:7339: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:7345: \"$ac_cpp conftest.$ac_ext\"") >&5
7346    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7347    ac_status=$?    ac_status=$?
7348    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
7349    rm -f conftest.er1    rm -f conftest.er1
7350    cat conftest.err >&5    cat conftest.err >&5
7351    echo "$as_me:7345: \$? = $ac_status" >&5    echo "$as_me:7351: \$? = $ac_status" >&5
7352    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
7353    if test -s conftest.err; then    if test -s conftest.err; then
7354      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 7361  else Line 7367  else
7367  fi  fi
7368  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
7369  fi  fi
7370  echo "$as_me:7364: result: $ac_cv_header_tiffio_h" >&5  echo "$as_me:7370: result: $ac_cv_header_tiffio_h" >&5
7371  echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6  echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
7372  if test $ac_cv_header_tiffio_h = yes; then  if test $ac_cv_header_tiffio_h = yes; then
7373    tifflibs="-lz -lm"    tifflibs="-lz -lm"
7374        # At least one tiff package requires the jpeg library.        # At least one tiff package requires the jpeg library.
7375        if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi        if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
7376        echo "$as_me:7370: checking for TIFFGetVersion in -ltiff" >&5        echo "$as_me:7376: checking for TIFFGetVersion in -ltiff" >&5
7377  echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6  echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6
7378  if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then  if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then
7379    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7375  else Line 7381  else
7381    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7382  LIBS="-ltiff $tifflibs $LIBS"  LIBS="-ltiff $tifflibs $LIBS"
7383  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7384  #line 7378 "configure"  #line 7384 "configure"
7385  #include "confdefs.h"  #include "confdefs.h"
7386    
7387  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 7394  TIFFGetVersion (); Line 7400  TIFFGetVersion ();
7400  }  }
7401  _ACEOF  _ACEOF
7402  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7403  if { (eval echo "$as_me:7397: \"$ac_link\"") >&5  if { (eval echo "$as_me:7403: \"$ac_link\"") >&5
7404    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7405    ac_status=$?    ac_status=$?
7406    echo "$as_me:7400: \$? = $ac_status" >&5    echo "$as_me:7406: \$? = $ac_status" >&5
7407    (exit $ac_status); } &&    (exit $ac_status); } &&
7408           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7409    { (eval echo "$as_me:7403: \"$ac_try\"") >&5    { (eval echo "$as_me:7409: \"$ac_try\"") >&5
7410    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7411    ac_status=$?    ac_status=$?
7412    echo "$as_me:7406: \$? = $ac_status" >&5    echo "$as_me:7412: \$? = $ac_status" >&5
7413    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7414    ac_cv_lib_tiff_TIFFGetVersion=yes    ac_cv_lib_tiff_TIFFGetVersion=yes
7415  else  else
# Line 7414  fi Line 7420  fi
7420  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7421  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7422  fi  fi
7423  echo "$as_me:7417: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5  echo "$as_me:7423: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5
7424  echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6  echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6
7425  if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then  if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then
7426    HAVE_TIFF=yes    HAVE_TIFF=yes
# Line 7436  fi Line 7442  fi
7442  HAVE_GIF=no  HAVE_GIF=no
7443  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
7444    if test "${with_gif}" != "no"; then    if test "${with_gif}" != "no"; then
7445      echo "$as_me:7439: checking for gif_lib.h" >&5      echo "$as_me:7445: checking for gif_lib.h" >&5
7446  echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6  echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6
7447  if test "${ac_cv_header_gif_lib_h+set}" = set; then  if test "${ac_cv_header_gif_lib_h+set}" = set; then
7448    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7449  else  else
7450    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7451  #line 7445 "configure"  #line 7451 "configure"
7452  #include "confdefs.h"  #include "confdefs.h"
7453  #include <gif_lib.h>  #include <gif_lib.h>
7454  _ACEOF  _ACEOF
7455  if { (eval echo "$as_me:7449: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:7455: \"$ac_cpp conftest.$ac_ext\"") >&5
7456    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7457    ac_status=$?    ac_status=$?
7458    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
7459    rm -f conftest.er1    rm -f conftest.er1
7460    cat conftest.err >&5    cat conftest.err >&5
7461    echo "$as_me:7455: \$? = $ac_status" >&5    echo "$as_me:7461: \$? = $ac_status" >&5
7462    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
7463    if test -s conftest.err; then    if test -s conftest.err; then
7464      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 7471  else Line 7477  else
7477  fi  fi
7478  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
7479  fi  fi
7480  echo "$as_me:7474: result: $ac_cv_header_gif_lib_h" >&5  echo "$as_me:7480: result: $ac_cv_header_gif_lib_h" >&5
7481  echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6  echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6
7482  if test $ac_cv_header_gif_lib_h = yes; then  if test $ac_cv_header_gif_lib_h = yes; then
7483    echo "$as_me:7477: checking for DGifOpen in -lungif" >&5    echo "$as_me:7483: checking for DGifOpen in -lungif" >&5
7484  echo $ECHO_N "checking for DGifOpen in -lungif... $ECHO_C" >&6  echo $ECHO_N "checking for DGifOpen in -lungif... $ECHO_C" >&6
7485  if test "${ac_cv_lib_ungif_DGifOpen+set}" = set; then  if test "${ac_cv_lib_ungif_DGifOpen+set}" = set; then
7486    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7482  else Line 7488  else
7488    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7489  LIBS="-lungif  $LIBS"  LIBS="-lungif  $LIBS"
7490  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7491  #line 7485 "configure"  #line 7491 "configure"
7492  #include "confdefs.h"  #include "confdefs.h"
7493    
7494  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 7501  DGifOpen (); Line 7507  DGifOpen ();
7507  }  }
7508  _ACEOF  _ACEOF
7509  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7510  if { (eval echo "$as_me:7504: \"$ac_link\"") >&5  if { (eval echo "$as_me:7510: \"$ac_link\"") >&5
7511    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7512    ac_status=$?    ac_status=$?
7513    echo "$as_me:7507: \$? = $ac_status" >&5    echo "$as_me:7513: \$? = $ac_status" >&5
7514    (exit $ac_status); } &&    (exit $ac_status); } &&
7515           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7516    { (eval echo "$as_me:7510: \"$ac_try\"") >&5    { (eval echo "$as_me:7516: \"$ac_try\"") >&5
7517    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7518    ac_status=$?    ac_status=$?
7519    echo "$as_me:7513: \$? = $ac_status" >&5    echo "$as_me:7519: \$? = $ac_status" >&5
7520    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7521    ac_cv_lib_ungif_DGifOpen=yes    ac_cv_lib_ungif_DGifOpen=yes
7522  else  else
# Line 7521  fi Line 7527  fi
7527  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7528  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7529  fi  fi
7530  echo "$as_me:7524: result: $ac_cv_lib_ungif_DGifOpen" >&5  echo "$as_me:7530: result: $ac_cv_lib_ungif_DGifOpen" >&5
7531  echo "${ECHO_T}$ac_cv_lib_ungif_DGifOpen" >&6  echo "${ECHO_T}$ac_cv_lib_ungif_DGifOpen" >&6
7532  if test $ac_cv_lib_ungif_DGifOpen = yes; then  if test $ac_cv_lib_ungif_DGifOpen = yes; then
7533    HAVE_GIF=yes    HAVE_GIF=yes
# Line 7540  EOF Line 7546  EOF
7546  fi  fi
7547    
7548  # 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.
7549  echo "$as_me:7543: checking whether netdb declares h_errno" >&5  echo "$as_me:7549: checking whether netdb declares h_errno" >&5
7550  echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6  echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6
7551  if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then  if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then
7552    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7553  else  else
7554    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7555  #line 7549 "configure"  #line 7555 "configure"
7556  #include "confdefs.h"  #include "confdefs.h"
7557  #include <netdb.h>  #include <netdb.h>
7558  int  int
# Line 7558  return h_errno; Line 7564  return h_errno;
7564  }  }
7565  _ACEOF  _ACEOF
7566  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7567  if { (eval echo "$as_me:7561: \"$ac_link\"") >&5  if { (eval echo "$as_me:7567: \"$ac_link\"") >&5
7568    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7569    ac_status=$?    ac_status=$?
7570    echo "$as_me:7564: \$? = $ac_status" >&5    echo "$as_me:7570: \$? = $ac_status" >&5
7571    (exit $ac_status); } &&    (exit $ac_status); } &&
7572           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7573    { (eval echo "$as_me:7567: \"$ac_try\"") >&5    { (eval echo "$as_me:7573: \"$ac_try\"") >&5
7574    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7575    ac_status=$?    ac_status=$?
7576    echo "$as_me:7570: \$? = $ac_status" >&5    echo "$as_me:7576: \$? = $ac_status" >&5
7577    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7578    emacs_cv_netdb_declares_h_errno=yes    emacs_cv_netdb_declares_h_errno=yes
7579  else  else
# Line 7577  emacs_cv_netdb_declares_h_errno=no Line 7583  emacs_cv_netdb_declares_h_errno=no
7583  fi  fi
7584  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7585  fi  fi
7586  echo "$as_me:7580: result: $emacs_cv_netdb_declares_h_errno" >&5  echo "$as_me:7586: result: $emacs_cv_netdb_declares_h_errno" >&5
7587  echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6  echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6
7588  if test $emacs_cv_netdb_declares_h_errno = yes; then  if test $emacs_cv_netdb_declares_h_errno = yes; then
7589    cat >>confdefs.h <<\EOF    cat >>confdefs.h <<\EOF
# Line 7588  fi Line 7594  fi
7594    
7595  # 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
7596  # for constant arguments.  Useless!  # for constant arguments.  Useless!
7597  echo "$as_me:7591: checking for working alloca.h" >&5  echo "$as_me:7597: checking for working alloca.h" >&5
7598  echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6  echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
7599  if test "${ac_cv_working_alloca_h+set}" = set; then  if test "${ac_cv_working_alloca_h+set}" = set; then
7600    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7601  else  else
7602    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7603  #line 7597 "configure"  #line 7603 "configure"
7604  #include "confdefs.h"  #include "confdefs.h"
7605  #include <alloca.h>  #include <alloca.h>
7606  int  int
# Line 7606  char *p = (char *) alloca (2 * sizeof (i Line 7612  char *p = (char *) alloca (2 * sizeof (i
7612  }  }
7613  _ACEOF  _ACEOF
7614  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7615  if { (eval echo "$as_me:7609: \"$ac_link\"") >&5  if { (eval echo "$as_me:7615: \"$ac_link\"") >&5
7616    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7617    ac_status=$?    ac_status=$?
7618    echo "$as_me:7612: \$? = $ac_status" >&5    echo "$as_me:7618: \$? = $ac_status" >&5
7619    (exit $ac_status); } &&    (exit $ac_status); } &&
7620           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7621    { (eval echo "$as_me:7615: \"$ac_try\"") >&5    { (eval echo "$as_me:7621: \"$ac_try\"") >&5
7622    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7623    ac_status=$?    ac_status=$?
7624    echo "$as_me:7618: \$? = $ac_status" >&5    echo "$as_me:7624: \$? = $ac_status" >&5
7625    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7626    ac_cv_working_alloca_h=yes    ac_cv_working_alloca_h=yes
7627  else  else
# Line 7625  ac_cv_working_alloca_h=no Line 7631  ac_cv_working_alloca_h=no
7631  fi  fi
7632  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7633  fi  fi
7634  echo "$as_me:7628: result: $ac_cv_working_alloca_h" >&5  echo "$as_me:7634: result: $ac_cv_working_alloca_h" >&5
7635  echo "${ECHO_T}$ac_cv_working_alloca_h" >&6  echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
7636  if test $ac_cv_working_alloca_h = yes; then  if test $ac_cv_working_alloca_h = yes; then
7637    
# Line 7635  EOF Line 7641  EOF
7641    
7642  fi  fi
7643    
7644  echo "$as_me:7638: checking for alloca" >&5  echo "$as_me:7644: checking for alloca" >&5
7645  echo $ECHO_N "checking for alloca... $ECHO_C" >&6  echo $ECHO_N "checking for alloca... $ECHO_C" >&6
7646  if test "${ac_cv_func_alloca_works+set}" = set; then  if test "${ac_cv_func_alloca_works+set}" = set; then
7647    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7648  else  else
7649    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7650  #line 7644 "configure"  #line 7650 "configure"
7651  #include "confdefs.h"  #include "confdefs.h"
7652  #ifdef __GNUC__  #ifdef __GNUC__
7653  # define alloca __builtin_alloca  # define alloca __builtin_alloca
# Line 7673  char *p = (char *) alloca (1); Line 7679  char *p = (char *) alloca (1);
7679  }  }
7680  _ACEOF  _ACEOF
7681  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7682  if { (eval echo "$as_me:7676: \"$ac_link\"") >&5  if { (eval echo "$as_me:7682: \"$ac_link\"") >&5
7683    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7684    ac_status=$?    ac_status=$?
7685    echo "$as_me:7679: \$? = $ac_status" >&5    echo "$as_me:7685: \$? = $ac_status" >&5
7686    (exit $ac_status); } &&    (exit $ac_status); } &&
7687           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7688    { (eval echo "$as_me:7682: \"$ac_try\"") >&5    { (eval echo "$as_me:7688: \"$ac_try\"") >&5
7689    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7690    ac_status=$?    ac_status=$?
7691    echo "$as_me:7685: \$? = $ac_status" >&5    echo "$as_me:7691: \$? = $ac_status" >&5
7692    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7693    ac_cv_func_alloca_works=yes    ac_cv_func_alloca_works=yes
7694  else  else
# Line 7692  ac_cv_func_alloca_works=no Line 7698  ac_cv_func_alloca_works=no
7698  fi  fi
7699  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7700  fi  fi
7701  echo "$as_me:7695: result: $ac_cv_func_alloca_works" >&5  echo "$as_me:7701: result: $ac_cv_func_alloca_works" >&5
7702  echo "${ECHO_T}$ac_cv_func_alloca_works" >&6  echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
7703    
7704  if test $ac_cv_func_alloca_works = yes; then  if test $ac_cv_func_alloca_works = yes; then
# Line 7713  cat >>confdefs.h <<\EOF Line 7719  cat >>confdefs.h <<\EOF
7719  #define C_ALLOCA 1  #define C_ALLOCA 1
7720  EOF  EOF
7721    
7722  echo "$as_me:7716: checking whether \`alloca.c' needs Cray hooks" >&5  echo "$as_me:7722: checking whether \`alloca.c' needs Cray hooks" >&5
7723  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
7724  if test "${ac_cv_os_cray+set}" = set; then  if test "${ac_cv_os_cray+set}" = set; then
7725    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7726  else  else
7727    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7728  #line 7722 "configure"  #line 7728 "configure"
7729  #include "confdefs.h"  #include "confdefs.h"
7730  #if defined(CRAY) && ! defined(CRAY2)  #if defined(CRAY) && ! defined(CRAY2)
7731  webecray  webecray
# Line 7737  fi Line 7743  fi
7743  rm -f conftest*  rm -f conftest*
7744    
7745  fi  fi
7746  echo "$as_me:7740: result: $ac_cv_os_cray" >&5  echo "$as_me:7746: result: $ac_cv_os_cray" >&5
7747  echo "${ECHO_T}$ac_cv_os_cray" >&6  echo "${ECHO_T}$ac_cv_os_cray" >&6
7748  if test $ac_cv_os_cray = yes; then  if test $ac_cv_os_cray = yes; then
7749    for ac_func in _getb67 GETB67 getb67; do    for ac_func in _getb67 GETB67 getb67; do
7750      as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`      as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7751  echo "$as_me:7745: checking for $ac_func" >&5  echo "$as_me:7751: checking for $ac_func" >&5
7752  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7753  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
7754    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7755  else  else
7756    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7757  #line 7751 "configure"  #line 7757 "configure"
7758  #include "confdefs.h"  #include "confdefs.h"
7759  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
7760      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 7779  f = $ac_func; Line 7785  f = $ac_func;
7785  }  }
7786  _ACEOF  _ACEOF
7787  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7788  if { (eval echo "$as_me:7782: \"$ac_link\"") >&5  if { (eval echo "$as_me:7788: \"$ac_link\"") >&5
7789    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7790    ac_status=$?    ac_status=$?
7791    echo "$as_me:7785: \$? = $ac_status" >&5    echo "$as_me:7791: \$? = $ac_status" >&5
7792    (exit $ac_status); } &&    (exit $ac_status); } &&
7793           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7794    { (eval echo "$as_me:7788: \"$ac_try\"") >&5    { (eval echo "$as_me:7794: \"$ac_try\"") >&5
7795    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7796    ac_status=$?    ac_status=$?
7797    echo "$as_me:7791: \$? = $ac_status" >&5    echo "$as_me:7797: \$? = $ac_status" >&5
7798    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7799    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
7800  else  else
# Line 7798  eval "$as_ac_var=no" Line 7804  eval "$as_ac_var=no"
7804  fi  fi
7805  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7806  fi  fi
7807  echo "$as_me:7801: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:7807: result: `eval echo '${'$as_ac_var'}'`" >&5
7808  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7809  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
7810    
# Line 7812  fi Line 7818  fi
7818    done    done
7819  fi  fi
7820    
7821  echo "$as_me:7815: checking stack direction for C alloca" >&5  echo "$as_me:7821: checking stack direction for C alloca" >&5
7822  echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6  echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
7823  if test "${ac_cv_c_stack_direction+set}" = set; then  if test "${ac_cv_c_stack_direction+set}" = set; then
7824    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7821  else Line 7827  else
7827    ac_cv_c_stack_direction=0    ac_cv_c_stack_direction=0
7828  else  else
7829    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7830  #line 7824 "configure"  #line 7830 "configure"
7831  #include "confdefs.h"  #include "confdefs.h"
7832  int  int
7833  find_stack_direction ()  find_stack_direction ()
# Line 7844  main () Line 7850  main ()
7850  }  }
7851  _ACEOF  _ACEOF
7852  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
7853  if { (eval echo "$as_me:7847: \"$ac_link\"") >&5  if { (eval echo "$as_me:7853: \"$ac_link\"") >&5
7854    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7855    ac_status=$?    ac_status=$?
7856    echo "$as_me:7850: \$? = $ac_status" >&5    echo "$as_me:7856: \$? = $ac_status" >&5
7857    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7858    { (eval echo "$as_me:7852: \"$ac_try\"") >&5    { (eval echo "$as_me:7858: \"$ac_try\"") >&5
7859    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7860    ac_status=$?    ac_status=$?
7861    echo "$as_me:7855: \$? = $ac_status" >&5    echo "$as_me:7861: \$? = $ac_status" >&5
7862    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7863    ac_cv_c_stack_direction=1    ac_cv_c_stack_direction=1
7864  else  else
# Line 7864  fi Line 7870  fi
7870  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
7871  fi  fi
7872  fi  fi
7873  echo "$as_me:7867: result: $ac_cv_c_stack_direction" >&5  echo "$as_me:7873: result: $ac_cv_c_stack_direction" >&5
7874  echo "${ECHO_T}$ac_cv_c_stack_direction" >&6  echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
7875    
7876  cat >>confdefs.h <<EOF  cat >>confdefs.h <<EOF
# Line 7876  fi Line 7882  fi
7882  # fmod, logb, and frexp are found in -lm on most systems.  # fmod, logb, and frexp are found in -lm on most systems.
7883  # 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.
7884    
7885  echo "$as_me:7879: checking for sqrt in -lm" >&5  echo "$as_me:7885: checking for sqrt in -lm" >&5
7886  echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6  echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
7887  if test "${ac_cv_lib_m_sqrt+set}" = set; then  if test "${ac_cv_lib_m_sqrt+set}" = set; then
7888    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7884  else Line 7890  else
7890    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7891  LIBS="-lm  $LIBS"  LIBS="-lm  $LIBS"
7892  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7893  #line 7887 "configure"  #line 7893 "configure"
7894  #include "confdefs.h"  #include "confdefs.h"
7895    
7896  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 7903  sqrt (); Line 7909  sqrt ();
7909  }  }
7910  _ACEOF  _ACEOF
7911  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7912  if { (eval echo "$as_me:7906: \"$ac_link\"") >&5  if { (eval echo "$as_me:7912: \"$ac_link\"") >&5
7913    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7914    ac_status=$?    ac_status=$?
7915    echo "$as_me:7909: \$? = $ac_status" >&5    echo "$as_me:7915: \$? = $ac_status" >&5
7916    (exit $ac_status); } &&    (exit $ac_status); } &&
7917           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7918    { (eval echo "$as_me:7912: \"$ac_try\"") >&5    { (eval echo "$as_me:7918: \"$ac_try\"") >&5
7919    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7920    ac_status=$?    ac_status=$?
7921    echo "$as_me:7915: \$? = $ac_status" >&5    echo "$as_me:7921: \$? = $ac_status" >&5
7922    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7923    ac_cv_lib_m_sqrt=yes    ac_cv_lib_m_sqrt=yes
7924  else  else
# Line 7923  fi Line 7929  fi
7929  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7930  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7931  fi  fi
7932  echo "$as_me:7926: result: $ac_cv_lib_m_sqrt" >&5  echo "$as_me:7932: result: $ac_cv_lib_m_sqrt" >&5
7933  echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6  echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
7934  if test $ac_cv_lib_m_sqrt = yes; then  if test $ac_cv_lib_m_sqrt = yes; then
7935    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 7936  fi Line 7942  fi
7942    
7943  # Check for mail-locking functions in a "mail" library  # Check for mail-locking functions in a "mail" library
7944    
7945  echo "$as_me:7939: checking for maillock in -lmail" >&5  echo "$as_me:7945: checking for maillock in -lmail" >&5
7946  echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6  echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6
7947  if test "${ac_cv_lib_mail_maillock+set}" = set; then  if test "${ac_cv_lib_mail_maillock+set}" = set; then
7948    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7944  else Line 7950  else
7950    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7951  LIBS="-lmail  $LIBS"  LIBS="-lmail  $LIBS"
7952  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7953  #line 7947 "configure"  #line 7953 "configure"
7954  #include "confdefs.h"  #include "confdefs.h"
7955    
7956  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 7963  maillock (); Line 7969  maillock ();
7969  }  }
7970  _ACEOF  _ACEOF
7971  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7972  if { (eval echo "$as_me:7966: \"$ac_link\"") >&5  if { (eval echo "$as_me:7972: \"$ac_link\"") >&5
7973    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7974    ac_status=$?    ac_status=$?
7975    echo "$as_me:7969: \$? = $ac_status" >&5    echo "$as_me:7975: \$? = $ac_status" >&5
7976    (exit $ac_status); } &&    (exit $ac_status); } &&
7977           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7978    { (eval echo "$as_me:7972: \"$ac_try\"") >&5    { (eval echo "$as_me:7978: \"$ac_try\"") >&5
7979    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7980    ac_status=$?    ac_status=$?
7981    echo "$as_me:7975: \$? = $ac_status" >&5    echo "$as_me:7981: \$? = $ac_status" >&5
7982    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7983    ac_cv_lib_mail_maillock=yes    ac_cv_lib_mail_maillock=yes
7984  else  else
# Line 7983  fi Line 7989  fi
7989  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7990  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7991  fi  fi
7992  echo "$as_me:7986: result: $ac_cv_lib_mail_maillock" >&5  echo "$as_me:7992: result: $ac_cv_lib_mail_maillock" >&5
7993  echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6  echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6
7994  if test $ac_cv_lib_mail_maillock = yes; then  if test $ac_cv_lib_mail_maillock = yes; then
7995    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 7994  EOF Line 8000  EOF
8000    
8001  fi  fi
8002    
8003  echo "$as_me:7997: checking for maillock in -llockfile" >&5  echo "$as_me:8003: checking for maillock in -llockfile" >&5
8004  echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6  echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6
8005  if test "${ac_cv_lib_lockfile_maillock+set}" = set; then  if test "${ac_cv_lib_lockfile_maillock+set}" = set; then
8006    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8002  else Line 8008  else
8008    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
8009  LIBS="-llockfile  $LIBS"  LIBS="-llockfile  $LIBS"
8010  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
8011  #line 8005 "configure"  #line 8011 "configure"
8012  #include "confdefs.h"  #include "confdefs.h"
8013    
8014  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 8021  maillock (); Line 8027  maillock ();
8027  }  }
8028  _ACEOF  _ACEOF
8029  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8030  if { (eval echo "$as_me:8024: \"$ac_link\"") >&5  if { (eval echo "$as_me:8030: \"$ac_link\"") >&5
8031    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8032    ac_status=$?    ac_status=$?
8033    echo "$as_me:8027: \$? = $ac_status" >&5    echo "$as_me:8033: \$? = $ac_status" >&5
8034    (exit $ac_status); } &&    (exit $ac_status); } &&
8035           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8036    { (eval echo "$as_me:8030: \"$ac_try\"") >&5    { (eval echo "$as_me:8036: \"$ac_try\"") >&5
8037    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8038    ac_status=$?    ac_status=$?
8039    echo "$as_me:8033: \$? = $ac_status" >&5    echo "$as_me:8039: \$? = $ac_status" >&5
8040    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8041    ac_cv_lib_lockfile_maillock=yes    ac_cv_lib_lockfile_maillock=yes
8042  else  else
# Line 8041  fi Line 8047  fi
8047  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8048  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
8049  fi  fi
8050  echo "$as_me:8044: result: $ac_cv_lib_lockfile_maillock" >&5  echo "$as_me:8050: result: $ac_cv_lib_lockfile_maillock" >&5
8051  echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6  echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6
8052  if test $ac_cv_lib_lockfile_maillock = yes; then  if test $ac_cv_lib_lockfile_maillock = yes; then
8053    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8058  fi Line 8064  fi
8064  if test "$ac_cv_lib_lockfile_maillock" = no; then  if test "$ac_cv_lib_lockfile_maillock" = no; then
8065        # 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.
8066  set dummy liblockfile.so; ac_word=$2  set dummy liblockfile.so; ac_word=$2
8067  echo "$as_me:8061: checking for $ac_word" >&5  echo "$as_me:8067: checking for $ac_word" >&5
8068  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8069  if test "${ac_cv_prog_liblockfile+set}" = set; then  if test "${ac_cv_prog_liblockfile+set}" = set; then
8070    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8073  for ac_dir in $ac_dummy; do Line 8079  for ac_dir in $ac_dummy; do
8079    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
8080    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
8081  ac_cv_prog_liblockfile="yes"  ac_cv_prog_liblockfile="yes"
8082  echo "$as_me:8076: found $ac_dir/$ac_word" >&5  echo "$as_me:8082: found $ac_dir/$ac_word" >&5
8083  break  break
8084  done  done
8085    
# Line 8082  fi Line 8088  fi
8088  fi  fi
8089  liblockfile=$ac_cv_prog_liblockfile  liblockfile=$ac_cv_prog_liblockfile
8090  if test -n "$liblockfile"; then  if test -n "$liblockfile"; then
8091    echo "$as_me:8085: result: $liblockfile" >&5    echo "$as_me:8091: result: $liblockfile" >&5
8092  echo "${ECHO_T}$liblockfile" >&6  echo "${ECHO_T}$liblockfile" >&6
8093  else  else
8094    echo "$as_me:8088: result: no" >&5    echo "$as_me:8094: result: no" >&5
8095  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
8096  fi  fi
8097    
8098    if test $ac_cv_prog_liblockfile = yes; then    if test $ac_cv_prog_liblockfile = yes; then
8099      { { echo "$as_me:8093: error: Shared liblockfile found but can't link against it.      { { echo "$as_me:8099: error: Shared liblockfile found but can't link against it.
8100  This probably means that movemail could lose mail.  This probably means that movemail could lose mail.
8101  There may be a \`development' package to install containing liblockfile." >&5  There may be a \`development' package to install containing liblockfile." >&5
8102  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 8108  fi Line 8114  fi
8114  for ac_func in touchlock  for ac_func in touchlock
8115  do  do
8116  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8117  echo "$as_me:8111: checking for $ac_func" >&5  echo "$as_me:8117: checking for $ac_func" >&5
8118  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8119  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
8120    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
8121  else  else
8122    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8123  #line 8117 "configure"  #line 8123 "configure"
8124  #include "confdefs.h"  #include "confdefs.h"
8125  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
8126      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 8145  f = $ac_func; Line 8151  f = $ac_func;
8151  }  }
8152  _ACEOF  _ACEOF
8153  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8154  if { (eval echo "$as_me:8148: \"$ac_link\"") >&5  if { (eval echo "$as_me:8154: \"$ac_link\"") >&5
8155    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8156    ac_status=$?    ac_status=$?
8157    echo "$as_me:8151: \$? = $ac_status" >&5    echo "$as_me:8157: \$? = $ac_status" >&5
8158    (exit $ac_status); } &&    (exit $ac_status); } &&
8159           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8160    { (eval echo "$as_me:8154: \"$ac_try\"") >&5    { (eval echo "$as_me:8160: \"$ac_try\"") >&5
8161    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8162    ac_status=$?    ac_status=$?
8163    echo "$as_me:8157: \$? = $ac_status" >&5    echo "$as_me:8163: \$? = $ac_status" >&5
8164    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8165    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
8166  else  else
# Line 8164  eval "$as_ac_var=no" Line 8170  eval "$as_ac_var=no"
8170  fi  fi
8171  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8172  fi  fi
8173  echo "$as_me:8167: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:8173: result: `eval echo '${'$as_ac_var'}'`" >&5
8174  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8175  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
8176    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8177  done Line 8183  done
8183  for ac_header in maillock.h  for ac_header in maillock.h
8184  do  do
8185  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8186  echo "$as_me:8180: checking for $ac_header" >&5  echo "$as_me:8186: checking for $ac_header" >&5
8187  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8188  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
8189    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
8190  else  else
8191    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8192  #line 8186 "configure"  #line 8192 "configure"
8193  #include "confdefs.h"  #include "confdefs.h"
8194  #include <$ac_header>  #include <$ac_header>
8195  _ACEOF  _ACEOF
8196  if { (eval echo "$as_me:8190: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:8196: \"$ac_cpp conftest.$ac_ext\"") >&5
8197    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8198    ac_status=$?    ac_status=$?
8199    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
8200    rm -f conftest.er1    rm -f conftest.er1
8201    cat conftest.err >&5    cat conftest.err >&5
8202    echo "$as_me:8196: \$? = $ac_status" >&5    echo "$as_me:8202: \$? = $ac_status" >&5
8203    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
8204    if test -s conftest.err; then    if test -s conftest.err; then
8205      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 8212  else Line 8218  else
8218  fi  fi
8219  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
8220  fi  fi
8221  echo "$as_me:8215: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:8221: result: `eval echo '${'$as_ac_Header'}'`" >&5
8222  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8223  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
8224    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8231  __fpending mblen mbrlen strsignal setiti Line 8237  __fpending mblen mbrlen strsignal setiti
8237  gai_strerror mkstemp  gai_strerror mkstemp
8238  do  do
8239  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8240  echo "$as_me:8234: checking for $ac_func" >&5  echo "$as_me:8240: checking for $ac_func" >&5
8241  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8242  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
8243    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
8244  else  else
8245    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8246  #line 8240 "configure"  #line 8246 "configure"
8247  #include "confdefs.h"  #include "confdefs.h"
8248  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
8249      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 8268  f = $ac_func; Line 8274  f = $ac_func;
8274  }  }
8275  _ACEOF  _ACEOF
8276  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8277  if { (eval echo "$as_me:8271: \"$ac_link\"") >&5  if { (eval echo "$as_me:8277: \"$ac_link\"") >&5
8278    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8279    ac_status=$?    ac_status=$?
8280    echo "$as_me:8274: \$? = $ac_status" >&5    echo "$as_me:8280: \$? = $ac_status" >&5
8281    (exit $ac_status); } &&    (exit $ac_status); } &&
8282           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8283    { (eval echo "$as_me:8277: \"$ac_try\"") >&5    { (eval echo "$as_me:8283: \"$ac_try\"") >&5
8284    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8285    ac_status=$?    ac_status=$?
8286    echo "$as_me:8280: \$? = $ac_status" >&5    echo "$as_me:8286: \$? = $ac_status" >&5
8287    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8288    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
8289  else  else
# Line 8287  eval "$as_ac_var=no" Line 8293  eval "$as_ac_var=no"
8293  fi  fi
8294  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8295  fi  fi
8296  echo "$as_me:8290: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:8296: result: `eval echo '${'$as_ac_var'}'`" >&5
8297  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8298  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
8299    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8300  done Line 8306  done
8306  for ac_header in sys/time.h unistd.h  for ac_header in sys/time.h unistd.h
8307  do  do
8308  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8309  echo "$as_me:8303: checking for $ac_header" >&5  echo "$as_me:8309: checking for $ac_header" >&5
8310  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8311  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
8312    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
8313  else  else
8314    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8315  #line 8309 "configure"  #line 8315 "configure"
8316  #include "confdefs.h"  #include "confdefs.h"
8317  #include <$ac_header>  #include <$ac_header>
8318  _ACEOF  _ACEOF
8319  if { (eval echo "$as_me:8313: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:8319: \"$ac_cpp conftest.$ac_ext\"") >&5
8320    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8321    ac_status=$?    ac_status=$?
8322    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
8323    rm -f conftest.er1    rm -f conftest.er1
8324    cat conftest.err >&5    cat conftest.err >&5
8325    echo "$as_me:8319: \$? = $ac_status" >&5    echo "$as_me:8325: \$? = $ac_status" >&5
8326    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
8327    if test -s conftest.err; then    if test -s conftest.err; then
8328      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 8335  else Line 8341  else
8341  fi  fi
8342  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
8343  fi  fi
8344  echo "$as_me:8338: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:8344: result: `eval echo '${'$as_ac_Header'}'`" >&5
8345  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8346  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
8347    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8348  done Line 8354  done
8354  for ac_func in alarm  for ac_func in alarm
8355  do  do
8356  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8357  echo "$as_me:8351: checking for $ac_func" >&5  echo "$as_me:8357: checking for $ac_func" >&5
8358  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8359  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
8360    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
8361  else  else
8362    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8363  #line 8357 "configure"  #line 8363 "configure"
8364  #include "confdefs.h"  #include "confdefs.h"
8365  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
8366      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 8385  f = $ac_func; Line 8391  f = $ac_func;
8391  }  }
8392  _ACEOF  _ACEOF
8393  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8394  if { (eval echo "$as_me:8388: \"$ac_link\"") >&5  if { (eval echo "$as_me:8394: \"$ac_link\"") >&5
8395    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8396    ac_status=$?    ac_status=$?
8397    echo "$as_me:8391: \$? = $ac_status" >&5    echo "$as_me:8397: \$? = $ac_status" >&5
8398    (exit $ac_status); } &&    (exit $ac_status); } &&
8399           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8400    { (eval echo "$as_me:8394: \"$ac_try\"") >&5    { (eval echo "$as_me:8400: \"$ac_try\"") >&5
8401    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8402    ac_status=$?    ac_status=$?
8403    echo "$as_me:8397: \$? = $ac_status" >&5    echo "$as_me:8403: \$? = $ac_status" >&5
8404    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8405    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
8406  else  else
# Line 8404  eval "$as_ac_var=no" Line 8410  eval "$as_ac_var=no"
8410  fi  fi
8411  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8412  fi  fi
8413  echo "$as_me:8407: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:8413: result: `eval echo '${'$as_ac_var'}'`" >&5
8414  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8415  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
8416    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8414  EOF Line 8420  EOF
8420  fi  fi
8421  done  done
8422    
8423  echo "$as_me:8417: checking for working mktime" >&5  echo "$as_me:8423: checking for working mktime" >&5
8424  echo $ECHO_N "checking for working mktime... $ECHO_C" >&6  echo $ECHO_N "checking for working mktime... $ECHO_C" >&6
8425  if test "${ac_cv_func_working_mktime+set}" = set; then  if test "${ac_cv_func_working_mktime+set}" = set; then
8426    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8423  else Line 8429  else
8429    ac_cv_func_working_mktime=no    ac_cv_func_working_mktime=no
8430  else  else
8431    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8432  #line 8426 "configure"  #line 8432 "configure"
8433  #include "confdefs.h"  #include "confdefs.h"
8434  /* Test program from Paul Eggert and Tony Leneis.  */  /* Test program from Paul Eggert and Tony Leneis.  */
8435  #if TIME_WITH_SYS_TIME  #if TIME_WITH_SYS_TIME
# Line 8572  main () Line 8578  main ()
8578  }  }
8579  _ACEOF  _ACEOF
8580  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
8581  if { (eval echo "$as_me:8575: \"$ac_link\"") >&5  if { (eval echo "$as_me:8581: \"$ac_link\"") >&5
8582    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8583    ac_status=$?    ac_status=$?
8584    echo "$as_me:8578: \$? = $ac_status" >&5    echo "$as_me:8584: \$? = $ac_status" >&5
8585    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8586    { (eval echo "$as_me:8580: \"$ac_try\"") >&5    { (eval echo "$as_me:8586: \"$ac_try\"") >&5
8587    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8588    ac_status=$?    ac_status=$?
8589    echo "$as_me:8583: \$? = $ac_status" >&5    echo "$as_me:8589: \$? = $ac_status" >&5
8590    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8591    ac_cv_func_working_mktime=yes    ac_cv_func_working_mktime=yes
8592  else  else
# Line 8592  fi Line 8598  fi
8598  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
8599  fi  fi
8600  fi  fi
8601  echo "$as_me:8595: result: $ac_cv_func_working_mktime" >&5  echo "$as_me:8601: result: $ac_cv_func_working_mktime" >&5
8602  echo "${ECHO_T}$ac_cv_func_working_mktime" >&6  echo "${ECHO_T}$ac_cv_func_working_mktime" >&6
8603  if test $ac_cv_func_working_mktime = no; then  if test $ac_cv_func_working_mktime = no; then
8604    LIBOBJS="$LIBOBJS mktime.$ac_objext"    LIBOBJS="$LIBOBJS mktime.$ac_objext"
# Line 8610  ac_have_func=no # yes means we've found Line 8616  ac_have_func=no # yes means we've found
8616  ac_save_LIBS=$LIBS  ac_save_LIBS=$LIBS
8617    
8618  # Check for getloadavg, but be sure not to touch the cache variable.  # Check for getloadavg, but be sure not to touch the cache variable.
8619  (echo "$as_me:8613: checking for getloadavg" >&5  (echo "$as_me:8619: checking for getloadavg" >&5
8620  echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6  echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6
8621  if test "${ac_cv_func_getloadavg+set}" = set; then  if test "${ac_cv_func_getloadavg+set}" = set; then
8622    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
8623  else  else
8624    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8625  #line 8619 "configure"  #line 8625 "configure"
8626  #include "confdefs.h"  #include "confdefs.h"
8627  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
8628      which can conflict with char getloadavg (); below.  */      which can conflict with char getloadavg (); below.  */
# Line 8647  f = getloadavg; Line 8653  f = getloadavg;
8653  }  }
8654  _ACEOF  _ACEOF
8655  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8656  if { (eval echo "$as_me:8650: \"$ac_link\"") >&5  if { (eval echo "$as_me:8656: \"$ac_link\"") >&5
8657    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8658    ac_status=$?    ac_status=$?
8659    echo "$as_me:8653: \$? = $ac_status" >&5    echo "$as_me:8659: \$? = $ac_status" >&5
8660    (exit $ac_status); } &&    (exit $ac_status); } &&
8661           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8662    { (eval echo "$as_me:8656: \"$ac_try\"") >&5    { (eval echo "$as_me:8662: \"$ac_try\"") >&5
8663    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8664    ac_status=$?    ac_status=$?
8665    echo "$as_me:8659: \$? = $ac_status" >&5    echo "$as_me:8665: \$? = $ac_status" >&5
8666    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8667    ac_cv_func_getloadavg=yes    ac_cv_func_getloadavg=yes
8668  else  else
# Line 8666  ac_cv_func_getloadavg=no Line 8672  ac_cv_func_getloadavg=no
8672  fi  fi
8673  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8674  fi  fi
8675  echo "$as_me:8669: result: $ac_cv_func_getloadavg" >&5  echo "$as_me:8675: result: $ac_cv_func_getloadavg" >&5
8676  echo "${ECHO_T}$ac_cv_func_getloadavg" >&6  echo "${ECHO_T}$ac_cv_func_getloadavg" >&6
8677  if test $ac_cv_func_getloadavg = yes; then  if test $ac_cv_func_getloadavg = yes; then
8678    exit 0    exit 0
# Line 8680  fi Line 8686  fi
8686  for ac_func in pstat_getdynamic  for ac_func in pstat_getdynamic
8687  do  do
8688  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8689  echo "$as_me:8683: checking for $ac_func" >&5  echo "$as_me:8689: checking for $ac_func" >&5
8690  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8691  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
8692    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
8693  else  else
8694    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8695  #line 8689 "configure"  #line 8695 "configure"
8696  #include "confdefs.h"  #include "confdefs.h"
8697  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
8698      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 8717  f = $ac_func; Line 8723  f = $ac_func;
8723  }  }
8724  _ACEOF  _ACEOF
8725  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8726  if { (eval echo "$as_me:8720: \"$ac_link\"") >&5  if { (eval echo "$as_me:8726: \"$ac_link\"") >&5
8727    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8728    ac_status=$?    ac_status=$?
8729    echo "$as_me:8723: \$? = $ac_status" >&5    echo "$as_me:8729: \$? = $ac_status" >&5
8730    (exit $ac_status); } &&    (exit $ac_status); } &&
8731           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8732    { (eval echo "$as_me:8726: \"$ac_try\"") >&5    { (eval echo "$as_me:8732: \"$ac_try\"") >&5
8733    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8734    ac_status=$?    ac_status=$?
8735    echo "$as_me:8729: \$? = $ac_status" >&5    echo "$as_me:8735: \$? = $ac_status" >&5
8736    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8737    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
8738  else  else
# Line 8736  eval "$as_ac_var=no" Line 8742  eval "$as_ac_var=no"
8742  fi  fi
8743  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8744  fi  fi
8745  echo "$as_me:8739: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:8745: result: `eval echo '${'$as_ac_var'}'`" >&5
8746  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8747  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
8748    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8748  done Line 8754  done
8754    
8755  # Solaris has libkstat which does not require root.  # Solaris has libkstat which does not require root.
8756    
8757  echo "$as_me:8751: checking for kstat_open in -lkstat" >&5  echo "$as_me:8757: checking for kstat_open in -lkstat" >&5
8758  echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6  echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6
8759  if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then  if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then
8760    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8756  else Line 8762  else
8762    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
8763  LIBS="-lkstat  $LIBS"  LIBS="-lkstat  $LIBS"
8764  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
8765  #line 8759 "configure"  #line 8765 "configure"
8766  #include "confdefs.h"  #include "confdefs.h"
8767    
8768  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 8775  kstat_open (); Line 8781  kstat_open ();
8781  }  }
8782  _ACEOF  _ACEOF
8783  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8784  if { (eval echo "$as_me:8778: \"$ac_link\"") >&5  if { (eval echo "$as_me:8784: \"$ac_link\"") >&5
8785    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8786    ac_status=$?    ac_status=$?
8787    echo "$as_me:8781: \$? = $ac_status" >&5    echo "$as_me:8787: \$? = $ac_status" >&5
8788    (exit $ac_status); } &&    (exit $ac_status); } &&
8789           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8790    { (eval echo "$as_me:8784: \"$ac_try\"") >&5    { (eval echo "$as_me:8790: \"$ac_try\"") >&5
8791    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8792    ac_status=$?    ac_status=$?
8793    echo "$as_me:8787: \$? = $ac_status" >&5    echo "$as_me:8793: \$? = $ac_status" >&5
8794    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8795    ac_cv_lib_kstat_kstat_open=yes    ac_cv_lib_kstat_kstat_open=yes
8796  else  else
# Line 8795  fi Line 8801  fi
8801  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8802  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
8803  fi  fi
8804  echo "$as_me:8798: result: $ac_cv_lib_kstat_kstat_open" >&5  echo "$as_me:8804: result: $ac_cv_lib_kstat_kstat_open" >&5
8805  echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6  echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6
8806  if test $ac_cv_lib_kstat_kstat_open = yes; then  if test $ac_cv_lib_kstat_kstat_open = yes; then
8807    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8813  test $ac_cv_lib_kstat_kstat_open = yes & Line 8819  test $ac_cv_lib_kstat_kstat_open = yes &
8819  # to get the right answer into the cache.  # to get the right answer into the cache.
8820  # 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.
8821  if test $ac_have_func = no; then  if test $ac_have_func = no; then
8822    echo "$as_me:8816: checking for elf_begin in -lelf" >&5    echo "$as_me:8822: checking for elf_begin in -lelf" >&5
8823  echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6  echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
8824  if test "${ac_cv_lib_elf_elf_begin+set}" = set; then  if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
8825    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8821  else Line 8827  else
8827    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
8828  LIBS="-lelf  $LIBS"  LIBS="-lelf  $LIBS"
8829  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
8830  #line 8824 "configure"  #line 8830 "configure"
8831  #include "confdefs.h"  #include "confdefs.h"
8832    
8833  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 8840  elf_begin (); Line 8846  elf_begin ();
8846  }  }
8847  _ACEOF  _ACEOF
8848  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8849  if { (eval echo "$as_me:8843: \"$ac_link\"") >&5  if { (eval echo "$as_me:8849: \"$ac_link\"") >&5
8850    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8851    ac_status=$?    ac_status=$?
8852    echo "$as_me:8846: \$? = $ac_status" >&5    echo "$as_me:8852: \$? = $ac_status" >&5
8853    (exit $ac_status); } &&    (exit $ac_status); } &&
8854           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8855    { (eval echo "$as_me:8849: \"$ac_try\"") >&5    { (eval echo "$as_me:8855: \"$ac_try\"") >&5
8856    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8857    ac_status=$?    ac_status=$?
8858    echo "$as_me:8852: \$? = $ac_status" >&5    echo "$as_me:8858: \$? = $ac_status" >&5
8859    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8860    ac_cv_lib_elf_elf_begin=yes    ac_cv_lib_elf_elf_begin=yes
8861  else  else
# Line 8860  fi Line 8866  fi
8866  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8867  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
8868  fi  fi
8869  echo "$as_me:8863: result: $ac_cv_lib_elf_elf_begin" >&5  echo "$as_me:8869: result: $ac_cv_lib_elf_elf_begin" >&5
8870  echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6  echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
8871  if test $ac_cv_lib_elf_elf_begin = yes; then  if test $ac_cv_lib_elf_elf_begin = yes; then
8872    LIBS="-lelf $LIBS"    LIBS="-lelf $LIBS"
# Line 8868  fi Line 8874  fi
8874    
8875  fi  fi
8876  if test $ac_have_func = no; then  if test $ac_have_func = no; then
8877    echo "$as_me:8871: checking for kvm_open in -lkvm" >&5    echo "$as_me:8877: checking for kvm_open in -lkvm" >&5
8878  echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6  echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6
8879  if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then  if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then
8880    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8876  else Line 8882  else
8882    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
8883  LIBS="-lkvm  $LIBS"  LIBS="-lkvm  $LIBS"
8884  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
8885  #line 8879 "configure"  #line 8885 "configure"
8886  #include "confdefs.h"  #include "confdefs.h"
8887    
8888  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 8895  kvm_open (); Line 8901  kvm_open ();
8901  }  }
8902  _ACEOF  _ACEOF
8903  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8904  if { (eval echo "$as_me:8898: \"$ac_link\"") >&5  if { (eval echo "$as_me:8904: \"$ac_link\"") >&5
8905    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8906    ac_status=$?    ac_status=$?
8907    echo "$as_me:8901: \$? = $ac_status" >&5    echo "$as_me:8907: \$? = $ac_status" >&5
8908    (exit $ac_status); } &&    (exit $ac_status); } &&
8909           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8910    { (eval echo "$as_me:8904: \"$ac_try\"") >&5    { (eval echo "$as_me:8910: \"$ac_try\"") >&5
8911    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8912    ac_status=$?    ac_status=$?
8913    echo "$as_me:8907: \$? = $ac_status" >&5    echo "$as_me:8913: \$? = $ac_status" >&5
8914    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8915    ac_cv_lib_kvm_kvm_open=yes    ac_cv_lib_kvm_kvm_open=yes
8916  else  else
# Line 8915  fi Line 8921  fi
8921  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8922  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
8923  fi  fi
8924  echo "$as_me:8918: result: $ac_cv_lib_kvm_kvm_open" >&5  echo "$as_me:8924: result: $ac_cv_lib_kvm_kvm_open" >&5
8925  echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6  echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6
8926  if test $ac_cv_lib_kvm_kvm_open = yes; then  if test $ac_cv_lib_kvm_kvm_open = yes; then
8927    LIBS="-lkvm $LIBS"    LIBS="-lkvm $LIBS"
8928  fi  fi
8929    
8930    # Check for the 4.4BSD definition of getloadavg.    # Check for the 4.4BSD definition of getloadavg.
8931    echo "$as_me:8925: checking for getloadavg in -lutil" >&5    echo "$as_me:8931: checking for getloadavg in -lutil" >&5
8932  echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6  echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6
8933  if test "${ac_cv_lib_util_getloadavg+set}" = set; then  if test "${ac_cv_lib_util_getloadavg+set}" = set; then
8934    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8930  else Line 8936  else
8936    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
8937  LIBS="-lutil  $LIBS"  LIBS="-lutil  $LIBS"
8938  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
8939  #line 8933 "configure"  #line 8939 "configure"
8940  #include "confdefs.h"  #include "confdefs.h"
8941    
8942  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 8949  getloadavg (); Line 8955  getloadavg ();
8955  }  }
8956  _ACEOF  _ACEOF
8957  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8958  if { (eval echo "$as_me:8952: \"$ac_link\"") >&5  if { (eval echo "$as_me:8958: \"$ac_link\"") >&5
8959    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8960    ac_status=$?    ac_status=$?
8961    echo "$as_me:8955: \$? = $ac_status" >&5    echo "$as_me:8961: \$? = $ac_status" >&5
8962    (exit $ac_status); } &&    (exit $ac_status); } &&
8963           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8964    { (eval echo "$as_me:8958: \"$ac_try\"") >&5    { (eval echo "$as_me:8964: \"$ac_try\"") >&5
8965    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8966    ac_status=$?    ac_status=$?
8967    echo "$as_me:8961: \$? = $ac_status" >&5    echo "$as_me:8967: \$? = $ac_status" >&5
8968    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8969    ac_cv_lib_util_getloadavg=yes    ac_cv_lib_util_getloadavg=yes
8970  else  else
# Line 8969  fi Line 8975  fi
8975  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8976  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
8977  fi  fi
8978  echo "$as_me:8972: result: $ac_cv_lib_util_getloadavg" >&5  echo "$as_me:8978: result: $ac_cv_lib_util_getloadavg" >&5
8979  echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6  echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6
8980  if test $ac_cv_lib_util_getloadavg = yes; then  if test $ac_cv_lib_util_getloadavg = yes; then
8981    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 8982  if test $ac_have_func = no; then Line 8988  if test $ac_have_func = no; then
8988    # 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.
8989    ac_getloadavg_LIBS=$LIBS    ac_getloadavg_LIBS=$LIBS
8990    LIBS="-L/usr/local/lib $LIBS"    LIBS="-L/usr/local/lib $LIBS"
8991    echo "$as_me:8985: checking for getloadavg in -lgetloadavg" >&5    echo "$as_me:8991: checking for getloadavg in -lgetloadavg" >&5
8992  echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6  echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6
8993  if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then  if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then
8994    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8990  else Line 8996  else
8996    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
8997  LIBS="-lgetloadavg  $LIBS"  LIBS="-lgetloadavg  $LIBS"
8998  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
8999  #line 8993 "configure"  #line 8999 "configure"
9000  #include "confdefs.h"  #include "confdefs.h"
9001    
9002  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 9009  getloadavg (); Line 9015  getloadavg ();
9015  }  }
9016  _ACEOF  _ACEOF
9017  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9018  if { (eval echo "$as_me:9012: \"$ac_link\"") >&5  if { (eval echo "$as_me:9018: \"$ac_link\"") >&5
9019    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9020    ac_status=$?    ac_status=$?
9021    echo "$as_me:9015: \$? = $ac_status" >&5    echo "$as_me:9021: \$? = $ac_status" >&5
9022    (exit $ac_status); } &&    (exit $ac_status); } &&
9023           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9024    { (eval echo "$as_me:9018: \"$ac_try\"") >&5    { (eval echo "$as_me:9024: \"$ac_try\"") >&5
9025    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9026    ac_status=$?    ac_status=$?
9027    echo "$as_me:9021: \$? = $ac_status" >&5    echo "$as_me:9027: \$? = $ac_status" >&5
9028    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9029    ac_cv_lib_getloadavg_getloadavg=yes    ac_cv_lib_getloadavg_getloadavg=yes
9030  else  else
# Line 9029  fi Line 9035  fi
9035  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9036  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
9037  fi  fi
9038  echo "$as_me:9032: result: $ac_cv_lib_getloadavg_getloadavg" >&5  echo "$as_me:9038: result: $ac_cv_lib_getloadavg_getloadavg" >&5
9039  echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6  echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6
9040  if test $ac_cv_lib_getloadavg_getloadavg = yes; then  if test $ac_cv_lib_getloadavg_getloadavg = yes; then
9041    LIBS="-lgetloadavg $LIBS"    LIBS="-lgetloadavg $LIBS"
# Line 9045  fi Line 9051  fi
9051  for ac_func in getloadavg  for ac_func in getloadavg
9052  do  do
9053  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9054  echo "$as_me:9048: checking for $ac_func" >&5  echo "$as_me:9054: checking for $ac_func" >&5
9055  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9056  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
9057    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9058  else  else
9059    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9060  #line 9054 "configure"  #line 9060 "configure"
9061  #include "confdefs.h"  #include "confdefs.h"
9062  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
9063      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 9082  f = $ac_func; Line 9088  f = $ac_func;
9088  }  }
9089  _ACEOF  _ACEOF
9090  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9091  if { (eval echo "$as_me:9085: \"$ac_link\"") >&5  if { (eval echo "$as_me:9091: \"$ac_link\"") >&5
9092    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9093    ac_status=$?    ac_status=$?
9094    echo "$as_me:9088: \$? = $ac_status" >&5    echo "$as_me:9094: \$? = $ac_status" >&5
9095    (exit $ac_status); } &&    (exit $ac_status); } &&
9096           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9097    { (eval echo "$as_me:9091: \"$ac_try\"") >&5    { (eval echo "$as_me:9097: \"$ac_try\"") >&5
9098    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9099    ac_status=$?    ac_status=$?
9100    echo "$as_me:9094: \$? = $ac_status" >&5    echo "$as_me:9100: \$? = $ac_status" >&5
9101    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9102    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
9103  else  else
# Line 9101  eval "$as_ac_var=no" Line 9107  eval "$as_ac_var=no"
9107  fi  fi
9108  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9109  fi  fi
9110  echo "$as_me:9104: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:9110: result: `eval echo '${'$as_ac_var'}'`" >&5
9111  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9112  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
9113    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 9117  EOF Line 9123  EOF
9123    
9124  # Figure out what our getloadavg.c needs.  # Figure out what our getloadavg.c needs.
9125  ac_have_func=no  ac_have_func=no
9126  echo "$as_me:9120: checking for sys/dg_sys_info.h" >&5  echo "$as_me:9126: checking for sys/dg_sys_info.h" >&5
9127  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
9128  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
9129    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9130  else  else
9131    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9132  #line 9126 "configure"  #line 9132 "configure"
9133  #include "confdefs.h"  #include "confdefs.h"
9134  #include <sys/dg_sys_info.h>  #include <sys/dg_sys_info.h>
9135  _ACEOF  _ACEOF
9136  if { (eval echo "$as_me:9130: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:9136: \"$ac_cpp conftest.$ac_ext\"") >&5
9137    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9138    ac_status=$?    ac_status=$?
9139    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
9140    rm -f conftest.er1    rm -f conftest.er1
9141    cat conftest.err >&5    cat conftest.err >&5
9142    echo "$as_me:9136: \$? = $ac_status" >&5    echo "$as_me:9142: \$? = $ac_status" >&5
9143    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
9144    if test -s conftest.err; then    if test -s conftest.err; then
9145      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 9152  else Line 9158  else
9158  fi  fi
9159  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
9160  fi  fi
9161  echo "$as_me:9155: result: $ac_cv_header_sys_dg_sys_info_h" >&5  echo "$as_me:9161: result: $ac_cv_header_sys_dg_sys_info_h" >&5
9162  echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6  echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
9163  if test $ac_cv_header_sys_dg_sys_info_h = yes; then  if test $ac_cv_header_sys_dg_sys_info_h = yes; then
9164    ac_have_func=yes    ac_have_func=yes
# Line 9161  cat >>confdefs.h <<\EOF Line 9167  cat >>confdefs.h <<\EOF
9167  #define DGUX 1  #define DGUX 1
9168  EOF  EOF
9169    
9170  echo "$as_me:9164: checking for dg_sys_info in -ldgc" >&5  echo "$as_me:9170: checking for dg_sys_info in -ldgc" >&5
9171  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
9172  if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then  if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then
9173    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 9169  else Line 9175  else
9175    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
9176  LIBS="-ldgc  $LIBS"  LIBS="-ldgc  $LIBS"
9177  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
9178  #line 9172 "configure"  #line 9178 "configure"
9179  #include "confdefs.h"  #include "confdefs.h"
9180    
9181  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 9188  dg_sys_info (); Line 9194  dg_sys_info ();
9194  }  }
9195  _ACEOF  _ACEOF
9196  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9197  if { (eval echo "$as_me:9191: \"$ac_link\"") >&5  if { (eval echo "$as_me:9197: \"$ac_link\"") >&5
9198    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9199    ac_status=$?    ac_status=$?
9200    echo "$as_me:9194: \$? = $ac_status" >&5    echo "$as_me:9200: \$? = $ac_status" >&5
9201    (exit $ac_status); } &&    (exit $ac_status); } &&
9202           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9203    { (eval echo "$as_me:9197: \"$ac_try\"") >&5    { (eval echo "$as_me:9203: \"$ac_try\"") >&5
9204    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9205    ac_status=$?    ac_status=$?
9206    echo "$as_me:9200: \$? = $ac_status" >&5    echo "$as_me:9206: \$? = $ac_status" >&5
9207    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9208    ac_cv_lib_dgc_dg_sys_info=yes    ac_cv_lib_dgc_dg_sys_info=yes
9209  else  else
# Line 9208  fi Line 9214  fi
9214  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9215  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
9216  fi  fi
9217  echo "$as_me:9211: result: $ac_cv_lib_dgc_dg_sys_info" >&5  echo "$as_me:9217: result: $ac_cv_lib_dgc_dg_sys_info" >&5
9218  echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6  echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6
9219  if test $ac_cv_lib_dgc_dg_sys_info = yes; then  if test $ac_cv_lib_dgc_dg_sys_info = yes; then
9220    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 9221  fi Line 9227  fi
9227    
9228  fi  fi
9229    
9230  echo "$as_me:9224: checking for locale.h" >&5  echo "$as_me:9230: checking for locale.h" >&5
9231  echo $ECHO_N "checking for locale.h... $ECHO_C" >&6  echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
9232  if test "${ac_cv_header_locale_h+set}" = set; then  if test "${ac_cv_header_locale_h+set}" = set; then
9233    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9234  else  else
9235    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9236  #line 9230 "configure"  #line 9236 "configure"
9237  #include "confdefs.h"  #include "confdefs.h"
9238  #include <locale.h>  #include <locale.h>
9239  _ACEOF  _ACEOF
9240  if { (eval echo "$as_me:9234: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:9240: \"$ac_cpp conftest.$ac_ext\"") >&5
9241    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9242    ac_status=$?    ac_status=$?
9243    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
9244    rm -f conftest.er1    rm -f conftest.er1
9245    cat conftest.err >&5    cat conftest.err >&5
9246    echo "$as_me:9240: \$? = $ac_status" >&5    echo "$as_me:9246: \$? = $ac_status" >&5
9247    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
9248    if test -s conftest.err; then    if test -s conftest.err; then
9249      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 9256  else Line 9262  else
9262  fi  fi
9263  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
9264  fi  fi
9265  echo "$as_me:9259: result: $ac_cv_header_locale_h" >&5  echo "$as_me:9265: result: $ac_cv_header_locale_h" >&5
9266  echo "${ECHO_T}$ac_cv_header_locale_h" >&6  echo "${ECHO_T}$ac_cv_header_locale_h" >&6
9267    
9268  for ac_func in setlocale  for ac_func in setlocale
9269  do  do
9270  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9271  echo "$as_me:9265: checking for $ac_func" >&5  echo "$as_me:9271: checking for $ac_func" >&5
9272  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9273  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
9274    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9275  else  else
9276    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9277  #line 9271 "configure"  #line 9277 "configure"
9278  #include "confdefs.h"  #include "confdefs.h"
9279  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
9280      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 9299  f = $ac_func; Line 9305  f = $ac_func;
9305  }  }
9306  _ACEOF  _ACEOF
9307  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9308  if { (eval echo "$as_me:9302: \"$ac_link\"") >&5  if { (eval echo "$as_me:9308: \"$ac_link\"") >&5
9309    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9310    ac_status=$?    ac_status=$?
9311    echo "$as_me:9305: \$? = $ac_status" >&5    echo "$as_me:9311: \$? = $ac_status" >&5
9312    (exit $ac_status); } &&    (exit $ac_status); } &&
9313           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9314    { (eval echo "$as_me:9308: \"$ac_try\"") >&5    { (eval echo "$as_me:9314: \"$ac_try\"") >&5
9315    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9316    ac_status=$?    ac_status=$?
9317    echo "$as_me:9311: \$? = $ac_status" >&5    echo "$as_me:9317: \$? = $ac_status" >&5
9318    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9319    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
9320  else  else
# Line 9318  eval "$as_ac_var=no" Line 9324  eval "$as_ac_var=no"
9324  fi  fi
9325  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9326  fi  fi
9327  echo "$as_me:9321: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:9327: result: `eval echo '${'$as_ac_var'}'`" >&5
9328  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9329  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
9330    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 9341  EOF Line 9347  EOF
9347  fi  fi
9348    
9349  if test $ac_have_func = no; then  if test $ac_have_func = no; then
9350    echo "$as_me:9344: checking for inq_stats/cpustats.h" >&5    echo "$as_me:9350: checking for inq_stats/cpustats.h" >&5
9351  echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6  echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
9352  if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then  if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
9353    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9354  else  else
9355    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9356  #line 9350 "configure"  #line 9356 "configure"
9357  #include "confdefs.h"  #include "confdefs.h"
9358  #include <inq_stats/cpustats.h>  #include <inq_stats/cpustats.h>
9359  _ACEOF  _ACEOF
9360  if { (eval echo "$as_me:9354: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:9360: \"$ac_cpp conftest.$ac_ext\"") >&5
9361    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9362    ac_status=$?    ac_status=$?
9363    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
9364    rm -f conftest.er1    rm -f conftest.er1
9365    cat conftest.err >&5    cat conftest.err >&5
9366    echo "$as_me:9360: \$? = $ac_status" >&5    echo "$as_me:9366: \$? = $ac_status" >&5
9367    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
9368    if test -s conftest.err; then    if test -s conftest.err; then
9369      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 9376  else Line 9382  else
9382  fi  fi
9383  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
9384  fi  fi
9385  echo "$as_me:9379: result: $ac_cv_header_inq_stats_cpustats_h" >&5  echo "$as_me:9385: result: $ac_cv_header_inq_stats_cpustats_h" >&5
9386  echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6  echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
9387  if test $ac_cv_header_inq_stats_cpustats_h = yes; then  if test $ac_cv_header_inq_stats_cpustats_h = yes; then
9388    ac_have_func=yes    ac_have_func=yes
# Line 9394  fi Line 9400  fi
9400  fi  fi
9401    
9402  if test $ac_have_func = no; then  if test $ac_have_func = no; then
9403    echo "$as_me:9397: checking for sys/cpustats.h" >&5    echo "$as_me:9403: checking for sys/cpustats.h" >&5
9404  echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6  echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
9405  if test "${ac_cv_header_sys_cpustats_h+set}" = set; then  if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
9406    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9407  else  else
9408    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9409  #line 9403 "configure"  #line 9409 "configure"
9410  #include "confdefs.h"  #include "confdefs.h"
9411  #include <sys/cpustats.h>  #include <sys/cpustats.h>
9412  _ACEOF  _ACEOF
9413  if { (eval echo "$as_me:9407: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:9413: \"$ac_cpp conftest.$ac_ext\"") >&5
9414    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9415    ac_status=$?    ac_status=$?
9416    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
9417    rm -f conftest.er1    rm -f conftest.er1
9418    cat conftest.err >&5    cat conftest.err >&5
9419    echo "$as_me:9413: \$? = $ac_status" >&5    echo "$as_me:9419: \$? = $ac_status" >&5
9420    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
9421    if test -s conftest.err; then    if test -s conftest.err; then
9422      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 9429  else Line 9435  else
9435  fi  fi
9436  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
9437  fi  fi
9438  echo "$as_me:9432: result: $ac_cv_header_sys_cpustats_h" >&5  echo "$as_me:9438: result: $ac_cv_header_sys_cpustats_h" >&5
9439  echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6  echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
9440  if test $ac_cv_header_sys_cpustats_h = yes; then  if test $ac_cv_header_sys_cpustats_h = yes; then
9441    ac_have_func=yes; cat >>confdefs.h <<\EOF    ac_have_func=yes; cat >>confdefs.h <<\EOF
# Line 9445  if test $ac_have_func = no; then Line 9451  if test $ac_have_func = no; then
9451  for ac_header in mach/mach.h  for ac_header in mach/mach.h
9452  do  do
9453  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9454  echo "$as_me:9448: checking for $ac_header" >&5  echo "$as_me:9454: checking for $ac_header" >&5
9455  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9456  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
9457    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9458  else  else
9459    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9460  #line 9454 "configure"  #line 9460 "configure"
9461  #include "confdefs.h"  #include "confdefs.h"
9462  #include <$ac_header>  #include <$ac_header>
9463  _ACEOF  _ACEOF
9464  if { (eval echo "$as_me:9458: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:9464: \"$ac_cpp conftest.$ac_ext\"") >&5
9465    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9466    ac_status=$?    ac_status=$?
9467    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
9468    rm -f conftest.er1    rm -f conftest.er1
9469    cat conftest.err >&5    cat conftest.err >&5
9470    echo "$as_me:9464: \$? = $ac_status" >&5    echo "$as_me:9470: \$? = $ac_status" >&5
9471    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
9472    if test -s conftest.err; then    if test -s conftest.err; then
9473      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 9480  else Line 9486  else
9486  fi  fi
9487  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
9488  fi  fi
9489  echo "$as_me:9483: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:9489: result: `eval echo '${'$as_ac_Header'}'`" >&5
9490  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9491  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
9492    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 9495  fi Line 9501  fi
9501  for ac_header in nlist.h  for ac_header in nlist.h
9502  do  do
9503  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9504  echo "$as_me:9498: checking for $ac_header" >&5  echo "$as_me:9504: checking for $ac_header" >&5
9505  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9506  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
9507    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9508  else  else
9509    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9510  #line 9504 "configure"  #line 9510 "configure"
9511  #include "confdefs.h"  #include "confdefs.h"
9512  #include <$ac_header>  #include <$ac_header>
9513  _ACEOF  _ACEOF
9514  if { (eval echo "$as_me:9508: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:9514: \"$ac_cpp conftest.$ac_ext\"") >&5
9515    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9516    ac_status=$?    ac_status=$?
9517    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
9518    rm -f conftest.er1    rm -f conftest.er1
9519    cat conftest.err >&5    cat conftest.err >&5
9520    echo "$as_me:9514: \$? = $ac_status" >&5    echo "$as_me:9520: \$? = $ac_status" >&5
9521    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
9522    if test -s conftest.err; then    if test -s conftest.err; then
9523      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 9530  else Line 9536  else
9536  fi  fi
9537  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
9538  fi  fi
9539  echo "$as_me:9533: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:9539: result: `eval echo '${'$as_ac_Header'}'`" >&5
9540  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9541  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
9542    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
9543  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9544  EOF  EOF
9545   echo "$as_me:9539: checking for struct nlist.n_un.n_name" >&5   echo "$as_me:9545: checking for struct nlist.n_un.n_name" >&5
9546  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
9547  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
9548    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9549  else  else
9550    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9551  #line 9545 "configure"  #line 9551 "configure"
9552  #include "confdefs.h"  #include "confdefs.h"
9553  #include <nlist.h>  #include <nlist.h>
9554    
# Line 9557  return 0; Line 9563  return 0;
9563  }  }
9564  _ACEOF  _ACEOF
9565  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
9566  if { (eval echo "$as_me:9560: \"$ac_compile\"") >&5  if { (eval echo "$as_me:9566: \"$ac_compile\"") >&5
9567    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
9568    ac_status=$?    ac_status=$?
9569    echo "$as_me:9563: \$? = $ac_status" >&5    echo "$as_me:9569: \$? = $ac_status" >&5
9570    (exit $ac_status); } &&    (exit $ac_status); } &&
9571           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
9572    { (eval echo "$as_me:9566: \"$ac_try\"") >&5    { (eval echo "$as_me:9572: \"$ac_try\"") >&5
9573    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9574    ac_status=$?    ac_status=$?
9575    echo "$as_me:9569: \$? = $ac_status" >&5    echo "$as_me:9575: \$? = $ac_status" >&5
9576    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9577    ac_cv_member_struct_nlist_n_un_n_name=yes    ac_cv_member_struct_nlist_n_un_n_name=yes
9578  else  else
# Line 9576  ac_cv_member_struct_nlist_n_un_n_name=no Line 9582  ac_cv_member_struct_nlist_n_un_n_name=no
9582  fi  fi
9583  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
9584  fi  fi
9585  echo "$as_me:9579: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5  echo "$as_me:9585: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5
9586  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
9587  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
9588    
# Line 9597  fi Line 9603  fi
9603  done  done
9604    
9605  # Some definitions of getloadavg require that the program be installed setgid.  # Some definitions of getloadavg require that the program be installed setgid.
9606  echo "$as_me:9600: checking whether getloadavg requires setgid" >&5  echo "$as_me:9606: checking whether getloadavg requires setgid" >&5
9607  echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6  echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6
9608  if test "${ac_cv_func_getloadavg_setgid+set}" = set; then  if test "${ac_cv_func_getloadavg_setgid+set}" = set; then
9609    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9610  else  else
9611    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9612  #line 9606 "configure"  #line 9612 "configure"
9613  #include "confdefs.h"  #include "confdefs.h"
9614  #include "$srcdir/getloadavg.c"  #include "$srcdir/getloadavg.c"
9615  #ifdef LDAV_PRIVILEGED  #ifdef LDAV_PRIVILEGED
# Line 9619  fi Line 9625  fi
9625  rm -f conftest*  rm -f conftest*
9626    
9627  fi  fi
9628  echo "$as_me:9622: result: $ac_cv_func_getloadavg_setgid" >&5  echo "$as_me:9628: result: $ac_cv_func_getloadavg_setgid" >&5
9629  echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6  echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6
9630  if test $ac_cv_func_getloadavg_setgid = yes; then  if test $ac_cv_func_getloadavg_setgid = yes; then
9631    NEED_SETGID=true    NEED_SETGID=true
# Line 9633  else Line 9639  else
9639  fi  fi
9640    
9641  if test $ac_cv_func_getloadavg_setgid = yes; then  if test $ac_cv_func_getloadavg_setgid = yes; then
9642    echo "$as_me:9636: checking group of /dev/kmem" >&5    echo "$as_me:9642: checking group of /dev/kmem" >&5
9643  echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6  echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6
9644  if test "${ac_cv_group_kmem+set}" = set; then  if test "${ac_cv_group_kmem+set}" = set; then
9645    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 9648  else Line 9654  else
9654                 / /s/.* //;p;'`                 / /s/.* //;p;'`
9655    
9656  fi  fi
9657  echo "$as_me:9651: result: $ac_cv_group_kmem" >&5  echo "$as_me:9657: result: $ac_cv_group_kmem" >&5
9658  echo "${ECHO_T}$ac_cv_group_kmem" >&6  echo "${ECHO_T}$ac_cv_group_kmem" >&6
9659    KMEM_GROUP=$ac_cv_group_kmem    KMEM_GROUP=$ac_cv_group_kmem
9660  fi  fi
# Line 9659  else Line 9665  else
9665  fi  fi
9666  LIBS=$ac_save_LIBS  LIBS=$ac_save_LIBS
9667    
9668  echo "$as_me:9662: checking for _LARGEFILE_SOURCE value needed for large files" >&5  echo "$as_me:9668: checking for _LARGEFILE_SOURCE value needed for large files" >&5
9669  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
9670  if test "${ac_cv_sys_largefile_source+set}" = set; then  if test "${ac_cv_sys_largefile_source+set}" = set; then
9671    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 9667  else Line 9673  else
9673    while :; do    while :; do
9674    ac_cv_sys_largefile_source=no    ac_cv_sys_largefile_source=no
9675    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9676  #line 9670 "configure"  #line 9676 "configure"
9677  #include "confdefs.h"  #include "confdefs.h"
9678  #include <stdio.h>  #include <stdio.h>
9679  int  int
# Line 9679  return !fseeko; Line 9685  return !fseeko;
9685  }  }
9686  _ACEOF  _ACEOF
9687  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
9688  if { (eval echo "$as_me:9682: \"$ac_compile\"") >&5  if { (eval echo "$as_me:9688: \"$ac_compile\"") >&5
9689    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
9690    ac_status=$?    ac_status=$?
9691    echo "$as_me:9685: \$? = $ac_status" >&5    echo "$as_me:9691: \$? = $ac_status" >&5
9692    (exit $ac_status); } &&    (exit $ac_status); } &&
9693           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
9694    { (eval echo "$as_me:9688: \"$ac_try\"") >&5    { (eval echo "$as_me:9694: \"$ac_try\"") >&5
9695    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9696    ac_status=$?    ac_status=$?
9697    echo "$as_me:9691: \$? = $ac_status" >&5    echo "$as_me:9697: \$? = $ac_status" >&5
9698    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9699    break    break
9700  else  else
# Line 9697  cat conftest.$ac_ext >&5 Line 9703  cat conftest.$ac_ext >&5
9703  fi  fi
9704  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
9705    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9706  #line 9700 "configure"  #line 9706 "configure"
9707  #include "confdefs.h"  #include "confdefs.h"
9708  #define _LARGEFILE_SOURCE 1  #define _LARGEFILE_SOURCE 1
9709  #include <stdio.h>  #include <stdio.h>
# Line 9710  return !fseeko; Line 9716  return !fseeko;
9716  }  }
9717  _ACEOF  _ACEOF
9718  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
9719  if { (eval echo "$as_me:9713: \"$ac_compile\"") >&5  if { (eval echo "$as_me:9719: \"$ac_compile\"") >&5
9720    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
9721    ac_status=$?    ac_status=$?
9722    echo "$as_me:9716: \$? = $ac_status" >&5    echo "$as_me:9722: \$? = $ac_status" >&5
9723    (exit $ac_status); } &&    (exit $ac_status); } &&
9724           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
9725    { (eval echo "$as_me:9719: \"$ac_try\"") >&5    { (eval echo "$as_me:9725: \"$ac_try\"") >&5
9726    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9727    ac_status=$?    ac_status=$?
9728    echo "$as_me:9722: \$? = $ac_status" >&5    echo "$as_me:9728: \$? = $ac_status" >&5
9729    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9730    ac_cv_sys_largefile_source=1; break    ac_cv_sys_largefile_source=1; break
9731  else  else
# Line 9730  rm -f conftest.$ac_objext conftest.$ac_e Line 9736  rm -f conftest.$ac_objext conftest.$ac_e
9736    break    break
9737  done  done
9738  fi  fi
9739  echo "$as_me:9733: result: $ac_cv_sys_largefile_source" >&5  echo "$as_me:9739: result: $ac_cv_sys_largefile_source" >&5
9740  echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6  echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
9741  if test "$ac_cv_sys_largefile_source" != no; then  if test "$ac_cv_sys_largefile_source" != no; then
9742    
# Line 9744  rm -f conftest* Line 9750  rm -f conftest*
9750  # 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
9751  # in glibc 2.1.3, but that breaks too many other things.  # in glibc 2.1.3, but that breaks too many other things.
9752  # 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.
9753  echo "$as_me:9747: checking for fseeko" >&5  echo "$as_me:9753: checking for fseeko" >&5
9754  echo $ECHO_N "checking for fseeko... $ECHO_C" >&6  echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
9755  if test "${ac_cv_func_fseeko+set}" = set; then  if test "${ac_cv_func_fseeko+set}" = set; then
9756    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9757  else  else
9758    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9759  #line 9753 "configure"  #line 9759 "configure"
9760  #include "confdefs.h"  #include "confdefs.h"
9761  #include <stdio.h>  #include <stdio.h>
9762  int  int
# Line 9762  return fseeko && fseeko (stdin, 0, 0); Line 9768  return fseeko && fseeko (stdin, 0, 0);
9768  }  }
9769  _ACEOF  _ACEOF
9770  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9771  if { (eval echo "$as_me:9765: \"$ac_link\"") >&5  if { (eval echo "$as_me:9771: \"$ac_link\"") >&5
9772    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9773    ac_status=$?    ac_status=$?
9774    echo "$as_me:9768: \$? = $ac_status" >&5    echo "$as_me:9774: \$? = $ac_status" >&5
9775    (exit $ac_status); } &&    (exit $ac_status); } &&
9776           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9777    { (eval echo "$as_me:9771: \"$ac_try\"") >&5    { (eval echo "$as_me:9777: \"$ac_try\"") >&5
9778    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9779    ac_status=$?    ac_status=$?
9780    echo "$as_me:9774: \$? = $ac_status" >&5    echo "$as_me:9780: \$? = $ac_status" >&5
9781    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9782    ac_cv_func_fseeko=yes    ac_cv_func_fseeko=yes
9783  else  else
# Line 9781  ac_cv_func_fseeko=no Line 9787  ac_cv_func_fseeko=no
9787  fi  fi
9788  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9789  fi  fi
9790  echo "$as_me:9784: result: $ac_cv_func_fseeko" >&5  echo "$as_me:9790: result: $ac_cv_func_fseeko" >&5
9791  echo "${ECHO_T}$ac_cv_func_fseeko" >&6  echo "${ECHO_T}$ac_cv_func_fseeko" >&6
9792  if test $ac_cv_func_fseeko = yes; then  if test $ac_cv_func_fseeko = yes; then
9793    
# Line 9796  fi Line 9802  fi
9802  for ac_func in grantpt  for ac_func in grantpt
9803  do  do
9804  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9805  echo "$as_me:9799: checking for $ac_func" >&5  echo "$as_me:9805: checking for $ac_func" >&5
9806  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9807  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
9808    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9809  else  else
9810    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9811  #line 9805 "configure"  #line 9811 "configure"
9812  #include "confdefs.h"  #include "confdefs.h"
9813  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
9814      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 9833  f = $ac_func; Line 9839  f = $ac_func;
9839  }  }
9840  _ACEOF  _ACEOF
9841  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9842  if { (eval echo "$as_me:9836: \"$ac_link\"") >&5  if { (eval echo "$as_me:9842: \"$ac_link\"") >&5
9843    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9844    ac_status=$?    ac_status=$?
9845    echo "$as_me:9839: \$? = $ac_status" >&5    echo "$as_me:9845: \$? = $ac_status" >&5
9846    (exit $ac_status); } &&    (exit $ac_status); } &&
9847           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9848    { (eval echo "$as_me:9842: \"$ac_try\"") >&5    { (eval echo "$as_me:9848: \"$ac_try\"") >&5
9849    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9850    ac_status=$?    ac_status=$?
9851    echo "$as_me:9845: \$? = $ac_status" >&5    echo "$as_me:9851: \$? = $ac_status" >&5
9852    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9853    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
9854  else  else
# Line 9852  eval "$as_ac_var=no" Line 9858  eval "$as_ac_var=no"
9858  fi  fi
9859  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9860  fi  fi
9861  echo "$as_me:9855: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:9861: result: `eval echo '${'$as_ac_var'}'`" >&5
9862  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9863  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
9864    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 9867  done Line 9873  done
9873  for ac_func in getpt  for ac_func in getpt
9874  do  do
9875  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9876  echo "$as_me:9870: checking for $ac_func" >&5  echo "$as_me:9876: checking for $ac_func" >&5
9877  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9878  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
9879    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9880  else  else
9881    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9882  #line 9876 "configure"  #line 9882 "configure"
9883  #include "confdefs.h"  #include "confdefs.h"
9884  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
9885      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 9904  f = $ac_func; Line 9910  f = $ac_func;
9910  }  }
9911  _ACEOF  _ACEOF
9912  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9913  if { (eval echo "$as_me:9907: \"$ac_link\"") >&5  if { (eval echo "$as_me:9913: \"$ac_link\"") >&5
9914    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9915    ac_status=$?    ac_status=$?
9916    echo "$as_me:9910: \$? = $ac_status" >&5    echo "$as_me:9916: \$? = $ac_status" >&5
9917    (exit $ac_status); } &&    (exit $ac_status); } &&
9918           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9919    { (eval echo "$as_me:9913: \"$ac_try\"") >&5    { (eval echo "$as_me:9919: \"$ac_try\"") >&5
9920    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9921    ac_status=$?    ac_status=$?
9922    echo "$as_me:9916: \$? = $ac_status" >&5    echo "$as_me:9922: \$? = $ac_status" >&5
9923    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9924    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
9925  else  else
# Line 9923  eval "$as_ac_var=no" Line 9929  eval "$as_ac_var=no"
9929  fi  fi
9930  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9931  fi  fi
9932  echo "$as_me:9926: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:9932: result: `eval echo '${'$as_ac_var'}'`" >&5
9933  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9934  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
9935    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 9938  done Line 9944  done
9944  # It's better to believe a function is not available  # It's better to believe a function is not available
9945  # than to expect to find it in ncurses.  # than to expect to find it in ncurses.
9946    
9947  echo "$as_me:9941: checking for tparm in -lncurses" >&5  echo "$as_me:9947: checking for tparm in -lncurses" >&5
9948  echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6  echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6
9949  if test "${ac_cv_lib_ncurses_tparm+set}" = set; then  if test "${ac_cv_lib_ncurses_tparm+set}" = set; then
9950    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 9946  else Line 9952  else
9952    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
9953  LIBS="-lncurses  $LIBS"  LIBS="-lncurses  $LIBS"
9954  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
9955  #line 9949 "configure"  #line 9955 "configure"
9956  #include "confdefs.h"  #include "confdefs.h"
9957    
9958  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 9965  tparm (); Line 9971  tparm ();
9971  }  }
9972  _ACEOF  _ACEOF
9973  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9974  if { (eval echo "$as_me:9968: \"$ac_link\"") >&5  if { (eval echo "$as_me:9974: \"$ac_link\"") >&5
9975    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9976    ac_status=$?    ac_status=$?
9977    echo "$as_me:9971: \$? = $ac_status" >&5    echo "$as_me:9977: \$? = $ac_status" >&5
9978    (exit $ac_status); } &&    (exit $ac_status); } &&
9979           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9980    { (eval echo "$as_me:9974: \"$ac_try\"") >&5    { (eval echo "$as_me:9980: \"$ac_try\"") >&5
9981    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9982    ac_status=$?    ac_status=$?
9983    echo "$as_me:9977: \$? = $ac_status" >&5    echo "$as_me:9983: \$? = $ac_status" >&5
9984    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9985    ac_cv_lib_ncurses_tparm=yes    ac_cv_lib_ncurses_tparm=yes
9986  else  else
# Line 9985  fi Line 9991  fi
9991  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9992  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
9993  fi  fi
9994  echo "$as_me:9988: result: $ac_cv_lib_ncurses_tparm" >&5  echo "$as_me:9994: result: $ac_cv_lib_ncurses_tparm" >&5
9995  echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6  echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6
9996  if test $ac_cv_lib_ncurses_tparm = yes; then  if test $ac_cv_lib_ncurses_tparm = yes; then
9997    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10000  fi Line 10006  fi
10006  if test "$with_hesiod" = yes ; then  if test "$with_hesiod" = yes ; then
10007    # Don't set $LIBS here -- see comments above.    # Don't set $LIBS here -- see comments above.
10008    resolv=no    resolv=no
10009    echo "$as_me:10003: checking for res_send" >&5    echo "$as_me:10009: checking for res_send" >&5
10010  echo $ECHO_N "checking for res_send... $ECHO_C" >&6  echo $ECHO_N "checking for res_send... $ECHO_C" >&6
10011  if test "${ac_cv_func_res_send+set}" = set; then  if test "${ac_cv_func_res_send+set}" = set; then
10012    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
10013  else  else
10014    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
10015  #line 10009 "configure"  #line 10015 "configure"
10016  #include "confdefs.h"  #include "confdefs.h"
10017  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
10018      which can conflict with char res_send (); below.  */      which can conflict with char res_send (); below.  */
# Line 10037  f = res_send; Line 10043  f = res_send;
10043  }  }
10044  _ACEOF  _ACEOF
10045  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10046  if { (eval echo "$as_me:10040: \"$ac_link\"") >&5  if { (eval echo "$as_me:10046: \"$ac_link\"") >&5
10047    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10048    ac_status=$?    ac_status=$?
10049    echo "$as_me:10043: \$? = $ac_status" >&5    echo "$as_me:10049: \$? = $ac_status" >&5
10050    (exit $ac_status); } &&    (exit $ac_status); } &&
10051           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10052    { (eval echo "$as_me:10046: \"$ac_try\"") >&5    { (eval echo "$as_me:10052: \"$ac_try\"") >&5
10053    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10054    ac_status=$?    ac_status=$?
10055    echo "$as_me:10049: \$? = $ac_status" >&5    echo "$as_me:10055: \$? = $ac_status" >&5
10056    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10057    ac_cv_func_res_send=yes    ac_cv_func_res_send=yes
10058  else  else
# Line 10056  ac_cv_func_res_send=no Line 10062  ac_cv_func_res_send=no
10062  fi  fi
10063  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10064  fi  fi
10065  echo "$as_me:10059: result: $ac_cv_func_res_send" >&5  echo "$as_me:10065: result: $ac_cv_func_res_send" >&5
10066  echo "${ECHO_T}$ac_cv_func_res_send" >&6  echo "${ECHO_T}$ac_cv_func_res_send" >&6
10067  if test $ac_cv_func_res_send = yes; then  if test $ac_cv_func_res_send = yes; then
10068    :    :
10069  else  else
10070    echo "$as_me:10064: checking for __res_send" >&5    echo "$as_me:10070: checking for __res_send" >&5
10071  echo $ECHO_N "checking for __res_send... $ECHO_C" >&6  echo $ECHO_N "checking for __res_send... $ECHO_C" >&6
10072  if test "${ac_cv_func___res_send+set}" = set; then  if test "${ac_cv_func___res_send+set}" = set; then
10073    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
10074  else  else
10075    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
10076  #line 10070 "configure"  #line 10076 "configure"
10077  #include "confdefs.h"  #include "confdefs.h"
10078  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
10079      which can conflict with char __res_send (); below.  */      which can conflict with char __res_send (); below.  */
# Line 10098  f = __res_send; Line 10104  f = __res_send;
10104  }  }
10105  _ACEOF  _ACEOF
10106  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10107  if { (eval echo "$as_me:10101: \"$ac_link\"") >&5  if { (eval echo "$as_me:10107: \"$ac_link\"") >&5
10108    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10109    ac_status=$?    ac_status=$?
10110    echo "$as_me:10104: \$? = $ac_status" >&5    echo "$as_me:10110: \$? = $ac_status" >&5
10111    (exit $ac_status); } &&    (exit $ac_status); } &&
10112           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10113    { (eval echo "$as_me:10107: \"$ac_try\"") >&5    { (eval echo "$as_me:10113: \"$ac_try\"") >&5
10114    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10115    ac_status=$?    ac_status=$?
10116    echo "$as_me:10110: \$? = $ac_status" >&5    echo "$as_me:10116: \$? = $ac_status" >&5
10117    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10118    ac_cv_func___res_send=yes    ac_cv_func___res_send=yes
10119  else  else
# Line 10117  ac_cv_func___res_send=no Line 10123  ac_cv_func___res_send=no
10123  fi  fi
10124  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10125  fi  fi
10126  echo "$as_me:10120: result: $ac_cv_func___res_send" >&5  echo "$as_me:10126: result: $ac_cv_func___res_send" >&5
10127  echo "${ECHO_T}$ac_cv_func___res_send" >&6  echo "${ECHO_T}$ac_cv_func___res_send" >&6
10128  if test $ac_cv_func___res_send = yes; then  if test $ac_cv_func___res_send = yes; then
10129    :    :
10130  else  else
10131    echo "$as_me:10125: checking for res_send in -lresolv" >&5    echo "$as_me:10131: checking for res_send in -lresolv" >&5
10132  echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6  echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6
10133  if test "${ac_cv_lib_resolv_res_send+set}" = set; then  if test "${ac_cv_lib_resolv_res_send+set}" = set; then
10134    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10130  else Line 10136  else
10136    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10137  LIBS="-lresolv  $LIBS"  LIBS="-lresolv  $LIBS"
10138  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10139  #line 10133 "configure"  #line 10139 "configure"
10140  #include "confdefs.h"  #include "confdefs.h"
10141    
10142  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10149  res_send (); Line 10155  res_send ();
10155  }  }
10156  _ACEOF  _ACEOF
10157  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10158  if { (eval echo "$as_me:10152: \"$ac_link\"") >&5  if { (eval echo "$as_me:10158: \"$ac_link\"") >&5
10159    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10160    ac_status=$?    ac_status=$?
10161    echo "$as_me:10155: \$? = $ac_status" >&5    echo "$as_me:10161: \$? = $ac_status" >&5
10162    (exit $ac_status); } &&    (exit $ac_status); } &&
10163           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10164    { (eval echo "$as_me:10158: \"$ac_try\"") >&5    { (eval echo "$as_me:10164: \"$ac_try\"") >&5
10165    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10166    ac_status=$?    ac_status=$?
10167    echo "$as_me:10161: \$? = $ac_status" >&5    echo "$as_me:10167: \$? = $ac_status" >&5
10168    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10169    ac_cv_lib_resolv_res_send=yes    ac_cv_lib_resolv_res_send=yes
10170  else  else
# Line 10169  fi Line 10175  fi
10175  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10176  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10177  fi  fi
10178  echo "$as_me:10172: result: $ac_cv_lib_resolv_res_send" >&5  echo "$as_me:10178: result: $ac_cv_lib_resolv_res_send" >&5
10179  echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6  echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6
10180  if test $ac_cv_lib_resolv_res_send = yes; then  if test $ac_cv_lib_resolv_res_send = yes; then
10181    resolv=yes    resolv=yes
10182  else  else
10183    echo "$as_me:10177: checking for __res_send in -lresolv" >&5    echo "$as_me:10183: checking for __res_send in -lresolv" >&5
10184  echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6  echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6
10185  if test "${ac_cv_lib_resolv___res_send+set}" = set; then  if test "${ac_cv_lib_resolv___res_send+set}" = set; then
10186    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10182  else Line 10188  else
10188    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10189  LIBS="-lresolv  $LIBS"  LIBS="-lresolv  $LIBS"
10190  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10191  #line 10185 "configure"  #line 10191 "configure"
10192  #include "confdefs.h"  #include "confdefs.h"
10193    
10194  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10201  __res_send (); Line 10207  __res_send ();
10207  }  }
10208  _ACEOF  _ACEOF
10209  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10210  if { (eval echo "$as_me:10204: \"$ac_link\"") >&5  if { (eval echo "$as_me:10210: \"$ac_link\"") >&5
10211    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10212    ac_status=$?    ac_status=$?
10213    echo "$as_me:10207: \$? = $ac_status" >&5    echo "$as_me:10213: \$? = $ac_status" >&5
10214    (exit $ac_status); } &&    (exit $ac_status); } &&
10215           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10216    { (eval echo "$as_me:10210: \"$ac_try\"") >&5    { (eval echo "$as_me:10216: \"$ac_try\"") >&5
10217    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10218    ac_status=$?    ac_status=$?
10219    echo "$as_me:10213: \$? = $ac_status" >&5    echo "$as_me:10219: \$? = $ac_status" >&5
10220    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10221    ac_cv_lib_resolv___res_send=yes    ac_cv_lib_resolv___res_send=yes
10222  else  else
# Line 10221  fi Line 10227  fi
10227  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10228  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10229  fi  fi
10230  echo "$as_me:10224: result: $ac_cv_lib_resolv___res_send" >&5  echo "$as_me:10230: result: $ac_cv_lib_resolv___res_send" >&5
10231  echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6  echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6
10232  if test $ac_cv_lib_resolv___res_send = yes; then  if test $ac_cv_lib_resolv___res_send = yes; then
10233    resolv=yes    resolv=yes
# Line 10242  EOF Line 10248  EOF
10248    else    else
10249      RESOLVLIB=      RESOLVLIB=
10250    fi    fi
10251    echo "$as_me:10245: checking for hes_getmailhost" >&5    echo "$as_me:10251: checking for hes_getmailhost" >&5
10252  echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6  echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6
10253  if test "${ac_cv_func_hes_getmailhost+set}" = set; then  if test "${ac_cv_func_hes_getmailhost+set}" = set; then
10254    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
10255  else  else
10256    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
10257  #line 10251 "configure"  #line 10257 "configure"
10258  #include "confdefs.h"  #include "confdefs.h"
10259  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
10260      which can conflict with char hes_getmailhost (); below.  */      which can conflict with char hes_getmailhost (); below.  */
# Line 10279  f = hes_getmailhost; Line 10285  f = hes_getmailhost;
10285  }  }
10286  _ACEOF  _ACEOF
10287  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10288  if { (eval echo "$as_me:10282: \"$ac_link\"") >&5  if { (eval echo "$as_me:10288: \"$ac_link\"") >&5
10289    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10290    ac_status=$?    ac_status=$?
10291    echo "$as_me:10285: \$? = $ac_status" >&5    echo "$as_me:10291: \$? = $ac_status" >&5
10292    (exit $ac_status); } &&    (exit $ac_status); } &&
10293           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10294    { (eval echo "$as_me:10288: \"$ac_try\"") >&5    { (eval echo "$as_me:10294: \"$ac_try\"") >&5
10295    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10296    ac_status=$?    ac_status=$?
10297    echo "$as_me:10291: \$? = $ac_status" >&5    echo "$as_me:10297: \$? = $ac_status" >&5
10298    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10299    ac_cv_func_hes_getmailhost=yes    ac_cv_func_hes_getmailhost=yes
10300  else  else
# Line 10298  ac_cv_func_hes_getmailhost=no Line 10304  ac_cv_func_hes_getmailhost=no
10304  fi  fi
10305  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10306  fi  fi
10307  echo "$as_me:10301: result: $ac_cv_func_hes_getmailhost" >&5  echo "$as_me:10307: result: $ac_cv_func_hes_getmailhost" >&5
10308  echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6  echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6
10309  if test $ac_cv_func_hes_getmailhost = yes; then  if test $ac_cv_func_hes_getmailhost = yes; then
10310    :    :
10311  else  else
10312    echo "$as_me:10306: checking for hes_getmailhost in -lhesiod" >&5    echo "$as_me:10312: checking for hes_getmailhost in -lhesiod" >&5
10313  echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6  echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6
10314  if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then  if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then
10315    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10311  else Line 10317  else
10317    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10318  LIBS="-lhesiod $RESOLVLIB $LIBS"  LIBS="-lhesiod $RESOLVLIB $LIBS"
10319  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10320  #line 10314 "configure"  #line 10320 "configure"
10321  #include "confdefs.h"  #include "confdefs.h"
10322    
10323  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10330  hes_getmailhost (); Line 10336  hes_getmailhost ();
10336  }  }
10337  _ACEOF  _ACEOF
10338  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10339  if { (eval echo "$as_me:10333: \"$ac_link\"") >&5  if { (eval echo "$as_me:10339: \"$ac_link\"") >&5
10340    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10341    ac_status=$?    ac_status=$?
10342    echo "$as_me:10336: \$? = $ac_status" >&5    echo "$as_me:10342: \$? = $ac_status" >&5
10343    (exit $ac_status); } &&    (exit $ac_status); } &&
10344           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10345    { (eval echo "$as_me:10339: \"$ac_try\"") >&5    { (eval echo "$as_me:10345: \"$ac_try\"") >&5
10346    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10347    ac_status=$?    ac_status=$?
10348    echo "$as_me:10342: \$? = $ac_status" >&5    echo "$as_me:10348: \$? = $ac_status" >&5
10349    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10350    ac_cv_lib_hesiod_hes_getmailhost=yes    ac_cv_lib_hesiod_hes_getmailhost=yes
10351  else  else
# Line 10350  fi Line 10356  fi
10356  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10357  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10358  fi  fi
10359  echo "$as_me:10353: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5  echo "$as_me:10359: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5
10360  echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6  echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6
10361  if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then  if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then
10362    cat >>confdefs.h <<\EOF    cat >>confdefs.h <<\EOF
# Line 10368  fi Line 10374  fi
10374  # These tell us which Kerberos-related libraries to use.  # These tell us which Kerberos-related libraries to use.
10375  if test "${with_kerberos+set}" = set; then  if test "${with_kerberos+set}" = set; then
10376    
10377  echo "$as_me:10371: checking for com_err in -lcom_err" >&5  echo "$as_me:10377: checking for com_err in -lcom_err" >&5
10378  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
10379  if test "${ac_cv_lib_com_err_com_err+set}" = set; then  if test "${ac_cv_lib_com_err_com_err+set}" = set; then
10380    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10376  else Line 10382  else
10382    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10383  LIBS="-lcom_err  $LIBS"  LIBS="-lcom_err  $LIBS"
10384  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10385  #line 10379 "configure"  #line 10385 "configure"
10386  #include "confdefs.h"  #include "confdefs.h"
10387    
10388  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10395  com_err (); Line 10401  com_err ();
10401  }  }
10402  _ACEOF  _ACEOF
10403  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10404  if { (eval echo "$as_me:10398: \"$ac_link\"") >&5  if { (eval echo "$as_me:10404: \"$ac_link\"") >&5
10405    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10406    ac_status=$?    ac_status=$?
10407    echo "$as_me:10401: \$? = $ac_status" >&5    echo "$as_me:10407: \$? = $ac_status" >&5
10408    (exit $ac_status); } &&    (exit $ac_status); } &&
10409           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10410    { (eval echo "$as_me:10404: \"$ac_try\"") >&5    { (eval echo "$as_me:10410: \"$ac_try\"") >&5
10411    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10412    ac_status=$?    ac_status=$?
10413    echo "$as_me:10407: \$? = $ac_status" >&5    echo "$as_me:10413: \$? = $ac_status" >&5
10414    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10415    ac_cv_lib_com_err_com_err=yes    ac_cv_lib_com_err_com_err=yes
10416  else  else
# Line 10415  fi Line 10421  fi
10421  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10422  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10423  fi  fi
10424  echo "$as_me:10418: result: $ac_cv_lib_com_err_com_err" >&5  echo "$as_me:10424: result: $ac_cv_lib_com_err_com_err" >&5
10425  echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6  echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6
10426  if test $ac_cv_lib_com_err_com_err = yes; then  if test $ac_cv_lib_com_err_com_err = yes; then
10427    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10426  EOF Line 10432  EOF
10432    
10433  fi  fi
10434    
10435  echo "$as_me:10429: checking for mit_des_cbc_encrypt in -lk5crypto" >&5  echo "$as_me:10435: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
10436  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
10437  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
10438    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10434  else Line 10440  else
10440    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10441  LIBS="-lk5crypto  $LIBS"  LIBS="-lk5crypto  $LIBS"
10442  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10443  #line 10437 "configure"  #line 10443 "configure"
10444  #include "confdefs.h"  #include "confdefs.h"
10445    
10446  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10453  mit_des_cbc_encrypt (); Line 10459  mit_des_cbc_encrypt ();
10459  }  }
10460  _ACEOF  _ACEOF
10461  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10462  if { (eval echo "$as_me:10456: \"$ac_link\"") >&5  if { (eval echo "$as_me:10462: \"$ac_link\"") >&5
10463    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10464    ac_status=$?    ac_status=$?
10465    echo "$as_me:10459: \$? = $ac_status" >&5    echo "$as_me:10465: \$? = $ac_status" >&5
10466    (exit $ac_status); } &&    (exit $ac_status); } &&
10467           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10468    { (eval echo "$as_me:10462: \"$ac_try\"") >&5    { (eval echo "$as_me:10468: \"$ac_try\"") >&5
10469    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10470    ac_status=$?    ac_status=$?
10471    echo "$as_me:10465: \$? = $ac_status" >&5    echo "$as_me:10471: \$? = $ac_status" >&5
10472    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10473    ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes    ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes
10474  else  else
# Line 10473  fi Line 10479  fi
10479  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10480  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10481  fi  fi
10482  echo "$as_me:10476: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5  echo "$as_me:10482: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5
10483  echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6  echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6
10484  if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then  if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then
10485    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10484  EOF Line 10490  EOF
10490    
10491  fi  fi
10492    
10493  echo "$as_me:10487: checking for mit_des_cbc_encrypt in -lcrypto" >&5  echo "$as_me:10493: checking for mit_des_cbc_encrypt in -lcrypto" >&5
10494  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
10495  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
10496    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10492  else Line 10498  else
10498    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10499  LIBS="-lcrypto  $LIBS"  LIBS="-lcrypto  $LIBS"
10500  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10501  #line 10495 "configure"  #line 10501 "configure"
10502  #include "confdefs.h"  #include "confdefs.h"
10503    
10504  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10511  mit_des_cbc_encrypt (); Line 10517  mit_des_cbc_encrypt ();
10517  }  }
10518  _ACEOF  _ACEOF
10519  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10520  if { (eval echo "$as_me:10514: \"$ac_link\"") >&5  if { (eval echo "$as_me:10520: \"$ac_link\"") >&5
10521    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10522    ac_status=$?    ac_status=$?
10523    echo "$as_me:10517: \$? = $ac_status" >&5    echo "$as_me:10523: \$? = $ac_status" >&5
10524    (exit $ac_status); } &&    (exit $ac_status); } &&
10525           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10526    { (eval echo "$as_me:10520: \"$ac_try\"") >&5    { (eval echo "$as_me:10526: \"$ac_try\"") >&5
10527    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10528    ac_status=$?    ac_status=$?
10529    echo "$as_me:10523: \$? = $ac_status" >&5    echo "$as_me:10529: \$? = $ac_status" >&5
10530    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10531    ac_cv_lib_crypto_mit_des_cbc_encrypt=yes    ac_cv_lib_crypto_mit_des_cbc_encrypt=yes
10532  else  else
# Line 10531  fi Line 10537  fi
10537  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10538  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10539  fi  fi
10540  echo "$as_me:10534: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5  echo "$as_me:10540: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5
10541  echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6  echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6
10542  if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then  if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then
10543    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10542  EOF Line 10548  EOF
10548    
10549  fi  fi
10550    
10551  echo "$as_me:10545: checking for krb5_init_context in -lkrb5" >&5  echo "$as_me:10551: checking for krb5_init_context in -lkrb5" >&5
10552  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
10553  if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then  if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then
10554    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10550  else Line 10556  else
10556    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10557  LIBS="-lkrb5  $LIBS"  LIBS="-lkrb5  $LIBS"
10558  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10559  #line 10553 "configure"  #line 10559 "configure"
10560  #include "confdefs.h"  #include "confdefs.h"
10561    
10562  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10569  krb5_init_context (); Line 10575  krb5_init_context ();
10575  }  }
10576  _ACEOF  _ACEOF
10577  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10578  if { (eval echo "$as_me:10572: \"$ac_link\"") >&5  if { (eval echo "$as_me:10578: \"$ac_link\"") >&5
10579    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10580    ac_status=$?    ac_status=$?
10581    echo "$as_me:10575: \$? = $ac_status" >&5    echo "$as_me:10581: \$? = $ac_status" >&5
10582    (exit $ac_status); } &&    (exit $ac_status); } &&
10583           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10584    { (eval echo "$as_me:10578: \"$ac_try\"") >&5    { (eval echo "$as_me:10584: \"$ac_try\"") >&5
10585    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10586    ac_status=$?    ac_status=$?
10587    echo "$as_me:10581: \$? = $ac_status" >&5    echo "$as_me:10587: \$? = $ac_status" >&5
10588    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10589    ac_cv_lib_krb5_krb5_init_context=yes    ac_cv_lib_krb5_krb5_init_context=yes
10590  else  else
# Line 10589  fi Line 10595  fi
10595  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10596  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10597  fi  fi
10598  echo "$as_me:10592: result: $ac_cv_lib_krb5_krb5_init_context" >&5  echo "$as_me:10598: result: $ac_cv_lib_krb5_krb5_init_context" >&5
10599  echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6  echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6
10600  if test $ac_cv_lib_krb5_krb5_init_context = yes; then  if test $ac_cv_lib_krb5_krb5_init_context = yes; then
10601    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10602  fi Line 10608  fi
10608    
10609    if test "${with_kerberos5+set}" != set; then    if test "${with_kerberos5+set}" != set; then
10610    
10611  echo "$as_me:10605: checking for des_cbc_encrypt in -ldes425" >&5  echo "$as_me:10611: checking for des_cbc_encrypt in -ldes425" >&5
10612  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
10613  if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then  if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then
10614    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10610  else Line 10616  else
10616    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10617  LIBS="-ldes425  $LIBS"  LIBS="-ldes425  $LIBS"
10618  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10619  #line 10613 "configure"  #line 10619 "configure"
10620  #include "confdefs.h"  #include "confdefs.h"
10621    
10622  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10629  des_cbc_encrypt (); Line 10635  des_cbc_encrypt ();
10635  }  }
10636  _ACEOF  _ACEOF
10637  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10638  if { (eval echo "$as_me:10632: \"$ac_link\"") >&5  if { (eval echo "$as_me:10638: \"$ac_link\"") >&5
10639    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10640    ac_status=$?    ac_status=$?
10641    echo "$as_me:10635: \$? = $ac_status" >&5    echo "$as_me:10641: \$? = $ac_status" >&5
10642    (exit $ac_status); } &&    (exit $ac_status); } &&
10643           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10644    { (eval echo "$as_me:10638: \"$ac_try\"") >&5    { (eval echo "$as_me:10644: \"$ac_try\"") >&5
10645    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10646    ac_status=$?    ac_status=$?
10647    echo "$as_me:10641: \$? = $ac_status" >&5    echo "$as_me:10647: \$? = $ac_status" >&5
10648    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10649    ac_cv_lib_des425_des_cbc_encrypt=yes    ac_cv_lib_des425_des_cbc_encrypt=yes
10650  else  else
# Line 10649  fi Line 10655  fi
10655  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10656  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10657  fi  fi
10658  echo "$as_me:10652: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5  echo "$as_me:10658: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
10659  echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6  echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6
10660  if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then  if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then
10661    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10660  EOF Line 10666  EOF
10666    
10667  else  else
10668    
10669  echo "$as_me:10663: checking for des_cbc_encrypt in -ldes" >&5  echo "$as_me:10669: checking for des_cbc_encrypt in -ldes" >&5
10670  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
10671  if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then  if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then
10672    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10668  else Line 10674  else
10674    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10675  LIBS="-ldes  $LIBS"  LIBS="-ldes  $LIBS"
10676  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10677  #line 10671 "configure"  #line 10677 "configure"
10678  #include "confdefs.h"  #include "confdefs.h"
10679    
10680  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10687  des_cbc_encrypt (); Line 10693  des_cbc_encrypt ();
10693  }  }
10694  _ACEOF  _ACEOF
10695  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10696  if { (eval echo "$as_me:10690: \"$ac_link\"") >&5  if { (eval echo "$as_me:10696: \"$ac_link\"") >&5
10697    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10698    ac_status=$?    ac_status=$?
10699    echo "$as_me:10693: \$? = $ac_status" >&5    echo "$as_me:10699: \$? = $ac_status" >&5
10700    (exit $ac_status); } &&    (exit $ac_status); } &&
10701           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10702    { (eval echo "$as_me:10696: \"$ac_try\"") >&5    { (eval echo "$as_me:10702: \"$ac_try\"") >&5
10703    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10704    ac_status=$?    ac_status=$?
10705    echo "$as_me:10699: \$? = $ac_status" >&5    echo "$as_me:10705: \$? = $ac_status" >&5
10706    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10707    ac_cv_lib_des_des_cbc_encrypt=yes    ac_cv_lib_des_des_cbc_encrypt=yes
10708  else  else
# Line 10707  fi Line 10713  fi
10713  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10714  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10715  fi  fi
10716  echo "$as_me:10710: result: $ac_cv_lib_des_des_cbc_encrypt" >&5  echo "$as_me:10716: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
10717  echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6  echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6
10718  if test $ac_cv_lib_des_des_cbc_encrypt = yes; then  if test $ac_cv_lib_des_des_cbc_encrypt = yes; then
10719    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10720  fi Line 10726  fi
10726    
10727  fi  fi
10728    
10729  echo "$as_me:10723: checking for krb_get_cred in -lkrb4" >&5  echo "$as_me:10729: checking for krb_get_cred in -lkrb4" >&5
10730  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
10731  if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then  if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then
10732    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10728  else Line 10734  else
10734    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10735  LIBS="-lkrb4  $LIBS"  LIBS="-lkrb4  $LIBS"
10736  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10737  #line 10731 "configure"  #line 10737 "configure"
10738  #include "confdefs.h"  #include "confdefs.h"
10739    
10740  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10747  krb_get_cred (); Line 10753  krb_get_cred ();
10753  }  }
10754  _ACEOF  _ACEOF
10755  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10756  if { (eval echo "$as_me:10750: \"$ac_link\"") >&5  if { (eval echo "$as_me:10756: \"$ac_link\"") >&5
10757    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10758    ac_status=$?    ac_status=$?
10759    echo "$as_me:10753: \$? = $ac_status" >&5    echo "$as_me:10759: \$? = $ac_status" >&5
10760    (exit $ac_status); } &&    (exit $ac_status); } &&
10761           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10762    { (eval echo "$as_me:10756: \"$ac_try\"") >&5    { (eval echo "$as_me:10762: \"$ac_try\"") >&5
10763    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10764    ac_status=$?    ac_status=$?
10765    echo "$as_me:10759: \$? = $ac_status" >&5    echo "$as_me:10765: \$? = $ac_status" >&5
10766    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10767    ac_cv_lib_krb4_krb_get_cred=yes    ac_cv_lib_krb4_krb_get_cred=yes
10768  else  else
# Line 10767  fi Line 10773  fi
10773  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10774  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10775  fi  fi
10776  echo "$as_me:10770: result: $ac_cv_lib_krb4_krb_get_cred" >&5  echo "$as_me:10776: result: $ac_cv_lib_krb4_krb_get_cred" >&5
10777  echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6  echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6
10778  if test $ac_cv_lib_krb4_krb_get_cred = yes; then  if test $ac_cv_lib_krb4_krb_get_cred = yes; then
10779    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10778  EOF Line 10784  EOF
10784    
10785  else  else
10786    
10787  echo "$as_me:10781: checking for krb_get_cred in -lkrb" >&5  echo "$as_me:10787: checking for krb_get_cred in -lkrb" >&5
10788  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
10789  if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then  if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then
10790    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10786  else Line 10792  else
10792    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10793  LIBS="-lkrb  $LIBS"  LIBS="-lkrb  $LIBS"
10794  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10795  #line 10789 "configure"  #line 10795 "configure"
10796  #include "confdefs.h"  #include "confdefs.h"
10797    
10798  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10805  krb_get_cred (); Line 10811  krb_get_cred ();
10811  }  }
10812  _ACEOF  _ACEOF
10813  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10814  if { (eval echo "$as_me:10808: \"$ac_link\"") >&5  if { (eval echo "$as_me:10814: \"$ac_link\"") >&5
10815    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10816    ac_status=$?    ac_status=$?
10817    echo "$as_me:10811: \$? = $ac_status" >&5    echo "$as_me:10817: \$? = $ac_status" >&5
10818    (exit $ac_status); } &&    (exit $ac_status); } &&
10819           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10820    { (eval echo "$as_me:10814: \"$ac_try\"") >&5    { (eval echo "$as_me:10820: \"$ac_try\"") >&5
10821    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10822    ac_status=$?    ac_status=$?
10823    echo "$as_me:10817: \$? = $ac_status" >&5    echo "$as_me:10823: \$? = $ac_status" >&5
10824    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10825    ac_cv_lib_krb_krb_get_cred=yes    ac_cv_lib_krb_krb_get_cred=yes
10826  else  else
# Line 10825  fi Line 10831  fi
10831  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10832  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10833  fi  fi
10834  echo "$as_me:10828: result: $ac_cv_lib_krb_krb_get_cred" >&5  echo "$as_me:10834: result: $ac_cv_lib_krb_krb_get_cred" >&5
10835  echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6  echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6
10836  if test $ac_cv_lib_krb_krb_get_cred = yes; then  if test $ac_cv_lib_krb_krb_get_cred = yes; then
10837    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10845  fi Line 10851  fi
10851  for ac_header in krb5.h  for ac_header in krb5.h
10852  do  do
10853  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10854  echo "$as_me:10848: checking for $ac_header" >&5  echo "$as_me:10854: checking for $ac_header" >&5
10855  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10856  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
10857    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
10858  else  else
10859    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
10860  #line 10854 "configure"  #line 10860 "configure"
10861  #include "confdefs.h"  #include "confdefs.h"
10862  #include <$ac_header>  #include <$ac_header>
10863  _ACEOF  _ACEOF
10864  if { (eval echo "$as_me:10858: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:10864: \"$ac_cpp conftest.$ac_ext\"") >&5
10865    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10866    ac_status=$?    ac_status=$?
10867    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
10868    rm -f conftest.er1    rm -f conftest.er1
10869    cat conftest.err >&5    cat conftest.err >&5
10870    echo "$as_me:10864: \$? = $ac_status" >&5    echo "$as_me:10870: \$? = $ac_status" >&5
10871    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
10872    if test -s conftest.err; then    if test -s conftest.err; then
10873      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 10880  else Line 10886  else
10886  fi  fi
10887  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
10888  fi  fi
10889  echo "$as_me:10883: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:10889: result: `eval echo '${'$as_ac_Header'}'`" >&5
10890  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10891  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
10892    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10895  done Line 10901  done
10901  for ac_header in des.h  for ac_header in des.h
10902  do  do
10903  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10904  echo "$as_me:10898: checking for $ac_header" >&5  echo "$as_me:10904: checking for $ac_header" >&5
10905  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10906  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
10907    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
10908  else  else
10909    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
10910  #line 10904 "configure"  #line 10910 "configure"
10911  #include "confdefs.h"  #include "confdefs.h"
10912  #include <$ac_header>  #include <$ac_header>
10913  _ACEOF  _ACEOF
10914  if { (eval echo "$as_me:10908: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:10914: \"$ac_cpp conftest.$ac_ext\"") >&5
10915    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10916    ac_status=$?    ac_status=$?
10917    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
10918    rm -f conftest.er1    rm -f conftest.er1
10919    cat conftest.err >&5    cat conftest.err >&5
10920    echo "$as_me:10914: \$? = $ac_status" >&5    echo "$as_me:10920: \$? = $ac_status" >&5
10921    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
10922    if test -s conftest.err; then    if test -s conftest.err; then
10923      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 10930  else Line 10936  else
10936  fi  fi
10937  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
10938  fi  fi
10939  echo "$as_me:10933: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:10939: result: `eval echo '${'$as_ac_Header'}'`" >&5
10940  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10941  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
10942    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10942  else Line 10948  else
10948  for ac_header in kerberosIV/des.h  for ac_header in kerberosIV/des.h
10949  do  do
10950  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10951  echo "$as_me:10945: checking for $ac_header" >&5  echo "$as_me:10951: checking for $ac_header" >&5
10952  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10953  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
10954    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
10955  else  else
10956    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
10957  #line 10951 "configure"  #line 10957 "configure"
10958  #include "confdefs.h"  #include "confdefs.h"
10959  #include <$ac_header>  #include <$ac_header>
10960  _ACEOF  _ACEOF
10961  if { (eval echo "$as_me:10955: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:10961: \"$ac_cpp conftest.$ac_ext\"") >&5
10962    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10963    ac_status=$?    ac_status=$?
10964    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
10965    rm -f conftest.er1    rm -f conftest.er1
10966    cat conftest.err >&5    cat conftest.err >&5
10967    echo "$as_me:10961: \$? = $ac_status" >&5    echo "$as_me:10967: \$? = $ac_status" >&5
10968    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
10969    if test -s conftest.err; then    if test -s conftest.err; then
10970      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 10977  else Line 10983  else
10983  fi  fi
10984  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
10985  fi  fi
10986  echo "$as_me:10980: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:10986: result: `eval echo '${'$as_ac_Header'}'`" >&5
10987  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10988  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
10989    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10989  else Line 10995  else
10995  for ac_header in kerberos/des.h  for ac_header in kerberos/des.h
10996  do  do
10997  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10998  echo "$as_me:10992: checking for $ac_header" >&5  echo "$as_me:10998: checking for $ac_header" >&5
10999  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11000  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
11001    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11002  else  else
11003    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11004  #line 10998 "configure"  #line 11004 "configure"
11005  #include "confdefs.h"  #include "confdefs.h"
11006  #include <$ac_header>  #include <$ac_header>
11007  _ACEOF  _ACEOF
11008  if { (eval echo "$as_me:11002: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11008: \"$ac_cpp conftest.$ac_ext\"") >&5
11009    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11010    ac_status=$?    ac_status=$?
11011    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11012    rm -f conftest.er1    rm -f conftest.er1
11013    cat conftest.err >&5    cat conftest.err >&5
11014    echo "$as_me:11008: \$? = $ac_status" >&5    echo "$as_me:11014: \$? = $ac_status" >&5
11015    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11016    if test -s conftest.err; then    if test -s conftest.err; then
11017      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11024  else Line 11030  else
11030  fi  fi
11031  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11032  fi  fi
11033  echo "$as_me:11027: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:11033: result: `eval echo '${'$as_ac_Header'}'`" >&5
11034  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11035  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
11036    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11043  done Line 11049  done
11049  for ac_header in krb.h  for ac_header in krb.h
11050  do  do
11051  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11052  echo "$as_me:11046: checking for $ac_header" >&5  echo "$as_me:11052: checking for $ac_header" >&5
11053  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11054  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
11055    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11056  else  else
11057    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11058  #line 11052 "configure"  #line 11058 "configure"
11059  #include "confdefs.h"  #include "confdefs.h"
11060  #include <$ac_header>  #include <$ac_header>
11061  _ACEOF  _ACEOF
11062  if { (eval echo "$as_me:11056: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11062: \"$ac_cpp conftest.$ac_ext\"") >&5
11063    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11064    ac_status=$?    ac_status=$?
11065    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11066    rm -f conftest.er1    rm -f conftest.er1
11067    cat conftest.err >&5    cat conftest.err >&5
11068    echo "$as_me:11062: \$? = $ac_status" >&5    echo "$as_me:11068: \$? = $ac_status" >&5
11069    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11070    if test -s conftest.err; then    if test -s conftest.err; then
11071      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11078  else Line 11084  else
11084  fi  fi
11085  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11086  fi  fi
11087  echo "$as_me:11081: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:11087: result: `eval echo '${'$as_ac_Header'}'`" >&5
11088  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11089  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
11090    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11090  else Line 11096  else
11096  for ac_header in kerberosIV/krb.h  for ac_header in kerberosIV/krb.h
11097  do  do
11098  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11099  echo "$as_me:11093: checking for $ac_header" >&5  echo "$as_me:11099: checking for $ac_header" >&5
11100  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11101  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
11102    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11103  else  else
11104    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11105  #line 11099 "configure"  #line 11105 "configure"
11106  #include "confdefs.h"  #include "confdefs.h"
11107  #include <$ac_header>  #include <$ac_header>
11108  _ACEOF  _ACEOF
11109  if { (eval echo "$as_me:11103: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11109: \"$ac_cpp conftest.$ac_ext\"") >&5
11110    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11111    ac_status=$?    ac_status=$?
11112    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11113    rm -f conftest.er1    rm -f conftest.er1
11114    cat conftest.err >&5    cat conftest.err >&5
11115    echo "$as_me:11109: \$? = $ac_status" >&5    echo "$as_me:11115: \$? = $ac_status" >&5
11116    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11117    if test -s conftest.err; then    if test -s conftest.err; then
11118      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11125  else Line 11131  else
11131  fi  fi
11132  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11133  fi  fi
11134  echo "$as_me:11128: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:11134: result: `eval echo '${'$as_ac_Header'}'`" >&5
11135  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11136  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
11137    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11137  else Line 11143  else
11143  for ac_header in kerberos/krb.h  for ac_header in kerberos/krb.h
11144  do  do
11145  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11146  echo "$as_me:11140: checking for $ac_header" >&5  echo "$as_me:11146: checking for $ac_header" >&5
11147  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11148  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
11149    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11150  else  else
11151    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11152  #line 11146 "configure"  #line 11152 "configure"
11153  #include "confdefs.h"  #include "confdefs.h"
11154  #include <$ac_header>  #include <$ac_header>
11155  _ACEOF  _ACEOF
11156  if { (eval echo "$as_me:11150: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11156: \"$ac_cpp conftest.$ac_ext\"") >&5
11157    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11158    ac_status=$?    ac_status=$?
11159    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11160    rm -f conftest.er1    rm -f conftest.er1
11161    cat conftest.err >&5    cat conftest.err >&5
11162    echo "$as_me:11156: \$? = $ac_status" >&5    echo "$as_me:11162: \$? = $ac_status" >&5
11163    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11164    if test -s conftest.err; then    if test -s conftest.err; then
11165      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11172  else Line 11178  else
11178  fi  fi
11179  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11180  fi  fi
11181  echo "$as_me:11175: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:11181: result: `eval echo '${'$as_ac_Header'}'`" >&5
11182  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11183  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
11184    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11193  done Line 11199  done
11199  for ac_header in com_err.h  for ac_header in com_err.h
11200  do  do
11201  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11202  echo "$as_me:11196: checking for $ac_header" >&5  echo "$as_me:11202: checking for $ac_header" >&5
11203  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11204  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
11205    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11206  else  else
11207    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11208  #line 11202 "configure"  #line 11208 "configure"
11209  #include "confdefs.h"  #include "confdefs.h"
11210  #include <$ac_header>  #include <$ac_header>
11211  _ACEOF  _ACEOF
11212  if { (eval echo "$as_me:11206: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11212: \"$ac_cpp conftest.$ac_ext\"") >&5
11213    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11214    ac_status=$?    ac_status=$?
11215    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11216    rm -f conftest.er1    rm -f conftest.er1
11217    cat conftest.err >&5    cat conftest.err >&5
11218    echo "$as_me:11212: \$? = $ac_status" >&5    echo "$as_me:11218: \$? = $ac_status" >&5
11219    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11220    if test -s conftest.err; then    if test -s conftest.err; then
11221      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11228  else Line 11234  else
11234  fi  fi
11235  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11236  fi  fi
11237  echo "$as_me:11231: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:11237: result: `eval echo '${'$as_ac_Header'}'`" >&5
11238  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11239  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
11240    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11243  fi Line 11249  fi
11249  # Solaris requires -lintl if you want strerror (which calls dgettext)  # Solaris requires -lintl if you want strerror (which calls dgettext)
11250  # to return localized messages.  # to return localized messages.
11251    
11252  echo "$as_me:11246: checking for dgettext in -lintl" >&5  echo "$as_me:11252: checking for dgettext in -lintl" >&5
11253  echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6  echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6
11254  if test "${ac_cv_lib_intl_dgettext+set}" = set; then  if test "${ac_cv_lib_intl_dgettext+set}" = set; then
11255    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 11251  else Line 11257  else
11257    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
11258  LIBS="-lintl  $LIBS"  LIBS="-lintl  $LIBS"
11259  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
11260  #line 11254 "configure"  #line 11260 "configure"
11261  #include "confdefs.h"  #include "confdefs.h"
11262    
11263  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 11270  dgettext (); Line 11276  dgettext ();
11276  }  }
11277  _ACEOF  _ACEOF
11278  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
11279  if { (eval echo "$as_me:11273: \"$ac_link\"") >&5  if { (eval echo "$as_me:11279: \"$ac_link\"") >&5
11280    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
11281    ac_status=$?    ac_status=$?
11282    echo "$as_me:11276: \$? = $ac_status" >&5    echo "$as_me:11282: \$? = $ac_status" >&5
11283    (exit $ac_status); } &&    (exit $ac_status); } &&
11284           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
11285    { (eval echo "$as_me:11279: \"$ac_try\"") >&5    { (eval echo "$as_me:11285: \"$ac_try\"") >&5
11286    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11287    ac_status=$?    ac_status=$?
11288    echo "$as_me:11282: \$? = $ac_status" >&5    echo "$as_me:11288: \$? = $ac_status" >&5
11289    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11290    ac_cv_lib_intl_dgettext=yes    ac_cv_lib_intl_dgettext=yes
11291  else  else
# Line 11290  fi Line 11296  fi
11296  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11297  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
11298  fi  fi
11299  echo "$as_me:11293: result: $ac_cv_lib_intl_dgettext" >&5  echo "$as_me:11299: result: $ac_cv_lib_intl_dgettext" >&5
11300  echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6  echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6
11301  if test $ac_cv_lib_intl_dgettext = yes; then  if test $ac_cv_lib_intl_dgettext = yes; then
11302    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11301  EOF Line 11307  EOF
11307    
11308  fi  fi
11309    
11310  echo "$as_me:11304: checking whether localtime caches TZ" >&5  echo "$as_me:11310: checking whether localtime caches TZ" >&5
11311  echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6  echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6
11312  if test "${emacs_cv_localtime_cache+set}" = set; then  if test "${emacs_cv_localtime_cache+set}" = set; then
11313    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 11312  if test "$cross_compiling" = yes; then Line 11318  if test "$cross_compiling" = yes; then
11318  emacs_cv_localtime_cache=yes  emacs_cv_localtime_cache=yes
11319  else  else
11320    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11321  #line 11315 "configure"  #line 11321 "configure"
11322  #include "confdefs.h"  #include "confdefs.h"
11323  #include <time.h>  #include <time.h>
11324  extern char **environ;  extern char **environ;
# Line 11345  main() Line 11351  main()
11351  }  }
11352  _ACEOF  _ACEOF
11353  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
11354  if { (eval echo "$as_me:11348: \"$ac_link\"") >&5  if { (eval echo "$as_me:11354: \"$ac_link\"") >&5
11355    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
11356    ac_status=$?    ac_status=$?
11357    echo "$as_me:11351: \$? = $ac_status" >&5    echo "$as_me:11357: \$? = $ac_status" >&5
11358    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11359    { (eval echo "$as_me:11353: \"$ac_try\"") >&5    { (eval echo "$as_me:11359: \"$ac_try\"") >&5
11360    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11361    ac_status=$?    ac_status=$?
11362    echo "$as_me:11356: \$? = $ac_status" >&5    echo "$as_me:11362: \$? = $ac_status" >&5
11363    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11364    emacs_cv_localtime_cache=no    emacs_cv_localtime_cache=no
11365  else  else
# Line 11370  else Line 11376  else
11376          emacs_cv_localtime_cache=no          emacs_cv_localtime_cache=no
11377  fi  fi
11378  fi  fi
11379  echo "$as_me:11373: result: $emacs_cv_localtime_cache" >&5  echo "$as_me:11379: result: $emacs_cv_localtime_cache" >&5
11380  echo "${ECHO_T}$emacs_cv_localtime_cache" >&6  echo "${ECHO_T}$emacs_cv_localtime_cache" >&6
11381  if test $emacs_cv_localtime_cache = yes; then  if test $emacs_cv_localtime_cache = yes; then
11382    cat >>confdefs.h <<\EOF    cat >>confdefs.h <<\EOF
# Line 11384  if test "x$HAVE_TIMEVAL" = xyes; then Line 11390  if test "x$HAVE_TIMEVAL" = xyes; then
11390  for ac_func in gettimeofday  for ac_func in gettimeofday
11391  do  do
11392  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11393  echo "$as_me:11387: checking for $ac_func" >&5  echo "$as_me:11393: checking for $ac_func" >&5
11394  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11395  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
11396    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11397  else  else
11398    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11399  #line 11393 "configure"  #line 11399 "configure"
11400  #include "confdefs.h"  #include "confdefs.h"
11401  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
11402      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 11421  f = $ac_func; Line 11427  f = $ac_func;
11427  }  }
11428  _ACEOF  _ACEOF
11429  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
11430  if { (eval echo "$as_me:11424: \"$ac_link\"") >&5  if { (eval echo "$as_me:11430: \"$ac_link\"") >&5
11431    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
11432    ac_status=$?    ac_status=$?
11433    echo "$as_me:11427: \$? = $ac_status" >&5    echo "$as_me:11433: \$? = $ac_status" >&5
11434    (exit $ac_status); } &&    (exit $ac_status); } &&
11435           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
11436    { (eval echo "$as_me:11430: \"$ac_try\"") >&5    { (eval echo "$as_me:11436: \"$ac_try\"") >&5
11437    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11438    ac_status=$?    ac_status=$?
11439    echo "$as_me:11433: \$? = $ac_status" >&5    echo "$as_me:11439: \$? = $ac_status" >&5
11440    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11441    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
11442  else  else
# Line 11440  eval "$as_ac_var=no" Line 11446  eval "$as_ac_var=no"
11446  fi  fi
11447  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11448  fi  fi
11449  echo "$as_me:11443: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:11449: result: `eval echo '${'$as_ac_var'}'`" >&5
11450  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11451  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
11452    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11450  EOF Line 11456  EOF
11456  fi  fi
11457  done  done
11458    
11459    echo "$as_me:11453: checking whether gettimeofday can accept two arguments" >&5    echo "$as_me:11459: checking whether gettimeofday can accept two arguments" >&5
11460  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
11461  if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then  if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
11462    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11463  else  else
11464    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11465  #line 11459 "configure"  #line 11465 "configure"
11466  #include "confdefs.h"  #include "confdefs.h"
11467    
11468  #ifdef TIME_WITH_SYS_TIME  #ifdef TIME_WITH_SYS_TIME
# Line 11479  struct timeval time; Line 11485  struct timeval time;
11485  }  }
11486  _ACEOF  _ACEOF
11487  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
11488  if { (eval echo "$as_me:11482: \"$ac_compile\"") >&5  if { (eval echo "$as_me:11488: \"$ac_compile\"") >&5
11489    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
11490    ac_status=$?    ac_status=$?
11491    echo "$as_me:11485: \$? = $ac_status" >&5    echo "$as_me:11491: \$? = $ac_status" >&5
11492    (exit $ac_status); } &&    (exit $ac_status); } &&
11493           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
11494    { (eval echo "$as_me:11488: \"$ac_try\"") >&5    { (eval echo "$as_me:11494: \"$ac_try\"") >&5
11495    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11496    ac_status=$?    ac_status=$?
11497    echo "$as_me:11491: \$? = $ac_status" >&5    echo "$as_me:11497: \$? = $ac_status" >&5
11498    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11499    emacs_cv_gettimeofday_two_arguments=yes    emacs_cv_gettimeofday_two_arguments=yes
11500  else  else
# Line 11498  emacs_cv_gettimeofday_two_arguments=no Line 11504  emacs_cv_gettimeofday_two_arguments=no
11504  fi  fi
11505  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
11506  fi  fi
11507  echo "$as_me:11501: result: $emacs_cv_gettimeofday_two_arguments" >&5  echo "$as_me:11507: result: $emacs_cv_gettimeofday_two_arguments" >&5
11508  echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6  echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
11509    if test $emacs_cv_gettimeofday_two_arguments = no; then    if test $emacs_cv_gettimeofday_two_arguments = no; then
11510      cat >>confdefs.h <<\EOF      cat >>confdefs.h <<\EOF
# Line 11509  EOF Line 11515  EOF
11515  fi  fi
11516    
11517  if test "$ac_cv_func_gettimeofday" = yes; then  if test "$ac_cv_func_gettimeofday" = yes; then
11518    echo "$as_me:11512: checking for struct timezone" >&5    echo "$as_me:11518: checking for struct timezone" >&5
11519  echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6  echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
11520  if test "${emacs_cv_struct_timezone+set}" = set; then  if test "${emacs_cv_struct_timezone+set}" = set; then
11521    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11522  else  else
11523    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11524  #line 11518 "configure"  #line 11524 "configure"
11525  #include "confdefs.h"  #include "confdefs.h"
11526  #include <sys/time.h>  #include <sys/time.h>
11527  int  int
# Line 11527  struct timezone tz; Line 11533  struct timezone tz;
11533  }  }
11534  _ACEOF  _ACEOF
11535  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
11536  if { (eval echo "$as_me:11530: \"$ac_compile\"") >&5  if { (eval echo "$as_me:11536: \"$ac_compile\"") >&5
11537    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
11538    ac_status=$?    ac_status=$?
11539    echo "$as_me:11533: \$? = $ac_status" >&5    echo "$as_me:11539: \$? = $ac_status" >&5
11540    (exit $ac_status); } &&    (exit $ac_status); } &&
11541           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
11542    { (eval echo "$as_me:11536: \"$ac_try\"") >&5    { (eval echo "$as_me:11542: \"$ac_try\"") >&5
11543    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11544    ac_status=$?    ac_status=$?
11545    echo "$as_me:11539: \$? = $ac_status" >&5    echo "$as_me:11545: \$? = $ac_status" >&5
11546    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11547                if test "$cross_compiling" = yes; then                if test "$cross_compiling" = yes; then
11548    emacs_cv_struct_timezone=yes    emacs_cv_struct_timezone=yes
11549  else  else
11550    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11551  #line 11545 "configure"  #line 11551 "configure"
11552  #include "confdefs.h"  #include "confdefs.h"
11553    
11554  #ifdef TIME_WITH_SYS_TIME  #ifdef TIME_WITH_SYS_TIME
# Line 11562  main () { Line 11568  main () {
11568  }  }
11569  _ACEOF  _ACEOF
11570  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
11571  if { (eval echo "$as_me:11565: \"$ac_link\"") >&5  if { (eval echo "$as_me:11571: \"$ac_link\"") >&5
11572    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
11573    ac_status=$?    ac_status=$?
11574    echo "$as_me:11568: \$? = $ac_status" >&5    echo "$as_me:11574: \$? = $ac_status" >&5
11575    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11576    { (eval echo "$as_me:11570: \"$ac_try\"") >&5    { (eval echo "$as_me:11576: \"$ac_try\"") >&5
11577    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11578    ac_status=$?    ac_status=$?
11579    echo "$as_me:11573: \$? = $ac_status" >&5    echo "$as_me:11579: \$? = $ac_status" >&5
11580    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11581    emacs_cv_struct_timezone=yes    emacs_cv_struct_timezone=yes
11582  else  else
# Line 11588  emacs_cv_struct_timezone=no Line 11594  emacs_cv_struct_timezone=no
11594  fi  fi
11595  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
11596  fi  fi
11597  echo "$as_me:11591: result: $emacs_cv_struct_timezone" >&5  echo "$as_me:11597: result: $emacs_cv_struct_timezone" >&5
11598  echo "${ECHO_T}$emacs_cv_struct_timezone" >&6  echo "${ECHO_T}$emacs_cv_struct_timezone" >&6
11599  fi  fi
11600    
11601  ok_so_far=yes  ok_so_far=yes
11602  echo "$as_me:11596: checking for socket" >&5  echo "$as_me:11602: checking for socket" >&5
11603  echo $ECHO_N "checking for socket... $ECHO_C" >&6  echo $ECHO_N "checking for socket... $ECHO_C" >&6
11604  if test "${ac_cv_func_socket+set}" = set; then  if test "${ac_cv_func_socket+set}" = set; then
11605    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11606  else  else
11607    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11608  #line 11602 "configure"  #line 11608 "configure"
11609  #include "confdefs.h"  #include "confdefs.h"
11610  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
11611      which can conflict with char socket (); below.  */      which can conflict with char socket (); below.  */
# Line 11630  f = socket; Line 11636  f = socket;
11636  }  }
11637  _ACEOF  _ACEOF
11638  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
11639  if { (eval echo "$as_me:11633: \"$ac_link\"") >&5  if { (eval echo "$as_me:11639: \"$ac_link\"") >&5
11640    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
11641    ac_status=$?    ac_status=$?
11642    echo "$as_me:11636: \$? = $ac_status" >&5    echo "$as_me:11642: \$? = $ac_status" >&5
11643    (exit $ac_status); } &&    (exit $ac_status); } &&
11644           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
11645    { (eval echo "$as_me:11639: \"$ac_try\"") >&5    { (eval echo "$as_me:11645: \"$ac_try\"") >&5
11646    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11647    ac_status=$?    ac_status=$?
11648    echo "$as_me:11642: \$? = $ac_status" >&5    echo "$as_me:11648: \$? = $ac_status" >&5
11649    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11650    ac_cv_func_socket=yes    ac_cv_func_socket=yes
11651  else  else
# Line 11649  ac_cv_func_socket=no Line 11655  ac_cv_func_socket=no
11655  fi  fi
11656  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11657  fi  fi
11658  echo "$as_me:11652: result: $ac_cv_func_socket" >&5  echo "$as_me:11658: result: $ac_cv_func_socket" >&5
11659  echo "${ECHO_T}$ac_cv_func_socket" >&6  echo "${ECHO_T}$ac_cv_func_socket" >&6
11660  if test $ac_cv_func_socket = yes; then  if test $ac_cv_func_socket = yes; then
11661    :    :
# Line 11658  else Line 11664  else
11664  fi  fi
11665    
11666  if test $ok_so_far = yes; then  if test $ok_so_far = yes; then
11667    echo "$as_me:11661: checking for netinet/in.h" >&5    echo "$as_me:11667: checking for netinet/in.h" >&5
11668  echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6  echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6
11669  if test "${ac_cv_header_netinet_in_h+set}" = set; then  if test "${ac_cv_header_netinet_in_h+set}" = set; then
11670    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11671  else  else
11672    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11673  #line 11667 "configure"  #line 11673 "configure"
11674  #include "confdefs.h"  #include "confdefs.h"
11675  #include <netinet/in.h>  #include <netinet/in.h>
11676  _ACEOF  _ACEOF
11677  if { (eval echo "$as_me:11671: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11677: \"$ac_cpp conftest.$ac_ext\"") >&5
11678    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11679    ac_status=$?    ac_status=$?
11680    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11681    rm -f conftest.er1    rm -f conftest.er1
11682    cat conftest.err >&5    cat conftest.err >&5
11683    echo "$as_me:11677: \$? = $ac_status" >&5    echo "$as_me:11683: \$? = $ac_status" >&5
11684    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11685    if test -s conftest.err; then    if test -s conftest.err; then
11686      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11693  else Line 11699  else
11699  fi  fi
11700  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11701  fi  fi
11702  echo "$as_me:11696: result: $ac_cv_header_netinet_in_h" >&5  echo "$as_me:11702: result: $ac_cv_header_netinet_in_h" >&5
11703  echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6  echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6
11704  if test $ac_cv_header_netinet_in_h = yes; then  if test $ac_cv_header_netinet_in_h = yes; then
11705    :    :
# Line 11703  fi Line 11709  fi
11709    
11710  fi  fi
11711  if test $ok_so_far = yes; then  if test $ok_so_far = yes; then
11712    echo "$as_me:11706: checking for arpa/inet.h" >&5    echo "$as_me:11712: checking for arpa/inet.h" >&5
11713  echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6  echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6
11714  if test "${ac_cv_header_arpa_inet_h+set}" = set; then  if test "${ac_cv_header_arpa_inet_h+set}" = set; then
11715    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11716  else  else
11717    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11718  #line 11712 "configure"  #line 11718 "configure"
11719  #include "confdefs.h"  #include "confdefs.h"
11720  #include <arpa/inet.h>  #include <arpa/inet.h>
11721  _ACEOF  _ACEOF
11722  if { (eval echo "$as_me:11716: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11722: \"$ac_cpp conftest.$ac_ext\"") >&5
11723    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11724    ac_status=$?    ac_status=$?
11725    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11726    rm -f conftest.er1    rm -f conftest.er1
11727    cat conftest.err >&5    cat conftest.err >&5
11728    echo "$as_me:11722: \$? = $ac_status" >&5    echo "$as_me:11728: \$? = $ac_status" >&5
11729    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11730    if test -s conftest.err; then    if test -s conftest.err; then
11731      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11738  else Line 11744  else
11744  fi  fi
11745  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11746  fi  fi
11747  echo "$as_me:11741: result: $ac_cv_header_arpa_inet_h" >&5  echo "$as_me:11747: result: $ac_cv_header_arpa_inet_h" >&5
11748  echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6  echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6
11749  if test $ac_cv_header_arpa_inet_h = yes; then  if test $ac_cv_header_arpa_inet_h = yes; then
11750    :    :
# Line 11761  EOF Line 11767  EOF
11767    
11768  fi  fi
11769    
11770  echo "$as_me:11764: checking whether system supports dynamic ptys" >&5  echo "$as_me:11770: checking whether system supports dynamic ptys" >&5
11771  echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6  echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6
11772  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
11773    echo "$as_me:11767: result: yes" >&5    echo "$as_me:11773: result: yes" >&5
11774  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
11775    cat >>confdefs.h <<\EOF    cat >>confdefs.h <<\EOF
11776  #define HAVE_DEV_PTMX 1  #define HAVE_DEV_PTMX 1
11777  EOF  EOF
11778    
11779  else  else
11780    echo "$as_me:11774: result: no" >&5    echo "$as_me:11780: result: no" >&5
11781  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
11782  fi  fi
11783    
11784  echo "$as_me:11778: checking for pid_t" >&5  echo "$as_me:11784: checking for pid_t" >&5
11785  echo $ECHO_N "checking for pid_t... $ECHO_C" >&6  echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
11786  if test "${ac_cv_type_pid_t+set}" = set; then  if test "${ac_cv_type_pid_t+set}" = set; then
11787    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11788  else  else
11789    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11790  #line 11784 "configure"  #line 11790 "configure"
11791  #include "confdefs.h"  #include "confdefs.h"
11792  $ac_includes_default  $ac_includes_default
11793  int  int
# Line 11796  if (sizeof (pid_t)) Line 11802  if (sizeof (pid_t))
11802  }  }
11803  _ACEOF  _ACEOF
11804  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
11805  if { (eval echo "$as_me:11799: \"$ac_compile\"") >&5  if { (eval echo "$as_me:11805: \"$ac_compile\"") >&5
11806    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
11807    ac_status=$?    ac_status=$?
11808    echo "$as_me:11802: \$? = $ac_status" >&5    echo "$as_me:11808: \$? = $ac_status" >&5
11809    (exit $ac_status); } &&    (exit $ac_status); } &&
11810           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
11811    { (eval echo "$as_me:11805: \"$ac_try\"") >&5    { (eval echo "$as_me:11811: \"$ac_try\"") >&5
11812    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11813    ac_status=$?    ac_status=$?
11814    echo "$as_me:11808: \$? = $ac_status" >&5    echo "$as_me:11814: \$? = $ac_status" >&5
11815    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11816    ac_cv_type_pid_t=yes    ac_cv_type_pid_t=yes
11817  else  else
# Line 11815  ac_cv_type_pid_t=no Line 11821  ac_cv_type_pid_t=no
11821  fi  fi
11822  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
11823  fi  fi
11824  echo "$as_me:11818: result: $ac_cv_type_pid_t" >&5  echo "$as_me:11824: result: $ac_cv_type_pid_t" >&5
11825  echo "${ECHO_T}$ac_cv_type_pid_t" >&6  echo "${ECHO_T}$ac_cv_type_pid_t" >&6
11826  if test $ac_cv_type_pid_t = yes; then  if test $ac_cv_type_pid_t = yes; then
11827    :    :
# Line 11830  fi Line 11836  fi
11836  for ac_header in unistd.h vfork.h  for ac_header in unistd.h vfork.h
11837  do  do
11838  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11839  echo "$as_me:11833: checking for $ac_header" >&5  echo "$as_me:11839: checking for $ac_header" >&5
11840  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11841  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
11842    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11843  else  else
11844    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11845  #line 11839 "configure"  #line 11845 "configure"
11846  #include "confdefs.h"  #include "confdefs.h"
11847  #include <$ac_header>  #include <$ac_header>
11848  _ACEOF  _ACEOF
11849  if { (eval echo "$as_me:11843: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11849: \"$ac_cpp conftest.$ac_ext\"") >&5
11850    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11851    ac_status=$?    ac_status=$?
11852    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11853    rm -f conftest.er1    rm -f conftest.er1
11854    cat conftest.err >&5    cat conftest.err >&5
11855    echo "$as_me:11849: \$? = $ac_status" >&5    echo "$as_me:11855: \$? = $ac_status" >&5
11856    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11857    if test -s conftest.err; then    if test -s conftest.err; then
11858      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11865  else Line 11871  else
11871  fi  fi
11872  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11873  fi  fi
11874  echo "$as_me:11868: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:11874: result: `eval echo '${'$as_ac_Header'}'`" >&5
11875  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11876  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
11877    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11878  done Line 11884  done
11884  for ac_func in fork vfork  for ac_func in fork vfork
11885  do  do
11886  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11887  echo "$as_me:11881: checking for $ac_func" >&5  echo "$as_me:11887: checking for $ac_func" >&5
11888  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11889  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
11890    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11891  else  else
11892    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11893  #line 11887 "configure"  #line 11893 "configure"
11894  #include "confdefs.h"  #include "confdefs.h"
11895  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
11896      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 11915  f = $ac_func; Line 11921  f = $ac_func;
11921  }  }
11922  _ACEOF  _ACEOF
11923  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
11924  if { (eval echo "$as_me:11918: \"$ac_link\"") >&5  if { (eval echo "$as_me:11924: \"$ac_link\"") >&5
11925    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
11926    ac_status=$?    ac_status=$?
11927    echo "$as_me:11921: \$? = $ac_status" >&5    echo "$as_me:11927: \$? = $ac_status" >&5
11928    (exit $ac_status); } &&    (exit $ac_status); } &&
11929           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
11930    { (eval echo "$as_me:11924: \"$ac_try\"") >&5    { (eval echo "$as_me:11930: \"$ac_try\"") >&5
11931    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11932    ac_status=$?    ac_status=$?
11933    echo "$as_me:11927: \$? = $ac_status" >&5    echo "$as_me:11933: \$? = $ac_status" >&5
11934    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11935    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
11936  else  else
# Line 11934  eval "$as_ac_var=no" Line 11940  eval "$as_ac_var=no"
11940  fi  fi
11941  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11942  fi  fi
11943  echo "$as_me:11937: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:11943: result: `eval echo '${'$as_ac_var'}'`" >&5
11944  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11945  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
11946    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11946  done Line 11952  done
11952    
11953  ac_cv_func_fork_works=$ac_cv_func_fork  ac_cv_func_fork_works=$ac_cv_func_fork
11954  if test "x$ac_cv_func_fork" = xyes; then  if test "x$ac_cv_func_fork" = xyes; then
11955    echo "$as_me:11949: checking for working fork" >&5    echo "$as_me:11955: checking for working fork" >&5
11956  echo $ECHO_N "checking for working fork... $ECHO_C" >&6  echo $ECHO_N "checking for working fork... $ECHO_C" >&6
11957  if test "${ac_cv_func_fork_works+set}" = set; then  if test "${ac_cv_func_fork_works+set}" = set; then
11958    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 11969  else Line 11975  else
11975        }        }
11976  _ACEOF  _ACEOF
11977  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
11978  if { (eval echo "$as_me:11972: \"$ac_link\"") >&5  if { (eval echo "$as_me:11978: \"$ac_link\"") >&5
11979    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
11980    ac_status=$?    ac_status=$?
11981    echo "$as_me:11975: \$? = $ac_status" >&5    echo "$as_me:11981: \$? = $ac_status" >&5
11982    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11983    { (eval echo "$as_me:11977: \"$ac_try\"") >&5    { (eval echo "$as_me:11983: \"$ac_try\"") >&5
11984    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11985    ac_status=$?    ac_status=$?
11986    echo "$as_me:11980: \$? = $ac_status" >&5    echo "$as_me:11986: \$? = $ac_status" >&5
11987    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11988    ac_cv_func_fork_works=yes    ac_cv_func_fork_works=yes
11989  else  else
# Line 11989  fi Line 11995  fi
11995  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
11996  fi  fi
11997  fi  fi
11998  echo "$as_me:11992: result: $ac_cv_func_fork_works" >&5  echo "$as_me:11998: result: $ac_cv_func_fork_works" >&5
11999  echo "${ECHO_T}$ac_cv_func_fork_works" >&6  echo "${ECHO_T}$ac_cv_func_fork_works" >&6
12000    
12001  fi  fi
# Line 12003  if test "x$ac_cv_func_fork_works" = xcro Line 12009  if test "x$ac_cv_func_fork_works" = xcro
12009        ac_cv_func_fork_works=yes        ac_cv_func_fork_works=yes
12010        ;;        ;;
12011    esac    esac
12012    { echo "$as_me:12006: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5    { echo "$as_me:12012: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5
12013  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;}
12014  fi  fi
12015  ac_cv_func_vfork_works=$ac_cv_func_vfork  ac_cv_func_vfork_works=$ac_cv_func_vfork
12016  if test "x$ac_cv_func_vfork" = xyes; then  if test "x$ac_cv_func_vfork" = xyes; then
12017    echo "$as_me:12011: checking for working vfork" >&5    echo "$as_me:12017: checking for working vfork" >&5
12018  echo $ECHO_N "checking for working vfork... $ECHO_C" >&6  echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
12019  if test "${ac_cv_func_vfork_works+set}" = set; then  if test "${ac_cv_func_vfork_works+set}" = set; then
12020    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 12017  else Line 12023  else
12023    ac_cv_func_vfork_works=cross    ac_cv_func_vfork_works=cross
12024  else  else
12025    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
12026  #line 12020 "configure"  #line 12026 "configure"
12027  #include "confdefs.h"  #include "confdefs.h"
12028  /* Thanks to Paul Eggert for this test.  */  /* Thanks to Paul Eggert for this test.  */
12029  #include <stdio.h>  #include <stdio.h>
# Line 12114  main () Line 12120  main ()
12120  }  }
12121  _ACEOF  _ACEOF
12122  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
12123  if { (eval echo "$as_me:12117: \"$ac_link\"") >&5  if { (eval echo "$as_me:12123: \"$ac_link\"") >&5
12124    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
12125    ac_status=$?    ac_status=$?
12126    echo "$as_me:12120: \$? = $ac_status" >&5    echo "$as_me:12126: \$? = $ac_status" >&5
12127    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12128    { (eval echo "$as_me:12122: \"$ac_try\"") >&5    { (eval echo "$as_me:12128: \"$ac_try\"") >&5
12129    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
12130    ac_status=$?    ac_status=$?
12131    echo "$as_me:12125: \$? = $ac_status" >&5    echo "$as_me:12131: \$? = $ac_status" >&5
12132    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
12133    ac_cv_func_vfork_works=yes    ac_cv_func_vfork_works=yes
12134  else  else
# Line 12134  fi Line 12140  fi
12140  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
12141  fi  fi
12142  fi  fi
12143  echo "$as_me:12137: result: $ac_cv_func_vfork_works" >&5  echo "$as_me:12143: result: $ac_cv_func_vfork_works" >&5
12144  echo "${ECHO_T}$ac_cv_func_vfork_works" >&6  echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
12145    
12146  fi;  fi;
12147  if test "x$ac_cv_func_fork_works" = xcross; then  if test "x$ac_cv_func_fork_works" = xcross; then
12148    ac_cv_func_vfork_works=ac_cv_func_vfork    ac_cv_func_vfork_works=ac_cv_func_vfork
12149    { echo "$as_me:12143: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5    { echo "$as_me:12149: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5
12150  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;}
12151  fi  fi
12152    
# Line 12166  EOF Line 12172  EOF
12172  fi  fi
12173    
12174  # Fixme: This should be replaced when we have autoconf 2.14.  # Fixme: This should be replaced when we have autoconf 2.14.
12175  echo "$as_me:12169: checking for size_t" >&5  echo "$as_me:12175: checking for size_t" >&5
12176  echo $ECHO_N "checking for size_t... $ECHO_C" >&6  echo $ECHO_N "checking for size_t... $ECHO_C" >&6
12177  if test "${ac_cv_type_size_t+set}" = set; then  if test "${ac_cv_type_size_t+set}" = set; then
12178    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
12179  else  else
12180    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
12181  #line 12175 "configure"  #line 12181 "configure"
12182  #include "confdefs.h"  #include "confdefs.h"
12183  $ac_includes_default  $ac_includes_default
12184  int  int
# Line 12187  if (sizeof (size_t)) Line 12193  if (sizeof (size_t))
12193  }  }
12194  _ACEOF  _ACEOF
12195  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
12196  if { (eval echo "$as_me:12190: \"$ac_compile\"") >&5  if { (eval echo "$as_me:12196: \"$ac_compile\"") >&5
12197    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
12198    ac_status=$?    ac_status=$?
12199    echo "$as_me:12193: \$? = $ac_status" >&5    echo "$as_me:12199: \$? = $ac_status" >&5
12200    (exit $ac_status); } &&    (exit $ac_status); } &&
12201           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
12202    { (eval echo "$as_me:12196: \"$ac_try\"") >&5    { (eval echo "$as_me:12202: \"$ac_try\"") >&5
12203    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
12204    ac_status=$?    ac_status=$?
12205    echo "$as_me:12199: \$? = $ac_status" >&5    echo "$as_me:12205: \$? = $ac_status" >&5
12206    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
12207    ac_cv_type_size_t=yes    ac_cv_type_size_t=yes
12208  else  else
# Line 12206  ac_cv_type_size_t=no Line 12212  ac_cv_type_size_t=no
12212  fi  fi
12213  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
12214  fi  fi
12215  echo "$as_me:12209: result: $ac_cv_type_size_t" >&5  echo "$as_me:12215: result: $ac_cv_type_size_t" >&5
12216  echo "${ECHO_T}$ac_cv_type_size_t" >&6  echo "${ECHO_T}$ac_cv_type_size_t" >&6
12217  if test $ac_cv_type_size_t = yes; then  if test $ac_cv_type_size_t = yes; then
12218    :    :
# Line 12226  CPPFLAGS="$REAL_CPPFLAGS" Line 12232  CPPFLAGS="$REAL_CPPFLAGS"
12232  version=`grep 'defconst[         ]*emacs-version' ${srcdir}/lisp/version.el \  version=`grep 'defconst[         ]*emacs-version' ${srcdir}/lisp/version.el \
12233           | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`           | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`
12234  if test x"${version}" = x; then  if test x"${version}" = x; then
12235    { { echo "$as_me:12229: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5    { { echo "$as_me:12235: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5
12236  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;}
12237     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
12238  fi  fi
# Line 12312  fi Line 12318  fi
12318  for ac_header in nlist.h  for ac_header in nlist.h
12319  do  do
12320  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12321  echo "$as_me:12315: checking for $ac_header" >&5  echo "$as_me:12321: checking for $ac_header" >&5
12322  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12323  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
12324    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
12325  else  else
12326    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
12327  #line 12321 "configure"  #line 12327 "configure"
12328  #include "confdefs.h"  #include "confdefs.h"
12329  #include <$ac_header>  #include <$ac_header>
12330  _ACEOF  _ACEOF
12331  if { (eval echo "$as_me:12325: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:12331: \"$ac_cpp conftest.$ac_ext\"") >&5
12332    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12333    ac_status=$?    ac_status=$?
12334    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
12335    rm -f conftest.er1    rm -f conftest.er1
12336    cat conftest.err >&5    cat conftest.err >&5
12337    echo "$as_me:12331: \$? = $ac_status" >&5    echo "$as_me:12337: \$? = $ac_status" >&5
12338    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
12339    if test -s conftest.err; then    if test -s conftest.err; then
12340      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 12347  else Line 12353  else
12353  fi  fi
12354  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
12355  fi  fi
12356  echo "$as_me:12350: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:12356: result: `eval echo '${'$as_ac_Header'}'`" >&5
12357  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12358  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
12359    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 12407  test "${exec_prefix}" != NONE && Line 12413  test "${exec_prefix}" != NONE &&
12413  ## C preprocessor.  ## C preprocessor.
12414    
12415  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
12416  #line 12410 "configure"  #line 12416 "configure"
12417  #include "confdefs.h"  #include "confdefs.h"
12418  yes..yes  yes..yes
12419  _ACEOF  _ACEOF
# Line 12500  DEFS=-DHAVE_CONFIG_H Line 12506  DEFS=-DHAVE_CONFIG_H
12506  : ${CONFIG_STATUS=./config.status}  : ${CONFIG_STATUS=./config.status}
12507  ac_clean_files_save=$ac_clean_files  ac_clean_files_save=$ac_clean_files
12508  ac_clean_files="$ac_clean_files $CONFIG_STATUS"  ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12509  { echo "$as_me:12503: creating $CONFIG_STATUS" >&5  { echo "$as_me:12509: creating $CONFIG_STATUS" >&5
12510  echo "$as_me: creating $CONFIG_STATUS" >&6;}  echo "$as_me: creating $CONFIG_STATUS" >&6;}
12511  cat >$CONFIG_STATUS <<_ACEOF  cat >$CONFIG_STATUS <<_ACEOF
12512  #! $SHELL  #! $SHELL
# Line 12676  cat >>$CONFIG_STATUS <<\EOF Line 12682  cat >>$CONFIG_STATUS <<\EOF
12682      echo "$ac_cs_version"; exit 0 ;;      echo "$ac_cs_version"; exit 0 ;;
12683    --he | --h)    --he | --h)
12684      # Conflict between --help and --header      # Conflict between --help and --header
12685      { { echo "$as_me:12679: error: ambiguous option: $1      { { echo "$as_me:12685: error: ambiguous option: $1
12686  Try \`$0 --help' for more information." >&5  Try \`$0 --help' for more information." >&5
12687  echo "$as_me: error: ambiguous option: $1  echo "$as_me: error: ambiguous option: $1
12688  Try \`$0 --help' for more information." >&2;}  Try \`$0 --help' for more information." >&2;}
# Line 12695  Try \`$0 --help' for more information." Line 12701  Try \`$0 --help' for more information."
12701      ac_need_defaults=false;;      ac_need_defaults=false;;
12702    
12703    # This is an error.    # This is an error.
12704    -*) { { echo "$as_me:12698: error: unrecognized option: $1    -*) { { echo "$as_me:12704: error: unrecognized option: $1
12705  Try \`$0 --help' for more information." >&5  Try \`$0 --help' for more information." >&5
12706  echo "$as_me: error: unrecognized option: $1  echo "$as_me: error: unrecognized option: $1
12707  Try \`$0 --help' for more information." >&2;}  Try \`$0 --help' for more information." >&2;}
# Line 12751  do Line 12757  do
12757    "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;;    "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;;
12758    "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;    "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
12759    "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" ;;
12760    *) { { echo "$as_me:12754: error: invalid argument: $ac_config_target" >&5    *) { { echo "$as_me:12760: error: invalid argument: $ac_config_target" >&5
12761  echo "$as_me: error: invalid argument: $ac_config_target" >&2;}  echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12762     { (exit 1); exit 1; }; };;     { (exit 1); exit 1; }; };;
12763    esac    esac
# Line 12998  done; } Line 13004  done; }
13004    esac    esac
13005    
13006    if test x"$ac_file" != x-; then    if test x"$ac_file" != x-; then
13007      { echo "$as_me:13001: creating $ac_file" >&5      { echo "$as_me:13007: creating $ac_file" >&5
13008  echo "$as_me: creating $ac_file" >&6;}  echo "$as_me: creating $ac_file" >&6;}
13009      rm -f "$ac_file"      rm -f "$ac_file"
13010    fi    fi
# Line 13016  echo "$as_me: creating $ac_file" >&6;} Line 13022  echo "$as_me: creating $ac_file" >&6;}
13022        -) echo $tmp/stdin ;;        -) echo $tmp/stdin ;;
13023        [\\/$]*)        [\\/$]*)
13024           # Absolute (can't be DOS-style, as IFS=:)           # Absolute (can't be DOS-style, as IFS=:)
13025           test -f "$f" || { { echo "$as_me:13019: error: cannot find input file: $f" >&5           test -f "$f" || { { echo "$as_me:13025: error: cannot find input file: $f" >&5
13026  echo "$as_me: error: cannot find input file: $f" >&2;}  echo "$as_me: error: cannot find input file: $f" >&2;}
13027     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
13028           echo $f;;           echo $f;;
# Line 13029  echo "$as_me: error: cannot find input f Line 13035  echo "$as_me: error: cannot find input f
13035             echo $srcdir/$f             echo $srcdir/$f
13036           else           else
13037             # /dev/null tree             # /dev/null tree
13038             { { echo "$as_me:13032: error: cannot find input file: $f" >&5             { { echo "$as_me:13038: error: cannot find input file: $f" >&5
13039  echo "$as_me: error: cannot find input file: $f" >&2;}  echo "$as_me: error: cannot find input file: $f" >&2;}
13040     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
13041           fi;;           fi;;
# Line 13090  for ac_file in : $CONFIG_HEADERS; do tes Line 13096  for ac_file in : $CONFIG_HEADERS; do tes
13096    * )   ac_file_in=$ac_file.in ;;    * )   ac_file_in=$ac_file.in ;;
13097    esac    esac
13098    
13099    test x"$ac_file" != x- && { echo "$as_me:13093: creating $ac_file" >&5    test x"$ac_file" != x- && { echo "$as_me:13099: creating $ac_file" >&5
13100  echo "$as_me: creating $ac_file" >&6;}  echo "$as_me: creating $ac_file" >&6;}
13101    
13102    # 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 13101  echo "$as_me: creating $ac_file" >&6;} Line 13107  echo "$as_me: creating $ac_file" >&6;}
13107        -) echo $tmp/stdin ;;        -) echo $tmp/stdin ;;
13108        [\\/$]*)        [\\/$]*)
13109           # Absolute (can't be DOS-style, as IFS=:)           # Absolute (can't be DOS-style, as IFS=:)
13110           test -f "$f" || { { echo "$as_me:13104: error: cannot find input file: $f" >&5           test -f "$f" || { { echo "$as_me:13110: error: cannot find input file: $f" >&5
13111  echo "$as_me: error: cannot find input file: $f" >&2;}  echo "$as_me: error: cannot find input file: $f" >&2;}
13112     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
13113           echo $f;;           echo $f;;
# Line 13114  echo "$as_me: error: cannot find input f Line 13120  echo "$as_me: error: cannot find input f
13120             echo $srcdir/$f             echo $srcdir/$f
13121           else           else
13122             # /dev/null tree             # /dev/null tree
13123             { { echo "$as_me:13117: error: cannot find input file: $f" >&5             { { echo "$as_me:13123: error: cannot find input file: $f" >&5
13124  echo "$as_me: error: cannot find input file: $f" >&2;}  echo "$as_me: error: cannot find input file: $f" >&2;}
13125     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
13126           fi;;           fi;;
# Line 13231  cat >>$CONFIG_STATUS <<\EOF Line 13237  cat >>$CONFIG_STATUS <<\EOF
13237    rm -f $tmp/in    rm -f $tmp/in
13238    if test x"$ac_file" != x-; then    if test x"$ac_file" != x-; then
13239      if cmp -s $ac_file $tmp/config.h 2>/dev/null; then      if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
13240        { echo "$as_me:13234: $ac_file is unchanged" >&5        { echo "$as_me:13240: $ac_file is unchanged" >&5
13241  echo "$as_me: $ac_file is unchanged" >&6;}  echo "$as_me: $ac_file is unchanged" >&6;}
13242      else      else
13243        ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \        ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \

Legend:
Removed from v.1.74  
changed lines
  Added in v.1.75

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