/[emacs]/emacs/configure
ViewVC logotype

Diff of /emacs/configure

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

revision 1.71 by pj, Thu Nov 15 20:48:20 2001 UTC revision 1.72 by eliz, Fri Nov 16 14:28:11 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  test -z "$build_alias" &&  echo "$as_me:1249: checking host system type" >&5
   build_alias=$ac_cv_build  
   
 echo "$as_me:1252: checking host system type" >&5  
1250  echo $ECHO_N "checking host system type... $ECHO_C" >&6  echo $ECHO_N "checking host system type... $ECHO_C" >&6
1251  if test "${ac_cv_host+set}" = set; then  if test "${ac_cv_host+set}" = set; then
1252    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1258  else Line 1255  else
1255  test -z "$ac_cv_host_alias" &&  test -z "$ac_cv_host_alias" &&
1256    ac_cv_host_alias=$ac_cv_build_alias    ac_cv_host_alias=$ac_cv_build_alias
1257  ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||  ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1258    { { echo "$as_me:1261: error: $ac_config_sub $ac_cv_host_alias failed" >&5    { { echo "$as_me:1258: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1259  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;}
1260     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1261    
1262  fi  fi
1263  echo "$as_me:1266: result: $ac_cv_host" >&5  echo "$as_me:1263: result: $ac_cv_host" >&5
1264  echo "${ECHO_T}$ac_cv_host" >&6  echo "${ECHO_T}$ac_cv_host" >&6
1265  host=$ac_cv_host  host=$ac_cv_host
1266  host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`  host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1267  host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`  host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1268  host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`  host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1269    
 test -z "$host_alias" &&  
   host_alias=$ac_cv_host  
   
1270  canonical=$host  canonical=$host
1271  configuration=${host_alias-$host}  configuration=${host_alias-$host}
1272    
# Line 2216  if test x"${opsys}" = x; then Line 2210  if test x"${opsys}" = x; then
2210  fi  fi
2211    
2212  if test $unported = yes; then  if test $unported = yes; then
2213    { { echo "$as_me:2219: error: Emacs hasn't been ported to \`${canonical}' systems.    { { echo "$as_me:2213: error: Emacs hasn't been ported to \`${canonical}' systems.
2214  Check \`etc/MACHINES' for recognized configuration names." >&5  Check \`etc/MACHINES' for recognized configuration names." >&5
2215  echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems.  echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems.
2216  Check \`etc/MACHINES' for recognized configuration names." >&2;}  Check \`etc/MACHINES' for recognized configuration names." >&2;}
# Line 2245  ac_compiler_gnu=$ac_cv_c_compiler_gnu Line 2239  ac_compiler_gnu=$ac_cv_c_compiler_gnu
2239  if test -n "$ac_tool_prefix"; then  if test -n "$ac_tool_prefix"; then
2240    # 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.
2241  set dummy ${ac_tool_prefix}gcc; ac_word=$2  set dummy ${ac_tool_prefix}gcc; ac_word=$2
2242  echo "$as_me:2248: checking for $ac_word" >&5  echo "$as_me:2242: checking for $ac_word" >&5
2243  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2244  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
2245    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2260  for ac_dir in $ac_dummy; do Line 2254  for ac_dir in $ac_dummy; do
2254    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
2255    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
2256  ac_cv_prog_CC="${ac_tool_prefix}gcc"  ac_cv_prog_CC="${ac_tool_prefix}gcc"
2257  echo "$as_me:2263: found $ac_dir/$ac_word" >&5  echo "$as_me:2257: found $ac_dir/$ac_word" >&5
2258  break  break
2259  done  done
2260    
# Line 2268  fi Line 2262  fi
2262  fi  fi
2263  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2264  if test -n "$CC"; then  if test -n "$CC"; then
2265    echo "$as_me:2271: result: $CC" >&5    echo "$as_me:2265: result: $CC" >&5
2266  echo "${ECHO_T}$CC" >&6  echo "${ECHO_T}$CC" >&6
2267  else  else
2268    echo "$as_me:2274: result: no" >&5    echo "$as_me:2268: result: no" >&5
2269  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2270  fi  fi
2271    
# Line 2280  if test -z "$ac_cv_prog_CC"; then Line 2274  if test -z "$ac_cv_prog_CC"; then
2274    ac_ct_CC=$CC    ac_ct_CC=$CC
2275    # 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.
2276  set dummy gcc; ac_word=$2  set dummy gcc; ac_word=$2
2277  echo "$as_me:2283: checking for $ac_word" >&5  echo "$as_me:2277: checking for $ac_word" >&5
2278  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2279  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2280    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2295  for ac_dir in $ac_dummy; do Line 2289  for ac_dir in $ac_dummy; do
2289    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
2290    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
2291  ac_cv_prog_ac_ct_CC="gcc"  ac_cv_prog_ac_ct_CC="gcc"
2292  echo "$as_me:2298: found $ac_dir/$ac_word" >&5  echo "$as_me:2292: found $ac_dir/$ac_word" >&5
2293  break  break
2294  done  done
2295    
# Line 2303  fi Line 2297  fi
2297  fi  fi
2298  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_CC=$ac_cv_prog_ac_ct_CC
2299  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_CC"; then
2300    echo "$as_me:2306: result: $ac_ct_CC" >&5    echo "$as_me:2300: result: $ac_ct_CC" >&5
2301  echo "${ECHO_T}$ac_ct_CC" >&6  echo "${ECHO_T}$ac_ct_CC" >&6
2302  else  else
2303    echo "$as_me:2309: result: no" >&5    echo "$as_me:2303: result: no" >&5
2304  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2305  fi  fi
2306    
# Line 2319  if test -z "$CC"; then Line 2313  if test -z "$CC"; then
2313    if test -n "$ac_tool_prefix"; then    if test -n "$ac_tool_prefix"; then
2314    # 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.
2315  set dummy ${ac_tool_prefix}cc; ac_word=$2  set dummy ${ac_tool_prefix}cc; ac_word=$2
2316  echo "$as_me:2322: checking for $ac_word" >&5  echo "$as_me:2316: checking for $ac_word" >&5
2317  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2318  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
2319    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2334  for ac_dir in $ac_dummy; do Line 2328  for ac_dir in $ac_dummy; do
2328    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
2329    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
2330  ac_cv_prog_CC="${ac_tool_prefix}cc"  ac_cv_prog_CC="${ac_tool_prefix}cc"
2331  echo "$as_me:2337: found $ac_dir/$ac_word" >&5  echo "$as_me:2331: found $ac_dir/$ac_word" >&5
2332  break  break
2333  done  done
2334    
# Line 2342  fi Line 2336  fi
2336  fi  fi
2337  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2338  if test -n "$CC"; then  if test -n "$CC"; then
2339    echo "$as_me:2345: result: $CC" >&5    echo "$as_me:2339: result: $CC" >&5
2340  echo "${ECHO_T}$CC" >&6  echo "${ECHO_T}$CC" >&6
2341  else  else
2342    echo "$as_me:2348: result: no" >&5    echo "$as_me:2342: result: no" >&5
2343  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2344  fi  fi
2345    
# Line 2354  if test -z "$ac_cv_prog_CC"; then Line 2348  if test -z "$ac_cv_prog_CC"; then
2348    ac_ct_CC=$CC    ac_ct_CC=$CC
2349    # 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.
2350  set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
2351  echo "$as_me:2357: checking for $ac_word" >&5  echo "$as_me:2351: checking for $ac_word" >&5
2352  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2353  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2354    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2369  for ac_dir in $ac_dummy; do Line 2363  for ac_dir in $ac_dummy; do
2363    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
2364    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
2365  ac_cv_prog_ac_ct_CC="cc"  ac_cv_prog_ac_ct_CC="cc"
2366  echo "$as_me:2372: found $ac_dir/$ac_word" >&5  echo "$as_me:2366: found $ac_dir/$ac_word" >&5
2367  break  break
2368  done  done
2369    
# Line 2377  fi Line 2371  fi
2371  fi  fi
2372  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_CC=$ac_cv_prog_ac_ct_CC
2373  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_CC"; then
2374    echo "$as_me:2380: result: $ac_ct_CC" >&5    echo "$as_me:2374: result: $ac_ct_CC" >&5
2375  echo "${ECHO_T}$ac_ct_CC" >&6  echo "${ECHO_T}$ac_ct_CC" >&6
2376  else  else
2377    echo "$as_me:2383: result: no" >&5    echo "$as_me:2377: result: no" >&5
2378  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2379  fi  fi
2380    
# Line 2393  fi Line 2387  fi
2387  if test -z "$CC"; then  if test -z "$CC"; then
2388    # 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.
2389  set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
2390  echo "$as_me:2396: checking for $ac_word" >&5  echo "$as_me:2390: checking for $ac_word" >&5
2391  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2392  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
2393    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2413  if test "$ac_dir/$ac_word" = "/usr/ucb/c Line 2407  if test "$ac_dir/$ac_word" = "/usr/ucb/c
2407    continue    continue
2408  fi  fi
2409  ac_cv_prog_CC="cc"  ac_cv_prog_CC="cc"
2410  echo "$as_me:2416: found $ac_dir/$ac_word" >&5  echo "$as_me:2410: found $ac_dir/$ac_word" >&5
2411  break  break
2412  done  done
2413    
# Line 2435  fi Line 2429  fi
2429  fi  fi
2430  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2431  if test -n "$CC"; then  if test -n "$CC"; then
2432    echo "$as_me:2438: result: $CC" >&5    echo "$as_me:2432: result: $CC" >&5
2433  echo "${ECHO_T}$CC" >&6  echo "${ECHO_T}$CC" >&6
2434  else  else
2435    echo "$as_me:2441: result: no" >&5    echo "$as_me:2435: result: no" >&5
2436  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2437  fi  fi
2438    
# Line 2449  if test -z "$CC"; then Line 2443  if test -z "$CC"; then
2443    do    do
2444      # 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.
2445  set dummy $ac_tool_prefix$ac_prog; ac_word=$2  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2446  echo "$as_me:2452: checking for $ac_word" >&5  echo "$as_me:2446: checking for $ac_word" >&5
2447  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2448  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
2449    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2464  for ac_dir in $ac_dummy; do Line 2458  for ac_dir in $ac_dummy; do
2458    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
2459    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
2460  ac_cv_prog_CC="$ac_tool_prefix$ac_prog"  ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2461  echo "$as_me:2467: found $ac_dir/$ac_word" >&5  echo "$as_me:2461: found $ac_dir/$ac_word" >&5
2462  break  break
2463  done  done
2464    
# Line 2472  fi Line 2466  fi
2466  fi  fi
2467  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2468  if test -n "$CC"; then  if test -n "$CC"; then
2469    echo "$as_me:2475: result: $CC" >&5    echo "$as_me:2469: result: $CC" >&5
2470  echo "${ECHO_T}$CC" >&6  echo "${ECHO_T}$CC" >&6
2471  else  else
2472    echo "$as_me:2478: result: no" >&5    echo "$as_me:2472: result: no" >&5
2473  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2474  fi  fi
2475    
# Line 2488  if test -z "$CC"; then Line 2482  if test -z "$CC"; then
2482  do  do
2483    # 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.
2484  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
2485  echo "$as_me:2491: checking for $ac_word" >&5  echo "$as_me:2485: checking for $ac_word" >&5
2486  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2487  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2488    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2503  for ac_dir in $ac_dummy; do Line 2497  for ac_dir in $ac_dummy; do
2497    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
2498    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
2499  ac_cv_prog_ac_ct_CC="$ac_prog"  ac_cv_prog_ac_ct_CC="$ac_prog"
2500  echo "$as_me:2506: found $ac_dir/$ac_word" >&5  echo "$as_me:2500: found $ac_dir/$ac_word" >&5
2501  break  break
2502  done  done
2503    
# Line 2511  fi Line 2505  fi
2505  fi  fi
2506  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_CC=$ac_cv_prog_ac_ct_CC
2507  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_CC"; then
2508    echo "$as_me:2514: result: $ac_ct_CC" >&5    echo "$as_me:2508: result: $ac_ct_CC" >&5
2509  echo "${ECHO_T}$ac_ct_CC" >&6  echo "${ECHO_T}$ac_ct_CC" >&6
2510  else  else
2511    echo "$as_me:2517: result: no" >&5    echo "$as_me:2511: result: no" >&5
2512  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2513  fi  fi
2514    
# Line 2526  fi Line 2520  fi
2520    
2521  fi  fi
2522    
2523  test -z "$CC" && { { echo "$as_me:2529: error: no acceptable cc found in \$PATH" >&5  test -z "$CC" && { { echo "$as_me:2523: error: no acceptable cc found in \$PATH" >&5
2524  echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}  echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2525     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
2526    
2527  # Provide some information about the compiler.  # Provide some information about the compiler.
2528  echo "$as_me:2534:" \  echo "$as_me:2528:" \
2529       "checking for C compiler version" >&5       "checking for C compiler version" >&5
2530  ac_compiler=`set X $ac_compile; echo $2`  ac_compiler=`set X $ac_compile; echo $2`
2531  { (eval echo "$as_me:2537: \"$ac_compiler --version </dev/null >&5\"") >&5  { (eval echo "$as_me:2531: \"$ac_compiler --version </dev/null >&5\"") >&5
2532    (eval $ac_compiler --version </dev/null >&5) 2>&5    (eval $ac_compiler --version </dev/null >&5) 2>&5
2533    ac_status=$?    ac_status=$?
2534    echo "$as_me:2540: \$? = $ac_status" >&5    echo "$as_me:2534: \$? = $ac_status" >&5
2535    (exit $ac_status); }    (exit $ac_status); }
2536  { (eval echo "$as_me:2542: \"$ac_compiler -v </dev/null >&5\"") >&5  { (eval echo "$as_me:2536: \"$ac_compiler -v </dev/null >&5\"") >&5
2537    (eval $ac_compiler -v </dev/null >&5) 2>&5    (eval $ac_compiler -v </dev/null >&5) 2>&5
2538    ac_status=$?    ac_status=$?
2539    echo "$as_me:2545: \$? = $ac_status" >&5    echo "$as_me:2539: \$? = $ac_status" >&5
2540    (exit $ac_status); }    (exit $ac_status); }
2541  { (eval echo "$as_me:2547: \"$ac_compiler -V </dev/null >&5\"") >&5  { (eval echo "$as_me:2541: \"$ac_compiler -V </dev/null >&5\"") >&5
2542    (eval $ac_compiler -V </dev/null >&5) 2>&5    (eval $ac_compiler -V </dev/null >&5) 2>&5
2543    ac_status=$?    ac_status=$?
2544    echo "$as_me:2550: \$? = $ac_status" >&5    echo "$as_me:2544: \$? = $ac_status" >&5
2545    (exit $ac_status); }    (exit $ac_status); }
2546    
2547  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
2548  #line 2554 "configure"  #line 2548 "configure"
2549  #include "confdefs.h"  #include "confdefs.h"
2550    
2551  int  int
# Line 2567  ac_clean_files="$ac_clean_files a.out a. Line 2561  ac_clean_files="$ac_clean_files a.out a.
2561  # Try to create an executable without -o first, disregard a.out.  # Try to create an executable without -o first, disregard a.out.
2562  # It will help us diagnose broken compilers, and finding out an intuition  # It will help us diagnose broken compilers, and finding out an intuition
2563  # of exeext.  # of exeext.
2564  echo "$as_me:2570: checking for C compiler default output" >&5  echo "$as_me:2564: checking for C compiler default output" >&5
2565  echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6  echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2566  ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`  ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2567  if { (eval echo "$as_me:2573: \"$ac_link_default\"") >&5  if { (eval echo "$as_me:2567: \"$ac_link_default\"") >&5
2568    (eval $ac_link_default) 2>&5    (eval $ac_link_default) 2>&5
2569    ac_status=$?    ac_status=$?
2570    echo "$as_me:2576: \$? = $ac_status" >&5    echo "$as_me:2570: \$? = $ac_status" >&5
2571    (exit $ac_status); }; then    (exit $ac_status); }; then
2572    # Find the output, starting from the most likely.  This scheme is    # Find the output, starting from the most likely.  This scheme is
2573  # 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 2596  done Line 2590  done
2590  else  else
2591    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2592  cat conftest.$ac_ext >&5  cat conftest.$ac_ext >&5
2593  { { echo "$as_me:2599: error: C compiler cannot create executables" >&5  { { echo "$as_me:2593: error: C compiler cannot create executables" >&5
2594  echo "$as_me: error: C compiler cannot create executables" >&2;}  echo "$as_me: error: C compiler cannot create executables" >&2;}
2595     { (exit 77); exit 77; }; }     { (exit 77); exit 77; }; }
2596  fi  fi
2597    
2598  ac_exeext=$ac_cv_exeext  ac_exeext=$ac_cv_exeext
2599  echo "$as_me:2605: result: $ac_file" >&5  echo "$as_me:2599: result: $ac_file" >&5
2600  echo "${ECHO_T}$ac_file" >&6  echo "${ECHO_T}$ac_file" >&6
2601    
2602  # Check the compiler produces executables we can run.  If not, either  # Check the compiler produces executables we can run.  If not, either
2603  # the compiler is broken, or we cross compile.  # the compiler is broken, or we cross compile.
2604  echo "$as_me:2610: checking whether the C compiler works" >&5  echo "$as_me:2604: checking whether the C compiler works" >&5
2605  echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6  echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2606  # FIXME: These cross compiler hacks should be removed for Autoconf 3.0  # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2607  # If not cross compiling, check that we can run a simple program.  # If not cross compiling, check that we can run a simple program.
2608  if test "$cross_compiling" != yes; then  if test "$cross_compiling" != yes; then
2609    if { ac_try='./$ac_file'    if { ac_try='./$ac_file'
2610    { (eval echo "$as_me:2616: \"$ac_try\"") >&5    { (eval echo "$as_me:2610: \"$ac_try\"") >&5
2611    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2612    ac_status=$?    ac_status=$?
2613    echo "$as_me:2619: \$? = $ac_status" >&5    echo "$as_me:2613: \$? = $ac_status" >&5
2614    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2615      cross_compiling=no      cross_compiling=no
2616    else    else
2617      if test "$cross_compiling" = maybe; then      if test "$cross_compiling" = maybe; then
2618          cross_compiling=yes          cross_compiling=yes
2619      else      else
2620          { { echo "$as_me:2626: error: cannot run C compiled programs.          { { echo "$as_me:2620: error: cannot run C compiled programs.
2621  If you meant to cross compile, use \`--host'." >&5  If you meant to cross compile, use \`--host'." >&5
2622  echo "$as_me: error: cannot run C compiled programs.  echo "$as_me: error: cannot run C compiled programs.
2623  If you meant to cross compile, use \`--host'." >&2;}  If you meant to cross compile, use \`--host'." >&2;}
# Line 2631  If you meant to cross compile, use \`--h Line 2625  If you meant to cross compile, use \`--h
2625      fi      fi
2626    fi    fi
2627  fi  fi
2628  echo "$as_me:2634: result: yes" >&5  echo "$as_me:2628: result: yes" >&5
2629  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
2630    
2631  rm -f a.out a.exe conftest$ac_cv_exeext  rm -f a.out a.exe conftest$ac_cv_exeext
2632  ac_clean_files=$ac_clean_files_save  ac_clean_files=$ac_clean_files_save
2633  # Check the compiler produces executables we can run.  If not, either  # Check the compiler produces executables we can run.  If not, either
2634  # the compiler is broken, or we cross compile.  # the compiler is broken, or we cross compile.
2635  echo "$as_me:2641: checking whether we are cross compiling" >&5  echo "$as_me:2635: checking whether we are cross compiling" >&5
2636  echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6  echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2637  echo "$as_me:2643: result: $cross_compiling" >&5  echo "$as_me:2637: result: $cross_compiling" >&5
2638  echo "${ECHO_T}$cross_compiling" >&6  echo "${ECHO_T}$cross_compiling" >&6
2639    
2640  echo "$as_me:2646: checking for executable suffix" >&5  echo "$as_me:2640: checking for executable suffix" >&5
2641  echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6  echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
2642  if { (eval echo "$as_me:2648: \"$ac_link\"") >&5  if { (eval echo "$as_me:2642: \"$ac_link\"") >&5
2643    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
2644    ac_status=$?    ac_status=$?
2645    echo "$as_me:2651: \$? = $ac_status" >&5    echo "$as_me:2645: \$? = $ac_status" >&5
2646    (exit $ac_status); }; then    (exit $ac_status); }; then
2647    # If both `conftest.exe' and `conftest' are `present' (well, observable)    # If both `conftest.exe' and `conftest' are `present' (well, observable)
2648  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
# Line 2664  for ac_file in `(ls conftest.exe; ls con Line 2658  for ac_file in `(ls conftest.exe; ls con
2658    esac    esac
2659  done  done
2660  else  else
2661    { { echo "$as_me:2667: error: cannot compute EXEEXT: cannot compile and link" >&5    { { echo "$as_me:2661: error: cannot compute EXEEXT: cannot compile and link" >&5
2662  echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}  echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
2663     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
2664  fi  fi
2665    
2666  rm -f conftest$ac_cv_exeext  rm -f conftest$ac_cv_exeext
2667  echo "$as_me:2673: result: $ac_cv_exeext" >&5  echo "$as_me:2667: result: $ac_cv_exeext" >&5
2668  echo "${ECHO_T}$ac_cv_exeext" >&6  echo "${ECHO_T}$ac_cv_exeext" >&6
2669    
2670  rm -f conftest.$ac_ext  rm -f conftest.$ac_ext
2671  EXEEXT=$ac_cv_exeext  EXEEXT=$ac_cv_exeext
2672  ac_exeext=$EXEEXT  ac_exeext=$EXEEXT
2673  echo "$as_me:2679: checking for object suffix" >&5  echo "$as_me:2673: checking for object suffix" >&5
2674  echo $ECHO_N "checking for object suffix... $ECHO_C" >&6  echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
2675  if test "${ac_cv_objext+set}" = set; then  if test "${ac_cv_objext+set}" = set; then
2676    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2677  else  else
2678    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2679  #line 2685 "configure"  #line 2679 "configure"
2680  #include "confdefs.h"  #include "confdefs.h"
2681    
2682  int  int
# Line 2694  main () Line 2688  main ()
2688  }  }
2689  _ACEOF  _ACEOF
2690  rm -f conftest.o conftest.obj  rm -f conftest.o conftest.obj
2691  if { (eval echo "$as_me:2697: \"$ac_compile\"") >&5  if { (eval echo "$as_me:2691: \"$ac_compile\"") >&5
2692    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2693    ac_status=$?    ac_status=$?
2694    echo "$as_me:2700: \$? = $ac_status" >&5    echo "$as_me:2694: \$? = $ac_status" >&5
2695    (exit $ac_status); }; then    (exit $ac_status); }; then
2696    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
2697    case $ac_file in    case $ac_file in
# Line 2709  done Line 2703  done
2703  else  else
2704    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2705  cat conftest.$ac_ext >&5  cat conftest.$ac_ext >&5
2706  { { echo "$as_me:2712: error: cannot compute OBJEXT: cannot compile" >&5  { { echo "$as_me:2706: error: cannot compute OBJEXT: cannot compile" >&5
2707  echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}  echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
2708     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
2709  fi  fi
2710    
2711  rm -f conftest.$ac_cv_objext conftest.$ac_ext  rm -f conftest.$ac_cv_objext conftest.$ac_ext
2712  fi  fi
2713  echo "$as_me:2719: result: $ac_cv_objext" >&5  echo "$as_me:2713: result: $ac_cv_objext" >&5
2714  echo "${ECHO_T}$ac_cv_objext" >&6  echo "${ECHO_T}$ac_cv_objext" >&6
2715  OBJEXT=$ac_cv_objext  OBJEXT=$ac_cv_objext
2716  ac_objext=$OBJEXT  ac_objext=$OBJEXT
2717  echo "$as_me:2723: checking whether we are using the GNU C compiler" >&5  echo "$as_me:2717: checking whether we are using the GNU C compiler" >&5
2718  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
2719  if test "${ac_cv_c_compiler_gnu+set}" = set; then  if test "${ac_cv_c_compiler_gnu+set}" = set; then
2720    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2721  else  else
2722    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2723  #line 2729 "configure"  #line 2723 "configure"
2724  #include "confdefs.h"  #include "confdefs.h"
2725    
2726  int  int
# Line 2741  main () Line 2735  main ()
2735  }  }
2736  _ACEOF  _ACEOF
2737  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2738  if { (eval echo "$as_me:2744: \"$ac_compile\"") >&5  if { (eval echo "$as_me:2738: \"$ac_compile\"") >&5
2739    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2740    ac_status=$?    ac_status=$?
2741    echo "$as_me:2747: \$? = $ac_status" >&5    echo "$as_me:2741: \$? = $ac_status" >&5
2742    (exit $ac_status); } &&    (exit $ac_status); } &&
2743           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
2744    { (eval echo "$as_me:2750: \"$ac_try\"") >&5    { (eval echo "$as_me:2744: \"$ac_try\"") >&5
2745    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2746    ac_status=$?    ac_status=$?
2747    echo "$as_me:2753: \$? = $ac_status" >&5    echo "$as_me:2747: \$? = $ac_status" >&5
2748    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2749    ac_compiler_gnu=yes    ac_compiler_gnu=yes
2750  else  else
# Line 2762  rm -f conftest.$ac_objext conftest.$ac_e Line 2756  rm -f conftest.$ac_objext conftest.$ac_e
2756  ac_cv_c_compiler_gnu=$ac_compiler_gnu  ac_cv_c_compiler_gnu=$ac_compiler_gnu
2757    
2758  fi  fi
2759  echo "$as_me:2765: result: $ac_cv_c_compiler_gnu" >&5  echo "$as_me:2759: result: $ac_cv_c_compiler_gnu" >&5
2760  echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6  echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2761  GCC=`test $ac_compiler_gnu = yes && echo yes`  GCC=`test $ac_compiler_gnu = yes && echo yes`
2762  ac_test_CFLAGS=${CFLAGS+set}  ac_test_CFLAGS=${CFLAGS+set}
2763  ac_save_CFLAGS=$CFLAGS  ac_save_CFLAGS=$CFLAGS
2764  CFLAGS="-g"  CFLAGS="-g"
2765  echo "$as_me:2771: checking whether $CC accepts -g" >&5  echo "$as_me:2765: checking whether $CC accepts -g" >&5
2766  echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6  echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2767  if test "${ac_cv_prog_cc_g+set}" = set; then  if test "${ac_cv_prog_cc_g+set}" = set; then
2768    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2769  else  else
2770    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2771  #line 2777 "configure"  #line 2771 "configure"
2772  #include "confdefs.h"  #include "confdefs.h"
2773    
2774  int  int
# Line 2786  main () Line 2780  main ()
2780  }  }
2781  _ACEOF  _ACEOF
2782  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2783  if { (eval echo "$as_me:2789: \"$ac_compile\"") >&5  if { (eval echo "$as_me:2783: \"$ac_compile\"") >&5
2784    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2785    ac_status=$?    ac_status=$?
2786    echo "$as_me:2792: \$? = $ac_status" >&5    echo "$as_me:2786: \$? = $ac_status" >&5
2787    (exit $ac_status); } &&    (exit $ac_status); } &&
2788           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
2789    { (eval echo "$as_me:2795: \"$ac_try\"") >&5    { (eval echo "$as_me:2789: \"$ac_try\"") >&5
2790    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2791    ac_status=$?    ac_status=$?
2792    echo "$as_me:2798: \$? = $ac_status" >&5    echo "$as_me:2792: \$? = $ac_status" >&5
2793    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2794    ac_cv_prog_cc_g=yes    ac_cv_prog_cc_g=yes
2795  else  else
# Line 2805  ac_cv_prog_cc_g=no Line 2799  ac_cv_prog_cc_g=no
2799  fi  fi
2800  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
2801  fi  fi
2802  echo "$as_me:2808: result: $ac_cv_prog_cc_g" >&5  echo "$as_me:2802: result: $ac_cv_prog_cc_g" >&5
2803  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2804  if test "$ac_test_CFLAGS" = set; then  if test "$ac_test_CFLAGS" = set; then
2805    CFLAGS=$ac_save_CFLAGS    CFLAGS=$ac_save_CFLAGS
# Line 2832  cat >conftest.$ac_ext <<_ACEOF Line 2826  cat >conftest.$ac_ext <<_ACEOF
2826  #endif  #endif
2827  _ACEOF  _ACEOF
2828  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2829  if { (eval echo "$as_me:2835: \"$ac_compile\"") >&5  if { (eval echo "$as_me:2829: \"$ac_compile\"") >&5
2830    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2831    ac_status=$?    ac_status=$?
2832    echo "$as_me:2838: \$? = $ac_status" >&5    echo "$as_me:2832: \$? = $ac_status" >&5
2833    (exit $ac_status); } &&    (exit $ac_status); } &&
2834           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
2835    { (eval echo "$as_me:2841: \"$ac_try\"") >&5    { (eval echo "$as_me:2835: \"$ac_try\"") >&5
2836    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2837    ac_status=$?    ac_status=$?
2838    echo "$as_me:2844: \$? = $ac_status" >&5    echo "$as_me:2838: \$? = $ac_status" >&5
2839    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2840    for ac_declaration in \    for ac_declaration in \
2841     ''\     ''\
# Line 2853  if { (eval echo "$as_me:2835: \"$ac_comp Line 2847  if { (eval echo "$as_me:2835: \"$ac_comp
2847     'void exit (int);'     'void exit (int);'
2848  do  do
2849    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2850  #line 2856 "configure"  #line 2850 "configure"
2851  #include "confdefs.h"  #include "confdefs.h"
2852  #include <stdlib.h>  #include <stdlib.h>
2853  $ac_declaration  $ac_declaration
# Line 2866  exit (42); Line 2860  exit (42);
2860  }  }
2861  _ACEOF  _ACEOF
2862  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2863  if { (eval echo "$as_me:2869: \"$ac_compile\"") >&5  if { (eval echo "$as_me:2863: \"$ac_compile\"") >&5
2864    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2865    ac_status=$?    ac_status=$?
2866    echo "$as_me:2872: \$? = $ac_status" >&5    echo "$as_me:2866: \$? = $ac_status" >&5
2867    (exit $ac_status); } &&    (exit $ac_status); } &&
2868           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
2869    { (eval echo "$as_me:2875: \"$ac_try\"") >&5    { (eval echo "$as_me:2869: \"$ac_try\"") >&5
2870    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2871    ac_status=$?    ac_status=$?
2872    echo "$as_me:2878: \$? = $ac_status" >&5    echo "$as_me:2872: \$? = $ac_status" >&5
2873    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2874    :    :
2875  else  else
# Line 2885  continue Line 2879  continue
2879  fi  fi
2880  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
2881    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2882  #line 2888 "configure"  #line 2882 "configure"
2883  #include "confdefs.h"  #include "confdefs.h"
2884  $ac_declaration  $ac_declaration
2885  int  int
# Line 2897  exit (42); Line 2891  exit (42);
2891  }  }
2892  _ACEOF  _ACEOF
2893  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2894  if { (eval echo "$as_me:2900: \"$ac_compile\"") >&5  if { (eval echo "$as_me:2894: \"$ac_compile\"") >&5
2895    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2896    ac_status=$?    ac_status=$?
2897    echo "$as_me:2903: \$? = $ac_status" >&5    echo "$as_me:2897: \$? = $ac_status" >&5
2898    (exit $ac_status); } &&    (exit $ac_status); } &&
2899           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
2900    { (eval echo "$as_me:2906: \"$ac_try\"") >&5    { (eval echo "$as_me:2900: \"$ac_try\"") >&5
2901    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2902    ac_status=$?    ac_status=$?
2903    echo "$as_me:2909: \$? = $ac_status" >&5    echo "$as_me:2903: \$? = $ac_status" >&5
2904    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2905    break    break
2906  else  else
# Line 2979  fi Line 2973  fi
2973  #### 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
2974  #### #undef clause to src/config.h.in for autoconf to modify.  #### #undef clause to src/config.h.in for autoconf to modify.
2975    
2976  echo "$as_me:2982: checking whether ln -s works" >&5  echo "$as_me:2976: checking whether ln -s works" >&5
2977  echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6  echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2978  LN_S=$as_ln_s  LN_S=$as_ln_s
2979  if test "$LN_S" = "ln -s"; then  if test "$LN_S" = "ln -s"; then
2980    echo "$as_me:2986: result: yes" >&5    echo "$as_me:2980: result: yes" >&5
2981  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
2982  else  else
2983    echo "$as_me:2989: result: no, using $LN_S" >&5    echo "$as_me:2983: result: no, using $LN_S" >&5
2984  echo "${ECHO_T}no, using $LN_S" >&6  echo "${ECHO_T}no, using $LN_S" >&6
2985  fi  fi
2986    
# Line 2995  ac_cpp='$CPP $CPPFLAGS' Line 2989  ac_cpp='$CPP $CPPFLAGS'
2989  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2990  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'
2991  ac_compiler_gnu=$ac_cv_c_compiler_gnu  ac_compiler_gnu=$ac_cv_c_compiler_gnu
2992  echo "$as_me:2998: checking how to run the C preprocessor" >&5  echo "$as_me:2992: checking how to run the C preprocessor" >&5
2993  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
2994  # On Suns, sometimes $CPP names a directory.  # On Suns, sometimes $CPP names a directory.
2995  if test -n "$CPP" && test -d "$CPP"; then  if test -n "$CPP" && test -d "$CPP"; then
# Line 3016  do Line 3010  do
3010    # 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,
3011    # not just through cpp. "Syntax error" is here to catch this case.    # not just through cpp. "Syntax error" is here to catch this case.
3012    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3013  #line 3019 "configure"  #line 3013 "configure"
3014  #include "confdefs.h"  #include "confdefs.h"
3015  #include <assert.h>  #include <assert.h>
3016                       Syntax error                       Syntax error
3017  _ACEOF  _ACEOF
3018  if { (eval echo "$as_me:3024: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:3018: \"$ac_cpp conftest.$ac_ext\"") >&5
3019    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3020    ac_status=$?    ac_status=$?
3021    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
3022    rm -f conftest.er1    rm -f conftest.er1
3023    cat conftest.err >&5    cat conftest.err >&5
3024    echo "$as_me:3030: \$? = $ac_status" >&5    echo "$as_me:3024: \$? = $ac_status" >&5
3025    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3026    if test -s conftest.err; then    if test -s conftest.err; then
3027      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 3050  rm -f conftest.err conftest.$ac_ext Line 3044  rm -f conftest.err conftest.$ac_ext
3044    # OK, works on sane cases.  Now check whether non-existent headers    # OK, works on sane cases.  Now check whether non-existent headers
3045    # can be detected and how.    # can be detected and how.
3046    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3047  #line 3053 "configure"  #line 3047 "configure"
3048  #include "confdefs.h"  #include "confdefs.h"
3049  #include <ac_nonexistent.h>  #include <ac_nonexistent.h>
3050  _ACEOF  _ACEOF
3051  if { (eval echo "$as_me:3057: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:3051: \"$ac_cpp conftest.$ac_ext\"") >&5
3052    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3053    ac_status=$?    ac_status=$?
3054    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
3055    rm -f conftest.er1    rm -f conftest.er1
3056    cat conftest.err >&5    cat conftest.err >&5
3057    echo "$as_me:3063: \$? = $ac_status" >&5    echo "$as_me:3057: \$? = $ac_status" >&5
3058    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3059    if test -s conftest.err; then    if test -s conftest.err; then
3060      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 3097  fi Line 3091  fi
3091  else  else
3092    ac_cv_prog_CPP=$CPP    ac_cv_prog_CPP=$CPP
3093  fi  fi
3094  echo "$as_me:3100: result: $CPP" >&5  echo "$as_me:3094: result: $CPP" >&5
3095  echo "${ECHO_T}$CPP" >&6  echo "${ECHO_T}$CPP" >&6
3096  ac_preproc_ok=false  ac_preproc_ok=false
3097  for ac_c_preproc_warn_flag in '' yes  for ac_c_preproc_warn_flag in '' yes
# Line 3107  do Line 3101  do
3101    # 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,
3102    # not just through cpp. "Syntax error" is here to catch this case.    # not just through cpp. "Syntax error" is here to catch this case.
3103    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3104  #line 3110 "configure"  #line 3104 "configure"
3105  #include "confdefs.h"  #include "confdefs.h"
3106  #include <assert.h>  #include <assert.h>
3107                       Syntax error                       Syntax error
3108  _ACEOF  _ACEOF
3109  if { (eval echo "$as_me:3115: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:3109: \"$ac_cpp conftest.$ac_ext\"") >&5
3110    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3111    ac_status=$?    ac_status=$?
3112    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
3113    rm -f conftest.er1    rm -f conftest.er1
3114    cat conftest.err >&5    cat conftest.err >&5
3115    echo "$as_me:3121: \$? = $ac_status" >&5    echo "$as_me:3115: \$? = $ac_status" >&5
3116    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3117    if test -s conftest.err; then    if test -s conftest.err; then
3118      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 3141  rm -f conftest.err conftest.$ac_ext Line 3135  rm -f conftest.err conftest.$ac_ext
3135    # OK, works on sane cases.  Now check whether non-existent headers    # OK, works on sane cases.  Now check whether non-existent headers
3136    # can be detected and how.    # can be detected and how.
3137    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3138  #line 3144 "configure"  #line 3138 "configure"
3139  #include "confdefs.h"  #include "confdefs.h"
3140  #include <ac_nonexistent.h>  #include <ac_nonexistent.h>
3141  _ACEOF  _ACEOF
3142  if { (eval echo "$as_me:3148: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:3142: \"$ac_cpp conftest.$ac_ext\"") >&5
3143    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3144    ac_status=$?    ac_status=$?
3145    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
3146    rm -f conftest.er1    rm -f conftest.er1
3147    cat conftest.err >&5    cat conftest.err >&5
3148    echo "$as_me:3154: \$? = $ac_status" >&5    echo "$as_me:3148: \$? = $ac_status" >&5
3149    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3150    if test -s conftest.err; then    if test -s conftest.err; then
3151      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 3179  rm -f conftest.err conftest.$ac_ext Line 3173  rm -f conftest.err conftest.$ac_ext
3173  if $ac_preproc_ok; then  if $ac_preproc_ok; then
3174    :    :
3175  else  else
3176    { { echo "$as_me:3182: error: C preprocessor \"$CPP\" fails sanity check" >&5    { { echo "$as_me:3176: error: C preprocessor \"$CPP\" fails sanity check" >&5
3177  echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}  echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
3178     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3179  fi  fi
# Line 3202  ac_compiler_gnu=$ac_cv_c_compiler_gnu Line 3196  ac_compiler_gnu=$ac_cv_c_compiler_gnu
3196  # AFS /usr/afsws/bin/install, which mishandles nonexistent args  # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3197  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3198  # ./install, which can be erroneously created by make from ./install.sh.  # ./install, which can be erroneously created by make from ./install.sh.
3199  echo "$as_me:3205: checking for a BSD compatible install" >&5  echo "$as_me:3199: checking for a BSD compatible install" >&5
3200  echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6  echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
3201  if test -z "$INSTALL"; then  if test -z "$INSTALL"; then
3202  if test "${ac_cv_path_install+set}" = set; then  if test "${ac_cv_path_install+set}" = set; then
# Line 3251  fi Line 3245  fi
3245      INSTALL=$ac_install_sh      INSTALL=$ac_install_sh
3246    fi    fi
3247  fi  fi
3248  echo "$as_me:3254: result: $INSTALL" >&5  echo "$as_me:3248: result: $INSTALL" >&5
3249  echo "${ECHO_T}$INSTALL" >&6  echo "${ECHO_T}$INSTALL" >&6
3250    
3251  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
# Line 3266  for ac_prog in 'bison -y' byacc Line 3260  for ac_prog in 'bison -y' byacc
3260  do  do
3261    # 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.
3262  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
3263  echo "$as_me:3269: checking for $ac_word" >&5  echo "$as_me:3263: checking for $ac_word" >&5
3264  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3265  if test "${ac_cv_prog_YACC+set}" = set; then  if test "${ac_cv_prog_YACC+set}" = set; then
3266    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3281  for ac_dir in $ac_dummy; do Line 3275  for ac_dir in $ac_dummy; do
3275    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
3276    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
3277  ac_cv_prog_YACC="$ac_prog"  ac_cv_prog_YACC="$ac_prog"
3278  echo "$as_me:3284: found $ac_dir/$ac_word" >&5  echo "$as_me:3278: found $ac_dir/$ac_word" >&5
3279  break  break
3280  done  done
3281    
# Line 3289  fi Line 3283  fi
3283  fi  fi
3284  YACC=$ac_cv_prog_YACC  YACC=$ac_cv_prog_YACC
3285  if test -n "$YACC"; then  if test -n "$YACC"; then
3286    echo "$as_me:3292: result: $YACC" >&5    echo "$as_me:3286: result: $YACC" >&5
3287  echo "${ECHO_T}$YACC" >&6  echo "${ECHO_T}$YACC" >&6
3288  else  else
3289    echo "$as_me:3295: result: no" >&5    echo "$as_me:3289: result: no" >&5
3290  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
3291  fi  fi
3292    
# Line 3304  if test "x$RANLIB" = x; then Line 3298  if test "x$RANLIB" = x; then
3298    if test -n "$ac_tool_prefix"; then    if test -n "$ac_tool_prefix"; then
3299    # 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.
3300  set dummy ${ac_tool_prefix}ranlib; ac_word=$2  set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3301  echo "$as_me:3307: checking for $ac_word" >&5  echo "$as_me:3301: checking for $ac_word" >&5
3302  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3303  if test "${ac_cv_prog_RANLIB+set}" = set; then  if test "${ac_cv_prog_RANLIB+set}" = set; then
3304    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3319  for ac_dir in $ac_dummy; do Line 3313  for ac_dir in $ac_dummy; do
3313    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
3314    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
3315  ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"  ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3316  echo "$as_me:3322: found $ac_dir/$ac_word" >&5  echo "$as_me:3316: found $ac_dir/$ac_word" >&5
3317  break  break
3318  done  done
3319    
# Line 3327  fi Line 3321  fi
3321  fi  fi
3322  RANLIB=$ac_cv_prog_RANLIB  RANLIB=$ac_cv_prog_RANLIB
3323  if test -n "$RANLIB"; then  if test -n "$RANLIB"; then
3324    echo "$as_me:3330: result: $RANLIB" >&5    echo "$as_me:3324: result: $RANLIB" >&5
3325  echo "${ECHO_T}$RANLIB" >&6  echo "${ECHO_T}$RANLIB" >&6
3326  else  else
3327    echo "$as_me:3333: result: no" >&5    echo "$as_me:3327: result: no" >&5
3328  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
3329  fi  fi
3330    
# Line 3339  if test -z "$ac_cv_prog_RANLIB"; then Line 3333  if test -z "$ac_cv_prog_RANLIB"; then
3333    ac_ct_RANLIB=$RANLIB    ac_ct_RANLIB=$RANLIB
3334    # 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.
3335  set dummy ranlib; ac_word=$2  set dummy ranlib; ac_word=$2
3336  echo "$as_me:3342: checking for $ac_word" >&5  echo "$as_me:3336: checking for $ac_word" >&5
3337  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3338  if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then  if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3339    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3354  for ac_dir in $ac_dummy; do Line 3348  for ac_dir in $ac_dummy; do
3348    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
3349    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
3350  ac_cv_prog_ac_ct_RANLIB="ranlib"  ac_cv_prog_ac_ct_RANLIB="ranlib"
3351  echo "$as_me:3357: found $ac_dir/$ac_word" >&5  echo "$as_me:3351: found $ac_dir/$ac_word" >&5
3352  break  break
3353  done  done
3354    
# Line 3363  fi Line 3357  fi
3357  fi  fi
3358  ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB  ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3359  if test -n "$ac_ct_RANLIB"; then  if test -n "$ac_ct_RANLIB"; then
3360    echo "$as_me:3366: result: $ac_ct_RANLIB" >&5    echo "$as_me:3360: result: $ac_ct_RANLIB" >&5
3361  echo "${ECHO_T}$ac_ct_RANLIB" >&6  echo "${ECHO_T}$ac_ct_RANLIB" >&6
3362  else  else
3363    echo "$as_me:3369: result: no" >&5    echo "$as_me:3363: result: no" >&5
3364  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
3365  fi  fi
3366    
# Line 3377  fi Line 3371  fi
3371    
3372  fi  fi
3373    
3374  echo "$as_me:3380: checking for AIX" >&5  echo "$as_me:3374: checking for AIX" >&5
3375  echo $ECHO_N "checking for AIX... $ECHO_C" >&6  echo $ECHO_N "checking for AIX... $ECHO_C" >&6
3376  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
3377  #line 3383 "configure"  #line 3377 "configure"
3378  #include "confdefs.h"  #include "confdefs.h"
3379  #ifdef _AIX  #ifdef _AIX
3380    yes    yes
# Line 3389  cat >conftest.$ac_ext <<_ACEOF Line 3383  cat >conftest.$ac_ext <<_ACEOF
3383  _ACEOF  _ACEOF
3384  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3385    egrep "yes" >/dev/null 2>&1; then    egrep "yes" >/dev/null 2>&1; then
3386    echo "$as_me:3392: result: yes" >&5    echo "$as_me:3386: result: yes" >&5
3387  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
3388  cat >>confdefs.h <<\EOF  cat >>confdefs.h <<\EOF
3389  #define _ALL_SOURCE 1  #define _ALL_SOURCE 1
3390  EOF  EOF
3391    
3392  else  else
3393    echo "$as_me:3399: result: no" >&5    echo "$as_me:3393: result: no" >&5
3394  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
3395  fi  fi
3396  rm -f conftest*  rm -f conftest*
3397    
3398  #### Extract some information from the operating system and machine files.  #### Extract some information from the operating system and machine files.
3399    
3400  { echo "$as_me:3406: checking the machine- and system-dependent files to find out  { echo "$as_me:3400: checking the machine- and system-dependent files to find out
3401   - which libraries the lib-src programs will want, and   - which libraries the lib-src programs will want, and
3402   - whether the GNU malloc routines are usable..." >&5   - whether the GNU malloc routines are usable..." >&5
3403  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 3553  if test "${enable_largefile+set}" = set; Line 3547  if test "${enable_largefile+set}" = set;
3547  fi;  fi;
3548  if test "$enable_largefile" != no; then  if test "$enable_largefile" != no; then
3549    
3550    echo "$as_me:3556: checking for special C compiler options needed for large files" >&5    echo "$as_me:3550: checking for special C compiler options needed for large files" >&5
3551  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
3552  if test "${ac_cv_sys_largefile_CC+set}" = set; then  if test "${ac_cv_sys_largefile_CC+set}" = set; then
3553    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3565  else Line 3559  else
3559           # IRIX 6.2 and later do not support large files by default,           # IRIX 6.2 and later do not support large files by default,
3560           # so use the C compiler's -n32 option if that helps.           # so use the C compiler's -n32 option if that helps.
3561           cat >conftest.$ac_ext <<_ACEOF           cat >conftest.$ac_ext <<_ACEOF
3562  #line 3568 "configure"  #line 3562 "configure"
3563  #include "confdefs.h"  #include "confdefs.h"
3564  #include <sys/types.h>  #include <sys/types.h>
3565   /* Check that off_t can represent 2**63 - 1 correctly.   /* Check that off_t can represent 2**63 - 1 correctly.
# Line 3585  main () Line 3579  main ()
3579  }  }
3580  _ACEOF  _ACEOF
3581           rm -f conftest.$ac_objext           rm -f conftest.$ac_objext
3582  if { (eval echo "$as_me:3588: \"$ac_compile\"") >&5  if { (eval echo "$as_me:3582: \"$ac_compile\"") >&5
3583    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3584    ac_status=$?    ac_status=$?
3585    echo "$as_me:3591: \$? = $ac_status" >&5    echo "$as_me:3585: \$? = $ac_status" >&5
3586    (exit $ac_status); } &&    (exit $ac_status); } &&
3587           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
3588    { (eval echo "$as_me:3594: \"$ac_try\"") >&5    { (eval echo "$as_me:3588: \"$ac_try\"") >&5
3589    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3590    ac_status=$?    ac_status=$?
3591    echo "$as_me:3597: \$? = $ac_status" >&5    echo "$as_me:3591: \$? = $ac_status" >&5
3592    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3593    break    break
3594  else  else
# Line 3604  fi Line 3598  fi
3598  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3599           CC="$CC -n32"           CC="$CC -n32"
3600           rm -f conftest.$ac_objext           rm -f conftest.$ac_objext
3601  if { (eval echo "$as_me:3607: \"$ac_compile\"") >&5  if { (eval echo "$as_me:3601: \"$ac_compile\"") >&5
3602    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3603    ac_status=$?    ac_status=$?
3604    echo "$as_me:3610: \$? = $ac_status" >&5    echo "$as_me:3604: \$? = $ac_status" >&5
3605    (exit $ac_status); } &&    (exit $ac_status); } &&
3606           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
3607    { (eval echo "$as_me:3613: \"$ac_try\"") >&5    { (eval echo "$as_me:3607: \"$ac_try\"") >&5
3608    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3609    ac_status=$?    ac_status=$?
3610    echo "$as_me:3616: \$? = $ac_status" >&5    echo "$as_me:3610: \$? = $ac_status" >&5
3611    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3612    ac_cv_sys_largefile_CC=' -n32'; break    ac_cv_sys_largefile_CC=' -n32'; break
3613  else  else
# Line 3627  rm -f conftest.$ac_objext Line 3621  rm -f conftest.$ac_objext
3621         rm -f conftest.$ac_ext         rm -f conftest.$ac_ext
3622      fi      fi
3623  fi  fi
3624  echo "$as_me:3630: result: $ac_cv_sys_largefile_CC" >&5  echo "$as_me:3624: result: $ac_cv_sys_largefile_CC" >&5
3625  echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6  echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
3626    if test "$ac_cv_sys_largefile_CC" != no; then    if test "$ac_cv_sys_largefile_CC" != no; then
3627      CC=$CC$ac_cv_sys_largefile_CC      CC=$CC$ac_cv_sys_largefile_CC
3628    fi    fi
3629    
3630    echo "$as_me:3636: checking for _FILE_OFFSET_BITS value needed for large files" >&5    echo "$as_me:3630: checking for _FILE_OFFSET_BITS value needed for large files" >&5
3631  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
3632  if test "${ac_cv_sys_file_offset_bits+set}" = set; then  if test "${ac_cv_sys_file_offset_bits+set}" = set; then
3633    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3641  else Line 3635  else
3635    while :; do    while :; do
3636    ac_cv_sys_file_offset_bits=no    ac_cv_sys_file_offset_bits=no
3637    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3638  #line 3644 "configure"  #line 3638 "configure"
3639  #include "confdefs.h"  #include "confdefs.h"
3640  #include <sys/types.h>  #include <sys/types.h>
3641   /* Check that off_t can represent 2**63 - 1 correctly.   /* Check that off_t can represent 2**63 - 1 correctly.
# Line 3661  main () Line 3655  main ()
3655  }  }
3656  _ACEOF  _ACEOF
3657  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3658  if { (eval echo "$as_me:3664: \"$ac_compile\"") >&5  if { (eval echo "$as_me:3658: \"$ac_compile\"") >&5
3659    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3660    ac_status=$?    ac_status=$?
3661    echo "$as_me:3667: \$? = $ac_status" >&5    echo "$as_me:3661: \$? = $ac_status" >&5
3662    (exit $ac_status); } &&    (exit $ac_status); } &&
3663           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
3664    { (eval echo "$as_me:3670: \"$ac_try\"") >&5    { (eval echo "$as_me:3664: \"$ac_try\"") >&5
3665    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3666    ac_status=$?    ac_status=$?
3667    echo "$as_me:3673: \$? = $ac_status" >&5    echo "$as_me:3667: \$? = $ac_status" >&5
3668    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3669    break    break
3670  else  else
# Line 3679  cat conftest.$ac_ext >&5 Line 3673  cat conftest.$ac_ext >&5
3673  fi  fi
3674  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
3675    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3676  #line 3682 "configure"  #line 3676 "configure"
3677  #include "confdefs.h"  #include "confdefs.h"
3678  #define _FILE_OFFSET_BITS 64  #define _FILE_OFFSET_BITS 64
3679  #include <sys/types.h>  #include <sys/types.h>
# Line 3700  main () Line 3694  main ()
3694  }  }
3695  _ACEOF  _ACEOF
3696  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3697  if { (eval echo "$as_me:3703: \"$ac_compile\"") >&5  if { (eval echo "$as_me:3697: \"$ac_compile\"") >&5
3698    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3699    ac_status=$?    ac_status=$?
3700    echo "$as_me:3706: \$? = $ac_status" >&5    echo "$as_me:3700: \$? = $ac_status" >&5
3701    (exit $ac_status); } &&    (exit $ac_status); } &&
3702           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
3703    { (eval echo "$as_me:3709: \"$ac_try\"") >&5    { (eval echo "$as_me:3703: \"$ac_try\"") >&5
3704    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3705    ac_status=$?    ac_status=$?
3706    echo "$as_me:3712: \$? = $ac_status" >&5    echo "$as_me:3706: \$? = $ac_status" >&5
3707    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3708    ac_cv_sys_file_offset_bits=64; break    ac_cv_sys_file_offset_bits=64; break
3709  else  else
# Line 3720  rm -f conftest.$ac_objext conftest.$ac_e Line 3714  rm -f conftest.$ac_objext conftest.$ac_e
3714    break    break
3715  done  done
3716  fi  fi
3717  echo "$as_me:3723: result: $ac_cv_sys_file_offset_bits" >&5  echo "$as_me:3717: result: $ac_cv_sys_file_offset_bits" >&5
3718  echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6  echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
3719  if test "$ac_cv_sys_file_offset_bits" != no; then  if test "$ac_cv_sys_file_offset_bits" != no; then
3720    
# Line 3730  EOF Line 3724  EOF
3724    
3725  fi  fi
3726  rm -f conftest*  rm -f conftest*
3727    echo "$as_me:3733: checking for _LARGE_FILES value needed for large files" >&5    echo "$as_me:3727: checking for _LARGE_FILES value needed for large files" >&5
3728  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
3729  if test "${ac_cv_sys_large_files+set}" = set; then  if test "${ac_cv_sys_large_files+set}" = set; then
3730    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3738  else Line 3732  else
3732    while :; do    while :; do
3733    ac_cv_sys_large_files=no    ac_cv_sys_large_files=no
3734    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3735  #line 3741 "configure"  #line 3735 "configure"
3736  #include "confdefs.h"  #include "confdefs.h"
3737  #include <sys/types.h>  #include <sys/types.h>
3738   /* Check that off_t can represent 2**63 - 1 correctly.   /* Check that off_t can represent 2**63 - 1 correctly.
# Line 3758  main () Line 3752  main ()
3752  }  }
3753  _ACEOF  _ACEOF
3754  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3755  if { (eval echo "$as_me:3761: \"$ac_compile\"") >&5  if { (eval echo "$as_me:3755: \"$ac_compile\"") >&5
3756    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3757    ac_status=$?    ac_status=$?
3758    echo "$as_me:3764: \$? = $ac_status" >&5    echo "$as_me:3758: \$? = $ac_status" >&5
3759    (exit $ac_status); } &&    (exit $ac_status); } &&
3760           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
3761    { (eval echo "$as_me:3767: \"$ac_try\"") >&5    { (eval echo "$as_me:3761: \"$ac_try\"") >&5
3762    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3763    ac_status=$?    ac_status=$?
3764    echo "$as_me:3770: \$? = $ac_status" >&5    echo "$as_me:3764: \$? = $ac_status" >&5
3765    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3766    break    break
3767  else  else
# Line 3776  cat conftest.$ac_ext >&5 Line 3770  cat conftest.$ac_ext >&5
3770  fi  fi
3771  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
3772    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3773  #line 3779 "configure"  #line 3773 "configure"
3774  #include "confdefs.h"  #include "confdefs.h"
3775  #define _LARGE_FILES 1  #define _LARGE_FILES 1
3776  #include <sys/types.h>  #include <sys/types.h>
# Line 3797  main () Line 3791  main ()
3791  }  }
3792  _ACEOF  _ACEOF
3793  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3794  if { (eval echo "$as_me:3800: \"$ac_compile\"") >&5  if { (eval echo "$as_me:3794: \"$ac_compile\"") >&5
3795    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3796    ac_status=$?    ac_status=$?
3797    echo "$as_me:3803: \$? = $ac_status" >&5    echo "$as_me:3797: \$? = $ac_status" >&5
3798    (exit $ac_status); } &&    (exit $ac_status); } &&
3799           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
3800    { (eval echo "$as_me:3806: \"$ac_try\"") >&5    { (eval echo "$as_me:3800: \"$ac_try\"") >&5
3801    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3802    ac_status=$?    ac_status=$?
3803    echo "$as_me:3809: \$? = $ac_status" >&5    echo "$as_me:3803: \$? = $ac_status" >&5
3804    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3805    ac_cv_sys_large_files=1; break    ac_cv_sys_large_files=1; break
3806  else  else
# Line 3817  rm -f conftest.$ac_objext conftest.$ac_e Line 3811  rm -f conftest.$ac_objext conftest.$ac_e
3811    break    break
3812  done  done
3813  fi  fi
3814  echo "$as_me:3820: result: $ac_cv_sys_large_files" >&5  echo "$as_me:3814: result: $ac_cv_sys_large_files" >&5
3815  echo "${ECHO_T}$ac_cv_sys_large_files" >&6  echo "${ECHO_T}$ac_cv_sys_large_files" >&6
3816  if test "$ac_cv_sys_large_files" != no; then  if test "$ac_cv_sys_large_files" != no; then
3817    
# Line 3834  fi Line 3828  fi
3828  for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h  for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h
3829  do  do
3830  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3831  echo "$as_me:3837: checking for $ac_header" >&5  echo "$as_me:3831: checking for $ac_header" >&5
3832  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3833  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
3834    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3835  else  else
3836    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3837  #line 3843 "configure"  #line 3837 "configure"
3838  #include "confdefs.h"  #include "confdefs.h"
3839  #include <$ac_header>  #include <$ac_header>
3840  _ACEOF  _ACEOF
3841  if { (eval echo "$as_me:3847: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:3841: \"$ac_cpp conftest.$ac_ext\"") >&5
3842    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3843    ac_status=$?    ac_status=$?
3844    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
3845    rm -f conftest.er1    rm -f conftest.er1
3846    cat conftest.err >&5    cat conftest.err >&5
3847    echo "$as_me:3853: \$? = $ac_status" >&5    echo "$as_me:3847: \$? = $ac_status" >&5
3848    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3849    if test -s conftest.err; then    if test -s conftest.err; then
3850      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 3869  else Line 3863  else
3863  fi  fi
3864  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
3865  fi  fi
3866  echo "$as_me:3872: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:3866: result: `eval echo '${'$as_ac_Header'}'`" >&5
3867  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3868  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
3869    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 3880  fi Line 3874  fi
3874  done  done
3875    
3876  # Emulation library used on NetBSD.  # Emulation library used on NetBSD.
3877  echo "$as_me:3883: checking for _oss_ioctl in -lossaudio" >&5  echo "$as_me:3877: checking for _oss_ioctl in -lossaudio" >&5
3878  echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6  echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
3879  if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then  if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
3880    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3888  else Line 3882  else
3882    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
3883  LIBS="-lossaudio  $LIBS"  LIBS="-lossaudio  $LIBS"
3884  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
3885  #line 3891 "configure"  #line 3885 "configure"
3886  #include "confdefs.h"  #include "confdefs.h"
3887    
3888  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 3907  _oss_ioctl (); Line 3901  _oss_ioctl ();
3901  }  }
3902  _ACEOF  _ACEOF
3903  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
3904  if { (eval echo "$as_me:3910: \"$ac_link\"") >&5  if { (eval echo "$as_me:3904: \"$ac_link\"") >&5
3905    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
3906    ac_status=$?    ac_status=$?
3907    echo "$as_me:3913: \$? = $ac_status" >&5    echo "$as_me:3907: \$? = $ac_status" >&5
3908    (exit $ac_status); } &&    (exit $ac_status); } &&
3909           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
3910    { (eval echo "$as_me:3916: \"$ac_try\"") >&5    { (eval echo "$as_me:3910: \"$ac_try\"") >&5
3911    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3912    ac_status=$?    ac_status=$?
3913    echo "$as_me:3919: \$? = $ac_status" >&5    echo "$as_me:3913: \$? = $ac_status" >&5
3914    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3915    ac_cv_lib_ossaudio__oss_ioctl=yes    ac_cv_lib_ossaudio__oss_ioctl=yes
3916  else  else
# Line 3927  fi Line 3921  fi
3921  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3922  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
3923  fi  fi
3924  echo "$as_me:3930: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5  echo "$as_me:3924: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
3925  echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6  echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
3926  if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then  if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
3927    LIBSOUND=-lossaudio    LIBSOUND=-lossaudio
# Line 3937  fi Line 3931  fi
3931    
3932  for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \  for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \
3933    linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \    linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \
3934    termcap.h stdio_ext.h fcntl.h term.h strings.h    termcap.h stdio_ext.h fcntl.h term.h strings.h coff.h
3935  do  do
3936  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3937  echo "$as_me:3943: checking for $ac_header" >&5  echo "$as_me:3937: checking for $ac_header" >&5
3938  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3939  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
3940    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3941  else  else
3942    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3943  #line 3949 "configure"  #line 3943 "configure"
3944  #include "confdefs.h"  #include "confdefs.h"
3945  #include <$ac_header>  #include <$ac_header>
3946  _ACEOF  _ACEOF
3947  if { (eval echo "$as_me:3953: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:3947: \"$ac_cpp conftest.$ac_ext\"") >&5
3948    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3949    ac_status=$?    ac_status=$?
3950    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
3951    rm -f conftest.er1    rm -f conftest.er1
3952    cat conftest.err >&5    cat conftest.err >&5
3953    echo "$as_me:3959: \$? = $ac_status" >&5    echo "$as_me:3953: \$? = $ac_status" >&5
3954    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3955    if test -s conftest.err; then    if test -s conftest.err; then
3956      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 3975  else Line 3969  else
3969  fi  fi
3970  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
3971  fi  fi
3972  echo "$as_me:3978: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:3972: result: `eval echo '${'$as_ac_Header'}'`" >&5
3973  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3974  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
3975    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 3985  EOF Line 3979  EOF
3979  fi  fi
3980  done  done
3981    
3982  echo "$as_me:3988: checking for ANSI C header files" >&5  echo "$as_me:3982: checking for ANSI C header files" >&5
3983  echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6  echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3984  if test "${ac_cv_header_stdc+set}" = set; then  if test "${ac_cv_header_stdc+set}" = set; then
3985    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3986  else  else
3987    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3988  #line 3994 "configure"  #line 3988 "configure"
3989  #include "confdefs.h"  #include "confdefs.h"
3990  #include <stdlib.h>  #include <stdlib.h>
3991  #include <stdarg.h>  #include <stdarg.h>
# Line 3999  else Line 3993  else
3993  #include <float.h>  #include <float.h>
3994    
3995  _ACEOF  _ACEOF
3996  if { (eval echo "$as_me:4002: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:3996: \"$ac_cpp conftest.$ac_ext\"") >&5
3997    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3998    ac_status=$?    ac_status=$?
3999    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
4000    rm -f conftest.er1    rm -f conftest.er1
4001    cat conftest.err >&5    cat conftest.err >&5
4002    echo "$as_me:4008: \$? = $ac_status" >&5    echo "$as_me:4002: \$? = $ac_status" >&5
4003    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
4004    if test -s conftest.err; then    if test -s conftest.err; then
4005      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 4027  rm -f conftest.err conftest.$ac_ext Line 4021  rm -f conftest.err conftest.$ac_ext
4021  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
4022    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4023    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4024  #line 4030 "configure"  #line 4024 "configure"
4025  #include "confdefs.h"  #include "confdefs.h"
4026  #include <string.h>  #include <string.h>
4027    
# Line 4045  fi Line 4039  fi
4039  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
4040    # 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.
4041    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4042  #line 4048 "configure"  #line 4042 "configure"
4043  #include "confdefs.h"  #include "confdefs.h"
4044  #include <stdlib.h>  #include <stdlib.h>
4045    
# Line 4066  if test $ac_cv_header_stdc = yes; then Line 4060  if test $ac_cv_header_stdc = yes; then
4060    :    :
4061  else  else
4062    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4063  #line 4069 "configure"  #line 4063 "configure"
4064  #include "confdefs.h"  #include "confdefs.h"
4065  #include <ctype.h>  #include <ctype.h>
4066  #if ((' ' & 0x0FF) == 0x020)  #if ((' ' & 0x0FF) == 0x020)
# Line 4092  main () Line 4086  main ()
4086  }  }
4087  _ACEOF  _ACEOF
4088  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
4089  if { (eval echo "$as_me:4095: \"$ac_link\"") >&5  if { (eval echo "$as_me:4089: \"$ac_link\"") >&5
4090    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
4091    ac_status=$?    ac_status=$?
4092    echo "$as_me:4098: \$? = $ac_status" >&5    echo "$as_me:4092: \$? = $ac_status" >&5
4093    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4094    { (eval echo "$as_me:4100: \"$ac_try\"") >&5    { (eval echo "$as_me:4094: \"$ac_try\"") >&5
4095    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4096    ac_status=$?    ac_status=$?
4097    echo "$as_me:4103: \$? = $ac_status" >&5    echo "$as_me:4097: \$? = $ac_status" >&5
4098    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4099    :    :
4100  else  else
# Line 4113  rm -f core core.* *.core conftest$ac_exe Line 4107  rm -f core core.* *.core conftest$ac_exe
4107  fi  fi
4108  fi  fi
4109  fi  fi
4110  echo "$as_me:4116: result: $ac_cv_header_stdc" >&5  echo "$as_me:4110: result: $ac_cv_header_stdc" >&5
4111  echo "${ECHO_T}$ac_cv_header_stdc" >&6  echo "${ECHO_T}$ac_cv_header_stdc" >&6
4112  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
4113    
# Line 4123  EOF Line 4117  EOF
4117    
4118  fi  fi
4119    
4120  echo "$as_me:4126: checking whether time.h and sys/time.h may both be included" >&5  echo "$as_me:4120: checking whether time.h and sys/time.h may both be included" >&5
4121  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
4122  if test "${ac_cv_header_time+set}" = set; then  if test "${ac_cv_header_time+set}" = set; then
4123    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4124  else  else
4125    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4126  #line 4132 "configure"  #line 4126 "configure"
4127  #include "confdefs.h"  #include "confdefs.h"
4128  #include <sys/types.h>  #include <sys/types.h>
4129  #include <sys/time.h>  #include <sys/time.h>
# Line 4145  return 0; Line 4139  return 0;
4139  }  }
4140  _ACEOF  _ACEOF
4141  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4142  if { (eval echo "$as_me:4148: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4142: \"$ac_compile\"") >&5
4143    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4144    ac_status=$?    ac_status=$?
4145    echo "$as_me:4151: \$? = $ac_status" >&5    echo "$as_me:4145: \$? = $ac_status" >&5
4146    (exit $ac_status); } &&    (exit $ac_status); } &&
4147           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4148    { (eval echo "$as_me:4154: \"$ac_try\"") >&5    { (eval echo "$as_me:4148: \"$ac_try\"") >&5
4149    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4150    ac_status=$?    ac_status=$?
4151    echo "$as_me:4157: \$? = $ac_status" >&5    echo "$as_me:4151: \$? = $ac_status" >&5
4152    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4153    ac_cv_header_time=yes    ac_cv_header_time=yes
4154  else  else
# Line 4164  ac_cv_header_time=no Line 4158  ac_cv_header_time=no
4158  fi  fi
4159  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4160  fi  fi
4161  echo "$as_me:4167: result: $ac_cv_header_time" >&5  echo "$as_me:4161: result: $ac_cv_header_time" >&5
4162  echo "${ECHO_T}$ac_cv_header_time" >&6  echo "${ECHO_T}$ac_cv_header_time" >&6
4163  if test $ac_cv_header_time = yes; then  if test $ac_cv_header_time = yes; then
4164    
# Line 4174  EOF Line 4168  EOF
4168    
4169  fi  fi
4170    
4171  echo "$as_me:4177: checking for sys_siglist declaration in signal.h or unistd.h" >&5  echo "$as_me:4171: checking for sys_siglist declaration in signal.h or unistd.h" >&5
4172  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
4173  if test "${ac_cv_decl_sys_siglist+set}" = set; then  if test "${ac_cv_decl_sys_siglist+set}" = set; then
4174    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4175  else  else
4176    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4177  #line 4183 "configure"  #line 4177 "configure"
4178  #include "confdefs.h"  #include "confdefs.h"
4179  #include <sys/types.h>  #include <sys/types.h>
4180  #include <signal.h>  #include <signal.h>
# Line 4198  char *msg = *(sys_siglist + 1); Line 4192  char *msg = *(sys_siglist + 1);
4192  }  }
4193  _ACEOF  _ACEOF
4194  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4195  if { (eval echo "$as_me:4201: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4195: \"$ac_compile\"") >&5
4196    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4197    ac_status=$?    ac_status=$?
4198    echo "$as_me:4204: \$? = $ac_status" >&5    echo "$as_me:4198: \$? = $ac_status" >&5
4199    (exit $ac_status); } &&    (exit $ac_status); } &&
4200           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4201    { (eval echo "$as_me:4207: \"$ac_try\"") >&5    { (eval echo "$as_me:4201: \"$ac_try\"") >&5
4202    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4203    ac_status=$?    ac_status=$?
4204    echo "$as_me:4210: \$? = $ac_status" >&5    echo "$as_me:4204: \$? = $ac_status" >&5
4205    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4206    ac_cv_decl_sys_siglist=yes    ac_cv_decl_sys_siglist=yes
4207  else  else
# Line 4217  ac_cv_decl_sys_siglist=no Line 4211  ac_cv_decl_sys_siglist=no
4211  fi  fi
4212  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4213  fi  fi
4214  echo "$as_me:4220: result: $ac_cv_decl_sys_siglist" >&5  echo "$as_me:4214: result: $ac_cv_decl_sys_siglist" >&5
4215  echo "${ECHO_T}$ac_cv_decl_sys_siglist" >&6  echo "${ECHO_T}$ac_cv_decl_sys_siglist" >&6
4216  if test $ac_cv_decl_sys_siglist = yes; then  if test $ac_cv_decl_sys_siglist = yes; then
4217    
# Line 4227  EOF Line 4221  EOF
4221    
4222  fi  fi
4223    
4224  echo "$as_me:4230: checking for sys/wait.h that is POSIX.1 compatible" >&5  echo "$as_me:4224: checking for sys/wait.h that is POSIX.1 compatible" >&5
4225  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
4226  if test "${ac_cv_header_sys_wait_h+set}" = set; then  if test "${ac_cv_header_sys_wait_h+set}" = set; then
4227    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4228  else  else
4229    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4230  #line 4236 "configure"  #line 4230 "configure"
4231  #include "confdefs.h"  #include "confdefs.h"
4232  #include <sys/types.h>  #include <sys/types.h>
4233  #include <sys/wait.h>  #include <sys/wait.h>
# Line 4255  main () Line 4249  main ()
4249  }  }
4250  _ACEOF  _ACEOF
4251  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4252  if { (eval echo "$as_me:4258: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4252: \"$ac_compile\"") >&5
4253    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4254    ac_status=$?    ac_status=$?
4255    echo "$as_me:4261: \$? = $ac_status" >&5    echo "$as_me:4255: \$? = $ac_status" >&5
4256    (exit $ac_status); } &&    (exit $ac_status); } &&
4257           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4258    { (eval echo "$as_me:4264: \"$ac_try\"") >&5    { (eval echo "$as_me:4258: \"$ac_try\"") >&5
4259    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4260    ac_status=$?    ac_status=$?
4261    echo "$as_me:4267: \$? = $ac_status" >&5    echo "$as_me:4261: \$? = $ac_status" >&5
4262    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4263    ac_cv_header_sys_wait_h=yes    ac_cv_header_sys_wait_h=yes
4264  else  else
# Line 4274  ac_cv_header_sys_wait_h=no Line 4268  ac_cv_header_sys_wait_h=no
4268  fi  fi
4269  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4270  fi  fi
4271  echo "$as_me:4277: result: $ac_cv_header_sys_wait_h" >&5  echo "$as_me:4271: result: $ac_cv_header_sys_wait_h" >&5
4272  echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6  echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
4273  if test $ac_cv_header_sys_wait_h = yes; then  if test $ac_cv_header_sys_wait_h = yes; then
4274    
# Line 4284  EOF Line 4278  EOF
4278    
4279  fi  fi
4280    
4281  echo "$as_me:4287: checking for struct utimbuf" >&5  echo "$as_me:4281: checking for struct utimbuf" >&5
4282  echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6  echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6
4283  if test "${emacs_cv_struct_utimbuf+set}" = set; then  if test "${emacs_cv_struct_utimbuf+set}" = set; then
4284    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4285  else  else
4286    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4287  #line 4293 "configure"  #line 4287 "configure"
4288  #include "confdefs.h"  #include "confdefs.h"
4289  #ifdef TIME_WITH_SYS_TIME  #ifdef TIME_WITH_SYS_TIME
4290  #include <sys/time.h>  #include <sys/time.h>
# Line 4314  static struct utimbuf x; x.actime = x.mo Line 4308  static struct utimbuf x; x.actime = x.mo
4308  }  }
4309  _ACEOF  _ACEOF
4310  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4311  if { (eval echo "$as_me:4317: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4311: \"$ac_compile\"") >&5
4312    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4313    ac_status=$?    ac_status=$?
4314    echo "$as_me:4320: \$? = $ac_status" >&5    echo "$as_me:4314: \$? = $ac_status" >&5
4315    (exit $ac_status); } &&    (exit $ac_status); } &&
4316           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4317    { (eval echo "$as_me:4323: \"$ac_try\"") >&5    { (eval echo "$as_me:4317: \"$ac_try\"") >&5
4318    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4319    ac_status=$?    ac_status=$?
4320    echo "$as_me:4326: \$? = $ac_status" >&5    echo "$as_me:4320: \$? = $ac_status" >&5
4321    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4322    emacs_cv_struct_utimbuf=yes    emacs_cv_struct_utimbuf=yes
4323  else  else
# Line 4333  emacs_cv_struct_utimbuf=no Line 4327  emacs_cv_struct_utimbuf=no
4327  fi  fi
4328  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4329  fi  fi
4330  echo "$as_me:4336: result: $emacs_cv_struct_utimbuf" >&5  echo "$as_me:4330: result: $emacs_cv_struct_utimbuf" >&5
4331  echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6  echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6
4332  if test $emacs_cv_struct_utimbuf = yes; then  if test $emacs_cv_struct_utimbuf = yes; then
4333    cat >>confdefs.h <<\EOF    cat >>confdefs.h <<\EOF
# Line 4342  EOF Line 4336  EOF
4336    
4337  fi  fi
4338    
4339  echo "$as_me:4345: checking return type of signal handlers" >&5  echo "$as_me:4339: checking return type of signal handlers" >&5
4340  echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6  echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
4341  if test "${ac_cv_type_signal+set}" = set; then  if test "${ac_cv_type_signal+set}" = set; then
4342    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4343  else  else
4344    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4345  #line 4351 "configure"  #line 4345 "configure"
4346  #include "confdefs.h"  #include "confdefs.h"
4347  #include <sys/types.h>  #include <sys/types.h>
4348  #include <signal.h>  #include <signal.h>
# Line 4370  int i; Line 4364  int i;
4364  }  }
4365  _ACEOF  _ACEOF
4366  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4367  if { (eval echo "$as_me:4373: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4367: \"$ac_compile\"") >&5
4368    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4369    ac_status=$?    ac_status=$?
4370    echo "$as_me:4376: \$? = $ac_status" >&5    echo "$as_me:4370: \$? = $ac_status" >&5
4371    (exit $ac_status); } &&    (exit $ac_status); } &&
4372           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4373    { (eval echo "$as_me:4379: \"$ac_try\"") >&5    { (eval echo "$as_me:4373: \"$ac_try\"") >&5
4374    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4375    ac_status=$?    ac_status=$?
4376    echo "$as_me:4382: \$? = $ac_status" >&5    echo "$as_me:4376: \$? = $ac_status" >&5
4377    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4378    ac_cv_type_signal=void    ac_cv_type_signal=void
4379  else  else
# Line 4389  ac_cv_type_signal=int Line 4383  ac_cv_type_signal=int
4383  fi  fi
4384  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4385  fi  fi
4386  echo "$as_me:4392: result: $ac_cv_type_signal" >&5  echo "$as_me:4386: result: $ac_cv_type_signal" >&5
4387  echo "${ECHO_T}$ac_cv_type_signal" >&6  echo "${ECHO_T}$ac_cv_type_signal" >&6
4388    
4389  cat >>confdefs.h <<EOF  cat >>confdefs.h <<EOF
4390  #define RETSIGTYPE $ac_cv_type_signal  #define RETSIGTYPE $ac_cv_type_signal
4391  EOF  EOF
4392    
4393  echo "$as_me:4399: checking for speed_t" >&5  echo "$as_me:4393: checking for speed_t" >&5
4394  echo $ECHO_N "checking for speed_t... $ECHO_C" >&6  echo $ECHO_N "checking for speed_t... $ECHO_C" >&6
4395  if test "${emacs_cv_speed_t+set}" = set; then  if test "${emacs_cv_speed_t+set}" = set; then
4396    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4397  else  else
4398    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4399  #line 4405 "configure"  #line 4399 "configure"
4400  #include "confdefs.h"  #include "confdefs.h"
4401  #include <termios.h>  #include <termios.h>
4402  int  int
# Line 4414  speed_t x = 1; Line 4408  speed_t x = 1;
4408  }  }
4409  _ACEOF  _ACEOF
4410  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4411  if { (eval echo "$as_me:4417: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4411: \"$ac_compile\"") >&5
4412    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4413    ac_status=$?    ac_status=$?
4414    echo "$as_me:4420: \$? = $ac_status" >&5    echo "$as_me:4414: \$? = $ac_status" >&5
4415    (exit $ac_status); } &&    (exit $ac_status); } &&
4416           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4417    { (eval echo "$as_me:4423: \"$ac_try\"") >&5    { (eval echo "$as_me:4417: \"$ac_try\"") >&5
4418    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4419    ac_status=$?    ac_status=$?
4420    echo "$as_me:4426: \$? = $ac_status" >&5    echo "$as_me:4420: \$? = $ac_status" >&5
4421    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4422    emacs_cv_speed_t=yes    emacs_cv_speed_t=yes
4423  else  else
# Line 4433  emacs_cv_speed_t=no Line 4427  emacs_cv_speed_t=no
4427  fi  fi
4428  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4429  fi  fi
4430  echo "$as_me:4436: result: $emacs_cv_speed_t" >&5  echo "$as_me:4430: result: $emacs_cv_speed_t" >&5
4431  echo "${ECHO_T}$emacs_cv_speed_t" >&6  echo "${ECHO_T}$emacs_cv_speed_t" >&6
4432  if test $emacs_cv_speed_t = yes; then  if test $emacs_cv_speed_t = yes; then
4433    cat >>confdefs.h <<\EOF    cat >>confdefs.h <<\EOF
# Line 4442  EOF Line 4436  EOF
4436    
4437  fi  fi
4438    
4439  echo "$as_me:4445: checking for struct timeval" >&5  echo "$as_me:4439: checking for struct timeval" >&5
4440  echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6  echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6
4441  if test "${emacs_cv_struct_timeval+set}" = set; then  if test "${emacs_cv_struct_timeval+set}" = set; then
4442    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4443  else  else
4444    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4445  #line 4451 "configure"  #line 4445 "configure"
4446  #include "confdefs.h"  #include "confdefs.h"
4447  #ifdef TIME_WITH_SYS_TIME  #ifdef TIME_WITH_SYS_TIME
4448  #include <sys/time.h>  #include <sys/time.h>
# Line 4469  static struct timeval x; x.tv_sec = x.tv Line 4463  static struct timeval x; x.tv_sec = x.tv
4463  }  }
4464  _ACEOF  _ACEOF
4465  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4466  if { (eval echo "$as_me:4472: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4466: \"$ac_compile\"") >&5
4467    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4468    ac_status=$?    ac_status=$?
4469    echo "$as_me:4475: \$? = $ac_status" >&5    echo "$as_me:4469: \$? = $ac_status" >&5
4470    (exit $ac_status); } &&    (exit $ac_status); } &&
4471           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4472    { (eval echo "$as_me:4478: \"$ac_try\"") >&5    { (eval echo "$as_me:4472: \"$ac_try\"") >&5
4473    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4474    ac_status=$?    ac_status=$?
4475    echo "$as_me:4481: \$? = $ac_status" >&5    echo "$as_me:4475: \$? = $ac_status" >&5
4476    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4477    emacs_cv_struct_timeval=yes    emacs_cv_struct_timeval=yes
4478  else  else
# Line 4488  emacs_cv_struct_timeval=no Line 4482  emacs_cv_struct_timeval=no
4482  fi  fi
4483  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4484  fi  fi
4485  echo "$as_me:4491: result: $emacs_cv_struct_timeval" >&5  echo "$as_me:4485: result: $emacs_cv_struct_timeval" >&5
4486  echo "${ECHO_T}$emacs_cv_struct_timeval" >&6  echo "${ECHO_T}$emacs_cv_struct_timeval" >&6
4487  HAVE_TIMEVAL=$emacs_cv_struct_timeval  HAVE_TIMEVAL=$emacs_cv_struct_timeval
4488  if test $emacs_cv_struct_timeval = yes; then  if test $emacs_cv_struct_timeval = yes; then
# Line 4498  EOF Line 4492  EOF
4492    
4493  fi  fi
4494    
4495  echo "$as_me:4501: checking for struct exception" >&5  echo "$as_me:4495: checking for struct exception" >&5
4496  echo $ECHO_N "checking for struct exception... $ECHO_C" >&6  echo $ECHO_N "checking for struct exception... $ECHO_C" >&6
4497  if test "${emacs_cv_struct_exception+set}" = set; then  if test "${emacs_cv_struct_exception+set}" = set; then
4498    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4499  else  else
4500    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4501  #line 4507 "configure"  #line 4501 "configure"
4502  #include "confdefs.h"  #include "confdefs.h"
4503  #include <math.h>  #include <math.h>
4504  int  int
# Line 4516  static struct exception x; x.arg1 = x.ar Line 4510  static struct exception x; x.arg1 = x.ar
4510  }  }
4511  _ACEOF  _ACEOF
4512  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4513  if { (eval echo "$as_me:4519: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4513: \"$ac_compile\"") >&5
4514    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4515    ac_status=$?    ac_status=$?
4516    echo "$as_me:4522: \$? = $ac_status" >&5    echo "$as_me:4516: \$? = $ac_status" >&5
4517    (exit $ac_status); } &&    (exit $ac_status); } &&
4518           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4519    { (eval echo "$as_me:4525: \"$ac_try\"") >&5    { (eval echo "$as_me:4519: \"$ac_try\"") >&5
4520    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4521    ac_status=$?    ac_status=$?
4522    echo "$as_me:4528: \$? = $ac_status" >&5    echo "$as_me:4522: \$? = $ac_status" >&5
4523    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4524    emacs_cv_struct_exception=yes    emacs_cv_struct_exception=yes
4525  else  else
# Line 4535  emacs_cv_struct_exception=no Line 4529  emacs_cv_struct_exception=no
4529  fi  fi
4530  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4531  fi  fi
4532  echo "$as_me:4538: result: $emacs_cv_struct_exception" >&5  echo "$as_me:4532: result: $emacs_cv_struct_exception" >&5
4533  echo "${ECHO_T}$emacs_cv_struct_exception" >&6  echo "${ECHO_T}$emacs_cv_struct_exception" >&6
4534  HAVE_EXCEPTION=$emacs_cv_struct_exception  HAVE_EXCEPTION=$emacs_cv_struct_exception
4535  if test $emacs_cv_struct_exception != yes; then  if test $emacs_cv_struct_exception != yes; then
# Line 4545  EOF Line 4539  EOF
4539    
4540  fi  fi
4541    
4542  echo "$as_me:4548: checking whether struct tm is in sys/time.h or time.h" >&5  echo "$as_me:4542: checking whether struct tm is in sys/time.h or time.h" >&5
4543  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
4544  if test "${ac_cv_struct_tm+set}" = set; then  if test "${ac_cv_struct_tm+set}" = set; then
4545    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4546  else  else
4547    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4548  #line 4554 "configure"  #line 4548 "configure"
4549  #include "confdefs.h"  #include "confdefs.h"
4550  #include <sys/types.h>  #include <sys/types.h>
4551  #include <time.h>  #include <time.h>
# Line 4565  struct tm *tp; tp->tm_sec; Line 4559  struct tm *tp; tp->tm_sec;
4559  }  }
4560  _ACEOF  _ACEOF
4561  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4562  if { (eval echo "$as_me:4568: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4562: \"$ac_compile\"") >&5
4563    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4564    ac_status=$?    ac_status=$?
4565    echo "$as_me:4571: \$? = $ac_status" >&5    echo "$as_me:4565: \$? = $ac_status" >&5
4566    (exit $ac_status); } &&    (exit $ac_status); } &&
4567           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4568    { (eval echo "$as_me:4574: \"$ac_try\"") >&5    { (eval echo "$as_me:4568: \"$ac_try\"") >&5
4569    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4570    ac_status=$?    ac_status=$?
4571    echo "$as_me:4577: \$? = $ac_status" >&5    echo "$as_me:4571: \$? = $ac_status" >&5
4572    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4573    ac_cv_struct_tm=time.h    ac_cv_struct_tm=time.h
4574  else  else
# Line 4584  ac_cv_struct_tm=sys/time.h Line 4578  ac_cv_struct_tm=sys/time.h
4578  fi  fi
4579  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4580  fi  fi
4581  echo "$as_me:4587: result: $ac_cv_struct_tm" >&5  echo "$as_me:4581: result: $ac_cv_struct_tm" >&5
4582  echo "${ECHO_T}$ac_cv_struct_tm" >&6  echo "${ECHO_T}$ac_cv_struct_tm" >&6
4583  if test $ac_cv_struct_tm = sys/time.h; then  if test $ac_cv_struct_tm = sys/time.h; then
4584    
# Line 4594  EOF Line 4588  EOF
4588    
4589  fi  fi
4590    
4591  echo "$as_me:4597: checking for struct tm.tm_zone" >&5  echo "$as_me:4591: checking for struct tm.tm_zone" >&5
4592  echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6  echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
4593  if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then  if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
4594    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4595  else  else
4596    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4597  #line 4603 "configure"  #line 4597 "configure"
4598  #include "confdefs.h"  #include "confdefs.h"
4599  #include <sys/types.h>  #include <sys/types.h>
4600  #include <$ac_cv_struct_tm>  #include <$ac_cv_struct_tm>
# Line 4616  return 0; Line 4610  return 0;
4610  }  }
4611  _ACEOF  _ACEOF
4612  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4613  if { (eval echo "$as_me:4619: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4613: \"$ac_compile\"") >&5
4614    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4615    ac_status=$?    ac_status=$?
4616    echo "$as_me:4622: \$? = $ac_status" >&5    echo "$as_me:4616: \$? = $ac_status" >&5
4617    (exit $ac_status); } &&    (exit $ac_status); } &&
4618           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4619    { (eval echo "$as_me:4625: \"$ac_try\"") >&5    { (eval echo "$as_me:4619: \"$ac_try\"") >&5
4620    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4621    ac_status=$?    ac_status=$?
4622    echo "$as_me:4628: \$? = $ac_status" >&5    echo "$as_me:4622: \$? = $ac_status" >&5
4623    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4624    ac_cv_member_struct_tm_tm_zone=yes    ac_cv_member_struct_tm_tm_zone=yes
4625  else  else
# Line 4635  ac_cv_member_struct_tm_tm_zone=no Line 4629  ac_cv_member_struct_tm_tm_zone=no
4629  fi  fi
4630  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4631  fi  fi
4632  echo "$as_me:4638: result: $ac_cv_member_struct_tm_tm_zone" >&5  echo "$as_me:4632: result: $ac_cv_member_struct_tm_tm_zone" >&5
4633  echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6  echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
4634  if test $ac_cv_member_struct_tm_tm_zone = yes; then  if test $ac_cv_member_struct_tm_tm_zone = yes; then
4635    
# Line 4652  cat >>confdefs.h <<\EOF Line 4646  cat >>confdefs.h <<\EOF
4646  EOF  EOF
4647    
4648  else  else
4649    echo "$as_me:4655: checking for tzname" >&5    echo "$as_me:4649: checking for tzname" >&5
4650  echo $ECHO_N "checking for tzname... $ECHO_C" >&6  echo $ECHO_N "checking for tzname... $ECHO_C" >&6
4651  if test "${ac_cv_var_tzname+set}" = set; then  if test "${ac_cv_var_tzname+set}" = set; then
4652    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4653  else  else
4654    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4655  #line 4661 "configure"  #line 4655 "configure"
4656  #include "confdefs.h"  #include "confdefs.h"
4657  #include <time.h>  #include <time.h>
4658  #ifndef tzname /* For SGI.  */  #ifndef tzname /* For SGI.  */
# Line 4674  atoi(*tzname); Line 4668  atoi(*tzname);
4668  }  }
4669  _ACEOF  _ACEOF
4670  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
4671  if { (eval echo "$as_me:4677: \"$ac_link\"") >&5  if { (eval echo "$as_me:4671: \"$ac_link\"") >&5
4672    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
4673    ac_status=$?    ac_status=$?
4674    echo "$as_me:4680: \$? = $ac_status" >&5    echo "$as_me:4674: \$? = $ac_status" >&5
4675    (exit $ac_status); } &&    (exit $ac_status); } &&
4676           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
4677    { (eval echo "$as_me:4683: \"$ac_try\"") >&5    { (eval echo "$as_me:4677: \"$ac_try\"") >&5
4678    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4679    ac_status=$?    ac_status=$?
4680    echo "$as_me:4686: \$? = $ac_status" >&5    echo "$as_me:4680: \$? = $ac_status" >&5
4681    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4682    ac_cv_var_tzname=yes    ac_cv_var_tzname=yes
4683  else  else
# Line 4693  ac_cv_var_tzname=no Line 4687  ac_cv_var_tzname=no
4687  fi  fi
4688  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4689  fi  fi
4690  echo "$as_me:4696: result: $ac_cv_var_tzname" >&5  echo "$as_me:4690: result: $ac_cv_var_tzname" >&5
4691  echo "${ECHO_T}$ac_cv_var_tzname" >&6  echo "${ECHO_T}$ac_cv_var_tzname" >&6
4692    if test $ac_cv_var_tzname = yes; then    if test $ac_cv_var_tzname = yes; then
4693    
# Line 4704  EOF Line 4698  EOF
4698    fi    fi
4699  fi  fi
4700    
4701  echo "$as_me:4707: checking for tm_gmtoff in struct tm" >&5  echo "$as_me:4701: checking for tm_gmtoff in struct tm" >&5
4702  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
4703  if test "${emacs_cv_tm_gmtoff+set}" = set; then  if test "${emacs_cv_tm_gmtoff+set}" = set; then
4704    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4705  else  else
4706    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4707  #line 4713 "configure"  #line 4707 "configure"
4708  #include "confdefs.h"  #include "confdefs.h"
4709  #include <time.h>  #include <time.h>
4710  int  int
# Line 4722  struct tm t; t.tm_gmtoff = 0 Line 4716  struct tm t; t.tm_gmtoff = 0
4716  }  }
4717  _ACEOF  _ACEOF
4718  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
4719  if { (eval echo "$as_me:4725: \"$ac_link\"") >&5  if { (eval echo "$as_me:4719: \"$ac_link\"") >&5
4720    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
4721    ac_status=$?    ac_status=$?
4722    echo "$as_me:4728: \$? = $ac_status" >&5    echo "$as_me:4722: \$? = $ac_status" >&5
4723    (exit $ac_status); } &&    (exit $ac_status); } &&
4724           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
4725    { (eval echo "$as_me:4731: \"$ac_try\"") >&5    { (eval echo "$as_me:4725: \"$ac_try\"") >&5
4726    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4727    ac_status=$?    ac_status=$?
4728    echo "$as_me:4734: \$? = $ac_status" >&5    echo "$as_me:4728: \$? = $ac_status" >&5
4729    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4730    emacs_cv_tm_gmtoff=yes    emacs_cv_tm_gmtoff=yes
4731  else  else
# Line 4741  emacs_cv_tm_gmtoff=no Line 4735  emacs_cv_tm_gmtoff=no
4735  fi  fi
4736  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4737  fi  fi
4738  echo "$as_me:4744: result: $emacs_cv_tm_gmtoff" >&5  echo "$as_me:4738: result: $emacs_cv_tm_gmtoff" >&5
4739  echo "${ECHO_T}$emacs_cv_tm_gmtoff" >&6  echo "${ECHO_T}$emacs_cv_tm_gmtoff" >&6
4740  if test $emacs_cv_tm_gmtoff = yes; then  if test $emacs_cv_tm_gmtoff = yes; then
4741    cat >>confdefs.h <<\EOF    cat >>confdefs.h <<\EOF
# Line 4750  EOF Line 4744  EOF
4744    
4745  fi  fi
4746    
4747  echo "$as_me:4753: checking for $CC option to accept ANSI C" >&5  echo "$as_me:4747: checking for $CC option to accept ANSI C" >&5
4748  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
4749  if test "${ac_cv_prog_cc_stdc+set}" = set; then  if test "${ac_cv_prog_cc_stdc+set}" = set; then
4750    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4758  else Line 4752  else
4752    ac_cv_prog_cc_stdc=no    ac_cv_prog_cc_stdc=no
4753  ac_save_CC=$CC  ac_save_CC=$CC
4754  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
4755  #line 4761 "configure"  #line 4755 "configure"
4756  #include "confdefs.h"  #include "confdefs.h"
4757  #include <stdarg.h>  #include <stdarg.h>
4758  #include <stdio.h>  #include <stdio.h>
# Line 4807  for ac_arg in "" -qlanglvl=ansi -std1 -A Line 4801  for ac_arg in "" -qlanglvl=ansi -std1 -A
4801  do  do
4802    CC="$ac_save_CC $ac_arg"    CC="$ac_save_CC $ac_arg"
4803    rm -f conftest.$ac_objext    rm -f conftest.$ac_objext
4804  if { (eval echo "$as_me:4810: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4804: \"$ac_compile\"") >&5
4805    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4806    ac_status=$?    ac_status=$?
4807    echo "$as_me:4813: \$? = $ac_status" >&5    echo "$as_me:4807: \$? = $ac_status" >&5
4808    (exit $ac_status); } &&    (exit $ac_status); } &&
4809           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4810    { (eval echo "$as_me:4816: \"$ac_try\"") >&5    { (eval echo "$as_me:4810: \"$ac_try\"") >&5
4811    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4812    ac_status=$?    ac_status=$?
4813    echo "$as_me:4819: \$? = $ac_status" >&5    echo "$as_me:4813: \$? = $ac_status" >&5
4814    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4815    ac_cv_prog_cc_stdc=$ac_arg    ac_cv_prog_cc_stdc=$ac_arg
4816  break  break
# Line 4833  fi Line 4827  fi
4827    
4828  case "x$ac_cv_prog_cc_stdc" in  case "x$ac_cv_prog_cc_stdc" in
4829    x|xno)    x|xno)
4830      echo "$as_me:4836: result: none needed" >&5      echo "$as_me:4830: result: none needed" >&5
4831  echo "${ECHO_T}none needed" >&6 ;;  echo "${ECHO_T}none needed" >&6 ;;
4832    *)    *)
4833      echo "$as_me:4839: result: $ac_cv_prog_cc_stdc" >&5      echo "$as_me:4833: result: $ac_cv_prog_cc_stdc" >&5
4834  echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6  echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4835      CC="$CC $ac_cv_prog_cc_stdc" ;;      CC="$CC $ac_cv_prog_cc_stdc" ;;
4836  esac  esac
4837    
4838  echo "$as_me:4844: checking for function prototypes" >&5  echo "$as_me:4838: checking for function prototypes" >&5
4839  echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6  echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
4840  if test "$ac_cv_prog_cc_stdc" != no; then  if test "$ac_cv_prog_cc_stdc" != no; then
4841    echo "$as_me:4847: result: yes" >&5    echo "$as_me:4841: result: yes" >&5
4842  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
4843    
4844  cat >>confdefs.h <<\EOF  cat >>confdefs.h <<\EOF
# Line 4852  cat >>confdefs.h <<\EOF Line 4846  cat >>confdefs.h <<\EOF
4846  EOF  EOF
4847    
4848  else  else
4849    echo "$as_me:4855: result: no" >&5    echo "$as_me:4849: result: no" >&5
4850  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
4851  fi  fi
4852    
4853  echo "$as_me:4859: checking for working volatile" >&5  echo "$as_me:4853: checking for working volatile" >&5
4854  echo $ECHO_N "checking for working volatile... $ECHO_C" >&6  echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
4855  if test "${ac_cv_c_volatile+set}" = set; then  if test "${ac_cv_c_volatile+set}" = set; then
4856    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4857  else  else
4858    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4859  #line 4865 "configure"  #line 4859 "configure"
4860  #include "confdefs.h"  #include "confdefs.h"
4861    
4862  int  int
# Line 4876  int * volatile y; Line 4870  int * volatile y;
4870  }  }
4871  _ACEOF  _ACEOF
4872  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4873  if { (eval echo "$as_me:4879: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4873: \"$ac_compile\"") >&5
4874    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4875    ac_status=$?    ac_status=$?
4876    echo "$as_me:4882: \$? = $ac_status" >&5    echo "$as_me:4876: \$? = $ac_status" >&5
4877    (exit $ac_status); } &&    (exit $ac_status); } &&
4878           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4879    { (eval echo "$as_me:4885: \"$ac_try\"") >&5    { (eval echo "$as_me:4879: \"$ac_try\"") >&5
4880    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4881    ac_status=$?    ac_status=$?
4882    echo "$as_me:4888: \$? = $ac_status" >&5    echo "$as_me:4882: \$? = $ac_status" >&5
4883    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4884    ac_cv_c_volatile=yes    ac_cv_c_volatile=yes
4885  else  else
# Line 4895  ac_cv_c_volatile=no Line 4889  ac_cv_c_volatile=no
4889  fi  fi
4890  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4891  fi  fi
4892  echo "$as_me:4898: result: $ac_cv_c_volatile" >&5  echo "$as_me:4892: result: $ac_cv_c_volatile" >&5
4893  echo "${ECHO_T}$ac_cv_c_volatile" >&6  echo "${ECHO_T}$ac_cv_c_volatile" >&6
4894  if test $ac_cv_c_volatile = no; then  if test $ac_cv_c_volatile = no; then
4895    
# Line 4905  EOF Line 4899  EOF
4899    
4900  fi  fi
4901    
4902  echo "$as_me:4908: checking for an ANSI C-conforming const" >&5  echo "$as_me:4902: checking for an ANSI C-conforming const" >&5
4903  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
4904  if test "${ac_cv_c_const+set}" = set; then  if test "${ac_cv_c_const+set}" = set; then
4905    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4906  else  else
4907    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4908  #line 4914 "configure"  #line 4908 "configure"
4909  #include "confdefs.h"  #include "confdefs.h"
4910    
4911  int  int
# Line 4969  main () Line 4963  main ()
4963  }  }
4964  _ACEOF  _ACEOF
4965  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4966  if { (eval echo "$as_me:4972: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4966: \"$ac_compile\"") >&5
4967    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4968    ac_status=$?    ac_status=$?
4969    echo "$as_me:4975: \$? = $ac_status" >&5    echo "$as_me:4969: \$? = $ac_status" >&5
4970    (exit $ac_status); } &&    (exit $ac_status); } &&
4971           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4972    { (eval echo "$as_me:4978: \"$ac_try\"") >&5    { (eval echo "$as_me:4972: \"$ac_try\"") >&5
4973    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4974    ac_status=$?    ac_status=$?
4975    echo "$as_me:4981: \$? = $ac_status" >&5    echo "$as_me:4975: \$? = $ac_status" >&5
4976    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4977    ac_cv_c_const=yes    ac_cv_c_const=yes
4978  else  else
# Line 4988  ac_cv_c_const=no Line 4982  ac_cv_c_const=no
4982  fi  fi
4983  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4984  fi  fi
4985  echo "$as_me:4991: result: $ac_cv_c_const" >&5  echo "$as_me:4985: result: $ac_cv_c_const" >&5
4986  echo "${ECHO_T}$ac_cv_c_const" >&6  echo "${ECHO_T}$ac_cv_c_const" >&6
4987  if test $ac_cv_c_const = no; then  if test $ac_cv_c_const = no; then
4988    
# Line 4998  EOF Line 4992  EOF
4992    
4993  fi  fi
4994    
4995  echo "$as_me:5001: checking for void * support" >&5  echo "$as_me:4995: checking for void * support" >&5
4996  echo $ECHO_N "checking for void * support... $ECHO_C" >&6  echo $ECHO_N "checking for void * support... $ECHO_C" >&6
4997  if test "${emacs_cv_void_star+set}" = set; then  if test "${emacs_cv_void_star+set}" = set; then
4998    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4999  else  else
5000    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5001  #line 5007 "configure"  #line 5001 "configure"
5002  #include "confdefs.h"  #include "confdefs.h"
5003    
5004  int  int
# Line 5016  void * foo; Line 5010  void * foo;
5010  }  }
5011  _ACEOF  _ACEOF
5012  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
5013  if { (eval echo "$as_me:5019: \"$ac_compile\"") >&5  if { (eval echo "$as_me:5013: \"$ac_compile\"") >&5
5014    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
5015    ac_status=$?    ac_status=$?
5016    echo "$as_me:5022: \$? = $ac_status" >&5    echo "$as_me:5016: \$? = $ac_status" >&5
5017    (exit $ac_status); } &&    (exit $ac_status); } &&
5018           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
5019    { (eval echo "$as_me:5025: \"$ac_try\"") >&5    { (eval echo "$as_me:5019: \"$ac_try\"") >&5
5020    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5021    ac_status=$?    ac_status=$?
5022    echo "$as_me:5028: \$? = $ac_status" >&5    echo "$as_me:5022: \$? = $ac_status" >&5
5023    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5024    emacs_cv_void_star=yes    emacs_cv_void_star=yes
5025  else  else
# Line 5035  emacs_cv_void_star=no Line 5029  emacs_cv_void_star=no
5029  fi  fi
5030  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
5031  fi  fi
5032  echo "$as_me:5038: result: $emacs_cv_void_star" >&5  echo "$as_me:5032: result: $emacs_cv_void_star" >&5
5033  echo "${ECHO_T}$emacs_cv_void_star" >&6  echo "${ECHO_T}$emacs_cv_void_star" >&6
5034  if test $emacs_cv_void_star = yes; then  if test $emacs_cv_void_star = yes; then
5035    cat >>confdefs.h <<\EOF    cat >>confdefs.h <<\EOF
# Line 5049  EOF Line 5043  EOF
5043    
5044  fi  fi
5045    
5046  echo "$as_me:5052: checking whether ${MAKE-make} sets \${MAKE}" >&5  echo "$as_me:5046: checking whether ${MAKE-make} sets \${MAKE}" >&5
5047  echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6  echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
5048  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
5049  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 5069  fi Line 5063  fi
5063  rm -f conftest.make  rm -f conftest.make
5064  fi  fi
5065  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
5066    echo "$as_me:5072: result: yes" >&5    echo "$as_me:5066: result: yes" >&5
5067  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
5068    SET_MAKE=    SET_MAKE=
5069  else  else
5070    echo "$as_me:5076: result: no" >&5    echo "$as_me:5070: result: no" >&5
5071  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
5072    SET_MAKE="MAKE=${MAKE-make}"    SET_MAKE="MAKE=${MAKE-make}"
5073  fi  fi
5074    
5075  echo "$as_me:5081: checking for long file names" >&5  echo "$as_me:5075: checking for long file names" >&5
5076  echo $ECHO_N "checking for long file names... $ECHO_C" >&6  echo $ECHO_N "checking for long file names... $ECHO_C" >&6
5077  if test "${ac_cv_sys_long_file_names+set}" = set; then  if test "${ac_cv_sys_long_file_names+set}" = set; then
5078    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5117  for ac_dir in  . $ac_tmpdirs `eval echo Line 5111  for ac_dir in  . $ac_tmpdirs `eval echo
5111    rm -rf $ac_xdir 2>/dev/null    rm -rf $ac_xdir 2>/dev/null
5112  done  done
5113  fi  fi
5114  echo "$as_me:5120: result: $ac_cv_sys_long_file_names" >&5  echo "$as_me:5114: result: $ac_cv_sys_long_file_names" >&5
5115  echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6  echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6
5116  if test $ac_cv_sys_long_file_names = yes; then  if test $ac_cv_sys_long_file_names = yes; then
5117    
# Line 5129  fi Line 5123  fi
5123    
5124  #### Choose a window system.  #### Choose a window system.
5125    
5126  echo "$as_me:5132: checking for X" >&5  echo "$as_me:5126: checking for X" >&5
5127  echo $ECHO_N "checking for X... $ECHO_C" >&6  echo $ECHO_N "checking for X... $ECHO_C" >&6
5128    
5129  # Check whether --with-x or --without-x was given.  # Check whether --with-x or --without-x was given.
# Line 5226  if test "$ac_x_includes" = no; then Line 5220  if test "$ac_x_includes" = no; then
5220    # Guess where to find include files, by looking for Intrinsic.h.    # Guess where to find include files, by looking for Intrinsic.h.
5221    # First, try using that file with no special directory specified.    # First, try using that file with no special directory specified.
5222    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5223  #line 5229 "configure"  #line 5223 "configure"
5224  #include "confdefs.h"  #include "confdefs.h"
5225  #include <X11/Intrinsic.h>  #include <X11/Intrinsic.h>
5226  _ACEOF  _ACEOF
5227  if { (eval echo "$as_me:5233: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:5227: \"$ac_cpp conftest.$ac_ext\"") >&5
5228    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5229    ac_status=$?    ac_status=$?
5230    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
5231    rm -f conftest.er1    rm -f conftest.er1
5232    cat conftest.err >&5    cat conftest.err >&5
5233    echo "$as_me:5239: \$? = $ac_status" >&5    echo "$as_me:5233: \$? = $ac_status" >&5
5234    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
5235    if test -s conftest.err; then    if test -s conftest.err; then
5236      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 5269  if test "$ac_x_libraries" = no; then Line 5263  if test "$ac_x_libraries" = no; then
5263    ac_save_LIBS=$LIBS    ac_save_LIBS=$LIBS
5264    LIBS="-lXt $LIBS"    LIBS="-lXt $LIBS"
5265    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5266  #line 5272 "configure"  #line 5266 "configure"
5267  #include "confdefs.h"  #include "confdefs.h"
5268  #include <X11/Intrinsic.h>  #include <X11/Intrinsic.h>
5269  int  int
# Line 5281  XtMalloc (0) Line 5275  XtMalloc (0)
5275  }  }
5276  _ACEOF  _ACEOF
5277  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
5278  if { (eval echo "$as_me:5284: \"$ac_link\"") >&5  if { (eval echo "$as_me:5278: \"$ac_link\"") >&5
5279    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
5280    ac_status=$?    ac_status=$?
5281    echo "$as_me:5287: \$? = $ac_status" >&5    echo "$as_me:5281: \$? = $ac_status" >&5
5282    (exit $ac_status); } &&    (exit $ac_status); } &&
5283           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
5284    { (eval echo "$as_me:5290: \"$ac_try\"") >&5    { (eval echo "$as_me:5284: \"$ac_try\"") >&5
5285    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5286    ac_status=$?    ac_status=$?
5287    echo "$as_me:5293: \$? = $ac_status" >&5    echo "$as_me:5287: \$? = $ac_status" >&5
5288    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5289    LIBS=$ac_save_LIBS    LIBS=$ac_save_LIBS
5290  # We can link X programs with no special library path.  # We can link X programs with no special library path.
# Line 5328  fi Line 5322  fi
5322  fi # $with_x != no  fi # $with_x != no
5323    
5324  if test "$have_x" != yes; then  if test "$have_x" != yes; then
5325    echo "$as_me:5331: result: $have_x" >&5    echo "$as_me:5325: result: $have_x" >&5
5326  echo "${ECHO_T}$have_x" >&6  echo "${ECHO_T}$have_x" >&6
5327    no_x=yes    no_x=yes
5328  else  else
# Line 5338  else Line 5332  else
5332    # Update the cache value to reflect the command line values.    # Update the cache value to reflect the command line values.
5333    ac_cv_have_x="have_x=yes \    ac_cv_have_x="have_x=yes \
5334                  ac_x_includes=$x_includes ac_x_libraries=$x_libraries"                  ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
5335    echo "$as_me:5341: result: libraries $x_libraries, headers $x_includes" >&5    echo "$as_me:5335: result: libraries $x_libraries, headers $x_includes" >&5
5336  echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6  echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
5337  fi  fi
5338    
# Line 5436  UNEXEC_SRC="`echo ${unexec} | sed 's/\.o Line 5430  UNEXEC_SRC="`echo ${unexec} | sed 's/\.o
5430  # Assume not, until told otherwise.  # Assume not, until told otherwise.
5431  GNU_MALLOC=yes  GNU_MALLOC=yes
5432  doug_lea_malloc=yes  doug_lea_malloc=yes
5433  echo "$as_me:5439: checking for malloc_get_state" >&5  echo "$as_me:5433: checking for malloc_get_state" >&5
5434  echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6  echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6
5435  if test "${ac_cv_func_malloc_get_state+set}" = set; then  if test "${ac_cv_func_malloc_get_state+set}" = set; then
5436    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5437  else  else
5438    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5439  #line 5445 "configure"  #line 5439 "configure"
5440  #include "confdefs.h"  #include "confdefs.h"
5441  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5442      which can conflict with char malloc_get_state (); below.  */      which can conflict with char malloc_get_state (); below.  */
# Line 5473  f = malloc_get_state; Line 5467  f = malloc_get_state;
5467  }  }
5468  _ACEOF  _ACEOF
5469  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
5470  if { (eval echo "$as_me:5476: \"$ac_link\"") >&5  if { (eval echo "$as_me:5470: \"$ac_link\"") >&5
5471    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
5472    ac_status=$?    ac_status=$?
5473    echo "$as_me:5479: \$? = $ac_status" >&5    echo "$as_me:5473: \$? = $ac_status" >&5
5474    (exit $ac_status); } &&    (exit $ac_status); } &&
5475           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
5476    { (eval echo "$as_me:5482: \"$ac_try\"") >&5    { (eval echo "$as_me:5476: \"$ac_try\"") >&5
5477    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5478    ac_status=$?    ac_status=$?
5479    echo "$as_me:5485: \$? = $ac_status" >&5    echo "$as_me:5479: \$? = $ac_status" >&5
5480    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5481    ac_cv_func_malloc_get_state=yes    ac_cv_func_malloc_get_state=yes
5482  else  else
# Line 5492  ac_cv_func_malloc_get_state=no Line 5486  ac_cv_func_malloc_get_state=no
5486  fi  fi
5487  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5488  fi  fi
5489  echo "$as_me:5495: result: $ac_cv_func_malloc_get_state" >&5  echo "$as_me:5489: result: $ac_cv_func_malloc_get_state" >&5
5490  echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6  echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6
5491  if test $ac_cv_func_malloc_get_state = yes; then  if test $ac_cv_func_malloc_get_state = yes; then
5492    :    :
# Line 5500  else Line 5494  else
5494    doug_lea_malloc=no    doug_lea_malloc=no
5495  fi  fi
5496    
5497  echo "$as_me:5503: checking for malloc_set_state" >&5  echo "$as_me:5497: checking for malloc_set_state" >&5
5498  echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6  echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6
5499  if test "${ac_cv_func_malloc_set_state+set}" = set; then  if test "${ac_cv_func_malloc_set_state+set}" = set; then
5500    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5501  else  else
5502    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5503  #line 5509 "configure"  #line 5503 "configure"
5504  #include "confdefs.h"  #include "confdefs.h"
5505  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5506      which can conflict with char malloc_set_state (); below.  */      which can conflict with char malloc_set_state (); below.  */
# Line 5537  f = malloc_set_state; Line 5531  f = malloc_set_state;
5531  }  }
5532  _ACEOF  _ACEOF
5533  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
5534  if { (eval echo "$as_me:5540: \"$ac_link\"") >&5  if { (eval echo "$as_me:5534: \"$ac_link\"") >&5
5535    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
5536    ac_status=$?    ac_status=$?
5537    echo "$as_me:5543: \$? = $ac_status" >&5    echo "$as_me:5537: \$? = $ac_status" >&5
5538    (exit $ac_status); } &&    (exit $ac_status); } &&
5539           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
5540    { (eval echo "$as_me:5546: \"$ac_try\"") >&5    { (eval echo "$as_me:5540: \"$ac_try\"") >&5
5541    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5542    ac_status=$?    ac_status=$?
5543    echo "$as_me:5549: \$? = $ac_status" >&5    echo "$as_me:5543: \$? = $ac_status" >&5
5544    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5545    ac_cv_func_malloc_set_state=yes    ac_cv_func_malloc_set_state=yes
5546  else  else
# Line 5556  ac_cv_func_malloc_set_state=no Line 5550  ac_cv_func_malloc_set_state=no
5550  fi  fi
5551  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5552  fi  fi
5553  echo "$as_me:5559: result: $ac_cv_func_malloc_set_state" >&5  echo "$as_me:5553: result: $ac_cv_func_malloc_set_state" >&5
5554  echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6  echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6
5555  if test $ac_cv_func_malloc_set_state = yes; then  if test $ac_cv_func_malloc_set_state = yes; then
5556    :    :
# Line 5564  else Line 5558  else
5558    doug_lea_malloc=no    doug_lea_malloc=no
5559  fi  fi
5560    
5561  echo "$as_me:5567: checking whether __after_morecore_hook exists" >&5  echo "$as_me:5561: checking whether __after_morecore_hook exists" >&5
5562  echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6  echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6
5563  if test "${emacs_cv_var___after_morecore_hook+set}" = set; then  if test "${emacs_cv_var___after_morecore_hook+set}" = set; then
5564    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5565  else  else
5566    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5567  #line 5573 "configure"  #line 5567 "configure"
5568  #include "confdefs.h"  #include "confdefs.h"
5569  extern void (* __after_morecore_hook)();  extern void (* __after_morecore_hook)();
5570  int  int
# Line 5582  __after_morecore_hook = 0 Line 5576  __after_morecore_hook = 0
5576  }  }
5577  _ACEOF  _ACEOF
5578  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
5579  if { (eval echo "$as_me:5585: \"$ac_link\"") >&5  if { (eval echo "$as_me:5579: \"$ac_link\"") >&5
5580    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
5581    ac_status=$?    ac_status=$?
5582    echo "$as_me:5588: \$? = $ac_status" >&5    echo "$as_me:5582: \$? = $ac_status" >&5
5583    (exit $ac_status); } &&    (exit $ac_status); } &&
5584           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
5585    { (eval echo "$as_me:5591: \"$ac_try\"") >&5    { (eval echo "$as_me:5585: \"$ac_try\"") >&5
5586    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5587    ac_status=$?    ac_status=$?
5588    echo "$as_me:5594: \$? = $ac_status" >&5    echo "$as_me:5588: \$? = $ac_status" >&5
5589    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5590    emacs_cv_var___after_morecore_hook=yes    emacs_cv_var___after_morecore_hook=yes
5591  else  else
# Line 5601  emacs_cv_var___after_morecore_hook=no Line 5595  emacs_cv_var___after_morecore_hook=no
5595  fi  fi
5596  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5597  fi  fi
5598  echo "$as_me:5604: result: $emacs_cv_var___after_morecore_hook" >&5  echo "$as_me:5598: result: $emacs_cv_var___after_morecore_hook" >&5
5599  echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6  echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6
5600  if test $emacs_cv_var___after_morecore_hook = no; then  if test $emacs_cv_var___after_morecore_hook = no; then
5601    doug_lea_malloc=no    doug_lea_malloc=no
# Line 5632  for ac_header in sys/types.h sys/stat.h Line 5626  for ac_header in sys/types.h sys/stat.h
5626                    inttypes.h stdint.h unistd.h                    inttypes.h stdint.h unistd.h
5627  do  do
5628  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5629  echo "$as_me:5635: checking for $ac_header" >&5  echo "$as_me:5629: checking for $ac_header" >&5
5630  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5631  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
5632    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5633  else  else
5634    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5635  #line 5641 "configure"  #line 5635 "configure"
5636  #include "confdefs.h"  #include "confdefs.h"
5637  $ac_includes_default  $ac_includes_default
5638  #include <$ac_header>  #include <$ac_header>
5639  _ACEOF  _ACEOF
5640  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
5641  if { (eval echo "$as_me:5647: \"$ac_compile\"") >&5  if { (eval echo "$as_me:5641: \"$ac_compile\"") >&5
5642    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
5643    ac_status=$?    ac_status=$?
5644    echo "$as_me:5650: \$? = $ac_status" >&5    echo "$as_me:5644: \$? = $ac_status" >&5
5645    (exit $ac_status); } &&    (exit $ac_status); } &&
5646           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
5647    { (eval echo "$as_me:5653: \"$ac_try\"") >&5    { (eval echo "$as_me:5647: \"$ac_try\"") >&5
5648    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5649    ac_status=$?    ac_status=$?
5650    echo "$as_me:5656: \$? = $ac_status" >&5    echo "$as_me:5650: \$? = $ac_status" >&5
5651    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5652    eval "$as_ac_Header=yes"    eval "$as_ac_Header=yes"
5653  else  else
# Line 5663  eval "$as_ac_Header=no" Line 5657  eval "$as_ac_Header=no"
5657  fi  fi
5658  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
5659  fi  fi
5660  echo "$as_me:5666: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:5660: result: `eval echo '${'$as_ac_Header'}'`" >&5
5661  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5662  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
5663    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 5676  done Line 5670  done
5670  for ac_header in stdlib.h unistd.h  for ac_header in stdlib.h unistd.h
5671  do  do
5672  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5673  echo "$as_me:5679: checking for $ac_header" >&5  echo "$as_me:5673: checking for $ac_header" >&5
5674  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5675  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
5676    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5677  else  else
5678    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5679  #line 5685 "configure"  #line 5679 "configure"
5680  #include "confdefs.h"  #include "confdefs.h"
5681  #include <$ac_header>  #include <$ac_header>
5682  _ACEOF  _ACEOF
5683  if { (eval echo "$as_me:5689: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:5683: \"$ac_cpp conftest.$ac_ext\"") >&5
5684    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5685    ac_status=$?    ac_status=$?
5686    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
5687    rm -f conftest.er1    rm -f conftest.er1
5688    cat conftest.err >&5    cat conftest.err >&5
5689    echo "$as_me:5695: \$? = $ac_status" >&5    echo "$as_me:5689: \$? = $ac_status" >&5
5690    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
5691    if test -s conftest.err; then    if test -s conftest.err; then
5692      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 5711  else Line 5705  else
5705  fi  fi
5706  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
5707  fi  fi
5708  echo "$as_me:5714: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:5708: result: `eval echo '${'$as_ac_Header'}'`" >&5
5709  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5710  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
5711    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 5724  done Line 5718  done
5718  for ac_func in getpagesize  for ac_func in getpagesize
5719  do  do
5720  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5721  echo "$as_me:5727: checking for $ac_func" >&5  echo "$as_me:5721: checking for $ac_func" >&5
5722  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5723  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
5724    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5725  else  else
5726    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5727  #line 5733 "configure"  #line 5727 "configure"
5728  #include "confdefs.h"  #include "confdefs.h"
5729  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5730      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 5761  f = $ac_func; Line 5755  f = $ac_func;
5755  }  }
5756  _ACEOF  _ACEOF
5757  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
5758  if { (eval echo "$as_me:5764: \"$ac_link\"") >&5  if { (eval echo "$as_me:5758: \"$ac_link\"") >&5
5759    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
5760    ac_status=$?    ac_status=$?
5761    echo "$as_me:5767: \$? = $ac_status" >&5    echo "$as_me:5761: \$? = $ac_status" >&5
5762    (exit $ac_status); } &&    (exit $ac_status); } &&
5763           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
5764    { (eval echo "$as_me:5770: \"$ac_try\"") >&5    { (eval echo "$as_me:5764: \"$ac_try\"") >&5
5765    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5766    ac_status=$?    ac_status=$?
5767    echo "$as_me:5773: \$? = $ac_status" >&5    echo "$as_me:5767: \$? = $ac_status" >&5
5768    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5769    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
5770  else  else
# Line 5780  eval "$as_ac_var=no" Line 5774  eval "$as_ac_var=no"
5774  fi  fi
5775  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5776  fi  fi
5777  echo "$as_me:5783: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:5777: result: `eval echo '${'$as_ac_var'}'`" >&5
5778  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5779  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
5780    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 5790  EOF Line 5784  EOF
5784  fi  fi
5785  done  done
5786    
5787  echo "$as_me:5793: checking for working mmap" >&5  echo "$as_me:5787: checking for working mmap" >&5
5788  echo $ECHO_N "checking for working mmap... $ECHO_C" >&6  echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
5789  if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then  if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
5790    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5799  else Line 5793  else
5793    ac_cv_func_mmap_fixed_mapped=no    ac_cv_func_mmap_fixed_mapped=no
5794  else  else
5795    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5796  #line 5802 "configure"  #line 5796 "configure"
5797  #include "confdefs.h"  #include "confdefs.h"
5798  $ac_includes_default  $ac_includes_default
5799  /* Thanks to Mike Haertel and Jim Avera for this test.  /* Thanks to Mike Haertel and Jim Avera for this test.
# Line 5926  main () Line 5920  main ()
5920  }  }
5921  _ACEOF  _ACEOF
5922  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
5923  if { (eval echo "$as_me:5929: \"$ac_link\"") >&5  if { (eval echo "$as_me:5923: \"$ac_link\"") >&5
5924    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
5925    ac_status=$?    ac_status=$?
5926    echo "$as_me:5932: \$? = $ac_status" >&5    echo "$as_me:5926: \$? = $ac_status" >&5
5927    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5928    { (eval echo "$as_me:5934: \"$ac_try\"") >&5    { (eval echo "$as_me:5928: \"$ac_try\"") >&5
5929    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5930    ac_status=$?    ac_status=$?
5931    echo "$as_me:5937: \$? = $ac_status" >&5    echo "$as_me:5931: \$? = $ac_status" >&5
5932    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5933    ac_cv_func_mmap_fixed_mapped=yes    ac_cv_func_mmap_fixed_mapped=yes
5934  else  else
# Line 5946  fi Line 5940  fi
5940  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
5941  fi  fi
5942  fi  fi
5943  echo "$as_me:5949: result: $ac_cv_func_mmap_fixed_mapped" >&5  echo "$as_me:5943: result: $ac_cv_func_mmap_fixed_mapped" >&5
5944  echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6  echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
5945  if test $ac_cv_func_mmap_fixed_mapped = yes; then  if test $ac_cv_func_mmap_fixed_mapped = yes; then
5946    
# Line 5963  fi Line 5957  fi
5957    
5958  LIBS="$libsrc_libs $LIBS"  LIBS="$libsrc_libs $LIBS"
5959    
5960  echo "$as_me:5966: checking for dnet_ntoa in -ldnet" >&5  echo "$as_me:5960: checking for dnet_ntoa in -ldnet" >&5
5961  echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6  echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
5962  if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then  if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
5963    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5971  else Line 5965  else
5965    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
5966  LIBS="-ldnet  $LIBS"  LIBS="-ldnet  $LIBS"
5967  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
5968  #line 5974 "configure"  #line 5968 "configure"
5969  #include "confdefs.h"  #include "confdefs.h"
5970    
5971  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 5990  dnet_ntoa (); Line 5984  dnet_ntoa ();
5984  }  }
5985  _ACEOF  _ACEOF
5986  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
5987  if { (eval echo "$as_me:5993: \"$ac_link\"") >&5  if { (eval echo "$as_me:5987: \"$ac_link\"") >&5
5988    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
5989    ac_status=$?    ac_status=$?
5990    echo "$as_me:5996: \$? = $ac_status" >&5    echo "$as_me:5990: \$? = $ac_status" >&5
5991    (exit $ac_status); } &&    (exit $ac_status); } &&
5992           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
5993    { (eval echo "$as_me:5999: \"$ac_try\"") >&5    { (eval echo "$as_me:5993: \"$ac_try\"") >&5
5994    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5995    ac_status=$?    ac_status=$?
5996    echo "$as_me:6002: \$? = $ac_status" >&5    echo "$as_me:5996: \$? = $ac_status" >&5
5997    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5998    ac_cv_lib_dnet_dnet_ntoa=yes    ac_cv_lib_dnet_dnet_ntoa=yes
5999  else  else
# Line 6010  fi Line 6004  fi
6004  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6005  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
6006  fi  fi
6007  echo "$as_me:6013: result: $ac_cv_lib_dnet_dnet_ntoa" >&5  echo "$as_me:6007: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
6008  echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6  echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
6009  if test $ac_cv_lib_dnet_dnet_ntoa = yes; then  if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
6010    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 6021  EOF Line 6015  EOF
6015    
6016  fi  fi
6017    
6018  echo "$as_me:6024: checking for main in -lXbsd" >&5  echo "$as_me:6018: checking for main in -lXbsd" >&5
6019  echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6  echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6
6020  if test "${ac_cv_lib_Xbsd_main+set}" = set; then  if test "${ac_cv_lib_Xbsd_main+set}" = set; then
6021    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6029  else Line 6023  else
6023    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
6024  LIBS="-lXbsd  $LIBS"  LIBS="-lXbsd  $LIBS"
6025  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
6026  #line 6032 "configure"  #line 6026 "configure"
6027  #include "confdefs.h"  #include "confdefs.h"
6028    
6029  int  int
# Line 6041  main (); Line 6035  main ();
6035  }  }
6036  _ACEOF  _ACEOF
6037  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6038  if { (eval echo "$as_me:6044: \"$ac_link\"") >&5  if { (eval echo "$as_me:6038: \"$ac_link\"") >&5
6039    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6040    ac_status=$?    ac_status=$?
6041    echo "$as_me:6047: \$? = $ac_status" >&5    echo "$as_me:6041: \$? = $ac_status" >&5
6042    (exit $ac_status); } &&    (exit $ac_status); } &&
6043           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6044    { (eval echo "$as_me:6050: \"$ac_try\"") >&5    { (eval echo "$as_me:6044: \"$ac_try\"") >&5
6045    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6046    ac_status=$?    ac_status=$?
6047    echo "$as_me:6053: \$? = $ac_status" >&5    echo "$as_me:6047: \$? = $ac_status" >&5
6048    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6049    ac_cv_lib_Xbsd_main=yes    ac_cv_lib_Xbsd_main=yes
6050  else  else
# Line 6061  fi Line 6055  fi
6055  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6056  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
6057  fi  fi
6058  echo "$as_me:6064: result: $ac_cv_lib_Xbsd_main" >&5  echo "$as_me:6058: result: $ac_cv_lib_Xbsd_main" >&5
6059  echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6  echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6
6060  if test $ac_cv_lib_Xbsd_main = yes; then  if test $ac_cv_lib_Xbsd_main = yes; then
6061    LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd"    LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd"
6062  fi  fi
6063    
6064  echo "$as_me:6070: checking for cma_open in -lpthreads" >&5  echo "$as_me:6064: checking for cma_open in -lpthreads" >&5
6065  echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6  echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6
6066  if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then  if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then
6067    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6075  else Line 6069  else
6069    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
6070  LIBS="-lpthreads  $LIBS"  LIBS="-lpthreads  $LIBS"
6071  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
6072  #line 6078 "configure"  #line 6072 "configure"
6073  #include "confdefs.h"  #include "confdefs.h"
6074    
6075  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 6094  cma_open (); Line 6088  cma_open ();
6088  }  }
6089  _ACEOF  _ACEOF
6090  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6091  if { (eval echo "$as_me:6097: \"$ac_link\"") >&5  if { (eval echo "$as_me:6091: \"$ac_link\"") >&5
6092    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6093    ac_status=$?    ac_status=$?
6094    echo "$as_me:6100: \$? = $ac_status" >&5    echo "$as_me:6094: \$? = $ac_status" >&5
6095    (exit $ac_status); } &&    (exit $ac_status); } &&
6096           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6097    { (eval echo "$as_me:6103: \"$ac_try\"") >&5    { (eval echo "$as_me:6097: \"$ac_try\"") >&5
6098    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6099    ac_status=$?    ac_status=$?
6100    echo "$as_me:6106: \$? = $ac_status" >&5    echo "$as_me:6100: \$? = $ac_status" >&5
6101    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6102    ac_cv_lib_pthreads_cma_open=yes    ac_cv_lib_pthreads_cma_open=yes
6103  else  else
# Line 6114  fi Line 6108  fi
6108  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6109  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
6110  fi  fi
6111  echo "$as_me:6117: result: $ac_cv_lib_pthreads_cma_open" >&5  echo "$as_me:6111: result: $ac_cv_lib_pthreads_cma_open" >&5
6112  echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6  echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6
6113  if test $ac_cv_lib_pthreads_cma_open = yes; then  if test $ac_cv_lib_pthreads_cma_open = yes; then
6114    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 6125  EOF Line 6119  EOF
6119    
6120  fi  fi
6121    
6122  echo "$as_me:6128: checking for XFree86 in /usr/X386" >&5  echo "$as_me:6122: checking for XFree86 in /usr/X386" >&5
6123  echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6  echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6
6124  if test -d /usr/X386/include; then  if test -d /usr/X386/include; then
6125    HAVE_XFREE386=yes    HAVE_XFREE386=yes
# Line 6133  if test -d /usr/X386/include; then Line 6127  if test -d /usr/X386/include; then
6127  else  else
6128    HAVE_XFREE386=no    HAVE_XFREE386=no
6129  fi  fi
6130  echo "$as_me:6136: result: $HAVE_XFREE386" >&5  echo "$as_me:6130: result: $HAVE_XFREE386" >&5
6131  echo "${ECHO_T}$HAVE_XFREE386" >&6  echo "${ECHO_T}$HAVE_XFREE386" >&6
6132    
6133  # Change CFLAGS temporarily so that C_SWITCH_X_SITE gets used  # Change CFLAGS temporarily so that C_SWITCH_X_SITE gets used
# Line 6158  if test "${HAVE_X11}" = "yes"; then Line 6152  if test "${HAVE_X11}" = "yes"; then
6152    fi    fi
6153    
6154    if test "${opsys}" = "gnu-linux"; then    if test "${opsys}" = "gnu-linux"; then
6155      echo "$as_me:6161: checking whether X on GNU/Linux needs -b to link" >&5      echo "$as_me:6155: checking whether X on GNU/Linux needs -b to link" >&5
6156  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
6157      cat >conftest.$ac_ext <<_ACEOF      cat >conftest.$ac_ext <<_ACEOF
6158  #line 6164 "configure"  #line 6158 "configure"
6159  #include "confdefs.h"  #include "confdefs.h"
6160    
6161  int  int
# Line 6173  XOpenDisplay ("foo"); Line 6167  XOpenDisplay ("foo");
6167  }  }
6168  _ACEOF  _ACEOF
6169  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6170  if { (eval echo "$as_me:6176: \"$ac_link\"") >&5  if { (eval echo "$as_me:6170: \"$ac_link\"") >&5
6171    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6172    ac_status=$?    ac_status=$?
6173    echo "$as_me:6179: \$? = $ac_status" >&5    echo "$as_me:6173: \$? = $ac_status" >&5
6174    (exit $ac_status); } &&    (exit $ac_status); } &&
6175           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6176    { (eval echo "$as_me:6182: \"$ac_try\"") >&5    { (eval echo "$as_me:6176: \"$ac_try\"") >&5
6177    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6178    ac_status=$?    ac_status=$?
6179    echo "$as_me:6185: \$? = $ac_status" >&5    echo "$as_me:6179: \$? = $ac_status" >&5
6180    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6181    xlinux_first_failure=no    xlinux_first_failure=no
6182  else  else
# Line 6201  rm -f conftest.$ac_objext conftest$ac_ex Line 6195  rm -f conftest.$ac_objext conftest$ac_ex
6195        CPPFLAGS="$CPPFLAGS -b i486-linuxaout"        CPPFLAGS="$CPPFLAGS -b i486-linuxaout"
6196        LIBS="$LIBS -b i486-linuxaout"        LIBS="$LIBS -b i486-linuxaout"
6197        cat >conftest.$ac_ext <<_ACEOF        cat >conftest.$ac_ext <<_ACEOF
6198  #line 6204 "configure"  #line 6198 "configure"
6199  #include "confdefs.h"  #include "confdefs.h"
6200    
6201  int  int
# Line 6213  XOpenDisplay ("foo"); Line 6207  XOpenDisplay ("foo");
6207  }  }
6208  _ACEOF  _ACEOF
6209  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6210  if { (eval echo "$as_me:6216: \"$ac_link\"") >&5  if { (eval echo "$as_me:6210: \"$ac_link\"") >&5
6211    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6212    ac_status=$?    ac_status=$?
6213    echo "$as_me:6219: \$? = $ac_status" >&5    echo "$as_me:6213: \$? = $ac_status" >&5
6214    (exit $ac_status); } &&    (exit $ac_status); } &&
6215           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6216    { (eval echo "$as_me:6222: \"$ac_try\"") >&5    { (eval echo "$as_me:6216: \"$ac_try\"") >&5
6217    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6218    ac_status=$?    ac_status=$?
6219    echo "$as_me:6225: \$? = $ac_status" >&5    echo "$as_me:6219: \$? = $ac_status" >&5
6220    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6221    xlinux_second_failure=no    xlinux_second_failure=no
6222  else  else
# Line 6238  rm -f conftest.$ac_objext conftest$ac_ex Line 6232  rm -f conftest.$ac_objext conftest$ac_ex
6232          C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE"          C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE"
6233          CPPFLAGS="$OLD_CPPFLAGS"          CPPFLAGS="$OLD_CPPFLAGS"
6234          LIBS="$OLD_LIBS"          LIBS="$OLD_LIBS"
6235          echo "$as_me:6241: result: no" >&5          echo "$as_me:6235: result: no" >&5
6236  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
6237        else        else
6238          echo "$as_me:6244: result: yes" >&5          echo "$as_me:6238: result: yes" >&5
6239  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
6240        fi        fi
6241      else      else
6242        echo "$as_me:6248: result: no" >&5        echo "$as_me:6242: result: no" >&5
6243  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
6244      fi      fi
6245    fi    fi
6246    
6247    # Reportedly, some broken Solaris systems have XKBlib.h but are missing    # Reportedly, some broken Solaris systems have XKBlib.h but are missing
6248    # header files included from there.    # header files included from there.
6249    echo "$as_me:6255: checking for Xkb" >&5    echo "$as_me:6249: checking for Xkb" >&5
6250  echo $ECHO_N "checking for Xkb... $ECHO_C" >&6  echo $ECHO_N "checking for Xkb... $ECHO_C" >&6
6251    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6252  #line 6258 "configure"  #line 6252 "configure"
6253  #include "confdefs.h"  #include "confdefs.h"
6254  #include <X11/Xlib.h>  #include <X11/Xlib.h>
6255  #include <X11/XKBlib.h>  #include <X11/XKBlib.h>
# Line 6268  XkbDescPtr kb = XkbGetKeyboard (0, XkbAl Line 6262  XkbDescPtr kb = XkbGetKeyboard (0, XkbAl
6262  }  }
6263  _ACEOF  _ACEOF
6264  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6265  if { (eval echo "$as_me:6271: \"$ac_link\"") >&5  if { (eval echo "$as_me:6265: \"$ac_link\"") >&5
6266    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6267    ac_status=$?    ac_status=$?
6268    echo "$as_me:6274: \$? = $ac_status" >&5    echo "$as_me:6268: \$? = $ac_status" >&5
6269    (exit $ac_status); } &&    (exit $ac_status); } &&
6270           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6271    { (eval echo "$as_me:6277: \"$ac_try\"") >&5    { (eval echo "$as_me:6271: \"$ac_try\"") >&5
6272    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6273    ac_status=$?    ac_status=$?
6274    echo "$as_me:6280: \$? = $ac_status" >&5    echo "$as_me:6274: \$? = $ac_status" >&5
6275    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6276    emacs_xkb=yes    emacs_xkb=yes
6277  else  else
# Line 6286  cat conftest.$ac_ext >&5 Line 6280  cat conftest.$ac_ext >&5
6280  emacs_xkb=no  emacs_xkb=no
6281  fi  fi
6282  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6283    echo "$as_me:6289: result: $emacs_xkb" >&5    echo "$as_me:6283: result: $emacs_xkb" >&5
6284  echo "${ECHO_T}$emacs_xkb" >&6  echo "${ECHO_T}$emacs_xkb" >&6
6285    if test $emacs_xkb = yes; then    if test $emacs_xkb = yes; then
6286      cat >>confdefs.h <<\EOF      cat >>confdefs.h <<\EOF
# Line 6299  for ac_func in XrmSetDatabase XScreenRes Line 6293  for ac_func in XrmSetDatabase XScreenRes
6293  XScreenNumberOfScreen XSetWMProtocols  XScreenNumberOfScreen XSetWMProtocols
6294  do  do
6295  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6296  echo "$as_me:6302: checking for $ac_func" >&5  echo "$as_me:6296: checking for $ac_func" >&5
6297  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6298  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
6299    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6300  else  else
6301    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6302  #line 6308 "configure"  #line 6302 "configure"
6303  #include "confdefs.h"  #include "confdefs.h"
6304  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6305      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 6336  f = $ac_func; Line 6330  f = $ac_func;
6330  }  }
6331  _ACEOF  _ACEOF
6332  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6333  if { (eval echo "$as_me:6339: \"$ac_link\"") >&5  if { (eval echo "$as_me:6333: \"$ac_link\"") >&5
6334    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6335    ac_status=$?    ac_status=$?
6336    echo "$as_me:6342: \$? = $ac_status" >&5    echo "$as_me:6336: \$? = $ac_status" >&5
6337    (exit $ac_status); } &&    (exit $ac_status); } &&
6338           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6339    { (eval echo "$as_me:6345: \"$ac_try\"") >&5    { (eval echo "$as_me:6339: \"$ac_try\"") >&5
6340    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6341    ac_status=$?    ac_status=$?
6342    echo "$as_me:6348: \$? = $ac_status" >&5    echo "$as_me:6342: \$? = $ac_status" >&5
6343    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6344    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
6345  else  else
# Line 6355  eval "$as_ac_var=no" Line 6349  eval "$as_ac_var=no"
6349  fi  fi
6350  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6351  fi  fi
6352  echo "$as_me:6358: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:6352: result: `eval echo '${'$as_ac_var'}'`" >&5
6353  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6354  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
6355    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 6368  done Line 6362  done
6362  fi  fi
6363    
6364  if test "${window_system}" = "x11"; then  if test "${window_system}" = "x11"; then
6365    echo "$as_me:6371: checking X11 version 6" >&5    echo "$as_me:6365: checking X11 version 6" >&5
6366  echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6  echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6
6367    if test "${emacs_cv_x11_version_6+set}" = set; then    if test "${emacs_cv_x11_version_6+set}" = set; then
6368    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6369  else  else
6370    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6371  #line 6377 "configure"  #line 6371 "configure"
6372  #include "confdefs.h"  #include "confdefs.h"
6373  #include <X11/Xlib.h>  #include <X11/Xlib.h>
6374  int  int
# Line 6389  fail; Line 6383  fail;
6383  }  }
6384  _ACEOF  _ACEOF
6385  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6386  if { (eval echo "$as_me:6392: \"$ac_link\"") >&5  if { (eval echo "$as_me:6386: \"$ac_link\"") >&5
6387    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6388    ac_status=$?    ac_status=$?
6389    echo "$as_me:6395: \$? = $ac_status" >&5    echo "$as_me:6389: \$? = $ac_status" >&5
6390    (exit $ac_status); } &&    (exit $ac_status); } &&
6391           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6392    { (eval echo "$as_me:6398: \"$ac_try\"") >&5    { (eval echo "$as_me:6392: \"$ac_try\"") >&5
6393    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6394    ac_status=$?    ac_status=$?
6395    echo "$as_me:6401: \$? = $ac_status" >&5    echo "$as_me:6395: \$? = $ac_status" >&5
6396    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6397    emacs_cv_x11_version_6=yes    emacs_cv_x11_version_6=yes
6398  else  else
# Line 6410  rm -f conftest.$ac_objext conftest$ac_ex Line 6404  rm -f conftest.$ac_objext conftest$ac_ex
6404  fi  fi
6405    
6406    if test $emacs_cv_x11_version_6 = yes; then    if test $emacs_cv_x11_version_6 = yes; then
6407      echo "$as_me:6413: result: 6 or newer" >&5      echo "$as_me:6407: result: 6 or newer" >&5
6408  echo "${ECHO_T}6 or newer" >&6  echo "${ECHO_T}6 or newer" >&6
6409      cat >>confdefs.h <<\EOF      cat >>confdefs.h <<\EOF
6410  #define HAVE_X11R6 1  #define HAVE_X11R6 1
6411  EOF  EOF
6412    
6413    else    else
6414      echo "$as_me:6420: result: before 6" >&5      echo "$as_me:6414: result: before 6" >&5
6415  echo "${ECHO_T}before 6" >&6  echo "${ECHO_T}before 6" >&6
6416    fi    fi
6417  fi  fi
6418    
6419  if test "${window_system}" = "x11"; then  if test "${window_system}" = "x11"; then
6420    echo "$as_me:6426: checking X11 version 5" >&5    echo "$as_me:6420: checking X11 version 5" >&5
6421  echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6  echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6
6422    if test "${emacs_cv_x11_version_5+set}" = set; then    if test "${emacs_cv_x11_version_5+set}" = set; then
6423    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6424  else  else
6425    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6426  #line 6432 "configure"  #line 6426 "configure"
6427  #include "confdefs.h"  #include "confdefs.h"
6428  #include <X11/Xlib.h>  #include <X11/Xlib.h>
6429  int  int
# Line 6444  fail; Line 6438  fail;
6438  }  }
6439  _ACEOF  _ACEOF
6440  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6441  if { (eval echo "$as_me:6447: \"$ac_link\"") >&5  if { (eval echo "$as_me:6441: \"$ac_link\"") >&5
6442    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6443    ac_status=$?    ac_status=$?
6444    echo "$as_me:6450: \$? = $ac_status" >&5    echo "$as_me:6444: \$? = $ac_status" >&5
6445    (exit $ac_status); } &&    (exit $ac_status); } &&
6446           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6447    { (eval echo "$as_me:6453: \"$ac_try\"") >&5    { (eval echo "$as_me:6447: \"$ac_try\"") >&5
6448    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6449    ac_status=$?    ac_status=$?
6450    echo "$as_me:6456: \$? = $ac_status" >&5    echo "$as_me:6450: \$? = $ac_status" >&5
6451    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6452    emacs_cv_x11_version_5=yes    emacs_cv_x11_version_5=yes
6453  else  else
# Line 6465  rm -f conftest.$ac_objext conftest$ac_ex Line 6459  rm -f conftest.$ac_objext conftest$ac_ex
6459  fi  fi
6460    
6461    if test $emacs_cv_x11_version_5 = yes; then    if test $emacs_cv_x11_version_5 = yes; then
6462      echo "$as_me:6468: result: 5 or newer" >&5      echo "$as_me:6462: result: 5 or newer" >&5
6463  echo "${ECHO_T}5 or newer" >&6  echo "${ECHO_T}5 or newer" >&6
6464      HAVE_X11R5=yes      HAVE_X11R5=yes
6465      cat >>confdefs.h <<\EOF      cat >>confdefs.h <<\EOF
# Line 6474  EOF Line 6468  EOF
6468    
6469    else    else
6470      HAVE_X11R5=no      HAVE_X11R5=no
6471      echo "$as_me:6477: result: before 5" >&5      echo "$as_me:6471: result: before 5" >&5
6472  echo "${ECHO_T}before 5" >&6  echo "${ECHO_T}before 5" >&6
6473    fi    fi
6474  fi  fi
6475    
6476  if test x"${USE_X_TOOLKIT}" = xmaybe; then  if test x"${USE_X_TOOLKIT}" = xmaybe; then
6477    if test x"${HAVE_X11R5}" = xyes; then    if test x"${HAVE_X11R5}" = xyes; then
6478      echo "$as_me:6484: checking X11 version 5 with Xaw" >&5      echo "$as_me:6478: checking X11 version 5 with Xaw" >&5
6479  echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6  echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6
6480      if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then      if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then
6481    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6482  else  else
6483    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6484  #line 6490 "configure"  #line 6484 "configure"
6485  #include "confdefs.h"  #include "confdefs.h"
6486    
6487  #include <X11/Intrinsic.h>  #include <X11/Intrinsic.h>
# Line 6501  main () Line 6495  main ()
6495  }  }
6496  _ACEOF  _ACEOF
6497  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6498  if { (eval echo "$as_me:6504: \"$ac_link\"") >&5  if { (eval echo "$as_me:6498: \"$ac_link\"") >&5
6499    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6500    ac_status=$?    ac_status=$?
6501    echo "$as_me:6507: \$? = $ac_status" >&5    echo "$as_me:6501: \$? = $ac_status" >&5
6502    (exit $ac_status); } &&    (exit $ac_status); } &&
6503           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6504    { (eval echo "$as_me:6510: \"$ac_try\"") >&5    { (eval echo "$as_me:6504: \"$ac_try\"") >&5
6505    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6506    ac_status=$?    ac_status=$?
6507    echo "$as_me:6513: \$? = $ac_status" >&5    echo "$as_me:6507: \$? = $ac_status" >&5
6508    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6509    emacs_cv_x11_version_5_with_xaw=yes    emacs_cv_x11_version_5_with_xaw=yes
6510  else  else
# Line 6522  rm -f conftest.$ac_objext conftest$ac_ex Line 6516  rm -f conftest.$ac_objext conftest$ac_ex
6516  fi  fi
6517    
6518      if test $emacs_cv_x11_version_5_with_xaw = yes; then      if test $emacs_cv_x11_version_5_with_xaw = yes; then
6519        echo "$as_me:6525: result: 5 or newer, with Xaw; use toolkit by default" >&5        echo "$as_me:6519: result: 5 or newer, with Xaw; use toolkit by default" >&5
6520  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
6521        USE_X_TOOLKIT=LUCID        USE_X_TOOLKIT=LUCID
6522      else      else
6523        echo "$as_me:6529: result: before 5 or no Xaw; do not use toolkit by default" >&5        echo "$as_me:6523: result: before 5 or no Xaw; do not use toolkit by default" >&5
6524  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
6525        USE_X_TOOLKIT=none        USE_X_TOOLKIT=none
6526      fi      fi
# Line 6538  fi Line 6532  fi
6532  X_TOOLKIT_TYPE=$USE_X_TOOLKIT  X_TOOLKIT_TYPE=$USE_X_TOOLKIT
6533    
6534  if test "${USE_X_TOOLKIT}" != "none"; then  if test "${USE_X_TOOLKIT}" != "none"; then
6535    echo "$as_me:6541: checking X11 toolkit version" >&5    echo "$as_me:6535: checking X11 toolkit version" >&5
6536  echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6  echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6
6537    if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then    if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then
6538    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6539  else  else
6540    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6541  #line 6547 "configure"  #line 6541 "configure"
6542  #include "confdefs.h"  #include "confdefs.h"
6543  #include <X11/Intrinsic.h>  #include <X11/Intrinsic.h>
6544  int  int
# Line 6559  fail; Line 6553  fail;
6553  }  }
6554  _ACEOF  _ACEOF
6555  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6556  if { (eval echo "$as_me:6562: \"$ac_link\"") >&5  if { (eval echo "$as_me:6556: \"$ac_link\"") >&5
6557    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6558    ac_status=$?    ac_status=$?
6559    echo "$as_me:6565: \$? = $ac_status" >&5    echo "$as_me:6559: \$? = $ac_status" >&5
6560    (exit $ac_status); } &&    (exit $ac_status); } &&
6561           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6562    { (eval echo "$as_me:6568: \"$ac_try\"") >&5    { (eval echo "$as_me:6562: \"$ac_try\"") >&5
6563    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6564    ac_status=$?    ac_status=$?
6565    echo "$as_me:6571: \$? = $ac_status" >&5    echo "$as_me:6565: \$? = $ac_status" >&5
6566    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6567    emacs_cv_x11_toolkit_version_6=yes    emacs_cv_x11_toolkit_version_6=yes
6568  else  else
# Line 6581  fi Line 6575  fi
6575    
6576    HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6    HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6
6577    if test $emacs_cv_x11_toolkit_version_6 = yes; then    if test $emacs_cv_x11_toolkit_version_6 = yes; then
6578      echo "$as_me:6584: result: 6 or newer" >&5      echo "$as_me:6578: result: 6 or newer" >&5
6579  echo "${ECHO_T}6 or newer" >&6  echo "${ECHO_T}6 or newer" >&6
6580      cat >>confdefs.h <<\EOF      cat >>confdefs.h <<\EOF
6581  #define HAVE_X11XTR6 1  #define HAVE_X11XTR6 1
6582  EOF  EOF
6583    
6584    else    else
6585      echo "$as_me:6591: result: before 6" >&5      echo "$as_me:6585: result: before 6" >&5
6586  echo "${ECHO_T}before 6" >&6  echo "${ECHO_T}before 6" >&6
6587    fi    fi
6588    
# Line 6599  echo "${ECHO_T}before 6" >&6 Line 6593  echo "${ECHO_T}before 6" >&6
6593      LIBS="-lXt $LIBS"      LIBS="-lXt $LIBS"
6594    fi    fi
6595    
6596  echo "$as_me:6602: checking for XmuConvertStandardSelection in -lXmu" >&5  echo "$as_me:6596: checking for XmuConvertStandardSelection in -lXmu" >&5
6597  echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6  echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6
6598  if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then  if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then
6599    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6607  else Line 6601  else
6601    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
6602  LIBS="-lXmu  $LIBS"  LIBS="-lXmu  $LIBS"
6603  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
6604  #line 6610 "configure"  #line 6604 "configure"
6605  #include "confdefs.h"  #include "confdefs.h"
6606    
6607  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 6626  XmuConvertStandardSelection (); Line 6620  XmuConvertStandardSelection ();
6620  }  }
6621  _ACEOF  _ACEOF
6622  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6623  if { (eval echo "$as_me:6629: \"$ac_link\"") >&5  if { (eval echo "$as_me:6623: \"$ac_link\"") >&5
6624    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6625    ac_status=$?    ac_status=$?
6626    echo "$as_me:6632: \$? = $ac_status" >&5    echo "$as_me:6626: \$? = $ac_status" >&5
6627    (exit $ac_status); } &&    (exit $ac_status); } &&
6628           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6629    { (eval echo "$as_me:6635: \"$ac_try\"") >&5    { (eval echo "$as_me:6629: \"$ac_try\"") >&5
6630    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6631    ac_status=$?    ac_status=$?
6632    echo "$as_me:6638: \$? = $ac_status" >&5    echo "$as_me:6632: \$? = $ac_status" >&5
6633    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6634    ac_cv_lib_Xmu_XmuConvertStandardSelection=yes    ac_cv_lib_Xmu_XmuConvertStandardSelection=yes
6635  else  else
# Line 6646  fi Line 6640  fi
6640  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6641  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
6642  fi  fi
6643  echo "$as_me:6649: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5  echo "$as_me:6643: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5
6644  echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6  echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6
6645  if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then  if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then
6646    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 6664  fi Line 6658  fi
6658  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
6659    if test "${USE_X_TOOLKIT}" != "none"; then    if test "${USE_X_TOOLKIT}" != "none"; then
6660    
6661  echo "$as_me:6667: checking for XShapeQueryExtension in -lXext" >&5  echo "$as_me:6661: checking for XShapeQueryExtension in -lXext" >&5
6662  echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6  echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
6663  if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then  if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
6664    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6672  else Line 6666  else
6666    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
6667  LIBS="-lXext  $LIBS"  LIBS="-lXext  $LIBS"
6668  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
6669  #line 6675 "configure"  #line 6669 "configure"
6670  #include "confdefs.h"  #include "confdefs.h"
6671    
6672  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 6691  XShapeQueryExtension (); Line 6685  XShapeQueryExtension ();
6685  }  }
6686  _ACEOF  _ACEOF
6687  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6688  if { (eval echo "$as_me:6694: \"$ac_link\"") >&5  if { (eval echo "$as_me:6688: \"$ac_link\"") >&5
6689    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6690    ac_status=$?    ac_status=$?
6691    echo "$as_me:6697: \$? = $ac_status" >&5    echo "$as_me:6691: \$? = $ac_status" >&5
6692    (exit $ac_status); } &&    (exit $ac_status); } &&
6693           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6694    { (eval echo "$as_me:6700: \"$ac_try\"") >&5    { (eval echo "$as_me:6694: \"$ac_try\"") >&5
6695    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6696    ac_status=$?    ac_status=$?
6697    echo "$as_me:6703: \$? = $ac_status" >&5    echo "$as_me:6697: \$? = $ac_status" >&5
6698    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6699    ac_cv_lib_Xext_XShapeQueryExtension=yes    ac_cv_lib_Xext_XShapeQueryExtension=yes
6700  else  else
# Line 6711  fi Line 6705  fi
6705  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6706  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
6707  fi  fi
6708  echo "$as_me:6714: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5  echo "$as_me:6708: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
6709  echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6  echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
6710  if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then  if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
6711    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 6726  fi Line 6720  fi
6720  fi  fi
6721    
6722  if test "${USE_X_TOOLKIT}" = "MOTIF"; then  if test "${USE_X_TOOLKIT}" = "MOTIF"; then
6723    echo "$as_me:6729: checking for Motif version 2.1" >&5    echo "$as_me:6723: checking for Motif version 2.1" >&5
6724  echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6  echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6
6725  if test "${emacs_cv_motif_version_2_1+set}" = set; then  if test "${emacs_cv_motif_version_2_1+set}" = set; then
6726    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6727  else  else
6728    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6729  #line 6735 "configure"  #line 6729 "configure"
6730  #include "confdefs.h"  #include "confdefs.h"
6731  #include <Xm/Xm.h>  #include <Xm/Xm.h>
6732  int  int
# Line 6748  Motif version prior to 2.1. Line 6742  Motif version prior to 2.1.
6742  }  }
6743  _ACEOF  _ACEOF
6744  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
6745  if { (eval echo "$as_me:6751: \"$ac_compile\"") >&5  if { (eval echo "$as_me:6745: \"$ac_compile\"") >&5
6746    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
6747    ac_status=$?    ac_status=$?
6748    echo "$as_me:6754: \$? = $ac_status" >&5    echo "$as_me:6748: \$? = $ac_status" >&5
6749    (exit $ac_status); } &&    (exit $ac_status); } &&
6750           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
6751    { (eval echo "$as_me:6757: \"$ac_try\"") >&5    { (eval echo "$as_me:6751: \"$ac_try\"") >&5
6752    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6753    ac_status=$?    ac_status=$?
6754    echo "$as_me:6760: \$? = $ac_status" >&5    echo "$as_me:6754: \$? = $ac_status" >&5
6755    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6756    emacs_cv_motif_version_2_1=yes    emacs_cv_motif_version_2_1=yes
6757  else  else
# Line 6767  emacs_cv_motif_version_2_1=no Line 6761  emacs_cv_motif_version_2_1=no
6761  fi  fi
6762  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
6763  fi  fi
6764  echo "$as_me:6770: result: $emacs_cv_motif_version_2_1" >&5  echo "$as_me:6764: result: $emacs_cv_motif_version_2_1" >&5
6765  echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6  echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6
6766    HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1    HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1
6767    if test $emacs_cv_motif_version_2_1 = yes; then    if test $emacs_cv_motif_version_2_1 = yes; then
# Line 6776  echo "${ECHO_T}$emacs_cv_motif_version_2 Line 6770  echo "${ECHO_T}$emacs_cv_motif_version_2
6770  #define HAVE_MOTIF_2_1 1  #define HAVE_MOTIF_2_1 1
6771  EOF  EOF
6772    
6773      echo "$as_me:6779: checking for XpCreateContext in -lXp" >&5      echo "$as_me:6773: checking for XpCreateContext in -lXp" >&5
6774  echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6  echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6
6775  if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then  if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then
6776    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6784  else Line 6778  else
6778    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
6779  LIBS="-lXp  $LIBS"  LIBS="-lXp  $LIBS"
6780  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
6781  #line 6787 "configure"  #line 6781 "configure"
6782  #include "confdefs.h"  #include "confdefs.h"
6783    
6784  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 6803  XpCreateContext (); Line 6797  XpCreateContext ();
6797  }  }
6798  _ACEOF  _ACEOF
6799  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6800  if { (eval echo "$as_me:6806: \"$ac_link\"") >&5  if { (eval echo "$as_me:6800: \"$ac_link\"") >&5
6801    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6802    ac_status=$?    ac_status=$?
6803    echo "$as_me:6809: \$? = $ac_status" >&5    echo "$as_me:6803: \$? = $ac_status" >&5
6804    (exit $ac_status); } &&    (exit $ac_status); } &&
6805           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6806    { (eval echo "$as_me:6812: \"$ac_try\"") >&5    { (eval echo "$as_me:6806: \"$ac_try\"") >&5
6807    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6808    ac_status=$?    ac_status=$?
6809    echo "$as_me:6815: \$? = $ac_status" >&5    echo "$as_me:6809: \$? = $ac_status" >&5
6810    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6811    ac_cv_lib_Xp_XpCreateContext=yes    ac_cv_lib_Xp_XpCreateContext=yes
6812  else  else
# Line 6823  fi Line 6817  fi
6817  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6818  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
6819  fi  fi
6820  echo "$as_me:6826: result: $ac_cv_lib_Xp_XpCreateContext" >&5  echo "$as_me:6820: result: $ac_cv_lib_Xp_XpCreateContext" >&5
6821  echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6  echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6
6822  if test $ac_cv_lib_Xp_XpCreateContext = yes; then  if test $ac_cv_lib_Xp_XpCreateContext = yes; then
6823    HAVE_LIBXP=yes    HAVE_LIBXP=yes
# Line 6842  fi Line 6836  fi
6836  HAVE_XAW3D=no  HAVE_XAW3D=no
6837  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
6838    if test "${USE_X_TOOLKIT}" != "none"; then    if test "${USE_X_TOOLKIT}" != "none"; then
6839      echo "$as_me:6845: checking for X11/Xaw3d/Scrollbar.h" >&5      echo "$as_me:6839: checking for X11/Xaw3d/Scrollbar.h" >&5
6840  echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6  echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6
6841  if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then  if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then
6842    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6843  else  else
6844    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6845  #line 6851 "configure"  #line 6845 "configure"
6846  #include "confdefs.h"  #include "confdefs.h"
6847  #include <X11/Xaw3d/Scrollbar.h>  #include <X11/Xaw3d/Scrollbar.h>
6848  _ACEOF  _ACEOF
6849  if { (eval echo "$as_me:6855: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:6849: \"$ac_cpp conftest.$ac_ext\"") >&5
6850    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6851    ac_status=$?    ac_status=$?
6852    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
6853    rm -f conftest.er1    rm -f conftest.er1
6854    cat conftest.err >&5    cat conftest.err >&5
6855    echo "$as_me:6861: \$? = $ac_status" >&5    echo "$as_me:6855: \$? = $ac_status" >&5
6856    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
6857    if test -s conftest.err; then    if test -s conftest.err; then
6858      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 6877  else Line 6871  else
6871  fi  fi
6872  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
6873  fi  fi
6874  echo "$as_me:6880: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5  echo "$as_me:6874: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5
6875  echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6  echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6
6876  if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then  if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then
6877    echo "$as_me:6883: checking for XawScrollbarSetThumb in -lXaw3d" >&5    echo "$as_me:6877: checking for XawScrollbarSetThumb in -lXaw3d" >&5
6878  echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6  echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6
6879  if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then  if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then
6880    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6888  else Line 6882  else
6882    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
6883  LIBS="-lXaw3d  $LIBS"  LIBS="-lXaw3d  $LIBS"
6884  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
6885  #line 6891 "configure"  #line 6885 "configure"
6886  #include "confdefs.h"  #include "confdefs.h"
6887    
6888  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 6907  XawScrollbarSetThumb (); Line 6901  XawScrollbarSetThumb ();
6901  }  }
6902  _ACEOF  _ACEOF
6903  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6904  if { (eval echo "$as_me:6910: \"$ac_link\"") >&5  if { (eval echo "$as_me:6904: \"$ac_link\"") >&5
6905    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6906    ac_status=$?    ac_status=$?
6907    echo "$as_me:6913: \$? = $ac_status" >&5    echo "$as_me:6907: \$? = $ac_status" >&5
6908    (exit $ac_status); } &&    (exit $ac_status); } &&
6909           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6910    { (eval echo "$as_me:6916: \"$ac_try\"") >&5    { (eval echo "$as_me:6910: \"$ac_try\"") >&5
6911    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6912    ac_status=$?    ac_status=$?
6913    echo "$as_me:6919: \$? = $ac_status" >&5    echo "$as_me:6913: \$? = $ac_status" >&5
6914    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6915    ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes    ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes
6916  else  else
# Line 6927  fi Line 6921  fi
6921  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6922  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
6923  fi  fi
6924  echo "$as_me:6930: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5  echo "$as_me:6924: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5
6925  echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6  echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6
6926  if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then  if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then
6927    HAVE_XAW3D=yes    HAVE_XAW3D=yes
# Line 6975  fi Line 6969  fi
6969  HAVE_XPM=no  HAVE_XPM=no
6970  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
6971    if test "${with_xpm}" != "no"; then    if test "${with_xpm}" != "no"; then
6972      echo "$as_me:6978: checking for X11/xpm.h" >&5      echo "$as_me:6972: checking for X11/xpm.h" >&5
6973  echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6  echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
6974  if test "${ac_cv_header_X11_xpm_h+set}" = set; then  if test "${ac_cv_header_X11_xpm_h+set}" = set; then
6975    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6976  else  else
6977    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6978  #line 6984 "configure"  #line 6978 "configure"
6979  #include "confdefs.h"  #include "confdefs.h"
6980  #include <X11/xpm.h>  #include <X11/xpm.h>
6981  _ACEOF  _ACEOF
6982  if { (eval echo "$as_me:6988: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:6982: \"$ac_cpp conftest.$ac_ext\"") >&5
6983    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6984    ac_status=$?    ac_status=$?
6985    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
6986    rm -f conftest.er1    rm -f conftest.er1
6987    cat conftest.err >&5    cat conftest.err >&5
6988    echo "$as_me:6994: \$? = $ac_status" >&5    echo "$as_me:6988: \$? = $ac_status" >&5
6989    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
6990    if test -s conftest.err; then    if test -s conftest.err; then
6991      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 7010  else Line 7004  else
7004  fi  fi
7005  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
7006  fi  fi
7007  echo "$as_me:7013: result: $ac_cv_header_X11_xpm_h" >&5  echo "$as_me:7007: result: $ac_cv_header_X11_xpm_h" >&5
7008  echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6  echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6
7009  if test $ac_cv_header_X11_xpm_h = yes; then  if test $ac_cv_header_X11_xpm_h = yes; then
7010    echo "$as_me:7016: checking for XpmReadFileToPixmap in -lXpm" >&5    echo "$as_me:7010: checking for XpmReadFileToPixmap in -lXpm" >&5
7011  echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6  echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6
7012  if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then  if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then
7013    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7021  else Line 7015  else
7015    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7016  LIBS="-lXpm -lX11 $LIBS"  LIBS="-lXpm -lX11 $LIBS"
7017  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7018  #line 7024 "configure"  #line 7018 "configure"
7019  #include "confdefs.h"  #include "confdefs.h"
7020    
7021  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 7040  XpmReadFileToPixmap (); Line 7034  XpmReadFileToPixmap ();
7034  }  }
7035  _ACEOF  _ACEOF
7036  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7037  if { (eval echo "$as_me:7043: \"$ac_link\"") >&5  if { (eval echo "$as_me:7037: \"$ac_link\"") >&5
7038    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7039    ac_status=$?    ac_status=$?
7040    echo "$as_me:7046: \$? = $ac_status" >&5    echo "$as_me:7040: \$? = $ac_status" >&5
7041    (exit $ac_status); } &&    (exit $ac_status); } &&
7042           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7043    { (eval echo "$as_me:7049: \"$ac_try\"") >&5    { (eval echo "$as_me:7043: \"$ac_try\"") >&5
7044    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7045    ac_status=$?    ac_status=$?
7046    echo "$as_me:7052: \$? = $ac_status" >&5    echo "$as_me:7046: \$? = $ac_status" >&5
7047    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7048    ac_cv_lib_Xpm_XpmReadFileToPixmap=yes    ac_cv_lib_Xpm_XpmReadFileToPixmap=yes
7049  else  else
# Line 7060  fi Line 7054  fi
7054  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7055  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7056  fi  fi
7057  echo "$as_me:7063: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5  echo "$as_me:7057: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
7058  echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6  echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6
7059  if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then  if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then
7060    HAVE_XPM=yes    HAVE_XPM=yes
# Line 7069  fi Line 7063  fi
7063  fi  fi
7064    
7065      if test "${HAVE_XPM}" = "yes"; then      if test "${HAVE_XPM}" = "yes"; then
7066        echo "$as_me:7072: checking for XpmReturnAllocPixels preprocessor define" >&5        echo "$as_me:7066: checking for XpmReturnAllocPixels preprocessor define" >&5
7067  echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6  echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6
7068        cat >conftest.$ac_ext <<_ACEOF        cat >conftest.$ac_ext <<_ACEOF
7069  #line 7075 "configure"  #line 7069 "configure"
7070  #include "confdefs.h"  #include "confdefs.h"
7071  #include "X11/xpm.h"  #include "X11/xpm.h"
7072  #ifndef XpmReturnAllocPixels  #ifndef XpmReturnAllocPixels
# Line 7089  fi Line 7083  fi
7083  rm -f conftest*  rm -f conftest*
7084    
7085        if test "${HAVE_XPM}" = "yes"; then        if test "${HAVE_XPM}" = "yes"; then
7086          echo "$as_me:7092: result: yes" >&5          echo "$as_me:7086: result: yes" >&5
7087  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
7088        else        else
7089          echo "$as_me:7095: result: no" >&5          echo "$as_me:7089: result: no" >&5
7090  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
7091        fi        fi
7092      fi      fi
# Line 7110  fi Line 7104  fi
7104  HAVE_JPEG=no  HAVE_JPEG=no
7105  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
7106    if test "${with_jpeg}" != "no"; then    if test "${with_jpeg}" != "no"; then
7107              echo "$as_me:7113: checking for jerror.h" >&5              echo "$as_me:7107: checking for jerror.h" >&5
7108  echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6  echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6
7109  if test "${ac_cv_header_jerror_h+set}" = set; then  if test "${ac_cv_header_jerror_h+set}" = set; then
7110    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7111  else  else
7112    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7113  #line 7119 "configure"  #line 7113 "configure"
7114  #include "confdefs.h"  #include "confdefs.h"
7115  #include <jerror.h>  #include <jerror.h>
7116  _ACEOF  _ACEOF
7117  if { (eval echo "$as_me:7123: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:7117: \"$ac_cpp conftest.$ac_ext\"") >&5
7118    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7119    ac_status=$?    ac_status=$?
7120    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
7121    rm -f conftest.er1    rm -f conftest.er1
7122    cat conftest.err >&5    cat conftest.err >&5
7123    echo "$as_me:7129: \$? = $ac_status" >&5    echo "$as_me:7123: \$? = $ac_status" >&5
7124    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
7125    if test -s conftest.err; then    if test -s conftest.err; then
7126      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 7145  else Line 7139  else
7139  fi  fi
7140  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
7141  fi  fi
7142  echo "$as_me:7148: result: $ac_cv_header_jerror_h" >&5  echo "$as_me:7142: result: $ac_cv_header_jerror_h" >&5
7143  echo "${ECHO_T}$ac_cv_header_jerror_h" >&6  echo "${ECHO_T}$ac_cv_header_jerror_h" >&6
7144  if test $ac_cv_header_jerror_h = yes; then  if test $ac_cv_header_jerror_h = yes; then
7145    echo "$as_me:7151: checking for jpeg_destroy_compress in -ljpeg" >&5    echo "$as_me:7145: checking for jpeg_destroy_compress in -ljpeg" >&5
7146  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
7147  if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then  if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then
7148    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7156  else Line 7150  else
7150    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7151  LIBS="-ljpeg  $LIBS"  LIBS="-ljpeg  $LIBS"
7152  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7153  #line 7159 "configure"  #line 7153 "configure"
7154  #include "confdefs.h"  #include "confdefs.h"
7155    
7156  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 7175  jpeg_destroy_compress (); Line 7169  jpeg_destroy_compress ();
7169  }  }
7170  _ACEOF  _ACEOF
7171  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7172  if { (eval echo "$as_me:7178: \"$ac_link\"") >&5  if { (eval echo "$as_me:7172: \"$ac_link\"") >&5
7173    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7174    ac_status=$?    ac_status=$?
7175    echo "$as_me:7181: \$? = $ac_status" >&5    echo "$as_me:7175: \$? = $ac_status" >&5
7176    (exit $ac_status); } &&    (exit $ac_status); } &&
7177           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7178    { (eval echo "$as_me:7184: \"$ac_try\"") >&5    { (eval echo "$as_me:7178: \"$ac_try\"") >&5
7179    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7180    ac_status=$?    ac_status=$?
7181    echo "$as_me:7187: \$? = $ac_status" >&5    echo "$as_me:7181: \$? = $ac_status" >&5
7182    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7183    ac_cv_lib_jpeg_jpeg_destroy_compress=yes    ac_cv_lib_jpeg_jpeg_destroy_compress=yes
7184  else  else
# Line 7195  fi Line 7189  fi
7189  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7190  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7191  fi  fi
7192  echo "$as_me:7198: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5  echo "$as_me:7192: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5
7193  echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6  echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6
7194  if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then  if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then
7195    HAVE_JPEG=yes    HAVE_JPEG=yes
# Line 7217  fi Line 7211  fi
7211  HAVE_PNG=no  HAVE_PNG=no
7212  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
7213    if test "${with_png}" != "no"; then    if test "${with_png}" != "no"; then
7214      echo "$as_me:7220: checking for png.h" >&5      echo "$as_me:7214: checking for png.h" >&5
7215  echo $ECHO_N "checking for png.h... $ECHO_C" >&6  echo $ECHO_N "checking for png.h... $ECHO_C" >&6
7216  if test "${ac_cv_header_png_h+set}" = set; then  if test "${ac_cv_header_png_h+set}" = set; then
7217    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7218  else  else
7219    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7220  #line 7226 "configure"  #line 7220 "configure"
7221  #include "confdefs.h"  #include "confdefs.h"
7222  #include <png.h>  #include <png.h>
7223  _ACEOF  _ACEOF
7224  if { (eval echo "$as_me:7230: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:7224: \"$ac_cpp conftest.$ac_ext\"") >&5
7225    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7226    ac_status=$?    ac_status=$?
7227    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
7228    rm -f conftest.er1    rm -f conftest.er1
7229    cat conftest.err >&5    cat conftest.err >&5
7230    echo "$as_me:7236: \$? = $ac_status" >&5    echo "$as_me:7230: \$? = $ac_status" >&5
7231    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
7232    if test -s conftest.err; then    if test -s conftest.err; then
7233      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 7252  else Line 7246  else
7246  fi  fi
7247  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
7248  fi  fi
7249  echo "$as_me:7255: result: $ac_cv_header_png_h" >&5  echo "$as_me:7249: result: $ac_cv_header_png_h" >&5
7250  echo "${ECHO_T}$ac_cv_header_png_h" >&6  echo "${ECHO_T}$ac_cv_header_png_h" >&6
7251  if test $ac_cv_header_png_h = yes; then  if test $ac_cv_header_png_h = yes; then
7252    echo "$as_me:7258: checking for png_get_channels in -lpng" >&5    echo "$as_me:7252: checking for png_get_channels in -lpng" >&5
7253  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
7254  if test "${ac_cv_lib_png_png_get_channels+set}" = set; then  if test "${ac_cv_lib_png_png_get_channels+set}" = set; then
7255    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7263  else Line 7257  else
7257    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7258  LIBS="-lpng -lz -lm $LIBS"  LIBS="-lpng -lz -lm $LIBS"
7259  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7260  #line 7266 "configure"  #line 7260 "configure"
7261  #include "confdefs.h"  #include "confdefs.h"
7262    
7263  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 7282  png_get_channels (); Line 7276  png_get_channels ();
7276  }  }
7277  _ACEOF  _ACEOF
7278  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7279  if { (eval echo "$as_me:7285: \"$ac_link\"") >&5  if { (eval echo "$as_me:7279: \"$ac_link\"") >&5
7280    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7281    ac_status=$?    ac_status=$?
7282    echo "$as_me:7288: \$? = $ac_status" >&5    echo "$as_me:7282: \$? = $ac_status" >&5
7283    (exit $ac_status); } &&    (exit $ac_status); } &&
7284           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7285    { (eval echo "$as_me:7291: \"$ac_try\"") >&5    { (eval echo "$as_me:7285: \"$ac_try\"") >&5
7286    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7287    ac_status=$?    ac_status=$?
7288    echo "$as_me:7294: \$? = $ac_status" >&5    echo "$as_me:7288: \$? = $ac_status" >&5
7289    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7290    ac_cv_lib_png_png_get_channels=yes    ac_cv_lib_png_png_get_channels=yes
7291  else  else
# Line 7302  fi Line 7296  fi
7296  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7297  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7298  fi  fi
7299  echo "$as_me:7305: result: $ac_cv_lib_png_png_get_channels" >&5  echo "$as_me:7299: result: $ac_cv_lib_png_png_get_channels" >&5
7300  echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6  echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6
7301  if test $ac_cv_lib_png_png_get_channels = yes; then  if test $ac_cv_lib_png_png_get_channels = yes; then
7302    HAVE_PNG=yes    HAVE_PNG=yes
# Line 7324  fi Line 7318  fi
7318  HAVE_TIFF=no  HAVE_TIFF=no
7319  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
7320    if test "${with_tiff}" != "no"; then    if test "${with_tiff}" != "no"; then
7321      echo "$as_me:7327: checking for tiffio.h" >&5      echo "$as_me:7321: checking for tiffio.h" >&5
7322  echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6  echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
7323  if test "${ac_cv_header_tiffio_h+set}" = set; then  if test "${ac_cv_header_tiffio_h+set}" = set; then
7324    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7325  else  else
7326    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7327  #line 7333 "configure"  #line 7327 "configure"
7328  #include "confdefs.h"  #include "confdefs.h"
7329  #include <tiffio.h>  #include <tiffio.h>
7330  _ACEOF  _ACEOF
7331  if { (eval echo "$as_me:7337: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:7331: \"$ac_cpp conftest.$ac_ext\"") >&5
7332    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7333    ac_status=$?    ac_status=$?
7334    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
7335    rm -f conftest.er1    rm -f conftest.er1
7336    cat conftest.err >&5    cat conftest.err >&5
7337    echo "$as_me:7343: \$? = $ac_status" >&5    echo "$as_me:7337: \$? = $ac_status" >&5
7338    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
7339    if test -s conftest.err; then    if test -s conftest.err; then
7340      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 7359  else Line 7353  else
7353  fi  fi
7354  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
7355  fi  fi
7356  echo "$as_me:7362: result: $ac_cv_header_tiffio_h" >&5  echo "$as_me:7356: result: $ac_cv_header_tiffio_h" >&5
7357  echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6  echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
7358  if test $ac_cv_header_tiffio_h = yes; then  if test $ac_cv_header_tiffio_h = yes; then
7359    tifflibs="-lz -lm"    tifflibs="-lz -lm"
7360        # At least one tiff package requires the jpeg library.        # At least one tiff package requires the jpeg library.
7361        if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi        if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
7362        echo "$as_me:7368: checking for TIFFGetVersion in -ltiff" >&5        echo "$as_me:7362: checking for TIFFGetVersion in -ltiff" >&5
7363  echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6  echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6
7364  if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then  if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then
7365    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7373  else Line 7367  else
7367    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7368  LIBS="-ltiff $tifflibs $LIBS"  LIBS="-ltiff $tifflibs $LIBS"
7369  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7370  #line 7376 "configure"  #line 7370 "configure"
7371  #include "confdefs.h"  #include "confdefs.h"
7372    
7373  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 7392  TIFFGetVersion (); Line 7386  TIFFGetVersion ();
7386  }  }
7387  _ACEOF  _ACEOF
7388  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7389  if { (eval echo "$as_me:7395: \"$ac_link\"") >&5  if { (eval echo "$as_me:7389: \"$ac_link\"") >&5
7390    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7391    ac_status=$?    ac_status=$?
7392    echo "$as_me:7398: \$? = $ac_status" >&5    echo "$as_me:7392: \$? = $ac_status" >&5
7393    (exit $ac_status); } &&    (exit $ac_status); } &&
7394           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7395    { (eval echo "$as_me:7401: \"$ac_try\"") >&5    { (eval echo "$as_me:7395: \"$ac_try\"") >&5
7396    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7397    ac_status=$?    ac_status=$?
7398    echo "$as_me:7404: \$? = $ac_status" >&5    echo "$as_me:7398: \$? = $ac_status" >&5
7399    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7400    ac_cv_lib_tiff_TIFFGetVersion=yes    ac_cv_lib_tiff_TIFFGetVersion=yes
7401  else  else
# Line 7412  fi Line 7406  fi
7406  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7407  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7408  fi  fi
7409  echo "$as_me:7415: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5  echo "$as_me:7409: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5
7410  echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6  echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6
7411  if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then  if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then
7412    HAVE_TIFF=yes    HAVE_TIFF=yes
# Line 7434  fi Line 7428  fi
7428  HAVE_GIF=no  HAVE_GIF=no
7429  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
7430    if test "${with_gif}" != "no"; then    if test "${with_gif}" != "no"; then
7431      echo "$as_me:7437: checking for gif_lib.h" >&5      echo "$as_me:7431: checking for gif_lib.h" >&5
7432  echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6  echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6
7433  if test "${ac_cv_header_gif_lib_h+set}" = set; then  if test "${ac_cv_header_gif_lib_h+set}" = set; then
7434    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7435  else  else
7436    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7437  #line 7443 "configure"  #line 7437 "configure"
7438  #include "confdefs.h"  #include "confdefs.h"
7439  #include <gif_lib.h>  #include <gif_lib.h>
7440  _ACEOF  _ACEOF
7441  if { (eval echo "$as_me:7447: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:7441: \"$ac_cpp conftest.$ac_ext\"") >&5
7442    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7443    ac_status=$?    ac_status=$?
7444    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
7445    rm -f conftest.er1    rm -f conftest.er1
7446    cat conftest.err >&5    cat conftest.err >&5
7447    echo "$as_me:7453: \$? = $ac_status" >&5    echo "$as_me:7447: \$? = $ac_status" >&5
7448    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
7449    if test -s conftest.err; then    if test -s conftest.err; then
7450      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 7469  else Line 7463  else
7463  fi  fi
7464  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
7465  fi  fi
7466  echo "$as_me:7472: result: $ac_cv_header_gif_lib_h" >&5  echo "$as_me:7466: result: $ac_cv_header_gif_lib_h" >&5
7467  echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6  echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6
7468  if test $ac_cv_header_gif_lib_h = yes; then  if test $ac_cv_header_gif_lib_h = yes; then
7469    echo "$as_me:7475: checking for DGifOpen in -lungif" >&5    echo "$as_me:7469: checking for DGifOpen in -lungif" >&5
7470  echo $ECHO_N "checking for DGifOpen in -lungif... $ECHO_C" >&6  echo $ECHO_N "checking for DGifOpen in -lungif... $ECHO_C" >&6
7471  if test "${ac_cv_lib_ungif_DGifOpen+set}" = set; then  if test "${ac_cv_lib_ungif_DGifOpen+set}" = set; then
7472    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7480  else Line 7474  else
7474    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7475  LIBS="-lungif  $LIBS"  LIBS="-lungif  $LIBS"
7476  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7477  #line 7483 "configure"  #line 7477 "configure"
7478  #include "confdefs.h"  #include "confdefs.h"
7479    
7480  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 7499  DGifOpen (); Line 7493  DGifOpen ();
7493  }  }
7494  _ACEOF  _ACEOF
7495  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7496  if { (eval echo "$as_me:7502: \"$ac_link\"") >&5  if { (eval echo "$as_me:7496: \"$ac_link\"") >&5
7497    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7498    ac_status=$?    ac_status=$?
7499    echo "$as_me:7505: \$? = $ac_status" >&5    echo "$as_me:7499: \$? = $ac_status" >&5
7500    (exit $ac_status); } &&    (exit $ac_status); } &&
7501           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7502    { (eval echo "$as_me:7508: \"$ac_try\"") >&5    { (eval echo "$as_me:7502: \"$ac_try\"") >&5
7503    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7504    ac_status=$?    ac_status=$?
7505    echo "$as_me:7511: \$? = $ac_status" >&5    echo "$as_me:7505: \$? = $ac_status" >&5
7506    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7507    ac_cv_lib_ungif_DGifOpen=yes    ac_cv_lib_ungif_DGifOpen=yes
7508  else  else
# Line 7519  fi Line 7513  fi
7513  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7514  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7515  fi  fi
7516  echo "$as_me:7522: result: $ac_cv_lib_ungif_DGifOpen" >&5  echo "$as_me:7516: result: $ac_cv_lib_ungif_DGifOpen" >&5
7517  echo "${ECHO_T}$ac_cv_lib_ungif_DGifOpen" >&6  echo "${ECHO_T}$ac_cv_lib_ungif_DGifOpen" >&6
7518  if test $ac_cv_lib_ungif_DGifOpen = yes; then  if test $ac_cv_lib_ungif_DGifOpen = yes; then
7519    HAVE_GIF=yes    HAVE_GIF=yes
# Line 7538  EOF Line 7532  EOF
7532  fi  fi
7533    
7534  # 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.
7535  echo "$as_me:7541: checking whether netdb declares h_errno" >&5  echo "$as_me:7535: checking whether netdb declares h_errno" >&5
7536  echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6  echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6
7537  if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then  if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then
7538    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7539  else  else
7540    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7541  #line 7547 "configure"  #line 7541 "configure"
7542  #include "confdefs.h"  #include "confdefs.h"
7543  #include <netdb.h>  #include <netdb.h>
7544  int  int
# Line 7556  return h_errno; Line 7550  return h_errno;
7550  }  }
7551  _ACEOF  _ACEOF
7552  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7553  if { (eval echo "$as_me:7559: \"$ac_link\"") >&5  if { (eval echo "$as_me:7553: \"$ac_link\"") >&5
7554    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7555    ac_status=$?    ac_status=$?
7556    echo "$as_me:7562: \$? = $ac_status" >&5    echo "$as_me:7556: \$? = $ac_status" >&5
7557    (exit $ac_status); } &&    (exit $ac_status); } &&
7558           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7559    { (eval echo "$as_me:7565: \"$ac_try\"") >&5    { (eval echo "$as_me:7559: \"$ac_try\"") >&5
7560    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7561    ac_status=$?    ac_status=$?
7562    echo "$as_me:7568: \$? = $ac_status" >&5    echo "$as_me:7562: \$? = $ac_status" >&5
7563    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7564    emacs_cv_netdb_declares_h_errno=yes    emacs_cv_netdb_declares_h_errno=yes
7565  else  else
# Line 7575  emacs_cv_netdb_declares_h_errno=no Line 7569  emacs_cv_netdb_declares_h_errno=no
7569  fi  fi
7570  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7571  fi  fi
7572  echo "$as_me:7578: result: $emacs_cv_netdb_declares_h_errno" >&5  echo "$as_me:7572: result: $emacs_cv_netdb_declares_h_errno" >&5
7573  echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6  echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6
7574  if test $emacs_cv_netdb_declares_h_errno = yes; then  if test $emacs_cv_netdb_declares_h_errno = yes; then
7575    cat >>confdefs.h <<\EOF    cat >>confdefs.h <<\EOF
# Line 7586  fi Line 7580  fi
7580    
7581  # 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
7582  # for constant arguments.  Useless!  # for constant arguments.  Useless!
7583  echo "$as_me:7589: checking for working alloca.h" >&5  echo "$as_me:7583: checking for working alloca.h" >&5
7584  echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6  echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
7585  if test "${ac_cv_working_alloca_h+set}" = set; then  if test "${ac_cv_working_alloca_h+set}" = set; then
7586    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7587  else  else
7588    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7589  #line 7595 "configure"  #line 7589 "configure"
7590  #include "confdefs.h"  #include "confdefs.h"
7591  #include <alloca.h>  #include <alloca.h>
7592  int  int
# Line 7604  char *p = (char *) alloca (2 * sizeof (i Line 7598  char *p = (char *) alloca (2 * sizeof (i
7598  }  }
7599  _ACEOF  _ACEOF
7600  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7601  if { (eval echo "$as_me:7607: \"$ac_link\"") >&5  if { (eval echo "$as_me:7601: \"$ac_link\"") >&5
7602    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7603    ac_status=$?    ac_status=$?
7604    echo "$as_me:7610: \$? = $ac_status" >&5    echo "$as_me:7604: \$? = $ac_status" >&5
7605    (exit $ac_status); } &&    (exit $ac_status); } &&
7606           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7607    { (eval echo "$as_me:7613: \"$ac_try\"") >&5    { (eval echo "$as_me:7607: \"$ac_try\"") >&5
7608    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7609    ac_status=$?    ac_status=$?
7610    echo "$as_me:7616: \$? = $ac_status" >&5    echo "$as_me:7610: \$? = $ac_status" >&5
7611    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7612    ac_cv_working_alloca_h=yes    ac_cv_working_alloca_h=yes
7613  else  else
# Line 7623  ac_cv_working_alloca_h=no Line 7617  ac_cv_working_alloca_h=no
7617  fi  fi
7618  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7619  fi  fi
7620  echo "$as_me:7626: result: $ac_cv_working_alloca_h" >&5  echo "$as_me:7620: result: $ac_cv_working_alloca_h" >&5
7621  echo "${ECHO_T}$ac_cv_working_alloca_h" >&6  echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
7622  if test $ac_cv_working_alloca_h = yes; then  if test $ac_cv_working_alloca_h = yes; then
7623    
# Line 7633  EOF Line 7627  EOF
7627    
7628  fi  fi
7629    
7630  echo "$as_me:7636: checking for alloca" >&5  echo "$as_me:7630: checking for alloca" >&5
7631  echo $ECHO_N "checking for alloca... $ECHO_C" >&6  echo $ECHO_N "checking for alloca... $ECHO_C" >&6
7632  if test "${ac_cv_func_alloca_works+set}" = set; then  if test "${ac_cv_func_alloca_works+set}" = set; then
7633    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7634  else  else
7635    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7636  #line 7642 "configure"  #line 7636 "configure"
7637  #include "confdefs.h"  #include "confdefs.h"
7638  #ifdef __GNUC__  #ifdef __GNUC__
7639  # define alloca __builtin_alloca  # define alloca __builtin_alloca
# Line 7671  char *p = (char *) alloca (1); Line 7665  char *p = (char *) alloca (1);
7665  }  }
7666  _ACEOF  _ACEOF
7667  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7668  if { (eval echo "$as_me:7674: \"$ac_link\"") >&5  if { (eval echo "$as_me:7668: \"$ac_link\"") >&5
7669    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7670    ac_status=$?    ac_status=$?
7671    echo "$as_me:7677: \$? = $ac_status" >&5    echo "$as_me:7671: \$? = $ac_status" >&5
7672    (exit $ac_status); } &&    (exit $ac_status); } &&
7673           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7674    { (eval echo "$as_me:7680: \"$ac_try\"") >&5    { (eval echo "$as_me:7674: \"$ac_try\"") >&5
7675    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7676    ac_status=$?    ac_status=$?
7677    echo "$as_me:7683: \$? = $ac_status" >&5    echo "$as_me:7677: \$? = $ac_status" >&5
7678    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7679    ac_cv_func_alloca_works=yes    ac_cv_func_alloca_works=yes
7680  else  else
# Line 7690  ac_cv_func_alloca_works=no Line 7684  ac_cv_func_alloca_works=no
7684  fi  fi
7685  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7686  fi  fi
7687  echo "$as_me:7693: result: $ac_cv_func_alloca_works" >&5  echo "$as_me:7687: result: $ac_cv_func_alloca_works" >&5
7688  echo "${ECHO_T}$ac_cv_func_alloca_works" >&6  echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
7689    
7690  if test $ac_cv_func_alloca_works = yes; then  if test $ac_cv_func_alloca_works = yes; then
# Line 7711  cat >>confdefs.h <<\EOF Line 7705  cat >>confdefs.h <<\EOF
7705  #define C_ALLOCA 1  #define C_ALLOCA 1
7706  EOF  EOF
7707    
7708  echo "$as_me:7714: checking whether \`alloca.c' needs Cray hooks" >&5  echo "$as_me:7708: checking whether \`alloca.c' needs Cray hooks" >&5
7709  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
7710  if test "${ac_cv_os_cray+set}" = set; then  if test "${ac_cv_os_cray+set}" = set; then
7711    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7712  else  else
7713    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7714  #line 7720 "configure"  #line 7714 "configure"
7715  #include "confdefs.h"  #include "confdefs.h"
7716  #if defined(CRAY) && ! defined(CRAY2)  #if defined(CRAY) && ! defined(CRAY2)
7717  webecray  webecray
# Line 7735  fi Line 7729  fi
7729  rm -f conftest*  rm -f conftest*
7730    
7731  fi  fi
7732  echo "$as_me:7738: result: $ac_cv_os_cray" >&5  echo "$as_me:7732: result: $ac_cv_os_cray" >&5
7733  echo "${ECHO_T}$ac_cv_os_cray" >&6  echo "${ECHO_T}$ac_cv_os_cray" >&6
7734  if test $ac_cv_os_cray = yes; then  if test $ac_cv_os_cray = yes; then
7735    for ac_func in _getb67 GETB67 getb67; do    for ac_func in _getb67 GETB67 getb67; do
7736      as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`      as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7737  echo "$as_me:7743: checking for $ac_func" >&5  echo "$as_me:7737: checking for $ac_func" >&5
7738  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7739  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
7740    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7741  else  else
7742    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7743  #line 7749 "configure"  #line 7743 "configure"
7744  #include "confdefs.h"  #include "confdefs.h"
7745  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
7746      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 7777  f = $ac_func; Line 7771  f = $ac_func;
7771  }  }
7772  _ACEOF  _ACEOF
7773  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7774  if { (eval echo "$as_me:7780: \"$ac_link\"") >&5  if { (eval echo "$as_me:7774: \"$ac_link\"") >&5
7775    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7776    ac_status=$?    ac_status=$?
7777    echo "$as_me:7783: \$? = $ac_status" >&5    echo "$as_me:7777: \$? = $ac_status" >&5
7778    (exit $ac_status); } &&    (exit $ac_status); } &&
7779           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7780    { (eval echo "$as_me:7786: \"$ac_try\"") >&5    { (eval echo "$as_me:7780: \"$ac_try\"") >&5
7781    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7782    ac_status=$?    ac_status=$?
7783    echo "$as_me:7789: \$? = $ac_status" >&5    echo "$as_me:7783: \$? = $ac_status" >&5
7784    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7785    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
7786  else  else
# Line 7796  eval "$as_ac_var=no" Line 7790  eval "$as_ac_var=no"
7790  fi  fi
7791  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7792  fi  fi
7793  echo "$as_me:7799: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:7793: result: `eval echo '${'$as_ac_var'}'`" >&5
7794  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7795  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
7796    
# Line 7810  fi Line 7804  fi
7804    done    done
7805  fi  fi
7806    
7807  echo "$as_me:7813: checking stack direction for C alloca" >&5  echo "$as_me:7807: checking stack direction for C alloca" >&5
7808  echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6  echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
7809  if test "${ac_cv_c_stack_direction+set}" = set; then  if test "${ac_cv_c_stack_direction+set}" = set; then
7810    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7819  else Line 7813  else
7813    ac_cv_c_stack_direction=0    ac_cv_c_stack_direction=0
7814  else  else
7815    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7816  #line 7822 "configure"  #line 7816 "configure"
7817  #include "confdefs.h"  #include "confdefs.h"
7818  int  int
7819  find_stack_direction ()  find_stack_direction ()
# Line 7842  main () Line 7836  main ()
7836  }  }
7837  _ACEOF  _ACEOF
7838  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
7839  if { (eval echo "$as_me:7845: \"$ac_link\"") >&5  if { (eval echo "$as_me:7839: \"$ac_link\"") >&5
7840    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7841    ac_status=$?    ac_status=$?
7842    echo "$as_me:7848: \$? = $ac_status" >&5    echo "$as_me:7842: \$? = $ac_status" >&5
7843    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7844    { (eval echo "$as_me:7850: \"$ac_try\"") >&5    { (eval echo "$as_me:7844: \"$ac_try\"") >&5
7845    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7846    ac_status=$?    ac_status=$?
7847    echo "$as_me:7853: \$? = $ac_status" >&5    echo "$as_me:7847: \$? = $ac_status" >&5
7848    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7849    ac_cv_c_stack_direction=1    ac_cv_c_stack_direction=1
7850  else  else
# Line 7862  fi Line 7856  fi
7856  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
7857  fi  fi
7858  fi  fi
7859  echo "$as_me:7865: result: $ac_cv_c_stack_direction" >&5  echo "$as_me:7859: result: $ac_cv_c_stack_direction" >&5
7860  echo "${ECHO_T}$ac_cv_c_stack_direction" >&6  echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
7861    
7862  cat >>confdefs.h <<EOF  cat >>confdefs.h <<EOF
# Line 7874  fi Line 7868  fi
7868  # fmod, logb, and frexp are found in -lm on most systems.  # fmod, logb, and frexp are found in -lm on most systems.
7869  # 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.
7870    
7871  echo "$as_me:7877: checking for sqrt in -lm" >&5  echo "$as_me:7871: checking for sqrt in -lm" >&5
7872  echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6  echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
7873  if test "${ac_cv_lib_m_sqrt+set}" = set; then  if test "${ac_cv_lib_m_sqrt+set}" = set; then
7874    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7882  else Line 7876  else
7876    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7877  LIBS="-lm  $LIBS"  LIBS="-lm  $LIBS"
7878  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7879  #line 7885 "configure"  #line 7879 "configure"
7880  #include "confdefs.h"  #include "confdefs.h"
7881    
7882  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 7901  sqrt (); Line 7895  sqrt ();
7895  }  }
7896  _ACEOF  _ACEOF
7897  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7898  if { (eval echo "$as_me:7904: \"$ac_link\"") >&5  if { (eval echo "$as_me:7898: \"$ac_link\"") >&5
7899    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7900    ac_status=$?    ac_status=$?
7901    echo "$as_me:7907: \$? = $ac_status" >&5    echo "$as_me:7901: \$? = $ac_status" >&5
7902    (exit $ac_status); } &&    (exit $ac_status); } &&
7903           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7904    { (eval echo "$as_me:7910: \"$ac_try\"") >&5    { (eval echo "$as_me:7904: \"$ac_try\"") >&5
7905    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7906    ac_status=$?    ac_status=$?
7907    echo "$as_me:7913: \$? = $ac_status" >&5    echo "$as_me:7907: \$? = $ac_status" >&5
7908    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7909    ac_cv_lib_m_sqrt=yes    ac_cv_lib_m_sqrt=yes
7910  else  else
# Line 7921  fi Line 7915  fi
7915  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7916  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7917  fi  fi
7918  echo "$as_me:7924: result: $ac_cv_lib_m_sqrt" >&5  echo "$as_me:7918: result: $ac_cv_lib_m_sqrt" >&5
7919  echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6  echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
7920  if test $ac_cv_lib_m_sqrt = yes; then  if test $ac_cv_lib_m_sqrt = yes; then
7921    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 7934  fi Line 7928  fi
7928    
7929  # Check for mail-locking functions in a "mail" library  # Check for mail-locking functions in a "mail" library
7930    
7931  echo "$as_me:7937: checking for maillock in -lmail" >&5  echo "$as_me:7931: checking for maillock in -lmail" >&5
7932  echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6  echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6
7933  if test "${ac_cv_lib_mail_maillock+set}" = set; then  if test "${ac_cv_lib_mail_maillock+set}" = set; then
7934    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7942  else Line 7936  else
7936    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7937  LIBS="-lmail  $LIBS"  LIBS="-lmail  $LIBS"
7938  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7939  #line 7945 "configure"  #line 7939 "configure"
7940  #include "confdefs.h"  #include "confdefs.h"
7941    
7942  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 7961  maillock (); Line 7955  maillock ();
7955  }  }
7956  _ACEOF  _ACEOF
7957  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7958  if { (eval echo "$as_me:7964: \"$ac_link\"") >&5  if { (eval echo "$as_me:7958: \"$ac_link\"") >&5
7959    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7960    ac_status=$?    ac_status=$?
7961    echo "$as_me:7967: \$? = $ac_status" >&5    echo "$as_me:7961: \$? = $ac_status" >&5
7962    (exit $ac_status); } &&    (exit $ac_status); } &&
7963           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7964    { (eval echo "$as_me:7970: \"$ac_try\"") >&5    { (eval echo "$as_me:7964: \"$ac_try\"") >&5
7965    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7966    ac_status=$?    ac_status=$?
7967    echo "$as_me:7973: \$? = $ac_status" >&5    echo "$as_me:7967: \$? = $ac_status" >&5
7968    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7969    ac_cv_lib_mail_maillock=yes    ac_cv_lib_mail_maillock=yes
7970  else  else
# Line 7981  fi Line 7975  fi
7975  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7976  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7977  fi  fi
7978  echo "$as_me:7984: result: $ac_cv_lib_mail_maillock" >&5  echo "$as_me:7978: result: $ac_cv_lib_mail_maillock" >&5
7979  echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6  echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6
7980  if test $ac_cv_lib_mail_maillock = yes; then  if test $ac_cv_lib_mail_maillock = yes; then
7981    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 7992  EOF Line 7986  EOF
7986    
7987  fi  fi
7988    
7989  echo "$as_me:7995: checking for maillock in -llockfile" >&5  echo "$as_me:7989: checking for maillock in -llockfile" >&5
7990  echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6  echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6
7991  if test "${ac_cv_lib_lockfile_maillock+set}" = set; then  if test "${ac_cv_lib_lockfile_maillock+set}" = set; then
7992    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8000  else Line 7994  else
7994    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7995  LIBS="-llockfile  $LIBS"  LIBS="-llockfile  $LIBS"
7996  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7997  #line 8003 "configure"  #line 7997 "configure"
7998  #include "confdefs.h"  #include "confdefs.h"
7999    
8000  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 8019  maillock (); Line 8013  maillock ();
8013  }  }
8014  _ACEOF  _ACEOF
8015  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8016  if { (eval echo "$as_me:8022: \"$ac_link\"") >&5  if { (eval echo "$as_me:8016: \"$ac_link\"") >&5
8017    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8018    ac_status=$?    ac_status=$?
8019    echo "$as_me:8025: \$? = $ac_status" >&5    echo "$as_me:8019: \$? = $ac_status" >&5
8020    (exit $ac_status); } &&    (exit $ac_status); } &&
8021           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8022    { (eval echo "$as_me:8028: \"$ac_try\"") >&5    { (eval echo "$as_me:8022: \"$ac_try\"") >&5
8023    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8024    ac_status=$?    ac_status=$?
8025    echo "$as_me:8031: \$? = $ac_status" >&5    echo "$as_me:8025: \$? = $ac_status" >&5
8026    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8027    ac_cv_lib_lockfile_maillock=yes    ac_cv_lib_lockfile_maillock=yes
8028  else  else
# Line 8039  fi Line 8033  fi
8033  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8034  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
8035  fi  fi
8036  echo "$as_me:8042: result: $ac_cv_lib_lockfile_maillock" >&5  echo "$as_me:8036: result: $ac_cv_lib_lockfile_maillock" >&5
8037  echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6  echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6
8038  if test $ac_cv_lib_lockfile_maillock = yes; then  if test $ac_cv_lib_lockfile_maillock = yes; then
8039    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8056  fi Line 8050  fi
8050  if test "$ac_cv_lib_lockfile_maillock" = no; then  if test "$ac_cv_lib_lockfile_maillock" = no; then
8051        # 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.
8052  set dummy liblockfile.so; ac_word=$2  set dummy liblockfile.so; ac_word=$2
8053  echo "$as_me:8059: checking for $ac_word" >&5  echo "$as_me:8053: checking for $ac_word" >&5
8054  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8055  if test "${ac_cv_prog_liblockfile+set}" = set; then  if test "${ac_cv_prog_liblockfile+set}" = set; then
8056    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8071  for ac_dir in $ac_dummy; do Line 8065  for ac_dir in $ac_dummy; do
8065    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
8066    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
8067  ac_cv_prog_liblockfile="yes"  ac_cv_prog_liblockfile="yes"
8068  echo "$as_me:8074: found $ac_dir/$ac_word" >&5  echo "$as_me:8068: found $ac_dir/$ac_word" >&5
8069  break  break
8070  done  done
8071    
# Line 8080  fi Line 8074  fi
8074  fi  fi
8075  liblockfile=$ac_cv_prog_liblockfile  liblockfile=$ac_cv_prog_liblockfile
8076  if test -n "$liblockfile"; then  if test -n "$liblockfile"; then
8077    echo "$as_me:8083: result: $liblockfile" >&5    echo "$as_me:8077: result: $liblockfile" >&5
8078  echo "${ECHO_T}$liblockfile" >&6  echo "${ECHO_T}$liblockfile" >&6
8079  else  else
8080    echo "$as_me:8086: result: no" >&5    echo "$as_me:8080: result: no" >&5
8081  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
8082  fi  fi
8083    
8084    if test $ac_cv_prog_liblockfile = yes; then    if test $ac_cv_prog_liblockfile = yes; then
8085      { { echo "$as_me:8091: error: Shared liblockfile found but can't link against it.      { { echo "$as_me:8085: error: Shared liblockfile found but can't link against it.
8086  This probably means that movemail could lose mail.  This probably means that movemail could lose mail.
8087  There may be a \`development' package to install containing liblockfile." >&5  There may be a \`development' package to install containing liblockfile." >&5
8088  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 8106  fi Line 8100  fi
8100  for ac_func in touchlock  for ac_func in touchlock
8101  do  do
8102  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8103  echo "$as_me:8109: checking for $ac_func" >&5  echo "$as_me:8103: checking for $ac_func" >&5
8104  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8105  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
8106    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
8107  else  else
8108    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8109  #line 8115 "configure"  #line 8109 "configure"
8110  #include "confdefs.h"  #include "confdefs.h"
8111  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
8112      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 8143  f = $ac_func; Line 8137  f = $ac_func;
8137  }  }
8138  _ACEOF  _ACEOF
8139  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8140  if { (eval echo "$as_me:8146: \"$ac_link\"") >&5  if { (eval echo "$as_me:8140: \"$ac_link\"") >&5
8141    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8142    ac_status=$?    ac_status=$?
8143    echo "$as_me:8149: \$? = $ac_status" >&5    echo "$as_me:8143: \$? = $ac_status" >&5
8144    (exit $ac_status); } &&    (exit $ac_status); } &&
8145           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8146    { (eval echo "$as_me:8152: \"$ac_try\"") >&5    { (eval echo "$as_me:8146: \"$ac_try\"") >&5
8147    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8148    ac_status=$?    ac_status=$?
8149    echo "$as_me:8155: \$? = $ac_status" >&5    echo "$as_me:8149: \$? = $ac_status" >&5
8150    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8151    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
8152  else  else
# Line 8162  eval "$as_ac_var=no" Line 8156  eval "$as_ac_var=no"
8156  fi  fi
8157  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8158  fi  fi
8159  echo "$as_me:8165: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:8159: result: `eval echo '${'$as_ac_var'}'`" >&5
8160  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8161  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
8162    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8175  done Line 8169  done
8169  for ac_header in maillock.h  for ac_header in maillock.h
8170  do  do
8171  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8172  echo "$as_me:8178: checking for $ac_header" >&5  echo "$as_me:8172: checking for $ac_header" >&5
8173  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8174  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
8175    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
8176  else  else
8177    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8178  #line 8184 "configure"  #line 8178 "configure"
8179  #include "confdefs.h"  #include "confdefs.h"
8180  #include <$ac_header>  #include <$ac_header>
8181  _ACEOF  _ACEOF
8182  if { (eval echo "$as_me:8188: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:8182: \"$ac_cpp conftest.$ac_ext\"") >&5
8183    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8184    ac_status=$?    ac_status=$?
8185    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
8186    rm -f conftest.er1    rm -f conftest.er1
8187    cat conftest.err >&5    cat conftest.err >&5
8188    echo "$as_me:8194: \$? = $ac_status" >&5    echo "$as_me:8188: \$? = $ac_status" >&5
8189    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
8190    if test -s conftest.err; then    if test -s conftest.err; then
8191      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 8210  else Line 8204  else
8204  fi  fi
8205  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
8206  fi  fi
8207  echo "$as_me:8213: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:8207: result: `eval echo '${'$as_ac_Header'}'`" >&5
8208  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8209  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
8210    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8229  __fpending mblen mbrlen strsignal setiti Line 8223  __fpending mblen mbrlen strsignal setiti
8223  gai_strerror mkstemp  gai_strerror mkstemp
8224  do  do
8225  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8226  echo "$as_me:8232: checking for $ac_func" >&5  echo "$as_me:8226: checking for $ac_func" >&5
8227  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8228  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
8229    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
8230  else  else
8231    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8232  #line 8238 "configure"  #line 8232 "configure"
8233  #include "confdefs.h"  #include "confdefs.h"
8234  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
8235      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 8266  f = $ac_func; Line 8260  f = $ac_func;
8260  }  }
8261  _ACEOF  _ACEOF
8262  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8263  if { (eval echo "$as_me:8269: \"$ac_link\"") >&5  if { (eval echo "$as_me:8263: \"$ac_link\"") >&5
8264    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8265    ac_status=$?    ac_status=$?
8266    echo "$as_me:8272: \$? = $ac_status" >&5    echo "$as_me:8266: \$? = $ac_status" >&5
8267    (exit $ac_status); } &&    (exit $ac_status); } &&
8268           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8269    { (eval echo "$as_me:8275: \"$ac_try\"") >&5    { (eval echo "$as_me:8269: \"$ac_try\"") >&5
8270    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8271    ac_status=$?    ac_status=$?
8272    echo "$as_me:8278: \$? = $ac_status" >&5    echo "$as_me:8272: \$? = $ac_status" >&5
8273    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8274    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
8275  else  else
# Line 8285  eval "$as_ac_var=no" Line 8279  eval "$as_ac_var=no"
8279  fi  fi
8280  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8281  fi  fi
8282  echo "$as_me:8288: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:8282: result: `eval echo '${'$as_ac_var'}'`" >&5
8283  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8284  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
8285    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8298  done Line 8292  done
8292  for ac_header in sys/time.h unistd.h  for ac_header in sys/time.h unistd.h
8293  do  do
8294  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8295  echo "$as_me:8301: checking for $ac_header" >&5  echo "$as_me:8295: checking for $ac_header" >&5
8296  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8297  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
8298    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
8299  else  else
8300    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8301  #line 8307 "configure"  #line 8301 "configure"
8302  #include "confdefs.h"  #include "confdefs.h"
8303  #include <$ac_header>  #include <$ac_header>
8304  _ACEOF  _ACEOF
8305  if { (eval echo "$as_me:8311: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:8305: \"$ac_cpp conftest.$ac_ext\"") >&5
8306    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8307    ac_status=$?    ac_status=$?
8308    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
8309    rm -f conftest.er1    rm -f conftest.er1
8310    cat conftest.err >&5    cat conftest.err >&5
8311    echo "$as_me:8317: \$? = $ac_status" >&5    echo "$as_me:8311: \$? = $ac_status" >&5
8312    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
8313    if test -s conftest.err; then    if test -s conftest.err; then
8314      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 8333  else Line 8327  else
8327  fi  fi
8328  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
8329  fi  fi
8330  echo "$as_me:8336: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:8330: result: `eval echo '${'$as_ac_Header'}'`" >&5
8331  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8332  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
8333    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8346  done Line 8340  done
8340  for ac_func in alarm  for ac_func in alarm
8341  do  do
8342  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8343  echo "$as_me:8349: checking for $ac_func" >&5  echo "$as_me:8343: checking for $ac_func" >&5
8344  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8345  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
8346    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
8347  else  else
8348    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8349  #line 8355 "configure"  #line 8349 "configure"
8350  #include "confdefs.h"  #include "confdefs.h"
8351  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
8352      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 8383  f = $ac_func; Line 8377  f = $ac_func;
8377  }  }
8378  _ACEOF  _ACEOF
8379  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8380  if { (eval echo "$as_me:8386: \"$ac_link\"") >&5  if { (eval echo "$as_me:8380: \"$ac_link\"") >&5
8381    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8382    ac_status=$?    ac_status=$?
8383    echo "$as_me:8389: \$? = $ac_status" >&5    echo "$as_me:8383: \$? = $ac_status" >&5
8384    (exit $ac_status); } &&    (exit $ac_status); } &&
8385           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8386    { (eval echo "$as_me:8392: \"$ac_try\"") >&5    { (eval echo "$as_me:8386: \"$ac_try\"") >&5
8387    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8388    ac_status=$?    ac_status=$?
8389    echo "$as_me:8395: \$? = $ac_status" >&5    echo "$as_me:8389: \$? = $ac_status" >&5
8390    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8391    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
8392  else  else
# Line 8402  eval "$as_ac_var=no" Line 8396  eval "$as_ac_var=no"
8396  fi  fi
8397  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8398  fi  fi
8399  echo "$as_me:8405: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:8399: result: `eval echo '${'$as_ac_var'}'`" >&5
8400  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8401  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
8402    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8412  EOF Line 8406  EOF
8406  fi  fi
8407  done  done
8408    
8409  echo "$as_me:8415: checking for working mktime" >&5  echo "$as_me:8409: checking for working mktime" >&5
8410  echo $ECHO_N "checking for working mktime... $ECHO_C" >&6  echo $ECHO_N "checking for working mktime... $ECHO_C" >&6
8411  if test "${ac_cv_func_working_mktime+set}" = set; then  if test "${ac_cv_func_working_mktime+set}" = set; then
8412    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8421  else Line 8415  else
8415    ac_cv_func_working_mktime=no    ac_cv_func_working_mktime=no
8416  else  else
8417    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8418  #line 8424 "configure"  #line 8418 "configure"
8419  #include "confdefs.h"  #include "confdefs.h"
8420  /* Test program from Paul Eggert and Tony Leneis.  */  /* Test program from Paul Eggert and Tony Leneis.  */
8421  #if TIME_WITH_SYS_TIME  #if TIME_WITH_SYS_TIME
# Line 8570  main () Line 8564  main ()
8564  }  }
8565  _ACEOF  _ACEOF
8566  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
8567  if { (eval echo "$as_me:8573: \"$ac_link\"") >&5  if { (eval echo "$as_me:8567: \"$ac_link\"") >&5
8568    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8569    ac_status=$?    ac_status=$?
8570    echo "$as_me:8576: \$? = $ac_status" >&5    echo "$as_me:8570: \$? = $ac_status" >&5
8571    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8572    { (eval echo "$as_me:8578: \"$ac_try\"") >&5    { (eval echo "$as_me:8572: \"$ac_try\"") >&5
8573    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8574    ac_status=$?    ac_status=$?
8575    echo "$as_me:8581: \$? = $ac_status" >&5    echo "$as_me:8575: \$? = $ac_status" >&5
8576    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8577    ac_cv_func_working_mktime=yes    ac_cv_func_working_mktime=yes
8578  else  else
# Line 8590  fi Line 8584  fi
8584  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
8585  fi  fi
8586  fi  fi
8587  echo "$as_me:8593: result: $ac_cv_func_working_mktime" >&5  echo "$as_me:8587: result: $ac_cv_func_working_mktime" >&5
8588  echo "${ECHO_T}$ac_cv_func_working_mktime" >&6  echo "${ECHO_T}$ac_cv_func_working_mktime" >&6
8589  if test $ac_cv_func_working_mktime = no; then  if test $ac_cv_func_working_mktime = no; then
8590    LIBOBJS="$LIBOBJS mktime.$ac_objext"    LIBOBJS="$LIBOBJS mktime.$ac_objext"
# Line 8608  ac_have_func=no # yes means we've found Line 8602  ac_have_func=no # yes means we've found
8602  ac_save_LIBS=$LIBS  ac_save_LIBS=$LIBS
8603    
8604  # Check for getloadavg, but be sure not to touch the cache variable.  # Check for getloadavg, but be sure not to touch the cache variable.
8605  (echo "$as_me:8611: checking for getloadavg" >&5  (echo "$as_me:8605: checking for getloadavg" >&5
8606  echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6  echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6
8607  if test "${ac_cv_func_getloadavg+set}" = set; then  if test "${ac_cv_func_getloadavg+set}" = set; then
8608    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
8609  else  else
8610    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8611  #line 8617 "configure"  #line 8611 "configure"
8612  #include "confdefs.h"  #include "confdefs.h"
8613  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
8614      which can conflict with char getloadavg (); below.  */      which can conflict with char getloadavg (); below.  */
# Line 8645  f = getloadavg; Line 8639  f = getloadavg;
8639  }  }
8640  _ACEOF  _ACEOF
8641  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8642  if { (eval echo "$as_me:8648: \"$ac_link\"") >&5  if { (eval echo "$as_me:8642: \"$ac_link\"") >&5
8643    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8644    ac_status=$?    ac_status=$?
8645    echo "$as_me:8651: \$? = $ac_status" >&5    echo "$as_me:8645: \$? = $ac_status" >&5
8646    (exit $ac_status); } &&    (exit $ac_status); } &&
8647           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8648    { (eval echo "$as_me:8654: \"$ac_try\"") >&5    { (eval echo "$as_me:8648: \"$ac_try\"") >&5
8649    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8650    ac_status=$?    ac_status=$?
8651    echo "$as_me:8657: \$? = $ac_status" >&5    echo "$as_me:8651: \$? = $ac_status" >&5
8652    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8653    ac_cv_func_getloadavg=yes    ac_cv_func_getloadavg=yes
8654  else  else
# Line 8664  ac_cv_func_getloadavg=no Line 8658  ac_cv_func_getloadavg=no
8658  fi  fi
8659  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8660  fi  fi
8661  echo "$as_me:8667: result: $ac_cv_func_getloadavg" >&5  echo "$as_me:8661: result: $ac_cv_func_getloadavg" >&5
8662  echo "${ECHO_T}$ac_cv_func_getloadavg" >&6  echo "${ECHO_T}$ac_cv_func_getloadavg" >&6
8663  if test $ac_cv_func_getloadavg = yes; then  if test $ac_cv_func_getloadavg = yes; then
8664    exit 0    exit 0
# Line 8678  fi Line 8672  fi
8672  for ac_func in pstat_getdynamic  for ac_func in pstat_getdynamic
8673  do  do
8674  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8675  echo "$as_me:8681: checking for $ac_func" >&5  echo "$as_me:8675: checking for $ac_func" >&5
8676  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8677  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
8678    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
8679  else  else
8680    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8681  #line 8687 "configure"  #line 8681 "configure"
8682  #include "confdefs.h"  #include "confdefs.h"
8683  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
8684      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 8715  f = $ac_func; Line 8709  f = $ac_func;
8709  }  }
8710  _ACEOF  _ACEOF
8711  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8712  if { (eval echo "$as_me:8718: \"$ac_link\"") >&5  if { (eval echo "$as_me:8712: \"$ac_link\"") >&5
8713    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8714    ac_status=$?    ac_status=$?
8715    echo "$as_me:8721: \$? = $ac_status" >&5    echo "$as_me:8715: \$? = $ac_status" >&5
8716    (exit $ac_status); } &&    (exit $ac_status); } &&
8717           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8718    { (eval echo "$as_me:8724: \"$ac_try\"") >&5    { (eval echo "$as_me:8718: \"$ac_try\"") >&5
8719    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8720    ac_status=$?    ac_status=$?
8721    echo "$as_me:8727: \$? = $ac_status" >&5    echo "$as_me:8721: \$? = $ac_status" >&5
8722    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8723    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
8724  else  else
# Line 8734  eval "$as_ac_var=no" Line 8728  eval "$as_ac_var=no"
8728  fi  fi
8729  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8730  fi  fi
8731  echo "$as_me:8737: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:8731: result: `eval echo '${'$as_ac_var'}'`" >&5
8732  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8733  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
8734    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8746  done Line 8740  done
8740    
8741  # Solaris has libkstat which does not require root.  # Solaris has libkstat which does not require root.
8742    
8743  echo "$as_me:8749: checking for kstat_open in -lkstat" >&5  echo "$as_me:8743: checking for kstat_open in -lkstat" >&5
8744  echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6  echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6
8745  if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then  if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then
8746    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8754  else Line 8748  else
8748    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
8749  LIBS="-lkstat  $LIBS"  LIBS="-lkstat  $LIBS"
8750  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
8751  #line 8757 "configure"  #line 8751 "configure"
8752  #include "confdefs.h"  #include "confdefs.h"
8753    
8754  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 8773  kstat_open (); Line 8767  kstat_open ();
8767  }  }
8768  _ACEOF  _ACEOF
8769  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8770  if { (eval echo "$as_me:8776: \"$ac_link\"") >&5  if { (eval echo "$as_me:8770: \"$ac_link\"") >&5
8771    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8772    ac_status=$?    ac_status=$?
8773    echo "$as_me:8779: \$? = $ac_status" >&5    echo "$as_me:8773: \$? = $ac_status" >&5
8774    (exit $ac_status); } &&    (exit $ac_status); } &&
8775           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8776    { (eval echo "$as_me:8782: \"$ac_try\"") >&5    { (eval echo "$as_me:8776: \"$ac_try\"") >&5
8777    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8778    ac_status=$?    ac_status=$?
8779    echo "$as_me:8785: \$? = $ac_status" >&5    echo "$as_me:8779: \$? = $ac_status" >&5
8780    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8781    ac_cv_lib_kstat_kstat_open=yes    ac_cv_lib_kstat_kstat_open=yes
8782  else  else
# Line 8793  fi Line 8787  fi
8787  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8788  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
8789  fi  fi
8790  echo "$as_me:8796: result: $ac_cv_lib_kstat_kstat_open" >&5  echo "$as_me:8790: result: $ac_cv_lib_kstat_kstat_open" >&5
8791  echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6  echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6
8792  if test $ac_cv_lib_kstat_kstat_open = yes; then  if test $ac_cv_lib_kstat_kstat_open = yes; then
8793    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8811  test $ac_cv_lib_kstat_kstat_open = yes & Line 8805  test $ac_cv_lib_kstat_kstat_open = yes &
8805  # to get the right answer into the cache.  # to get the right answer into the cache.
8806  # 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.
8807  if test $ac_have_func = no; then  if test $ac_have_func = no; then
8808    echo "$as_me:8814: checking for elf_begin in -lelf" >&5    echo "$as_me:8808: checking for elf_begin in -lelf" >&5
8809  echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6  echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
8810  if test "${ac_cv_lib_elf_elf_begin+set}" = set; then  if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
8811    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8819  else Line 8813  else
8813    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
8814  LIBS="-lelf  $LIBS"  LIBS="-lelf  $LIBS"
8815  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
8816  #line 8822 "configure"  #line 8816 "configure"
8817  #include "confdefs.h"  #include "confdefs.h"
8818    
8819  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 8838  elf_begin (); Line 8832  elf_begin ();
8832  }  }
8833  _ACEOF  _ACEOF
8834  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8835  if { (eval echo "$as_me:8841: \"$ac_link\"") >&5  if { (eval echo "$as_me:8835: \"$ac_link\"") >&5
8836    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8837    ac_status=$?    ac_status=$?
8838    echo "$as_me:8844: \$? = $ac_status" >&5    echo "$as_me:8838: \$? = $ac_status" >&5
8839    (exit $ac_status); } &&    (exit $ac_status); } &&
8840           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8841    { (eval echo "$as_me:8847: \"$ac_try\"") >&5    { (eval echo "$as_me:8841: \"$ac_try\"") >&5
8842    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8843    ac_status=$?    ac_status=$?
8844    echo "$as_me:8850: \$? = $ac_status" >&5    echo "$as_me:8844: \$? = $ac_status" >&5
8845    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8846    ac_cv_lib_elf_elf_begin=yes    ac_cv_lib_elf_elf_begin=yes
8847  else  else
# Line 8858  fi Line 8852  fi
8852  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8853  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
8854  fi  fi
8855  echo "$as_me:8861: result: $ac_cv_lib_elf_elf_begin" >&5  echo "$as_me:8855: result: $ac_cv_lib_elf_elf_begin" >&5
8856  echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6  echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
8857  if test $ac_cv_lib_elf_elf_begin = yes; then  if test $ac_cv_lib_elf_elf_begin = yes; then
8858    LIBS="-lelf $LIBS"    LIBS="-lelf $LIBS"
# Line 8866  fi Line 8860  fi
8860    
8861  fi  fi
8862  if test $ac_have_func = no; then  if test $ac_have_func = no; then
8863    echo "$as_me:8869: checking for kvm_open in -lkvm" >&5    echo "$as_me:8863: checking for kvm_open in -lkvm" >&5
8864  echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6  echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6
8865  if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then  if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then
8866    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8874  else Line 8868  else
8868    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
8869  LIBS="-lkvm  $LIBS"  LIBS="-lkvm  $LIBS"
8870  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
8871  #line 8877 "configure"  #line 8871 "configure"
8872  #include "confdefs.h"  #include "confdefs.h"
8873    
8874  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 8893  kvm_open (); Line 8887  kvm_open ();
8887  }  }
8888  _ACEOF  _ACEOF
8889  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8890  if { (eval echo "$as_me:8896: \"$ac_link\"") >&5  if { (eval echo "$as_me:8890: \"$ac_link\"") >&5
8891    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8892    ac_status=$?    ac_status=$?
8893    echo "$as_me:8899: \$? = $ac_status" >&5    echo "$as_me:8893: \$? = $ac_status" >&5
8894    (exit $ac_status); } &&    (exit $ac_status); } &&
8895           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8896    { (eval echo "$as_me:8902: \"$ac_try\"") >&5    { (eval echo "$as_me:8896: \"$ac_try\"") >&5
8897    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8898    ac_status=$?    ac_status=$?
8899    echo "$as_me:8905: \$? = $ac_status" >&5    echo "$as_me:8899: \$? = $ac_status" >&5
8900    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8901    ac_cv_lib_kvm_kvm_open=yes    ac_cv_lib_kvm_kvm_open=yes
8902  else  else
# Line 8913  fi Line 8907  fi
8907  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8908  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
8909  fi  fi
8910  echo "$as_me:8916: result: $ac_cv_lib_kvm_kvm_open" >&5  echo "$as_me:8910: result: $ac_cv_lib_kvm_kvm_open" >&5
8911  echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6  echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6
8912  if test $ac_cv_lib_kvm_kvm_open = yes; then  if test $ac_cv_lib_kvm_kvm_open = yes; then
8913    LIBS="-lkvm $LIBS"    LIBS="-lkvm $LIBS"
8914  fi  fi
8915    
8916    # Check for the 4.4BSD definition of getloadavg.    # Check for the 4.4BSD definition of getloadavg.
8917    echo "$as_me:8923: checking for getloadavg in -lutil" >&5    echo "$as_me:8917: checking for getloadavg in -lutil" >&5
8918  echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6  echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6
8919  if test "${ac_cv_lib_util_getloadavg+set}" = set; then  if test "${ac_cv_lib_util_getloadavg+set}" = set; then
8920    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8928  else Line 8922  else
8922    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
8923  LIBS="-lutil  $LIBS"  LIBS="-lutil  $LIBS"
8924  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
8925  #line 8931 "configure"  #line 8925 "configure"
8926  #include "confdefs.h"  #include "confdefs.h"
8927    
8928  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 8947  getloadavg (); Line 8941  getloadavg ();
8941  }  }
8942  _ACEOF  _ACEOF
8943  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8944  if { (eval echo "$as_me:8950: \"$ac_link\"") >&5  if { (eval echo "$as_me:8944: \"$ac_link\"") >&5
8945    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8946    ac_status=$?    ac_status=$?
8947    echo "$as_me:8953: \$? = $ac_status" >&5    echo "$as_me:8947: \$? = $ac_status" >&5
8948    (exit $ac_status); } &&    (exit $ac_status); } &&
8949           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8950    { (eval echo "$as_me:8956: \"$ac_try\"") >&5    { (eval echo "$as_me:8950: \"$ac_try\"") >&5
8951    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8952    ac_status=$?    ac_status=$?
8953    echo "$as_me:8959: \$? = $ac_status" >&5    echo "$as_me:8953: \$? = $ac_status" >&5
8954    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8955    ac_cv_lib_util_getloadavg=yes    ac_cv_lib_util_getloadavg=yes
8956  else  else
# Line 8967  fi Line 8961  fi
8961  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8962  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
8963  fi  fi
8964  echo "$as_me:8970: result: $ac_cv_lib_util_getloadavg" >&5  echo "$as_me:8964: result: $ac_cv_lib_util_getloadavg" >&5
8965  echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6  echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6
8966  if test $ac_cv_lib_util_getloadavg = yes; then  if test $ac_cv_lib_util_getloadavg = yes; then
8967    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 8980  if test $ac_have_func = no; then Line 8974  if test $ac_have_func = no; then
8974    # 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.
8975    ac_getloadavg_LIBS=$LIBS    ac_getloadavg_LIBS=$LIBS
8976    LIBS="-L/usr/local/lib $LIBS"    LIBS="-L/usr/local/lib $LIBS"
8977    echo "$as_me:8983: checking for getloadavg in -lgetloadavg" >&5    echo "$as_me:8977: checking for getloadavg in -lgetloadavg" >&5
8978  echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6  echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6
8979  if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then  if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then
8980    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8988  else Line 8982  else
8982    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
8983  LIBS="-lgetloadavg  $LIBS"  LIBS="-lgetloadavg  $LIBS"
8984  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
8985  #line 8991 "configure"  #line 8985 "configure"
8986  #include "confdefs.h"  #include "confdefs.h"
8987    
8988  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 9007  getloadavg (); Line 9001  getloadavg ();
9001  }  }
9002  _ACEOF  _ACEOF
9003  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9004  if { (eval echo "$as_me:9010: \"$ac_link\"") >&5  if { (eval echo "$as_me:9004: \"$ac_link\"") >&5
9005    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9006    ac_status=$?    ac_status=$?
9007    echo "$as_me:9013: \$? = $ac_status" >&5    echo "$as_me:9007: \$? = $ac_status" >&5
9008    (exit $ac_status); } &&    (exit $ac_status); } &&
9009           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9010    { (eval echo "$as_me:9016: \"$ac_try\"") >&5    { (eval echo "$as_me:9010: \"$ac_try\"") >&5
9011    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9012    ac_status=$?    ac_status=$?
9013    echo "$as_me:9019: \$? = $ac_status" >&5    echo "$as_me:9013: \$? = $ac_status" >&5
9014    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9015    ac_cv_lib_getloadavg_getloadavg=yes    ac_cv_lib_getloadavg_getloadavg=yes
9016  else  else
# Line 9027  fi Line 9021  fi
9021  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9022  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
9023  fi  fi
9024  echo "$as_me:9030: result: $ac_cv_lib_getloadavg_getloadavg" >&5  echo "$as_me:9024: result: $ac_cv_lib_getloadavg_getloadavg" >&5
9025  echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6  echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6
9026  if test $ac_cv_lib_getloadavg_getloadavg = yes; then  if test $ac_cv_lib_getloadavg_getloadavg = yes; then
9027    LIBS="-lgetloadavg $LIBS"    LIBS="-lgetloadavg $LIBS"
# Line 9043  fi Line 9037  fi
9037  for ac_func in getloadavg  for ac_func in getloadavg
9038  do  do
9039  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9040  echo "$as_me:9046: checking for $ac_func" >&5  echo "$as_me:9040: checking for $ac_func" >&5
9041  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9042  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
9043    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9044  else  else
9045    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9046  #line 9052 "configure"  #line 9046 "configure"
9047  #include "confdefs.h"  #include "confdefs.h"
9048  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
9049      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 9080  f = $ac_func; Line 9074  f = $ac_func;
9074  }  }
9075  _ACEOF  _ACEOF
9076  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9077  if { (eval echo "$as_me:9083: \"$ac_link\"") >&5  if { (eval echo "$as_me:9077: \"$ac_link\"") >&5
9078    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9079    ac_status=$?    ac_status=$?
9080    echo "$as_me:9086: \$? = $ac_status" >&5    echo "$as_me:9080: \$? = $ac_status" >&5
9081    (exit $ac_status); } &&    (exit $ac_status); } &&
9082           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9083    { (eval echo "$as_me:9089: \"$ac_try\"") >&5    { (eval echo "$as_me:9083: \"$ac_try\"") >&5
9084    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9085    ac_status=$?    ac_status=$?
9086    echo "$as_me:9092: \$? = $ac_status" >&5    echo "$as_me:9086: \$? = $ac_status" >&5
9087    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9088    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
9089  else  else
# Line 9099  eval "$as_ac_var=no" Line 9093  eval "$as_ac_var=no"
9093  fi  fi
9094  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9095  fi  fi
9096  echo "$as_me:9102: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:9096: result: `eval echo '${'$as_ac_var'}'`" >&5
9097  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9098  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
9099    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 9115  EOF Line 9109  EOF
9109    
9110  # Figure out what our getloadavg.c needs.  # Figure out what our getloadavg.c needs.
9111  ac_have_func=no  ac_have_func=no
9112  echo "$as_me:9118: checking for sys/dg_sys_info.h" >&5  echo "$as_me:9112: checking for sys/dg_sys_info.h" >&5
9113  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
9114  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
9115    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9116  else  else
9117    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9118  #line 9124 "configure"  #line 9118 "configure"
9119  #include "confdefs.h"  #include "confdefs.h"
9120  #include <sys/dg_sys_info.h>  #include <sys/dg_sys_info.h>
9121  _ACEOF  _ACEOF
9122  if { (eval echo "$as_me:9128: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:9122: \"$ac_cpp conftest.$ac_ext\"") >&5
9123    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9124    ac_status=$?    ac_status=$?
9125    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
9126    rm -f conftest.er1    rm -f conftest.er1
9127    cat conftest.err >&5    cat conftest.err >&5
9128    echo "$as_me:9134: \$? = $ac_status" >&5    echo "$as_me:9128: \$? = $ac_status" >&5
9129    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
9130    if test -s conftest.err; then    if test -s conftest.err; then
9131      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 9150  else Line 9144  else
9144  fi  fi
9145  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
9146  fi  fi
9147  echo "$as_me:9153: result: $ac_cv_header_sys_dg_sys_info_h" >&5  echo "$as_me:9147: result: $ac_cv_header_sys_dg_sys_info_h" >&5
9148  echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6  echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
9149  if test $ac_cv_header_sys_dg_sys_info_h = yes; then  if test $ac_cv_header_sys_dg_sys_info_h = yes; then
9150    ac_have_func=yes    ac_have_func=yes
# Line 9159  cat >>confdefs.h <<\EOF Line 9153  cat >>confdefs.h <<\EOF
9153  #define DGUX 1  #define DGUX 1
9154  EOF  EOF
9155    
9156  echo "$as_me:9162: checking for dg_sys_info in -ldgc" >&5  echo "$as_me:9156: checking for dg_sys_info in -ldgc" >&5
9157  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
9158  if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then  if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then
9159    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 9167  else Line 9161  else
9161    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
9162  LIBS="-ldgc  $LIBS"  LIBS="-ldgc  $LIBS"
9163  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
9164  #line 9170 "configure"  #line 9164 "configure"
9165  #include "confdefs.h"  #include "confdefs.h"
9166    
9167  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 9186  dg_sys_info (); Line 9180  dg_sys_info ();
9180  }  }
9181  _ACEOF  _ACEOF
9182  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9183  if { (eval echo "$as_me:9189: \"$ac_link\"") >&5  if { (eval echo "$as_me:9183: \"$ac_link\"") >&5
9184    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9185    ac_status=$?    ac_status=$?
9186    echo "$as_me:9192: \$? = $ac_status" >&5    echo "$as_me:9186: \$? = $ac_status" >&5
9187    (exit $ac_status); } &&    (exit $ac_status); } &&
9188           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9189    { (eval echo "$as_me:9195: \"$ac_try\"") >&5    { (eval echo "$as_me:9189: \"$ac_try\"") >&5
9190    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9191    ac_status=$?    ac_status=$?
9192    echo "$as_me:9198: \$? = $ac_status" >&5    echo "$as_me:9192: \$? = $ac_status" >&5
9193    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9194    ac_cv_lib_dgc_dg_sys_info=yes    ac_cv_lib_dgc_dg_sys_info=yes
9195  else  else
# Line 9206  fi Line 9200  fi
9200  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9201  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
9202  fi  fi
9203  echo "$as_me:9209: result: $ac_cv_lib_dgc_dg_sys_info" >&5  echo "$as_me:9203: result: $ac_cv_lib_dgc_dg_sys_info" >&5
9204  echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6  echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6
9205  if test $ac_cv_lib_dgc_dg_sys_info = yes; then  if test $ac_cv_lib_dgc_dg_sys_info = yes; then
9206    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 9219  fi Line 9213  fi
9213    
9214  fi  fi
9215    
9216  echo "$as_me:9222: checking for locale.h" >&5  echo "$as_me:9216: checking for locale.h" >&5
9217  echo $ECHO_N "checking for locale.h... $ECHO_C" >&6  echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
9218  if test "${ac_cv_header_locale_h+set}" = set; then  if test "${ac_cv_header_locale_h+set}" = set; then
9219    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9220  else  else
9221    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9222  #line 9228 "configure"  #line 9222 "configure"
9223  #include "confdefs.h"  #include "confdefs.h"
9224  #include <locale.h>  #include <locale.h>
9225  _ACEOF  _ACEOF
9226  if { (eval echo "$as_me:9232: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:9226: \"$ac_cpp conftest.$ac_ext\"") >&5
9227    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9228    ac_status=$?    ac_status=$?
9229    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
9230    rm -f conftest.er1    rm -f conftest.er1
9231    cat conftest.err >&5    cat conftest.err >&5
9232    echo "$as_me:9238: \$? = $ac_status" >&5    echo "$as_me:9232: \$? = $ac_status" >&5
9233    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
9234    if test -s conftest.err; then    if test -s conftest.err; then
9235      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 9254  else Line 9248  else
9248  fi  fi
9249  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
9250  fi  fi
9251  echo "$as_me:9257: result: $ac_cv_header_locale_h" >&5  echo "$as_me:9251: result: $ac_cv_header_locale_h" >&5
9252  echo "${ECHO_T}$ac_cv_header_locale_h" >&6  echo "${ECHO_T}$ac_cv_header_locale_h" >&6
9253    
9254  for ac_func in setlocale  for ac_func in setlocale
9255  do  do
9256  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9257  echo "$as_me:9263: checking for $ac_func" >&5  echo "$as_me:9257: checking for $ac_func" >&5
9258  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9259  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
9260    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9261  else  else
9262    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9263  #line 9269 "configure"  #line 9263 "configure"
9264  #include "confdefs.h"  #include "confdefs.h"
9265  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
9266      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 9297  f = $ac_func; Line 9291  f = $ac_func;
9291  }  }
9292  _ACEOF  _ACEOF
9293  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9294  if { (eval echo "$as_me:9300: \"$ac_link\"") >&5  if { (eval echo "$as_me:9294: \"$ac_link\"") >&5
9295    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9296    ac_status=$?    ac_status=$?
9297    echo "$as_me:9303: \$? = $ac_status" >&5    echo "$as_me:9297: \$? = $ac_status" >&5
9298    (exit $ac_status); } &&    (exit $ac_status); } &&
9299           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9300    { (eval echo "$as_me:9306: \"$ac_try\"") >&5    { (eval echo "$as_me:9300: \"$ac_try\"") >&5
9301    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9302    ac_status=$?    ac_status=$?
9303    echo "$as_me:9309: \$? = $ac_status" >&5    echo "$as_me:9303: \$? = $ac_status" >&5
9304    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9305    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
9306  else  else
# Line 9316  eval "$as_ac_var=no" Line 9310  eval "$as_ac_var=no"
9310  fi  fi
9311  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9312  fi  fi
9313  echo "$as_me:9319: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:9313: result: `eval echo '${'$as_ac_var'}'`" >&5
9314  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9315  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
9316    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 9339  EOF Line 9333  EOF
9333  fi  fi
9334    
9335  if test $ac_have_func = no; then  if test $ac_have_func = no; then
9336    echo "$as_me:9342: checking for inq_stats/cpustats.h" >&5    echo "$as_me:9336: checking for inq_stats/cpustats.h" >&5
9337  echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6  echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
9338  if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then  if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
9339    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9340  else  else
9341    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9342  #line 9348 "configure"  #line 9342 "configure"
9343  #include "confdefs.h"  #include "confdefs.h"
9344  #include <inq_stats/cpustats.h>  #include <inq_stats/cpustats.h>
9345  _ACEOF  _ACEOF
9346  if { (eval echo "$as_me:9352: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:9346: \"$ac_cpp conftest.$ac_ext\"") >&5
9347    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9348    ac_status=$?    ac_status=$?
9349    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
9350    rm -f conftest.er1    rm -f conftest.er1
9351    cat conftest.err >&5    cat conftest.err >&5
9352    echo "$as_me:9358: \$? = $ac_status" >&5    echo "$as_me:9352: \$? = $ac_status" >&5
9353    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
9354    if test -s conftest.err; then    if test -s conftest.err; then
9355      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 9374  else Line 9368  else
9368  fi  fi
9369  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
9370  fi  fi
9371  echo "$as_me:9377: result: $ac_cv_header_inq_stats_cpustats_h" >&5  echo "$as_me:9371: result: $ac_cv_header_inq_stats_cpustats_h" >&5
9372  echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6  echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
9373  if test $ac_cv_header_inq_stats_cpustats_h = yes; then  if test $ac_cv_header_inq_stats_cpustats_h = yes; then
9374    ac_have_func=yes    ac_have_func=yes
# Line 9392  fi Line 9386  fi
9386  fi  fi
9387    
9388  if test $ac_have_func = no; then  if test $ac_have_func = no; then
9389    echo "$as_me:9395: checking for sys/cpustats.h" >&5    echo "$as_me:9389: checking for sys/cpustats.h" >&5
9390  echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6  echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
9391  if test "${ac_cv_header_sys_cpustats_h+set}" = set; then  if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
9392    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9393  else  else
9394    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9395  #line 9401 "configure"  #line 9395 "configure"
9396  #include "confdefs.h"  #include "confdefs.h"
9397  #include <sys/cpustats.h>  #include <sys/cpustats.h>
9398  _ACEOF  _ACEOF
9399  if { (eval echo "$as_me:9405: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:9399: \"$ac_cpp conftest.$ac_ext\"") >&5
9400    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9401    ac_status=$?    ac_status=$?
9402    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
9403    rm -f conftest.er1    rm -f conftest.er1
9404    cat conftest.err >&5    cat conftest.err >&5
9405    echo "$as_me:9411: \$? = $ac_status" >&5    echo "$as_me:9405: \$? = $ac_status" >&5
9406    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
9407    if test -s conftest.err; then    if test -s conftest.err; then
9408      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 9427  else Line 9421  else
9421  fi  fi
9422  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
9423  fi  fi
9424  echo "$as_me:9430: result: $ac_cv_header_sys_cpustats_h" >&5  echo "$as_me:9424: result: $ac_cv_header_sys_cpustats_h" >&5
9425  echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6  echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
9426  if test $ac_cv_header_sys_cpustats_h = yes; then  if test $ac_cv_header_sys_cpustats_h = yes; then
9427    ac_have_func=yes; cat >>confdefs.h <<\EOF    ac_have_func=yes; cat >>confdefs.h <<\EOF
# Line 9443  if test $ac_have_func = no; then Line 9437  if test $ac_have_func = no; then
9437  for ac_header in mach/mach.h  for ac_header in mach/mach.h
9438  do  do
9439  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9440  echo "$as_me:9446: checking for $ac_header" >&5  echo "$as_me:9440: checking for $ac_header" >&5
9441  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9442  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
9443    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9444  else  else
9445    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9446  #line 9452 "configure"  #line 9446 "configure"
9447  #include "confdefs.h"  #include "confdefs.h"
9448  #include <$ac_header>  #include <$ac_header>
9449  _ACEOF  _ACEOF
9450  if { (eval echo "$as_me:9456: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:9450: \"$ac_cpp conftest.$ac_ext\"") >&5
9451    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9452    ac_status=$?    ac_status=$?
9453    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
9454    rm -f conftest.er1    rm -f conftest.er1
9455    cat conftest.err >&5    cat conftest.err >&5
9456    echo "$as_me:9462: \$? = $ac_status" >&5    echo "$as_me:9456: \$? = $ac_status" >&5
9457    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
9458    if test -s conftest.err; then    if test -s conftest.err; then
9459      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 9478  else Line 9472  else
9472  fi  fi
9473  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
9474  fi  fi
9475  echo "$as_me:9481: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:9475: result: `eval echo '${'$as_ac_Header'}'`" >&5
9476  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9477  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
9478    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 9493  fi Line 9487  fi
9487  for ac_header in nlist.h  for ac_header in nlist.h
9488  do  do
9489  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9490  echo "$as_me:9496: checking for $ac_header" >&5  echo "$as_me:9490: checking for $ac_header" >&5
9491  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9492  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
9493    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9494  else  else
9495    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9496  #line 9502 "configure"  #line 9496 "configure"
9497  #include "confdefs.h"  #include "confdefs.h"
9498  #include <$ac_header>  #include <$ac_header>
9499  _ACEOF  _ACEOF
9500  if { (eval echo "$as_me:9506: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:9500: \"$ac_cpp conftest.$ac_ext\"") >&5
9501    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9502    ac_status=$?    ac_status=$?
9503    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
9504    rm -f conftest.er1    rm -f conftest.er1
9505    cat conftest.err >&5    cat conftest.err >&5
9506    echo "$as_me:9512: \$? = $ac_status" >&5    echo "$as_me:9506: \$? = $ac_status" >&5
9507    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
9508    if test -s conftest.err; then    if test -s conftest.err; then
9509      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 9528  else Line 9522  else
9522  fi  fi
9523  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
9524  fi  fi
9525  echo "$as_me:9531: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:9525: result: `eval echo '${'$as_ac_Header'}'`" >&5
9526  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9527  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
9528    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
9529  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9530  EOF  EOF
9531   echo "$as_me:9537: checking for struct nlist.n_un.n_name" >&5   echo "$as_me:9531: checking for struct nlist.n_un.n_name" >&5
9532  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
9533  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
9534    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9535  else  else
9536    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9537  #line 9543 "configure"  #line 9537 "configure"
9538  #include "confdefs.h"  #include "confdefs.h"
9539  #include <nlist.h>  #include <nlist.h>
9540    
# Line 9555  return 0; Line 9549  return 0;
9549  }  }
9550  _ACEOF  _ACEOF
9551  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
9552  if { (eval echo "$as_me:9558: \"$ac_compile\"") >&5  if { (eval echo "$as_me:9552: \"$ac_compile\"") >&5
9553    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
9554    ac_status=$?    ac_status=$?
9555    echo "$as_me:9561: \$? = $ac_status" >&5    echo "$as_me:9555: \$? = $ac_status" >&5
9556    (exit $ac_status); } &&    (exit $ac_status); } &&
9557           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
9558    { (eval echo "$as_me:9564: \"$ac_try\"") >&5    { (eval echo "$as_me:9558: \"$ac_try\"") >&5
9559    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9560    ac_status=$?    ac_status=$?
9561    echo "$as_me:9567: \$? = $ac_status" >&5    echo "$as_me:9561: \$? = $ac_status" >&5
9562    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9563    ac_cv_member_struct_nlist_n_un_n_name=yes    ac_cv_member_struct_nlist_n_un_n_name=yes
9564  else  else
# Line 9574  ac_cv_member_struct_nlist_n_un_n_name=no Line 9568  ac_cv_member_struct_nlist_n_un_n_name=no
9568  fi  fi
9569  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
9570  fi  fi
9571  echo "$as_me:9577: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5  echo "$as_me:9571: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5
9572  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
9573  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
9574    
# Line 9595  fi Line 9589  fi
9589  done  done
9590    
9591  # Some definitions of getloadavg require that the program be installed setgid.  # Some definitions of getloadavg require that the program be installed setgid.
9592  echo "$as_me:9598: checking whether getloadavg requires setgid" >&5  echo "$as_me:9592: checking whether getloadavg requires setgid" >&5
9593  echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6  echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6
9594  if test "${ac_cv_func_getloadavg_setgid+set}" = set; then  if test "${ac_cv_func_getloadavg_setgid+set}" = set; then
9595    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9596  else  else
9597    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9598  #line 9604 "configure"  #line 9598 "configure"
9599  #include "confdefs.h"  #include "confdefs.h"
9600  #include "$srcdir/getloadavg.c"  #include "$srcdir/getloadavg.c"
9601  #ifdef LDAV_PRIVILEGED  #ifdef LDAV_PRIVILEGED
# Line 9617  fi Line 9611  fi
9611  rm -f conftest*  rm -f conftest*
9612    
9613  fi  fi
9614  echo "$as_me:9620: result: $ac_cv_func_getloadavg_setgid" >&5  echo "$as_me:9614: result: $ac_cv_func_getloadavg_setgid" >&5
9615  echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6  echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6
9616  if test $ac_cv_func_getloadavg_setgid = yes; then  if test $ac_cv_func_getloadavg_setgid = yes; then
9617    NEED_SETGID=true    NEED_SETGID=true
# Line 9631  else Line 9625  else
9625  fi  fi
9626    
9627  if test $ac_cv_func_getloadavg_setgid = yes; then  if test $ac_cv_func_getloadavg_setgid = yes; then
9628    echo "$as_me:9634: checking group of /dev/kmem" >&5    echo "$as_me:9628: checking group of /dev/kmem" >&5
9629  echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6  echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6
9630  if test "${ac_cv_group_kmem+set}" = set; then  if test "${ac_cv_group_kmem+set}" = set; then
9631    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 9646  else Line 9640  else
9640                 / /s/.* //;p;'`                 / /s/.* //;p;'`
9641    
9642  fi  fi
9643  echo "$as_me:9649: result: $ac_cv_group_kmem" >&5  echo "$as_me:9643: result: $ac_cv_group_kmem" >&5
9644  echo "${ECHO_T}$ac_cv_group_kmem" >&6  echo "${ECHO_T}$ac_cv_group_kmem" >&6
9645    KMEM_GROUP=$ac_cv_group_kmem    KMEM_GROUP=$ac_cv_group_kmem
9646  fi  fi
# Line 9657  else Line 9651  else
9651  fi  fi
9652  LIBS=$ac_save_LIBS  LIBS=$ac_save_LIBS
9653    
9654  echo "$as_me:9660: checking for _LARGEFILE_SOURCE value needed for large files" >&5  echo "$as_me:9654: checking for _LARGEFILE_SOURCE value needed for large files" >&5
9655  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
9656  if test "${ac_cv_sys_largefile_source+set}" = set; then  if test "${ac_cv_sys_largefile_source+set}" = set; then
9657    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 9665  else Line 9659  else
9659    while :; do    while :; do
9660    ac_cv_sys_largefile_source=no    ac_cv_sys_largefile_source=no
9661    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9662  #line 9668 "configure"  #line 9662 "configure"
9663  #include "confdefs.h"  #include "confdefs.h"
9664  #include <stdio.h>  #include <stdio.h>
9665  int  int
# Line 9677  return !fseeko; Line 9671  return !fseeko;
9671  }  }
9672  _ACEOF  _ACEOF
9673  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
9674  if { (eval echo "$as_me:9680: \"$ac_compile\"") >&5  if { (eval echo "$as_me:9674: \"$ac_compile\"") >&5
9675    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
9676    ac_status=$?    ac_status=$?
9677    echo "$as_me:9683: \$? = $ac_status" >&5    echo "$as_me:9677: \$? = $ac_status" >&5
9678    (exit $ac_status); } &&    (exit $ac_status); } &&
9679           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
9680    { (eval echo "$as_me:9686: \"$ac_try\"") >&5    { (eval echo "$as_me:9680: \"$ac_try\"") >&5
9681    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9682    ac_status=$?    ac_status=$?
9683    echo "$as_me:9689: \$? = $ac_status" >&5    echo "$as_me:9683: \$? = $ac_status" >&5
9684    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9685    break    break
9686  else  else
# Line 9695  cat conftest.$ac_ext >&5 Line 9689  cat conftest.$ac_ext >&5
9689  fi  fi
9690  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
9691    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9692  #line 9698 "configure"  #line 9692 "configure"
9693  #include "confdefs.h"  #include "confdefs.h"
9694  #define _LARGEFILE_SOURCE 1  #define _LARGEFILE_SOURCE 1
9695  #include <stdio.h>  #include <stdio.h>
# Line 9708  return !fseeko; Line 9702  return !fseeko;
9702  }  }
9703  _ACEOF  _ACEOF
9704  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
9705  if { (eval echo "$as_me:9711: \"$ac_compile\"") >&5  if { (eval echo "$as_me:9705: \"$ac_compile\"") >&5
9706    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
9707    ac_status=$?    ac_status=$?
9708    echo "$as_me:9714: \$? = $ac_status" >&5    echo "$as_me:9708: \$? = $ac_status" >&5
9709    (exit $ac_status); } &&    (exit $ac_status); } &&
9710           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
9711    { (eval echo "$as_me:9717: \"$ac_try\"") >&5    { (eval echo "$as_me:9711: \"$ac_try\"") >&5
9712    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9713    ac_status=$?    ac_status=$?
9714    echo "$as_me:9720: \$? = $ac_status" >&5    echo "$as_me:9714: \$? = $ac_status" >&5
9715    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9716    ac_cv_sys_largefile_source=1; break    ac_cv_sys_largefile_source=1; break
9717  else  else
# Line 9728  rm -f conftest.$ac_objext conftest.$ac_e Line 9722  rm -f conftest.$ac_objext conftest.$ac_e
9722    break    break
9723  done  done
9724  fi  fi
9725  echo "$as_me:9731: result: $ac_cv_sys_largefile_source" >&5  echo "$as_me:9725: result: $ac_cv_sys_largefile_source" >&5
9726  echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6  echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
9727  if test "$ac_cv_sys_largefile_source" != no; then  if test "$ac_cv_sys_largefile_source" != no; then
9728    
# Line 9742  rm -f conftest* Line 9736  rm -f conftest*
9736  # 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
9737  # in glibc 2.1.3, but that breaks too many other things.  # in glibc 2.1.3, but that breaks too many other things.
9738  # 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.
9739  echo "$as_me:9745: checking for fseeko" >&5  echo "$as_me:9739: checking for fseeko" >&5
9740  echo $ECHO_N "checking for fseeko... $ECHO_C" >&6  echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
9741  if test "${ac_cv_func_fseeko+set}" = set; then  if test "${ac_cv_func_fseeko+set}" = set; then
9742    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9743  else  else
9744    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9745  #line 9751 "configure"  #line 9745 "configure"
9746  #include "confdefs.h"  #include "confdefs.h"
9747  #include <stdio.h>  #include <stdio.h>
9748  int  int
# Line 9760  return fseeko && fseeko (stdin, 0, 0); Line 9754  return fseeko && fseeko (stdin, 0, 0);
9754  }  }
9755  _ACEOF  _ACEOF
9756  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9757  if { (eval echo "$as_me:9763: \"$ac_link\"") >&5  if { (eval echo "$as_me:9757: \"$ac_link\"") >&5
9758    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9759    ac_status=$?    ac_status=$?
9760    echo "$as_me:9766: \$? = $ac_status" >&5    echo "$as_me:9760: \$? = $ac_status" >&5
9761    (exit $ac_status); } &&    (exit $ac_status); } &&
9762           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9763    { (eval echo "$as_me:9769: \"$ac_try\"") >&5    { (eval echo "$as_me:9763: \"$ac_try\"") >&5
9764    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9765    ac_status=$?    ac_status=$?
9766    echo "$as_me:9772: \$? = $ac_status" >&5    echo "$as_me:9766: \$? = $ac_status" >&5
9767    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9768    ac_cv_func_fseeko=yes    ac_cv_func_fseeko=yes
9769  else  else
# Line 9779  ac_cv_func_fseeko=no Line 9773  ac_cv_func_fseeko=no
9773  fi  fi
9774  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9775  fi  fi
9776  echo "$as_me:9782: result: $ac_cv_func_fseeko" >&5  echo "$as_me:9776: result: $ac_cv_func_fseeko" >&5
9777  echo "${ECHO_T}$ac_cv_func_fseeko" >&6  echo "${ECHO_T}$ac_cv_func_fseeko" >&6
9778  if test $ac_cv_func_fseeko = yes; then  if test $ac_cv_func_fseeko = yes; then
9779    
# Line 9794  fi Line 9788  fi
9788  for ac_func in grantpt  for ac_func in grantpt
9789  do  do
9790  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9791  echo "$as_me:9797: checking for $ac_func" >&5  echo "$as_me:9791: checking for $ac_func" >&5
9792  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9793  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
9794    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9795  else  else
9796    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9797  #line 9803 "configure"  #line 9797 "configure"
9798  #include "confdefs.h"  #include "confdefs.h"
9799  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
9800      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 9831  f = $ac_func; Line 9825  f = $ac_func;
9825  }  }
9826  _ACEOF  _ACEOF
9827  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9828  if { (eval echo "$as_me:9834: \"$ac_link\"") >&5  if { (eval echo "$as_me:9828: \"$ac_link\"") >&5
9829    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9830    ac_status=$?    ac_status=$?
9831    echo "$as_me:9837: \$? = $ac_status" >&5    echo "$as_me:9831: \$? = $ac_status" >&5
9832    (exit $ac_status); } &&    (exit $ac_status); } &&
9833           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9834    { (eval echo "$as_me:9840: \"$ac_try\"") >&5    { (eval echo "$as_me:9834: \"$ac_try\"") >&5
9835    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9836    ac_status=$?    ac_status=$?
9837    echo "$as_me:9843: \$? = $ac_status" >&5    echo "$as_me:9837: \$? = $ac_status" >&5
9838    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9839    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
9840  else  else
# Line 9850  eval "$as_ac_var=no" Line 9844  eval "$as_ac_var=no"
9844  fi  fi
9845  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9846  fi  fi
9847  echo "$as_me:9853: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:9847: result: `eval echo '${'$as_ac_var'}'`" >&5
9848  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9849  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
9850    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 9865  done Line 9859  done
9859  for ac_func in getpt  for ac_func in getpt
9860  do  do
9861  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9862  echo "$as_me:9868: checking for $ac_func" >&5  echo "$as_me:9862: checking for $ac_func" >&5
9863  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9864  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
9865    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9866  else  else
9867    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9868  #line 9874 "configure"  #line 9868 "configure"
9869  #include "confdefs.h"  #include "confdefs.h"
9870  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
9871      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 9902  f = $ac_func; Line 9896  f = $ac_func;
9896  }  }
9897  _ACEOF  _ACEOF
9898  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9899  if { (eval echo "$as_me:9905: \"$ac_link\"") >&5  if { (eval echo "$as_me:9899: \"$ac_link\"") >&5
9900    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9901    ac_status=$?    ac_status=$?
9902    echo "$as_me:9908: \$? = $ac_status" >&5    echo "$as_me:9902: \$? = $ac_status" >&5
9903    (exit $ac_status); } &&    (exit $ac_status); } &&
9904           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9905    { (eval echo "$as_me:9911: \"$ac_try\"") >&5    { (eval echo "$as_me:9905: \"$ac_try\"") >&5
9906    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9907    ac_status=$?    ac_status=$?
9908    echo "$as_me:9914: \$? = $ac_status" >&5    echo "$as_me:9908: \$? = $ac_status" >&5
9909    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9910    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
9911  else  else
# Line 9921  eval "$as_ac_var=no" Line 9915  eval "$as_ac_var=no"
9915  fi  fi
9916  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9917  fi  fi
9918  echo "$as_me:9924: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:9918: result: `eval echo '${'$as_ac_var'}'`" >&5
9919  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9920  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
9921    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 9936  done Line 9930  done
9930  # It's better to believe a function is not available  # It's better to believe a function is not available
9931  # than to expect to find it in ncurses.  # than to expect to find it in ncurses.
9932    
9933  echo "$as_me:9939: checking for tparm in -lncurses" >&5  echo "$as_me:9933: checking for tparm in -lncurses" >&5
9934  echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6  echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6
9935  if test "${ac_cv_lib_ncurses_tparm+set}" = set; then  if test "${ac_cv_lib_ncurses_tparm+set}" = set; then
9936    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 9944  else Line 9938  else
9938    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
9939  LIBS="-lncurses  $LIBS"  LIBS="-lncurses  $LIBS"
9940  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
9941  #line 9947 "configure"  #line 9941 "configure"
9942  #include "confdefs.h"  #include "confdefs.h"
9943    
9944  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 9963  tparm (); Line 9957  tparm ();
9957  }  }
9958  _ACEOF  _ACEOF
9959  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9960  if { (eval echo "$as_me:9966: \"$ac_link\"") >&5  if { (eval echo "$as_me:9960: \"$ac_link\"") >&5
9961    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9962    ac_status=$?    ac_status=$?
9963    echo "$as_me:9969: \$? = $ac_status" >&5    echo "$as_me:9963: \$? = $ac_status" >&5
9964    (exit $ac_status); } &&    (exit $ac_status); } &&
9965           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9966    { (eval echo "$as_me:9972: \"$ac_try\"") >&5    { (eval echo "$as_me:9966: \"$ac_try\"") >&5
9967    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9968    ac_status=$?    ac_status=$?
9969    echo "$as_me:9975: \$? = $ac_status" >&5    echo "$as_me:9969: \$? = $ac_status" >&5
9970    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9971    ac_cv_lib_ncurses_tparm=yes    ac_cv_lib_ncurses_tparm=yes
9972  else  else
# Line 9983  fi Line 9977  fi
9977  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9978  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
9979  fi  fi
9980  echo "$as_me:9986: result: $ac_cv_lib_ncurses_tparm" >&5  echo "$as_me:9980: result: $ac_cv_lib_ncurses_tparm" >&5
9981  echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6  echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6
9982  if test $ac_cv_lib_ncurses_tparm = yes; then  if test $ac_cv_lib_ncurses_tparm = yes; then
9983    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 9998  fi Line 9992  fi
9992  if test "$with_hesiod" = yes ; then  if test "$with_hesiod" = yes ; then
9993    # Don't set $LIBS here -- see comments above.    # Don't set $LIBS here -- see comments above.
9994    resolv=no    resolv=no
9995    echo "$as_me:10001: checking for res_send" >&5    echo "$as_me:9995: checking for res_send" >&5
9996  echo $ECHO_N "checking for res_send... $ECHO_C" >&6  echo $ECHO_N "checking for res_send... $ECHO_C" >&6
9997  if test "${ac_cv_func_res_send+set}" = set; then  if test "${ac_cv_func_res_send+set}" = set; then
9998    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9999  else  else
10000    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
10001  #line 10007 "configure"  #line 10001 "configure"
10002  #include "confdefs.h"  #include "confdefs.h"
10003  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
10004      which can conflict with char res_send (); below.  */      which can conflict with char res_send (); below.  */
# Line 10035  f = res_send; Line 10029  f = res_send;
10029  }  }
10030  _ACEOF  _ACEOF
10031  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10032  if { (eval echo "$as_me:10038: \"$ac_link\"") >&5  if { (eval echo "$as_me:10032: \"$ac_link\"") >&5
10033    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10034    ac_status=$?    ac_status=$?
10035    echo "$as_me:10041: \$? = $ac_status" >&5    echo "$as_me:10035: \$? = $ac_status" >&5
10036    (exit $ac_status); } &&    (exit $ac_status); } &&
10037           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10038    { (eval echo "$as_me:10044: \"$ac_try\"") >&5    { (eval echo "$as_me:10038: \"$ac_try\"") >&5
10039    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10040    ac_status=$?    ac_status=$?
10041    echo "$as_me:10047: \$? = $ac_status" >&5    echo "$as_me:10041: \$? = $ac_status" >&5
10042    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10043    ac_cv_func_res_send=yes    ac_cv_func_res_send=yes
10044  else  else
# Line 10054  ac_cv_func_res_send=no Line 10048  ac_cv_func_res_send=no
10048  fi  fi
10049  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10050  fi  fi
10051  echo "$as_me:10057: result: $ac_cv_func_res_send" >&5  echo "$as_me:10051: result: $ac_cv_func_res_send" >&5
10052  echo "${ECHO_T}$ac_cv_func_res_send" >&6  echo "${ECHO_T}$ac_cv_func_res_send" >&6
10053  if test $ac_cv_func_res_send = yes; then  if test $ac_cv_func_res_send = yes; then
10054    :    :
10055  else  else
10056    echo "$as_me:10062: checking for __res_send" >&5    echo "$as_me:10056: checking for __res_send" >&5
10057  echo $ECHO_N "checking for __res_send... $ECHO_C" >&6  echo $ECHO_N "checking for __res_send... $ECHO_C" >&6
10058  if test "${ac_cv_func___res_send+set}" = set; then  if test "${ac_cv_func___res_send+set}" = set; then
10059    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
10060  else  else
10061    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
10062  #line 10068 "configure"  #line 10062 "configure"
10063  #include "confdefs.h"  #include "confdefs.h"
10064  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
10065      which can conflict with char __res_send (); below.  */      which can conflict with char __res_send (); below.  */
# Line 10096  f = __res_send; Line 10090  f = __res_send;
10090  }  }
10091  _ACEOF  _ACEOF
10092  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10093  if { (eval echo "$as_me:10099: \"$ac_link\"") >&5  if { (eval echo "$as_me:10093: \"$ac_link\"") >&5
10094    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10095    ac_status=$?    ac_status=$?
10096    echo "$as_me:10102: \$? = $ac_status" >&5    echo "$as_me:10096: \$? = $ac_status" >&5
10097    (exit $ac_status); } &&    (exit $ac_status); } &&
10098           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10099    { (eval echo "$as_me:10105: \"$ac_try\"") >&5    { (eval echo "$as_me:10099: \"$ac_try\"") >&5
10100    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10101    ac_status=$?    ac_status=$?
10102    echo "$as_me:10108: \$? = $ac_status" >&5    echo "$as_me:10102: \$? = $ac_status" >&5
10103    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10104    ac_cv_func___res_send=yes    ac_cv_func___res_send=yes
10105  else  else
# Line 10115  ac_cv_func___res_send=no Line 10109  ac_cv_func___res_send=no
10109  fi  fi
10110  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10111  fi  fi
10112  echo "$as_me:10118: result: $ac_cv_func___res_send" >&5  echo "$as_me:10112: result: $ac_cv_func___res_send" >&5
10113  echo "${ECHO_T}$ac_cv_func___res_send" >&6  echo "${ECHO_T}$ac_cv_func___res_send" >&6
10114  if test $ac_cv_func___res_send = yes; then  if test $ac_cv_func___res_send = yes; then
10115    :    :
10116  else  else
10117    echo "$as_me:10123: checking for res_send in -lresolv" >&5    echo "$as_me:10117: checking for res_send in -lresolv" >&5
10118  echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6  echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6
10119  if test "${ac_cv_lib_resolv_res_send+set}" = set; then  if test "${ac_cv_lib_resolv_res_send+set}" = set; then
10120    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10128  else Line 10122  else
10122    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10123  LIBS="-lresolv  $LIBS"  LIBS="-lresolv  $LIBS"
10124  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10125  #line 10131 "configure"  #line 10125 "configure"
10126  #include "confdefs.h"  #include "confdefs.h"
10127    
10128  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10147  res_send (); Line 10141  res_send ();
10141  }  }
10142  _ACEOF  _ACEOF
10143  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10144  if { (eval echo "$as_me:10150: \"$ac_link\"") >&5  if { (eval echo "$as_me:10144: \"$ac_link\"") >&5
10145    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10146    ac_status=$?    ac_status=$?
10147    echo "$as_me:10153: \$? = $ac_status" >&5    echo "$as_me:10147: \$? = $ac_status" >&5
10148    (exit $ac_status); } &&    (exit $ac_status); } &&
10149           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10150    { (eval echo "$as_me:10156: \"$ac_try\"") >&5    { (eval echo "$as_me:10150: \"$ac_try\"") >&5
10151    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10152    ac_status=$?    ac_status=$?
10153    echo "$as_me:10159: \$? = $ac_status" >&5    echo "$as_me:10153: \$? = $ac_status" >&5
10154    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10155    ac_cv_lib_resolv_res_send=yes    ac_cv_lib_resolv_res_send=yes
10156  else  else
# Line 10167  fi Line 10161  fi
10161  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10162  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10163  fi  fi
10164  echo "$as_me:10170: result: $ac_cv_lib_resolv_res_send" >&5  echo "$as_me:10164: result: $ac_cv_lib_resolv_res_send" >&5
10165  echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6  echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6
10166  if test $ac_cv_lib_resolv_res_send = yes; then  if test $ac_cv_lib_resolv_res_send = yes; then
10167    resolv=yes    resolv=yes
10168  else  else
10169    echo "$as_me:10175: checking for __res_send in -lresolv" >&5    echo "$as_me:10169: checking for __res_send in -lresolv" >&5
10170  echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6  echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6
10171  if test "${ac_cv_lib_resolv___res_send+set}" = set; then  if test "${ac_cv_lib_resolv___res_send+set}" = set; then
10172    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10180  else Line 10174  else
10174    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10175  LIBS="-lresolv  $LIBS"  LIBS="-lresolv  $LIBS"
10176  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10177  #line 10183 "configure"  #line 10177 "configure"
10178  #include "confdefs.h"  #include "confdefs.h"
10179    
10180  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10199  __res_send (); Line 10193  __res_send ();
10193  }  }
10194  _ACEOF  _ACEOF
10195  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10196  if { (eval echo "$as_me:10202: \"$ac_link\"") >&5  if { (eval echo "$as_me:10196: \"$ac_link\"") >&5
10197    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10198    ac_status=$?    ac_status=$?
10199    echo "$as_me:10205: \$? = $ac_status" >&5    echo "$as_me:10199: \$? = $ac_status" >&5
10200    (exit $ac_status); } &&    (exit $ac_status); } &&
10201           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10202    { (eval echo "$as_me:10208: \"$ac_try\"") >&5    { (eval echo "$as_me:10202: \"$ac_try\"") >&5
10203    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10204    ac_status=$?    ac_status=$?
10205    echo "$as_me:10211: \$? = $ac_status" >&5    echo "$as_me:10205: \$? = $ac_status" >&5
10206    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10207    ac_cv_lib_resolv___res_send=yes    ac_cv_lib_resolv___res_send=yes
10208  else  else
# Line 10219  fi Line 10213  fi
10213  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10214  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10215  fi  fi
10216  echo "$as_me:10222: result: $ac_cv_lib_resolv___res_send" >&5  echo "$as_me:10216: result: $ac_cv_lib_resolv___res_send" >&5
10217  echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6  echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6
10218  if test $ac_cv_lib_resolv___res_send = yes; then  if test $ac_cv_lib_resolv___res_send = yes; then
10219    resolv=yes    resolv=yes
# Line 10240  EOF Line 10234  EOF
10234    else    else
10235      RESOLVLIB=      RESOLVLIB=
10236    fi    fi
10237    echo "$as_me:10243: checking for hes_getmailhost" >&5    echo "$as_me:10237: checking for hes_getmailhost" >&5
10238  echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6  echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6
10239  if test "${ac_cv_func_hes_getmailhost+set}" = set; then  if test "${ac_cv_func_hes_getmailhost+set}" = set; then
10240    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
10241  else  else
10242    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
10243  #line 10249 "configure"  #line 10243 "configure"
10244  #include "confdefs.h"  #include "confdefs.h"
10245  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
10246      which can conflict with char hes_getmailhost (); below.  */      which can conflict with char hes_getmailhost (); below.  */
# Line 10277  f = hes_getmailhost; Line 10271  f = hes_getmailhost;
10271  }  }
10272  _ACEOF  _ACEOF
10273  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10274  if { (eval echo "$as_me:10280: \"$ac_link\"") >&5  if { (eval echo "$as_me:10274: \"$ac_link\"") >&5
10275    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10276    ac_status=$?    ac_status=$?
10277    echo "$as_me:10283: \$? = $ac_status" >&5    echo "$as_me:10277: \$? = $ac_status" >&5
10278    (exit $ac_status); } &&    (exit $ac_status); } &&
10279           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10280    { (eval echo "$as_me:10286: \"$ac_try\"") >&5    { (eval echo "$as_me:10280: \"$ac_try\"") >&5
10281    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10282    ac_status=$?    ac_status=$?
10283    echo "$as_me:10289: \$? = $ac_status" >&5    echo "$as_me:10283: \$? = $ac_status" >&5
10284    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10285    ac_cv_func_hes_getmailhost=yes    ac_cv_func_hes_getmailhost=yes
10286  else  else
# Line 10296  ac_cv_func_hes_getmailhost=no Line 10290  ac_cv_func_hes_getmailhost=no
10290  fi  fi
10291  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10292  fi  fi
10293  echo "$as_me:10299: result: $ac_cv_func_hes_getmailhost" >&5  echo "$as_me:10293: result: $ac_cv_func_hes_getmailhost" >&5
10294  echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6  echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6
10295  if test $ac_cv_func_hes_getmailhost = yes; then  if test $ac_cv_func_hes_getmailhost = yes; then
10296    :    :
10297  else  else
10298    echo "$as_me:10304: checking for hes_getmailhost in -lhesiod" >&5    echo "$as_me:10298: checking for hes_getmailhost in -lhesiod" >&5
10299  echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6  echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6
10300  if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then  if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then
10301    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10309  else Line 10303  else
10303    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10304  LIBS="-lhesiod $RESOLVLIB $LIBS"  LIBS="-lhesiod $RESOLVLIB $LIBS"
10305  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10306  #line 10312 "configure"  #line 10306 "configure"
10307  #include "confdefs.h"  #include "confdefs.h"
10308    
10309  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10328  hes_getmailhost (); Line 10322  hes_getmailhost ();
10322  }  }
10323  _ACEOF  _ACEOF
10324  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10325  if { (eval echo "$as_me:10331: \"$ac_link\"") >&5  if { (eval echo "$as_me:10325: \"$ac_link\"") >&5
10326    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10327    ac_status=$?    ac_status=$?
10328    echo "$as_me:10334: \$? = $ac_status" >&5    echo "$as_me:10328: \$? = $ac_status" >&5
10329    (exit $ac_status); } &&    (exit $ac_status); } &&
10330           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10331    { (eval echo "$as_me:10337: \"$ac_try\"") >&5    { (eval echo "$as_me:10331: \"$ac_try\"") >&5
10332    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10333    ac_status=$?    ac_status=$?
10334    echo "$as_me:10340: \$? = $ac_status" >&5    echo "$as_me:10334: \$? = $ac_status" >&5
10335    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10336    ac_cv_lib_hesiod_hes_getmailhost=yes    ac_cv_lib_hesiod_hes_getmailhost=yes
10337  else  else
# Line 10348  fi Line 10342  fi
10342  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10343  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10344  fi  fi
10345  echo "$as_me:10351: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5  echo "$as_me:10345: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5
10346  echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6  echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6
10347  if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then  if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then
10348    cat >>confdefs.h <<\EOF    cat >>confdefs.h <<\EOF
# Line 10366  fi Line 10360  fi
10360  # These tell us which Kerberos-related libraries to use.  # These tell us which Kerberos-related libraries to use.
10361  if test "${with_kerberos+set}" = set; then  if test "${with_kerberos+set}" = set; then
10362    
10363  echo "$as_me:10369: checking for com_err in -lcom_err" >&5  echo "$as_me:10363: checking for com_err in -lcom_err" >&5
10364  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
10365  if test "${ac_cv_lib_com_err_com_err+set}" = set; then  if test "${ac_cv_lib_com_err_com_err+set}" = set; then
10366    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10374  else Line 10368  else
10368    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10369  LIBS="-lcom_err  $LIBS"  LIBS="-lcom_err  $LIBS"
10370  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10371  #line 10377 "configure"  #line 10371 "configure"
10372  #include "confdefs.h"  #include "confdefs.h"
10373    
10374  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10393  com_err (); Line 10387  com_err ();
10387  }  }
10388  _ACEOF  _ACEOF
10389  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10390  if { (eval echo "$as_me:10396: \"$ac_link\"") >&5  if { (eval echo "$as_me:10390: \"$ac_link\"") >&5
10391    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10392    ac_status=$?    ac_status=$?
10393    echo "$as_me:10399: \$? = $ac_status" >&5    echo "$as_me:10393: \$? = $ac_status" >&5
10394    (exit $ac_status); } &&    (exit $ac_status); } &&
10395           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10396    { (eval echo "$as_me:10402: \"$ac_try\"") >&5    { (eval echo "$as_me:10396: \"$ac_try\"") >&5
10397    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10398    ac_status=$?    ac_status=$?
10399    echo "$as_me:10405: \$? = $ac_status" >&5    echo "$as_me:10399: \$? = $ac_status" >&5
10400    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10401    ac_cv_lib_com_err_com_err=yes    ac_cv_lib_com_err_com_err=yes
10402  else  else
# Line 10413  fi Line 10407  fi
10407  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10408  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10409  fi  fi
10410  echo "$as_me:10416: result: $ac_cv_lib_com_err_com_err" >&5  echo "$as_me:10410: result: $ac_cv_lib_com_err_com_err" >&5
10411  echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6  echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6
10412  if test $ac_cv_lib_com_err_com_err = yes; then  if test $ac_cv_lib_com_err_com_err = yes; then
10413    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10424  EOF Line 10418  EOF
10418    
10419  fi  fi
10420    
10421  echo "$as_me:10427: checking for mit_des_cbc_encrypt in -lk5crypto" >&5  echo "$as_me:10421: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
10422  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
10423  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
10424    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10432  else Line 10426  else
10426    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10427  LIBS="-lk5crypto  $LIBS"  LIBS="-lk5crypto  $LIBS"
10428  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10429  #line 10435 "configure"  #line 10429 "configure"
10430  #include "confdefs.h"  #include "confdefs.h"
10431    
10432  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10451  mit_des_cbc_encrypt (); Line 10445  mit_des_cbc_encrypt ();
10445  }  }
10446  _ACEOF  _ACEOF
10447  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10448  if { (eval echo "$as_me:10454: \"$ac_link\"") >&5  if { (eval echo "$as_me:10448: \"$ac_link\"") >&5
10449    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10450    ac_status=$?    ac_status=$?
10451    echo "$as_me:10457: \$? = $ac_status" >&5    echo "$as_me:10451: \$? = $ac_status" >&5
10452    (exit $ac_status); } &&    (exit $ac_status); } &&
10453           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10454    { (eval echo "$as_me:10460: \"$ac_try\"") >&5    { (eval echo "$as_me:10454: \"$ac_try\"") >&5
10455    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10456    ac_status=$?    ac_status=$?
10457    echo "$as_me:10463: \$? = $ac_status" >&5    echo "$as_me:10457: \$? = $ac_status" >&5
10458    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10459    ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes    ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes
10460  else  else
# Line 10471  fi Line 10465  fi
10465  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10466  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10467  fi  fi
10468  echo "$as_me:10474: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5  echo "$as_me:10468: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5
10469  echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6  echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6
10470  if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then  if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then
10471    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10482  EOF Line 10476  EOF
10476    
10477  fi  fi
10478    
10479  echo "$as_me:10485: checking for mit_des_cbc_encrypt in -lcrypto" >&5  echo "$as_me:10479: checking for mit_des_cbc_encrypt in -lcrypto" >&5
10480  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
10481  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
10482    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10490  else Line 10484  else
10484    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10485  LIBS="-lcrypto  $LIBS"  LIBS="-lcrypto  $LIBS"
10486  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10487  #line 10493 "configure"  #line 10487 "configure"
10488  #include "confdefs.h"  #include "confdefs.h"
10489    
10490  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10509  mit_des_cbc_encrypt (); Line 10503  mit_des_cbc_encrypt ();
10503  }  }
10504  _ACEOF  _ACEOF
10505  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10506  if { (eval echo "$as_me:10512: \"$ac_link\"") >&5  if { (eval echo "$as_me:10506: \"$ac_link\"") >&5
10507    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10508    ac_status=$?    ac_status=$?
10509    echo "$as_me:10515: \$? = $ac_status" >&5    echo "$as_me:10509: \$? = $ac_status" >&5
10510    (exit $ac_status); } &&    (exit $ac_status); } &&
10511           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10512    { (eval echo "$as_me:10518: \"$ac_try\"") >&5    { (eval echo "$as_me:10512: \"$ac_try\"") >&5
10513    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10514    ac_status=$?    ac_status=$?
10515    echo "$as_me:10521: \$? = $ac_status" >&5    echo "$as_me:10515: \$? = $ac_status" >&5
10516    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10517    ac_cv_lib_crypto_mit_des_cbc_encrypt=yes    ac_cv_lib_crypto_mit_des_cbc_encrypt=yes
10518  else  else
# Line 10529  fi Line 10523  fi
10523  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10524  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10525  fi  fi
10526  echo "$as_me:10532: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5  echo "$as_me:10526: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5
10527  echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6  echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6
10528  if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then  if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then
10529    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10540  EOF Line 10534  EOF
10534    
10535  fi  fi
10536    
10537  echo "$as_me:10543: checking for krb5_init_context in -lkrb5" >&5  echo "$as_me:10537: checking for krb5_init_context in -lkrb5" >&5
10538  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
10539  if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then  if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then
10540    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10548  else Line 10542  else
10542    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10543  LIBS="-lkrb5  $LIBS"  LIBS="-lkrb5  $LIBS"
10544  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10545  #line 10551 "configure"  #line 10545 "configure"
10546  #include "confdefs.h"  #include "confdefs.h"
10547    
10548  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10567  krb5_init_context (); Line 10561  krb5_init_context ();
10561  }  }
10562  _ACEOF  _ACEOF
10563  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10564  if { (eval echo "$as_me:10570: \"$ac_link\"") >&5  if { (eval echo "$as_me:10564: \"$ac_link\"") >&5
10565    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10566    ac_status=$?    ac_status=$?
10567    echo "$as_me:10573: \$? = $ac_status" >&5    echo "$as_me:10567: \$? = $ac_status" >&5
10568    (exit $ac_status); } &&    (exit $ac_status); } &&
10569           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10570    { (eval echo "$as_me:10576: \"$ac_try\"") >&5    { (eval echo "$as_me:10570: \"$ac_try\"") >&5
10571    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10572    ac_status=$?    ac_status=$?
10573    echo "$as_me:10579: \$? = $ac_status" >&5    echo "$as_me:10573: \$? = $ac_status" >&5
10574    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10575    ac_cv_lib_krb5_krb5_init_context=yes    ac_cv_lib_krb5_krb5_init_context=yes
10576  else  else
# Line 10587  fi Line 10581  fi
10581  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10582  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10583  fi  fi
10584  echo "$as_me:10590: result: $ac_cv_lib_krb5_krb5_init_context" >&5  echo "$as_me:10584: result: $ac_cv_lib_krb5_krb5_init_context" >&5
10585  echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6  echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6
10586  if test $ac_cv_lib_krb5_krb5_init_context = yes; then  if test $ac_cv_lib_krb5_krb5_init_context = yes; then
10587    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10600  fi Line 10594  fi
10594    
10595    if test "${with_kerberos5+set}" != set; then    if test "${with_kerberos5+set}" != set; then
10596    
10597  echo "$as_me:10603: checking for des_cbc_encrypt in -ldes425" >&5  echo "$as_me:10597: checking for des_cbc_encrypt in -ldes425" >&5
10598  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
10599  if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then  if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then
10600    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10608  else Line 10602  else
10602    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10603  LIBS="-ldes425  $LIBS"  LIBS="-ldes425  $LIBS"
10604  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10605  #line 10611 "configure"  #line 10605 "configure"
10606  #include "confdefs.h"  #include "confdefs.h"
10607    
10608  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10627  des_cbc_encrypt (); Line 10621  des_cbc_encrypt ();
10621  }  }
10622  _ACEOF  _ACEOF
10623  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10624  if { (eval echo "$as_me:10630: \"$ac_link\"") >&5  if { (eval echo "$as_me:10624: \"$ac_link\"") >&5
10625    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10626    ac_status=$?    ac_status=$?
10627    echo "$as_me:10633: \$? = $ac_status" >&5    echo "$as_me:10627: \$? = $ac_status" >&5
10628    (exit $ac_status); } &&    (exit $ac_status); } &&
10629           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10630    { (eval echo "$as_me:10636: \"$ac_try\"") >&5    { (eval echo "$as_me:10630: \"$ac_try\"") >&5
10631    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10632    ac_status=$?    ac_status=$?
10633    echo "$as_me:10639: \$? = $ac_status" >&5    echo "$as_me:10633: \$? = $ac_status" >&5
10634    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10635    ac_cv_lib_des425_des_cbc_encrypt=yes    ac_cv_lib_des425_des_cbc_encrypt=yes
10636  else  else
# Line 10647  fi Line 10641  fi
10641  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10642  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10643  fi  fi
10644  echo "$as_me:10650: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5  echo "$as_me:10644: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
10645  echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6  echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6
10646  if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then  if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then
10647    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10658  EOF Line 10652  EOF
10652    
10653  else  else
10654    
10655  echo "$as_me:10661: checking for des_cbc_encrypt in -ldes" >&5  echo "$as_me:10655: checking for des_cbc_encrypt in -ldes" >&5
10656  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
10657  if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then  if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then
10658    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10666  else Line 10660  else
10660    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10661  LIBS="-ldes  $LIBS"  LIBS="-ldes  $LIBS"
10662  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10663  #line 10669 "configure"  #line 10663 "configure"
10664  #include "confdefs.h"  #include "confdefs.h"
10665    
10666  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10685  des_cbc_encrypt (); Line 10679  des_cbc_encrypt ();
10679  }  }
10680  _ACEOF  _ACEOF
10681  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10682  if { (eval echo "$as_me:10688: \"$ac_link\"") >&5  if { (eval echo "$as_me:10682: \"$ac_link\"") >&5
10683    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10684    ac_status=$?    ac_status=$?
10685    echo "$as_me:10691: \$? = $ac_status" >&5    echo "$as_me:10685: \$? = $ac_status" >&5
10686    (exit $ac_status); } &&    (exit $ac_status); } &&
10687           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10688    { (eval echo "$as_me:10694: \"$ac_try\"") >&5    { (eval echo "$as_me:10688: \"$ac_try\"") >&5
10689    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10690    ac_status=$?    ac_status=$?
10691    echo "$as_me:10697: \$? = $ac_status" >&5    echo "$as_me:10691: \$? = $ac_status" >&5
10692    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10693    ac_cv_lib_des_des_cbc_encrypt=yes    ac_cv_lib_des_des_cbc_encrypt=yes
10694  else  else
# Line 10705  fi Line 10699  fi
10699  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10700  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10701  fi  fi
10702  echo "$as_me:10708: result: $ac_cv_lib_des_des_cbc_encrypt" >&5  echo "$as_me:10702: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
10703  echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6  echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6
10704  if test $ac_cv_lib_des_des_cbc_encrypt = yes; then  if test $ac_cv_lib_des_des_cbc_encrypt = yes; then
10705    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10718  fi Line 10712  fi
10712    
10713  fi  fi
10714    
10715  echo "$as_me:10721: checking for krb_get_cred in -lkrb4" >&5  echo "$as_me:10715: checking for krb_get_cred in -lkrb4" >&5
10716  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
10717  if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then  if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then
10718    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10726  else Line 10720  else
10720    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10721  LIBS="-lkrb4  $LIBS"  LIBS="-lkrb4  $LIBS"
10722  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10723  #line 10729 "configure"  #line 10723 "configure"
10724  #include "confdefs.h"  #include "confdefs.h"
10725    
10726  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10745  krb_get_cred (); Line 10739  krb_get_cred ();
10739  }  }
10740  _ACEOF  _ACEOF
10741  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10742  if { (eval echo "$as_me:10748: \"$ac_link\"") >&5  if { (eval echo "$as_me:10742: \"$ac_link\"") >&5
10743    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10744    ac_status=$?    ac_status=$?
10745    echo "$as_me:10751: \$? = $ac_status" >&5    echo "$as_me:10745: \$? = $ac_status" >&5
10746    (exit $ac_status); } &&    (exit $ac_status); } &&
10747           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10748    { (eval echo "$as_me:10754: \"$ac_try\"") >&5    { (eval echo "$as_me:10748: \"$ac_try\"") >&5
10749    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10750    ac_status=$?    ac_status=$?
10751    echo "$as_me:10757: \$? = $ac_status" >&5    echo "$as_me:10751: \$? = $ac_status" >&5
10752    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10753    ac_cv_lib_krb4_krb_get_cred=yes    ac_cv_lib_krb4_krb_get_cred=yes
10754  else  else
# Line 10765  fi Line 10759  fi
10759  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10760  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10761  fi  fi
10762  echo "$as_me:10768: result: $ac_cv_lib_krb4_krb_get_cred" >&5  echo "$as_me:10762: result: $ac_cv_lib_krb4_krb_get_cred" >&5
10763  echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6  echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6
10764  if test $ac_cv_lib_krb4_krb_get_cred = yes; then  if test $ac_cv_lib_krb4_krb_get_cred = yes; then
10765    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10776  EOF Line 10770  EOF
10770    
10771  else  else
10772    
10773  echo "$as_me:10779: checking for krb_get_cred in -lkrb" >&5  echo "$as_me:10773: checking for krb_get_cred in -lkrb" >&5
10774  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
10775  if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then  if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then
10776    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10784  else Line 10778  else
10778    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10779  LIBS="-lkrb  $LIBS"  LIBS="-lkrb  $LIBS"
10780  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10781  #line 10787 "configure"  #line 10781 "configure"
10782  #include "confdefs.h"  #include "confdefs.h"
10783    
10784  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10803  krb_get_cred (); Line 10797  krb_get_cred ();
10797  }  }
10798  _ACEOF  _ACEOF
10799  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10800  if { (eval echo "$as_me:10806: \"$ac_link\"") >&5  if { (eval echo "$as_me:10800: \"$ac_link\"") >&5
10801    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10802    ac_status=$?    ac_status=$?
10803    echo "$as_me:10809: \$? = $ac_status" >&5    echo "$as_me:10803: \$? = $ac_status" >&5
10804    (exit $ac_status); } &&    (exit $ac_status); } &&
10805           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10806    { (eval echo "$as_me:10812: \"$ac_try\"") >&5    { (eval echo "$as_me:10806: \"$ac_try\"") >&5
10807    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10808    ac_status=$?    ac_status=$?
10809    echo "$as_me:10815: \$? = $ac_status" >&5    echo "$as_me:10809: \$? = $ac_status" >&5
10810    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10811    ac_cv_lib_krb_krb_get_cred=yes    ac_cv_lib_krb_krb_get_cred=yes
10812  else  else
# Line 10823  fi Line 10817  fi
10817  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10818  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10819  fi  fi
10820  echo "$as_me:10826: result: $ac_cv_lib_krb_krb_get_cred" >&5  echo "$as_me:10820: result: $ac_cv_lib_krb_krb_get_cred" >&5
10821  echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6  echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6
10822  if test $ac_cv_lib_krb_krb_get_cred = yes; then  if test $ac_cv_lib_krb_krb_get_cred = yes; then
10823    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10843  fi Line 10837  fi
10837  for ac_header in krb5.h  for ac_header in krb5.h
10838  do  do
10839  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10840  echo "$as_me:10846: checking for $ac_header" >&5  echo "$as_me:10840: checking for $ac_header" >&5
10841  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10842  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
10843    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
10844  else  else
10845    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
10846  #line 10852 "configure"  #line 10846 "configure"
10847  #include "confdefs.h"  #include "confdefs.h"
10848  #include <$ac_header>  #include <$ac_header>
10849  _ACEOF  _ACEOF
10850  if { (eval echo "$as_me:10856: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:10850: \"$ac_cpp conftest.$ac_ext\"") >&5
10851    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10852    ac_status=$?    ac_status=$?
10853    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
10854    rm -f conftest.er1    rm -f conftest.er1
10855    cat conftest.err >&5    cat conftest.err >&5
10856    echo "$as_me:10862: \$? = $ac_status" >&5    echo "$as_me:10856: \$? = $ac_status" >&5
10857    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
10858    if test -s conftest.err; then    if test -s conftest.err; then
10859      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 10878  else Line 10872  else
10872  fi  fi
10873  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
10874  fi  fi
10875  echo "$as_me:10881: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:10875: result: `eval echo '${'$as_ac_Header'}'`" >&5
10876  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10877  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
10878    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10893  done Line 10887  done
10887  for ac_header in des.h  for ac_header in des.h
10888  do  do
10889  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10890  echo "$as_me:10896: checking for $ac_header" >&5  echo "$as_me:10890: checking for $ac_header" >&5
10891  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10892  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
10893    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
10894  else  else
10895    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
10896  #line 10902 "configure"  #line 10896 "configure"
10897  #include "confdefs.h"  #include "confdefs.h"
10898  #include <$ac_header>  #include <$ac_header>
10899  _ACEOF  _ACEOF
10900  if { (eval echo "$as_me:10906: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:10900: \"$ac_cpp conftest.$ac_ext\"") >&5
10901    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10902    ac_status=$?    ac_status=$?
10903    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
10904    rm -f conftest.er1    rm -f conftest.er1
10905    cat conftest.err >&5    cat conftest.err >&5
10906    echo "$as_me:10912: \$? = $ac_status" >&5    echo "$as_me:10906: \$? = $ac_status" >&5
10907    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
10908    if test -s conftest.err; then    if test -s conftest.err; then
10909      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 10928  else Line 10922  else
10922  fi  fi
10923  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
10924  fi  fi
10925  echo "$as_me:10931: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:10925: result: `eval echo '${'$as_ac_Header'}'`" >&5
10926  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10927  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
10928    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10940  else Line 10934  else
10934  for ac_header in kerberosIV/des.h  for ac_header in kerberosIV/des.h
10935  do  do
10936  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10937  echo "$as_me:10943: checking for $ac_header" >&5  echo "$as_me:10937: checking for $ac_header" >&5
10938  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10939  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
10940    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
10941  else  else
10942    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
10943  #line 10949 "configure"  #line 10943 "configure"
10944  #include "confdefs.h"  #include "confdefs.h"
10945  #include <$ac_header>  #include <$ac_header>
10946  _ACEOF  _ACEOF
10947  if { (eval echo "$as_me:10953: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:10947: \"$ac_cpp conftest.$ac_ext\"") >&5
10948    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10949    ac_status=$?    ac_status=$?
10950    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
10951    rm -f conftest.er1    rm -f conftest.er1
10952    cat conftest.err >&5    cat conftest.err >&5
10953    echo "$as_me:10959: \$? = $ac_status" >&5    echo "$as_me:10953: \$? = $ac_status" >&5
10954    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
10955    if test -s conftest.err; then    if test -s conftest.err; then
10956      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 10975  else Line 10969  else
10969  fi  fi
10970  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
10971  fi  fi
10972  echo "$as_me:10978: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:10972: result: `eval echo '${'$as_ac_Header'}'`" >&5
10973  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10974  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
10975    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10987  else Line 10981  else
10981  for ac_header in kerberos/des.h  for ac_header in kerberos/des.h
10982  do  do
10983  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10984  echo "$as_me:10990: checking for $ac_header" >&5  echo "$as_me:10984: checking for $ac_header" >&5
10985  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10986  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
10987    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
10988  else  else
10989    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
10990  #line 10996 "configure"  #line 10990 "configure"
10991  #include "confdefs.h"  #include "confdefs.h"
10992  #include <$ac_header>  #include <$ac_header>
10993  _ACEOF  _ACEOF
10994  if { (eval echo "$as_me:11000: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:10994: \"$ac_cpp conftest.$ac_ext\"") >&5
10995    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10996    ac_status=$?    ac_status=$?
10997    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
10998    rm -f conftest.er1    rm -f conftest.er1
10999    cat conftest.err >&5    cat conftest.err >&5
11000    echo "$as_me:11006: \$? = $ac_status" >&5    echo "$as_me:11000: \$? = $ac_status" >&5
11001    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11002    if test -s conftest.err; then    if test -s conftest.err; then
11003      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11022  else Line 11016  else
11016  fi  fi
11017  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11018  fi  fi
11019  echo "$as_me:11025: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:11019: result: `eval echo '${'$as_ac_Header'}'`" >&5
11020  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11021  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
11022    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11041  done Line 11035  done
11035  for ac_header in krb.h  for ac_header in krb.h
11036  do  do
11037  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11038  echo "$as_me:11044: checking for $ac_header" >&5  echo "$as_me:11038: checking for $ac_header" >&5
11039  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11040  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
11041    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11042  else  else
11043    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11044  #line 11050 "configure"  #line 11044 "configure"
11045  #include "confdefs.h"  #include "confdefs.h"
11046  #include <$ac_header>  #include <$ac_header>
11047  _ACEOF  _ACEOF
11048  if { (eval echo "$as_me:11054: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11048: \"$ac_cpp conftest.$ac_ext\"") >&5
11049    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11050    ac_status=$?    ac_status=$?
11051    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11052    rm -f conftest.er1    rm -f conftest.er1
11053    cat conftest.err >&5    cat conftest.err >&5
11054    echo "$as_me:11060: \$? = $ac_status" >&5    echo "$as_me:11054: \$? = $ac_status" >&5
11055    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11056    if test -s conftest.err; then    if test -s conftest.err; then
11057      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11076  else Line 11070  else
11070  fi  fi
11071  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11072  fi  fi
11073  echo "$as_me:11079: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:11073: result: `eval echo '${'$as_ac_Header'}'`" >&5
11074  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11075  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
11076    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11088  else Line 11082  else
11082  for ac_header in kerberosIV/krb.h  for ac_header in kerberosIV/krb.h
11083  do  do
11084  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11085  echo "$as_me:11091: checking for $ac_header" >&5  echo "$as_me:11085: checking for $ac_header" >&5
11086  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11087  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
11088    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11089  else  else
11090    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11091  #line 11097 "configure"  #line 11091 "configure"
11092  #include "confdefs.h"  #include "confdefs.h"
11093  #include <$ac_header>  #include <$ac_header>
11094  _ACEOF  _ACEOF
11095  if { (eval echo "$as_me:11101: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11095: \"$ac_cpp conftest.$ac_ext\"") >&5
11096    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11097    ac_status=$?    ac_status=$?
11098    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11099    rm -f conftest.er1    rm -f conftest.er1
11100    cat conftest.err >&5    cat conftest.err >&5
11101    echo "$as_me:11107: \$? = $ac_status" >&5    echo "$as_me:11101: \$? = $ac_status" >&5
11102    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11103    if test -s conftest.err; then    if test -s conftest.err; then
11104      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11123  else Line 11117  else
11117  fi  fi
11118  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11119  fi  fi
11120  echo "$as_me:11126: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:11120: result: `eval echo '${'$as_ac_Header'}'`" >&5
11121  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11122  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
11123    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11135  else Line 11129  else
11129  for ac_header in kerberos/krb.h  for ac_header in kerberos/krb.h
11130  do  do
11131  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11132  echo "$as_me:11138: checking for $ac_header" >&5  echo "$as_me:11132: checking for $ac_header" >&5
11133  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11134  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
11135    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11136  else  else
11137    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11138  #line 11144 "configure"  #line 11138 "configure"
11139  #include "confdefs.h"  #include "confdefs.h"
11140  #include <$ac_header>  #include <$ac_header>
11141  _ACEOF  _ACEOF
11142  if { (eval echo "$as_me:11148: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11142: \"$ac_cpp conftest.$ac_ext\"") >&5
11143    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11144    ac_status=$?    ac_status=$?
11145    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11146    rm -f conftest.er1    rm -f conftest.er1
11147    cat conftest.err >&5    cat conftest.err >&5
11148    echo "$as_me:11154: \$? = $ac_status" >&5    echo "$as_me:11148: \$? = $ac_status" >&5
11149    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11150    if test -s conftest.err; then    if test -s conftest.err; then
11151      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11170  else Line 11164  else
11164  fi  fi
11165  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11166  fi  fi
11167  echo "$as_me:11173: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:11167: result: `eval echo '${'$as_ac_Header'}'`" >&5
11168  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11169  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
11170    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11191  done Line 11185  done
11185  for ac_header in com_err.h  for ac_header in com_err.h
11186  do  do
11187  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11188  echo "$as_me:11194: checking for $ac_header" >&5  echo "$as_me:11188: checking for $ac_header" >&5
11189  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11190  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
11191    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11192  else  else
11193    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11194  #line 11200 "configure"  #line 11194 "configure"
11195  #include "confdefs.h"  #include "confdefs.h"
11196  #include <$ac_header>  #include <$ac_header>
11197  _ACEOF  _ACEOF
11198  if { (eval echo "$as_me:11204: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11198: \"$ac_cpp conftest.$ac_ext\"") >&5
11199    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11200    ac_status=$?    ac_status=$?
11201    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11202    rm -f conftest.er1    rm -f conftest.er1
11203    cat conftest.err >&5    cat conftest.err >&5
11204    echo "$as_me:11210: \$? = $ac_status" >&5    echo "$as_me:11204: \$? = $ac_status" >&5
11205    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11206    if test -s conftest.err; then    if test -s conftest.err; then
11207      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11226  else Line 11220  else
11220  fi  fi
11221  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11222  fi  fi
11223  echo "$as_me:11229: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:11223: result: `eval echo '${'$as_ac_Header'}'`" >&5
11224  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11225  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
11226    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11241  fi Line 11235  fi
11235  # Solaris requires -lintl if you want strerror (which calls dgettext)  # Solaris requires -lintl if you want strerror (which calls dgettext)
11236  # to return localized messages.  # to return localized messages.
11237    
11238  echo "$as_me:11244: checking for dgettext in -lintl" >&5  echo "$as_me:11238: checking for dgettext in -lintl" >&5
11239  echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6  echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6
11240  if test "${ac_cv_lib_intl_dgettext+set}" = set; then  if test "${ac_cv_lib_intl_dgettext+set}" = set; then
11241    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 11249  else Line 11243  else
11243    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
11244  LIBS="-lintl  $LIBS"  LIBS="-lintl  $LIBS"
11245  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
11246  #line 11252 "configure"  #line 11246 "configure"
11247  #include "confdefs.h"  #include "confdefs.h"
11248    
11249  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 11268  dgettext (); Line 11262  dgettext ();
11262  }  }
11263  _ACEOF  _ACEOF
11264  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
11265  if { (eval echo "$as_me:11271: \"$ac_link\"") >&5  if { (eval echo "$as_me:11265: \"$ac_link\"") >&5
11266    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
11267    ac_status=$?    ac_status=$?
11268    echo "$as_me:11274: \$? = $ac_status" >&5    echo "$as_me:11268: \$? = $ac_status" >&5
11269    (exit $ac_status); } &&    (exit $ac_status); } &&
11270           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
11271    { (eval echo "$as_me:11277: \"$ac_try\"") >&5    { (eval echo "$as_me:11271: \"$ac_try\"") >&5
11272    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11273    ac_status=$?    ac_status=$?
11274    echo "$as_me:11280: \$? = $ac_status" >&5    echo "$as_me:11274: \$? = $ac_status" >&5
11275    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11276    ac_cv_lib_intl_dgettext=yes    ac_cv_lib_intl_dgettext=yes
11277  else  else
# Line 11288  fi Line 11282  fi
11282  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11283  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
11284  fi  fi
11285  echo "$as_me:11291: result: $ac_cv_lib_intl_dgettext" >&5  echo "$as_me:11285: result: $ac_cv_lib_intl_dgettext" >&5
11286  echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6  echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6
11287  if test $ac_cv_lib_intl_dgettext = yes; then  if test $ac_cv_lib_intl_dgettext = yes; then
11288    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11299  EOF Line 11293  EOF
11293    
11294  fi  fi
11295    
11296  echo "$as_me:11302: checking whether localtime caches TZ" >&5  echo "$as_me:11296: checking whether localtime caches TZ" >&5
11297  echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6  echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6
11298  if test "${emacs_cv_localtime_cache+set}" = set; then  if test "${emacs_cv_localtime_cache+set}" = set; then
11299    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 11310  if test "$cross_compiling" = yes; then Line 11304  if test "$cross_compiling" = yes; then
11304  emacs_cv_localtime_cache=yes  emacs_cv_localtime_cache=yes
11305  else  else
11306    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11307  #line 11313 "configure"  #line 11307 "configure"
11308  #include "confdefs.h"  #include "confdefs.h"
11309  #include <time.h>  #include <time.h>
11310  extern char **environ;  extern char **environ;
# Line 11343  main() Line 11337  main()
11337  }  }
11338  _ACEOF  _ACEOF
11339  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
11340  if { (eval echo "$as_me:11346: \"$ac_link\"") >&5  if { (eval echo "$as_me:11340: \"$ac_link\"") >&5
11341    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
11342    ac_status=$?    ac_status=$?
11343    echo "$as_me:11349: \$? = $ac_status" >&5    echo "$as_me:11343: \$? = $ac_status" >&5
11344    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11345    { (eval echo "$as_me:11351: \"$ac_try\"") >&5    { (eval echo "$as_me:11345: \"$ac_try\"") >&5
11346    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11347    ac_status=$?    ac_status=$?
11348    echo "$as_me:11354: \$? = $ac_status" >&5    echo "$as_me:11348: \$? = $ac_status" >&5
11349    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11350    emacs_cv_localtime_cache=no    emacs_cv_localtime_cache=no
11351  else  else
# Line 11368  else Line 11362  else
11362          emacs_cv_localtime_cache=no          emacs_cv_localtime_cache=no
11363  fi  fi
11364  fi  fi
11365  echo "$as_me:11371: result: $emacs_cv_localtime_cache" >&5  echo "$as_me:11365: result: $emacs_cv_localtime_cache" >&5
11366  echo "${ECHO_T}$emacs_cv_localtime_cache" >&6  echo "${ECHO_T}$emacs_cv_localtime_cache" >&6
11367  if test $emacs_cv_localtime_cache = yes; then  if test $emacs_cv_localtime_cache = yes; then
11368    cat >>confdefs.h <<\EOF    cat >>confdefs.h <<\EOF
# Line 11382  if test "x$HAVE_TIMEVAL" = xyes; then Line 11376  if test "x$HAVE_TIMEVAL" = xyes; then
11376  for ac_func in gettimeofday  for ac_func in gettimeofday
11377  do  do
11378  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11379  echo "$as_me:11385: checking for $ac_func" >&5  echo "$as_me:11379: checking for $ac_func" >&5
11380  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11381  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
11382    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11383  else  else
11384    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11385  #line 11391 "configure"  #line 11385 "configure"
11386  #include "confdefs.h"  #include "confdefs.h"
11387  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
11388      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 11419  f = $ac_func; Line 11413  f = $ac_func;
11413  }  }
11414  _ACEOF  _ACEOF
11415  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
11416  if { (eval echo "$as_me:11422: \"$ac_link\"") >&5  if { (eval echo "$as_me:11416: \"$ac_link\"") >&5
11417    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
11418    ac_status=$?    ac_status=$?
11419    echo "$as_me:11425: \$? = $ac_status" >&5    echo "$as_me:11419: \$? = $ac_status" >&5
11420    (exit $ac_status); } &&    (exit $ac_status); } &&
11421           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
11422    { (eval echo "$as_me:11428: \"$ac_try\"") >&5    { (eval echo "$as_me:11422: \"$ac_try\"") >&5
11423    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11424    ac_status=$?    ac_status=$?
11425    echo "$as_me:11431: \$? = $ac_status" >&5    echo "$as_me:11425: \$? = $ac_status" >&5
11426    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11427    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
11428  else  else
# Line 11438  eval "$as_ac_var=no" Line 11432  eval "$as_ac_var=no"
11432  fi  fi
11433  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11434  fi  fi
11435  echo "$as_me:11441: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:11435: result: `eval echo '${'$as_ac_var'}'`" >&5
11436  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11437  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
11438    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11448  EOF Line 11442  EOF
11442  fi  fi
11443  done  done
11444    
11445    echo "$as_me:11451: checking whether gettimeofday can accept two arguments" >&5    echo "$as_me:11445: checking whether gettimeofday can accept two arguments" >&5
11446  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
11447  if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then  if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
11448    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11449  else  else
11450    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11451  #line 11457 "configure"  #line 11451 "configure"
11452  #include "confdefs.h"  #include "confdefs.h"
11453    
11454  #ifdef TIME_WITH_SYS_TIME  #ifdef TIME_WITH_SYS_TIME
# Line 11477  struct timeval time; Line 11471  struct timeval time;
11471  }  }
11472  _ACEOF  _ACEOF
11473  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
11474  if { (eval echo "$as_me:11480: \"$ac_compile\"") >&5  if { (eval echo "$as_me:11474: \"$ac_compile\"") >&5
11475    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
11476    ac_status=$?    ac_status=$?
11477    echo "$as_me:11483: \$? = $ac_status" >&5    echo "$as_me:11477: \$? = $ac_status" >&5
11478    (exit $ac_status); } &&    (exit $ac_status); } &&
11479           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
11480    { (eval echo "$as_me:11486: \"$ac_try\"") >&5    { (eval echo "$as_me:11480: \"$ac_try\"") >&5
11481    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11482    ac_status=$?    ac_status=$?
11483    echo "$as_me:11489: \$? = $ac_status" >&5    echo "$as_me:11483: \$? = $ac_status" >&5
11484    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11485    emacs_cv_gettimeofday_two_arguments=yes    emacs_cv_gettimeofday_two_arguments=yes
11486  else  else
# Line 11496  emacs_cv_gettimeofday_two_arguments=no Line 11490  emacs_cv_gettimeofday_two_arguments=no
11490  fi  fi
11491  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
11492  fi  fi
11493  echo "$as_me:11499: result: $emacs_cv_gettimeofday_two_arguments" >&5  echo "$as_me:11493: result: $emacs_cv_gettimeofday_two_arguments" >&5
11494  echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6  echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
11495    if test $emacs_cv_gettimeofday_two_arguments = no; then    if test $emacs_cv_gettimeofday_two_arguments = no; then
11496      cat >>confdefs.h <<\EOF      cat >>confdefs.h <<\EOF
# Line 11507  EOF Line 11501  EOF
11501  fi  fi
11502    
11503  if test "$ac_cv_func_gettimeofday" = yes; then  if test "$ac_cv_func_gettimeofday" = yes; then
11504    echo "$as_me:11510: checking for struct timezone" >&5    echo "$as_me:11504: checking for struct timezone" >&5
11505  echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6  echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
11506  if test "${emacs_cv_struct_timezone+set}" = set; then  if test "${emacs_cv_struct_timezone+set}" = set; then
11507    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11508  else  else
11509    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11510  #line 11516 "configure"  #line 11510 "configure"
11511  #include "confdefs.h"  #include "confdefs.h"
11512  #include <sys/time.h>  #include <sys/time.h>
11513  int  int
# Line 11525  struct timezone tz; Line 11519  struct timezone tz;
11519  }  }
11520  _ACEOF  _ACEOF
11521  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
11522  if { (eval echo "$as_me:11528: \"$ac_compile\"") >&5  if { (eval echo "$as_me:11522: \"$ac_compile\"") >&5
11523    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
11524    ac_status=$?    ac_status=$?
11525    echo "$as_me:11531: \$? = $ac_status" >&5    echo "$as_me:11525: \$? = $ac_status" >&5
11526    (exit $ac_status); } &&    (exit $ac_status); } &&
11527           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
11528    { (eval echo "$as_me:11534: \"$ac_try\"") >&5    { (eval echo "$as_me:11528: \"$ac_try\"") >&5
11529    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11530    ac_status=$?    ac_status=$?
11531    echo "$as_me:11537: \$? = $ac_status" >&5    echo "$as_me:11531: \$? = $ac_status" >&5
11532    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11533                if test "$cross_compiling" = yes; then                if test "$cross_compiling" = yes; then
11534    emacs_cv_struct_timezone=yes    emacs_cv_struct_timezone=yes
11535  else  else
11536    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11537  #line 11543 "configure"  #line 11537 "configure"
11538  #include "confdefs.h"  #include "confdefs.h"
11539    
11540  #ifdef TIME_WITH_SYS_TIME  #ifdef TIME_WITH_SYS_TIME
# Line 11560  main () { Line 11554  main () {
11554  }  }
11555  _ACEOF  _ACEOF
11556  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
11557  if { (eval echo "$as_me:11563: \"$ac_link\"") >&5  if { (eval echo "$as_me:11557: \"$ac_link\"") >&5
11558    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
11559    ac_status=$?    ac_status=$?
11560    echo "$as_me:11566: \$? = $ac_status" >&5    echo "$as_me:11560: \$? = $ac_status" >&5
11561    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11562    { (eval echo "$as_me:11568: \"$ac_try\"") >&5    { (eval echo "$as_me:11562: \"$ac_try\"") >&5
11563    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11564    ac_status=$?    ac_status=$?
11565    echo "$as_me:11571: \$? = $ac_status" >&5    echo "$as_me:11565: \$? = $ac_status" >&5
11566    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11567    emacs_cv_struct_timezone=yes    emacs_cv_struct_timezone=yes
11568  else  else
# Line 11586  emacs_cv_struct_timezone=no Line 11580  emacs_cv_struct_timezone=no
11580  fi  fi
11581  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
11582  fi  fi
11583  echo "$as_me:11589: result: $emacs_cv_struct_timezone" >&5  echo "$as_me:11583: result: $emacs_cv_struct_timezone" >&5
11584  echo "${ECHO_T}$emacs_cv_struct_timezone" >&6  echo "${ECHO_T}$emacs_cv_struct_timezone" >&6
11585  fi  fi
11586    
11587  ok_so_far=yes  ok_so_far=yes
11588  echo "$as_me:11594: checking for socket" >&5  echo "$as_me:11588: checking for socket" >&5
11589  echo $ECHO_N "checking for socket... $ECHO_C" >&6  echo $ECHO_N "checking for socket... $ECHO_C" >&6
11590  if test "${ac_cv_func_socket+set}" = set; then  if test "${ac_cv_func_socket+set}" = set; then
11591    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11592  else  else
11593    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11594  #line 11600 "configure"  #line 11594 "configure"
11595  #include "confdefs.h"  #include "confdefs.h"
11596  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
11597      which can conflict with char socket (); below.  */      which can conflict with char socket (); below.  */
# Line 11628  f = socket; Line 11622  f = socket;
11622  }  }
11623  _ACEOF  _ACEOF
11624  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
11625  if { (eval echo "$as_me:11631: \"$ac_link\"") >&5  if { (eval echo "$as_me:11625: \"$ac_link\"") >&5
11626    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
11627    ac_status=$?    ac_status=$?
11628    echo "$as_me:11634: \$? = $ac_status" >&5    echo "$as_me:11628: \$? = $ac_status" >&5
11629    (exit $ac_status); } &&    (exit $ac_status); } &&
11630           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
11631    { (eval echo "$as_me:11637: \"$ac_try\"") >&5    { (eval echo "$as_me:11631: \"$ac_try\"") >&5
11632    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11633    ac_status=$?    ac_status=$?
11634    echo "$as_me:11640: \$? = $ac_status" >&5    echo "$as_me:11634: \$? = $ac_status" >&5
11635    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11636    ac_cv_func_socket=yes    ac_cv_func_socket=yes
11637  else  else
# Line 11647  ac_cv_func_socket=no Line 11641  ac_cv_func_socket=no
11641  fi  fi
11642  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11643  fi  fi
11644  echo "$as_me:11650: result: $ac_cv_func_socket" >&5  echo "$as_me:11644: result: $ac_cv_func_socket" >&5
11645  echo "${ECHO_T}$ac_cv_func_socket" >&6  echo "${ECHO_T}$ac_cv_func_socket" >&6
11646  if test $ac_cv_func_socket = yes; then  if test $ac_cv_func_socket = yes; then
11647    :    :
# Line 11656  else Line 11650  else
11650  fi  fi
11651    
11652  if test $ok_so_far = yes; then  if test $ok_so_far = yes; then
11653    echo "$as_me:11659: checking for netinet/in.h" >&5    echo "$as_me:11653: checking for netinet/in.h" >&5
11654  echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6  echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6
11655  if test "${ac_cv_header_netinet_in_h+set}" = set; then  if test "${ac_cv_header_netinet_in_h+set}" = set; then
11656    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11657  else  else
11658    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11659  #line 11665 "configure"  #line 11659 "configure"
11660  #include "confdefs.h"  #include "confdefs.h"
11661  #include <netinet/in.h>  #include <netinet/in.h>
11662  _ACEOF  _ACEOF
11663  if { (eval echo "$as_me:11669: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11663: \"$ac_cpp conftest.$ac_ext\"") >&5
11664    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11665    ac_status=$?    ac_status=$?
11666    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11667    rm -f conftest.er1    rm -f conftest.er1
11668    cat conftest.err >&5    cat conftest.err >&5
11669    echo "$as_me:11675: \$? = $ac_status" >&5    echo "$as_me:11669: \$? = $ac_status" >&5
11670    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11671    if test -s conftest.err; then    if test -s conftest.err; then
11672      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11691  else Line 11685  else
11685  fi  fi
11686  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11687  fi  fi
11688  echo "$as_me:11694: result: $ac_cv_header_netinet_in_h" >&5  echo "$as_me:11688: result: $ac_cv_header_netinet_in_h" >&5
11689  echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6  echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6
11690  if test $ac_cv_header_netinet_in_h = yes; then  if test $ac_cv_header_netinet_in_h = yes; then
11691    :    :
# Line 11701  fi Line 11695  fi
11695    
11696  fi  fi
11697  if test $ok_so_far = yes; then  if test $ok_so_far = yes; then
11698    echo "$as_me:11704: checking for arpa/inet.h" >&5    echo "$as_me:11698: checking for arpa/inet.h" >&5
11699  echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6  echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6
11700  if test "${ac_cv_header_arpa_inet_h+set}" = set; then  if test "${ac_cv_header_arpa_inet_h+set}" = set; then
11701    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11702  else  else
11703    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11704  #line 11710 "configure"  #line 11704 "configure"
11705  #include "confdefs.h"  #include "confdefs.h"
11706  #include <arpa/inet.h>  #include <arpa/inet.h>
11707  _ACEOF  _ACEOF
11708  if { (eval echo "$as_me:11714: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11708: \"$ac_cpp conftest.$ac_ext\"") >&5
11709    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11710    ac_status=$?    ac_status=$?
11711    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11712    rm -f conftest.er1    rm -f conftest.er1
11713    cat conftest.err >&5    cat conftest.err >&5
11714    echo "$as_me:11720: \$? = $ac_status" >&5    echo "$as_me:11714: \$? = $ac_status" >&5
11715    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11716    if test -s conftest.err; then    if test -s conftest.err; then
11717      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11736  else Line 11730  else
11730  fi  fi
11731  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11732  fi  fi
11733  echo "$as_me:11739: result: $ac_cv_header_arpa_inet_h" >&5  echo "$as_me:11733: result: $ac_cv_header_arpa_inet_h" >&5
11734  echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6  echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6
11735  if test $ac_cv_header_arpa_inet_h = yes; then  if test $ac_cv_header_arpa_inet_h = yes; then
11736    :    :
# Line 11759  EOF Line 11753  EOF
11753    
11754  fi  fi
11755    
11756  echo "$as_me:11762: checking whether system supports dynamic ptys" >&5  echo "$as_me:11756: checking whether system supports dynamic ptys" >&5
11757  echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6  echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6
11758  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
11759    echo "$as_me:11765: result: yes" >&5    echo "$as_me:11759: result: yes" >&5
11760  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
11761    cat >>confdefs.h <<\EOF    cat >>confdefs.h <<\EOF
11762  #define HAVE_DEV_PTMX 1  #define HAVE_DEV_PTMX 1
11763  EOF  EOF
11764    
11765  else  else
11766    echo "$as_me:11772: result: no" >&5    echo "$as_me:11766: result: no" >&5
11767  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
11768  fi  fi
11769    
11770  echo "$as_me:11776: checking for pid_t" >&5  echo "$as_me:11770: checking for pid_t" >&5
11771  echo $ECHO_N "checking for pid_t... $ECHO_C" >&6  echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
11772  if test "${ac_cv_type_pid_t+set}" = set; then  if test "${ac_cv_type_pid_t+set}" = set; then
11773    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11774  else  else
11775    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11776  #line 11782 "configure"  #line 11776 "configure"
11777  #include "confdefs.h"  #include "confdefs.h"
11778  $ac_includes_default  $ac_includes_default
11779  int  int
# Line 11794  if (sizeof (pid_t)) Line 11788  if (sizeof (pid_t))
11788  }  }
11789  _ACEOF  _ACEOF
11790  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
11791  if { (eval echo "$as_me:11797: \"$ac_compile\"") >&5  if { (eval echo "$as_me:11791: \"$ac_compile\"") >&5
11792    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
11793    ac_status=$?    ac_status=$?
11794    echo "$as_me:11800: \$? = $ac_status" >&5    echo "$as_me:11794: \$? = $ac_status" >&5
11795    (exit $ac_status); } &&    (exit $ac_status); } &&
11796           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
11797    { (eval echo "$as_me:11803: \"$ac_try\"") >&5    { (eval echo "$as_me:11797: \"$ac_try\"") >&5
11798    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11799    ac_status=$?    ac_status=$?
11800    echo "$as_me:11806: \$? = $ac_status" >&5    echo "$as_me:11800: \$? = $ac_status" >&5
11801    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11802    ac_cv_type_pid_t=yes    ac_cv_type_pid_t=yes
11803  else  else
# Line 11813  ac_cv_type_pid_t=no Line 11807  ac_cv_type_pid_t=no
11807  fi  fi
11808  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
11809  fi  fi
11810  echo "$as_me:11816: result: $ac_cv_type_pid_t" >&5  echo "$as_me:11810: result: $ac_cv_type_pid_t" >&5
11811  echo "${ECHO_T}$ac_cv_type_pid_t" >&6  echo "${ECHO_T}$ac_cv_type_pid_t" >&6
11812  if test $ac_cv_type_pid_t = yes; then  if test $ac_cv_type_pid_t = yes; then
11813    :    :
# Line 11828  fi Line 11822  fi
11822  for ac_header in unistd.h vfork.h  for ac_header in unistd.h vfork.h
11823  do  do
11824  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11825  echo "$as_me:11831: checking for $ac_header" >&5  echo "$as_me:11825: checking for $ac_header" >&5
11826  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11827  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
11828    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11829  else  else
11830    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11831  #line 11837 "configure"  #line 11831 "configure"
11832  #include "confdefs.h"  #include "confdefs.h"
11833  #include <$ac_header>  #include <$ac_header>
11834  _ACEOF  _ACEOF
11835  if { (eval echo "$as_me:11841: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11835: \"$ac_cpp conftest.$ac_ext\"") >&5
11836    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11837    ac_status=$?    ac_status=$?
11838    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11839    rm -f conftest.er1    rm -f conftest.er1
11840    cat conftest.err >&5    cat conftest.err >&5
11841    echo "$as_me:11847: \$? = $ac_status" >&5    echo "$as_me:11841: \$? = $ac_status" >&5
11842    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11843    if test -s conftest.err; then    if test -s conftest.err; then
11844      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11863  else Line 11857  else
11857  fi  fi
11858  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11859  fi  fi
11860  echo "$as_me:11866: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:11860: result: `eval echo '${'$as_ac_Header'}'`" >&5
11861  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11862  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
11863    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11876  done Line 11870  done
11870  for ac_func in fork vfork  for ac_func in fork vfork
11871  do  do
11872  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11873  echo "$as_me:11879: checking for $ac_func" >&5  echo "$as_me:11873: checking for $ac_func" >&5
11874  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11875  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
11876    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11877  else  else
11878    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11879  #line 11885 "configure"  #line 11879 "configure"
11880  #include "confdefs.h"  #include "confdefs.h"
11881  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
11882      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 11913  f = $ac_func; Line 11907  f = $ac_func;
11907  }  }
11908  _ACEOF  _ACEOF
11909  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
11910  if { (eval echo "$as_me:11916: \"$ac_link\"") >&5  if { (eval echo "$as_me:11910: \"$ac_link\"") >&5
11911    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
11912    ac_status=$?    ac_status=$?
11913    echo "$as_me:11919: \$? = $ac_status" >&5    echo "$as_me:11913: \$? = $ac_status" >&5
11914    (exit $ac_status); } &&    (exit $ac_status); } &&
11915           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
11916    { (eval echo "$as_me:11922: \"$ac_try\"") >&5    { (eval echo "$as_me:11916: \"$ac_try\"") >&5
11917    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11918    ac_status=$?    ac_status=$?
11919    echo "$as_me:11925: \$? = $ac_status" >&5    echo "$as_me:11919: \$? = $ac_status" >&5
11920    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11921    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
11922  else  else
# Line 11932  eval "$as_ac_var=no" Line 11926  eval "$as_ac_var=no"
11926  fi  fi
11927  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11928  fi  fi
11929  echo "$as_me:11935: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:11929: result: `eval echo '${'$as_ac_var'}'`" >&5
11930  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11931  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
11932    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11944  done Line 11938  done
11938    
11939  ac_cv_func_fork_works=$ac_cv_func_fork  ac_cv_func_fork_works=$ac_cv_func_fork
11940  if test "x$ac_cv_func_fork" = xyes; then  if test "x$ac_cv_func_fork" = xyes; then
11941    echo "$as_me:11947: checking for working fork" >&5    echo "$as_me:11941: checking for working fork" >&5
11942  echo $ECHO_N "checking for working fork... $ECHO_C" >&6  echo $ECHO_N "checking for working fork... $ECHO_C" >&6
11943  if test "${ac_cv_func_fork_works+set}" = set; then  if test "${ac_cv_func_fork_works+set}" = set; then
11944    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 11967  else Line 11961  else
11961        }        }
11962  _ACEOF  _ACEOF
11963  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
11964  if { (eval echo "$as_me:11970: \"$ac_link\"") >&5  if { (eval echo "$as_me:11964: \"$ac_link\"") >&5
11965    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
11966    ac_status=$?    ac_status=$?
11967    echo "$as_me:11973: \$? = $ac_status" >&5    echo "$as_me:11967: \$? = $ac_status" >&5
11968    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11969    { (eval echo "$as_me:11975: \"$ac_try\"") >&5    { (eval echo "$as_me:11969: \"$ac_try\"") >&5
11970    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11971    ac_status=$?    ac_status=$?
11972    echo "$as_me:11978: \$? = $ac_status" >&5    echo "$as_me:11972: \$? = $ac_status" >&5
11973    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11974    ac_cv_func_fork_works=yes    ac_cv_func_fork_works=yes
11975  else  else
# Line 11987  fi Line 11981  fi
11981  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
11982  fi  fi
11983  fi  fi
11984  echo "$as_me:11990: result: $ac_cv_func_fork_works" >&5  echo "$as_me:11984: result: $ac_cv_func_fork_works" >&5
11985  echo "${ECHO_T}$ac_cv_func_fork_works" >&6  echo "${ECHO_T}$ac_cv_func_fork_works" >&6
11986    
11987  fi  fi
# Line 12001  if test "x$ac_cv_func_fork_works" = xcro Line 11995  if test "x$ac_cv_func_fork_works" = xcro
11995        ac_cv_func_fork_works=yes        ac_cv_func_fork_works=yes
11996        ;;        ;;
11997    esac    esac
11998    { echo "$as_me:12004: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5    { echo "$as_me:11998: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5
11999  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;}
12000  fi  fi
12001  ac_cv_func_vfork_works=$ac_cv_func_vfork  ac_cv_func_vfork_works=$ac_cv_func_vfork
12002  if test "x$ac_cv_func_vfork" = xyes; then  if test "x$ac_cv_func_vfork" = xyes; then
12003    echo "$as_me:12009: checking for working vfork" >&5    echo "$as_me:12003: checking for working vfork" >&5
12004  echo $ECHO_N "checking for working vfork... $ECHO_C" >&6  echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
12005  if test "${ac_cv_func_vfork_works+set}" = set; then  if test "${ac_cv_func_vfork_works+set}" = set; then
12006    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 12015  else Line 12009  else
12009    ac_cv_func_vfork_works=cross    ac_cv_func_vfork_works=cross
12010  else  else
12011    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
12012  #line 12018 "configure"  #line 12012 "configure"
12013  #include "confdefs.h"  #include "confdefs.h"
12014  /* Thanks to Paul Eggert for this test.  */  /* Thanks to Paul Eggert for this test.  */
12015  #include <stdio.h>  #include <stdio.h>
# Line 12112  main () Line 12106  main ()
12106  }  }
12107  _ACEOF  _ACEOF
12108  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
12109  if { (eval echo "$as_me:12115: \"$ac_link\"") >&5  if { (eval echo "$as_me:12109: \"$ac_link\"") >&5
12110    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
12111    ac_status=$?    ac_status=$?
12112    echo "$as_me:12118: \$? = $ac_status" >&5    echo "$as_me:12112: \$? = $ac_status" >&5
12113    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12114    { (eval echo "$as_me:12120: \"$ac_try\"") >&5    { (eval echo "$as_me:12114: \"$ac_try\"") >&5
12115    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
12116    ac_status=$?    ac_status=$?
12117    echo "$as_me:12123: \$? = $ac_status" >&5    echo "$as_me:12117: \$? = $ac_status" >&5
12118    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
12119    ac_cv_func_vfork_works=yes    ac_cv_func_vfork_works=yes
12120  else  else
# Line 12132  fi Line 12126  fi
12126  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
12127  fi  fi
12128  fi  fi
12129  echo "$as_me:12135: result: $ac_cv_func_vfork_works" >&5  echo "$as_me:12129: result: $ac_cv_func_vfork_works" >&5
12130  echo "${ECHO_T}$ac_cv_func_vfork_works" >&6  echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
12131    
12132  fi;  fi;
12133  if test "x$ac_cv_func_fork_works" = xcross; then  if test "x$ac_cv_func_fork_works" = xcross; then
12134    ac_cv_func_vfork_works=ac_cv_func_vfork    ac_cv_func_vfork_works=ac_cv_func_vfork
12135    { echo "$as_me:12141: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5    { echo "$as_me:12135: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5
12136  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;}
12137  fi  fi
12138    
# Line 12164  EOF Line 12158  EOF
12158  fi  fi
12159    
12160  # Fixme: This should be replaced when we have autoconf 2.14.  # Fixme: This should be replaced when we have autoconf 2.14.
12161  echo "$as_me:12167: checking for size_t" >&5  echo "$as_me:12161: checking for size_t" >&5
12162  echo $ECHO_N "checking for size_t... $ECHO_C" >&6  echo $ECHO_N "checking for size_t... $ECHO_C" >&6
12163  if test "${ac_cv_type_size_t+set}" = set; then  if test "${ac_cv_type_size_t+set}" = set; then
12164    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
12165  else  else
12166    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
12167  #line 12173 "configure"  #line 12167 "configure"
12168  #include "confdefs.h"  #include "confdefs.h"
12169  $ac_includes_default  $ac_includes_default
12170  int  int
# Line 12185  if (sizeof (size_t)) Line 12179  if (sizeof (size_t))
12179  }  }
12180  _ACEOF  _ACEOF
12181  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
12182  if { (eval echo "$as_me:12188: \"$ac_compile\"") >&5  if { (eval echo "$as_me:12182: \"$ac_compile\"") >&5
12183    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
12184    ac_status=$?    ac_status=$?
12185    echo "$as_me:12191: \$? = $ac_status" >&5    echo "$as_me:12185: \$? = $ac_status" >&5
12186    (exit $ac_status); } &&    (exit $ac_status); } &&
12187           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
12188    { (eval echo "$as_me:12194: \"$ac_try\"") >&5    { (eval echo "$as_me:12188: \"$ac_try\"") >&5
12189    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
12190    ac_status=$?    ac_status=$?
12191    echo "$as_me:12197: \$? = $ac_status" >&5    echo "$as_me:12191: \$? = $ac_status" >&5
12192    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
12193    ac_cv_type_size_t=yes    ac_cv_type_size_t=yes
12194  else  else
# Line 12204  ac_cv_type_size_t=no Line 12198  ac_cv_type_size_t=no
12198  fi  fi
12199  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
12200  fi  fi
12201  echo "$as_me:12207: result: $ac_cv_type_size_t" >&5  echo "$as_me:12201: result: $ac_cv_type_size_t" >&5
12202  echo "${ECHO_T}$ac_cv_type_size_t" >&6  echo "${ECHO_T}$ac_cv_type_size_t" >&6
12203  if test $ac_cv_type_size_t = yes; then  if test $ac_cv_type_size_t = yes; then
12204    :    :
# Line 12224  CPPFLAGS="$REAL_CPPFLAGS" Line 12218  CPPFLAGS="$REAL_CPPFLAGS"
12218  version=`grep 'defconst[         ]*emacs-version' ${srcdir}/lisp/version.el \  version=`grep 'defconst[         ]*emacs-version' ${srcdir}/lisp/version.el \
12219           | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`           | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`
12220  if test x"${version}" = x; then  if test x"${version}" = x; then
12221    { { echo "$as_me:12227: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5    { { echo "$as_me:12221: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5
12222  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;}
12223     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
12224  fi  fi
# Line 12310  fi Line 12304  fi
12304  for ac_header in nlist.h  for ac_header in nlist.h
12305  do  do
12306  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12307  echo "$as_me:12313: checking for $ac_header" >&5  echo "$as_me:12307: checking for $ac_header" >&5
12308  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12309  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
12310    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
12311  else  else
12312    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
12313  #line 12319 "configure"  #line 12313 "configure"
12314  #include "confdefs.h"  #include "confdefs.h"
12315  #include <$ac_header>  #include <$ac_header>
12316  _ACEOF  _ACEOF
12317  if { (eval echo "$as_me:12323: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:12317: \"$ac_cpp conftest.$ac_ext\"") >&5
12318    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12319    ac_status=$?    ac_status=$?
12320    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
12321    rm -f conftest.er1    rm -f conftest.er1
12322    cat conftest.err >&5    cat conftest.err >&5
12323    echo "$as_me:12329: \$? = $ac_status" >&5    echo "$as_me:12323: \$? = $ac_status" >&5
12324    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
12325    if test -s conftest.err; then    if test -s conftest.err; then
12326      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 12345  else Line 12339  else
12339  fi  fi
12340  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
12341  fi  fi
12342  echo "$as_me:12348: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:12342: result: `eval echo '${'$as_ac_Header'}'`" >&5
12343  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12344  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
12345    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 12405  test "${exec_prefix}" != NONE && Line 12399  test "${exec_prefix}" != NONE &&
12399  ## C preprocessor.  ## C preprocessor.
12400    
12401  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
12402  #line 12408 "configure"  #line 12402 "configure"
12403  #include "confdefs.h"  #include "confdefs.h"
12404  yes..yes  yes..yes
12405  _ACEOF  _ACEOF
# Line 12498  DEFS=-DHAVE_CONFIG_H Line 12492  DEFS=-DHAVE_CONFIG_H
12492  : ${CONFIG_STATUS=./config.status}  : ${CONFIG_STATUS=./config.status}
12493  ac_clean_files_save=$ac_clean_files  ac_clean_files_save=$ac_clean_files
12494  ac_clean_files="$ac_clean_files $CONFIG_STATUS"  ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12495  { echo "$as_me:12501: creating $CONFIG_STATUS" >&5  { echo "$as_me:12495: creating $CONFIG_STATUS" >&5
12496  echo "$as_me: creating $CONFIG_STATUS" >&6;}  echo "$as_me: creating $CONFIG_STATUS" >&6;}
12497  cat >$CONFIG_STATUS <<_ACEOF  cat >$CONFIG_STATUS <<_ACEOF
12498  #! $SHELL  #! $SHELL
# Line 12674  cat >>$CONFIG_STATUS <<\EOF Line 12668  cat >>$CONFIG_STATUS <<\EOF
12668      echo "$ac_cs_version"; exit 0 ;;      echo "$ac_cs_version"; exit 0 ;;
12669    --he | --h)    --he | --h)
12670      # Conflict between --help and --header      # Conflict between --help and --header
12671      { { echo "$as_me:12677: error: ambiguous option: $1      { { echo "$as_me:12671: error: ambiguous option: $1
12672  Try \`$0 --help' for more information." >&5  Try \`$0 --help' for more information." >&5
12673  echo "$as_me: error: ambiguous option: $1  echo "$as_me: error: ambiguous option: $1
12674  Try \`$0 --help' for more information." >&2;}  Try \`$0 --help' for more information." >&2;}
# Line 12693  Try \`$0 --help' for more information." Line 12687  Try \`$0 --help' for more information."
12687      ac_need_defaults=false;;      ac_need_defaults=false;;
12688    
12689    # This is an error.    # This is an error.
12690    -*) { { echo "$as_me:12696: error: unrecognized option: $1    -*) { { echo "$as_me:12690: error: unrecognized option: $1
12691  Try \`$0 --help' for more information." >&5  Try \`$0 --help' for more information." >&5
12692  echo "$as_me: error: unrecognized option: $1  echo "$as_me: error: unrecognized option: $1
12693  Try \`$0 --help' for more information." >&2;}  Try \`$0 --help' for more information." >&2;}
# Line 12748  do Line 12742  do
12742    "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;;    "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;;
12743    "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;    "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
12744    "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" ;;
12745    *) { { echo "$as_me:12751: error: invalid argument: $ac_config_target" >&5    *) { { echo "$as_me:12745: error: invalid argument: $ac_config_target" >&5
12746  echo "$as_me: error: invalid argument: $ac_config_target" >&2;}  echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12747     { (exit 1); exit 1; }; };;     { (exit 1); exit 1; }; };;
12748    esac    esac
# Line 12995  done; } Line 12989  done; }
12989    esac    esac
12990    
12991    if test x"$ac_file" != x-; then    if test x"$ac_file" != x-; then
12992      { echo "$as_me:12998: creating $ac_file" >&5      { echo "$as_me:12992: creating $ac_file" >&5
12993  echo "$as_me: creating $ac_file" >&6;}  echo "$as_me: creating $ac_file" >&6;}
12994      rm -f "$ac_file"      rm -f "$ac_file"
12995    fi    fi
# Line 13013  echo "$as_me: creating $ac_file" >&6;} Line 13007  echo "$as_me: creating $ac_file" >&6;}
13007        -) echo $tmp/stdin ;;        -) echo $tmp/stdin ;;
13008        [\\/$]*)        [\\/$]*)
13009           # Absolute (can't be DOS-style, as IFS=:)           # Absolute (can't be DOS-style, as IFS=:)
13010           test -f "$f" || { { echo "$as_me:13016: error: cannot find input file: $f" >&5           test -f "$f" || { { echo "$as_me:13010: error: cannot find input file: $f" >&5
13011  echo "$as_me: error: cannot find input file: $f" >&2;}  echo "$as_me: error: cannot find input file: $f" >&2;}
13012     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
13013           echo $f;;           echo $f;;
# Line 13026  echo "$as_me: error: cannot find input f Line 13020  echo "$as_me: error: cannot find input f
13020             echo $srcdir/$f             echo $srcdir/$f
13021           else           else
13022             # /dev/null tree             # /dev/null tree
13023             { { echo "$as_me:13029: error: cannot find input file: $f" >&5             { { echo "$as_me:13023: error: cannot find input file: $f" >&5
13024  echo "$as_me: error: cannot find input file: $f" >&2;}  echo "$as_me: error: cannot find input file: $f" >&2;}
13025     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
13026           fi;;           fi;;
# Line 13087  for ac_file in : $CONFIG_HEADERS; do tes Line 13081  for ac_file in : $CONFIG_HEADERS; do tes
13081    * )   ac_file_in=$ac_file.in ;;    * )   ac_file_in=$ac_file.in ;;
13082    esac    esac
13083    
13084    test x"$ac_file" != x- && { echo "$as_me:13090: creating $ac_file" >&5    test x"$ac_file" != x- && { echo "$as_me:13084: creating $ac_file" >&5
13085  echo "$as_me: creating $ac_file" >&6;}  echo "$as_me: creating $ac_file" >&6;}
13086    
13087    # 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 13098  echo "$as_me: creating $ac_file" >&6;} Line 13092  echo "$as_me: creating $ac_file" >&6;}
13092        -) echo $tmp/stdin ;;        -) echo $tmp/stdin ;;
13093        [\\/$]*)        [\\/$]*)
13094           # Absolute (can't be DOS-style, as IFS=:)           # Absolute (can't be DOS-style, as IFS=:)
13095           test -f "$f" || { { echo "$as_me:13101: error: cannot find input file: $f" >&5           test -f "$f" || { { echo "$as_me:13095: error: cannot find input file: $f" >&5
13096  echo "$as_me: error: cannot find input file: $f" >&2;}  echo "$as_me: error: cannot find input file: $f" >&2;}
13097     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
13098           echo $f;;           echo $f;;
# Line 13111  echo "$as_me: error: cannot find input f Line 13105  echo "$as_me: error: cannot find input f
13105             echo $srcdir/$f             echo $srcdir/$f
13106           else           else
13107             # /dev/null tree             # /dev/null tree
13108             { { echo "$as_me:13114: error: cannot find input file: $f" >&5             { { echo "$as_me:13108: error: cannot find input file: $f" >&5
13109  echo "$as_me: error: cannot find input file: $f" >&2;}  echo "$as_me: error: cannot find input file: $f" >&2;}
13110     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
13111           fi;;           fi;;
# Line 13228  cat >>$CONFIG_STATUS <<\EOF Line 13222  cat >>$CONFIG_STATUS <<\EOF
13222    rm -f $tmp/in    rm -f $tmp/in
13223    if test x"$ac_file" != x-; then    if test x"$ac_file" != x-; then
13224      if cmp -s $ac_file $tmp/config.h 2>/dev/null; then      if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
13225        { echo "$as_me:13231: $ac_file is unchanged" >&5        { echo "$as_me:13225: $ac_file is unchanged" >&5
13226  echo "$as_me: $ac_file is unchanged" >&6;}  echo "$as_me: $ac_file is unchanged" >&6;}
13227      else      else
13228        ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \        ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \

Legend:
Removed from v.1.71  
changed lines
  Added in v.1.72

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