/[emacs]/emacs/configure
ViewVC logotype

Diff of /emacs/configure

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

revision 1.91 by eliz, Fri May 10 08:36:08 2002 UTC revision 1.92 by schwab, Fri Jun 7 11:23:40 2002 UTC
# Line 2244  case "${canonical}" in Line 2244  case "${canonical}" in
2244      CPP="cc -E -traditional-cpp"      CPP="cc -E -traditional-cpp"
2245    ;;    ;;
2246    
2247      ## AMD x86-64 Linux-based GNU system
2248      x86_64-*-linux-gnu* )
2249        machine=amdx86-64 opsys=gnu-linux
2250      ;;
2251    
2252    * )    * )
2253      unported=yes      unported=yes
2254    ;;    ;;
# Line 2286  if test x"${opsys}" = x; then Line 2291  if test x"${opsys}" = x; then
2291  fi  fi
2292    
2293  if test $unported = yes; then  if test $unported = yes; then
2294    { { echo "$as_me:2289: error: Emacs hasn't been ported to \`${canonical}' systems.    { { echo "$as_me:2294: error: Emacs hasn't been ported to \`${canonical}' systems.
2295  Check \`etc/MACHINES' for recognized configuration names." >&5  Check \`etc/MACHINES' for recognized configuration names." >&5
2296  echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems.  echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems.
2297  Check \`etc/MACHINES' for recognized configuration names." >&2;}  Check \`etc/MACHINES' for recognized configuration names." >&2;}
# Line 2315  ac_compiler_gnu=$ac_cv_c_compiler_gnu Line 2320  ac_compiler_gnu=$ac_cv_c_compiler_gnu
2320  if test -n "$ac_tool_prefix"; then  if test -n "$ac_tool_prefix"; then
2321    # 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.
2322  set dummy ${ac_tool_prefix}gcc; ac_word=$2  set dummy ${ac_tool_prefix}gcc; ac_word=$2
2323  echo "$as_me:2318: checking for $ac_word" >&5  echo "$as_me:2323: checking for $ac_word" >&5
2324  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2325  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
2326    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2330  for ac_dir in $ac_dummy; do Line 2335  for ac_dir in $ac_dummy; do
2335    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
2336    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
2337  ac_cv_prog_CC="${ac_tool_prefix}gcc"  ac_cv_prog_CC="${ac_tool_prefix}gcc"
2338  echo "$as_me:2333: found $ac_dir/$ac_word" >&5  echo "$as_me:2338: found $ac_dir/$ac_word" >&5
2339  break  break
2340  done  done
2341    
# Line 2338  fi Line 2343  fi
2343  fi  fi
2344  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2345  if test -n "$CC"; then  if test -n "$CC"; then
2346    echo "$as_me:2341: result: $CC" >&5    echo "$as_me:2346: result: $CC" >&5
2347  echo "${ECHO_T}$CC" >&6  echo "${ECHO_T}$CC" >&6
2348  else  else
2349    echo "$as_me:2344: result: no" >&5    echo "$as_me:2349: result: no" >&5
2350  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2351  fi  fi
2352    
# Line 2350  if test -z "$ac_cv_prog_CC"; then Line 2355  if test -z "$ac_cv_prog_CC"; then
2355    ac_ct_CC=$CC    ac_ct_CC=$CC
2356    # 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.
2357  set dummy gcc; ac_word=$2  set dummy gcc; ac_word=$2
2358  echo "$as_me:2353: checking for $ac_word" >&5  echo "$as_me:2358: checking for $ac_word" >&5
2359  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2360  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2361    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2365  for ac_dir in $ac_dummy; do Line 2370  for ac_dir in $ac_dummy; do
2370    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
2371    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
2372  ac_cv_prog_ac_ct_CC="gcc"  ac_cv_prog_ac_ct_CC="gcc"
2373  echo "$as_me:2368: found $ac_dir/$ac_word" >&5  echo "$as_me:2373: found $ac_dir/$ac_word" >&5
2374  break  break
2375  done  done
2376    
# Line 2373  fi Line 2378  fi
2378  fi  fi
2379  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_CC=$ac_cv_prog_ac_ct_CC
2380  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_CC"; then
2381    echo "$as_me:2376: result: $ac_ct_CC" >&5    echo "$as_me:2381: result: $ac_ct_CC" >&5
2382  echo "${ECHO_T}$ac_ct_CC" >&6  echo "${ECHO_T}$ac_ct_CC" >&6
2383  else  else
2384    echo "$as_me:2379: result: no" >&5    echo "$as_me:2384: result: no" >&5
2385  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2386  fi  fi
2387    
# Line 2389  if test -z "$CC"; then Line 2394  if test -z "$CC"; then
2394    if test -n "$ac_tool_prefix"; then    if test -n "$ac_tool_prefix"; then
2395    # 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.
2396  set dummy ${ac_tool_prefix}cc; ac_word=$2  set dummy ${ac_tool_prefix}cc; ac_word=$2
2397  echo "$as_me:2392: checking for $ac_word" >&5  echo "$as_me:2397: checking for $ac_word" >&5
2398  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2399  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
2400    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2404  for ac_dir in $ac_dummy; do Line 2409  for ac_dir in $ac_dummy; do
2409    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
2410    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
2411  ac_cv_prog_CC="${ac_tool_prefix}cc"  ac_cv_prog_CC="${ac_tool_prefix}cc"
2412  echo "$as_me:2407: found $ac_dir/$ac_word" >&5  echo "$as_me:2412: found $ac_dir/$ac_word" >&5
2413  break  break
2414  done  done
2415    
# Line 2412  fi Line 2417  fi
2417  fi  fi
2418  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2419  if test -n "$CC"; then  if test -n "$CC"; then
2420    echo "$as_me:2415: result: $CC" >&5    echo "$as_me:2420: result: $CC" >&5
2421  echo "${ECHO_T}$CC" >&6  echo "${ECHO_T}$CC" >&6
2422  else  else
2423    echo "$as_me:2418: result: no" >&5    echo "$as_me:2423: result: no" >&5
2424  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2425  fi  fi
2426    
# Line 2424  if test -z "$ac_cv_prog_CC"; then Line 2429  if test -z "$ac_cv_prog_CC"; then
2429    ac_ct_CC=$CC    ac_ct_CC=$CC
2430    # 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.
2431  set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
2432  echo "$as_me:2427: checking for $ac_word" >&5  echo "$as_me:2432: checking for $ac_word" >&5
2433  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2434  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2435    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2439  for ac_dir in $ac_dummy; do Line 2444  for ac_dir in $ac_dummy; do
2444    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
2445    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
2446  ac_cv_prog_ac_ct_CC="cc"  ac_cv_prog_ac_ct_CC="cc"
2447  echo "$as_me:2442: found $ac_dir/$ac_word" >&5  echo "$as_me:2447: found $ac_dir/$ac_word" >&5
2448  break  break
2449  done  done
2450    
# Line 2447  fi Line 2452  fi
2452  fi  fi
2453  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_CC=$ac_cv_prog_ac_ct_CC
2454  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_CC"; then
2455    echo "$as_me:2450: result: $ac_ct_CC" >&5    echo "$as_me:2455: result: $ac_ct_CC" >&5
2456  echo "${ECHO_T}$ac_ct_CC" >&6  echo "${ECHO_T}$ac_ct_CC" >&6
2457  else  else
2458    echo "$as_me:2453: result: no" >&5    echo "$as_me:2458: result: no" >&5
2459  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2460  fi  fi
2461    
# Line 2463  fi Line 2468  fi
2468  if test -z "$CC"; then  if test -z "$CC"; then
2469    # 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.
2470  set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
2471  echo "$as_me:2466: checking for $ac_word" >&5  echo "$as_me:2471: checking for $ac_word" >&5
2472  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2473  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
2474    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2483  if test "$ac_dir/$ac_word" = "/usr/ucb/c Line 2488  if test "$ac_dir/$ac_word" = "/usr/ucb/c
2488    continue    continue
2489  fi  fi
2490  ac_cv_prog_CC="cc"  ac_cv_prog_CC="cc"
2491  echo "$as_me:2486: found $ac_dir/$ac_word" >&5  echo "$as_me:2491: found $ac_dir/$ac_word" >&5
2492  break  break
2493  done  done
2494    
# Line 2505  fi Line 2510  fi
2510  fi  fi
2511  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2512  if test -n "$CC"; then  if test -n "$CC"; then
2513    echo "$as_me:2508: result: $CC" >&5    echo "$as_me:2513: result: $CC" >&5
2514  echo "${ECHO_T}$CC" >&6  echo "${ECHO_T}$CC" >&6
2515  else  else
2516    echo "$as_me:2511: result: no" >&5    echo "$as_me:2516: result: no" >&5
2517  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2518  fi  fi
2519    
# Line 2519  if test -z "$CC"; then Line 2524  if test -z "$CC"; then
2524    do    do
2525      # 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.
2526  set dummy $ac_tool_prefix$ac_prog; ac_word=$2  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2527  echo "$as_me:2522: checking for $ac_word" >&5  echo "$as_me:2527: checking for $ac_word" >&5
2528  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2529  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
2530    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2534  for ac_dir in $ac_dummy; do Line 2539  for ac_dir in $ac_dummy; do
2539    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
2540    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
2541  ac_cv_prog_CC="$ac_tool_prefix$ac_prog"  ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2542  echo "$as_me:2537: found $ac_dir/$ac_word" >&5  echo "$as_me:2542: found $ac_dir/$ac_word" >&5
2543  break  break
2544  done  done
2545    
# Line 2542  fi Line 2547  fi
2547  fi  fi
2548  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2549  if test -n "$CC"; then  if test -n "$CC"; then
2550    echo "$as_me:2545: result: $CC" >&5    echo "$as_me:2550: result: $CC" >&5
2551  echo "${ECHO_T}$CC" >&6  echo "${ECHO_T}$CC" >&6
2552  else  else
2553    echo "$as_me:2548: result: no" >&5    echo "$as_me:2553: result: no" >&5
2554  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2555  fi  fi
2556    
# Line 2558  if test -z "$CC"; then Line 2563  if test -z "$CC"; then
2563  do  do
2564    # 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.
2565  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
2566  echo "$as_me:2561: checking for $ac_word" >&5  echo "$as_me:2566: checking for $ac_word" >&5
2567  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2568  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2569    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2573  for ac_dir in $ac_dummy; do Line 2578  for ac_dir in $ac_dummy; do
2578    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
2579    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
2580  ac_cv_prog_ac_ct_CC="$ac_prog"  ac_cv_prog_ac_ct_CC="$ac_prog"
2581  echo "$as_me:2576: found $ac_dir/$ac_word" >&5  echo "$as_me:2581: found $ac_dir/$ac_word" >&5
2582  break  break
2583  done  done
2584    
# Line 2581  fi Line 2586  fi
2586  fi  fi
2587  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_CC=$ac_cv_prog_ac_ct_CC
2588  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_CC"; then
2589    echo "$as_me:2584: result: $ac_ct_CC" >&5    echo "$as_me:2589: result: $ac_ct_CC" >&5
2590  echo "${ECHO_T}$ac_ct_CC" >&6  echo "${ECHO_T}$ac_ct_CC" >&6
2591  else  else
2592    echo "$as_me:2587: result: no" >&5    echo "$as_me:2592: result: no" >&5
2593  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2594  fi  fi
2595    
# Line 2596  fi Line 2601  fi
2601    
2602  fi  fi
2603    
2604  test -z "$CC" && { { echo "$as_me:2599: error: no acceptable cc found in \$PATH" >&5  test -z "$CC" && { { echo "$as_me:2604: error: no acceptable cc found in \$PATH" >&5
2605  echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}  echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2606     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
2607    
2608  # Provide some information about the compiler.  # Provide some information about the compiler.
2609  echo "$as_me:2604:" \  echo "$as_me:2609:" \
2610       "checking for C compiler version" >&5       "checking for C compiler version" >&5
2611  ac_compiler=`set X $ac_compile; echo $2`  ac_compiler=`set X $ac_compile; echo $2`
2612  { (eval echo "$as_me:2607: \"$ac_compiler --version </dev/null >&5\"") >&5  { (eval echo "$as_me:2612: \"$ac_compiler --version </dev/null >&5\"") >&5
2613    (eval $ac_compiler --version </dev/null >&5) 2>&5    (eval $ac_compiler --version </dev/null >&5) 2>&5
2614    ac_status=$?    ac_status=$?
2615    echo "$as_me:2610: \$? = $ac_status" >&5    echo "$as_me:2615: \$? = $ac_status" >&5
2616    (exit $ac_status); }    (exit $ac_status); }
2617  { (eval echo "$as_me:2612: \"$ac_compiler -v </dev/null >&5\"") >&5  { (eval echo "$as_me:2617: \"$ac_compiler -v </dev/null >&5\"") >&5
2618    (eval $ac_compiler -v </dev/null >&5) 2>&5    (eval $ac_compiler -v </dev/null >&5) 2>&5
2619    ac_status=$?    ac_status=$?
2620    echo "$as_me:2615: \$? = $ac_status" >&5    echo "$as_me:2620: \$? = $ac_status" >&5
2621    (exit $ac_status); }    (exit $ac_status); }
2622  { (eval echo "$as_me:2617: \"$ac_compiler -V </dev/null >&5\"") >&5  { (eval echo "$as_me:2622: \"$ac_compiler -V </dev/null >&5\"") >&5
2623    (eval $ac_compiler -V </dev/null >&5) 2>&5    (eval $ac_compiler -V </dev/null >&5) 2>&5
2624    ac_status=$?    ac_status=$?
2625    echo "$as_me:2620: \$? = $ac_status" >&5    echo "$as_me:2625: \$? = $ac_status" >&5
2626    (exit $ac_status); }    (exit $ac_status); }
2627    
2628  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
# Line 2637  ac_clean_files="$ac_clean_files a.out a. Line 2642  ac_clean_files="$ac_clean_files a.out a.
2642  # Try to create an executable without -o first, disregard a.out.  # Try to create an executable without -o first, disregard a.out.
2643  # It will help us diagnose broken compilers, and finding out an intuition  # It will help us diagnose broken compilers, and finding out an intuition
2644  # of exeext.  # of exeext.
2645  echo "$as_me:2640: checking for C compiler default output" >&5  echo "$as_me:2645: checking for C compiler default output" >&5
2646  echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6  echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2647  ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`  ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2648  if { (eval echo "$as_me:2643: \"$ac_link_default\"") >&5  if { (eval echo "$as_me:2648: \"$ac_link_default\"") >&5
2649    (eval $ac_link_default) 2>&5    (eval $ac_link_default) 2>&5
2650    ac_status=$?    ac_status=$?
2651    echo "$as_me:2646: \$? = $ac_status" >&5    echo "$as_me:2651: \$? = $ac_status" >&5
2652    (exit $ac_status); }; then    (exit $ac_status); }; then
2653    # Find the output, starting from the most likely.  This scheme is    # Find the output, starting from the most likely.  This scheme is
2654  # 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 2666  done Line 2671  done
2671  else  else
2672    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2673  cat conftest.$ac_ext >&5  cat conftest.$ac_ext >&5
2674  { { echo "$as_me:2669: error: C compiler cannot create executables" >&5  { { echo "$as_me:2674: error: C compiler cannot create executables" >&5
2675  echo "$as_me: error: C compiler cannot create executables" >&2;}  echo "$as_me: error: C compiler cannot create executables" >&2;}
2676     { (exit 77); exit 77; }; }     { (exit 77); exit 77; }; }
2677  fi  fi
2678    
2679  ac_exeext=$ac_cv_exeext  ac_exeext=$ac_cv_exeext
2680  echo "$as_me:2675: result: $ac_file" >&5  echo "$as_me:2680: result: $ac_file" >&5
2681  echo "${ECHO_T}$ac_file" >&6  echo "${ECHO_T}$ac_file" >&6
2682    
2683  # Check the compiler produces executables we can run.  If not, either  # Check the compiler produces executables we can run.  If not, either
2684  # the compiler is broken, or we cross compile.  # the compiler is broken, or we cross compile.
2685  echo "$as_me:2680: checking whether the C compiler works" >&5  echo "$as_me:2685: checking whether the C compiler works" >&5
2686  echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6  echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2687  # FIXME: These cross compiler hacks should be removed for Autoconf 3.0  # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2688  # If not cross compiling, check that we can run a simple program.  # If not cross compiling, check that we can run a simple program.
2689  if test "$cross_compiling" != yes; then  if test "$cross_compiling" != yes; then
2690    if { ac_try='./$ac_file'    if { ac_try='./$ac_file'
2691    { (eval echo "$as_me:2686: \"$ac_try\"") >&5    { (eval echo "$as_me:2691: \"$ac_try\"") >&5
2692    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2693    ac_status=$?    ac_status=$?
2694    echo "$as_me:2689: \$? = $ac_status" >&5    echo "$as_me:2694: \$? = $ac_status" >&5
2695    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2696      cross_compiling=no      cross_compiling=no
2697    else    else
2698      if test "$cross_compiling" = maybe; then      if test "$cross_compiling" = maybe; then
2699          cross_compiling=yes          cross_compiling=yes
2700      else      else
2701          { { echo "$as_me:2696: error: cannot run C compiled programs.          { { echo "$as_me:2701: error: cannot run C compiled programs.
2702  If you meant to cross compile, use \`--host'." >&5  If you meant to cross compile, use \`--host'." >&5
2703  echo "$as_me: error: cannot run C compiled programs.  echo "$as_me: error: cannot run C compiled programs.
2704  If you meant to cross compile, use \`--host'." >&2;}  If you meant to cross compile, use \`--host'." >&2;}
# Line 2701  If you meant to cross compile, use \`--h Line 2706  If you meant to cross compile, use \`--h
2706      fi      fi
2707    fi    fi
2708  fi  fi
2709  echo "$as_me:2704: result: yes" >&5  echo "$as_me:2709: result: yes" >&5
2710  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
2711    
2712  rm -f a.out a.exe conftest$ac_cv_exeext  rm -f a.out a.exe conftest$ac_cv_exeext
2713  ac_clean_files=$ac_clean_files_save  ac_clean_files=$ac_clean_files_save
2714  # Check the compiler produces executables we can run.  If not, either  # Check the compiler produces executables we can run.  If not, either
2715  # the compiler is broken, or we cross compile.  # the compiler is broken, or we cross compile.
2716  echo "$as_me:2711: checking whether we are cross compiling" >&5  echo "$as_me:2716: checking whether we are cross compiling" >&5
2717  echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6  echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2718  echo "$as_me:2713: result: $cross_compiling" >&5  echo "$as_me:2718: result: $cross_compiling" >&5
2719  echo "${ECHO_T}$cross_compiling" >&6  echo "${ECHO_T}$cross_compiling" >&6
2720    
2721  echo "$as_me:2716: checking for executable suffix" >&5  echo "$as_me:2721: checking for executable suffix" >&5
2722  echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6  echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
2723  if { (eval echo "$as_me:2718: \"$ac_link\"") >&5  if { (eval echo "$as_me:2723: \"$ac_link\"") >&5
2724    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
2725    ac_status=$?    ac_status=$?
2726    echo "$as_me:2721: \$? = $ac_status" >&5    echo "$as_me:2726: \$? = $ac_status" >&5
2727    (exit $ac_status); }; then    (exit $ac_status); }; then
2728    # If both `conftest.exe' and `conftest' are `present' (well, observable)    # If both `conftest.exe' and `conftest' are `present' (well, observable)
2729  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
# Line 2734  for ac_file in `(ls conftest.exe; ls con Line 2739  for ac_file in `(ls conftest.exe; ls con
2739    esac    esac
2740  done  done
2741  else  else
2742    { { echo "$as_me:2737: error: cannot compute EXEEXT: cannot compile and link" >&5    { { echo "$as_me:2742: error: cannot compute EXEEXT: cannot compile and link" >&5
2743  echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}  echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
2744     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
2745  fi  fi
2746    
2747  rm -f conftest$ac_cv_exeext  rm -f conftest$ac_cv_exeext
2748  echo "$as_me:2743: result: $ac_cv_exeext" >&5  echo "$as_me:2748: result: $ac_cv_exeext" >&5
2749  echo "${ECHO_T}$ac_cv_exeext" >&6  echo "${ECHO_T}$ac_cv_exeext" >&6
2750    
2751  rm -f conftest.$ac_ext  rm -f conftest.$ac_ext
2752  EXEEXT=$ac_cv_exeext  EXEEXT=$ac_cv_exeext
2753  ac_exeext=$EXEEXT  ac_exeext=$EXEEXT
2754  echo "$as_me:2749: checking for object suffix" >&5  echo "$as_me:2754: checking for object suffix" >&5
2755  echo $ECHO_N "checking for object suffix... $ECHO_C" >&6  echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
2756  if test "${ac_cv_objext+set}" = set; then  if test "${ac_cv_objext+set}" = set; then
2757    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2764  main () Line 2769  main ()
2769  }  }
2770  _ACEOF  _ACEOF
2771  rm -f conftest.o conftest.obj  rm -f conftest.o conftest.obj
2772  if { (eval echo "$as_me:2767: \"$ac_compile\"") >&5  if { (eval echo "$as_me:2772: \"$ac_compile\"") >&5
2773    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2774    ac_status=$?    ac_status=$?
2775    echo "$as_me:2770: \$? = $ac_status" >&5    echo "$as_me:2775: \$? = $ac_status" >&5
2776    (exit $ac_status); }; then    (exit $ac_status); }; then
2777    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
2778    case $ac_file in    case $ac_file in
# Line 2779  done Line 2784  done
2784  else  else
2785    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2786  cat conftest.$ac_ext >&5  cat conftest.$ac_ext >&5
2787  { { echo "$as_me:2782: error: cannot compute OBJEXT: cannot compile" >&5  { { echo "$as_me:2787: error: cannot compute OBJEXT: cannot compile" >&5
2788  echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}  echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
2789     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
2790  fi  fi
2791    
2792  rm -f conftest.$ac_cv_objext conftest.$ac_ext  rm -f conftest.$ac_cv_objext conftest.$ac_ext
2793  fi  fi
2794  echo "$as_me:2789: result: $ac_cv_objext" >&5  echo "$as_me:2794: result: $ac_cv_objext" >&5
2795  echo "${ECHO_T}$ac_cv_objext" >&6  echo "${ECHO_T}$ac_cv_objext" >&6
2796  OBJEXT=$ac_cv_objext  OBJEXT=$ac_cv_objext
2797  ac_objext=$OBJEXT  ac_objext=$OBJEXT
2798  echo "$as_me:2793: checking whether we are using the GNU C compiler" >&5  echo "$as_me:2798: checking whether we are using the GNU C compiler" >&5
2799  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
2800  if test "${ac_cv_c_compiler_gnu+set}" = set; then  if test "${ac_cv_c_compiler_gnu+set}" = set; then
2801    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2811  main () Line 2816  main ()
2816  }  }
2817  _ACEOF  _ACEOF
2818  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2819  if { (eval echo "$as_me:2814: \"$ac_compile\"") >&5  if { (eval echo "$as_me:2819: \"$ac_compile\"") >&5
2820    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2821    ac_status=$?    ac_status=$?
2822    echo "$as_me:2817: \$? = $ac_status" >&5    echo "$as_me:2822: \$? = $ac_status" >&5
2823    (exit $ac_status); } &&    (exit $ac_status); } &&
2824           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
2825    { (eval echo "$as_me:2820: \"$ac_try\"") >&5    { (eval echo "$as_me:2825: \"$ac_try\"") >&5
2826    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2827    ac_status=$?    ac_status=$?
2828    echo "$as_me:2823: \$? = $ac_status" >&5    echo "$as_me:2828: \$? = $ac_status" >&5
2829    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2830    ac_compiler_gnu=yes    ac_compiler_gnu=yes
2831  else  else
# Line 2832  rm -f conftest.$ac_objext conftest.$ac_e Line 2837  rm -f conftest.$ac_objext conftest.$ac_e
2837  ac_cv_c_compiler_gnu=$ac_compiler_gnu  ac_cv_c_compiler_gnu=$ac_compiler_gnu
2838    
2839  fi  fi
2840  echo "$as_me:2835: result: $ac_cv_c_compiler_gnu" >&5  echo "$as_me:2840: result: $ac_cv_c_compiler_gnu" >&5
2841  echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6  echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2842  GCC=`test $ac_compiler_gnu = yes && echo yes`  GCC=`test $ac_compiler_gnu = yes && echo yes`
2843  ac_test_CFLAGS=${CFLAGS+set}  ac_test_CFLAGS=${CFLAGS+set}
2844  ac_save_CFLAGS=$CFLAGS  ac_save_CFLAGS=$CFLAGS
2845  CFLAGS="-g"  CFLAGS="-g"
2846  echo "$as_me:2841: checking whether $CC accepts -g" >&5  echo "$as_me:2846: checking whether $CC accepts -g" >&5
2847  echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6  echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2848  if test "${ac_cv_prog_cc_g+set}" = set; then  if test "${ac_cv_prog_cc_g+set}" = set; then
2849    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2856  main () Line 2861  main ()
2861  }  }
2862  _ACEOF  _ACEOF
2863  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2864  if { (eval echo "$as_me:2859: \"$ac_compile\"") >&5  if { (eval echo "$as_me:2864: \"$ac_compile\"") >&5
2865    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2866    ac_status=$?    ac_status=$?
2867    echo "$as_me:2862: \$? = $ac_status" >&5    echo "$as_me:2867: \$? = $ac_status" >&5
2868    (exit $ac_status); } &&    (exit $ac_status); } &&
2869           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
2870    { (eval echo "$as_me:2865: \"$ac_try\"") >&5    { (eval echo "$as_me:2870: \"$ac_try\"") >&5
2871    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2872    ac_status=$?    ac_status=$?
2873    echo "$as_me:2868: \$? = $ac_status" >&5    echo "$as_me:2873: \$? = $ac_status" >&5
2874    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2875    ac_cv_prog_cc_g=yes    ac_cv_prog_cc_g=yes
2876  else  else
# Line 2875  ac_cv_prog_cc_g=no Line 2880  ac_cv_prog_cc_g=no
2880  fi  fi
2881  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
2882  fi  fi
2883  echo "$as_me:2878: result: $ac_cv_prog_cc_g" >&5  echo "$as_me:2883: result: $ac_cv_prog_cc_g" >&5
2884  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2885  if test "$ac_test_CFLAGS" = set; then  if test "$ac_test_CFLAGS" = set; then
2886    CFLAGS=$ac_save_CFLAGS    CFLAGS=$ac_save_CFLAGS
# Line 2902  cat >conftest.$ac_ext <<_ACEOF Line 2907  cat >conftest.$ac_ext <<_ACEOF
2907  #endif  #endif
2908  _ACEOF  _ACEOF
2909  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2910  if { (eval echo "$as_me:2905: \"$ac_compile\"") >&5  if { (eval echo "$as_me:2910: \"$ac_compile\"") >&5
2911    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2912    ac_status=$?    ac_status=$?
2913    echo "$as_me:2908: \$? = $ac_status" >&5    echo "$as_me:2913: \$? = $ac_status" >&5
2914    (exit $ac_status); } &&    (exit $ac_status); } &&
2915           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
2916    { (eval echo "$as_me:2911: \"$ac_try\"") >&5    { (eval echo "$as_me:2916: \"$ac_try\"") >&5
2917    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2918    ac_status=$?    ac_status=$?
2919    echo "$as_me:2914: \$? = $ac_status" >&5    echo "$as_me:2919: \$? = $ac_status" >&5
2920    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2921    for ac_declaration in \    for ac_declaration in \
2922     ''\     ''\
# Line 2936  exit (42); Line 2941  exit (42);
2941  }  }
2942  _ACEOF  _ACEOF
2943  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2944  if { (eval echo "$as_me:2939: \"$ac_compile\"") >&5  if { (eval echo "$as_me:2944: \"$ac_compile\"") >&5
2945    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2946    ac_status=$?    ac_status=$?
2947    echo "$as_me:2942: \$? = $ac_status" >&5    echo "$as_me:2947: \$? = $ac_status" >&5
2948    (exit $ac_status); } &&    (exit $ac_status); } &&
2949           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
2950    { (eval echo "$as_me:2945: \"$ac_try\"") >&5    { (eval echo "$as_me:2950: \"$ac_try\"") >&5
2951    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2952    ac_status=$?    ac_status=$?
2953    echo "$as_me:2948: \$? = $ac_status" >&5    echo "$as_me:2953: \$? = $ac_status" >&5
2954    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2955    :    :
2956  else  else
# Line 2967  exit (42); Line 2972  exit (42);
2972  }  }
2973  _ACEOF  _ACEOF
2974  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2975  if { (eval echo "$as_me:2970: \"$ac_compile\"") >&5  if { (eval echo "$as_me:2975: \"$ac_compile\"") >&5
2976    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2977    ac_status=$?    ac_status=$?
2978    echo "$as_me:2973: \$? = $ac_status" >&5    echo "$as_me:2978: \$? = $ac_status" >&5
2979    (exit $ac_status); } &&    (exit $ac_status); } &&
2980           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
2981    { (eval echo "$as_me:2976: \"$ac_try\"") >&5    { (eval echo "$as_me:2981: \"$ac_try\"") >&5
2982    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2983    ac_status=$?    ac_status=$?
2984    echo "$as_me:2979: \$? = $ac_status" >&5    echo "$as_me:2984: \$? = $ac_status" >&5
2985    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2986    break    break
2987  else  else
# Line 3049  fi Line 3054  fi
3054  #### 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
3055  #### #undef clause to src/config.h.in for autoconf to modify.  #### #undef clause to src/config.h.in for autoconf to modify.
3056    
3057  echo "$as_me:3052: checking whether ln -s works" >&5  echo "$as_me:3057: checking whether ln -s works" >&5
3058  echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6  echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3059  LN_S=$as_ln_s  LN_S=$as_ln_s
3060  if test "$LN_S" = "ln -s"; then  if test "$LN_S" = "ln -s"; then
3061    echo "$as_me:3056: result: yes" >&5    echo "$as_me:3061: result: yes" >&5
3062  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
3063  else  else
3064    echo "$as_me:3059: result: no, using $LN_S" >&5    echo "$as_me:3064: result: no, using $LN_S" >&5
3065  echo "${ECHO_T}no, using $LN_S" >&6  echo "${ECHO_T}no, using $LN_S" >&6
3066  fi  fi
3067    
# Line 3065  ac_cpp='$CPP $CPPFLAGS' Line 3070  ac_cpp='$CPP $CPPFLAGS'
3070  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3071  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'
3072  ac_compiler_gnu=$ac_cv_c_compiler_gnu  ac_compiler_gnu=$ac_cv_c_compiler_gnu
3073  echo "$as_me:3068: checking how to run the C preprocessor" >&5  echo "$as_me:3073: checking how to run the C preprocessor" >&5
3074  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
3075  # On Suns, sometimes $CPP names a directory.  # On Suns, sometimes $CPP names a directory.
3076  if test -n "$CPP" && test -d "$CPP"; then  if test -n "$CPP" && test -d "$CPP"; then
# Line 3091  do Line 3096  do
3096  #include <assert.h>  #include <assert.h>
3097                       Syntax error                       Syntax error
3098  _ACEOF  _ACEOF
3099  if { (eval echo "$as_me:3094: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:3099: \"$ac_cpp conftest.$ac_ext\"") >&5
3100    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3101    ac_status=$?    ac_status=$?
3102    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
3103    rm -f conftest.er1    rm -f conftest.er1
3104    cat conftest.err >&5    cat conftest.err >&5
3105    echo "$as_me:3100: \$? = $ac_status" >&5    echo "$as_me:3105: \$? = $ac_status" >&5
3106    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3107    if test -s conftest.err; then    if test -s conftest.err; then
3108      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 3124  rm -f conftest.err conftest.$ac_ext Line 3129  rm -f conftest.err conftest.$ac_ext
3129  #include "confdefs.h"  #include "confdefs.h"
3130  #include <ac_nonexistent.h>  #include <ac_nonexistent.h>
3131  _ACEOF  _ACEOF
3132  if { (eval echo "$as_me:3127: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:3132: \"$ac_cpp conftest.$ac_ext\"") >&5
3133    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3134    ac_status=$?    ac_status=$?
3135    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
3136    rm -f conftest.er1    rm -f conftest.er1
3137    cat conftest.err >&5    cat conftest.err >&5
3138    echo "$as_me:3133: \$? = $ac_status" >&5    echo "$as_me:3138: \$? = $ac_status" >&5
3139    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3140    if test -s conftest.err; then    if test -s conftest.err; then
3141      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 3167  fi Line 3172  fi
3172  else  else
3173    ac_cv_prog_CPP=$CPP    ac_cv_prog_CPP=$CPP
3174  fi  fi
3175  echo "$as_me:3170: result: $CPP" >&5  echo "$as_me:3175: result: $CPP" >&5
3176  echo "${ECHO_T}$CPP" >&6  echo "${ECHO_T}$CPP" >&6
3177  ac_preproc_ok=false  ac_preproc_ok=false
3178  for ac_c_preproc_warn_flag in '' yes  for ac_c_preproc_warn_flag in '' yes
# Line 3182  do Line 3187  do
3187  #include <assert.h>  #include <assert.h>
3188                       Syntax error                       Syntax error
3189  _ACEOF  _ACEOF
3190  if { (eval echo "$as_me:3185: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:3190: \"$ac_cpp conftest.$ac_ext\"") >&5
3191    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3192    ac_status=$?    ac_status=$?
3193    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
3194    rm -f conftest.er1    rm -f conftest.er1
3195    cat conftest.err >&5    cat conftest.err >&5
3196    echo "$as_me:3191: \$? = $ac_status" >&5    echo "$as_me:3196: \$? = $ac_status" >&5
3197    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3198    if test -s conftest.err; then    if test -s conftest.err; then
3199      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 3215  rm -f conftest.err conftest.$ac_ext Line 3220  rm -f conftest.err conftest.$ac_ext
3220  #include "confdefs.h"  #include "confdefs.h"
3221  #include <ac_nonexistent.h>  #include <ac_nonexistent.h>
3222  _ACEOF  _ACEOF
3223  if { (eval echo "$as_me:3218: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:3223: \"$ac_cpp conftest.$ac_ext\"") >&5
3224    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3225    ac_status=$?    ac_status=$?
3226    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
3227    rm -f conftest.er1    rm -f conftest.er1
3228    cat conftest.err >&5    cat conftest.err >&5
3229    echo "$as_me:3224: \$? = $ac_status" >&5    echo "$as_me:3229: \$? = $ac_status" >&5
3230    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3231    if test -s conftest.err; then    if test -s conftest.err; then
3232      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 3249  rm -f conftest.err conftest.$ac_ext Line 3254  rm -f conftest.err conftest.$ac_ext
3254  if $ac_preproc_ok; then  if $ac_preproc_ok; then
3255    :    :
3256  else  else
3257    { { echo "$as_me:3252: error: C preprocessor \"$CPP\" fails sanity check" >&5    { { echo "$as_me:3257: error: C preprocessor \"$CPP\" fails sanity check" >&5
3258  echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}  echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
3259     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3260  fi  fi
# Line 3272  ac_compiler_gnu=$ac_cv_c_compiler_gnu Line 3277  ac_compiler_gnu=$ac_cv_c_compiler_gnu
3277  # AFS /usr/afsws/bin/install, which mishandles nonexistent args  # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3278  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3279  # ./install, which can be erroneously created by make from ./install.sh.  # ./install, which can be erroneously created by make from ./install.sh.
3280  echo "$as_me:3275: checking for a BSD compatible install" >&5  echo "$as_me:3280: checking for a BSD compatible install" >&5
3281  echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6  echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
3282  if test -z "$INSTALL"; then  if test -z "$INSTALL"; then
3283  if test "${ac_cv_path_install+set}" = set; then  if test "${ac_cv_path_install+set}" = set; then
# Line 3321  fi Line 3326  fi
3326      INSTALL=$ac_install_sh      INSTALL=$ac_install_sh
3327    fi    fi
3328  fi  fi
3329  echo "$as_me:3324: result: $INSTALL" >&5  echo "$as_me:3329: result: $INSTALL" >&5
3330  echo "${ECHO_T}$INSTALL" >&6  echo "${ECHO_T}$INSTALL" >&6
3331    
3332  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
# Line 3336  for ac_prog in 'bison -y' byacc Line 3341  for ac_prog in 'bison -y' byacc
3341  do  do
3342    # 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.
3343  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
3344  echo "$as_me:3339: checking for $ac_word" >&5  echo "$as_me:3344: checking for $ac_word" >&5
3345  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3346  if test "${ac_cv_prog_YACC+set}" = set; then  if test "${ac_cv_prog_YACC+set}" = set; then
3347    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3351  for ac_dir in $ac_dummy; do Line 3356  for ac_dir in $ac_dummy; do
3356    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
3357    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
3358  ac_cv_prog_YACC="$ac_prog"  ac_cv_prog_YACC="$ac_prog"
3359  echo "$as_me:3354: found $ac_dir/$ac_word" >&5  echo "$as_me:3359: found $ac_dir/$ac_word" >&5
3360  break  break
3361  done  done
3362    
# Line 3359  fi Line 3364  fi
3364  fi  fi
3365  YACC=$ac_cv_prog_YACC  YACC=$ac_cv_prog_YACC
3366  if test -n "$YACC"; then  if test -n "$YACC"; then
3367    echo "$as_me:3362: result: $YACC" >&5    echo "$as_me:3367: result: $YACC" >&5
3368  echo "${ECHO_T}$YACC" >&6  echo "${ECHO_T}$YACC" >&6
3369  else  else
3370    echo "$as_me:3365: result: no" >&5    echo "$as_me:3370: result: no" >&5
3371  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
3372  fi  fi
3373    
# Line 3374  if test "x$RANLIB" = x; then Line 3379  if test "x$RANLIB" = x; then
3379    if test -n "$ac_tool_prefix"; then    if test -n "$ac_tool_prefix"; then
3380    # 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.
3381  set dummy ${ac_tool_prefix}ranlib; ac_word=$2  set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3382  echo "$as_me:3377: checking for $ac_word" >&5  echo "$as_me:3382: checking for $ac_word" >&5
3383  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3384  if test "${ac_cv_prog_RANLIB+set}" = set; then  if test "${ac_cv_prog_RANLIB+set}" = set; then
3385    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3389  for ac_dir in $ac_dummy; do Line 3394  for ac_dir in $ac_dummy; do
3394    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
3395    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
3396  ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"  ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3397  echo "$as_me:3392: found $ac_dir/$ac_word" >&5  echo "$as_me:3397: found $ac_dir/$ac_word" >&5
3398  break  break
3399  done  done
3400    
# Line 3397  fi Line 3402  fi
3402  fi  fi
3403  RANLIB=$ac_cv_prog_RANLIB  RANLIB=$ac_cv_prog_RANLIB
3404  if test -n "$RANLIB"; then  if test -n "$RANLIB"; then
3405    echo "$as_me:3400: result: $RANLIB" >&5    echo "$as_me:3405: result: $RANLIB" >&5
3406  echo "${ECHO_T}$RANLIB" >&6  echo "${ECHO_T}$RANLIB" >&6
3407  else  else
3408    echo "$as_me:3403: result: no" >&5    echo "$as_me:3408: result: no" >&5
3409  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
3410  fi  fi
3411    
# Line 3409  if test -z "$ac_cv_prog_RANLIB"; then Line 3414  if test -z "$ac_cv_prog_RANLIB"; then
3414    ac_ct_RANLIB=$RANLIB    ac_ct_RANLIB=$RANLIB
3415    # 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.
3416  set dummy ranlib; ac_word=$2  set dummy ranlib; ac_word=$2
3417  echo "$as_me:3412: checking for $ac_word" >&5  echo "$as_me:3417: checking for $ac_word" >&5
3418  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3419  if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then  if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3420    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3424  for ac_dir in $ac_dummy; do Line 3429  for ac_dir in $ac_dummy; do
3429    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
3430    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
3431  ac_cv_prog_ac_ct_RANLIB="ranlib"  ac_cv_prog_ac_ct_RANLIB="ranlib"
3432  echo "$as_me:3427: found $ac_dir/$ac_word" >&5  echo "$as_me:3432: found $ac_dir/$ac_word" >&5
3433  break  break
3434  done  done
3435    
# Line 3433  fi Line 3438  fi
3438  fi  fi
3439  ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB  ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3440  if test -n "$ac_ct_RANLIB"; then  if test -n "$ac_ct_RANLIB"; then
3441    echo "$as_me:3436: result: $ac_ct_RANLIB" >&5    echo "$as_me:3441: result: $ac_ct_RANLIB" >&5
3442  echo "${ECHO_T}$ac_ct_RANLIB" >&6  echo "${ECHO_T}$ac_ct_RANLIB" >&6
3443  else  else
3444    echo "$as_me:3439: result: no" >&5    echo "$as_me:3444: result: no" >&5
3445  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
3446  fi  fi
3447    
# Line 3447  fi Line 3452  fi
3452    
3453  fi  fi
3454    
3455  echo "$as_me:3450: checking for AIX" >&5  echo "$as_me:3455: checking for AIX" >&5
3456  echo $ECHO_N "checking for AIX... $ECHO_C" >&6  echo $ECHO_N "checking for AIX... $ECHO_C" >&6
3457  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
3458  #line 3453 "configure"  #line 3453 "configure"
# Line 3459  cat >conftest.$ac_ext <<_ACEOF Line 3464  cat >conftest.$ac_ext <<_ACEOF
3464  _ACEOF  _ACEOF
3465  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3466    egrep "yes" >/dev/null 2>&1; then    egrep "yes" >/dev/null 2>&1; then
3467    echo "$as_me:3462: result: yes" >&5    echo "$as_me:3467: result: yes" >&5
3468  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
3469  cat >>confdefs.h <<\EOF  cat >>confdefs.h <<\EOF
3470  #define _ALL_SOURCE 1  #define _ALL_SOURCE 1
3471  EOF  EOF
3472    
3473  else  else
3474    echo "$as_me:3469: result: no" >&5    echo "$as_me:3474: result: no" >&5
3475  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
3476  fi  fi
3477  rm -f conftest*  rm -f conftest*
3478    
3479  #### Extract some information from the operating system and machine files.  #### Extract some information from the operating system and machine files.
3480    
3481  { echo "$as_me:3476: checking the machine- and system-dependent files to find out  { echo "$as_me:3481: checking the machine- and system-dependent files to find out
3482   - which libraries the lib-src programs will want, and   - which libraries the lib-src programs will want, and
3483   - whether the GNU malloc routines are usable..." >&5   - whether the GNU malloc routines are usable..." >&5
3484  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 3623  if test "${enable_largefile+set}" = set; Line 3628  if test "${enable_largefile+set}" = set;
3628  fi;  fi;
3629  if test "$enable_largefile" != no; then  if test "$enable_largefile" != no; then
3630    
3631    echo "$as_me:3626: checking for special C compiler options needed for large files" >&5    echo "$as_me:3631: checking for special C compiler options needed for large files" >&5
3632  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
3633  if test "${ac_cv_sys_largefile_CC+set}" = set; then  if test "${ac_cv_sys_largefile_CC+set}" = set; then
3634    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3655  main () Line 3660  main ()
3660  }  }
3661  _ACEOF  _ACEOF
3662           rm -f conftest.$ac_objext           rm -f conftest.$ac_objext
3663  if { (eval echo "$as_me:3658: \"$ac_compile\"") >&5  if { (eval echo "$as_me:3663: \"$ac_compile\"") >&5
3664    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3665    ac_status=$?    ac_status=$?
3666    echo "$as_me:3661: \$? = $ac_status" >&5    echo "$as_me:3666: \$? = $ac_status" >&5
3667    (exit $ac_status); } &&    (exit $ac_status); } &&
3668           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
3669    { (eval echo "$as_me:3664: \"$ac_try\"") >&5    { (eval echo "$as_me:3669: \"$ac_try\"") >&5
3670    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3671    ac_status=$?    ac_status=$?
3672    echo "$as_me:3667: \$? = $ac_status" >&5    echo "$as_me:3672: \$? = $ac_status" >&5
3673    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3674    break    break
3675  else  else
# Line 3674  fi Line 3679  fi
3679  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3680           CC="$CC -n32"           CC="$CC -n32"
3681           rm -f conftest.$ac_objext           rm -f conftest.$ac_objext
3682  if { (eval echo "$as_me:3677: \"$ac_compile\"") >&5  if { (eval echo "$as_me:3682: \"$ac_compile\"") >&5
3683    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3684    ac_status=$?    ac_status=$?
3685    echo "$as_me:3680: \$? = $ac_status" >&5    echo "$as_me:3685: \$? = $ac_status" >&5
3686    (exit $ac_status); } &&    (exit $ac_status); } &&
3687           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
3688    { (eval echo "$as_me:3683: \"$ac_try\"") >&5    { (eval echo "$as_me:3688: \"$ac_try\"") >&5
3689    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3690    ac_status=$?    ac_status=$?
3691    echo "$as_me:3686: \$? = $ac_status" >&5    echo "$as_me:3691: \$? = $ac_status" >&5
3692    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3693    ac_cv_sys_largefile_CC=' -n32'; break    ac_cv_sys_largefile_CC=' -n32'; break
3694  else  else
# Line 3697  rm -f conftest.$ac_objext Line 3702  rm -f conftest.$ac_objext
3702         rm -f conftest.$ac_ext         rm -f conftest.$ac_ext
3703      fi      fi
3704  fi  fi
3705  echo "$as_me:3700: result: $ac_cv_sys_largefile_CC" >&5  echo "$as_me:3705: result: $ac_cv_sys_largefile_CC" >&5
3706  echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6  echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
3707    if test "$ac_cv_sys_largefile_CC" != no; then    if test "$ac_cv_sys_largefile_CC" != no; then
3708      CC=$CC$ac_cv_sys_largefile_CC      CC=$CC$ac_cv_sys_largefile_CC
3709    fi    fi
3710    
3711    echo "$as_me:3706: checking for _FILE_OFFSET_BITS value needed for large files" >&5    echo "$as_me:3711: checking for _FILE_OFFSET_BITS value needed for large files" >&5
3712  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
3713  if test "${ac_cv_sys_file_offset_bits+set}" = set; then  if test "${ac_cv_sys_file_offset_bits+set}" = set; then
3714    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3731  main () Line 3736  main ()
3736  }  }
3737  _ACEOF  _ACEOF
3738  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3739  if { (eval echo "$as_me:3734: \"$ac_compile\"") >&5  if { (eval echo "$as_me:3739: \"$ac_compile\"") >&5
3740    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3741    ac_status=$?    ac_status=$?
3742    echo "$as_me:3737: \$? = $ac_status" >&5    echo "$as_me:3742: \$? = $ac_status" >&5
3743    (exit $ac_status); } &&    (exit $ac_status); } &&
3744           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
3745    { (eval echo "$as_me:3740: \"$ac_try\"") >&5    { (eval echo "$as_me:3745: \"$ac_try\"") >&5
3746    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3747    ac_status=$?    ac_status=$?
3748    echo "$as_me:3743: \$? = $ac_status" >&5    echo "$as_me:3748: \$? = $ac_status" >&5
3749    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3750    break    break
3751  else  else
# Line 3770  main () Line 3775  main ()
3775  }  }
3776  _ACEOF  _ACEOF
3777  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3778  if { (eval echo "$as_me:3773: \"$ac_compile\"") >&5  if { (eval echo "$as_me:3778: \"$ac_compile\"") >&5
3779    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3780    ac_status=$?    ac_status=$?
3781    echo "$as_me:3776: \$? = $ac_status" >&5    echo "$as_me:3781: \$? = $ac_status" >&5
3782    (exit $ac_status); } &&    (exit $ac_status); } &&
3783           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
3784    { (eval echo "$as_me:3779: \"$ac_try\"") >&5    { (eval echo "$as_me:3784: \"$ac_try\"") >&5
3785    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3786    ac_status=$?    ac_status=$?
3787    echo "$as_me:3782: \$? = $ac_status" >&5    echo "$as_me:3787: \$? = $ac_status" >&5
3788    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3789    ac_cv_sys_file_offset_bits=64; break    ac_cv_sys_file_offset_bits=64; break
3790  else  else
# Line 3790  rm -f conftest.$ac_objext conftest.$ac_e Line 3795  rm -f conftest.$ac_objext conftest.$ac_e
3795    break    break
3796  done  done
3797  fi  fi
3798  echo "$as_me:3793: result: $ac_cv_sys_file_offset_bits" >&5  echo "$as_me:3798: result: $ac_cv_sys_file_offset_bits" >&5
3799  echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6  echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
3800  if test "$ac_cv_sys_file_offset_bits" != no; then  if test "$ac_cv_sys_file_offset_bits" != no; then
3801    
# Line 3800  EOF Line 3805  EOF
3805    
3806  fi  fi
3807  rm -f conftest*  rm -f conftest*
3808    echo "$as_me:3803: checking for _LARGE_FILES value needed for large files" >&5    echo "$as_me:3808: checking for _LARGE_FILES value needed for large files" >&5
3809  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
3810  if test "${ac_cv_sys_large_files+set}" = set; then  if test "${ac_cv_sys_large_files+set}" = set; then
3811    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3828  main () Line 3833  main ()
3833  }  }
3834  _ACEOF  _ACEOF
3835  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3836  if { (eval echo "$as_me:3831: \"$ac_compile\"") >&5  if { (eval echo "$as_me:3836: \"$ac_compile\"") >&5
3837    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3838    ac_status=$?    ac_status=$?
3839    echo "$as_me:3834: \$? = $ac_status" >&5    echo "$as_me:3839: \$? = $ac_status" >&5
3840    (exit $ac_status); } &&    (exit $ac_status); } &&
3841           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
3842    { (eval echo "$as_me:3837: \"$ac_try\"") >&5    { (eval echo "$as_me:3842: \"$ac_try\"") >&5
3843    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3844    ac_status=$?    ac_status=$?
3845    echo "$as_me:3840: \$? = $ac_status" >&5    echo "$as_me:3845: \$? = $ac_status" >&5
3846    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3847    break    break
3848  else  else
# Line 3867  main () Line 3872  main ()
3872  }  }
3873  _ACEOF  _ACEOF
3874  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3875  if { (eval echo "$as_me:3870: \"$ac_compile\"") >&5  if { (eval echo "$as_me:3875: \"$ac_compile\"") >&5
3876    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3877    ac_status=$?    ac_status=$?
3878    echo "$as_me:3873: \$? = $ac_status" >&5    echo "$as_me:3878: \$? = $ac_status" >&5
3879    (exit $ac_status); } &&    (exit $ac_status); } &&
3880           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
3881    { (eval echo "$as_me:3876: \"$ac_try\"") >&5    { (eval echo "$as_me:3881: \"$ac_try\"") >&5
3882    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3883    ac_status=$?    ac_status=$?
3884    echo "$as_me:3879: \$? = $ac_status" >&5    echo "$as_me:3884: \$? = $ac_status" >&5
3885    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3886    ac_cv_sys_large_files=1; break    ac_cv_sys_large_files=1; break
3887  else  else
# Line 3887  rm -f conftest.$ac_objext conftest.$ac_e Line 3892  rm -f conftest.$ac_objext conftest.$ac_e
3892    break    break
3893  done  done
3894  fi  fi
3895  echo "$as_me:3890: result: $ac_cv_sys_large_files" >&5  echo "$as_me:3895: result: $ac_cv_sys_large_files" >&5
3896  echo "${ECHO_T}$ac_cv_sys_large_files" >&6  echo "${ECHO_T}$ac_cv_sys_large_files" >&6
3897  if test "$ac_cv_sys_large_files" != no; then  if test "$ac_cv_sys_large_files" != no; then
3898    
# Line 3905  if test "${with_sound}" != "no"; then Line 3910  if test "${with_sound}" != "no"; then
3910  for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h  for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h
3911  do  do
3912  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3913  echo "$as_me:3908: checking for $ac_header" >&5  echo "$as_me:3913: checking for $ac_header" >&5
3914  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3915  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
3916    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3915  else Line 3920  else
3920  #include "confdefs.h"  #include "confdefs.h"
3921  #include <$ac_header>  #include <$ac_header>
3922  _ACEOF  _ACEOF
3923  if { (eval echo "$as_me:3918: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:3923: \"$ac_cpp conftest.$ac_ext\"") >&5
3924    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3925    ac_status=$?    ac_status=$?
3926    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
3927    rm -f conftest.er1    rm -f conftest.er1
3928    cat conftest.err >&5    cat conftest.err >&5
3929    echo "$as_me:3924: \$? = $ac_status" >&5    echo "$as_me:3929: \$? = $ac_status" >&5
3930    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3931    if test -s conftest.err; then    if test -s conftest.err; then
3932      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 3940  else Line 3945  else
3945  fi  fi
3946  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
3947  fi  fi
3948  echo "$as_me:3943: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:3948: result: `eval echo '${'$as_ac_Header'}'`" >&5
3949  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3950  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
3951    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 3951  fi Line 3956  fi
3956  done  done
3957    
3958    # Emulation library used on NetBSD.    # Emulation library used on NetBSD.
3959    echo "$as_me:3954: checking for _oss_ioctl in -lossaudio" >&5    echo "$as_me:3959: checking for _oss_ioctl in -lossaudio" >&5
3960  echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6  echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
3961  if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then  if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
3962    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3978  _oss_ioctl (); Line 3983  _oss_ioctl ();
3983  }  }
3984  _ACEOF  _ACEOF
3985  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
3986  if { (eval echo "$as_me:3981: \"$ac_link\"") >&5  if { (eval echo "$as_me:3986: \"$ac_link\"") >&5
3987    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
3988    ac_status=$?    ac_status=$?
3989    echo "$as_me:3984: \$? = $ac_status" >&5    echo "$as_me:3989: \$? = $ac_status" >&5
3990    (exit $ac_status); } &&    (exit $ac_status); } &&
3991           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
3992    { (eval echo "$as_me:3987: \"$ac_try\"") >&5    { (eval echo "$as_me:3992: \"$ac_try\"") >&5
3993    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3994    ac_status=$?    ac_status=$?
3995    echo "$as_me:3990: \$? = $ac_status" >&5    echo "$as_me:3995: \$? = $ac_status" >&5
3996    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3997    ac_cv_lib_ossaudio__oss_ioctl=yes    ac_cv_lib_ossaudio__oss_ioctl=yes
3998  else  else
# Line 3998  fi Line 4003  fi
4003  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4004  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
4005  fi  fi
4006  echo "$as_me:4001: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5  echo "$as_me:4006: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
4007  echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6  echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
4008  if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then  if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
4009    LIBSOUND=-lossaudio    LIBSOUND=-lossaudio
# Line 4013  for ac_header in sys/select.h sys/timeb. Line 4018  for ac_header in sys/select.h sys/timeb.
4018    termcap.h stdio_ext.h fcntl.h term.h strings.h coff.h    termcap.h stdio_ext.h fcntl.h term.h strings.h coff.h
4019  do  do
4020  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4021  echo "$as_me:4016: checking for $ac_header" >&5  echo "$as_me:4021: checking for $ac_header" >&5
4022  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4023  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
4024    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4023  else Line 4028  else
4028  #include "confdefs.h"  #include "confdefs.h"
4029  #include <$ac_header>  #include <$ac_header>
4030  _ACEOF  _ACEOF
4031  if { (eval echo "$as_me:4026: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:4031: \"$ac_cpp conftest.$ac_ext\"") >&5
4032    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4033    ac_status=$?    ac_status=$?
4034    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
4035    rm -f conftest.er1    rm -f conftest.er1
4036    cat conftest.err >&5    cat conftest.err >&5
4037    echo "$as_me:4032: \$? = $ac_status" >&5    echo "$as_me:4037: \$? = $ac_status" >&5
4038    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
4039    if test -s conftest.err; then    if test -s conftest.err; then
4040      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 4048  else Line 4053  else
4053  fi  fi
4054  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
4055  fi  fi
4056  echo "$as_me:4051: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:4056: result: `eval echo '${'$as_ac_Header'}'`" >&5
4057  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4058  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
4059    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 4058  EOF Line 4063  EOF
4063  fi  fi
4064  done  done
4065    
4066  echo "$as_me:4061: checking for ANSI C header files" >&5  echo "$as_me:4066: checking for ANSI C header files" >&5
4067  echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6  echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4068  if test "${ac_cv_header_stdc+set}" = set; then  if test "${ac_cv_header_stdc+set}" = set; then
4069    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4072  else Line 4077  else
4077  #include <float.h>  #include <float.h>
4078    
4079  _ACEOF  _ACEOF
4080  if { (eval echo "$as_me:4075: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:4080: \"$ac_cpp conftest.$ac_ext\"") >&5
4081    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4082    ac_status=$?    ac_status=$?
4083    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
4084    rm -f conftest.er1    rm -f conftest.er1
4085    cat conftest.err >&5    cat conftest.err >&5
4086    echo "$as_me:4081: \$? = $ac_status" >&5    echo "$as_me:4086: \$? = $ac_status" >&5
4087    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
4088    if test -s conftest.err; then    if test -s conftest.err; then
4089      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 4165  main () Line 4170  main ()
4170  }  }
4171  _ACEOF  _ACEOF
4172  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
4173  if { (eval echo "$as_me:4168: \"$ac_link\"") >&5  if { (eval echo "$as_me:4173: \"$ac_link\"") >&5
4174    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
4175    ac_status=$?    ac_status=$?
4176    echo "$as_me:4171: \$? = $ac_status" >&5    echo "$as_me:4176: \$? = $ac_status" >&5
4177    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4178    { (eval echo "$as_me:4173: \"$ac_try\"") >&5    { (eval echo "$as_me:4178: \"$ac_try\"") >&5
4179    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4180    ac_status=$?    ac_status=$?
4181    echo "$as_me:4176: \$? = $ac_status" >&5    echo "$as_me:4181: \$? = $ac_status" >&5
4182    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4183    :    :
4184  else  else
# Line 4186  rm -f core core.* *.core conftest$ac_exe Line 4191  rm -f core core.* *.core conftest$ac_exe
4191  fi  fi
4192  fi  fi
4193  fi  fi
4194  echo "$as_me:4189: result: $ac_cv_header_stdc" >&5  echo "$as_me:4194: result: $ac_cv_header_stdc" >&5
4195  echo "${ECHO_T}$ac_cv_header_stdc" >&6  echo "${ECHO_T}$ac_cv_header_stdc" >&6
4196  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
4197    
# Line 4196  EOF Line 4201  EOF
4201    
4202  fi  fi
4203    
4204  echo "$as_me:4199: checking whether time.h and sys/time.h may both be included" >&5  echo "$as_me:4204: checking whether time.h and sys/time.h may both be included" >&5
4205  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
4206  if test "${ac_cv_header_time+set}" = set; then  if test "${ac_cv_header_time+set}" = set; then
4207    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4218  return 0; Line 4223  return 0;
4223  }  }
4224  _ACEOF  _ACEOF
4225  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4226  if { (eval echo "$as_me:4221: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4226: \"$ac_compile\"") >&5
4227    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4228    ac_status=$?    ac_status=$?
4229    echo "$as_me:4224: \$? = $ac_status" >&5    echo "$as_me:4229: \$? = $ac_status" >&5
4230    (exit $ac_status); } &&    (exit $ac_status); } &&
4231           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4232    { (eval echo "$as_me:4227: \"$ac_try\"") >&5    { (eval echo "$as_me:4232: \"$ac_try\"") >&5
4233    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4234    ac_status=$?    ac_status=$?
4235    echo "$as_me:4230: \$? = $ac_status" >&5    echo "$as_me:4235: \$? = $ac_status" >&5
4236    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4237    ac_cv_header_time=yes    ac_cv_header_time=yes
4238  else  else
# Line 4237  ac_cv_header_time=no Line 4242  ac_cv_header_time=no
4242  fi  fi
4243  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4244  fi  fi
4245  echo "$as_me:4240: result: $ac_cv_header_time" >&5  echo "$as_me:4245: result: $ac_cv_header_time" >&5
4246  echo "${ECHO_T}$ac_cv_header_time" >&6  echo "${ECHO_T}$ac_cv_header_time" >&6
4247  if test $ac_cv_header_time = yes; then  if test $ac_cv_header_time = yes; then
4248    
# Line 4247  EOF Line 4252  EOF
4252    
4253  fi  fi
4254    
4255  echo "$as_me:4250: checking for sys_siglist declaration in signal.h or unistd.h" >&5  echo "$as_me:4255: checking for sys_siglist declaration in signal.h or unistd.h" >&5
4256  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
4257  if test "${ac_cv_decl_sys_siglist+set}" = set; then  if test "${ac_cv_decl_sys_siglist+set}" = set; then
4258    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4271  char *msg = *(sys_siglist + 1); Line 4276  char *msg = *(sys_siglist + 1);
4276  }  }
4277  _ACEOF  _ACEOF
4278  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4279  if { (eval echo "$as_me:4274: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4279: \"$ac_compile\"") >&5
4280    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4281    ac_status=$?    ac_status=$?
4282    echo "$as_me:4277: \$? = $ac_status" >&5    echo "$as_me:4282: \$? = $ac_status" >&5
4283    (exit $ac_status); } &&    (exit $ac_status); } &&
4284           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4285    { (eval echo "$as_me:4280: \"$ac_try\"") >&5    { (eval echo "$as_me:4285: \"$ac_try\"") >&5
4286    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4287    ac_status=$?    ac_status=$?
4288    echo "$as_me:4283: \$? = $ac_status" >&5    echo "$as_me:4288: \$? = $ac_status" >&5
4289    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4290    ac_cv_decl_sys_siglist=yes    ac_cv_decl_sys_siglist=yes
4291  else  else
# Line 4290  ac_cv_decl_sys_siglist=no Line 4295  ac_cv_decl_sys_siglist=no
4295  fi  fi
4296  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4297  fi  fi
4298  echo "$as_me:4293: result: $ac_cv_decl_sys_siglist" >&5  echo "$as_me:4298: result: $ac_cv_decl_sys_siglist" >&5
4299  echo "${ECHO_T}$ac_cv_decl_sys_siglist" >&6  echo "${ECHO_T}$ac_cv_decl_sys_siglist" >&6
4300  if test $ac_cv_decl_sys_siglist = yes; then  if test $ac_cv_decl_sys_siglist = yes; then
4301    
# Line 4300  EOF Line 4305  EOF
4305    
4306  fi  fi
4307    
4308  echo "$as_me:4303: checking for sys/wait.h that is POSIX.1 compatible" >&5  echo "$as_me:4308: checking for sys/wait.h that is POSIX.1 compatible" >&5
4309  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
4310  if test "${ac_cv_header_sys_wait_h+set}" = set; then  if test "${ac_cv_header_sys_wait_h+set}" = set; then
4311    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4328  main () Line 4333  main ()
4333  }  }
4334  _ACEOF  _ACEOF
4335  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4336  if { (eval echo "$as_me:4331: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4336: \"$ac_compile\"") >&5
4337    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4338    ac_status=$?    ac_status=$?
4339    echo "$as_me:4334: \$? = $ac_status" >&5    echo "$as_me:4339: \$? = $ac_status" >&5
4340    (exit $ac_status); } &&    (exit $ac_status); } &&
4341           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4342    { (eval echo "$as_me:4337: \"$ac_try\"") >&5    { (eval echo "$as_me:4342: \"$ac_try\"") >&5
4343    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4344    ac_status=$?    ac_status=$?
4345    echo "$as_me:4340: \$? = $ac_status" >&5    echo "$as_me:4345: \$? = $ac_status" >&5
4346    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4347    ac_cv_header_sys_wait_h=yes    ac_cv_header_sys_wait_h=yes
4348  else  else
# Line 4347  ac_cv_header_sys_wait_h=no Line 4352  ac_cv_header_sys_wait_h=no
4352  fi  fi
4353  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4354  fi  fi
4355  echo "$as_me:4350: result: $ac_cv_header_sys_wait_h" >&5  echo "$as_me:4355: result: $ac_cv_header_sys_wait_h" >&5
4356  echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6  echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
4357  if test $ac_cv_header_sys_wait_h = yes; then  if test $ac_cv_header_sys_wait_h = yes; then
4358    
# Line 4357  EOF Line 4362  EOF
4362    
4363  fi  fi
4364    
4365  echo "$as_me:4360: checking for struct utimbuf" >&5  echo "$as_me:4365: checking for struct utimbuf" >&5
4366  echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6  echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6
4367  if test "${emacs_cv_struct_utimbuf+set}" = set; then  if test "${emacs_cv_struct_utimbuf+set}" = set; then
4368    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4387  static struct utimbuf x; x.actime = x.mo Line 4392  static struct utimbuf x; x.actime = x.mo
4392  }  }
4393  _ACEOF  _ACEOF
4394  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4395  if { (eval echo "$as_me:4390: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4395: \"$ac_compile\"") >&5
4396    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4397    ac_status=$?    ac_status=$?
4398    echo "$as_me:4393: \$? = $ac_status" >&5    echo "$as_me:4398: \$? = $ac_status" >&5
4399    (exit $ac_status); } &&    (exit $ac_status); } &&
4400           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4401    { (eval echo "$as_me:4396: \"$ac_try\"") >&5    { (eval echo "$as_me:4401: \"$ac_try\"") >&5
4402    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4403    ac_status=$?    ac_status=$?
4404    echo "$as_me:4399: \$? = $ac_status" >&5    echo "$as_me:4404: \$? = $ac_status" >&5
4405    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4406    emacs_cv_struct_utimbuf=yes    emacs_cv_struct_utimbuf=yes
4407  else  else
# Line 4406  emacs_cv_struct_utimbuf=no Line 4411  emacs_cv_struct_utimbuf=no
4411  fi  fi
4412  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4413  fi  fi
4414  echo "$as_me:4409: result: $emacs_cv_struct_utimbuf" >&5  echo "$as_me:4414: result: $emacs_cv_struct_utimbuf" >&5
4415  echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6  echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6
4416  if test $emacs_cv_struct_utimbuf = yes; then  if test $emacs_cv_struct_utimbuf = yes; then
4417    
# Line 4416  EOF Line 4421  EOF
4421    
4422  fi  fi
4423    
4424  echo "$as_me:4419: checking return type of signal handlers" >&5  echo "$as_me:4424: checking return type of signal handlers" >&5
4425  echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6  echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
4426  if test "${ac_cv_type_signal+set}" = set; then  if test "${ac_cv_type_signal+set}" = set; then
4427    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4444  int i; Line 4449  int i;
4449  }  }
4450  _ACEOF  _ACEOF
4451  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4452  if { (eval echo "$as_me:4447: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4452: \"$ac_compile\"") >&5
4453    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4454    ac_status=$?    ac_status=$?
4455    echo "$as_me:4450: \$? = $ac_status" >&5    echo "$as_me:4455: \$? = $ac_status" >&5
4456    (exit $ac_status); } &&    (exit $ac_status); } &&
4457           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4458    { (eval echo "$as_me:4453: \"$ac_try\"") >&5    { (eval echo "$as_me:4458: \"$ac_try\"") >&5
4459    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4460    ac_status=$?    ac_status=$?
4461    echo "$as_me:4456: \$? = $ac_status" >&5    echo "$as_me:4461: \$? = $ac_status" >&5
4462    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4463    ac_cv_type_signal=void    ac_cv_type_signal=void
4464  else  else
# Line 4463  ac_cv_type_signal=int Line 4468  ac_cv_type_signal=int
4468  fi  fi
4469  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4470  fi  fi
4471  echo "$as_me:4466: result: $ac_cv_type_signal" >&5  echo "$as_me:4471: result: $ac_cv_type_signal" >&5
4472  echo "${ECHO_T}$ac_cv_type_signal" >&6  echo "${ECHO_T}$ac_cv_type_signal" >&6
4473    
4474  cat >>confdefs.h <<EOF  cat >>confdefs.h <<EOF
4475  #define RETSIGTYPE $ac_cv_type_signal  #define RETSIGTYPE $ac_cv_type_signal
4476  EOF  EOF
4477    
4478  echo "$as_me:4473: checking for speed_t" >&5  echo "$as_me:4478: checking for speed_t" >&5
4479  echo $ECHO_N "checking for speed_t... $ECHO_C" >&6  echo $ECHO_N "checking for speed_t... $ECHO_C" >&6
4480  if test "${emacs_cv_speed_t+set}" = set; then  if test "${emacs_cv_speed_t+set}" = set; then
4481    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4488  speed_t x = 1; Line 4493  speed_t x = 1;
4493  }  }
4494  _ACEOF  _ACEOF
4495  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4496  if { (eval echo "$as_me:4491: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4496: \"$ac_compile\"") >&5
4497    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4498    ac_status=$?    ac_status=$?
4499    echo "$as_me:4494: \$? = $ac_status" >&5    echo "$as_me:4499: \$? = $ac_status" >&5
4500    (exit $ac_status); } &&    (exit $ac_status); } &&
4501           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4502    { (eval echo "$as_me:4497: \"$ac_try\"") >&5    { (eval echo "$as_me:4502: \"$ac_try\"") >&5
4503    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4504    ac_status=$?    ac_status=$?
4505    echo "$as_me:4500: \$? = $ac_status" >&5    echo "$as_me:4505: \$? = $ac_status" >&5
4506    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4507    emacs_cv_speed_t=yes    emacs_cv_speed_t=yes
4508  else  else
# Line 4507  emacs_cv_speed_t=no Line 4512  emacs_cv_speed_t=no
4512  fi  fi
4513  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4514  fi  fi
4515  echo "$as_me:4510: result: $emacs_cv_speed_t" >&5  echo "$as_me:4515: result: $emacs_cv_speed_t" >&5
4516  echo "${ECHO_T}$emacs_cv_speed_t" >&6  echo "${ECHO_T}$emacs_cv_speed_t" >&6
4517  if test $emacs_cv_speed_t = yes; then  if test $emacs_cv_speed_t = yes; then
4518    
# Line 4517  EOF Line 4522  EOF
4522    
4523  fi  fi
4524    
4525  echo "$as_me:4520: checking for struct timeval" >&5  echo "$as_me:4525: checking for struct timeval" >&5
4526  echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6  echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6
4527  if test "${emacs_cv_struct_timeval+set}" = set; then  if test "${emacs_cv_struct_timeval+set}" = set; then
4528    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4544  static struct timeval x; x.tv_sec = x.tv Line 4549  static struct timeval x; x.tv_sec = x.tv
4549  }  }
4550  _ACEOF  _ACEOF
4551  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4552  if { (eval echo "$as_me:4547: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4552: \"$ac_compile\"") >&5
4553    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4554    ac_status=$?    ac_status=$?
4555    echo "$as_me:4550: \$? = $ac_status" >&5    echo "$as_me:4555: \$? = $ac_status" >&5
4556    (exit $ac_status); } &&    (exit $ac_status); } &&
4557           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4558    { (eval echo "$as_me:4553: \"$ac_try\"") >&5    { (eval echo "$as_me:4558: \"$ac_try\"") >&5
4559    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4560    ac_status=$?    ac_status=$?
4561    echo "$as_me:4556: \$? = $ac_status" >&5    echo "$as_me:4561: \$? = $ac_status" >&5
4562    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4563    emacs_cv_struct_timeval=yes    emacs_cv_struct_timeval=yes
4564  else  else
# Line 4563  emacs_cv_struct_timeval=no Line 4568  emacs_cv_struct_timeval=no
4568  fi  fi
4569  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4570  fi  fi
4571  echo "$as_me:4566: result: $emacs_cv_struct_timeval" >&5  echo "$as_me:4571: result: $emacs_cv_struct_timeval" >&5
4572  echo "${ECHO_T}$emacs_cv_struct_timeval" >&6  echo "${ECHO_T}$emacs_cv_struct_timeval" >&6
4573  HAVE_TIMEVAL=$emacs_cv_struct_timeval  HAVE_TIMEVAL=$emacs_cv_struct_timeval
4574  if test $emacs_cv_struct_timeval = yes; then  if test $emacs_cv_struct_timeval = yes; then
# Line 4574  EOF Line 4579  EOF
4579    
4580  fi  fi
4581    
4582  echo "$as_me:4577: checking for struct exception" >&5  echo "$as_me:4582: checking for struct exception" >&5
4583  echo $ECHO_N "checking for struct exception... $ECHO_C" >&6  echo $ECHO_N "checking for struct exception... $ECHO_C" >&6
4584  if test "${emacs_cv_struct_exception+set}" = set; then  if test "${emacs_cv_struct_exception+set}" = set; then
4585    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4592  static struct exception x; x.arg1 = x.ar Line 4597  static struct exception x; x.arg1 = x.ar
4597  }  }
4598  _ACEOF  _ACEOF
4599  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4600  if { (eval echo "$as_me:4595: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4600: \"$ac_compile\"") >&5
4601    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4602    ac_status=$?    ac_status=$?
4603    echo "$as_me:4598: \$? = $ac_status" >&5    echo "$as_me:4603: \$? = $ac_status" >&5
4604    (exit $ac_status); } &&    (exit $ac_status); } &&
4605           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4606    { (eval echo "$as_me:4601: \"$ac_try\"") >&5    { (eval echo "$as_me:4606: \"$ac_try\"") >&5
4607    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4608    ac_status=$?    ac_status=$?
4609    echo "$as_me:4604: \$? = $ac_status" >&5    echo "$as_me:4609: \$? = $ac_status" >&5
4610    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4611    emacs_cv_struct_exception=yes    emacs_cv_struct_exception=yes
4612  else  else
# Line 4611  emacs_cv_struct_exception=no Line 4616  emacs_cv_struct_exception=no
4616  fi  fi
4617  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4618  fi  fi
4619  echo "$as_me:4614: result: $emacs_cv_struct_exception" >&5  echo "$as_me:4619: result: $emacs_cv_struct_exception" >&5
4620  echo "${ECHO_T}$emacs_cv_struct_exception" >&6  echo "${ECHO_T}$emacs_cv_struct_exception" >&6
4621  HAVE_EXCEPTION=$emacs_cv_struct_exception  HAVE_EXCEPTION=$emacs_cv_struct_exception
4622  if test $emacs_cv_struct_exception != yes; then  if test $emacs_cv_struct_exception != yes; then
# Line 4622  EOF Line 4627  EOF
4627    
4628  fi  fi
4629    
4630  echo "$as_me:4625: checking whether struct tm is in sys/time.h or time.h" >&5  echo "$as_me:4630: checking whether struct tm is in sys/time.h or time.h" >&5
4631  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
4632  if test "${ac_cv_struct_tm+set}" = set; then  if test "${ac_cv_struct_tm+set}" = set; then
4633    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4642  struct tm *tp; tp->tm_sec; Line 4647  struct tm *tp; tp->tm_sec;
4647  }  }
4648  _ACEOF  _ACEOF
4649  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4650  if { (eval echo "$as_me:4645: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4650: \"$ac_compile\"") >&5
4651    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4652    ac_status=$?    ac_status=$?
4653    echo "$as_me:4648: \$? = $ac_status" >&5    echo "$as_me:4653: \$? = $ac_status" >&5
4654    (exit $ac_status); } &&    (exit $ac_status); } &&
4655           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4656    { (eval echo "$as_me:4651: \"$ac_try\"") >&5    { (eval echo "$as_me:4656: \"$ac_try\"") >&5
4657    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4658    ac_status=$?    ac_status=$?
4659    echo "$as_me:4654: \$? = $ac_status" >&5    echo "$as_me:4659: \$? = $ac_status" >&5
4660    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4661    ac_cv_struct_tm=time.h    ac_cv_struct_tm=time.h
4662  else  else
# Line 4661  ac_cv_struct_tm=sys/time.h Line 4666  ac_cv_struct_tm=sys/time.h
4666  fi  fi
4667  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4668  fi  fi
4669  echo "$as_me:4664: result: $ac_cv_struct_tm" >&5  echo "$as_me:4669: result: $ac_cv_struct_tm" >&5
4670  echo "${ECHO_T}$ac_cv_struct_tm" >&6  echo "${ECHO_T}$ac_cv_struct_tm" >&6
4671  if test $ac_cv_struct_tm = sys/time.h; then  if test $ac_cv_struct_tm = sys/time.h; then
4672    
# Line 4671  EOF Line 4676  EOF
4676    
4677  fi  fi
4678    
4679  echo "$as_me:4674: checking for struct tm.tm_zone" >&5  echo "$as_me:4679: checking for struct tm.tm_zone" >&5
4680  echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6  echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
4681  if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then  if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
4682    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4693  return 0; Line 4698  return 0;
4698  }  }
4699  _ACEOF  _ACEOF
4700  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4701  if { (eval echo "$as_me:4696: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4701: \"$ac_compile\"") >&5
4702    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4703    ac_status=$?    ac_status=$?
4704    echo "$as_me:4699: \$? = $ac_status" >&5    echo "$as_me:4704: \$? = $ac_status" >&5
4705    (exit $ac_status); } &&    (exit $ac_status); } &&
4706           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4707    { (eval echo "$as_me:4702: \"$ac_try\"") >&5    { (eval echo "$as_me:4707: \"$ac_try\"") >&5
4708    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4709    ac_status=$?    ac_status=$?
4710    echo "$as_me:4705: \$? = $ac_status" >&5    echo "$as_me:4710: \$? = $ac_status" >&5
4711    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4712    ac_cv_member_struct_tm_tm_zone=yes    ac_cv_member_struct_tm_tm_zone=yes
4713  else  else
# Line 4712  ac_cv_member_struct_tm_tm_zone=no Line 4717  ac_cv_member_struct_tm_tm_zone=no
4717  fi  fi
4718  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4719  fi  fi
4720  echo "$as_me:4715: result: $ac_cv_member_struct_tm_tm_zone" >&5  echo "$as_me:4720: result: $ac_cv_member_struct_tm_tm_zone" >&5
4721  echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6  echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
4722  if test $ac_cv_member_struct_tm_tm_zone = yes; then  if test $ac_cv_member_struct_tm_tm_zone = yes; then
4723    
# Line 4729  cat >>confdefs.h <<\EOF Line 4734  cat >>confdefs.h <<\EOF
4734  EOF  EOF
4735    
4736  else  else
4737    echo "$as_me:4732: checking for tzname" >&5    echo "$as_me:4737: checking for tzname" >&5
4738  echo $ECHO_N "checking for tzname... $ECHO_C" >&6  echo $ECHO_N "checking for tzname... $ECHO_C" >&6
4739  if test "${ac_cv_var_tzname+set}" = set; then  if test "${ac_cv_var_tzname+set}" = set; then
4740    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4751  atoi(*tzname); Line 4756  atoi(*tzname);
4756  }  }
4757  _ACEOF  _ACEOF
4758  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
4759  if { (eval echo "$as_me:4754: \"$ac_link\"") >&5  if { (eval echo "$as_me:4759: \"$ac_link\"") >&5
4760    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
4761    ac_status=$?    ac_status=$?
4762    echo "$as_me:4757: \$? = $ac_status" >&5    echo "$as_me:4762: \$? = $ac_status" >&5
4763    (exit $ac_status); } &&    (exit $ac_status); } &&
4764           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
4765    { (eval echo "$as_me:4760: \"$ac_try\"") >&5    { (eval echo "$as_me:4765: \"$ac_try\"") >&5
4766    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4767    ac_status=$?    ac_status=$?
4768    echo "$as_me:4763: \$? = $ac_status" >&5    echo "$as_me:4768: \$? = $ac_status" >&5
4769    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4770    ac_cv_var_tzname=yes    ac_cv_var_tzname=yes
4771  else  else
# Line 4770  ac_cv_var_tzname=no Line 4775  ac_cv_var_tzname=no
4775  fi  fi
4776  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4777  fi  fi
4778  echo "$as_me:4773: result: $ac_cv_var_tzname" >&5  echo "$as_me:4778: result: $ac_cv_var_tzname" >&5
4779  echo "${ECHO_T}$ac_cv_var_tzname" >&6  echo "${ECHO_T}$ac_cv_var_tzname" >&6
4780    if test $ac_cv_var_tzname = yes; then    if test $ac_cv_var_tzname = yes; then
4781    
# Line 4781  EOF Line 4786  EOF
4786    fi    fi
4787  fi  fi
4788    
4789  echo "$as_me:4784: checking for struct tm.tm_gmtoff" >&5  echo "$as_me:4789: checking for struct tm.tm_gmtoff" >&5
4790  echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6  echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6
4791  if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then  if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then
4792    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4802  return 0; Line 4807  return 0;
4807  }  }
4808  _ACEOF  _ACEOF
4809  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4810  if { (eval echo "$as_me:4805: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4810: \"$ac_compile\"") >&5
4811    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4812    ac_status=$?    ac_status=$?
4813    echo "$as_me:4808: \$? = $ac_status" >&5    echo "$as_me:4813: \$? = $ac_status" >&5
4814    (exit $ac_status); } &&    (exit $ac_status); } &&
4815           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4816    { (eval echo "$as_me:4811: \"$ac_try\"") >&5    { (eval echo "$as_me:4816: \"$ac_try\"") >&5
4817    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4818    ac_status=$?    ac_status=$?
4819    echo "$as_me:4814: \$? = $ac_status" >&5    echo "$as_me:4819: \$? = $ac_status" >&5
4820    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4821    ac_cv_member_struct_tm_tm_gmtoff=yes    ac_cv_member_struct_tm_tm_gmtoff=yes
4822  else  else
# Line 4821  ac_cv_member_struct_tm_tm_gmtoff=no Line 4826  ac_cv_member_struct_tm_tm_gmtoff=no
4826  fi  fi
4827  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4828  fi  fi
4829  echo "$as_me:4824: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5  echo "$as_me:4829: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
4830  echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6  echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6
4831  if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then  if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
4832    
# Line 4831  EOF Line 4836  EOF
4836    
4837  fi  fi
4838    
4839  echo "$as_me:4834: checking for $CC option to accept ANSI C" >&5  echo "$as_me:4839: checking for $CC option to accept ANSI C" >&5
4840  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
4841  if test "${ac_cv_prog_cc_stdc+set}" = set; then  if test "${ac_cv_prog_cc_stdc+set}" = set; then
4842    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4888  for ac_arg in "" -qlanglvl=ansi -std1 -A Line 4893  for ac_arg in "" -qlanglvl=ansi -std1 -A
4893  do  do
4894    CC="$ac_save_CC $ac_arg"    CC="$ac_save_CC $ac_arg"
4895    rm -f conftest.$ac_objext    rm -f conftest.$ac_objext
4896  if { (eval echo "$as_me:4891: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4896: \"$ac_compile\"") >&5
4897    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4898    ac_status=$?    ac_status=$?
4899    echo "$as_me:4894: \$? = $ac_status" >&5    echo "$as_me:4899: \$? = $ac_status" >&5
4900    (exit $ac_status); } &&    (exit $ac_status); } &&
4901           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4902    { (eval echo "$as_me:4897: \"$ac_try\"") >&5    { (eval echo "$as_me:4902: \"$ac_try\"") >&5
4903    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4904    ac_status=$?    ac_status=$?
4905    echo "$as_me:4900: \$? = $ac_status" >&5    echo "$as_me:4905: \$? = $ac_status" >&5
4906    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4907    ac_cv_prog_cc_stdc=$ac_arg    ac_cv_prog_cc_stdc=$ac_arg
4908  break  break
# Line 4914  fi Line 4919  fi
4919    
4920  case "x$ac_cv_prog_cc_stdc" in  case "x$ac_cv_prog_cc_stdc" in
4921    x|xno)    x|xno)
4922      echo "$as_me:4917: result: none needed" >&5      echo "$as_me:4922: result: none needed" >&5
4923  echo "${ECHO_T}none needed" >&6 ;;  echo "${ECHO_T}none needed" >&6 ;;
4924    *)    *)
4925      echo "$as_me:4920: result: $ac_cv_prog_cc_stdc" >&5      echo "$as_me:4925: result: $ac_cv_prog_cc_stdc" >&5
4926  echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6  echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4927      CC="$CC $ac_cv_prog_cc_stdc" ;;      CC="$CC $ac_cv_prog_cc_stdc" ;;
4928  esac  esac
4929    
4930  echo "$as_me:4925: checking for function prototypes" >&5  echo "$as_me:4930: checking for function prototypes" >&5
4931  echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6  echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
4932  if test "$ac_cv_prog_cc_stdc" != no; then  if test "$ac_cv_prog_cc_stdc" != no; then
4933    echo "$as_me:4928: result: yes" >&5    echo "$as_me:4933: result: yes" >&5
4934  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
4935    
4936  cat >>confdefs.h <<\EOF  cat >>confdefs.h <<\EOF
# Line 4933  cat >>confdefs.h <<\EOF Line 4938  cat >>confdefs.h <<\EOF
4938  EOF  EOF
4939    
4940  else  else
4941    echo "$as_me:4936: result: no" >&5    echo "$as_me:4941: result: no" >&5
4942  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
4943  fi  fi
4944    
4945  echo "$as_me:4940: checking for working volatile" >&5  echo "$as_me:4945: checking for working volatile" >&5
4946  echo $ECHO_N "checking for working volatile... $ECHO_C" >&6  echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
4947  if test "${ac_cv_c_volatile+set}" = set; then  if test "${ac_cv_c_volatile+set}" = set; then
4948    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4957  int * volatile y; Line 4962  int * volatile y;
4962  }  }
4963  _ACEOF  _ACEOF
4964  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4965  if { (eval echo "$as_me:4960: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4965: \"$ac_compile\"") >&5
4966    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4967    ac_status=$?    ac_status=$?
4968    echo "$as_me:4963: \$? = $ac_status" >&5    echo "$as_me:4968: \$? = $ac_status" >&5
4969    (exit $ac_status); } &&    (exit $ac_status); } &&
4970           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4971    { (eval echo "$as_me:4966: \"$ac_try\"") >&5    { (eval echo "$as_me:4971: \"$ac_try\"") >&5
4972    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4973    ac_status=$?    ac_status=$?
4974    echo "$as_me:4969: \$? = $ac_status" >&5    echo "$as_me:4974: \$? = $ac_status" >&5
4975    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4976    ac_cv_c_volatile=yes    ac_cv_c_volatile=yes
4977  else  else
# Line 4976  ac_cv_c_volatile=no Line 4981  ac_cv_c_volatile=no
4981  fi  fi
4982  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4983  fi  fi
4984  echo "$as_me:4979: result: $ac_cv_c_volatile" >&5  echo "$as_me:4984: result: $ac_cv_c_volatile" >&5
4985  echo "${ECHO_T}$ac_cv_c_volatile" >&6  echo "${ECHO_T}$ac_cv_c_volatile" >&6
4986  if test $ac_cv_c_volatile = no; then  if test $ac_cv_c_volatile = no; then
4987    
# Line 4986  EOF Line 4991  EOF
4991    
4992  fi  fi
4993    
4994  echo "$as_me:4989: checking for an ANSI C-conforming const" >&5  echo "$as_me:4994: checking for an ANSI C-conforming const" >&5
4995  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
4996  if test "${ac_cv_c_const+set}" = set; then  if test "${ac_cv_c_const+set}" = set; then
4997    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5050  main () Line 5055  main ()
5055  }  }
5056  _ACEOF  _ACEOF
5057  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
5058  if { (eval echo "$as_me:5053: \"$ac_compile\"") >&5  if { (eval echo "$as_me:5058: \"$ac_compile\"") >&5
5059    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
5060    ac_status=$?    ac_status=$?
5061    echo "$as_me:5056: \$? = $ac_status" >&5    echo "$as_me:5061: \$? = $ac_status" >&5
5062    (exit $ac_status); } &&    (exit $ac_status); } &&
5063           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
5064    { (eval echo "$as_me:5059: \"$ac_try\"") >&5    { (eval echo "$as_me:5064: \"$ac_try\"") >&5
5065    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5066    ac_status=$?    ac_status=$?
5067    echo "$as_me:5062: \$? = $ac_status" >&5    echo "$as_me:5067: \$? = $ac_status" >&5
5068    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5069    ac_cv_c_const=yes    ac_cv_c_const=yes
5070  else  else
# Line 5069  ac_cv_c_const=no Line 5074  ac_cv_c_const=no
5074  fi  fi
5075  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
5076  fi  fi
5077  echo "$as_me:5072: result: $ac_cv_c_const" >&5  echo "$as_me:5077: result: $ac_cv_c_const" >&5
5078  echo "${ECHO_T}$ac_cv_c_const" >&6  echo "${ECHO_T}$ac_cv_c_const" >&6
5079  if test $ac_cv_c_const = no; then  if test $ac_cv_c_const = no; then
5080    
# Line 5079  EOF Line 5084  EOF
5084    
5085  fi  fi
5086    
5087  echo "$as_me:5082: checking for void * support" >&5  echo "$as_me:5087: checking for void * support" >&5
5088  echo $ECHO_N "checking for void * support... $ECHO_C" >&6  echo $ECHO_N "checking for void * support... $ECHO_C" >&6
5089  if test "${emacs_cv_void_star+set}" = set; then  if test "${emacs_cv_void_star+set}" = set; then
5090    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5097  void * foo; Line 5102  void * foo;
5102  }  }
5103  _ACEOF  _ACEOF
5104  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
5105  if { (eval echo "$as_me:5100: \"$ac_compile\"") >&5  if { (eval echo "$as_me:5105: \"$ac_compile\"") >&5
5106    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
5107    ac_status=$?    ac_status=$?
5108    echo "$as_me:5103: \$? = $ac_status" >&5    echo "$as_me:5108: \$? = $ac_status" >&5
5109    (exit $ac_status); } &&    (exit $ac_status); } &&
5110           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
5111    { (eval echo "$as_me:5106: \"$ac_try\"") >&5    { (eval echo "$as_me:5111: \"$ac_try\"") >&5
5112    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5113    ac_status=$?    ac_status=$?
5114    echo "$as_me:5109: \$? = $ac_status" >&5    echo "$as_me:5114: \$? = $ac_status" >&5
5115    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5116    emacs_cv_void_star=yes    emacs_cv_void_star=yes
5117  else  else
# Line 5116  emacs_cv_void_star=no Line 5121  emacs_cv_void_star=no
5121  fi  fi
5122  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
5123  fi  fi
5124  echo "$as_me:5119: result: $emacs_cv_void_star" >&5  echo "$as_me:5124: result: $emacs_cv_void_star" >&5
5125  echo "${ECHO_T}$emacs_cv_void_star" >&6  echo "${ECHO_T}$emacs_cv_void_star" >&6
5126  if test $emacs_cv_void_star = yes; then  if test $emacs_cv_void_star = yes; then
5127    cat >>confdefs.h <<\EOF    cat >>confdefs.h <<\EOF
# Line 5130  EOF Line 5135  EOF
5135    
5136  fi  fi
5137    
5138  echo "$as_me:5133: checking whether ${MAKE-make} sets \${MAKE}" >&5  echo "$as_me:5138: checking whether ${MAKE-make} sets \${MAKE}" >&5
5139  echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6  echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
5140  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
5141  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 5150  fi Line 5155  fi
5155  rm -f conftest.make  rm -f conftest.make
5156  fi  fi
5157  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
5158    echo "$as_me:5153: result: yes" >&5    echo "$as_me:5158: result: yes" >&5
5159  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
5160    SET_MAKE=    SET_MAKE=
5161  else  else
5162    echo "$as_me:5157: result: no" >&5    echo "$as_me:5162: result: no" >&5
5163  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
5164    SET_MAKE="MAKE=${MAKE-make}"    SET_MAKE="MAKE=${MAKE-make}"
5165  fi  fi
5166    
5167  echo "$as_me:5162: checking for long file names" >&5  echo "$as_me:5167: checking for long file names" >&5
5168  echo $ECHO_N "checking for long file names... $ECHO_C" >&6  echo $ECHO_N "checking for long file names... $ECHO_C" >&6
5169  if test "${ac_cv_sys_long_file_names+set}" = set; then  if test "${ac_cv_sys_long_file_names+set}" = set; then
5170    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5198  for ac_dir in  . $ac_tmpdirs `eval echo Line 5203  for ac_dir in  . $ac_tmpdirs `eval echo
5203    rm -rf $ac_xdir 2>/dev/null    rm -rf $ac_xdir 2>/dev/null
5204  done  done
5205  fi  fi
5206  echo "$as_me:5201: result: $ac_cv_sys_long_file_names" >&5  echo "$as_me:5206: result: $ac_cv_sys_long_file_names" >&5
5207  echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6  echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6
5208  if test $ac_cv_sys_long_file_names = yes; then  if test $ac_cv_sys_long_file_names = yes; then
5209    
# Line 5210  fi Line 5215  fi
5215    
5216  #### Choose a window system.  #### Choose a window system.
5217    
5218  echo "$as_me:5213: checking for X" >&5  echo "$as_me:5218: checking for X" >&5
5219  echo $ECHO_N "checking for X... $ECHO_C" >&6  echo $ECHO_N "checking for X... $ECHO_C" >&6
5220    
5221  # Check whether --with-x or --without-x was given.  # Check whether --with-x or --without-x was given.
# Line 5311  if test "$ac_x_includes" = no; then Line 5316  if test "$ac_x_includes" = no; then
5316  #include "confdefs.h"  #include "confdefs.h"
5317  #include <X11/Intrinsic.h>  #include <X11/Intrinsic.h>
5318  _ACEOF  _ACEOF
5319  if { (eval echo "$as_me:5314: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:5319: \"$ac_cpp conftest.$ac_ext\"") >&5
5320    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5321    ac_status=$?    ac_status=$?
5322    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
5323    rm -f conftest.er1    rm -f conftest.er1
5324    cat conftest.err >&5    cat conftest.err >&5
5325    echo "$as_me:5320: \$? = $ac_status" >&5    echo "$as_me:5325: \$? = $ac_status" >&5
5326    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
5327    if test -s conftest.err; then    if test -s conftest.err; then
5328      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 5362  XtMalloc (0) Line 5367  XtMalloc (0)
5367  }  }
5368  _ACEOF  _ACEOF
5369  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
5370  if { (eval echo "$as_me:5365: \"$ac_link\"") >&5  if { (eval echo "$as_me:5370: \"$ac_link\"") >&5
5371    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
5372    ac_status=$?    ac_status=$?
5373    echo "$as_me:5368: \$? = $ac_status" >&5    echo "$as_me:5373: \$? = $ac_status" >&5
5374    (exit $ac_status); } &&    (exit $ac_status); } &&
5375           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
5376    { (eval echo "$as_me:5371: \"$ac_try\"") >&5    { (eval echo "$as_me:5376: \"$ac_try\"") >&5
5377    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5378    ac_status=$?    ac_status=$?
5379    echo "$as_me:5374: \$? = $ac_status" >&5    echo "$as_me:5379: \$? = $ac_status" >&5
5380    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5381    LIBS=$ac_save_LIBS    LIBS=$ac_save_LIBS
5382  # We can link X programs with no special library path.  # We can link X programs with no special library path.
# Line 5409  fi Line 5414  fi
5414  fi # $with_x != no  fi # $with_x != no
5415    
5416  if test "$have_x" != yes; then  if test "$have_x" != yes; then
5417    echo "$as_me:5412: result: $have_x" >&5    echo "$as_me:5417: result: $have_x" >&5
5418  echo "${ECHO_T}$have_x" >&6  echo "${ECHO_T}$have_x" >&6
5419    no_x=yes    no_x=yes
5420  else  else
# Line 5419  else Line 5424  else
5424    # Update the cache value to reflect the command line values.    # Update the cache value to reflect the command line values.
5425    ac_cv_have_x="have_x=yes \    ac_cv_have_x="have_x=yes \
5426                  ac_x_includes=$x_includes ac_x_libraries=$x_libraries"                  ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
5427    echo "$as_me:5422: result: libraries $x_libraries, headers $x_includes" >&5    echo "$as_me:5427: result: libraries $x_libraries, headers $x_includes" >&5
5428  echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6  echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
5429  fi  fi
5430    
# Line 5517  UNEXEC_SRC="`echo ${unexec} | sed 's/\.o Line 5522  UNEXEC_SRC="`echo ${unexec} | sed 's/\.o
5522  # Assume not, until told otherwise.  # Assume not, until told otherwise.
5523  GNU_MALLOC=yes  GNU_MALLOC=yes
5524  doug_lea_malloc=yes  doug_lea_malloc=yes
5525  echo "$as_me:5520: checking for malloc_get_state" >&5  echo "$as_me:5525: checking for malloc_get_state" >&5
5526  echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6  echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6
5527  if test "${ac_cv_func_malloc_get_state+set}" = set; then  if test "${ac_cv_func_malloc_get_state+set}" = set; then
5528    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5554  f = malloc_get_state; Line 5559  f = malloc_get_state;
5559  }  }
5560  _ACEOF  _ACEOF
5561  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
5562  if { (eval echo "$as_me:5557: \"$ac_link\"") >&5  if { (eval echo "$as_me:5562: \"$ac_link\"") >&5
5563    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
5564    ac_status=$?    ac_status=$?
5565    echo "$as_me:5560: \$? = $ac_status" >&5    echo "$as_me:5565: \$? = $ac_status" >&5
5566    (exit $ac_status); } &&    (exit $ac_status); } &&
5567           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
5568    { (eval echo "$as_me:5563: \"$ac_try\"") >&5    { (eval echo "$as_me:5568: \"$ac_try\"") >&5
5569    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5570    ac_status=$?    ac_status=$?
5571    echo "$as_me:5566: \$? = $ac_status" >&5    echo "$as_me:5571: \$? = $ac_status" >&5
5572    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5573    ac_cv_func_malloc_get_state=yes    ac_cv_func_malloc_get_state=yes
5574  else  else
# Line 5573  ac_cv_func_malloc_get_state=no Line 5578  ac_cv_func_malloc_get_state=no
5578  fi  fi
5579  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5580  fi  fi
5581  echo "$as_me:5576: result: $ac_cv_func_malloc_get_state" >&5  echo "$as_me:5581: result: $ac_cv_func_malloc_get_state" >&5
5582  echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6  echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6
5583  if test $ac_cv_func_malloc_get_state = yes; then  if test $ac_cv_func_malloc_get_state = yes; then
5584    :    :
# Line 5581  else Line 5586  else
5586    doug_lea_malloc=no    doug_lea_malloc=no
5587  fi  fi
5588    
5589  echo "$as_me:5584: checking for malloc_set_state" >&5  echo "$as_me:5589: checking for malloc_set_state" >&5
5590  echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6  echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6
5591  if test "${ac_cv_func_malloc_set_state+set}" = set; then  if test "${ac_cv_func_malloc_set_state+set}" = set; then
5592    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5618  f = malloc_set_state; Line 5623  f = malloc_set_state;
5623  }  }
5624  _ACEOF  _ACEOF
5625  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
5626  if { (eval echo "$as_me:5621: \"$ac_link\"") >&5  if { (eval echo "$as_me:5626: \"$ac_link\"") >&5
5627    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
5628    ac_status=$?    ac_status=$?
5629    echo "$as_me:5624: \$? = $ac_status" >&5    echo "$as_me:5629: \$? = $ac_status" >&5
5630    (exit $ac_status); } &&    (exit $ac_status); } &&
5631           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
5632    { (eval echo "$as_me:5627: \"$ac_try\"") >&5    { (eval echo "$as_me:5632: \"$ac_try\"") >&5
5633    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5634    ac_status=$?    ac_status=$?
5635    echo "$as_me:5630: \$? = $ac_status" >&5    echo "$as_me:5635: \$? = $ac_status" >&5
5636    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5637    ac_cv_func_malloc_set_state=yes    ac_cv_func_malloc_set_state=yes
5638  else  else
# Line 5637  ac_cv_func_malloc_set_state=no Line 5642  ac_cv_func_malloc_set_state=no
5642  fi  fi
5643  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5644  fi  fi
5645  echo "$as_me:5640: result: $ac_cv_func_malloc_set_state" >&5  echo "$as_me:5645: result: $ac_cv_func_malloc_set_state" >&5
5646  echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6  echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6
5647  if test $ac_cv_func_malloc_set_state = yes; then  if test $ac_cv_func_malloc_set_state = yes; then
5648    :    :
# Line 5645  else Line 5650  else
5650    doug_lea_malloc=no    doug_lea_malloc=no
5651  fi  fi
5652    
5653  echo "$as_me:5648: checking whether __after_morecore_hook exists" >&5  echo "$as_me:5653: checking whether __after_morecore_hook exists" >&5
5654  echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6  echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6
5655  if test "${emacs_cv_var___after_morecore_hook+set}" = set; then  if test "${emacs_cv_var___after_morecore_hook+set}" = set; then
5656    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5663  __after_morecore_hook = 0 Line 5668  __after_morecore_hook = 0
5668  }  }
5669  _ACEOF  _ACEOF
5670  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
5671  if { (eval echo "$as_me:5666: \"$ac_link\"") >&5  if { (eval echo "$as_me:5671: \"$ac_link\"") >&5
5672    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
5673    ac_status=$?    ac_status=$?
5674    echo "$as_me:5669: \$? = $ac_status" >&5    echo "$as_me:5674: \$? = $ac_status" >&5
5675    (exit $ac_status); } &&    (exit $ac_status); } &&
5676           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
5677    { (eval echo "$as_me:5672: \"$ac_try\"") >&5    { (eval echo "$as_me:5677: \"$ac_try\"") >&5
5678    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5679    ac_status=$?    ac_status=$?
5680    echo "$as_me:5675: \$? = $ac_status" >&5    echo "$as_me:5680: \$? = $ac_status" >&5
5681    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5682    emacs_cv_var___after_morecore_hook=yes    emacs_cv_var___after_morecore_hook=yes
5683  else  else
# Line 5682  emacs_cv_var___after_morecore_hook=no Line 5687  emacs_cv_var___after_morecore_hook=no
5687  fi  fi
5688  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5689  fi  fi
5690  echo "$as_me:5685: result: $emacs_cv_var___after_morecore_hook" >&5  echo "$as_me:5690: result: $emacs_cv_var___after_morecore_hook" >&5
5691  echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6  echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6
5692  if test $emacs_cv_var___after_morecore_hook = no; then  if test $emacs_cv_var___after_morecore_hook = no; then
5693    doug_lea_malloc=no    doug_lea_malloc=no
# Line 5714  for ac_header in sys/types.h sys/stat.h Line 5719  for ac_header in sys/types.h sys/stat.h
5719                    inttypes.h stdint.h unistd.h                    inttypes.h stdint.h unistd.h
5720  do  do
5721  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5722  echo "$as_me:5717: checking for $ac_header" >&5  echo "$as_me:5722: checking for $ac_header" >&5
5723  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5724  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
5725    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5726  $ac_includes_default Line 5731  $ac_includes_default
5731  #include <$ac_header>  #include <$ac_header>
5732  _ACEOF  _ACEOF
5733  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
5734  if { (eval echo "$as_me:5729: \"$ac_compile\"") >&5  if { (eval echo "$as_me:5734: \"$ac_compile\"") >&5
5735    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
5736    ac_status=$?    ac_status=$?
5737    echo "$as_me:5732: \$? = $ac_status" >&5    echo "$as_me:5737: \$? = $ac_status" >&5
5738    (exit $ac_status); } &&    (exit $ac_status); } &&
5739           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
5740    { (eval echo "$as_me:5735: \"$ac_try\"") >&5    { (eval echo "$as_me:5740: \"$ac_try\"") >&5
5741    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5742    ac_status=$?    ac_status=$?
5743    echo "$as_me:5738: \$? = $ac_status" >&5    echo "$as_me:5743: \$? = $ac_status" >&5
5744    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5745    eval "$as_ac_Header=yes"    eval "$as_ac_Header=yes"
5746  else  else
# Line 5745  eval "$as_ac_Header=no" Line 5750  eval "$as_ac_Header=no"
5750  fi  fi
5751  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
5752  fi  fi
5753  echo "$as_me:5748: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:5753: result: `eval echo '${'$as_ac_Header'}'`" >&5
5754  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5755  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
5756    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 5758  done Line 5763  done
5763  for ac_header in stdlib.h unistd.h  for ac_header in stdlib.h unistd.h
5764  do  do
5765  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5766  echo "$as_me:5761: checking for $ac_header" >&5  echo "$as_me:5766: checking for $ac_header" >&5
5767  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5768  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
5769    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5768  else Line 5773  else
5773  #include "confdefs.h"  #include "confdefs.h"
5774  #include <$ac_header>  #include <$ac_header>
5775  _ACEOF  _ACEOF
5776  if { (eval echo "$as_me:5771: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:5776: \"$ac_cpp conftest.$ac_ext\"") >&5
5777    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5778    ac_status=$?    ac_status=$?
5779    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
5780    rm -f conftest.er1    rm -f conftest.er1
5781    cat conftest.err >&5    cat conftest.err >&5
5782    echo "$as_me:5777: \$? = $ac_status" >&5    echo "$as_me:5782: \$? = $ac_status" >&5
5783    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
5784    if test -s conftest.err; then    if test -s conftest.err; then
5785      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 5793  else Line 5798  else
5798  fi  fi
5799  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
5800  fi  fi
5801  echo "$as_me:5796: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:5801: result: `eval echo '${'$as_ac_Header'}'`" >&5
5802  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5803  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
5804    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 5806  done Line 5811  done
5811  for ac_func in getpagesize  for ac_func in getpagesize
5812  do  do
5813  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5814  echo "$as_me:5809: checking for $ac_func" >&5  echo "$as_me:5814: checking for $ac_func" >&5
5815  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5816  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
5817    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5843  f = $ac_func; Line 5848  f = $ac_func;
5848  }  }
5849  _ACEOF  _ACEOF
5850  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
5851  if { (eval echo "$as_me:5846: \"$ac_link\"") >&5  if { (eval echo "$as_me:5851: \"$ac_link\"") >&5
5852    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
5853    ac_status=$?    ac_status=$?
5854    echo "$as_me:5849: \$? = $ac_status" >&5    echo "$as_me:5854: \$? = $ac_status" >&5
5855    (exit $ac_status); } &&    (exit $ac_status); } &&
5856           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
5857    { (eval echo "$as_me:5852: \"$ac_try\"") >&5    { (eval echo "$as_me:5857: \"$ac_try\"") >&5
5858    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5859    ac_status=$?    ac_status=$?
5860    echo "$as_me:5855: \$? = $ac_status" >&5    echo "$as_me:5860: \$? = $ac_status" >&5
5861    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5862    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
5863  else  else
# Line 5862  eval "$as_ac_var=no" Line 5867  eval "$as_ac_var=no"
5867  fi  fi
5868  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5869  fi  fi
5870  echo "$as_me:5865: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:5870: result: `eval echo '${'$as_ac_var'}'`" >&5
5871  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5872  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
5873    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 5872  EOF Line 5877  EOF
5877  fi  fi
5878  done  done
5879    
5880  echo "$as_me:5875: checking for working mmap" >&5  echo "$as_me:5880: checking for working mmap" >&5
5881  echo $ECHO_N "checking for working mmap... $ECHO_C" >&6  echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
5882  if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then  if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
5883    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6008  main () Line 6013  main ()
6013  }  }
6014  _ACEOF  _ACEOF
6015  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
6016  if { (eval echo "$as_me:6011: \"$ac_link\"") >&5  if { (eval echo "$as_me:6016: \"$ac_link\"") >&5
6017    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6018    ac_status=$?    ac_status=$?
6019    echo "$as_me:6014: \$? = $ac_status" >&5    echo "$as_me:6019: \$? = $ac_status" >&5
6020    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6021    { (eval echo "$as_me:6016: \"$ac_try\"") >&5    { (eval echo "$as_me:6021: \"$ac_try\"") >&5
6022    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6023    ac_status=$?    ac_status=$?
6024    echo "$as_me:6019: \$? = $ac_status" >&5    echo "$as_me:6024: \$? = $ac_status" >&5
6025    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6026    ac_cv_func_mmap_fixed_mapped=yes    ac_cv_func_mmap_fixed_mapped=yes
6027  else  else
# Line 6028  fi Line 6033  fi
6033  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
6034  fi  fi
6035  fi  fi
6036  echo "$as_me:6031: result: $ac_cv_func_mmap_fixed_mapped" >&5  echo "$as_me:6036: result: $ac_cv_func_mmap_fixed_mapped" >&5
6037  echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6  echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
6038  if test $ac_cv_func_mmap_fixed_mapped = yes; then  if test $ac_cv_func_mmap_fixed_mapped = yes; then
6039    
# Line 6045  fi Line 6050  fi
6050    
6051  LIBS="$libsrc_libs $LIBS"  LIBS="$libsrc_libs $LIBS"
6052    
6053  echo "$as_me:6048: checking for dnet_ntoa in -ldnet" >&5  echo "$as_me:6053: checking for dnet_ntoa in -ldnet" >&5
6054  echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6  echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
6055  if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then  if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
6056    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6072  dnet_ntoa (); Line 6077  dnet_ntoa ();
6077  }  }
6078  _ACEOF  _ACEOF
6079  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6080  if { (eval echo "$as_me:6075: \"$ac_link\"") >&5  if { (eval echo "$as_me:6080: \"$ac_link\"") >&5
6081    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6082    ac_status=$?    ac_status=$?
6083    echo "$as_me:6078: \$? = $ac_status" >&5    echo "$as_me:6083: \$? = $ac_status" >&5
6084    (exit $ac_status); } &&    (exit $ac_status); } &&
6085           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6086    { (eval echo "$as_me:6081: \"$ac_try\"") >&5    { (eval echo "$as_me:6086: \"$ac_try\"") >&5
6087    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6088    ac_status=$?    ac_status=$?
6089    echo "$as_me:6084: \$? = $ac_status" >&5    echo "$as_me:6089: \$? = $ac_status" >&5
6090    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6091    ac_cv_lib_dnet_dnet_ntoa=yes    ac_cv_lib_dnet_dnet_ntoa=yes
6092  else  else
# Line 6092  fi Line 6097  fi
6097  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6098  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
6099  fi  fi
6100  echo "$as_me:6095: result: $ac_cv_lib_dnet_dnet_ntoa" >&5  echo "$as_me:6100: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
6101  echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6  echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
6102  if test $ac_cv_lib_dnet_dnet_ntoa = yes; then  if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
6103    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 6103  EOF Line 6108  EOF
6108    
6109  fi  fi
6110    
6111  echo "$as_me:6106: checking for main in -lXbsd" >&5  echo "$as_me:6111: checking for main in -lXbsd" >&5
6112  echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6  echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6
6113  if test "${ac_cv_lib_Xbsd_main+set}" = set; then  if test "${ac_cv_lib_Xbsd_main+set}" = set; then
6114    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6123  main (); Line 6128  main ();
6128  }  }
6129  _ACEOF  _ACEOF
6130  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6131  if { (eval echo "$as_me:6126: \"$ac_link\"") >&5  if { (eval echo "$as_me:6131: \"$ac_link\"") >&5
6132    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6133    ac_status=$?    ac_status=$?
6134    echo "$as_me:6129: \$? = $ac_status" >&5    echo "$as_me:6134: \$? = $ac_status" >&5
6135    (exit $ac_status); } &&    (exit $ac_status); } &&
6136           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6137    { (eval echo "$as_me:6132: \"$ac_try\"") >&5    { (eval echo "$as_me:6137: \"$ac_try\"") >&5
6138    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6139    ac_status=$?    ac_status=$?
6140    echo "$as_me:6135: \$? = $ac_status" >&5    echo "$as_me:6140: \$? = $ac_status" >&5
6141    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6142    ac_cv_lib_Xbsd_main=yes    ac_cv_lib_Xbsd_main=yes
6143  else  else
# Line 6143  fi Line 6148  fi
6148  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6149  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
6150  fi  fi
6151  echo "$as_me:6146: result: $ac_cv_lib_Xbsd_main" >&5  echo "$as_me:6151: result: $ac_cv_lib_Xbsd_main" >&5
6152  echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6  echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6
6153  if test $ac_cv_lib_Xbsd_main = yes; then  if test $ac_cv_lib_Xbsd_main = yes; then
6154    LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd"    LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd"
6155  fi  fi
6156    
6157  echo "$as_me:6152: checking for cma_open in -lpthreads" >&5  echo "$as_me:6157: checking for cma_open in -lpthreads" >&5
6158  echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6  echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6
6159  if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then  if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then
6160    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6176  cma_open (); Line 6181  cma_open ();
6181  }  }
6182  _ACEOF  _ACEOF
6183  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6184  if { (eval echo "$as_me:6179: \"$ac_link\"") >&5  if { (eval echo "$as_me:6184: \"$ac_link\"") >&5
6185    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6186    ac_status=$?    ac_status=$?
6187    echo "$as_me:6182: \$? = $ac_status" >&5    echo "$as_me:6187: \$? = $ac_status" >&5
6188    (exit $ac_status); } &&    (exit $ac_status); } &&
6189           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6190    { (eval echo "$as_me:6185: \"$ac_try\"") >&5    { (eval echo "$as_me:6190: \"$ac_try\"") >&5
6191    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6192    ac_status=$?    ac_status=$?
6193    echo "$as_me:6188: \$? = $ac_status" >&5    echo "$as_me:6193: \$? = $ac_status" >&5
6194    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6195    ac_cv_lib_pthreads_cma_open=yes    ac_cv_lib_pthreads_cma_open=yes
6196  else  else
# Line 6196  fi Line 6201  fi
6201  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6202  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
6203  fi  fi
6204  echo "$as_me:6199: result: $ac_cv_lib_pthreads_cma_open" >&5  echo "$as_me:6204: result: $ac_cv_lib_pthreads_cma_open" >&5
6205  echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6  echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6
6206  if test $ac_cv_lib_pthreads_cma_open = yes; then  if test $ac_cv_lib_pthreads_cma_open = yes; then
6207    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 6207  EOF Line 6212  EOF
6212    
6213  fi  fi
6214    
6215  echo "$as_me:6210: checking for XFree86 in /usr/X386" >&5  echo "$as_me:6215: checking for XFree86 in /usr/X386" >&5
6216  echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6  echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6
6217  if test -d /usr/X386/include; then  if test -d /usr/X386/include; then
6218    HAVE_XFREE386=yes    HAVE_XFREE386=yes
# Line 6215  if test -d /usr/X386/include; then Line 6220  if test -d /usr/X386/include; then
6220  else  else
6221    HAVE_XFREE386=no    HAVE_XFREE386=no
6222  fi  fi
6223  echo "$as_me:6218: result: $HAVE_XFREE386" >&5  echo "$as_me:6223: result: $HAVE_XFREE386" >&5
6224  echo "${ECHO_T}$HAVE_XFREE386" >&6  echo "${ECHO_T}$HAVE_XFREE386" >&6
6225    
6226  # Change CFLAGS temporarily so that C_SWITCH_X_SITE gets used  # Change CFLAGS temporarily so that C_SWITCH_X_SITE gets used
# Line 6240  if test "${HAVE_X11}" = "yes"; then Line 6245  if test "${HAVE_X11}" = "yes"; then
6245    fi    fi
6246    
6247    if test "${opsys}" = "gnu-linux"; then    if test "${opsys}" = "gnu-linux"; then
6248      echo "$as_me:6243: checking whether X on GNU/Linux needs -b to link" >&5      echo "$as_me:6248: checking whether X on GNU/Linux needs -b to link" >&5
6249  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
6250      cat >conftest.$ac_ext <<_ACEOF      cat >conftest.$ac_ext <<_ACEOF
6251  #line 6246 "configure"  #line 6246 "configure"
# Line 6255  XOpenDisplay ("foo"); Line 6260  XOpenDisplay ("foo");
6260  }  }
6261  _ACEOF  _ACEOF
6262  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6263  if { (eval echo "$as_me:6258: \"$ac_link\"") >&5  if { (eval echo "$as_me:6263: \"$ac_link\"") >&5
6264    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6265    ac_status=$?    ac_status=$?
6266    echo "$as_me:6261: \$? = $ac_status" >&5    echo "$as_me:6266: \$? = $ac_status" >&5
6267    (exit $ac_status); } &&    (exit $ac_status); } &&
6268           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6269    { (eval echo "$as_me:6264: \"$ac_try\"") >&5    { (eval echo "$as_me:6269: \"$ac_try\"") >&5
6270    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6271    ac_status=$?    ac_status=$?
6272    echo "$as_me:6267: \$? = $ac_status" >&5    echo "$as_me:6272: \$? = $ac_status" >&5
6273    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6274    xlinux_first_failure=no    xlinux_first_failure=no
6275  else  else
# Line 6295  XOpenDisplay ("foo"); Line 6300  XOpenDisplay ("foo");
6300  }  }
6301  _ACEOF  _ACEOF
6302  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6303  if { (eval echo "$as_me:6298: \"$ac_link\"") >&5  if { (eval echo "$as_me:6303: \"$ac_link\"") >&5
6304    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6305    ac_status=$?    ac_status=$?
6306    echo "$as_me:6301: \$? = $ac_status" >&5    echo "$as_me:6306: \$? = $ac_status" >&5
6307    (exit $ac_status); } &&    (exit $ac_status); } &&
6308           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6309    { (eval echo "$as_me:6304: \"$ac_try\"") >&5    { (eval echo "$as_me:6309: \"$ac_try\"") >&5
6310    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6311    ac_status=$?    ac_status=$?
6312    echo "$as_me:6307: \$? = $ac_status" >&5    echo "$as_me:6312: \$? = $ac_status" >&5
6313    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6314    xlinux_second_failure=no    xlinux_second_failure=no
6315  else  else
# Line 6320  rm -f conftest.$ac_objext conftest$ac_ex Line 6325  rm -f conftest.$ac_objext conftest$ac_ex
6325          C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE"          C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE"
6326          CPPFLAGS="$OLD_CPPFLAGS"          CPPFLAGS="$OLD_CPPFLAGS"
6327          LIBS="$OLD_LIBS"          LIBS="$OLD_LIBS"
6328          echo "$as_me:6323: result: no" >&5          echo "$as_me:6328: result: no" >&5
6329  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
6330        else        else
6331          echo "$as_me:6326: result: yes" >&5          echo "$as_me:6331: result: yes" >&5
6332  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
6333        fi        fi
6334      else      else
6335        echo "$as_me:6330: result: no" >&5        echo "$as_me:6335: result: no" >&5
6336  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
6337      fi      fi
6338    fi    fi
6339    
6340    # Reportedly, some broken Solaris systems have XKBlib.h but are missing    # Reportedly, some broken Solaris systems have XKBlib.h but are missing
6341    # header files included from there.    # header files included from there.
6342    echo "$as_me:6337: checking for Xkb" >&5    echo "$as_me:6342: checking for Xkb" >&5
6343  echo $ECHO_N "checking for Xkb... $ECHO_C" >&6  echo $ECHO_N "checking for Xkb... $ECHO_C" >&6
6344    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6345  #line 6340 "configure"  #line 6340 "configure"
# Line 6350  XkbDescPtr kb = XkbGetKeyboard (0, XkbAl Line 6355  XkbDescPtr kb = XkbGetKeyboard (0, XkbAl
6355  }  }
6356  _ACEOF  _ACEOF
6357  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6358  if { (eval echo "$as_me:6353: \"$ac_link\"") >&5  if { (eval echo "$as_me:6358: \"$ac_link\"") >&5
6359    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6360    ac_status=$?    ac_status=$?
6361    echo "$as_me:6356: \$? = $ac_status" >&5    echo "$as_me:6361: \$? = $ac_status" >&5
6362    (exit $ac_status); } &&    (exit $ac_status); } &&
6363           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6364    { (eval echo "$as_me:6359: \"$ac_try\"") >&5    { (eval echo "$as_me:6364: \"$ac_try\"") >&5
6365    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6366    ac_status=$?    ac_status=$?
6367    echo "$as_me:6362: \$? = $ac_status" >&5    echo "$as_me:6367: \$? = $ac_status" >&5
6368    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6369    emacs_xkb=yes    emacs_xkb=yes
6370  else  else
# Line 6368  cat conftest.$ac_ext >&5 Line 6373  cat conftest.$ac_ext >&5
6373  emacs_xkb=no  emacs_xkb=no
6374  fi  fi
6375  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6376    echo "$as_me:6371: result: $emacs_xkb" >&5    echo "$as_me:6376: result: $emacs_xkb" >&5
6377  echo "${ECHO_T}$emacs_xkb" >&6  echo "${ECHO_T}$emacs_xkb" >&6
6378    if test $emacs_xkb = yes; then    if test $emacs_xkb = yes; then
6379    
# Line 6382  for ac_func in XrmSetDatabase XScreenRes Line 6387  for ac_func in XrmSetDatabase XScreenRes
6387  XScreenNumberOfScreen XSetWMProtocols  XScreenNumberOfScreen XSetWMProtocols
6388  do  do
6389  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6390  echo "$as_me:6385: checking for $ac_func" >&5  echo "$as_me:6390: checking for $ac_func" >&5
6391  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6392  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
6393    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6419  f = $ac_func; Line 6424  f = $ac_func;
6424  }  }
6425  _ACEOF  _ACEOF
6426  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6427  if { (eval echo "$as_me:6422: \"$ac_link\"") >&5  if { (eval echo "$as_me:6427: \"$ac_link\"") >&5
6428    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6429    ac_status=$?    ac_status=$?
6430    echo "$as_me:6425: \$? = $ac_status" >&5    echo "$as_me:6430: \$? = $ac_status" >&5
6431    (exit $ac_status); } &&    (exit $ac_status); } &&
6432           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6433    { (eval echo "$as_me:6428: \"$ac_try\"") >&5    { (eval echo "$as_me:6433: \"$ac_try\"") >&5
6434    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6435    ac_status=$?    ac_status=$?
6436    echo "$as_me:6431: \$? = $ac_status" >&5    echo "$as_me:6436: \$? = $ac_status" >&5
6437    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6438    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
6439  else  else
# Line 6438  eval "$as_ac_var=no" Line 6443  eval "$as_ac_var=no"
6443  fi  fi
6444  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6445  fi  fi
6446  echo "$as_me:6441: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:6446: result: `eval echo '${'$as_ac_var'}'`" >&5
6447  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6448  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
6449    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 6451  done Line 6456  done
6456  fi  fi
6457    
6458  if test "${window_system}" = "x11"; then  if test "${window_system}" = "x11"; then
6459    echo "$as_me:6454: checking X11 version 6" >&5    echo "$as_me:6459: checking X11 version 6" >&5
6460  echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6  echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6
6461    if test "${emacs_cv_x11_version_6+set}" = set; then    if test "${emacs_cv_x11_version_6+set}" = set; then
6462    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6472  fail; Line 6477  fail;
6477  }  }
6478  _ACEOF  _ACEOF
6479  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6480  if { (eval echo "$as_me:6475: \"$ac_link\"") >&5  if { (eval echo "$as_me:6480: \"$ac_link\"") >&5
6481    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6482    ac_status=$?    ac_status=$?
6483    echo "$as_me:6478: \$? = $ac_status" >&5    echo "$as_me:6483: \$? = $ac_status" >&5
6484    (exit $ac_status); } &&    (exit $ac_status); } &&
6485           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6486    { (eval echo "$as_me:6481: \"$ac_try\"") >&5    { (eval echo "$as_me:6486: \"$ac_try\"") >&5
6487    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6488    ac_status=$?    ac_status=$?
6489    echo "$as_me:6484: \$? = $ac_status" >&5    echo "$as_me:6489: \$? = $ac_status" >&5
6490    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6491    emacs_cv_x11_version_6=yes    emacs_cv_x11_version_6=yes
6492  else  else
# Line 6493  rm -f conftest.$ac_objext conftest$ac_ex Line 6498  rm -f conftest.$ac_objext conftest$ac_ex
6498  fi  fi
6499    
6500    if test $emacs_cv_x11_version_6 = yes; then    if test $emacs_cv_x11_version_6 = yes; then
6501      echo "$as_me:6496: result: 6 or newer" >&5      echo "$as_me:6501: result: 6 or newer" >&5
6502  echo "${ECHO_T}6 or newer" >&6  echo "${ECHO_T}6 or newer" >&6
6503    
6504  cat >>confdefs.h <<\EOF  cat >>confdefs.h <<\EOF
# Line 6501  cat >>confdefs.h <<\EOF Line 6506  cat >>confdefs.h <<\EOF
6506  EOF  EOF
6507    
6508    else    else
6509      echo "$as_me:6504: result: before 6" >&5      echo "$as_me:6509: result: before 6" >&5
6510  echo "${ECHO_T}before 6" >&6  echo "${ECHO_T}before 6" >&6
6511    fi    fi
6512  fi  fi
6513    
6514  if test "${window_system}" = "x11"; then  if test "${window_system}" = "x11"; then
6515    echo "$as_me:6510: checking X11 version 5" >&5    echo "$as_me:6515: checking X11 version 5" >&5
6516  echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6  echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6
6517    if test "${emacs_cv_x11_version_5+set}" = set; then    if test "${emacs_cv_x11_version_5+set}" = set; then
6518    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6528  fail; Line 6533  fail;
6533  }  }
6534  _ACEOF  _ACEOF
6535  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6536  if { (eval echo "$as_me:6531: \"$ac_link\"") >&5  if { (eval echo "$as_me:6536: \"$ac_link\"") >&5
6537    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6538    ac_status=$?    ac_status=$?
6539    echo "$as_me:6534: \$? = $ac_status" >&5    echo "$as_me:6539: \$? = $ac_status" >&5
6540    (exit $ac_status); } &&    (exit $ac_status); } &&
6541           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6542    { (eval echo "$as_me:6537: \"$ac_try\"") >&5    { (eval echo "$as_me:6542: \"$ac_try\"") >&5
6543    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6544    ac_status=$?    ac_status=$?
6545    echo "$as_me:6540: \$? = $ac_status" >&5    echo "$as_me:6545: \$? = $ac_status" >&5
6546    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6547    emacs_cv_x11_version_5=yes    emacs_cv_x11_version_5=yes
6548  else  else
# Line 6549  rm -f conftest.$ac_objext conftest$ac_ex Line 6554  rm -f conftest.$ac_objext conftest$ac_ex
6554  fi  fi
6555    
6556    if test $emacs_cv_x11_version_5 = yes; then    if test $emacs_cv_x11_version_5 = yes; then
6557      echo "$as_me:6552: result: 5 or newer" >&5      echo "$as_me:6557: result: 5 or newer" >&5
6558  echo "${ECHO_T}5 or newer" >&6  echo "${ECHO_T}5 or newer" >&6
6559      HAVE_X11R5=yes      HAVE_X11R5=yes
6560    
# Line 6559  EOF Line 6564  EOF
6564    
6565    else    else
6566      HAVE_X11R5=no      HAVE_X11R5=no
6567      echo "$as_me:6562: result: before 5" >&5      echo "$as_me:6567: result: before 5" >&5
6568  echo "${ECHO_T}before 5" >&6  echo "${ECHO_T}before 5" >&6
6569    fi    fi
6570  fi  fi
6571    
6572  if test x"${USE_X_TOOLKIT}" = xmaybe; then  if test x"${USE_X_TOOLKIT}" = xmaybe; then
6573    if test x"${HAVE_X11R5}" = xyes; then    if test x"${HAVE_X11R5}" = xyes; then
6574      echo "$as_me:6569: checking X11 version 5 with Xaw" >&5      echo "$as_me:6574: checking X11 version 5 with Xaw" >&5
6575  echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6  echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6
6576      if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then      if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then
6577    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6586  main () Line 6591  main ()
6591  }  }
6592  _ACEOF  _ACEOF
6593  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6594  if { (eval echo "$as_me:6589: \"$ac_link\"") >&5  if { (eval echo "$as_me:6594: \"$ac_link\"") >&5
6595    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6596    ac_status=$?    ac_status=$?
6597    echo "$as_me:6592: \$? = $ac_status" >&5    echo "$as_me:6597: \$? = $ac_status" >&5
6598    (exit $ac_status); } &&    (exit $ac_status); } &&
6599           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6600    { (eval echo "$as_me:6595: \"$ac_try\"") >&5    { (eval echo "$as_me:6600: \"$ac_try\"") >&5
6601    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6602    ac_status=$?    ac_status=$?
6603    echo "$as_me:6598: \$? = $ac_status" >&5    echo "$as_me:6603: \$? = $ac_status" >&5
6604    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6605    emacs_cv_x11_version_5_with_xaw=yes    emacs_cv_x11_version_5_with_xaw=yes
6606  else  else
# Line 6607  rm -f conftest.$ac_objext conftest$ac_ex Line 6612  rm -f conftest.$ac_objext conftest$ac_ex
6612  fi  fi
6613    
6614      if test $emacs_cv_x11_version_5_with_xaw = yes; then      if test $emacs_cv_x11_version_5_with_xaw = yes; then
6615        echo "$as_me:6610: result: 5 or newer, with Xaw; use toolkit by default" >&5        echo "$as_me:6615: result: 5 or newer, with Xaw; use toolkit by default" >&5
6616  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
6617        USE_X_TOOLKIT=LUCID        USE_X_TOOLKIT=LUCID
6618      else      else
6619        echo "$as_me:6614: result: before 5 or no Xaw; do not use toolkit by default" >&5        echo "$as_me:6619: result: before 5 or no Xaw; do not use toolkit by default" >&5
6620  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
6621        USE_X_TOOLKIT=none        USE_X_TOOLKIT=none
6622      fi      fi
# Line 6623  fi Line 6628  fi
6628  X_TOOLKIT_TYPE=$USE_X_TOOLKIT  X_TOOLKIT_TYPE=$USE_X_TOOLKIT
6629    
6630  if test "${USE_X_TOOLKIT}" != "none"; then  if test "${USE_X_TOOLKIT}" != "none"; then
6631    echo "$as_me:6626: checking X11 toolkit version" >&5    echo "$as_me:6631: checking X11 toolkit version" >&5
6632  echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6  echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6
6633    if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then    if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then
6634    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6644  fail; Line 6649  fail;
6649  }  }
6650  _ACEOF  _ACEOF
6651  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6652  if { (eval echo "$as_me:6647: \"$ac_link\"") >&5  if { (eval echo "$as_me:6652: \"$ac_link\"") >&5
6653    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6654    ac_status=$?    ac_status=$?
6655    echo "$as_me:6650: \$? = $ac_status" >&5    echo "$as_me:6655: \$? = $ac_status" >&5
6656    (exit $ac_status); } &&    (exit $ac_status); } &&
6657           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6658    { (eval echo "$as_me:6653: \"$ac_try\"") >&5    { (eval echo "$as_me:6658: \"$ac_try\"") >&5
6659    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6660    ac_status=$?    ac_status=$?
6661    echo "$as_me:6656: \$? = $ac_status" >&5    echo "$as_me:6661: \$? = $ac_status" >&5
6662    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6663    emacs_cv_x11_toolkit_version_6=yes    emacs_cv_x11_toolkit_version_6=yes
6664  else  else
# Line 6666  fi Line 6671  fi
6671    
6672    HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6    HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6
6673    if test $emacs_cv_x11_toolkit_version_6 = yes; then    if test $emacs_cv_x11_toolkit_version_6 = yes; then
6674      echo "$as_me:6669: result: 6 or newer" >&5      echo "$as_me:6674: result: 6 or newer" >&5
6675  echo "${ECHO_T}6 or newer" >&6  echo "${ECHO_T}6 or newer" >&6
6676    
6677  cat >>confdefs.h <<\EOF  cat >>confdefs.h <<\EOF
# Line 6674  cat >>confdefs.h <<\EOF Line 6679  cat >>confdefs.h <<\EOF
6679  EOF  EOF
6680    
6681    else    else
6682      echo "$as_me:6677: result: before 6" >&5      echo "$as_me:6682: result: before 6" >&5
6683  echo "${ECHO_T}before 6" >&6  echo "${ECHO_T}before 6" >&6
6684    fi    fi
6685    
# Line 6685  echo "${ECHO_T}before 6" >&6 Line 6690  echo "${ECHO_T}before 6" >&6
6690      LIBS="-lXt $LIBS"      LIBS="-lXt $LIBS"
6691    fi    fi
6692    
6693  echo "$as_me:6688: checking for XmuConvertStandardSelection in -lXmu" >&5  echo "$as_me:6693: checking for XmuConvertStandardSelection in -lXmu" >&5
6694  echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6  echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6
6695  if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then  if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then
6696    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6712  XmuConvertStandardSelection (); Line 6717  XmuConvertStandardSelection ();
6717  }  }
6718  _ACEOF  _ACEOF
6719  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6720  if { (eval echo "$as_me:6715: \"$ac_link\"") >&5  if { (eval echo "$as_me:6720: \"$ac_link\"") >&5
6721    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6722    ac_status=$?    ac_status=$?
6723    echo "$as_me:6718: \$? = $ac_status" >&5    echo "$as_me:6723: \$? = $ac_status" >&5
6724    (exit $ac_status); } &&    (exit $ac_status); } &&
6725           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6726    { (eval echo "$as_me:6721: \"$ac_try\"") >&5    { (eval echo "$as_me:6726: \"$ac_try\"") >&5
6727    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6728    ac_status=$?    ac_status=$?
6729    echo "$as_me:6724: \$? = $ac_status" >&5    echo "$as_me:6729: \$? = $ac_status" >&5
6730    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6731    ac_cv_lib_Xmu_XmuConvertStandardSelection=yes    ac_cv_lib_Xmu_XmuConvertStandardSelection=yes
6732  else  else
# Line 6732  fi Line 6737  fi
6737  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6738  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
6739  fi  fi
6740  echo "$as_me:6735: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5  echo "$as_me:6740: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5
6741  echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6  echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6
6742  if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then  if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then
6743    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 6750  fi Line 6755  fi
6755  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
6756    if test "${USE_X_TOOLKIT}" != "none"; then    if test "${USE_X_TOOLKIT}" != "none"; then
6757    
6758  echo "$as_me:6753: checking for XShapeQueryExtension in -lXext" >&5  echo "$as_me:6758: checking for XShapeQueryExtension in -lXext" >&5
6759  echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6  echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
6760  if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then  if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
6761    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6777  XShapeQueryExtension (); Line 6782  XShapeQueryExtension ();
6782  }  }
6783  _ACEOF  _ACEOF
6784  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6785  if { (eval echo "$as_me:6780: \"$ac_link\"") >&5  if { (eval echo "$as_me:6785: \"$ac_link\"") >&5
6786    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6787    ac_status=$?    ac_status=$?
6788    echo "$as_me:6783: \$? = $ac_status" >&5    echo "$as_me:6788: \$? = $ac_status" >&5
6789    (exit $ac_status); } &&    (exit $ac_status); } &&
6790           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6791    { (eval echo "$as_me:6786: \"$ac_try\"") >&5    { (eval echo "$as_me:6791: \"$ac_try\"") >&5
6792    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6793    ac_status=$?    ac_status=$?
6794    echo "$as_me:6789: \$? = $ac_status" >&5    echo "$as_me:6794: \$? = $ac_status" >&5
6795    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6796    ac_cv_lib_Xext_XShapeQueryExtension=yes    ac_cv_lib_Xext_XShapeQueryExtension=yes
6797  else  else
# Line 6797  fi Line 6802  fi
6802  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6803  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
6804  fi  fi
6805  echo "$as_me:6800: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5  echo "$as_me:6805: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
6806  echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6  echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
6807  if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then  if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
6808    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 6812  fi Line 6817  fi
6817  fi  fi
6818    
6819  if test "${USE_X_TOOLKIT}" = "MOTIF"; then  if test "${USE_X_TOOLKIT}" = "MOTIF"; then
6820    echo "$as_me:6815: checking for Motif version 2.1" >&5    echo "$as_me:6820: checking for Motif version 2.1" >&5
6821  echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6  echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6
6822  if test "${emacs_cv_motif_version_2_1+set}" = set; then  if test "${emacs_cv_motif_version_2_1+set}" = set; then
6823    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6834  Motif version prior to 2.1. Line 6839  Motif version prior to 2.1.
6839  }  }
6840  _ACEOF  _ACEOF
6841  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
6842  if { (eval echo "$as_me:6837: \"$ac_compile\"") >&5  if { (eval echo "$as_me:6842: \"$ac_compile\"") >&5
6843    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
6844    ac_status=$?    ac_status=$?
6845    echo "$as_me:6840: \$? = $ac_status" >&5    echo "$as_me:6845: \$? = $ac_status" >&5
6846    (exit $ac_status); } &&    (exit $ac_status); } &&
6847           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
6848    { (eval echo "$as_me:6843: \"$ac_try\"") >&5    { (eval echo "$as_me:6848: \"$ac_try\"") >&5
6849    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6850    ac_status=$?    ac_status=$?
6851    echo "$as_me:6846: \$? = $ac_status" >&5    echo "$as_me:6851: \$? = $ac_status" >&5
6852    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6853    emacs_cv_motif_version_2_1=yes    emacs_cv_motif_version_2_1=yes
6854  else  else
# Line 6853  emacs_cv_motif_version_2_1=no Line 6858  emacs_cv_motif_version_2_1=no
6858  fi  fi
6859  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
6860  fi  fi
6861  echo "$as_me:6856: result: $emacs_cv_motif_version_2_1" >&5  echo "$as_me:6861: result: $emacs_cv_motif_version_2_1" >&5
6862  echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6  echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6
6863    HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1    HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1
6864    if test $emacs_cv_motif_version_2_1 = yes; then    if test $emacs_cv_motif_version_2_1 = yes; then
# Line 6863  cat >>confdefs.h <<\EOF Line 6868  cat >>confdefs.h <<\EOF
6868  #define HAVE_MOTIF_2_1 1  #define HAVE_MOTIF_2_1 1
6869  EOF  EOF
6870    
6871      echo "$as_me:6866: checking for XpCreateContext in -lXp" >&5      echo "$as_me:6871: checking for XpCreateContext in -lXp" >&5
6872  echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6  echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6
6873  if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then  if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then
6874    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6890  XpCreateContext (); Line 6895  XpCreateContext ();
6895  }  }
6896  _ACEOF  _ACEOF
6897  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6898  if { (eval echo "$as_me:6893: \"$ac_link\"") >&5  if { (eval echo "$as_me:6898: \"$ac_link\"") >&5
6899    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6900    ac_status=$?    ac_status=$?
6901    echo "$as_me:6896: \$? = $ac_status" >&5    echo "$as_me:6901: \$? = $ac_status" >&5
6902    (exit $ac_status); } &&    (exit $ac_status); } &&
6903           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6904    { (eval echo "$as_me:6899: \"$ac_try\"") >&5    { (eval echo "$as_me:6904: \"$ac_try\"") >&5
6905    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6906    ac_status=$?    ac_status=$?
6907    echo "$as_me:6902: \$? = $ac_status" >&5    echo "$as_me:6907: \$? = $ac_status" >&5
6908    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6909    ac_cv_lib_Xp_XpCreateContext=yes    ac_cv_lib_Xp_XpCreateContext=yes
6910  else  else
# Line 6910  fi Line 6915  fi
6915  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6916  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
6917  fi  fi
6918  echo "$as_me:6913: result: $ac_cv_lib_Xp_XpCreateContext" >&5  echo "$as_me:6918: result: $ac_cv_lib_Xp_XpCreateContext" >&5
6919  echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6  echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6
6920  if test $ac_cv_lib_Xp_XpCreateContext = yes; then  if test $ac_cv_lib_Xp_XpCreateContext = yes; then
6921    HAVE_LIBXP=yes    HAVE_LIBXP=yes
# Line 6930  fi Line 6935  fi
6935  HAVE_XAW3D=no  HAVE_XAW3D=no
6936  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
6937    if test "${USE_X_TOOLKIT}" != "none"; then    if test "${USE_X_TOOLKIT}" != "none"; then
6938      echo "$as_me:6933: checking for X11/Xaw3d/Scrollbar.h" >&5      echo "$as_me:6938: checking for X11/Xaw3d/Scrollbar.h" >&5
6939  echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6  echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6
6940  if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then  if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then
6941    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6940  else Line 6945  else
6945  #include "confdefs.h"  #include "confdefs.h"
6946  #include <X11/Xaw3d/Scrollbar.h>  #include <X11/Xaw3d/Scrollbar.h>
6947  _ACEOF  _ACEOF
6948  if { (eval echo "$as_me:6943: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:6948: \"$ac_cpp conftest.$ac_ext\"") >&5
6949    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6950    ac_status=$?    ac_status=$?
6951    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
6952    rm -f conftest.er1    rm -f conftest.er1
6953    cat conftest.err >&5    cat conftest.err >&5
6954    echo "$as_me:6949: \$? = $ac_status" >&5    echo "$as_me:6954: \$? = $ac_status" >&5
6955    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
6956    if test -s conftest.err; then    if test -s conftest.err; then
6957      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 6965  else Line 6970  else
6970  fi  fi
6971  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
6972  fi  fi
6973  echo "$as_me:6968: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5  echo "$as_me:6973: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5
6974  echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6  echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6
6975  if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then  if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then
6976    echo "$as_me:6971: checking for XawScrollbarSetThumb in -lXaw3d" >&5    echo "$as_me:6976: checking for XawScrollbarSetThumb in -lXaw3d" >&5
6977  echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6  echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6
6978  if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then  if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then
6979    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6995  XawScrollbarSetThumb (); Line 7000  XawScrollbarSetThumb ();
7000  }  }
7001  _ACEOF  _ACEOF
7002  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7003  if { (eval echo "$as_me:6998: \"$ac_link\"") >&5  if { (eval echo "$as_me:7003: \"$ac_link\"") >&5
7004    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7005    ac_status=$?    ac_status=$?
7006    echo "$as_me:7001: \$? = $ac_status" >&5    echo "$as_me:7006: \$? = $ac_status" >&5
7007    (exit $ac_status); } &&    (exit $ac_status); } &&
7008           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7009    { (eval echo "$as_me:7004: \"$ac_try\"") >&5    { (eval echo "$as_me:7009: \"$ac_try\"") >&5
7010    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7011    ac_status=$?    ac_status=$?
7012    echo "$as_me:7007: \$? = $ac_status" >&5    echo "$as_me:7012: \$? = $ac_status" >&5
7013    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7014    ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes    ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes
7015  else  else
# Line 7015  fi Line 7020  fi
7020  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7021  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7022  fi  fi
7023  echo "$as_me:7018: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5  echo "$as_me:7023: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5
7024  echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6  echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6
7025  if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then  if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then
7026    HAVE_XAW3D=yes    HAVE_XAW3D=yes
# Line 7065  fi Line 7070  fi
7070  HAVE_XPM=no  HAVE_XPM=no
7071  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
7072    if test "${with_xpm}" != "no"; then    if test "${with_xpm}" != "no"; then
7073      echo "$as_me:7068: checking for X11/xpm.h" >&5      echo "$as_me:7073: checking for X11/xpm.h" >&5
7074  echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6  echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
7075  if test "${ac_cv_header_X11_xpm_h+set}" = set; then  if test "${ac_cv_header_X11_xpm_h+set}" = set; then
7076    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7075  else Line 7080  else
7080  #include "confdefs.h"  #include "confdefs.h"
7081  #include <X11/xpm.h>  #include <X11/xpm.h>
7082  _ACEOF  _ACEOF
7083  if { (eval echo "$as_me:7078: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:7083: \"$ac_cpp conftest.$ac_ext\"") >&5
7084    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7085    ac_status=$?    ac_status=$?
7086    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
7087    rm -f conftest.er1    rm -f conftest.er1
7088    cat conftest.err >&5    cat conftest.err >&5
7089    echo "$as_me:7084: \$? = $ac_status" >&5    echo "$as_me:7089: \$? = $ac_status" >&5
7090    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
7091    if test -s conftest.err; then    if test -s conftest.err; then
7092      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 7100  else Line 7105  else
7105  fi  fi
7106  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
7107  fi  fi
7108  echo "$as_me:7103: result: $ac_cv_header_X11_xpm_h" >&5  echo "$as_me:7108: result: $ac_cv_header_X11_xpm_h" >&5
7109  echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6  echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6
7110  if test $ac_cv_header_X11_xpm_h = yes; then  if test $ac_cv_header_X11_xpm_h = yes; then
7111    echo "$as_me:7106: checking for XpmReadFileToPixmap in -lXpm" >&5    echo "$as_me:7111: checking for XpmReadFileToPixmap in -lXpm" >&5
7112  echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6  echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6
7113  if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then  if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then
7114    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7130  XpmReadFileToPixmap (); Line 7135  XpmReadFileToPixmap ();
7135  }  }
7136  _ACEOF  _ACEOF
7137  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7138  if { (eval echo "$as_me:7133: \"$ac_link\"") >&5  if { (eval echo "$as_me:7138: \"$ac_link\"") >&5
7139    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7140    ac_status=$?    ac_status=$?
7141    echo "$as_me:7136: \$? = $ac_status" >&5    echo "$as_me:7141: \$? = $ac_status" >&5
7142    (exit $ac_status); } &&    (exit $ac_status); } &&
7143           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7144    { (eval echo "$as_me:7139: \"$ac_try\"") >&5    { (eval echo "$as_me:7144: \"$ac_try\"") >&5
7145    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7146    ac_status=$?    ac_status=$?
7147    echo "$as_me:7142: \$? = $ac_status" >&5    echo "$as_me:7147: \$? = $ac_status" >&5
7148    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7149    ac_cv_lib_Xpm_XpmReadFileToPixmap=yes    ac_cv_lib_Xpm_XpmReadFileToPixmap=yes
7150  else  else
# Line 7150  fi Line 7155  fi
7155  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7156  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7157  fi  fi
7158  echo "$as_me:7153: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5  echo "$as_me:7158: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
7159  echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6  echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6
7160  if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then  if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then
7161    HAVE_XPM=yes    HAVE_XPM=yes
# Line 7159  fi Line 7164  fi
7164  fi  fi
7165    
7166      if test "${HAVE_XPM}" = "yes"; then      if test "${HAVE_XPM}" = "yes"; then
7167        echo "$as_me:7162: checking for XpmReturnAllocPixels preprocessor define" >&5        echo "$as_me:7167: checking for XpmReturnAllocPixels preprocessor define" >&5
7168  echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6  echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6
7169        cat >conftest.$ac_ext <<_ACEOF        cat >conftest.$ac_ext <<_ACEOF
7170  #line 7165 "configure"  #line 7165 "configure"
# Line 7179  fi Line 7184  fi
7184  rm -f conftest*  rm -f conftest*
7185    
7186        if test "${HAVE_XPM}" = "yes"; then        if test "${HAVE_XPM}" = "yes"; then
7187          echo "$as_me:7182: result: yes" >&5          echo "$as_me:7187: result: yes" >&5
7188  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
7189        else        else
7190          echo "$as_me:7185: result: no" >&5          echo "$as_me:7190: result: no" >&5
7191  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
7192        fi        fi
7193      fi      fi
# Line 7201  fi Line 7206  fi
7206  HAVE_JPEG=no  HAVE_JPEG=no
7207  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
7208    if test "${with_jpeg}" != "no"; then    if test "${with_jpeg}" != "no"; then
7209              echo "$as_me:7204: checking for jerror.h" >&5              echo "$as_me:7209: checking for jerror.h" >&5
7210  echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6  echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6
7211  if test "${ac_cv_header_jerror_h+set}" = set; then  if test "${ac_cv_header_jerror_h+set}" = set; then
7212    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7211  else Line 7216  else
7216  #include "confdefs.h"  #include "confdefs.h"
7217  #include <jerror.h>  #include <jerror.h>
7218  _ACEOF  _ACEOF
7219  if { (eval echo "$as_me:7214: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:7219: \"$ac_cpp conftest.$ac_ext\"") >&5
7220    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7221    ac_status=$?    ac_status=$?
7222    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
7223    rm -f conftest.er1    rm -f conftest.er1
7224    cat conftest.err >&5    cat conftest.err >&5
7225    echo "$as_me:7220: \$? = $ac_status" >&5    echo "$as_me:7225: \$? = $ac_status" >&5
7226    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
7227    if test -s conftest.err; then    if test -s conftest.err; then
7228      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 7236  else Line 7241  else
7241  fi  fi
7242  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
7243  fi  fi
7244  echo "$as_me:7239: result: $ac_cv_header_jerror_h" >&5  echo "$as_me:7244: result: $ac_cv_header_jerror_h" >&5
7245  echo "${ECHO_T}$ac_cv_header_jerror_h" >&6  echo "${ECHO_T}$ac_cv_header_jerror_h" >&6
7246  if test $ac_cv_header_jerror_h = yes; then  if test $ac_cv_header_jerror_h = yes; then
7247    echo "$as_me:7242: checking for jpeg_destroy_compress in -ljpeg" >&5    echo "$as_me:7247: checking for jpeg_destroy_compress in -ljpeg" >&5
7248  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
7249  if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then  if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then
7250    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7266  jpeg_destroy_compress (); Line 7271  jpeg_destroy_compress ();
7271  }  }
7272  _ACEOF  _ACEOF
7273  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7274  if { (eval echo "$as_me:7269: \"$ac_link\"") >&5  if { (eval echo "$as_me:7274: \"$ac_link\"") >&5
7275    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7276    ac_status=$?    ac_status=$?
7277    echo "$as_me:7272: \$? = $ac_status" >&5    echo "$as_me:7277: \$? = $ac_status" >&5
7278    (exit $ac_status); } &&    (exit $ac_status); } &&
7279           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7280    { (eval echo "$as_me:7275: \"$ac_try\"") >&5    { (eval echo "$as_me:7280: \"$ac_try\"") >&5
7281    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7282    ac_status=$?    ac_status=$?
7283    echo "$as_me:7278: \$? = $ac_status" >&5    echo "$as_me:7283: \$? = $ac_status" >&5
7284    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7285    ac_cv_lib_jpeg_jpeg_destroy_compress=yes    ac_cv_lib_jpeg_jpeg_destroy_compress=yes
7286  else  else
# Line 7286  fi Line 7291  fi
7291  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7292  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7293  fi  fi
7294  echo "$as_me:7289: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5  echo "$as_me:7294: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5
7295  echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6  echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6
7296  if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then  if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then
7297    HAVE_JPEG=yes    HAVE_JPEG=yes
# Line 7315  if (eval "$ac_cpp conftest.$ac_ext") 2>& Line 7320  if (eval "$ac_cpp conftest.$ac_ext") 2>&
7320  EOF  EOF
7321    
7322  else  else
7323    { echo "$as_me:7318: WARNING: libjpeg found, but not version 6b or later" >&5    { echo "$as_me:7323: WARNING: libjpeg found, but not version 6b or later" >&5
7324  echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;}  echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;}
7325          HAVE_JPEG=no          HAVE_JPEG=no
7326  fi  fi
# Line 7328  fi Line 7333  fi
7333  HAVE_PNG=no  HAVE_PNG=no
7334  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
7335    if test "${with_png}" != "no"; then    if test "${with_png}" != "no"; then
7336      echo "$as_me:7331: checking for png.h" >&5      echo "$as_me:7336: checking for png.h" >&5
7337  echo $ECHO_N "checking for png.h... $ECHO_C" >&6  echo $ECHO_N "checking for png.h... $ECHO_C" >&6
7338  if test "${ac_cv_header_png_h+set}" = set; then  if test "${ac_cv_header_png_h+set}" = set; then
7339    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7338  else Line 7343  else
7343  #include "confdefs.h"  #include "confdefs.h"
7344  #include <png.h>  #include <png.h>
7345  _ACEOF  _ACEOF
7346  if { (eval echo "$as_me:7341: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:7346: \"$ac_cpp conftest.$ac_ext\"") >&5
7347    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7348    ac_status=$?    ac_status=$?
7349    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
7350    rm -f conftest.er1    rm -f conftest.er1
7351    cat conftest.err >&5    cat conftest.err >&5
7352    echo "$as_me:7347: \$? = $ac_status" >&5    echo "$as_me:7352: \$? = $ac_status" >&5
7353    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
7354    if test -s conftest.err; then    if test -s conftest.err; then
7355      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 7363  else Line 7368  else
7368  fi  fi
7369  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
7370  fi  fi
7371  echo "$as_me:7366: result: $ac_cv_header_png_h" >&5  echo "$as_me:7371: result: $ac_cv_header_png_h" >&5
7372  echo "${ECHO_T}$ac_cv_header_png_h" >&6  echo "${ECHO_T}$ac_cv_header_png_h" >&6
7373  if test $ac_cv_header_png_h = yes; then  if test $ac_cv_header_png_h = yes; then
7374    echo "$as_me:7369: checking for png_get_channels in -lpng" >&5    echo "$as_me:7374: checking for png_get_channels in -lpng" >&5
7375  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
7376  if test "${ac_cv_lib_png_png_get_channels+set}" = set; then  if test "${ac_cv_lib_png_png_get_channels+set}" = set; then
7377    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7393  png_get_channels (); Line 7398  png_get_channels ();
7398  }  }
7399  _ACEOF  _ACEOF
7400  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7401  if { (eval echo "$as_me:7396: \"$ac_link\"") >&5  if { (eval echo "$as_me:7401: \"$ac_link\"") >&5
7402    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7403    ac_status=$?    ac_status=$?
7404    echo "$as_me:7399: \$? = $ac_status" >&5    echo "$as_me:7404: \$? = $ac_status" >&5
7405    (exit $ac_status); } &&    (exit $ac_status); } &&
7406           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7407    { (eval echo "$as_me:7402: \"$ac_try\"") >&5    { (eval echo "$as_me:7407: \"$ac_try\"") >&5
7408    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7409    ac_status=$?    ac_status=$?
7410    echo "$as_me:7405: \$? = $ac_status" >&5    echo "$as_me:7410: \$? = $ac_status" >&5
7411    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7412    ac_cv_lib_png_png_get_channels=yes    ac_cv_lib_png_png_get_channels=yes
7413  else  else
# Line 7413  fi Line 7418  fi
7418  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7419  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7420  fi  fi
7421  echo "$as_me:7416: result: $ac_cv_lib_png_png_get_channels" >&5  echo "$as_me:7421: result: $ac_cv_lib_png_png_get_channels" >&5
7422  echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6  echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6
7423  if test $ac_cv_lib_png_png_get_channels = yes; then  if test $ac_cv_lib_png_png_get_channels = yes; then
7424    HAVE_PNG=yes    HAVE_PNG=yes
# Line 7436  fi Line 7441  fi
7441  HAVE_TIFF=no  HAVE_TIFF=no
7442  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
7443    if test "${with_tiff}" != "no"; then    if test "${with_tiff}" != "no"; then
7444      echo "$as_me:7439: checking for tiffio.h" >&5      echo "$as_me:7444: checking for tiffio.h" >&5
7445  echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6  echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
7446  if test "${ac_cv_header_tiffio_h+set}" = set; then  if test "${ac_cv_header_tiffio_h+set}" = set; then
7447    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7446  else Line 7451  else
7451  #include "confdefs.h"  #include "confdefs.h"
7452  #include <tiffio.h>  #include <tiffio.h>
7453  _ACEOF  _ACEOF
7454  if { (eval echo "$as_me:7449: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:7454: \"$ac_cpp conftest.$ac_ext\"") >&5
7455    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7456    ac_status=$?    ac_status=$?
7457    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
7458    rm -f conftest.er1    rm -f conftest.er1
7459    cat conftest.err >&5    cat conftest.err >&5
7460    echo "$as_me:7455: \$? = $ac_status" >&5    echo "$as_me:7460: \$? = $ac_status" >&5
7461    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
7462    if test -s conftest.err; then    if test -s conftest.err; then
7463      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 7471  else Line 7476  else
7476  fi  fi
7477  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
7478  fi  fi
7479  echo "$as_me:7474: result: $ac_cv_header_tiffio_h" >&5  echo "$as_me:7479: result: $ac_cv_header_tiffio_h" >&5
7480  echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6  echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
7481  if test $ac_cv_header_tiffio_h = yes; then  if test $ac_cv_header_tiffio_h = yes; then
7482    tifflibs="-lz -lm"    tifflibs="-lz -lm"
7483        # At least one tiff package requires the jpeg library.        # At least one tiff package requires the jpeg library.
7484        if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi        if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
7485        echo "$as_me:7480: checking for TIFFGetVersion in -ltiff" >&5        echo "$as_me:7485: checking for TIFFGetVersion in -ltiff" >&5
7486  echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6  echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6
7487  if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then  if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then
7488    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7504  TIFFGetVersion (); Line 7509  TIFFGetVersion ();
7509  }  }
7510  _ACEOF  _ACEOF
7511  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7512  if { (eval echo "$as_me:7507: \"$ac_link\"") >&5  if { (eval echo "$as_me:7512: \"$ac_link\"") >&5
7513    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7514    ac_status=$?    ac_status=$?
7515    echo "$as_me:7510: \$? = $ac_status" >&5    echo "$as_me:7515: \$? = $ac_status" >&5
7516    (exit $ac_status); } &&    (exit $ac_status); } &&
7517           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7518    { (eval echo "$as_me:7513: \"$ac_try\"") >&5    { (eval echo "$as_me:7518: \"$ac_try\"") >&5
7519    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7520    ac_status=$?    ac_status=$?
7521    echo "$as_me:7516: \$? = $ac_status" >&5    echo "$as_me:7521: \$? = $ac_status" >&5
7522    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7523    ac_cv_lib_tiff_TIFFGetVersion=yes    ac_cv_lib_tiff_TIFFGetVersion=yes
7524  else  else
# Line 7524  fi Line 7529  fi
7529  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7530  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7531  fi  fi
7532  echo "$as_me:7527: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5  echo "$as_me:7532: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5
7533  echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6  echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6
7534  if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then  if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then
7535    HAVE_TIFF=yes    HAVE_TIFF=yes
# Line 7547  fi Line 7552  fi
7552  HAVE_GIF=no  HAVE_GIF=no
7553  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
7554    if test "${with_gif}" != "no"; then    if test "${with_gif}" != "no"; then
7555      echo "$as_me:7550: checking for gif_lib.h" >&5      echo "$as_me:7555: checking for gif_lib.h" >&5
7556  echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6  echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6
7557  if test "${ac_cv_header_gif_lib_h+set}" = set; then  if test "${ac_cv_header_gif_lib_h+set}" = set; then
7558    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7557  else Line 7562  else
7562  #include "confdefs.h"  #include "confdefs.h"
7563  #include <gif_lib.h>  #include <gif_lib.h>
7564  _ACEOF  _ACEOF
7565  if { (eval echo "$as_me:7560: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:7565: \"$ac_cpp conftest.$ac_ext\"") >&5
7566    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7567    ac_status=$?    ac_status=$?
7568    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
7569    rm -f conftest.er1    rm -f conftest.er1
7570    cat conftest.err >&5    cat conftest.err >&5
7571    echo "$as_me:7566: \$? = $ac_status" >&5    echo "$as_me:7571: \$? = $ac_status" >&5
7572    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
7573    if test -s conftest.err; then    if test -s conftest.err; then
7574      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 7582  else Line 7587  else
7587  fi  fi
7588  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
7589  fi  fi
7590  echo "$as_me:7585: result: $ac_cv_header_gif_lib_h" >&5  echo "$as_me:7590: result: $ac_cv_header_gif_lib_h" >&5
7591  echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6  echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6
7592  if test $ac_cv_header_gif_lib_h = yes; then  if test $ac_cv_header_gif_lib_h = yes; then
7593    # EGifPutExtensionLast only exists from version libungif-4.1.0b1.    # EGifPutExtensionLast only exists from version libungif-4.1.0b1.
7594  # Earlier versions can crash Emacs.  # Earlier versions can crash Emacs.
7595        echo "$as_me:7590: checking for EGifPutExtensionLast in -lungif" >&5        echo "$as_me:7595: checking for EGifPutExtensionLast in -lungif" >&5
7596  echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6  echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6
7597  if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then  if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then
7598    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7614  EGifPutExtensionLast (); Line 7619  EGifPutExtensionLast ();
7619  }  }
7620  _ACEOF  _ACEOF
7621  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7622  if { (eval echo "$as_me:7617: \"$ac_link\"") >&5  if { (eval echo "$as_me:7622: \"$ac_link\"") >&5
7623    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7624    ac_status=$?    ac_status=$?
7625    echo "$as_me:7620: \$? = $ac_status" >&5    echo "$as_me:7625: \$? = $ac_status" >&5
7626    (exit $ac_status); } &&    (exit $ac_status); } &&
7627           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7628    { (eval echo "$as_me:7623: \"$ac_try\"") >&5    { (eval echo "$as_me:7628: \"$ac_try\"") >&5
7629    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7630    ac_status=$?    ac_status=$?
7631    echo "$as_me:7626: \$? = $ac_status" >&5    echo "$as_me:7631: \$? = $ac_status" >&5
7632    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7633    ac_cv_lib_ungif_EGifPutExtensionLast=yes    ac_cv_lib_ungif_EGifPutExtensionLast=yes
7634  else  else
# Line 7634  fi Line 7639  fi
7639  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7640  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7641  fi  fi
7642  echo "$as_me:7637: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5  echo "$as_me:7642: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5
7643  echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6  echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6
7644  if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then  if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then
7645    HAVE_GIF=yes    HAVE_GIF=yes
# Line 7656  fi Line 7661  fi
7661  ### Use Mac OS X Carbon API to implement GUI.  ### Use Mac OS X Carbon API to implement GUI.
7662  HAVE_CARBON=no  HAVE_CARBON=no
7663  if test "${with_carbon}" != "no"; then  if test "${with_carbon}" != "no"; then
7664    echo "$as_me:7659: checking for Carbon/Carbon.h" >&5    echo "$as_me:7664: checking for Carbon/Carbon.h" >&5
7665  echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6  echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6
7666  if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then  if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
7667    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7666  else Line 7671  else
7671  #include "confdefs.h"  #include "confdefs.h"
7672  #include <Carbon/Carbon.h>  #include <Carbon/Carbon.h>
7673  _ACEOF  _ACEOF
7674  if { (eval echo "$as_me:7669: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:7674: \"$ac_cpp conftest.$ac_ext\"") >&5
7675    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7676    ac_status=$?    ac_status=$?
7677    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
7678    rm -f conftest.er1    rm -f conftest.er1
7679    cat conftest.err >&5    cat conftest.err >&5
7680    echo "$as_me:7675: \$? = $ac_status" >&5    echo "$as_me:7680: \$? = $ac_status" >&5
7681    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
7682    if test -s conftest.err; then    if test -s conftest.err; then
7683      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 7691  else Line 7696  else
7696  fi  fi
7697  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
7698  fi  fi
7699  echo "$as_me:7694: result: $ac_cv_header_Carbon_Carbon_h" >&5  echo "$as_me:7699: result: $ac_cv_header_Carbon_Carbon_h" >&5
7700  echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6  echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6
7701  if test $ac_cv_header_Carbon_Carbon_h = yes; then  if test $ac_cv_header_Carbon_Carbon_h = yes; then
7702    HAVE_CARBON=yes    HAVE_CARBON=yes
# Line 7710  fi Line 7715  fi
7715  ### Use session management (-lSM -lICE) if available  ### Use session management (-lSM -lICE) if available
7716  HAVE_X_SM=no  HAVE_X_SM=no
7717  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
7718    echo "$as_me:7713: checking for X11/SM/SMlib.h" >&5    echo "$as_me:7718: checking for X11/SM/SMlib.h" >&5
7719  echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6  echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6
7720  if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then  if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
7721    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7720  else Line 7725  else
7725  #include "confdefs.h"  #include "confdefs.h"
7726  #include <X11/SM/SMlib.h>  #include <X11/SM/SMlib.h>
7727  _ACEOF  _ACEOF
7728  if { (eval echo "$as_me:7723: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:7728: \"$ac_cpp conftest.$ac_ext\"") >&5
7729    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7730    ac_status=$?    ac_status=$?
7731    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
7732    rm -f conftest.er1    rm -f conftest.er1
7733    cat conftest.err >&5    cat conftest.err >&5
7734    echo "$as_me:7729: \$? = $ac_status" >&5    echo "$as_me:7734: \$? = $ac_status" >&5
7735    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
7736    if test -s conftest.err; then    if test -s conftest.err; then
7737      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 7745  else Line 7750  else
7750  fi  fi
7751  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
7752  fi  fi
7753  echo "$as_me:7748: result: $ac_cv_header_X11_SM_SMlib_h" >&5  echo "$as_me:7753: result: $ac_cv_header_X11_SM_SMlib_h" >&5
7754  echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6  echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6
7755  if test $ac_cv_header_X11_SM_SMlib_h = yes; then  if test $ac_cv_header_X11_SM_SMlib_h = yes; then
7756    echo "$as_me:7751: checking for SmcOpenConnection in -lSM" >&5    echo "$as_me:7756: checking for SmcOpenConnection in -lSM" >&5
7757  echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6  echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6
7758  if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then  if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
7759    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7775  SmcOpenConnection (); Line 7780  SmcOpenConnection ();
7780  }  }
7781  _ACEOF  _ACEOF
7782  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7783  if { (eval echo "$as_me:7778: \"$ac_link\"") >&5  if { (eval echo "$as_me:7783: \"$ac_link\"") >&5
7784    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7785    ac_status=$?    ac_status=$?
7786    echo "$as_me:7781: \$? = $ac_status" >&5    echo "$as_me:7786: \$? = $ac_status" >&5
7787    (exit $ac_status); } &&    (exit $ac_status); } &&
7788           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7789    { (eval echo "$as_me:7784: \"$ac_try\"") >&5    { (eval echo "$as_me:7789: \"$ac_try\"") >&5
7790    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7791    ac_status=$?    ac_status=$?
7792    echo "$as_me:7787: \$? = $ac_status" >&5    echo "$as_me:7792: \$? = $ac_status" >&5
7793    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7794    ac_cv_lib_SM_SmcOpenConnection=yes    ac_cv_lib_SM_SmcOpenConnection=yes
7795  else  else
# Line 7795  fi Line 7800  fi
7800  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7801  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7802  fi  fi
7803  echo "$as_me:7798: result: $ac_cv_lib_SM_SmcOpenConnection" >&5  echo "$as_me:7803: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
7804  echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6  echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6
7805  if test $ac_cv_lib_SM_SmcOpenConnection = yes; then  if test $ac_cv_lib_SM_SmcOpenConnection = yes; then
7806    HAVE_X_SM=yes    HAVE_X_SM=yes
# Line 7819  EOF Line 7824  EOF
7824  fi  fi
7825    
7826  # 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.
7827  echo "$as_me:7822: checking whether netdb declares h_errno" >&5  echo "$as_me:7827: checking whether netdb declares h_errno" >&5
7828  echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6  echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6
7829  if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then  if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then
7830    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7837  return h_errno; Line 7842  return h_errno;
7842  }  }
7843  _ACEOF  _ACEOF
7844  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7845  if { (eval echo "$as_me:7840: \"$ac_link\"") >&5  if { (eval echo "$as_me:7845: \"$ac_link\"") >&5
7846    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7847    ac_status=$?    ac_status=$?
7848    echo "$as_me:7843: \$? = $ac_status" >&5    echo "$as_me:7848: \$? = $ac_status" >&5
7849    (exit $ac_status); } &&    (exit $ac_status); } &&
7850           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7851    { (eval echo "$as_me:7846: \"$ac_try\"") >&5    { (eval echo "$as_me:7851: \"$ac_try\"") >&5
7852    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7853    ac_status=$?    ac_status=$?
7854    echo "$as_me:7849: \$? = $ac_status" >&5    echo "$as_me:7854: \$? = $ac_status" >&5
7855    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7856    emacs_cv_netdb_declares_h_errno=yes    emacs_cv_netdb_declares_h_errno=yes
7857  else  else
# Line 7856  emacs_cv_netdb_declares_h_errno=no Line 7861  emacs_cv_netdb_declares_h_errno=no
7861  fi  fi
7862  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7863  fi  fi
7864  echo "$as_me:7859: result: $emacs_cv_netdb_declares_h_errno" >&5  echo "$as_me:7864: result: $emacs_cv_netdb_declares_h_errno" >&5
7865  echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6  echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6
7866  if test $emacs_cv_netdb_declares_h_errno = yes; then  if test $emacs_cv_netdb_declares_h_errno = yes; then
7867    
# Line 7868  fi Line 7873  fi
7873    
7874  # 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
7875  # for constant arguments.  Useless!  # for constant arguments.  Useless!
7876  echo "$as_me:7871: checking for working alloca.h" >&5  echo "$as_me:7876: checking for working alloca.h" >&5
7877  echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6  echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
7878  if test "${ac_cv_working_alloca_h+set}" = set; then  if test "${ac_cv_working_alloca_h+set}" = set; then
7879    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7886  char *p = (char *) alloca (2 * sizeof (i Line 7891  char *p = (char *) alloca (2 * sizeof (i
7891  }  }
7892  _ACEOF  _ACEOF
7893  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7894  if { (eval echo "$as_me:7889: \"$ac_link\"") >&5  if { (eval echo "$as_me:7894: \"$ac_link\"") >&5
7895    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7896    ac_status=$?    ac_status=$?
7897    echo "$as_me:7892: \$? = $ac_status" >&5    echo "$as_me:7897: \$? = $ac_status" >&5
7898    (exit $ac_status); } &&    (exit $ac_status); } &&
7899           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7900    { (eval echo "$as_me:7895: \"$ac_try\"") >&5    { (eval echo "$as_me:7900: \"$ac_try\"") >&5
7901    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7902    ac_status=$?    ac_status=$?
7903    echo "$as_me:7898: \$? = $ac_status" >&5    echo "$as_me:7903: \$? = $ac_status" >&5
7904    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7905    ac_cv_working_alloca_h=yes    ac_cv_working_alloca_h=yes
7906  else  else
# Line 7905  ac_cv_working_alloca_h=no Line 7910  ac_cv_working_alloca_h=no
7910  fi  fi
7911  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7912  fi  fi
7913  echo "$as_me:7908: result: $ac_cv_working_alloca_h" >&5  echo "$as_me:7913: result: $ac_cv_working_alloca_h" >&5
7914  echo "${ECHO_T}$ac_cv_working_alloca_h" >&6  echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
7915  if test $ac_cv_working_alloca_h = yes; then  if test $ac_cv_working_alloca_h = yes; then
7916    
# Line 7915  EOF Line 7920  EOF
7920    
7921  fi  fi
7922    
7923  echo "$as_me:7918: checking for alloca" >&5  echo "$as_me:7923: checking for alloca" >&5
7924  echo $ECHO_N "checking for alloca... $ECHO_C" >&6  echo $ECHO_N "checking for alloca... $ECHO_C" >&6
7925  if test "${ac_cv_func_alloca_works+set}" = set; then  if test "${ac_cv_func_alloca_works+set}" = set; then
7926    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7953  char *p = (char *) alloca (1); Line 7958  char *p = (char *) alloca (1);
7958  }  }
7959  _ACEOF  _ACEOF
7960  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7961  if { (eval echo "$as_me:7956: \"$ac_link\"") >&5  if { (eval echo "$as_me:7961: \"$ac_link\"") >&5
7962    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7963    ac_status=$?    ac_status=$?
7964    echo "$as_me:7959: \$? = $ac_status" >&5    echo "$as_me:7964: \$? = $ac_status" >&5
7965    (exit $ac_status); } &&    (exit $ac_status); } &&
7966           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7967    { (eval echo "$as_me:7962: \"$ac_try\"") >&5    { (eval echo "$as_me:7967: \"$ac_try\"") >&5
7968    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7969    ac_status=$?    ac_status=$?
7970    echo "$as_me:7965: \$? = $ac_status" >&5    echo "$as_me:7970: \$? = $ac_status" >&5
7971    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7972    ac_cv_func_alloca_works=yes    ac_cv_func_alloca_works=yes
7973  else  else
# Line 7972  ac_cv_func_alloca_works=no Line 7977  ac_cv_func_alloca_works=no
7977  fi  fi
7978  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7979  fi  fi
7980  echo "$as_me:7975: result: $ac_cv_func_alloca_works" >&5  echo "$as_me:7980: result: $ac_cv_func_alloca_works" >&5
7981  echo "${ECHO_T}$ac_cv_func_alloca_works" >&6  echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
7982    
7983  if test $ac_cv_func_alloca_works = yes; then  if test $ac_cv_func_alloca_works = yes; then
# Line 7993  cat >>confdefs.h <<\EOF Line 7998  cat >>confdefs.h <<\EOF
7998  #define C_ALLOCA 1  #define C_ALLOCA 1
7999  EOF  EOF
8000    
8001  echo "$as_me:7996: checking whether \`alloca.c' needs Cray hooks" >&5  echo "$as_me:8001: checking whether \`alloca.c' needs Cray hooks" >&5
8002  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
8003  if test "${ac_cv_os_cray+set}" = set; then  if test "${ac_cv_os_cray+set}" = set; then
8004    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8017  fi Line 8022  fi
8022  rm -f conftest*  rm -f conftest*
8023    
8024  fi  fi
8025  echo "$as_me:8020: result: $ac_cv_os_cray" >&5  echo "$as_me:8025: result: $ac_cv_os_cray" >&5
8026  echo "${ECHO_T}$ac_cv_os_cray" >&6  echo "${ECHO_T}$ac_cv_os_cray" >&6
8027  if test $ac_cv_os_cray = yes; then  if test $ac_cv_os_cray = yes; then
8028    for ac_func in _getb67 GETB67 getb67; do    for ac_func in _getb67 GETB67 getb67; do
8029      as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`      as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8030  echo "$as_me:8025: checking for $ac_func" >&5  echo "$as_me:8030: checking for $ac_func" >&5
8031  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8032  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
8033    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8059  f = $ac_func; Line 8064  f = $ac_func;
8064  }  }
8065  _ACEOF  _ACEOF
8066  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8067  if { (eval echo "$as_me:8062: \"$ac_link\"") >&5  if { (eval echo "$as_me:8067: \"$ac_link\"") >&5
8068    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8069    ac_status=$?    ac_status=$?
8070    echo "$as_me:8065: \$? = $ac_status" >&5    echo "$as_me:8070: \$? = $ac_status" >&5
8071    (exit $ac_status); } &&    (exit $ac_status); } &&
8072           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8073    { (eval echo "$as_me:8068: \"$ac_try\"") >&5    { (eval echo "$as_me:8073: \"$ac_try\"") >&5
8074    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8075    ac_status=$?    ac_status=$?
8076    echo "$as_me:8071: \$? = $ac_status" >&5    echo "$as_me:8076: \$? = $ac_status" >&5
8077    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8078    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
8079  else  else
# Line 8078  eval "$as_ac_var=no" Line 8083  eval "$as_ac_var=no"
8083  fi  fi
8084  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8085  fi  fi
8086  echo "$as_me:8081: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:8086: result: `eval echo '${'$as_ac_var'}'`" >&5
8087  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8088  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
8089    
# Line 8092  fi Line 8097  fi
8097    done    done
8098  fi  fi
8099    
8100  echo "$as_me:8095: checking stack direction for C alloca" >&5  echo "$as_me:8100: checking stack direction for C alloca" >&5
8101  echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6  echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
8102  if test "${ac_cv_c_stack_direction+set}" = set; then  if test "${ac_cv_c_stack_direction+set}" = set; then
8103    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8124  main () Line 8129  main ()
8129  }  }
8130  _ACEOF  _ACEOF
8131  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
8132  if { (eval echo "$as_me:8127: \"$ac_link\"") >&5  if { (eval echo "$as_me:8132: \"$ac_link\"") >&5
8133    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8134    ac_status=$?    ac_status=$?
8135    echo "$as_me:8130: \$? = $ac_status" >&5    echo "$as_me:8135: \$? = $ac_status" >&5
8136    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8137    { (eval echo "$as_me:8132: \"$ac_try\"") >&5    { (eval echo "$as_me:8137: \"$ac_try\"") >&5
8138    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8139    ac_status=$?    ac_status=$?
8140    echo "$as_me:8135: \$? = $ac_status" >&5    echo "$as_me:8140: \$? = $ac_status" >&5
8141    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8142    ac_cv_c_stack_direction=1    ac_cv_c_stack_direction=1
8143  else  else
# Line 8144  fi Line 8149  fi
8149  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
8150  fi  fi
8151  fi  fi
8152  echo "$as_me:8147: result: $ac_cv_c_stack_direction" >&5  echo "$as_me:8152: result: $ac_cv_c_stack_direction" >&5
8153  echo "${ECHO_T}$ac_cv_c_stack_direction" >&6  echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
8154    
8155  cat >>confdefs.h <<EOF  cat >>confdefs.h <<EOF
# Line 8156  fi Line 8161  fi
8161  # fmod, logb, and frexp are found in -lm on most systems.  # fmod, logb, and frexp are found in -lm on most systems.
8162  # 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.
8163    
8164  echo "$as_me:8159: checking for sqrt in -lm" >&5  echo "$as_me:8164: checking for sqrt in -lm" >&5
8165  echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6  echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
8166  if test "${ac_cv_lib_m_sqrt+set}" = set; then  if test "${ac_cv_lib_m_sqrt+set}" = set; then
8167    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8183  sqrt (); Line 8188  sqrt ();
8188  }  }
8189  _ACEOF  _ACEOF
8190  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8191  if { (eval echo "$as_me:8186: \"$ac_link\"") >&5  if { (eval echo "$as_me:8191: \"$ac_link\"") >&5
8192    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8193    ac_status=$?    ac_status=$?
8194    echo "$as_me:8189: \$? = $ac_status" >&5    echo "$as_me:8194: \$? = $ac_status" >&5
8195    (exit $ac_status); } &&    (exit $ac_status); } &&
8196           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8197    { (eval echo "$as_me:8192: \"$ac_try\"") >&5    { (eval echo "$as_me:8197: \"$ac_try\"") >&5
8198    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8199    ac_status=$?    ac_status=$?
8200    echo "$as_me:8195: \$? = $ac_status" >&5    echo "$as_me:8200: \$? = $ac_status" >&5
8201    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8202    ac_cv_lib_m_sqrt=yes    ac_cv_lib_m_sqrt=yes
8203  else  else
# Line 8203  fi Line 8208  fi
8208  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8209  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
8210  fi  fi
8211  echo "$as_me:8206: result: $ac_cv_lib_m_sqrt" >&5  echo "$as_me:8211: result: $ac_cv_lib_m_sqrt" >&5
8212  echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6  echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
8213  if test $ac_cv_lib_m_sqrt = yes; then  if test $ac_cv_lib_m_sqrt = yes; then
8214    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8216  fi Line 8221  fi
8221    
8222  # Check for mail-locking functions in a "mail" library  # Check for mail-locking functions in a "mail" library
8223    
8224  echo "$as_me:8219: checking for maillock in -lmail" >&5  echo "$as_me:8224: checking for maillock in -lmail" >&5
8225  echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6  echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6
8226  if test "${ac_cv_lib_mail_maillock+set}" = set; then  if test "${ac_cv_lib_mail_maillock+set}" = set; then
8227    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8243  maillock (); Line 8248  maillock ();
8248  }  }
8249  _ACEOF  _ACEOF
8250  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8251  if { (eval echo "$as_me:8246: \"$ac_link\"") >&5  if { (eval echo "$as_me:8251: \"$ac_link\"") >&5
8252    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8253    ac_status=$?    ac_status=$?
8254    echo "$as_me:8249: \$? = $ac_status" >&5    echo "$as_me:8254: \$? = $ac_status" >&5
8255    (exit $ac_status); } &&    (exit $ac_status); } &&
8256           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8257    { (eval echo "$as_me:8252: \"$ac_try\"") >&5    { (eval echo "$as_me:8257: \"$ac_try\"") >&5
8258    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8259    ac_status=$?    ac_status=$?
8260    echo "$as_me:8255: \$? = $ac_status" >&5    echo "$as_me:8260: \$? = $ac_status" >&5
8261    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8262    ac_cv_lib_mail_maillock=yes    ac_cv_lib_mail_maillock=yes
8263  else  else
# Line 8263  fi Line 8268  fi
8268  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8269  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
8270  fi  fi
8271  echo "$as_me:8266: result: $ac_cv_lib_mail_maillock" >&5  echo "$as_me:8271: result: $ac_cv_lib_mail_maillock" >&5
8272  echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6  echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6
8273  if test $ac_cv_lib_mail_maillock = yes; then  if test $ac_cv_lib_mail_maillock = yes; then
8274    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8274  EOF Line 8279  EOF
8279    
8280  fi  fi
8281    
8282  echo "$as_me:8277: checking for maillock in -llockfile" >&5  echo "$as_me:8282: checking for maillock in -llockfile" >&5
8283  echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6  echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6
8284  if test "${ac_cv_lib_lockfile_maillock+set}" = set; then  if test "${ac_cv_lib_lockfile_maillock+set}" = set; then
8285    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8301  maillock (); Line 8306  maillock ();
8306  }  }
8307  _ACEOF  _ACEOF
8308  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8309  if { (eval echo "$as_me:8304: \"$ac_link\"") >&5  if { (eval echo "$as_me:8309: \"$ac_link\"") >&5
8310    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8311    ac_status=$?    ac_status=$?
8312    echo "$as_me:8307: \$? = $ac_status" >&5    echo "$as_me:8312: \$? = $ac_status" >&5
8313    (exit $ac_status); } &&    (exit $ac_status); } &&
8314           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8315    { (eval echo "$as_me:8310: \"$ac_try\"") >&5    { (eval echo "$as_me:8315: \"$ac_try\"") >&5
8316    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8317    ac_status=$?    ac_status=$?
8318    echo "$as_me:8313: \$? = $ac_status" >&5    echo "$as_me:8318: \$? = $ac_status" >&5
8319    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8320    ac_cv_lib_lockfile_maillock=yes    ac_cv_lib_lockfile_maillock=yes
8321  else  else
# Line 8321  fi Line 8326  fi
8326  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8327  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
8328  fi  fi
8329  echo "$as_me:8324: result: $ac_cv_lib_lockfile_maillock" >&5  echo "$as_me:8329: result: $ac_cv_lib_lockfile_maillock" >&5
8330  echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6  echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6
8331  if test $ac_cv_lib_lockfile_maillock = yes; then  if test $ac_cv_lib_lockfile_maillock = yes; then
8332    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8338  fi Line 8343  fi
8343  if test "$ac_cv_lib_lockfile_maillock" = no; then  if test "$ac_cv_lib_lockfile_maillock" = no; then
8344        # 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.
8345  set dummy liblockfile.so; ac_word=$2  set dummy liblockfile.so; ac_word=$2
8346  echo "$as_me:8341: checking for $ac_word" >&5  echo "$as_me:8346: checking for $ac_word" >&5
8347  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8348  if test "${ac_cv_prog_liblockfile+set}" = set; then  if test "${ac_cv_prog_liblockfile+set}" = set; then
8349    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8353  for ac_dir in $ac_dummy; do Line 8358  for ac_dir in $ac_dummy; do
8358    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
8359    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
8360  ac_cv_prog_liblockfile="yes"  ac_cv_prog_liblockfile="yes"
8361  echo "$as_me:8356: found $ac_dir/$ac_word" >&5  echo "$as_me:8361: found $ac_dir/$ac_word" >&5
8362  break  break
8363  done  done
8364    
# Line 8362  fi Line 8367  fi
8367  fi  fi
8368  liblockfile=$ac_cv_prog_liblockfile  liblockfile=$ac_cv_prog_liblockfile
8369  if test -n "$liblockfile"; then  if test -n "$liblockfile"; then
8370    echo "$as_me:8365: result: $liblockfile" >&5    echo "$as_me:8370: result: $liblockfile" >&5
8371  echo "${ECHO_T}$liblockfile" >&6  echo "${ECHO_T}$liblockfile" >&6
8372  else  else
8373    echo "$as_me:8368: result: no" >&5    echo "$as_me:8373: result: no" >&5
8374  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
8375  fi  fi
8376    
8377    if test $ac_cv_prog_liblockfile = yes; then    if test $ac_cv_prog_liblockfile = yes; then
8378      { { echo "$as_me:8373: error: Shared liblockfile found but can't link against it.      { { echo "$as_me:8378: error: Shared liblockfile found but can't link against it.
8379  This probably means that movemail could lose mail.  This probably means that movemail could lose mail.
8380  There may be a \`development' package to install containing liblockfile." >&5  There may be a \`development' package to install containing liblockfile." >&5
8381  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 8389  fi Line 8394  fi
8394  for ac_func in touchlock  for ac_func in touchlock
8395  do  do
8396  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8397  echo "$as_me:8392: checking for $ac_func" >&5  echo "$as_me:8397: checking for $ac_func" >&5
8398  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8399  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
8400    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8426  f = $ac_func; Line 8431  f = $ac_func;
8431  }  }
8432  _ACEOF  _ACEOF
8433  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8434  if { (eval echo "$as_me:8429: \"$ac_link\"") >&5  if { (eval echo "$as_me:8434: \"$ac_link\"") >&5
8435    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8436    ac_status=$?    ac_status=$?
8437    echo "$as_me:8432: \$? = $ac_status" >&5    echo "$as_me:8437: \$? = $ac_status" >&5
8438    (exit $ac_status); } &&    (exit $ac_status); } &&
8439           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8440    { (eval echo "$as_me:8435: \"$ac_try\"") >&5    { (eval echo "$as_me:8440: \"$ac_try\"") >&5
8441    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8442    ac_status=$?    ac_status=$?
8443    echo "$as_me:8438: \$? = $ac_status" >&5    echo "$as_me:8443: \$? = $ac_status" >&5
8444    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8445    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
8446  else  else
# Line 8445  eval "$as_ac_var=no" Line 8450  eval "$as_ac_var=no"
8450  fi  fi
8451  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8452  fi  fi
8453  echo "$as_me:8448: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:8453: result: `eval echo '${'$as_ac_var'}'`" >&5
8454  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8455  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
8456    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8458  done Line 8463  done
8463  for ac_header in maillock.h  for ac_header in maillock.h
8464  do  do
8465  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8466  echo "$as_me:8461: checking for $ac_header" >&5  echo "$as_me:8466: checking for $ac_header" >&5
8467  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8468  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
8469    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8468  else Line 8473  else
8473  #include "confdefs.h"  #include "confdefs.h"
8474  #include <$ac_header>  #include <$ac_header>
8475  _ACEOF  _ACEOF
8476  if { (eval echo "$as_me:8471: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:8476: \"$ac_cpp conftest.$ac_ext\"") >&5
8477    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8478    ac_status=$?    ac_status=$?
8479    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
8480    rm -f conftest.er1    rm -f conftest.er1
8481    cat conftest.err >&5    cat conftest.err >&5
8482    echo "$as_me:8477: \$? = $ac_status" >&5    echo "$as_me:8482: \$? = $ac_status" >&5
8483    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
8484    if test -s conftest.err; then    if test -s conftest.err; then
8485      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 8493  else Line 8498  else
8498  fi  fi
8499  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
8500  fi  fi
8501  echo "$as_me:8496: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:8501: result: `eval echo '${'$as_ac_Header'}'`" >&5
8502  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8503  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
8504    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8513  sendto recvfrom getsockopt setsockopt ge Line 8518  sendto recvfrom getsockopt setsockopt ge
8518  gai_strerror mkstemp getline getdelim  gai_strerror mkstemp getline getdelim
8519  do  do
8520  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8521  echo "$as_me:8516: checking for $ac_func" >&5  echo "$as_me:8521: checking for $ac_func" >&5
8522  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8523  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
8524    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8550  f = $ac_func; Line 8555  f = $ac_func;
8555  }  }
8556  _ACEOF  _ACEOF
8557  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8558  if { (eval echo "$as_me:8553: \"$ac_link\"") >&5  if { (eval echo "$as_me:8558: \"$ac_link\"") >&5
8559    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8560    ac_status=$?    ac_status=$?
8561    echo "$as_me:8556: \$? = $ac_status" >&5    echo "$as_me:8561: \$? = $ac_status" >&5
8562    (exit $ac_status); } &&    (exit $ac_status); } &&
8563           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8564    { (eval echo "$as_me:8559: \"$ac_try\"") >&5    { (eval echo "$as_me:8564: \"$ac_try\"") >&5
8565    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8566    ac_status=$?    ac_status=$?
8567    echo "$as_me:8562: \$? = $ac_status" >&5    echo "$as_me:8567: \$? = $ac_status" >&5
8568    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8569    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
8570  else  else
# Line 8569  eval "$as_ac_var=no" Line 8574  eval "$as_ac_var=no"
8574  fi  fi
8575  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8576  fi  fi
8577  echo "$as_me:8572: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:8577: result: `eval echo '${'$as_ac_var'}'`" >&5
8578  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8579  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
8580    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8582  done Line 8587  done
8587  for ac_header in sys/un.h  for ac_header in sys/un.h
8588  do  do
8589  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8590  echo "$as_me:8585: checking for $ac_header" >&5  echo "$as_me:8590: checking for $ac_header" >&5
8591  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8592  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
8593    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8592  else Line 8597  else
8597  #include "confdefs.h"  #include "confdefs.h"
8598  #include <$ac_header>  #include <$ac_header>
8599  _ACEOF  _ACEOF
8600  if { (eval echo "$as_me:8595: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:8600: \"$ac_cpp conftest.$ac_ext\"") >&5
8601    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8602    ac_status=$?    ac_status=$?
8603    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
8604    rm -f conftest.er1    rm -f conftest.er1
8605    cat conftest.err >&5    cat conftest.err >&5
8606    echo "$as_me:8601: \$? = $ac_status" >&5    echo "$as_me:8606: \$? = $ac_status" >&5
8607    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
8608    if test -s conftest.err; then    if test -s conftest.err; then
8609      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 8617  else Line 8622  else
8622  fi  fi
8623  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
8624  fi  fi
8625  echo "$as_me:8620: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:8625: result: `eval echo '${'$as_ac_Header'}'`" >&5
8626  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8627  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
8628    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8630  done Line 8635  done
8635  for ac_header in sys/time.h unistd.h  for ac_header in sys/time.h unistd.h
8636  do  do
8637  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8638  echo "$as_me:8633: checking for $ac_header" >&5  echo "$as_me:8638: checking for $ac_header" >&5
8639  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8640  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
8641    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8640  else Line 8645  else
8645  #include "confdefs.h"  #include "confdefs.h"
8646  #include <$ac_header>  #include <$ac_header>
8647  _ACEOF  _ACEOF
8648  if { (eval echo "$as_me:8643: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:8648: \"$ac_cpp conftest.$ac_ext\"") >&5
8649    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8650    ac_status=$?    ac_status=$?
8651    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
8652    rm -f conftest.er1    rm -f conftest.er1
8653    cat conftest.err >&5    cat conftest.err >&5
8654    echo "$as_me:8649: \$? = $ac_status" >&5    echo "$as_me:8654: \$? = $ac_status" >&5
8655    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
8656    if test -s conftest.err; then    if test -s conftest.err; then
8657      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 8665  else Line 8670  else
8670  fi  fi
8671  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
8672  fi  fi
8673  echo "$as_me:8668: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:8673: result: `eval echo '${'$as_ac_Header'}'`" >&5
8674  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8675  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
8676    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8678  done Line 8683  done
8683  for ac_func in alarm  for ac_func in alarm
8684  do  do
8685  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8686  echo "$as_me:8681: checking for $ac_func" >&5  echo "$as_me:8686: checking for $ac_func" >&5
8687  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8688  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
8689    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8715  f = $ac_func; Line 8720  f = $ac_func;
8720  }  }
8721  _ACEOF  _ACEOF
8722  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8723  if { (eval echo "$as_me:8718: \"$ac_link\"") >&5  if { (eval echo "$as_me:8723: \"$ac_link\"") >&5
8724    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8725    ac_status=$?    ac_status=$?
8726    echo "$as_me:8721: \$? = $ac_status" >&5    echo "$as_me:8726: \$? = $ac_status" >&5
8727    (exit $ac_status); } &&    (exit $ac_status); } &&
8728           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8729    { (eval echo "$as_me:8724: \"$ac_try\"") >&5    { (eval echo "$as_me:8729: \"$ac_try\"") >&5
8730    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8731    ac_status=$?    ac_status=$?
8732    echo "$as_me:8727: \$? = $ac_status" >&5    echo "$as_me:8732: \$? = $ac_status" >&5
8733    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8734    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
8735  else  else
# Line 8734  eval "$as_ac_var=no" Line 8739  eval "$as_ac_var=no"
8739  fi  fi
8740  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8741  fi  fi
8742  echo "$as_me:8737: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:8742: result: `eval echo '${'$as_ac_var'}'`" >&5
8743  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8744  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
8745    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8744  EOF Line 8749  EOF
8749  fi  fi
8750  done  done
8751    
8752  echo "$as_me:8747: checking for working mktime" >&5  echo "$as_me:8752: checking for working mktime" >&5
8753  echo $ECHO_N "checking for working mktime... $ECHO_C" >&6  echo $ECHO_N "checking for working mktime... $ECHO_C" >&6
8754  if test "${ac_cv_func_working_mktime+set}" = set; then  if test "${ac_cv_func_working_mktime+set}" = set; then
8755    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8902  main () Line 8907  main ()
8907  }  }
8908  _ACEOF  _ACEOF
8909  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
8910  if { (eval echo "$as_me:8905: \"$ac_link\"") >&5  if { (eval echo "$as_me:8910: \"$ac_link\"") >&5
8911    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8912    ac_status=$?    ac_status=$?
8913    echo "$as_me:8908: \$? = $ac_status" >&5    echo "$as_me:8913: \$? = $ac_status" >&5
8914    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8915    { (eval echo "$as_me:8910: \"$ac_try\"") >&5    { (eval echo "$as_me:8915: \"$ac_try\"") >&5
8916    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8917    ac_status=$?    ac_status=$?
8918    echo "$as_me:8913: \$? = $ac_status" >&5    echo "$as_me:8918: \$? = $ac_status" >&5
8919    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8920    ac_cv_func_working_mktime=yes    ac_cv_func_working_mktime=yes
8921  else  else
# Line 8922  fi Line 8927  fi
8927  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
8928  fi  fi
8929  fi  fi
8930  echo "$as_me:8925: result: $ac_cv_func_working_mktime" >&5  echo "$as_me:8930: result: $ac_cv_func_working_mktime" >&5
8931  echo "${ECHO_T}$ac_cv_func_working_mktime" >&6  echo "${ECHO_T}$ac_cv_func_working_mktime" >&6
8932  if test $ac_cv_func_working_mktime = no; then  if test $ac_cv_func_working_mktime = no; then
8933    LIBOBJS="$LIBOBJS mktime.$ac_objext"    LIBOBJS="$LIBOBJS mktime.$ac_objext"
# Line 8941  ac_have_func=no # yes means we've found Line 8946  ac_have_func=no # yes means we've found
8946  ac_save_LIBS=$LIBS  ac_save_LIBS=$LIBS
8947    
8948  # Check for getloadavg, but be sure not to touch the cache variable.  # Check for getloadavg, but be sure not to touch the cache variable.
8949  (echo "$as_me:8944: checking for getloadavg" >&5  (echo "$as_me:8949: checking for getloadavg" >&5
8950  echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6  echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6
8951  if test "${ac_cv_func_getloadavg+set}" = set; then  if test "${ac_cv_func_getloadavg+set}" = set; then
8952    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8978  f = getloadavg; Line 8983  f = getloadavg;
8983  }  }
8984  _ACEOF  _ACEOF
8985  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8986  if { (eval echo "$as_me:8981: \"$ac_link\"") >&5  if { (eval echo "$as_me:8986: \"$ac_link\"") >&5
8987    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8988    ac_status=$?    ac_status=$?
8989    echo "$as_me:8984: \$? = $ac_status" >&5    echo "$as_me:8989: \$? = $ac_status" >&5
8990    (exit $ac_status); } &&    (exit $ac_status); } &&
8991           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8992    { (eval echo "$as_me:8987: \"$ac_try\"") >&5    { (eval echo "$as_me:8992: \"$ac_try\"") >&5
8993    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8994    ac_status=$?    ac_status=$?
8995    echo "$as_me:8990: \$? = $ac_status" >&5    echo "$as_me:8995: \$? = $ac_status" >&5
8996    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8997    ac_cv_func_getloadavg=yes    ac_cv_func_getloadavg=yes
8998  else  else
# Line 8997  ac_cv_func_getloadavg=no Line 9002  ac_cv_func_getloadavg=no
9002  fi  fi
9003  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9004  fi  fi
9005  echo "$as_me:9000: result: $ac_cv_func_getloadavg" >&5  echo "$as_me:9005: result: $ac_cv_func_getloadavg" >&5
9006  echo "${ECHO_T}$ac_cv_func_getloadavg" >&6  echo "${ECHO_T}$ac_cv_func_getloadavg" >&6
9007  if test $ac_cv_func_getloadavg = yes; then  if test $ac_cv_func_getloadavg = yes; then
9008    exit 0    exit 0
# Line 9011  fi Line 9016  fi
9016  for ac_func in pstat_getdynamic  for ac_func in pstat_getdynamic
9017  do  do
9018  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9019  echo "$as_me:9014: checking for $ac_func" >&5  echo "$as_me:9019: checking for $ac_func" >&5
9020  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9021  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
9022    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 9048  f = $ac_func; Line 9053  f = $ac_func;
9053  }  }
9054  _ACEOF  _ACEOF
9055  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9056  if { (eval echo "$as_me:9051: \"$ac_link\"") >&5  if { (eval echo "$as_me:9056: \"$ac_link\"") >&5
9057    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9058    ac_status=$?    ac_status=$?
9059    echo "$as_me:9054: \$? = $ac_status" >&5    echo "$as_me:9059: \$? = $ac_status" >&5
9060    (exit $ac_status); } &&    (exit $ac_status); } &&
9061           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9062    { (eval echo "$as_me:9057: \"$ac_try\"") >&5    { (eval echo "$as_me:9062: \"$ac_try\"") >&5
9063    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9064    ac_status=$?    ac_status=$?
9065    echo "$as_me:9060: \$? = $ac_status" >&5    echo "$as_me:9065: \$? = $ac_status" >&5
9066    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9067    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
9068  else  else
# Line 9067  eval "$as_ac_var=no" Line 9072  eval "$as_ac_var=no"
9072  fi  fi
9073  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9074  fi  fi
9075  echo "$as_me:9070: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:9075: result: `eval echo '${'$as_ac_var'}'`" >&5
9076  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9077  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
9078    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 9079  done Line 9084  done
9084    
9085  # Solaris has libkstat which does not require root.  # Solaris has libkstat which does not require root.
9086    
9087  echo "$as_me:9082: checking for kstat_open in -lkstat" >&5  echo "$as_me:9087: checking for kstat_open in -lkstat" >&5
9088  echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6  echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6
9089  if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then  if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then
9090    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 9106  kstat_open (); Line 9111  kstat_open ();
9111  }  }
9112  _ACEOF  _ACEOF
9113  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9114  if { (eval echo "$as_me:9109: \"$ac_link\"") >&5  if { (eval echo "$as_me:9114: \"$ac_link\"") >&5
9115    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9116    ac_status=$?    ac_status=$?
9117    echo "$as_me:9112: \$? = $ac_status" >&5    echo "$as_me:9117: \$? = $ac_status" >&5
9118    (exit $ac_status); } &&    (exit $ac_status); } &&
9119           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9120    { (eval echo "$as_me:9115: \"$ac_try\"") >&5    { (eval echo "$as_me:9120: \"$ac_try\"") >&5
9121    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9122    ac_status=$?    ac_status=$?
9123    echo "$as_me:9118: \$? = $ac_status" >&5    echo "$as_me:9123: \$? = $ac_status" >&5
9124    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9125    ac_cv_lib_kstat_kstat_open=yes    ac_cv_lib_kstat_kstat_open=yes
9126  else  else
# Line 9126  fi Line 9131  fi
9131  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9132  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
9133  fi  fi
9134  echo "$as_me:9129: result: $ac_cv_lib_kstat_kstat_open" >&5  echo "$as_me:9134: result: $ac_cv_lib_kstat_kstat_open" >&5
9135  echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6  echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6
9136  if test $ac_cv_lib_kstat_kstat_open = yes; then  if test $ac_cv_lib_kstat_kstat_open = yes; then
9137    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 9144  test $ac_cv_lib_kstat_kstat_open = yes & Line 9149  test $ac_cv_lib_kstat_kstat_open = yes &
9149  # to get the right answer into the cache.  # to get the right answer into the cache.
9150  # 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.
9151  if test $ac_have_func = no; then  if test $ac_have_func = no; then
9152    echo "$as_me:9147: checking for elf_begin in -lelf" >&5    echo "$as_me:9152: checking for elf_begin in -lelf" >&5
9153  echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6  echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
9154  if test "${ac_cv_lib_elf_elf_begin+set}" = set; then  if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
9155    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 9171  elf_begin (); Line 9176  elf_begin ();
9176  }  }
9177  _ACEOF  _ACEOF
9178  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9179  if { (eval echo "$as_me:9174: \"$ac_link\"") >&5  if { (eval echo "$as_me:9179: \"$ac_link\"") >&5
9180    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9181    ac_status=$?    ac_status=$?
9182    echo "$as_me:9177: \$? = $ac_status" >&5    echo "$as_me:9182: \$? = $ac_status" >&5
9183    (exit $ac_status); } &&    (exit $ac_status); } &&
9184           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9185    { (eval echo "$as_me:9180: \"$ac_try\"") >&5    { (eval echo "$as_me:9185: \"$ac_try\"") >&5
9186    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9187    ac_status=$?    ac_status=$?
9188    echo "$as_me:9183: \$? = $ac_status" >&5    echo "$as_me:9188: \$? = $ac_status" >&5
9189    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9190    ac_cv_lib_elf_elf_begin=yes    ac_cv_lib_elf_elf_begin=yes
9191  else  else
# Line 9191  fi Line 9196  fi
9196  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9197  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
9198  fi  fi
9199  echo "$as_me:9194: result: $ac_cv_lib_elf_elf_begin" >&5  echo "$as_me:9199: result: $ac_cv_lib_elf_elf_begin" >&5
9200  echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6  echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
9201  if test $ac_cv_lib_elf_elf_begin = yes; then  if test $ac_cv_lib_elf_elf_begin = yes; then
9202    LIBS="-lelf $LIBS"    LIBS="-lelf $LIBS"
# Line 9199  fi Line 9204  fi
9204    
9205  fi  fi
9206  if test $ac_have_func = no; then  if test $ac_have_func = no; then
9207    echo "$as_me:9202: checking for kvm_open in -lkvm" >&5    echo "$as_me:9207: checking for kvm_open in -lkvm" >&5
9208  echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6  echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6
9209  if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then  if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then
9210    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 9226  kvm_open (); Line 9231  kvm_open ();
9231  }  }
9232  _ACEOF  _ACEOF
9233  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9234  if { (eval echo "$as_me:9229: \"$ac_link\"") >&5  if { (eval echo "$as_me:9234: \"$ac_link\"") >&5
9235    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9236    ac_status=$?    ac_status=$?
9237    echo "$as_me:9232: \$? = $ac_status" >&5    echo "$as_me:9237: \$? = $ac_status" >&5
9238    (exit $ac_status); } &&    (exit $ac_status); } &&
9239           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9240    { (eval echo "$as_me:9235: \"$ac_try\"") >&5    { (eval echo "$as_me:9240: \"$ac_try\"") >&5
9241    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9242    ac_status=$?    ac_status=$?
9243    echo "$as_me:9238: \$? = $ac_status" >&5    echo "$as_me:9243: \$? = $ac_status" >&5
9244    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9245    ac_cv_lib_kvm_kvm_open=yes    ac_cv_lib_kvm_kvm_open=yes
9246  else  else
# Line 9246  fi Line 9251  fi
9251  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9252  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
9253  fi  fi
9254  echo "$as_me:9249: result: $ac_cv_lib_kvm_kvm_open" >&5  echo "$as_me:9254: result: $ac_cv_lib_kvm_kvm_open" >&5
9255  echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6  echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6
9256  if test $ac_cv_lib_kvm_kvm_open = yes; then  if test $ac_cv_lib_kvm_kvm_open = yes; then
9257    LIBS="-lkvm $LIBS"    LIBS="-lkvm $LIBS"
9258  fi  fi
9259    
9260    # Check for the 4.4BSD definition of getloadavg.    # Check for the 4.4BSD definition of getloadavg.
9261    echo "$as_me:9256: checking for getloadavg in -lutil" >&5    echo "$as_me:9261: checking for getloadavg in -lutil" >&5
9262  echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6  echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6
9263  if test "${ac_cv_lib_util_getloadavg+set}" = set; then  if test "${ac_cv_lib_util_getloadavg+set}" = set; then
9264    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 9280  getloadavg (); Line 9285  getloadavg ();
9285  }  }
9286  _ACEOF  _ACEOF
9287  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9288  if { (eval echo "$as_me:9283: \"$ac_link\"") >&5  if { (eval echo "$as_me:9288: \"$ac_link\"") >&5
9289    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9290    ac_status=$?    ac_status=$?
9291    echo "$as_me:9286: \$? = $ac_status" >&5    echo "$as_me:9291: \$? = $ac_status" >&5
9292    (exit $ac_status); } &&    (exit $ac_status); } &&
9293           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9294    { (eval echo "$as_me:9289: \"$ac_try\"") >&5    { (eval echo "$as_me:9294: \"$ac_try\"") >&5
9295    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9296    ac_status=$?    ac_status=$?
9297    echo "$as_me:9292: \$? = $ac_status" >&5    echo "$as_me:9297: \$? = $ac_status" >&5
9298    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9299    ac_cv_lib_util_getloadavg=yes    ac_cv_lib_util_getloadavg=yes
9300  else  else
# Line 9300  fi Line 9305  fi
9305  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9306  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
9307  fi  fi
9308  echo "$as_me:9303: result: $ac_cv_lib_util_getloadavg" >&5  echo "$as_me:9308: result: $ac_cv_lib_util_getloadavg" >&5
9309  echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6  echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6
9310  if test $ac_cv_lib_util_getloadavg = yes; then  if test $ac_cv_lib_util_getloadavg = yes; then
9311    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 9313  if test $ac_have_func = no; then Line 9318  if test $ac_have_func = no; then
9318    # 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.
9319    ac_getloadavg_LIBS=$LIBS    ac_getloadavg_LIBS=$LIBS
9320    LIBS="-L/usr/local/lib $LIBS"    LIBS="-L/usr/local/lib $LIBS"
9321    echo "$as_me:9316: checking for getloadavg in -lgetloadavg" >&5    echo "$as_me:9321: checking for getloadavg in -lgetloadavg" >&5
9322  echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6  echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6
9323  if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then  if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then
9324    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 9340  getloadavg (); Line 9345  getloadavg ();
9345  }  }
9346  _ACEOF  _ACEOF
9347  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9348  if { (eval echo "$as_me:9343: \"$ac_link\"") >&5  if { (eval echo "$as_me:9348: \"$ac_link\"") >&5
9349    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9350    ac_status=$?    ac_status=$?
9351    echo "$as_me:9346: \$? = $ac_status" >&5    echo "$as_me:9351: \$? = $ac_status" >&5
9352    (exit $ac_status); } &&    (exit $ac_status); } &&
9353           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9354    { (eval echo "$as_me:9349: \"$ac_try\"") >&5    { (eval echo "$as_me:9354: \"$ac_try\"") >&5
9355    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9356    ac_status=$?    ac_status=$?
9357    echo "$as_me:9352: \$? = $ac_status" >&5    echo "$as_me:9357: \$? = $ac_status" >&5
9358    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9359    ac_cv_lib_getloadavg_getloadavg=yes    ac_cv_lib_getloadavg_getloadavg=yes
9360  else  else
# Line 9360  fi Line 9365  fi
9365  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9366  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
9367  fi  fi
9368  echo "$as_me:9363: result: $ac_cv_lib_getloadavg_getloadavg" >&5  echo "$as_me:9368: result: $ac_cv_lib_getloadavg_getloadavg" >&5
9369  echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6  echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6
9370  if test $ac_cv_lib_getloadavg_getloadavg = yes; then  if test $ac_cv_lib_getloadavg_getloadavg = yes; then
9371    LIBS="-lgetloadavg $LIBS"    LIBS="-lgetloadavg $LIBS"
# Line 9376  fi Line 9381  fi
9381  for ac_func in getloadavg  for ac_func in getloadavg
9382  do  do
9383  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9384  echo "$as_me:9379: checking for $ac_func" >&5  echo "$as_me:9384: checking for $ac_func" >&5
9385  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9386  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
9387    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 9413  f = $ac_func; Line 9418  f = $ac_func;
9418  }  }
9419  _ACEOF  _ACEOF
9420  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9421  if { (eval echo "$as_me:9416: \"$ac_link\"") >&5  if { (eval echo "$as_me:9421: \"$ac_link\"") >&5
9422    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9423    ac_status=$?    ac_status=$?
9424    echo "$as_me:9419: \$? = $ac_status" >&5    echo "$as_me:9424: \$? = $ac_status" >&5
9425    (exit $ac_status); } &&    (exit $ac_status); } &&
9426           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9427    { (eval echo "$as_me:9422: \"$ac_try\"") >&5    { (eval echo "$as_me:9427: \"$ac_try\"") >&5
9428    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9429    ac_status=$?    ac_status=$?
9430    echo "$as_me:9425: \$? = $ac_status" >&5    echo "$as_me:9430: \$? = $ac_status" >&5
9431    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9432    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
9433  else  else
# Line 9432  eval "$as_ac_var=no" Line 9437  eval "$as_ac_var=no"
9437  fi  fi
9438  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9439  fi  fi
9440  echo "$as_me:9435: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:9440: result: `eval echo '${'$as_ac_var'}'`" >&5
9441  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9442  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
9443    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 9448  EOF Line 9453  EOF
9453    
9454  # Figure out what our getloadavg.c needs.  # Figure out what our getloadavg.c needs.
9455  ac_have_func=no  ac_have_func=no
9456  echo "$as_me:9451: checking for sys/dg_sys_info.h" >&5  echo "$as_me:9456: checking for sys/dg_sys_info.h" >&5
9457  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
9458  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
9459    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 9458  else Line 9463  else
9463  #include "confdefs.h"  #include "confdefs.h"
9464  #include <sys/dg_sys_info.h>  #include <sys/dg_sys_info.h>
9465  _ACEOF  _ACEOF
9466  if { (eval echo "$as_me:9461: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:9466: \"$ac_cpp conftest.$ac_ext\"") >&5
9467    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9468    ac_status=$?    ac_status=$?
9469    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
9470    rm -f conftest.er1    rm -f conftest.er1
9471    cat conftest.err >&5    cat conftest.err >&5
9472    echo "$as_me:9467: \$? = $ac_status" >&5    echo "$as_me:9472: \$? = $ac_status" >&5
9473    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
9474    if test -s conftest.err; then    if test -s conftest.err; then
9475      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 9483  else Line 9488  else
9488  fi  fi
9489  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
9490  fi  fi
9491  echo "$as_me:9486: result: $ac_cv_header_sys_dg_sys_info_h" >&5  echo "$as_me:9491: result: $ac_cv_header_sys_dg_sys_info_h" >&5
9492  echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6  echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
9493  if test $ac_cv_header_sys_dg_sys_info_h = yes; then  if test $ac_cv_header_sys_dg_sys_info_h = yes; then
9494    ac_have_func=yes    ac_have_func=yes
# Line 9492  cat >>confdefs.h <<\EOF Line 9497  cat >>confdefs.h <<\EOF
9497  #define DGUX 1  #define DGUX 1
9498  EOF  EOF
9499    
9500  echo "$as_me:9495: checking for dg_sys_info in -ldgc" >&5  echo "$as_me:9500: checking for dg_sys_info in -ldgc" >&5
9501  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
9502  if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then  if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then
9503    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 9519  dg_sys_info (); Line 9524  dg_sys_info ();
9524  }  }
9525  _ACEOF  _ACEOF
9526  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9527  if { (eval echo "$as_me:9522: \"$ac_link\"") >&5  if { (eval echo "$as_me:9527: \"$ac_link\"") >&5
9528    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9529    ac_status=$?    ac_status=$?
9530    echo "$as_me:9525: \$? = $ac_status" >&5    echo "$as_me:9530: \$? = $ac_status" >&5
9531    (exit $ac_status); } &&    (exit $ac_status); } &&
9532           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9533    { (eval echo "$as_me:9528: \"$ac_try\"") >&5    { (eval echo "$as_me:9533: \"$ac_try\"") >&5
9534    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9535    ac_status=$?    ac_status=$?
9536    echo "$as_me:9531: \$? = $ac_status" >&5    echo "$as_me:9536: \$? = $ac_status" >&5
9537    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9538    ac_cv_lib_dgc_dg_sys_info=yes    ac_cv_lib_dgc_dg_sys_info=yes
9539  else  else
# Line 9539  fi Line 9544  fi
9544  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9545  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
9546  fi  fi
9547  echo "$as_me:9542: result: $ac_cv_lib_dgc_dg_sys_info" >&5  echo "$as_me:9547: result: $ac_cv_lib_dgc_dg_sys_info" >&5
9548  echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6  echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6
9549  if test $ac_cv_lib_dgc_dg_sys_info = yes; then  if test $ac_cv_lib_dgc_dg_sys_info = yes; then
9550    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 9552  fi Line 9557  fi
9557    
9558  fi  fi
9559    
9560  echo "$as_me:9555: checking for locale.h" >&5  echo "$as_me:9560: checking for locale.h" >&5
9561  echo $ECHO_N "checking for locale.h... $ECHO_C" >&6  echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
9562  if test "${ac_cv_header_locale_h+set}" = set; then  if test "${ac_cv_header_locale_h+set}" = set; then
9563    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 9562  else Line 9567  else
9567  #include "confdefs.h"  #include "confdefs.h"
9568  #include <locale.h>  #include <locale.h>
9569  _ACEOF  _ACEOF
9570  if { (eval echo "$as_me:9565: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:9570: \"$ac_cpp conftest.$ac_ext\"") >&5
9571    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9572    ac_status=$?    ac_status=$?
9573    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
9574    rm -f conftest.er1    rm -f conftest.er1
9575    cat conftest.err >&5    cat conftest.err >&5
9576    echo "$as_me:9571: \$? = $ac_status" >&5    echo "$as_me:9576: \$? = $ac_status" >&5
9577    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
9578    if test -s conftest.err; then    if test -s conftest.err; then
9579      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 9587  else Line 9592  else
9592  fi  fi
9593  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
9594  fi  fi
9595  echo "$as_me:9590: result: $ac_cv_header_locale_h" >&5  echo "$as_me:9595: result: $ac_cv_header_locale_h" >&5
9596  echo "${ECHO_T}$ac_cv_header_locale_h" >&6  echo "${ECHO_T}$ac_cv_header_locale_h" >&6
9597    
9598  for ac_func in setlocale  for ac_func in setlocale
9599  do  do
9600  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9601  echo "$as_me:9596: checking for $ac_func" >&5  echo "$as_me:9601: checking for $ac_func" >&5
9602  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9603  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
9604    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 9630  f = $ac_func; Line 9635  f = $ac_func;
9635  }  }
9636  _ACEOF  _ACEOF
9637  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9638  if { (eval echo "$as_me:9633: \"$ac_link\"") >&5  if { (eval echo "$as_me:9638: \"$ac_link\"") >&5
9639    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9640    ac_status=$?    ac_status=$?
9641    echo "$as_me:9636: \$? = $ac_status" >&5    echo "$as_me:9641: \$? = $ac_status" >&5
9642    (exit $ac_status); } &&    (exit $ac_status); } &&
9643           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9644    { (eval echo "$as_me:9639: \"$ac_try\"") >&5    { (eval echo "$as_me:9644: \"$ac_try\"") >&5
9645    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9646    ac_status=$?    ac_status=$?
9647    echo "$as_me:9642: \$? = $ac_status" >&5    echo "$as_me:9647: \$? = $ac_status" >&5
9648    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9649    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
9650  else  else
# Line 9649  eval "$as_ac_var=no" Line 9654  eval "$as_ac_var=no"
9654  fi  fi
9655  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9656  fi  fi
9657  echo "$as_me:9652: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:9657: result: `eval echo '${'$as_ac_var'}'`" >&5
9658  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9659  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
9660    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 9672  EOF Line 9677  EOF
9677  fi  fi
9678    
9679  if test $ac_have_func = no; then  if test $ac_have_func = no; then
9680    echo "$as_me:9675: checking for inq_stats/cpustats.h" >&5    echo "$as_me:9680: checking for inq_stats/cpustats.h" >&5
9681  echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6  echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
9682  if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then  if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
9683    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 9682  else Line 9687  else
9687  #include "confdefs.h"  #include "confdefs.h"
9688  #include <inq_stats/cpustats.h>  #include <inq_stats/cpustats.h>
9689  _ACEOF  _ACEOF
9690  if { (eval echo "$as_me:9685: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:9690: \"$ac_cpp conftest.$ac_ext\"") >&5
9691    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9692    ac_status=$?    ac_status=$?
9693    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
9694    rm -f conftest.er1    rm -f conftest.er1
9695    cat conftest.err >&5    cat conftest.err >&5
9696    echo "$as_me:9691: \$? = $ac_status" >&5    echo "$as_me:9696: \$? = $ac_status" >&5
9697    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
9698    if test -s conftest.err; then    if test -s conftest.err; then
9699      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 9707  else Line 9712  else
9712  fi  fi
9713  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
9714  fi  fi
9715  echo "$as_me:9710: result: $ac_cv_header_inq_stats_cpustats_h" >&5  echo "$as_me:9715: result: $ac_cv_header_inq_stats_cpustats_h" >&5
9716  echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6  echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
9717  if test $ac_cv_header_inq_stats_cpustats_h = yes; then  if test $ac_cv_header_inq_stats_cpustats_h = yes; then
9718    ac_have_func=yes    ac_have_func=yes
# Line 9725  fi Line 9730  fi
9730  fi  fi
9731    
9732  if test $ac_have_func = no; then  if test $ac_have_func = no; then
9733    echo "$as_me:9728: checking for sys/cpustats.h" >&5    echo "$as_me:9733: checking for sys/cpustats.h" >&5
9734  echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6  echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
9735  if test "${ac_cv_header_sys_cpustats_h+set}" = set; then  if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
9736    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 9735  else Line 9740  else
9740  #include "confdefs.h"  #include "confdefs.h"
9741  #include <sys/cpustats.h>  #include <sys/cpustats.h>
9742  _ACEOF  _ACEOF
9743  if { (eval echo "$as_me:9738: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:9743: \"$ac_cpp conftest.$ac_ext\"") >&5
9744    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9745    ac_status=$?    ac_status=$?
9746    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
9747    rm -f conftest.er1    rm -f conftest.er1
9748    cat conftest.err >&5    cat conftest.err >&5
9749    echo "$as_me:9744: \$? = $ac_status" >&5    echo "$as_me:9749: \$? = $ac_status" >&5
9750    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
9751    if test -s conftest.err; then    if test -s conftest.err; then
9752      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 9760  else Line 9765  else
9765  fi  fi
9766  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
9767  fi  fi
9768  echo "$as_me:9763: result: $ac_cv_header_sys_cpustats_h" >&5  echo "$as_me:9768: result: $ac_cv_header_sys_cpustats_h" >&5
9769  echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6  echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
9770  if test $ac_cv_header_sys_cpustats_h = yes; then  if test $ac_cv_header_sys_cpustats_h = yes; then
9771    ac_have_func=yes; cat >>confdefs.h <<\EOF    ac_have_func=yes; cat >>confdefs.h <<\EOF
# Line 9776  if test $ac_have_func = no; then Line 9781  if test $ac_have_func = no; then
9781  for ac_header in mach/mach.h  for ac_header in mach/mach.h
9782  do  do
9783  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9784  echo "$as_me:9779: checking for $ac_header" >&5  echo "$as_me:9784: checking for $ac_header" >&5
9785  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9786  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
9787    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 9786  else Line 9791  else
9791  #include "confdefs.h"  #include "confdefs.h"
9792  #include <$ac_header>  #include <$ac_header>
9793  _ACEOF  _ACEOF
9794  if { (eval echo "$as_me:9789: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:9794: \"$ac_cpp conftest.$ac_ext\"") >&5
9795    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9796    ac_status=$?    ac_status=$?
9797    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
9798    rm -f conftest.er1    rm -f conftest.er1
9799    cat conftest.err >&5    cat conftest.err >&5
9800    echo "$as_me:9795: \$? = $ac_status" >&5    echo "$as_me:9800: \$? = $ac_status" >&5
9801    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
9802    if test -s conftest.err; then    if test -s conftest.err; then
9803      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 9811  else Line 9816  else
9816  fi  fi
9817  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
9818  fi  fi
9819  echo "$as_me:9814: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:9819: result: `eval echo '${'$as_ac_Header'}'`" >&5
9820  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9821  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
9822    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 9826  fi Line 9831  fi
9831  for ac_header in nlist.h  for ac_header in nlist.h
9832  do  do
9833  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9834  echo "$as_me:9829: checking for $ac_header" >&5  echo "$as_me:9834: checking for $ac_header" >&5
9835  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9836  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
9837    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 9836  else Line 9841  else
9841  #include "confdefs.h"  #include "confdefs.h"
9842  #include <$ac_header>  #include <$ac_header>
9843  _ACEOF  _ACEOF
9844  if { (eval echo "$as_me:9839: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:9844: \"$ac_cpp conftest.$ac_ext\"") >&5
9845    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9846    ac_status=$?    ac_status=$?
9847    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
9848    rm -f conftest.er1    rm -f conftest.er1
9849    cat conftest.err >&5    cat conftest.err >&5
9850    echo "$as_me:9845: \$? = $ac_status" >&5    echo "$as_me:9850: \$? = $ac_status" >&5
9851    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
9852    if test -s conftest.err; then    if test -s conftest.err; then
9853      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 9861  else Line 9866  else
9866  fi  fi
9867  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
9868  fi  fi
9869  echo "$as_me:9864: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:9869: result: `eval echo '${'$as_ac_Header'}'`" >&5
9870  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9871  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
9872    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
9873  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9874  EOF  EOF
9875   echo "$as_me:9870: checking for struct nlist.n_un.n_name" >&5   echo "$as_me:9875: checking for struct nlist.n_un.n_name" >&5
9876  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
9877  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
9878    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 9888  return 0; Line 9893  return 0;
9893  }  }
9894  _ACEOF  _ACEOF
9895  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
9896  if { (eval echo "$as_me:9891: \"$ac_compile\"") >&5  if { (eval echo "$as_me:9896: \"$ac_compile\"") >&5
9897    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
9898    ac_status=$?    ac_status=$?
9899    echo "$as_me:9894: \$? = $ac_status" >&5    echo "$as_me:9899: \$? = $ac_status" >&5
9900    (exit $ac_status); } &&    (exit $ac_status); } &&
9901           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
9902    { (eval echo "$as_me:9897: \"$ac_try\"") >&5    { (eval echo "$as_me:9902: \"$ac_try\"") >&5
9903    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9904    ac_status=$?    ac_status=$?
9905    echo "$as_me:9900: \$? = $ac_status" >&5    echo "$as_me:9905: \$? = $ac_status" >&5
9906    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9907    ac_cv_member_struct_nlist_n_un_n_name=yes    ac_cv_member_struct_nlist_n_un_n_name=yes
9908  else  else
# Line 9907  ac_cv_member_struct_nlist_n_un_n_name=no Line 9912  ac_cv_member_struct_nlist_n_un_n_name=no
9912  fi  fi
9913  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
9914  fi  fi
9915  echo "$as_me:9910: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5  echo "$as_me:9915: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5
9916  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
9917  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
9918    
# Line 9928  fi Line 9933  fi
9933  done  done
9934    
9935  # Some definitions of getloadavg require that the program be installed setgid.  # Some definitions of getloadavg require that the program be installed setgid.
9936  echo "$as_me:9931: checking whether getloadavg requires setgid" >&5  echo "$as_me:9936: checking whether getloadavg requires setgid" >&5
9937  echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6  echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6
9938  if test "${ac_cv_func_getloadavg_setgid+set}" = set; then  if test "${ac_cv_func_getloadavg_setgid+set}" = set; then
9939    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 9950  fi Line 9955  fi
9955  rm -f conftest*  rm -f conftest*
9956    
9957  fi  fi
9958  echo "$as_me:9953: result: $ac_cv_func_getloadavg_setgid" >&5  echo "$as_me:9958: result: $ac_cv_func_getloadavg_setgid" >&5
9959  echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6  echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6
9960  if test $ac_cv_func_getloadavg_setgid = yes; then  if test $ac_cv_func_getloadavg_setgid = yes; then
9961    NEED_SETGID=true    NEED_SETGID=true
# Line 9964  else Line 9969  else
9969  fi  fi
9970    
9971  if test $ac_cv_func_getloadavg_setgid = yes; then  if test $ac_cv_func_getloadavg_setgid = yes; then
9972    echo "$as_me:9967: checking group of /dev/kmem" >&5    echo "$as_me:9972: checking group of /dev/kmem" >&5
9973  echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6  echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6
9974  if test "${ac_cv_group_kmem+set}" = set; then  if test "${ac_cv_group_kmem+set}" = set; then
9975    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 9979  else Line 9984  else
9984                 / /s/.* //;p;'`                 / /s/.* //;p;'`
9985    
9986  fi  fi
9987  echo "$as_me:9982: result: $ac_cv_group_kmem" >&5  echo "$as_me:9987: result: $ac_cv_group_kmem" >&5
9988  echo "${ECHO_T}$ac_cv_group_kmem" >&6  echo "${ECHO_T}$ac_cv_group_kmem" >&6
9989    KMEM_GROUP=$ac_cv_group_kmem    KMEM_GROUP=$ac_cv_group_kmem
9990  fi  fi
# Line 9990  else Line 9995  else
9995  fi  fi
9996  LIBS=$ac_save_LIBS  LIBS=$ac_save_LIBS
9997    
9998  echo "$as_me:9993: checking for _LARGEFILE_SOURCE value needed for large files" >&5  echo "$as_me:9998: checking for _LARGEFILE_SOURCE value needed for large files" >&5
9999  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
10000  if test "${ac_cv_sys_largefile_source+set}" = set; then  if test "${ac_cv_sys_largefile_source+set}" = set; then
10001    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10010  return !fseeko; Line 10015  return !fseeko;
10015  }  }
10016  _ACEOF  _ACEOF
10017  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
10018  if { (eval echo "$as_me:10013: \"$ac_compile\"") >&5  if { (eval echo "$as_me:10018: \"$ac_compile\"") >&5
10019    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
10020    ac_status=$?    ac_status=$?
10021    echo "$as_me:10016: \$? = $ac_status" >&5    echo "$as_me:10021: \$? = $ac_status" >&5
10022    (exit $ac_status); } &&    (exit $ac_status); } &&
10023           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
10024    { (eval echo "$as_me:10019: \"$ac_try\"") >&5    { (eval echo "$as_me:10024: \"$ac_try\"") >&5
10025    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10026    ac_status=$?    ac_status=$?
10027    echo "$as_me:10022: \$? = $ac_status" >&5    echo "$as_me:10027: \$? = $ac_status" >&5
10028    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10029    break    break
10030  else  else
# Line 10041  return !fseeko; Line 10046  return !fseeko;
10046  }  }
10047  _ACEOF  _ACEOF
10048  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
10049  if { (eval echo "$as_me:10044: \"$ac_compile\"") >&5  if { (eval echo "$as_me:10049: \"$ac_compile\"") >&5
10050    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
10051    ac_status=$?    ac_status=$?
10052    echo "$as_me:10047: \$? = $ac_status" >&5    echo "$as_me:10052: \$? = $ac_status" >&5
10053    (exit $ac_status); } &&    (exit $ac_status); } &&
10054           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
10055    { (eval echo "$as_me:10050: \"$ac_try\"") >&5    { (eval echo "$as_me:10055: \"$ac_try\"") >&5
10056    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10057    ac_status=$?    ac_status=$?
10058    echo "$as_me:10053: \$? = $ac_status" >&5    echo "$as_me:10058: \$? = $ac_status" >&5
10059    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10060    ac_cv_sys_largefile_source=1; break    ac_cv_sys_largefile_source=1; break
10061  else  else
# Line 10061  rm -f conftest.$ac_objext conftest.$ac_e Line 10066  rm -f conftest.$ac_objext conftest.$ac_e
10066    break    break
10067  done  done
10068  fi  fi
10069  echo "$as_me:10064: result: $ac_cv_sys_largefile_source" >&5  echo "$as_me:10069: result: $ac_cv_sys_largefile_source" >&5
10070  echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6  echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
10071  if test "$ac_cv_sys_largefile_source" != no; then  if test "$ac_cv_sys_largefile_source" != no; then
10072    
# Line 10075  rm -f conftest* Line 10080  rm -f conftest*
10080  # 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
10081  # in glibc 2.1.3, but that breaks too many other things.  # in glibc 2.1.3, but that breaks too many other things.
10082  # 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.
10083  echo "$as_me:10078: checking for fseeko" >&5  echo "$as_me:10083: checking for fseeko" >&5
10084  echo $ECHO_N "checking for fseeko... $ECHO_C" >&6  echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
10085  if test "${ac_cv_func_fseeko+set}" = set; then  if test "${ac_cv_func_fseeko+set}" = set; then
10086    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10093  return fseeko && fseeko (stdin, 0, 0); Line 10098  return fseeko && fseeko (stdin, 0, 0);
10098  }  }
10099  _ACEOF  _ACEOF
10100  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10101  if { (eval echo "$as_me:10096: \"$ac_link\"") >&5  if { (eval echo "$as_me:10101: \"$ac_link\"") >&5
10102    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10103    ac_status=$?    ac_status=$?
10104    echo "$as_me:10099: \$? = $ac_status" >&5    echo "$as_me:10104: \$? = $ac_status" >&5
10105    (exit $ac_status); } &&    (exit $ac_status); } &&
10106           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10107    { (eval echo "$as_me:10102: \"$ac_try\"") >&5    { (eval echo "$as_me:10107: \"$ac_try\"") >&5
10108    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10109    ac_status=$?    ac_status=$?
10110    echo "$as_me:10105: \$? = $ac_status" >&5    echo "$as_me:10110: \$? = $ac_status" >&5
10111    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10112    ac_cv_func_fseeko=yes    ac_cv_func_fseeko=yes
10113  else  else
# Line 10112  ac_cv_func_fseeko=no Line 10117  ac_cv_func_fseeko=no
10117  fi  fi
10118  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10119  fi  fi
10120  echo "$as_me:10115: result: $ac_cv_func_fseeko" >&5  echo "$as_me:10120: result: $ac_cv_func_fseeko" >&5
10121  echo "${ECHO_T}$ac_cv_func_fseeko" >&6  echo "${ECHO_T}$ac_cv_func_fseeko" >&6
10122  if test $ac_cv_func_fseeko = yes; then  if test $ac_cv_func_fseeko = yes; then
10123    
# Line 10127  fi Line 10132  fi
10132  for ac_func in grantpt  for ac_func in grantpt
10133  do  do
10134  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10135  echo "$as_me:10130: checking for $ac_func" >&5  echo "$as_me:10135: checking for $ac_func" >&5
10136  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10137  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
10138    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10164  f = $ac_func; Line 10169  f = $ac_func;
10169  }  }
10170  _ACEOF  _ACEOF
10171  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10172  if { (eval echo "$as_me:10167: \"$ac_link\"") >&5  if { (eval echo "$as_me:10172: \"$ac_link\"") >&5
10173    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10174    ac_status=$?    ac_status=$?
10175    echo "$as_me:10170: \$? = $ac_status" >&5    echo "$as_me:10175: \$? = $ac_status" >&5
10176    (exit $ac_status); } &&    (exit $ac_status); } &&
10177           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10178    { (eval echo "$as_me:10173: \"$ac_try\"") >&5    { (eval echo "$as_me:10178: \"$ac_try\"") >&5
10179    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10180    ac_status=$?    ac_status=$?
10181    echo "$as_me:10176: \$? = $ac_status" >&5    echo "$as_me:10181: \$? = $ac_status" >&5
10182    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10183    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
10184  else  else
# Line 10183  eval "$as_ac_var=no" Line 10188  eval "$as_ac_var=no"
10188  fi  fi
10189  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10190  fi  fi
10191  echo "$as_me:10186: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:10191: result: `eval echo '${'$as_ac_var'}'`" >&5
10192  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10193  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
10194    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10198  done Line 10203  done
10203  for ac_func in getpt  for ac_func in getpt
10204  do  do
10205  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10206  echo "$as_me:10201: checking for $ac_func" >&5  echo "$as_me:10206: checking for $ac_func" >&5
10207  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10208  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
10209    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10235  f = $ac_func; Line 10240  f = $ac_func;
10240  }  }
10241  _ACEOF  _ACEOF
10242  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10243  if { (eval echo "$as_me:10238: \"$ac_link\"") >&5  if { (eval echo "$as_me:10243: \"$ac_link\"") >&5
10244    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10245    ac_status=$?    ac_status=$?
10246    echo "$as_me:10241: \$? = $ac_status" >&5    echo "$as_me:10246: \$? = $ac_status" >&5
10247    (exit $ac_status); } &&    (exit $ac_status); } &&
10248           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10249    { (eval echo "$as_me:10244: \"$ac_try\"") >&5    { (eval echo "$as_me:10249: \"$ac_try\"") >&5
10250    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10251    ac_status=$?    ac_status=$?
10252    echo "$as_me:10247: \$? = $ac_status" >&5    echo "$as_me:10252: \$? = $ac_status" >&5
10253    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10254    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
10255  else  else
# Line 10254  eval "$as_ac_var=no" Line 10259  eval "$as_ac_var=no"
10259  fi  fi
10260  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10261  fi  fi
10262  echo "$as_me:10257: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:10262: result: `eval echo '${'$as_ac_var'}'`" >&5
10263  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10264  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
10265    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10269  done Line 10274  done
10274  # It's better to believe a function is not available  # It's better to believe a function is not available
10275  # than to expect to find it in ncurses.  # than to expect to find it in ncurses.
10276    
10277  echo "$as_me:10272: checking for tparm in -lncurses" >&5  echo "$as_me:10277: checking for tparm in -lncurses" >&5
10278  echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6  echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6
10279  if test "${ac_cv_lib_ncurses_tparm+set}" = set; then  if test "${ac_cv_lib_ncurses_tparm+set}" = set; then
10280    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10296  tparm (); Line 10301  tparm ();
10301  }  }
10302  _ACEOF  _ACEOF
10303  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10304  if { (eval echo "$as_me:10299: \"$ac_link\"") >&5  if { (eval echo "$as_me:10304: \"$ac_link\"") >&5
10305    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10306    ac_status=$?    ac_status=$?
10307    echo "$as_me:10302: \$? = $ac_status" >&5    echo "$as_me:10307: \$? = $ac_status" >&5
10308    (exit $ac_status); } &&    (exit $ac_status); } &&
10309           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10310    { (eval echo "$as_me:10305: \"$ac_try\"") >&5    { (eval echo "$as_me:10310: \"$ac_try\"") >&5
10311    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10312    ac_status=$?    ac_status=$?
10313    echo "$as_me:10308: \$? = $ac_status" >&5    echo "$as_me:10313: \$? = $ac_status" >&5
10314    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10315    ac_cv_lib_ncurses_tparm=yes    ac_cv_lib_ncurses_tparm=yes
10316  else  else
# Line 10316  fi Line 10321  fi
10321  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10322  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10323  fi  fi
10324  echo "$as_me:10319: result: $ac_cv_lib_ncurses_tparm" >&5  echo "$as_me:10324: result: $ac_cv_lib_ncurses_tparm" >&5
10325  echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6  echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6
10326  if test $ac_cv_lib_ncurses_tparm = yes; then  if test $ac_cv_lib_ncurses_tparm = yes; then
10327    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10331  fi Line 10336  fi
10336  if test "$with_hesiod" = yes ; then  if test "$with_hesiod" = yes ; then
10337    # Don't set $LIBS here -- see comments above.    # Don't set $LIBS here -- see comments above.
10338    resolv=no    resolv=no
10339    echo "$as_me:10334: checking for res_send" >&5    echo "$as_me:10339: checking for res_send" >&5
10340  echo $ECHO_N "checking for res_send... $ECHO_C" >&6  echo $ECHO_N "checking for res_send... $ECHO_C" >&6
10341  if test "${ac_cv_func_res_send+set}" = set; then  if test "${ac_cv_func_res_send+set}" = set; then
10342    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10368  f = res_send; Line 10373  f = res_send;
10373  }  }
10374  _ACEOF  _ACEOF
10375  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10376  if { (eval echo "$as_me:10371: \"$ac_link\"") >&5  if { (eval echo "$as_me:10376: \"$ac_link\"") >&5
10377    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10378    ac_status=$?    ac_status=$?
10379    echo "$as_me:10374: \$? = $ac_status" >&5    echo "$as_me:10379: \$? = $ac_status" >&5
10380    (exit $ac_status); } &&    (exit $ac_status); } &&
10381           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10382    { (eval echo "$as_me:10377: \"$ac_try\"") >&5    { (eval echo "$as_me:10382: \"$ac_try\"") >&5
10383    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10384    ac_status=$?    ac_status=$?
10385    echo "$as_me:10380: \$? = $ac_status" >&5    echo "$as_me:10385: \$? = $ac_status" >&5
10386    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10387    ac_cv_func_res_send=yes    ac_cv_func_res_send=yes
10388  else  else
# Line 10387  ac_cv_func_res_send=no Line 10392  ac_cv_func_res_send=no
10392  fi  fi
10393  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10394  fi  fi
10395  echo "$as_me:10390: result: $ac_cv_func_res_send" >&5  echo "$as_me:10395: result: $ac_cv_func_res_send" >&5
10396  echo "${ECHO_T}$ac_cv_func_res_send" >&6  echo "${ECHO_T}$ac_cv_func_res_send" >&6
10397  if test $ac_cv_func_res_send = yes; then  if test $ac_cv_func_res_send = yes; then
10398    :    :
10399  else  else
10400    echo "$as_me:10395: checking for __res_send" >&5    echo "$as_me:10400: checking for __res_send" >&5
10401  echo $ECHO_N "checking for __res_send... $ECHO_C" >&6  echo $ECHO_N "checking for __res_send... $ECHO_C" >&6
10402  if test "${ac_cv_func___res_send+set}" = set; then  if test "${ac_cv_func___res_send+set}" = set; then
10403    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10429  f = __res_send; Line 10434  f = __res_send;
10434  }  }
10435  _ACEOF  _ACEOF
10436  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10437  if { (eval echo "$as_me:10432: \"$ac_link\"") >&5  if { (eval echo "$as_me:10437: \"$ac_link\"") >&5
10438    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10439    ac_status=$?    ac_status=$?
10440    echo "$as_me:10435: \$? = $ac_status" >&5    echo "$as_me:10440: \$? = $ac_status" >&5
10441    (exit $ac_status); } &&    (exit $ac_status); } &&
10442           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10443    { (eval echo "$as_me:10438: \"$ac_try\"") >&5    { (eval echo "$as_me:10443: \"$ac_try\"") >&5
10444    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10445    ac_status=$?    ac_status=$?
10446    echo "$as_me:10441: \$? = $ac_status" >&5    echo "$as_me:10446: \$? = $ac_status" >&5
10447    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10448    ac_cv_func___res_send=yes    ac_cv_func___res_send=yes
10449  else  else
# Line 10448  ac_cv_func___res_send=no Line 10453  ac_cv_func___res_send=no
10453  fi  fi
10454  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10455  fi  fi
10456  echo "$as_me:10451: result: $ac_cv_func___res_send" >&5  echo "$as_me:10456: result: $ac_cv_func___res_send" >&5
10457  echo "${ECHO_T}$ac_cv_func___res_send" >&6  echo "${ECHO_T}$ac_cv_func___res_send" >&6
10458  if test $ac_cv_func___res_send = yes; then  if test $ac_cv_func___res_send = yes; then
10459    :    :
10460  else  else
10461    echo "$as_me:10456: checking for res_send in -lresolv" >&5    echo "$as_me:10461: checking for res_send in -lresolv" >&5
10462  echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6  echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6
10463  if test "${ac_cv_lib_resolv_res_send+set}" = set; then  if test "${ac_cv_lib_resolv_res_send+set}" = set; then
10464    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10480  res_send (); Line 10485  res_send ();
10485  }  }
10486  _ACEOF  _ACEOF
10487  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10488  if { (eval echo "$as_me:10483: \"$ac_link\"") >&5  if { (eval echo "$as_me:10488: \"$ac_link\"") >&5
10489    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10490    ac_status=$?    ac_status=$?
10491    echo "$as_me:10486: \$? = $ac_status" >&5    echo "$as_me:10491: \$? = $ac_status" >&5
10492    (exit $ac_status); } &&    (exit $ac_status); } &&
10493           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10494    { (eval echo "$as_me:10489: \"$ac_try\"") >&5    { (eval echo "$as_me:10494: \"$ac_try\"") >&5
10495    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10496    ac_status=$?    ac_status=$?
10497    echo "$as_me:10492: \$? = $ac_status" >&5    echo "$as_me:10497: \$? = $ac_status" >&5
10498    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10499    ac_cv_lib_resolv_res_send=yes    ac_cv_lib_resolv_res_send=yes
10500  else  else
# Line 10500  fi Line 10505  fi
10505  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10506  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10507  fi  fi
10508  echo "$as_me:10503: result: $ac_cv_lib_resolv_res_send" >&5  echo "$as_me:10508: result: $ac_cv_lib_resolv_res_send" >&5
10509  echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6  echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6
10510  if test $ac_cv_lib_resolv_res_send = yes; then  if test $ac_cv_lib_resolv_res_send = yes; then
10511    resolv=yes    resolv=yes
10512  else  else
10513    echo "$as_me:10508: checking for __res_send in -lresolv" >&5    echo "$as_me:10513: checking for __res_send in -lresolv" >&5
10514  echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6  echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6
10515  if test "${ac_cv_lib_resolv___res_send+set}" = set; then  if test "${ac_cv_lib_resolv___res_send+set}" = set; then
10516    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10532  __res_send (); Line 10537  __res_send ();
10537  }  }
10538  _ACEOF  _ACEOF
10539  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10540  if { (eval echo "$as_me:10535: \"$ac_link\"") >&5  if { (eval echo "$as_me:10540: \"$ac_link\"") >&5
10541    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10542    ac_status=$?    ac_status=$?
10543    echo "$as_me:10538: \$? = $ac_status" >&5    echo "$as_me:10543: \$? = $ac_status" >&5
10544    (exit $ac_status); } &&    (exit $ac_status); } &&
10545           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10546    { (eval echo "$as_me:10541: \"$ac_try\"") >&5    { (eval echo "$as_me:10546: \"$ac_try\"") >&5
10547    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10548    ac_status=$?    ac_status=$?
10549    echo "$as_me:10544: \$? = $ac_status" >&5    echo "$as_me:10549: \$? = $ac_status" >&5
10550    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10551    ac_cv_lib_resolv___res_send=yes    ac_cv_lib_resolv___res_send=yes
10552  else  else
# Line 10552  fi Line 10557  fi
10557  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10558  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10559  fi  fi
10560  echo "$as_me:10555: result: $ac_cv_lib_resolv___res_send" >&5  echo "$as_me:10560: result: $ac_cv_lib_resolv___res_send" >&5
10561  echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6  echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6
10562  if test $ac_cv_lib_resolv___res_send = yes; then  if test $ac_cv_lib_resolv___res_send = yes; then
10563    resolv=yes    resolv=yes
# Line 10574  EOF Line 10579  EOF
10579    else    else
10580      RESOLVLIB=      RESOLVLIB=
10581    fi    fi
10582    echo "$as_me:10577: checking for hes_getmailhost" >&5    echo "$as_me:10582: checking for hes_getmailhost" >&5
10583  echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6  echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6
10584  if test "${ac_cv_func_hes_getmailhost+set}" = set; then  if test "${ac_cv_func_hes_getmailhost+set}" = set; then
10585    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10611  f = hes_getmailhost; Line 10616  f = hes_getmailhost;
10616  }  }
10617  _ACEOF  _ACEOF
10618  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10619  if { (eval echo "$as_me:10614: \"$ac_link\"") >&5  if { (eval echo "$as_me:10619: \"$ac_link\"") >&5
10620    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10621    ac_status=$?    ac_status=$?
10622    echo "$as_me:10617: \$? = $ac_status" >&5    echo "$as_me:10622: \$? = $ac_status" >&5
10623    (exit $ac_status); } &&    (exit $ac_status); } &&
10624           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10625    { (eval echo "$as_me:10620: \"$ac_try\"") >&5    { (eval echo "$as_me:10625: \"$ac_try\"") >&5
10626    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10627    ac_status=$?    ac_status=$?
10628    echo "$as_me:10623: \$? = $ac_status" >&5    echo "$as_me:10628: \$? = $ac_status" >&5
10629    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10630    ac_cv_func_hes_getmailhost=yes    ac_cv_func_hes_getmailhost=yes
10631  else  else
# Line 10630  ac_cv_func_hes_getmailhost=no Line 10635  ac_cv_func_hes_getmailhost=no
10635  fi  fi
10636  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10637  fi  fi
10638  echo "$as_me:10633: result: $ac_cv_func_hes_getmailhost" >&5  echo "$as_me:10638: result: $ac_cv_func_hes_getmailhost" >&5
10639  echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6  echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6
10640  if test $ac_cv_func_hes_getmailhost = yes; then  if test $ac_cv_func_hes_getmailhost = yes; then
10641    :    :
10642  else  else
10643    echo "$as_me:10638: checking for hes_getmailhost in -lhesiod" >&5    echo "$as_me:10643: checking for hes_getmailhost in -lhesiod" >&5
10644  echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6  echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6
10645  if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then  if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then
10646    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10662  hes_getmailhost (); Line 10667  hes_getmailhost ();
10667  }  }
10668  _ACEOF  _ACEOF
10669  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10670  if { (eval echo "$as_me:10665: \"$ac_link\"") >&5  if { (eval echo "$as_me:10670: \"$ac_link\"") >&5
10671    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10672    ac_status=$?    ac_status=$?
10673    echo "$as_me:10668: \$? = $ac_status" >&5    echo "$as_me:10673: \$? = $ac_status" >&5
10674    (exit $ac_status); } &&    (exit $ac_status); } &&
10675           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10676    { (eval echo "$as_me:10671: \"$ac_try\"") >&5    { (eval echo "$as_me:10676: \"$ac_try\"") >&5
10677    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10678    ac_status=$?    ac_status=$?
10679    echo "$as_me:10674: \$? = $ac_status" >&5    echo "$as_me:10679: \$? = $ac_status" >&5
10680    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10681    ac_cv_lib_hesiod_hes_getmailhost=yes    ac_cv_lib_hesiod_hes_getmailhost=yes
10682  else  else
# Line 10682  fi Line 10687  fi
10687  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10688  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10689  fi  fi
10690  echo "$as_me:10685: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5  echo "$as_me:10690: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5
10691  echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6  echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6
10692  if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then  if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then
10693    
# Line 10701  fi Line 10706  fi
10706  # These tell us which Kerberos-related libraries to use.  # These tell us which Kerberos-related libraries to use.
10707  if test "${with_kerberos+set}" = set; then  if test "${with_kerberos+set}" = set; then
10708    
10709  echo "$as_me:10704: checking for com_err in -lcom_err" >&5  echo "$as_me:10709: checking for com_err in -lcom_err" >&5
10710  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
10711  if test "${ac_cv_lib_com_err_com_err+set}" = set; then  if test "${ac_cv_lib_com_err_com_err+set}" = set; then
10712    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10728  com_err (); Line 10733  com_err ();
10733  }  }
10734  _ACEOF  _ACEOF
10735  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10736  if { (eval echo "$as_me:10731: \"$ac_link\"") >&5  if { (eval echo "$as_me:10736: \"$ac_link\"") >&5
10737    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10738    ac_status=$?    ac_status=$?
10739    echo "$as_me:10734: \$? = $ac_status" >&5    echo "$as_me:10739: \$? = $ac_status" >&5
10740    (exit $ac_status); } &&    (exit $ac_status); } &&
10741           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10742    { (eval echo "$as_me:10737: \"$ac_try\"") >&5    { (eval echo "$as_me:10742: \"$ac_try\"") >&5
10743    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10744    ac_status=$?    ac_status=$?
10745    echo "$as_me:10740: \$? = $ac_status" >&5    echo "$as_me:10745: \$? = $ac_status" >&5
10746    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10747    ac_cv_lib_com_err_com_err=yes    ac_cv_lib_com_err_com_err=yes
10748  else  else
# Line 10748  fi Line 10753  fi
10753  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10754  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10755  fi  fi
10756  echo "$as_me:10751: result: $ac_cv_lib_com_err_com_err" >&5  echo "$as_me:10756: result: $ac_cv_lib_com_err_com_err" >&5
10757  echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6  echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6
10758  if test $ac_cv_lib_com_err_com_err = yes; then  if test $ac_cv_lib_com_err_com_err = yes; then
10759    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10759  EOF Line 10764  EOF
10764    
10765  fi  fi
10766    
10767  echo "$as_me:10762: checking for mit_des_cbc_encrypt in -lk5crypto" >&5  echo "$as_me:10767: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
10768  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
10769  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
10770    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10786  mit_des_cbc_encrypt (); Line 10791  mit_des_cbc_encrypt ();
10791  }  }
10792  _ACEOF  _ACEOF
10793  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10794  if { (eval echo "$as_me:10789: \"$ac_link\"") >&5  if { (eval echo "$as_me:10794: \"$ac_link\"") >&5
10795    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10796    ac_status=$?    ac_status=$?
10797    echo "$as_me:10792: \$? = $ac_status" >&5    echo "$as_me:10797: \$? = $ac_status" >&5
10798    (exit $ac_status); } &&    (exit $ac_status); } &&
10799           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10800    { (eval echo "$as_me:10795: \"$ac_try\"") >&5    { (eval echo "$as_me:10800: \"$ac_try\"") >&5
10801    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10802    ac_status=$?    ac_status=$?
10803    echo "$as_me:10798: \$? = $ac_status" >&5    echo "$as_me:10803: \$? = $ac_status" >&5
10804    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10805    ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes    ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes
10806  else  else
# Line 10806  fi Line 10811  fi
10811  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10812  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10813  fi  fi
10814  echo "$as_me:10809: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5  echo "$as_me:10814: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5
10815  echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6  echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6
10816  if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then  if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then
10817    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10817  EOF Line 10822  EOF
10822    
10823  fi  fi
10824    
10825  echo "$as_me:10820: checking for mit_des_cbc_encrypt in -lcrypto" >&5  echo "$as_me:10825: checking for mit_des_cbc_encrypt in -lcrypto" >&5
10826  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
10827  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
10828    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10844  mit_des_cbc_encrypt (); Line 10849  mit_des_cbc_encrypt ();
10849  }  }
10850  _ACEOF  _ACEOF
10851  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10852  if { (eval echo "$as_me:10847: \"$ac_link\"") >&5  if { (eval echo "$as_me:10852: \"$ac_link\"") >&5
10853    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10854    ac_status=$?    ac_status=$?
10855    echo "$as_me:10850: \$? = $ac_status" >&5    echo "$as_me:10855: \$? = $ac_status" >&5
10856    (exit $ac_status); } &&    (exit $ac_status); } &&
10857           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10858    { (eval echo "$as_me:10853: \"$ac_try\"") >&5    { (eval echo "$as_me:10858: \"$ac_try\"") >&5
10859    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10860    ac_status=$?    ac_status=$?
10861    echo "$as_me:10856: \$? = $ac_status" >&5    echo "$as_me:10861: \$? = $ac_status" >&5
10862    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10863    ac_cv_lib_crypto_mit_des_cbc_encrypt=yes    ac_cv_lib_crypto_mit_des_cbc_encrypt=yes
10864  else  else
# Line 10864  fi Line 10869  fi
10869  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10870  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10871  fi  fi
10872  echo "$as_me:10867: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5  echo "$as_me:10872: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5
10873  echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6  echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6
10874  if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then  if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then
10875    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10875  EOF Line 10880  EOF
10880    
10881  fi  fi
10882    
10883  echo "$as_me:10878: checking for krb5_init_context in -lkrb5" >&5  echo "$as_me:10883: checking for krb5_init_context in -lkrb5" >&5
10884  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
10885  if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then  if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then
10886    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10902  krb5_init_context (); Line 10907  krb5_init_context ();
10907  }  }
10908  _ACEOF  _ACEOF
10909  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10910  if { (eval echo "$as_me:10905: \"$ac_link\"") >&5  if { (eval echo "$as_me:10910: \"$ac_link\"") >&5
10911    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10912    ac_status=$?    ac_status=$?
10913    echo "$as_me:10908: \$? = $ac_status" >&5    echo "$as_me:10913: \$? = $ac_status" >&5
10914    (exit $ac_status); } &&    (exit $ac_status); } &&
10915           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10916    { (eval echo "$as_me:10911: \"$ac_try\"") >&5    { (eval echo "$as_me:10916: \"$ac_try\"") >&5
10917    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10918    ac_status=$?    ac_status=$?
10919    echo "$as_me:10914: \$? = $ac_status" >&5    echo "$as_me:10919: \$? = $ac_status" >&5
10920    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10921    ac_cv_lib_krb5_krb5_init_context=yes    ac_cv_lib_krb5_krb5_init_context=yes
10922  else  else
# Line 10922  fi Line 10927  fi
10927  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10928  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10929  fi  fi
10930  echo "$as_me:10925: result: $ac_cv_lib_krb5_krb5_init_context" >&5  echo "$as_me:10930: result: $ac_cv_lib_krb5_krb5_init_context" >&5
10931  echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6  echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6
10932  if test $ac_cv_lib_krb5_krb5_init_context = yes; then  if test $ac_cv_lib_krb5_krb5_init_context = yes; then
10933    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10935  fi Line 10940  fi
10940    
10941    if test "${with_kerberos5+set}" != set; then    if test "${with_kerberos5+set}" != set; then
10942    
10943  echo "$as_me:10938: checking for des_cbc_encrypt in -ldes425" >&5  echo "$as_me:10943: checking for des_cbc_encrypt in -ldes425" >&5
10944  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
10945  if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then  if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then
10946    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10962  des_cbc_encrypt (); Line 10967  des_cbc_encrypt ();
10967  }  }
10968  _ACEOF  _ACEOF
10969  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10970  if { (eval echo "$as_me:10965: \"$ac_link\"") >&5  if { (eval echo "$as_me:10970: \"$ac_link\"") >&5
10971    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10972    ac_status=$?    ac_status=$?
10973    echo "$as_me:10968: \$? = $ac_status" >&5    echo "$as_me:10973: \$? = $ac_status" >&5
10974    (exit $ac_status); } &&    (exit $ac_status); } &&
10975           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10976    { (eval echo "$as_me:10971: \"$ac_try\"") >&5    { (eval echo "$as_me:10976: \"$ac_try\"") >&5
10977    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10978    ac_status=$?    ac_status=$?
10979    echo "$as_me:10974: \$? = $ac_status" >&5    echo "$as_me:10979: \$? = $ac_status" >&5
10980    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10981    ac_cv_lib_des425_des_cbc_encrypt=yes    ac_cv_lib_des425_des_cbc_encrypt=yes
10982  else  else
# Line 10982  fi Line 10987  fi
10987  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10988  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10989  fi  fi
10990  echo "$as_me:10985: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5  echo "$as_me:10990: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
10991  echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6  echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6
10992  if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then  if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then
10993    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10993  EOF Line 10998  EOF
10998    
10999  else  else
11000    
11001  echo "$as_me:10996: checking for des_cbc_encrypt in -ldes" >&5  echo "$as_me:11001: checking for des_cbc_encrypt in -ldes" >&5
11002  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
11003  if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then  if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then
11004    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 11020  des_cbc_encrypt (); Line 11025  des_cbc_encrypt ();
11025  }  }
11026  _ACEOF  _ACEOF
11027  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
11028  if { (eval echo "$as_me:11023: \"$ac_link\"") >&5  if { (eval echo "$as_me:11028: \"$ac_link\"") >&5
11029    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
11030    ac_status=$?    ac_status=$?
11031    echo "$as_me:11026: \$? = $ac_status" >&5    echo "$as_me:11031: \$? = $ac_status" >&5
11032    (exit $ac_status); } &&    (exit $ac_status); } &&
11033           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
11034    { (eval echo "$as_me:11029: \"$ac_try\"") >&5    { (eval echo "$as_me:11034: \"$ac_try\"") >&5
11035    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11036    ac_status=$?    ac_status=$?
11037    echo "$as_me:11032: \$? = $ac_status" >&5    echo "$as_me:11037: \$? = $ac_status" >&5
11038    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11039    ac_cv_lib_des_des_cbc_encrypt=yes    ac_cv_lib_des_des_cbc_encrypt=yes
11040  else  else
# Line 11040  fi Line 11045  fi
11045  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11046  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
11047  fi  fi
11048  echo "$as_me:11043: result: $ac_cv_lib_des_des_cbc_encrypt" >&5  echo "$as_me:11048: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
11049  echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6  echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6
11050  if test $ac_cv_lib_des_des_cbc_encrypt = yes; then  if test $ac_cv_lib_des_des_cbc_encrypt = yes; then
11051    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11053  fi Line 11058  fi
11058    
11059  fi  fi
11060    
11061  echo "$as_me:11056: checking for krb_get_cred in -lkrb4" >&5  echo "$as_me:11061: checking for krb_get_cred in -lkrb4" >&5
11062  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
11063  if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then  if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then
11064    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 11080  krb_get_cred (); Line 11085  krb_get_cred ();
11085  }  }
11086  _ACEOF  _ACEOF
11087  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
11088  if { (eval echo "$as_me:11083: \"$ac_link\"") >&5  if { (eval echo "$as_me:11088: \"$ac_link\"") >&5
11089    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
11090    ac_status=$?    ac_status=$?
11091    echo "$as_me:11086: \$? = $ac_status" >&5    echo "$as_me:11091: \$? = $ac_status" >&5
11092    (exit $ac_status); } &&    (exit $ac_status); } &&
11093           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
11094    { (eval echo "$as_me:11089: \"$ac_try\"") >&5    { (eval echo "$as_me:11094: \"$ac_try\"") >&5
11095    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11096    ac_status=$?    ac_status=$?
11097    echo "$as_me:11092: \$? = $ac_status" >&5    echo "$as_me:11097: \$? = $ac_status" >&5
11098    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11099    ac_cv_lib_krb4_krb_get_cred=yes    ac_cv_lib_krb4_krb_get_cred=yes
11100  else  else
# Line 11100  fi Line 11105  fi
11105  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11106  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
11107  fi  fi
11108  echo "$as_me:11103: result: $ac_cv_lib_krb4_krb_get_cred" >&5  echo "$as_me:11108: result: $ac_cv_lib_krb4_krb_get_cred" >&5
11109  echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6  echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6
11110  if test $ac_cv_lib_krb4_krb_get_cred = yes; then  if test $ac_cv_lib_krb4_krb_get_cred = yes; then
11111    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11111  EOF Line 11116  EOF
11116    
11117  else  else
11118    
11119  echo "$as_me:11114: checking for krb_get_cred in -lkrb" >&5  echo "$as_me:11119: checking for krb_get_cred in -lkrb" >&5
11120  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
11121  if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then  if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then
11122    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 11138  krb_get_cred (); Line 11143  krb_get_cred ();
11143  }  }
11144  _ACEOF  _ACEOF
11145  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
11146  if { (eval echo "$as_me:11141: \"$ac_link\"") >&5  if { (eval echo "$as_me:11146: \"$ac_link\"") >&5
11147    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
11148    ac_status=$?    ac_status=$?
11149    echo "$as_me:11144: \$? = $ac_status" >&5    echo "$as_me:11149: \$? = $ac_status" >&5
11150    (exit $ac_status); } &&    (exit $ac_status); } &&
11151           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
11152    { (eval echo "$as_me:11147: \"$ac_try\"") >&5    { (eval echo "$as_me:11152: \"$ac_try\"") >&5
11153    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11154    ac_status=$?    ac_status=$?
11155    echo "$as_me:11150: \$? = $ac_status" >&5    echo "$as_me:11155: \$? = $ac_status" >&5
11156    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11157    ac_cv_lib_krb_krb_get_cred=yes    ac_cv_lib_krb_krb_get_cred=yes
11158  else  else
# Line 11158  fi Line 11163  fi
11163  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11164  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
11165  fi  fi
11166  echo "$as_me:11161: result: $ac_cv_lib_krb_krb_get_cred" >&5  echo "$as_me:11166: result: $ac_cv_lib_krb_krb_get_cred" >&5
11167  echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6  echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6
11168  if test $ac_cv_lib_krb_krb_get_cred = yes; then  if test $ac_cv_lib_krb_krb_get_cred = yes; then
11169    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11178  fi Line 11183  fi
11183  for ac_header in krb5.h  for ac_header in krb5.h
11184  do  do
11185  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11186  echo "$as_me:11181: checking for $ac_header" >&5  echo "$as_me:11186: checking for $ac_header" >&5
11187  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11188  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
11189    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 11188  else Line 11193  else
11193  #include "confdefs.h"  #include "confdefs.h"
11194  #include <$ac_header>  #include <$ac_header>
11195  _ACEOF  _ACEOF
11196  if { (eval echo "$as_me:11191: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11196: \"$ac_cpp conftest.$ac_ext\"") >&5
11197    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11198    ac_status=$?    ac_status=$?
11199    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11200    rm -f conftest.er1    rm -f conftest.er1
11201    cat conftest.err >&5    cat conftest.err >&5
11202    echo "$as_me:11197: \$? = $ac_status" >&5    echo "$as_me:11202: \$? = $ac_status" >&5
11203    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11204    if test -s conftest.err; then    if test -s conftest.err; then
11205      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11213  else Line 11218  else
11218  fi  fi
11219  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11220  fi  fi
11221  echo "$as_me:11216: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:11221: result: `eval echo '${'$as_ac_Header'}'`" >&5
11222  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11223  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
11224    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11228  done Line 11233  done
11233  for ac_header in des.h  for ac_header in des.h
11234  do  do
11235  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11236  echo "$as_me:11231: checking for $ac_header" >&5  echo "$as_me:11236: checking for $ac_header" >&5
11237  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11238  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
11239    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 11238  else Line 11243  else
11243  #include "confdefs.h"  #include "confdefs.h"
11244  #include <$ac_header>  #include <$ac_header>
11245  _ACEOF  _ACEOF
11246  if { (eval echo "$as_me:11241: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11246: \"$ac_cpp conftest.$ac_ext\"") >&5
11247    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11248    ac_status=$?    ac_status=$?
11249    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11250    rm -f conftest.er1    rm -f conftest.er1
11251    cat conftest.err >&5    cat conftest.err >&5
11252    echo "$as_me:11247: \$? = $ac_status" >&5    echo "$as_me:11252: \$? = $ac_status" >&5
11253    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11254    if test -s conftest.err; then    if test -s conftest.err; then
11255      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11263  else Line 11268  else
11268  fi  fi
11269  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11270  fi  fi
11271  echo "$as_me:11266: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:11271: result: `eval echo '${'$as_ac_Header'}'`" >&5
11272  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11273  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
11274    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11275  else Line 11280  else
11280  for ac_header in kerberosIV/des.h  for ac_header in kerberosIV/des.h
11281  do  do
11282  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11283  echo "$as_me:11278: checking for $ac_header" >&5  echo "$as_me:11283: checking for $ac_header" >&5
11284  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11285  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
11286    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 11285  else Line 11290  else
11290  #include "confdefs.h"  #include "confdefs.h"
11291  #include <$ac_header>  #include <$ac_header>
11292  _ACEOF  _ACEOF
11293  if { (eval echo "$as_me:11288: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11293: \"$ac_cpp conftest.$ac_ext\"") >&5
11294    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11295    ac_status=$?    ac_status=$?
11296    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11297    rm -f conftest.er1    rm -f conftest.er1
11298    cat conftest.err >&5    cat conftest.err >&5
11299    echo "$as_me:11294: \$? = $ac_status" >&5    echo "$as_me:11299: \$? = $ac_status" >&5
11300    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11301    if test -s conftest.err; then    if test -s conftest.err; then
11302      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11310  else Line 11315  else
11315  fi  fi
11316  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11317  fi  fi
11318  echo "$as_me:11313: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:11318: result: `eval echo '${'$as_ac_Header'}'`" >&5
11319  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11320  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
11321    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11322  else Line 11327  else
11327  for ac_header in kerberos/des.h  for ac_header in kerberos/des.h
11328  do  do
11329  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11330  echo "$as_me:11325: checking for $ac_header" >&5  echo "$as_me:11330: checking for $ac_header" >&5
11331  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11332  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
11333    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 11332  else Line 11337  else
11337  #include "confdefs.h"  #include "confdefs.h"
11338  #include <$ac_header>  #include <$ac_header>
11339  _ACEOF  _ACEOF
11340  if { (eval echo "$as_me:11335: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11340: \"$ac_cpp conftest.$ac_ext\"") >&5
11341    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11342    ac_status=$?    ac_status=$?
11343    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11344    rm -f conftest.er1    rm -f conftest.er1
11345    cat conftest.err >&5    cat conftest.err >&5
11346    echo "$as_me:11341: \$? = $ac_status" >&5    echo "$as_me:11346: \$? = $ac_status" >&5
11347    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11348    if test -s conftest.err; then    if test -s conftest.err; then
11349      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11357  else Line 11362  else
11362  fi  fi
11363  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11364  fi  fi
11365  echo "$as_me:11360: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:11365: result: `eval echo '${'$as_ac_Header'}'`" >&5
11366  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11367  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
11368    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11376  done Line 11381  done
11381  for ac_header in krb.h  for ac_header in krb.h
11382  do  do
11383  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11384  echo "$as_me:11379: checking for $ac_header" >&5  echo "$as_me:11384: checking for $ac_header" >&5
11385  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11386  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
11387    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 11386  else Line 11391  else
11391  #include "confdefs.h"  #include "confdefs.h"
11392  #include <$ac_header>  #include <$ac_header>
11393  _ACEOF  _ACEOF
11394  if { (eval echo "$as_me:11389: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11394: \"$ac_cpp conftest.$ac_ext\"") >&5
11395    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11396    ac_status=$?    ac_status=$?
11397    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11398    rm -f conftest.er1    rm -f conftest.er1
11399    cat conftest.err >&5    cat conftest.err >&5
11400    echo "$as_me:11395: \$? = $ac_status" >&5    echo "$as_me:11400: \$? = $ac_status" >&5
11401    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11402    if test -s conftest.err; then    if test -s conftest.err; then
11403      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11411  else Line 11416  else
11416  fi  fi
11417  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11418  fi  fi
11419  echo "$as_me:11414: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:11419: result: `eval echo '${'$as_ac_Header'}'`" >&5
11420  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11421  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
11422    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11423  else Line 11428  else
11428  for ac_header in kerberosIV/krb.h  for ac_header in kerberosIV/krb.h
11429  do  do
11430  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11431  echo "$as_me:11426: checking for $ac_header" >&5  echo "$as_me:11431: checking for $ac_header" >&5
11432  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11433  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
11434    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 11433  else Line 11438  else
11438  #include "confdefs.h"  #include "confdefs.h"
11439  #include <$ac_header>  #include <$ac_header>
11440  _ACEOF  _ACEOF
11441  if { (eval echo "$as_me:11436: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11441: \"$ac_cpp conftest.$ac_ext\"") >&5
11442    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11443    ac_status=$?    ac_status=$?
11444    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11445    rm -f conftest.er1    rm -f conftest.er1
11446    cat conftest.err >&5    cat conftest.err >&5
11447    echo "$as_me:11442: \$? = $ac_status" >&5    echo "$as_me:11447: \$? = $ac_status" >&5
11448    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11449    if test -s conftest.err; then    if test -s conftest.err; then
11450      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11458  else Line 11463  else
11463  fi  fi
11464  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11465  fi  fi
11466  echo "$as_me:11461: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:11466: result: `eval echo '${'$as_ac_Header'}'`" >&5
11467  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11468  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
11469    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11470  else Line 11475  else
11475  for ac_header in kerberos/krb.h  for ac_header in kerberos/krb.h
11476  do  do
11477  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11478  echo "$as_me:11473: checking for $ac_header" >&5  echo "$as_me:11478: checking for $ac_header" >&5
11479  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11480  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
11481    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 11480  else Line 11485  else
11485  #include "confdefs.h"  #include "confdefs.h"
11486  #include <$ac_header>  #include <$ac_header>
11487  _ACEOF  _ACEOF
11488  if { (eval echo "$as_me:11483: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11488: \"$ac_cpp conftest.$ac_ext\"") >&5
11489    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11490    ac_status=$?    ac_status=$?
11491    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11492    rm -f conftest.er1    rm -f conftest.er1
11493    cat conftest.err >&5    cat conftest.err >&5
11494    echo "$as_me:11489: \$? = $ac_status" >&5    echo "$as_me:11494: \$? = $ac_status" >&5
11495    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11496    if test -s conftest.err; then    if test -s conftest.err; then
11497      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11505  else Line 11510  else
11510  fi  fi
11511  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11512  fi  fi
11513  echo "$as_me:11508: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:11513: result: `eval echo '${'$as_ac_Header'}'`" >&5
11514  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11515  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
11516    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11526  done Line 11531  done
11531  for ac_header in com_err.h  for ac_header in com_err.h
11532  do  do
11533  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11534  echo "$as_me:11529: checking for $ac_header" >&5  echo "$as_me:11534: checking for $ac_header" >&5
11535  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11536  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
11537    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 11536  else Line 11541  else
11541  #include "confdefs.h"  #include "confdefs.h"
11542  #include <$ac_header>  #include <$ac_header>
11543  _ACEOF  _ACEOF
11544  if { (eval echo "$as_me:11539: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11544: \"$ac_cpp conftest.$ac_ext\"") >&5
11545    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11546    ac_status=$?    ac_status=$?
11547    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11548    rm -f conftest.er1    rm -f conftest.er1
11549    cat conftest.err >&5    cat conftest.err >&5
11550    echo "$as_me:11545: \$? = $ac_status" >&5    echo "$as_me:11550: \$? = $ac_status" >&5
11551    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11552    if test -s conftest.err; then    if test -s conftest.err; then
11553      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11561  else Line 11566  else
11566  fi  fi
11567  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11568  fi  fi
11569  echo "$as_me:11564: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:11569: result: `eval echo '${'$as_ac_Header'}'`" >&5
11570  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11571  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
11572    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11576  fi Line 11581  fi
11581  # Solaris requires -lintl if you want strerror (which calls dgettext)  # Solaris requires -lintl if you want strerror (which calls dgettext)
11582  # to return localized messages.  # to return localized messages.
11583    
11584  echo "$as_me:11579: checking for dgettext in -lintl" >&5  echo "$as_me:11584: checking for dgettext in -lintl" >&5
11585  echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6  echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6
11586  if test "${ac_cv_lib_intl_dgettext+set}" = set; then  if test "${ac_cv_lib_intl_dgettext+set}" = set; then
11587    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 11603  dgettext (); Line 11608  dgettext ();
11608  }  }
11609  _ACEOF  _ACEOF
11610  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
11611  if { (eval echo "$as_me:11606: \"$ac_link\"") >&5  if { (eval echo "$as_me:11611: \"$ac_link\"") >&5
11612    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
11613    ac_status=$?    ac_status=$?
11614    echo "$as_me:11609: \$? = $ac_status" >&5    echo "$as_me:11614: \$? = $ac_status" >&5
11615    (exit $ac_status); } &&    (exit $ac_status); } &&
11616           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
11617    { (eval echo "$as_me:11612: \"$ac_try\"") >&5    { (eval echo "$as_me:11617: \"$ac_try\"") >&5
11618    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11619    ac_status=$?    ac_status=$?
11620    echo "$as_me:11615: \$? = $ac_status" >&5    echo "$as_me:11620: \$? = $ac_status" >&5
11621    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11622    ac_cv_lib_intl_dgettext=yes    ac_cv_lib_intl_dgettext=yes
11623  else  else
# Line 11623  fi Line 11628  fi
11628  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11629  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
11630  fi  fi
11631  echo "$as_me:11626: result: $ac_cv_lib_intl_dgettext" >&5  echo "$as_me:11631: result: $ac_cv_lib_intl_dgettext" >&5
11632  echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6  echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6
11633  if test $ac_cv_lib_intl_dgettext = yes; then  if test $ac_cv_lib_intl_dgettext = yes; then
11634    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11634  EOF Line 11639  EOF
11639    
11640  fi  fi
11641    
11642  echo "$as_me:11637: checking whether localtime caches TZ" >&5  echo "$as_me:11642: checking whether localtime caches TZ" >&5
11643  echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6  echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6
11644  if test "${emacs_cv_localtime_cache+set}" = set; then  if test "${emacs_cv_localtime_cache+set}" = set; then
11645    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 11678  main() Line 11683  main()
11683  }  }
11684  _ACEOF  _ACEOF
11685  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
11686  if { (eval echo "$as_me:11681: \"$ac_link\"") >&5  if { (eval echo "$as_me:11686: \"$ac_link\"") >&5
11687    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
11688    ac_status=$?    ac_status=$?
11689    echo "$as_me:11684: \$? = $ac_status" >&5    echo "$as_me:11689: \$? = $ac_status" >&5
11690    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11691    { (eval echo "$as_me:11686: \"$ac_try\"") >&5    { (eval echo "$as_me:11691: \"$ac_try\"") >&5
11692    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11693    ac_status=$?    ac_status=$?
11694    echo "$as_me:11689: \$? = $ac_status" >&5    echo "$as_me:11694: \$? = $ac_status" >&5
11695    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11696    emacs_cv_localtime_cache=no    emacs_cv_localtime_cache=no
11697  else  else
# Line 11703  else Line 11708  else
11708          emacs_cv_localtime_cache=no          emacs_cv_localtime_cache=no
11709  fi  fi
11710  fi  fi
11711  echo "$as_me:11706: result: $emacs_cv_localtime_cache" >&5  echo "$as_me:11711: result: $emacs_cv_localtime_cache" >&5
11712  echo "${ECHO_T}$emacs_cv_localtime_cache" >&6  echo "${ECHO_T}$emacs_cv_localtime_cache" >&6
11713  if test $emacs_cv_localtime_cache = yes; then  if test $emacs_cv_localtime_cache = yes; then
11714    
# Line 11718  if test "x$HAVE_TIMEVAL" = xyes; then Line 11723  if test "x$HAVE_TIMEVAL" = xyes; then
11723  for ac_func in gettimeofday  for ac_func in gettimeofday
11724  do  do
11725  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11726  echo "$as_me:11721: checking for $ac_func" >&5  echo "$as_me:11726: checking for $ac_func" >&5
11727  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11728  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
11729    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 11755  f = $ac_func; Line 11760  f = $ac_func;
11760  }  }
11761  _ACEOF  _ACEOF
11762  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
11763  if { (eval echo "$as_me:11758: \"$ac_link\"") >&5  if { (eval echo "$as_me:11763: \"$ac_link\"") >&5
11764    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
11765    ac_status=$?    ac_status=$?
11766    echo "$as_me:11761: \$? = $ac_status" >&5    echo "$as_me:11766: \$? = $ac_status" >&5
11767    (exit $ac_status); } &&    (exit $ac_status); } &&
11768           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
11769    { (eval echo "$as_me:11764: \"$ac_try\"") >&5    { (eval echo "$as_me:11769: \"$ac_try\"") >&5
11770    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11771    ac_status=$?    ac_status=$?
11772    echo "$as_me:11767: \$? = $ac_status" >&5    echo "$as_me:11772: \$? = $ac_status" >&5
11773    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11774    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
11775  else  else
# Line 11774  eval "$as_ac_var=no" Line 11779  eval "$as_ac_var=no"
11779  fi  fi
11780  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11781  fi  fi
11782  echo "$as_me:11777: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:11782: result: `eval echo '${'$as_ac_var'}'`" >&5
11783  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11784  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
11785    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11785  fi Line 11790  fi
11790  done  done
11791    
11792    if test $ac_cv_func_gettimeofday = yes; then    if test $ac_cv_func_gettimeofday = yes; then
11793      echo "$as_me:11788: checking whether gettimeofday can accept two arguments" >&5      echo "$as_me:11793: checking whether gettimeofday can accept two arguments" >&5
11794  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
11795  if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then  if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
11796    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 11814  struct timeval time; Line 11819  struct timeval time;
11819  }  }
11820  _ACEOF  _ACEOF
11821  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
11822  if { (eval echo "$as_me:11817: \"$ac_compile\"") >&5  if { (eval echo "$as_me:11822: \"$ac_compile\"") >&5
11823    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
11824    ac_status=$?    ac_status=$?
11825    echo "$as_me:11820: \$? = $ac_status" >&5    echo "$as_me:11825: \$? = $ac_status" >&5
11826    (exit $ac_status); } &&    (exit $ac_status); } &&
11827           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
11828    { (eval echo "$as_me:11823: \"$ac_try\"") >&5    { (eval echo "$as_me:11828: \"$ac_try\"") >&5
11829    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11830    ac_status=$?    ac_status=$?
11831    echo "$as_me:11826: \$? = $ac_status" >&5    echo "$as_me:11831: \$? = $ac_status" >&5
11832    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11833    emacs_cv_gettimeofday_two_arguments=yes    emacs_cv_gettimeofday_two_arguments=yes
11834  else  else
# Line 11833  emacs_cv_gettimeofday_two_arguments=no Line 11838  emacs_cv_gettimeofday_two_arguments=no
11838  fi  fi
11839  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
11840  fi  fi
11841  echo "$as_me:11836: result: $emacs_cv_gettimeofday_two_arguments" >&5  echo "$as_me:11841: result: $emacs_cv_gettimeofday_two_arguments" >&5
11842  echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6  echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
11843      if test $emacs_cv_gettimeofday_two_arguments = no; then      if test $emacs_cv_gettimeofday_two_arguments = no; then
11844    
# Line 11846  EOF Line 11851  EOF
11851  fi  fi
11852    
11853  if test "$ac_cv_func_gettimeofday" = yes; then  if test "$ac_cv_func_gettimeofday" = yes; then
11854    echo "$as_me:11849: checking for struct timezone" >&5    echo "$as_me:11854: checking for struct timezone" >&5
11855  echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6  echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
11856  if test "${emacs_cv_struct_timezone+set}" = set; then  if test "${emacs_cv_struct_timezone+set}" = set; then
11857    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 11864  struct timezone tz; Line 11869  struct timezone tz;
11869  }  }
11870  _ACEOF  _ACEOF
11871  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
11872  if { (eval echo "$as_me:11867: \"$ac_compile\"") >&5  if { (eval echo "$as_me:11872: \"$ac_compile\"") >&5
11873    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
11874    ac_status=$?    ac_status=$?
11875    echo "$as_me:11870: \$? = $ac_status" >&5    echo "$as_me:11875: \$? = $ac_status" >&5
11876    (exit $ac_status); } &&    (exit $ac_status); } &&
11877           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
11878    { (eval echo "$as_me:11873: \"$ac_try\"") >&5    { (eval echo "$as_me:11878: \"$ac_try\"") >&5
11879    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11880    ac_status=$?    ac_status=$?
11881    echo "$as_me:11876: \$? = $ac_status" >&5    echo "$as_me:11881: \$? = $ac_status" >&5
11882    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11883                if test "$cross_compiling" = yes; then                if test "$cross_compiling" = yes; then
11884    emacs_cv_struct_timezone=yes    emacs_cv_struct_timezone=yes
# Line 11899  main () { Line 11904  main () {
11904  }  }
11905  _ACEOF  _ACEOF
11906  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
11907  if { (eval echo "$as_me:11902: \"$ac_link\"") >&5  if { (eval echo "$as_me:11907: \"$ac_link\"") >&5
11908    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
11909    ac_status=$?    ac_status=$?
11910    echo "$as_me:11905: \$? = $ac_status" >&5    echo "$as_me:11910: \$? = $ac_status" >&5
11911    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11912    { (eval echo "$as_me:11907: \"$ac_try\"") >&5    { (eval echo "$as_me:11912: \"$ac_try\"") >&5
11913    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11914    ac_status=$?    ac_status=$?
11915    echo "$as_me:11910: \$? = $ac_status" >&5    echo "$as_me:11915: \$? = $ac_status" >&5
11916    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11917    emacs_cv_struct_timezone=yes    emacs_cv_struct_timezone=yes
11918  else  else
# Line 11925  emacs_cv_struct_timezone=no Line 11930  emacs_cv_struct_timezone=no
11930  fi  fi
11931  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
11932  fi  fi
11933  echo "$as_me:11928: result: $emacs_cv_struct_timezone" >&5  echo "$as_me:11933: result: $emacs_cv_struct_timezone" >&5
11934  echo "${ECHO_T}$emacs_cv_struct_timezone" >&6  echo "${ECHO_T}$emacs_cv_struct_timezone" >&6
11935  fi  fi
11936    
11937  ok_so_far=yes  ok_so_far=yes
11938  echo "$as_me:11933: checking for socket" >&5  echo "$as_me:11938: checking for socket" >&5
11939  echo $ECHO_N "checking for socket... $ECHO_C" >&6  echo $ECHO_N "checking for socket... $ECHO_C" >&6
11940  if test "${ac_cv_func_socket+set}" = set; then  if test "${ac_cv_func_socket+set}" = set; then
11941    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 11967  f = socket; Line 11972  f = socket;
11972  }  }
11973  _ACEOF  _ACEOF
11974  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
11975  if { (eval echo "$as_me:11970: \"$ac_link\"") >&5  if { (eval echo "$as_me:11975: \"$ac_link\"") >&5
11976    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
11977    ac_status=$?    ac_status=$?
11978    echo "$as_me:11973: \$? = $ac_status" >&5    echo "$as_me:11978: \$? = $ac_status" >&5
11979    (exit $ac_status); } &&    (exit $ac_status); } &&
11980           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
11981    { (eval echo "$as_me:11976: \"$ac_try\"") >&5    { (eval echo "$as_me:11981: \"$ac_try\"") >&5
11982    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11983    ac_status=$?    ac_status=$?
11984    echo "$as_me:11979: \$? = $ac_status" >&5    echo "$as_me:11984: \$? = $ac_status" >&5
11985    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11986    ac_cv_func_socket=yes    ac_cv_func_socket=yes
11987  else  else
# Line 11986  ac_cv_func_socket=no Line 11991  ac_cv_func_socket=no
11991  fi  fi
11992  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11993  fi  fi
11994  echo "$as_me:11989: result: $ac_cv_func_socket" >&5  echo "$as_me:11994: result: $ac_cv_func_socket" >&5
11995  echo "${ECHO_T}$ac_cv_func_socket" >&6  echo "${ECHO_T}$ac_cv_func_socket" >&6
11996  if test $ac_cv_func_socket = yes; then  if test $ac_cv_func_socket = yes; then
11997    :    :
# Line 11995  else Line 12000  else
12000  fi  fi
12001    
12002  if test $ok_so_far = yes; then  if test $ok_so_far = yes; then
12003    echo "$as_me:11998: checking for netinet/in.h" >&5    echo "$as_me:12003: checking for netinet/in.h" >&5
12004  echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6  echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6
12005  if test "${ac_cv_header_netinet_in_h+set}" = set; then  if test "${ac_cv_header_netinet_in_h+set}" = set; then
12006    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 12005  else Line 12010  else
12010  #include "confdefs.h"  #include "confdefs.h"
12011  #include <netinet/in.h>  #include <netinet/in.h>
12012  _ACEOF  _ACEOF
12013  if { (eval echo "$as_me:12008: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:12013: \"$ac_cpp conftest.$ac_ext\"") >&5
12014    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12015    ac_status=$?    ac_status=$?
12016    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
12017    rm -f conftest.er1    rm -f conftest.er1
12018    cat conftest.err >&5    cat conftest.err >&5
12019    echo "$as_me:12014: \$? = $ac_status" >&5    echo "$as_me:12019: \$? = $ac_status" >&5
12020    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
12021    if test -s conftest.err; then    if test -s conftest.err; then
12022      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 12030  else Line 12035  else
12035  fi  fi
12036  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
12037  fi  fi
12038  echo "$as_me:12033: result: $ac_cv_header_netinet_in_h" >&5  echo "$as_me:12038: result: $ac_cv_header_netinet_in_h" >&5
12039  echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6  echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6
12040  if test $ac_cv_header_netinet_in_h = yes; then  if test $ac_cv_header_netinet_in_h = yes; then
12041    :    :
# Line 12040  fi Line 12045  fi
12045    
12046  fi  fi
12047  if test $ok_so_far = yes; then  if test $ok_so_far = yes; then
12048    echo "$as_me:12043: checking for arpa/inet.h" >&5    echo "$as_me:12048: checking for arpa/inet.h" >&5
12049  echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6  echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6
12050  if test "${ac_cv_header_arpa_inet_h+set}" = set; then  if test "${ac_cv_header_arpa_inet_h+set}" = set; then
12051    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 12050  else Line 12055  else
12055  #include "confdefs.h"  #include "confdefs.h"
12056  #include <arpa/inet.h>  #include <arpa/inet.h>
12057  _ACEOF  _ACEOF
12058  if { (eval echo "$as_me:12053: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:12058: \"$ac_cpp conftest.$ac_ext\"") >&5
12059    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12060    ac_status=$?    ac_status=$?
12061    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
12062    rm -f conftest.er1    rm -f conftest.er1
12063    cat conftest.err >&5    cat conftest.err >&5
12064    echo "$as_me:12059: \$? = $ac_status" >&5    echo "$as_me:12064: \$? = $ac_status" >&5
12065    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
12066    if test -s conftest.err; then    if test -s conftest.err; then
12067      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 12075  else Line 12080  else
12080  fi  fi
12081  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
12082  fi  fi
12083  echo "$as_me:12078: result: $ac_cv_header_arpa_inet_h" >&5  echo "$as_me:12083: result: $ac_cv_header_arpa_inet_h" >&5
12084  echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6  echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6
12085  if test $ac_cv_header_arpa_inet_h = yes; then  if test $ac_cv_header_arpa_inet_h = yes; then
12086    :    :
# Line 12100  EOF Line 12105  EOF
12105    
12106  fi  fi
12107    
12108  echo "$as_me:12103: checking whether system supports dynamic ptys" >&5  echo "$as_me:12108: checking whether system supports dynamic ptys" >&5
12109  echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6  echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6
12110  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
12111    echo "$as_me:12106: result: yes" >&5    echo "$as_me:12111: result: yes" >&5
12112  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
12113    
12114  cat >>confdefs.h <<\EOF  cat >>confdefs.h <<\EOF
# Line 12111  cat >>confdefs.h <<\EOF Line 12116  cat >>confdefs.h <<\EOF
12116  EOF  EOF
12117    
12118  else  else
12119    echo "$as_me:12114: result: no" >&5    echo "$as_me:12119: result: no" >&5
12120  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
12121  fi  fi
12122    
12123  echo "$as_me:12118: checking for pid_t" >&5  echo "$as_me:12123: checking for pid_t" >&5
12124  echo $ECHO_N "checking for pid_t... $ECHO_C" >&6  echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
12125  if test "${ac_cv_type_pid_t+set}" = set; then  if test "${ac_cv_type_pid_t+set}" = set; then
12126    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 12136  if (sizeof (pid_t)) Line 12141  if (sizeof (pid_t))
12141  }  }
12142  _ACEOF  _ACEOF
12143  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
12144  if { (eval echo "$as_me:12139: \"$ac_compile\"") >&5  if { (eval echo "$as_me:12144: \"$ac_compile\"") >&5
12145    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
12146    ac_status=$?    ac_status=$?
12147    echo "$as_me:12142: \$? = $ac_status" >&5    echo "$as_me:12147: \$? = $ac_status" >&5
12148    (exit $ac_status); } &&    (exit $ac_status); } &&
12149           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
12150    { (eval echo "$as_me:12145: \"$ac_try\"") >&5    { (eval echo "$as_me:12150: \"$ac_try\"") >&5
12151    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
12152    ac_status=$?    ac_status=$?
12153    echo "$as_me:12148: \$? = $ac_status" >&5    echo "$as_me:12153: \$? = $ac_status" >&5
12154    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
12155    ac_cv_type_pid_t=yes    ac_cv_type_pid_t=yes
12156  else  else
# Line 12155  ac_cv_type_pid_t=no Line 12160  ac_cv_type_pid_t=no
12160  fi  fi
12161  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
12162  fi  fi
12163  echo "$as_me:12158: result: $ac_cv_type_pid_t" >&5  echo "$as_me:12163: result: $ac_cv_type_pid_t" >&5
12164  echo "${ECHO_T}$ac_cv_type_pid_t" >&6  echo "${ECHO_T}$ac_cv_type_pid_t" >&6
12165  if test $ac_cv_type_pid_t = yes; then  if test $ac_cv_type_pid_t = yes; then
12166    :    :
# Line 12170  fi Line 12175  fi
12175  for ac_header in unistd.h vfork.h  for ac_header in unistd.h vfork.h
12176  do  do
12177  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12178  echo "$as_me:12173: checking for $ac_header" >&5  echo "$as_me:12178: checking for $ac_header" >&5
12179  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12180  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
12181    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 12180  else Line 12185  else
12185  #include "confdefs.h"  #include "confdefs.h"
12186  #include <$ac_header>  #include <$ac_header>
12187  _ACEOF  _ACEOF
12188  if { (eval echo "$as_me:12183: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:12188: \"$ac_cpp conftest.$ac_ext\"") >&5
12189    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12190    ac_status=$?    ac_status=$?
12191    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
12192    rm -f conftest.er1    rm -f conftest.er1
12193    cat conftest.err >&5    cat conftest.err >&5
12194    echo "$as_me:12189: \$? = $ac_status" >&5    echo "$as_me:12194: \$? = $ac_status" >&5
12195    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
12196    if test -s conftest.err; then    if test -s conftest.err; then
12197      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 12205  else Line 12210  else
12210  fi  fi
12211  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
12212  fi  fi
12213  echo "$as_me:12208: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:12213: result: `eval echo '${'$as_ac_Header'}'`" >&5
12214  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12215  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
12216    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 12218  done Line 12223  done
12223  for ac_func in fork vfork  for ac_func in fork vfork
12224  do  do
12225  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12226  echo "$as_me:12221: checking for $ac_func" >&5  echo "$as_me:12226: checking for $ac_func" >&5
12227  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12228  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
12229    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 12255  f = $ac_func; Line 12260  f = $ac_func;
12260  }  }
12261  _ACEOF  _ACEOF
12262  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
12263  if { (eval echo "$as_me:12258: \"$ac_link\"") >&5  if { (eval echo "$as_me:12263: \"$ac_link\"") >&5
12264    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
12265    ac_status=$?    ac_status=$?
12266    echo "$as_me:12261: \$? = $ac_status" >&5    echo "$as_me:12266: \$? = $ac_status" >&5
12267    (exit $ac_status); } &&    (exit $ac_status); } &&
12268           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
12269    { (eval echo "$as_me:12264: \"$ac_try\"") >&5    { (eval echo "$as_me:12269: \"$ac_try\"") >&5
12270    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
12271    ac_status=$?    ac_status=$?
12272    echo "$as_me:12267: \$? = $ac_status" >&5    echo "$as_me:12272: \$? = $ac_status" >&5
12273    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
12274    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
12275  else  else
# Line 12274  eval "$as_ac_var=no" Line 12279  eval "$as_ac_var=no"
12279  fi  fi
12280  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12281  fi  fi
12282  echo "$as_me:12277: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:12282: result: `eval echo '${'$as_ac_var'}'`" >&5
12283  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12284  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
12285    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 12286  done Line 12291  done
12291    
12292  ac_cv_func_fork_works=$ac_cv_func_fork  ac_cv_func_fork_works=$ac_cv_func_fork
12293  if test "x$ac_cv_func_fork" = xyes; then  if test "x$ac_cv_func_fork" = xyes; then
12294    echo "$as_me:12289: checking for working fork" >&5    echo "$as_me:12294: checking for working fork" >&5
12295  echo $ECHO_N "checking for working fork... $ECHO_C" >&6  echo $ECHO_N "checking for working fork... $ECHO_C" >&6
12296  if test "${ac_cv_func_fork_works+set}" = set; then  if test "${ac_cv_func_fork_works+set}" = set; then
12297    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 12309  else Line 12314  else
12314        }        }
12315  _ACEOF  _ACEOF
12316  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
12317  if { (eval echo "$as_me:12312: \"$ac_link\"") >&5  if { (eval echo "$as_me:12317: \"$ac_link\"") >&5
12318    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
12319    ac_status=$?    ac_status=$?
12320    echo "$as_me:12315: \$? = $ac_status" >&5    echo "$as_me:12320: \$? = $ac_status" >&5
12321    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12322    { (eval echo "$as_me:12317: \"$ac_try\"") >&5    { (eval echo "$as_me:12322: \"$ac_try\"") >&5
12323    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
12324    ac_status=$?    ac_status=$?
12325    echo "$as_me:12320: \$? = $ac_status" >&5    echo "$as_me:12325: \$? = $ac_status" >&5
12326    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
12327    ac_cv_func_fork_works=yes    ac_cv_func_fork_works=yes
12328  else  else
# Line 12329  fi Line 12334  fi
12334  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
12335  fi  fi
12336  fi  fi
12337  echo "$as_me:12332: result: $ac_cv_func_fork_works" >&5  echo "$as_me:12337: result: $ac_cv_func_fork_works" >&5
12338  echo "${ECHO_T}$ac_cv_func_fork_works" >&6  echo "${ECHO_T}$ac_cv_func_fork_works" >&6
12339    
12340  fi  fi
# Line 12343  if test "x$ac_cv_func_fork_works" = xcro Line 12348  if test "x$ac_cv_func_fork_works" = xcro
12348        ac_cv_func_fork_works=yes        ac_cv_func_fork_works=yes
12349        ;;        ;;
12350    esac    esac
12351    { echo "$as_me:12346: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5    { echo "$as_me:12351: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5
12352  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;}
12353  fi  fi
12354  ac_cv_func_vfork_works=$ac_cv_func_vfork  ac_cv_func_vfork_works=$ac_cv_func_vfork
12355  if test "x$ac_cv_func_vfork" = xyes; then  if test "x$ac_cv_func_vfork" = xyes; then
12356    echo "$as_me:12351: checking for working vfork" >&5    echo "$as_me:12356: checking for working vfork" >&5
12357  echo $ECHO_N "checking for working vfork... $ECHO_C" >&6  echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
12358  if test "${ac_cv_func_vfork_works+set}" = set; then  if test "${ac_cv_func_vfork_works+set}" = set; then
12359    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 12454  main () Line 12459  main ()
12459  }  }
12460  _ACEOF  _ACEOF
12461  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
12462  if { (eval echo "$as_me:12457: \"$ac_link\"") >&5  if { (eval echo "$as_me:12462: \"$ac_link\"") >&5
12463    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
12464    ac_status=$?    ac_status=$?
12465    echo "$as_me:12460: \$? = $ac_status" >&5    echo "$as_me:12465: \$? = $ac_status" >&5
12466    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12467    { (eval echo "$as_me:12462: \"$ac_try\"") >&5    { (eval echo "$as_me:12467: \"$ac_try\"") >&5
12468    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
12469    ac_status=$?    ac_status=$?
12470    echo "$as_me:12465: \$? = $ac_status" >&5    echo "$as_me:12470: \$? = $ac_status" >&5
12471    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
12472    ac_cv_func_vfork_works=yes    ac_cv_func_vfork_works=yes
12473  else  else
# Line 12474  fi Line 12479  fi
12479  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
12480  fi  fi
12481  fi  fi
12482  echo "$as_me:12477: result: $ac_cv_func_vfork_works" >&5  echo "$as_me:12482: result: $ac_cv_func_vfork_works" >&5
12483  echo "${ECHO_T}$ac_cv_func_vfork_works" >&6  echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
12484    
12485  fi;  fi;
12486  if test "x$ac_cv_func_fork_works" = xcross; then  if test "x$ac_cv_func_fork_works" = xcross; then
12487    ac_cv_func_vfork_works=ac_cv_func_vfork    ac_cv_func_vfork_works=ac_cv_func_vfork
12488    { echo "$as_me:12483: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5    { echo "$as_me:12488: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5
12489  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;}
12490  fi  fi
12491    
# Line 12506  EOF Line 12511  EOF
12511  fi  fi
12512    
12513  # Fixme: This should be replaced when we have autoconf 2.14.  # Fixme: This should be replaced when we have autoconf 2.14.
12514  echo "$as_me:12509: checking for size_t" >&5  echo "$as_me:12514: checking for size_t" >&5
12515  echo $ECHO_N "checking for size_t... $ECHO_C" >&6  echo $ECHO_N "checking for size_t... $ECHO_C" >&6
12516  if test "${ac_cv_type_size_t+set}" = set; then  if test "${ac_cv_type_size_t+set}" = set; then
12517    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 12527  if (sizeof (size_t)) Line 12532  if (sizeof (size_t))
12532  }  }
12533  _ACEOF  _ACEOF
12534  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
12535  if { (eval echo "$as_me:12530: \"$ac_compile\"") >&5  if { (eval echo "$as_me:12535: \"$ac_compile\"") >&5
12536    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
12537    ac_status=$?    ac_status=$?
12538    echo "$as_me:12533: \$? = $ac_status" >&5    echo "$as_me:12538: \$? = $ac_status" >&5
12539    (exit $ac_status); } &&    (exit $ac_status); } &&
12540           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
12541    { (eval echo "$as_me:12536: \"$ac_try\"") >&5    { (eval echo "$as_me:12541: \"$ac_try\"") >&5
12542    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
12543    ac_status=$?    ac_status=$?
12544    echo "$as_me:12539: \$? = $ac_status" >&5    echo "$as_me:12544: \$? = $ac_status" >&5
12545    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
12546    ac_cv_type_size_t=yes    ac_cv_type_size_t=yes
12547  else  else
# Line 12546  ac_cv_type_size_t=no Line 12551  ac_cv_type_size_t=no
12551  fi  fi
12552  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
12553  fi  fi
12554  echo "$as_me:12549: result: $ac_cv_type_size_t" >&5  echo "$as_me:12554: result: $ac_cv_type_size_t" >&5
12555  echo "${ECHO_T}$ac_cv_type_size_t" >&6  echo "${ECHO_T}$ac_cv_type_size_t" >&6
12556  if test $ac_cv_type_size_t = yes; then  if test $ac_cv_type_size_t = yes; then
12557    :    :
# Line 12566  CPPFLAGS="$REAL_CPPFLAGS" Line 12571  CPPFLAGS="$REAL_CPPFLAGS"
12571  version=`grep 'defconst[         ]*emacs-version' ${srcdir}/lisp/version.el \  version=`grep 'defconst[         ]*emacs-version' ${srcdir}/lisp/version.el \
12572           | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`           | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`
12573  if test x"${version}" = x; then  if test x"${version}" = x; then
12574    { { echo "$as_me:12569: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5    { { echo "$as_me:12574: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5
12575  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;}
12576     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
12577  fi  fi
# Line 12659  fi Line 12664  fi
12664  for ac_header in nlist.h  for ac_header in nlist.h
12665  do  do
12666  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12667  echo "$as_me:12662: checking for $ac_header" >&5  echo "$as_me:12667: checking for $ac_header" >&5
12668  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12669  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
12670    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 12669  else Line 12674  else
12674  #include "confdefs.h"  #include "confdefs.h"
12675  #include <$ac_header>  #include <$ac_header>
12676  _ACEOF  _ACEOF
12677  if { (eval echo "$as_me:12672: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:12677: \"$ac_cpp conftest.$ac_ext\"") >&5
12678    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12679    ac_status=$?    ac_status=$?
12680    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
12681    rm -f conftest.er1    rm -f conftest.er1
12682    cat conftest.err >&5    cat conftest.err >&5
12683    echo "$as_me:12678: \$? = $ac_status" >&5    echo "$as_me:12683: \$? = $ac_status" >&5
12684    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
12685    if test -s conftest.err; then    if test -s conftest.err; then
12686      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 12694  else Line 12699  else
12699  fi  fi
12700  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
12701  fi  fi
12702  echo "$as_me:12697: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:12702: result: `eval echo '${'$as_ac_Header'}'`" >&5
12703  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12704  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
12705    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 12848  DEFS=-DHAVE_CONFIG_H Line 12853  DEFS=-DHAVE_CONFIG_H
12853  : ${CONFIG_STATUS=./config.status}  : ${CONFIG_STATUS=./config.status}
12854  ac_clean_files_save=$ac_clean_files  ac_clean_files_save=$ac_clean_files
12855  ac_clean_files="$ac_clean_files $CONFIG_STATUS"  ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12856  { echo "$as_me:12851: creating $CONFIG_STATUS" >&5  { echo "$as_me:12856: creating $CONFIG_STATUS" >&5
12857  echo "$as_me: creating $CONFIG_STATUS" >&6;}  echo "$as_me: creating $CONFIG_STATUS" >&6;}
12858  cat >$CONFIG_STATUS <<_ACEOF  cat >$CONFIG_STATUS <<_ACEOF
12859  #! $SHELL  #! $SHELL
# Line 13024  cat >>$CONFIG_STATUS <<\EOF Line 13029  cat >>$CONFIG_STATUS <<\EOF
13029      echo "$ac_cs_version"; exit 0 ;;      echo "$ac_cs_version"; exit 0 ;;
13030    --he | --h)    --he | --h)
13031      # Conflict between --help and --header      # Conflict between --help and --header
13032      { { echo "$as_me:13027: error: ambiguous option: $1      { { echo "$as_me:13032: error: ambiguous option: $1
13033  Try \`$0 --help' for more information." >&5  Try \`$0 --help' for more information." >&5
13034  echo "$as_me: error: ambiguous option: $1  echo "$as_me: error: ambiguous option: $1
13035  Try \`$0 --help' for more information." >&2;}  Try \`$0 --help' for more information." >&2;}
# Line 13043  Try \`$0 --help' for more information." Line 13048  Try \`$0 --help' for more information."
13048      ac_need_defaults=false;;      ac_need_defaults=false;;
13049    
13050    # This is an error.    # This is an error.
13051    -*) { { echo "$as_me:13046: error: unrecognized option: $1    -*) { { echo "$as_me:13051: error: unrecognized option: $1
13052  Try \`$0 --help' for more information." >&5  Try \`$0 --help' for more information." >&5
13053  echo "$as_me: error: unrecognized option: $1  echo "$as_me: error: unrecognized option: $1
13054  Try \`$0 --help' for more information." >&2;}  Try \`$0 --help' for more information." >&2;}
# Line 13099  do Line 13104  do
13104    "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;;    "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;;
13105    "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;    "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
13106    "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" ;;
13107    *) { { echo "$as_me:13102: error: invalid argument: $ac_config_target" >&5    *) { { echo "$as_me:13107: error: invalid argument: $ac_config_target" >&5
13108  echo "$as_me: error: invalid argument: $ac_config_target" >&2;}  echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13109     { (exit 1); exit 1; }; };;     { (exit 1); exit 1; }; };;
13110    esac    esac
# Line 13348  done; } Line 13353  done; }
13353    esac    esac
13354    
13355    if test x"$ac_file" != x-; then    if test x"$ac_file" != x-; then
13356      { echo "$as_me:13351: creating $ac_file" >&5      { echo "$as_me:13356: creating $ac_file" >&5
13357  echo "$as_me: creating $ac_file" >&6;}  echo "$as_me: creating $ac_file" >&6;}
13358      rm -f "$ac_file"      rm -f "$ac_file"
13359    fi    fi
# Line 13366  echo "$as_me: creating $ac_file" >&6;} Line 13371  echo "$as_me: creating $ac_file" >&6;}
13371        -) echo $tmp/stdin ;;        -) echo $tmp/stdin ;;
13372        [\\/$]*)        [\\/$]*)
13373           # Absolute (can't be DOS-style, as IFS=:)           # Absolute (can't be DOS-style, as IFS=:)
13374           test -f "$f" || { { echo "$as_me:13369: error: cannot find input file: $f" >&5           test -f "$f" || { { echo "$as_me:13374: error: cannot find input file: $f" >&5
13375  echo "$as_me: error: cannot find input file: $f" >&2;}  echo "$as_me: error: cannot find input file: $f" >&2;}
13376     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
13377           echo $f;;           echo $f;;
# Line 13379  echo "$as_me: error: cannot find input f Line 13384  echo "$as_me: error: cannot find input f
13384             echo $srcdir/$f             echo $srcdir/$f
13385           else           else
13386             # /dev/null tree             # /dev/null tree
13387             { { echo "$as_me:13382: error: cannot find input file: $f" >&5             { { echo "$as_me:13387: error: cannot find input file: $f" >&5
13388  echo "$as_me: error: cannot find input file: $f" >&2;}  echo "$as_me: error: cannot find input file: $f" >&2;}
13389     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
13390           fi;;           fi;;
# Line 13440  for ac_file in : $CONFIG_HEADERS; do tes Line 13445  for ac_file in : $CONFIG_HEADERS; do tes
13445    * )   ac_file_in=$ac_file.in ;;    * )   ac_file_in=$ac_file.in ;;
13446    esac    esac
13447    
13448    test x"$ac_file" != x- && { echo "$as_me:13443: creating $ac_file" >&5    test x"$ac_file" != x- && { echo "$as_me:13448: creating $ac_file" >&5
13449  echo "$as_me: creating $ac_file" >&6;}  echo "$as_me: creating $ac_file" >&6;}
13450    
13451    # 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 13451  echo "$as_me: creating $ac_file" >&6;} Line 13456  echo "$as_me: creating $ac_file" >&6;}
13456        -) echo $tmp/stdin ;;        -) echo $tmp/stdin ;;
13457        [\\/$]*)        [\\/$]*)
13458           # Absolute (can't be DOS-style, as IFS=:)           # Absolute (can't be DOS-style, as IFS=:)
13459           test -f "$f" || { { echo "$as_me:13454: error: cannot find input file: $f" >&5           test -f "$f" || { { echo "$as_me:13459: error: cannot find input file: $f" >&5
13460  echo "$as_me: error: cannot find input file: $f" >&2;}  echo "$as_me: error: cannot find input file: $f" >&2;}
13461     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
13462           echo $f;;           echo $f;;
# Line 13464  echo "$as_me: error: cannot find input f Line 13469  echo "$as_me: error: cannot find input f
13469             echo $srcdir/$f             echo $srcdir/$f
13470           else           else
13471             # /dev/null tree             # /dev/null tree
13472             { { echo "$as_me:13467: error: cannot find input file: $f" >&5             { { echo "$as_me:13472: error: cannot find input file: $f" >&5
13473  echo "$as_me: error: cannot find input file: $f" >&2;}  echo "$as_me: error: cannot find input file: $f" >&2;}
13474     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
13475           fi;;           fi;;
# Line 13581  cat >>$CONFIG_STATUS <<\EOF Line 13586  cat >>$CONFIG_STATUS <<\EOF
13586    rm -f $tmp/in    rm -f $tmp/in
13587    if test x"$ac_file" != x-; then    if test x"$ac_file" != x-; then
13588      if cmp -s $ac_file $tmp/config.h 2>/dev/null; then      if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
13589        { echo "$as_me:13584: $ac_file is unchanged" >&5        { echo "$as_me:13589: $ac_file is unchanged" >&5
13590  echo "$as_me: $ac_file is unchanged" >&6;}  echo "$as_me: $ac_file is unchanged" >&6;}
13591      else      else
13592        ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \        ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \

Legend:
Removed from v.1.91  
changed lines
  Added in v.1.92

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