/[emacs]/emacs/configure
ViewVC logotype

Diff of /emacs/configure

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

revision 1.73 by eliz, Sat Nov 24 11:28:43 2001 UTC revision 1.74 by gerd, Thu Nov 29 12:13:52 2001 UTC
# Line 1296  configuration=${host_alias-$host} Line 1296  configuration=${host_alias-$host}
1296  machine='' opsys='' unported=no  machine='' opsys='' unported=no
1297  case "${canonical}" in  case "${canonical}" in
1298    
1299      ## FreeBSD ports
1300      *-*-freebsd* )
1301        opsys=freebsd
1302        case "${canonical}" in
1303          alpha*-*-freebsd*)        machine=alpha ;;
1304          i[3456]86-*-freebsd*)     machine=intel386 ;;
1305        esac
1306      ;;
1307    
1308    ## NetBSD ports    ## NetBSD ports
1309    *-*-netbsd* )    *-*-netbsd* )
1310      opsys=netbsd      opsys=netbsd
# Line 2140  case "${canonical}" in Line 2149  case "${canonical}" in
2149                                  ;;                                  ;;
2150        *-sysv4.2uw* )            opsys=unixware; NON_GNU_CPP=/lib/cpp ;;        *-sysv4.2uw* )            opsys=unixware; NON_GNU_CPP=/lib/cpp ;;
2151        *-386bsd* )               opsys=386bsd ;;        *-386bsd* )               opsys=386bsd ;;
       *-freebsd* )              opsys=freebsd ;;  
2152        *-nextstep* )             opsys=nextstep ;;        *-nextstep* )             opsys=nextstep ;;
2153        ## Otherwise, we'll fall through to the generic opsys code at the bottom.        ## Otherwise, we'll fall through to the generic opsys code at the bottom.
2154      esac      esac
# Line 2210  if test x"${opsys}" = x; then Line 2218  if test x"${opsys}" = x; then
2218  fi  fi
2219    
2220  if test $unported = yes; then  if test $unported = yes; then
2221    { { echo "$as_me:2213: error: Emacs hasn't been ported to \`${canonical}' systems.    { { echo "$as_me:2221: error: Emacs hasn't been ported to \`${canonical}' systems.
2222  Check \`etc/MACHINES' for recognized configuration names." >&5  Check \`etc/MACHINES' for recognized configuration names." >&5
2223  echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems.  echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems.
2224  Check \`etc/MACHINES' for recognized configuration names." >&2;}  Check \`etc/MACHINES' for recognized configuration names." >&2;}
# Line 2239  ac_compiler_gnu=$ac_cv_c_compiler_gnu Line 2247  ac_compiler_gnu=$ac_cv_c_compiler_gnu
2247  if test -n "$ac_tool_prefix"; then  if test -n "$ac_tool_prefix"; then
2248    # 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.
2249  set dummy ${ac_tool_prefix}gcc; ac_word=$2  set dummy ${ac_tool_prefix}gcc; ac_word=$2
2250  echo "$as_me:2242: checking for $ac_word" >&5  echo "$as_me:2250: checking for $ac_word" >&5
2251  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2252  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
2253    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2254  for ac_dir in $ac_dummy; do Line 2262  for ac_dir in $ac_dummy; do
2262    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
2263    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
2264  ac_cv_prog_CC="${ac_tool_prefix}gcc"  ac_cv_prog_CC="${ac_tool_prefix}gcc"
2265  echo "$as_me:2257: found $ac_dir/$ac_word" >&5  echo "$as_me:2265: found $ac_dir/$ac_word" >&5
2266  break  break
2267  done  done
2268    
# Line 2262  fi Line 2270  fi
2270  fi  fi
2271  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2272  if test -n "$CC"; then  if test -n "$CC"; then
2273    echo "$as_me:2265: result: $CC" >&5    echo "$as_me:2273: result: $CC" >&5
2274  echo "${ECHO_T}$CC" >&6  echo "${ECHO_T}$CC" >&6
2275  else  else
2276    echo "$as_me:2268: result: no" >&5    echo "$as_me:2276: result: no" >&5
2277  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2278  fi  fi
2279    
# Line 2274  if test -z "$ac_cv_prog_CC"; then Line 2282  if test -z "$ac_cv_prog_CC"; then
2282    ac_ct_CC=$CC    ac_ct_CC=$CC
2283    # 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.
2284  set dummy gcc; ac_word=$2  set dummy gcc; ac_word=$2
2285  echo "$as_me:2277: checking for $ac_word" >&5  echo "$as_me:2285: checking for $ac_word" >&5
2286  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2287  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2288    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2289  for ac_dir in $ac_dummy; do Line 2297  for ac_dir in $ac_dummy; do
2297    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
2298    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
2299  ac_cv_prog_ac_ct_CC="gcc"  ac_cv_prog_ac_ct_CC="gcc"
2300  echo "$as_me:2292: found $ac_dir/$ac_word" >&5  echo "$as_me:2300: found $ac_dir/$ac_word" >&5
2301  break  break
2302  done  done
2303    
# Line 2297  fi Line 2305  fi
2305  fi  fi
2306  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_CC=$ac_cv_prog_ac_ct_CC
2307  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_CC"; then
2308    echo "$as_me:2300: result: $ac_ct_CC" >&5    echo "$as_me:2308: result: $ac_ct_CC" >&5
2309  echo "${ECHO_T}$ac_ct_CC" >&6  echo "${ECHO_T}$ac_ct_CC" >&6
2310  else  else
2311    echo "$as_me:2303: result: no" >&5    echo "$as_me:2311: result: no" >&5
2312  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2313  fi  fi
2314    
# Line 2313  if test -z "$CC"; then Line 2321  if test -z "$CC"; then
2321    if test -n "$ac_tool_prefix"; then    if test -n "$ac_tool_prefix"; then
2322    # 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.
2323  set dummy ${ac_tool_prefix}cc; ac_word=$2  set dummy ${ac_tool_prefix}cc; ac_word=$2
2324  echo "$as_me:2316: checking for $ac_word" >&5  echo "$as_me:2324: checking for $ac_word" >&5
2325  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2326  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
2327    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2328  for ac_dir in $ac_dummy; do Line 2336  for ac_dir in $ac_dummy; do
2336    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
2337    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
2338  ac_cv_prog_CC="${ac_tool_prefix}cc"  ac_cv_prog_CC="${ac_tool_prefix}cc"
2339  echo "$as_me:2331: found $ac_dir/$ac_word" >&5  echo "$as_me:2339: found $ac_dir/$ac_word" >&5
2340  break  break
2341  done  done
2342    
# Line 2336  fi Line 2344  fi
2344  fi  fi
2345  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2346  if test -n "$CC"; then  if test -n "$CC"; then
2347    echo "$as_me:2339: result: $CC" >&5    echo "$as_me:2347: result: $CC" >&5
2348  echo "${ECHO_T}$CC" >&6  echo "${ECHO_T}$CC" >&6
2349  else  else
2350    echo "$as_me:2342: result: no" >&5    echo "$as_me:2350: result: no" >&5
2351  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2352  fi  fi
2353    
# Line 2348  if test -z "$ac_cv_prog_CC"; then Line 2356  if test -z "$ac_cv_prog_CC"; then
2356    ac_ct_CC=$CC    ac_ct_CC=$CC
2357    # 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.
2358  set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
2359  echo "$as_me:2351: checking for $ac_word" >&5  echo "$as_me:2359: checking for $ac_word" >&5
2360  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2361  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2362    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2363  for ac_dir in $ac_dummy; do Line 2371  for ac_dir in $ac_dummy; do
2371    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
2372    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
2373  ac_cv_prog_ac_ct_CC="cc"  ac_cv_prog_ac_ct_CC="cc"
2374  echo "$as_me:2366: found $ac_dir/$ac_word" >&5  echo "$as_me:2374: found $ac_dir/$ac_word" >&5
2375  break  break
2376  done  done
2377    
# Line 2371  fi Line 2379  fi
2379  fi  fi
2380  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_CC=$ac_cv_prog_ac_ct_CC
2381  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_CC"; then
2382    echo "$as_me:2374: result: $ac_ct_CC" >&5    echo "$as_me:2382: result: $ac_ct_CC" >&5
2383  echo "${ECHO_T}$ac_ct_CC" >&6  echo "${ECHO_T}$ac_ct_CC" >&6
2384  else  else
2385    echo "$as_me:2377: result: no" >&5    echo "$as_me:2385: result: no" >&5
2386  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2387  fi  fi
2388    
# Line 2387  fi Line 2395  fi
2395  if test -z "$CC"; then  if test -z "$CC"; then
2396    # 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.
2397  set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
2398  echo "$as_me:2390: checking for $ac_word" >&5  echo "$as_me:2398: checking for $ac_word" >&5
2399  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2400  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
2401    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2407  if test "$ac_dir/$ac_word" = "/usr/ucb/c Line 2415  if test "$ac_dir/$ac_word" = "/usr/ucb/c
2415    continue    continue
2416  fi  fi
2417  ac_cv_prog_CC="cc"  ac_cv_prog_CC="cc"
2418  echo "$as_me:2410: found $ac_dir/$ac_word" >&5  echo "$as_me:2418: found $ac_dir/$ac_word" >&5
2419  break  break
2420  done  done
2421    
# Line 2429  fi Line 2437  fi
2437  fi  fi
2438  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2439  if test -n "$CC"; then  if test -n "$CC"; then
2440    echo "$as_me:2432: result: $CC" >&5    echo "$as_me:2440: result: $CC" >&5
2441  echo "${ECHO_T}$CC" >&6  echo "${ECHO_T}$CC" >&6
2442  else  else
2443    echo "$as_me:2435: result: no" >&5    echo "$as_me:2443: result: no" >&5
2444  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2445  fi  fi
2446    
# Line 2443  if test -z "$CC"; then Line 2451  if test -z "$CC"; then
2451    do    do
2452      # 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.
2453  set dummy $ac_tool_prefix$ac_prog; ac_word=$2  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2454  echo "$as_me:2446: checking for $ac_word" >&5  echo "$as_me:2454: checking for $ac_word" >&5
2455  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2456  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
2457    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2458  for ac_dir in $ac_dummy; do Line 2466  for ac_dir in $ac_dummy; do
2466    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
2467    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
2468  ac_cv_prog_CC="$ac_tool_prefix$ac_prog"  ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2469  echo "$as_me:2461: found $ac_dir/$ac_word" >&5  echo "$as_me:2469: found $ac_dir/$ac_word" >&5
2470  break  break
2471  done  done
2472    
# Line 2466  fi Line 2474  fi
2474  fi  fi
2475  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2476  if test -n "$CC"; then  if test -n "$CC"; then
2477    echo "$as_me:2469: result: $CC" >&5    echo "$as_me:2477: result: $CC" >&5
2478  echo "${ECHO_T}$CC" >&6  echo "${ECHO_T}$CC" >&6
2479  else  else
2480    echo "$as_me:2472: result: no" >&5    echo "$as_me:2480: result: no" >&5
2481  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2482  fi  fi
2483    
# Line 2482  if test -z "$CC"; then Line 2490  if test -z "$CC"; then
2490  do  do
2491    # 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.
2492  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
2493  echo "$as_me:2485: checking for $ac_word" >&5  echo "$as_me:2493: checking for $ac_word" >&5
2494  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2495  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2496    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2497  for ac_dir in $ac_dummy; do Line 2505  for ac_dir in $ac_dummy; do
2505    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
2506    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
2507  ac_cv_prog_ac_ct_CC="$ac_prog"  ac_cv_prog_ac_ct_CC="$ac_prog"
2508  echo "$as_me:2500: found $ac_dir/$ac_word" >&5  echo "$as_me:2508: found $ac_dir/$ac_word" >&5
2509  break  break
2510  done  done
2511    
# Line 2505  fi Line 2513  fi
2513  fi  fi
2514  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_CC=$ac_cv_prog_ac_ct_CC
2515  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_CC"; then
2516    echo "$as_me:2508: result: $ac_ct_CC" >&5    echo "$as_me:2516: result: $ac_ct_CC" >&5
2517  echo "${ECHO_T}$ac_ct_CC" >&6  echo "${ECHO_T}$ac_ct_CC" >&6
2518  else  else
2519    echo "$as_me:2511: result: no" >&5    echo "$as_me:2519: result: no" >&5
2520  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2521  fi  fi
2522    
# Line 2520  fi Line 2528  fi
2528    
2529  fi  fi
2530    
2531  test -z "$CC" && { { echo "$as_me:2523: error: no acceptable cc found in \$PATH" >&5  test -z "$CC" && { { echo "$as_me:2531: error: no acceptable cc found in \$PATH" >&5
2532  echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}  echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2533     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
2534    
2535  # Provide some information about the compiler.  # Provide some information about the compiler.
2536  echo "$as_me:2528:" \  echo "$as_me:2536:" \
2537       "checking for C compiler version" >&5       "checking for C compiler version" >&5
2538  ac_compiler=`set X $ac_compile; echo $2`  ac_compiler=`set X $ac_compile; echo $2`
2539  { (eval echo "$as_me:2531: \"$ac_compiler --version </dev/null >&5\"") >&5  { (eval echo "$as_me:2539: \"$ac_compiler --version </dev/null >&5\"") >&5
2540    (eval $ac_compiler --version </dev/null >&5) 2>&5    (eval $ac_compiler --version </dev/null >&5) 2>&5
2541    ac_status=$?    ac_status=$?
2542    echo "$as_me:2534: \$? = $ac_status" >&5    echo "$as_me:2542: \$? = $ac_status" >&5
2543    (exit $ac_status); }    (exit $ac_status); }
2544  { (eval echo "$as_me:2536: \"$ac_compiler -v </dev/null >&5\"") >&5  { (eval echo "$as_me:2544: \"$ac_compiler -v </dev/null >&5\"") >&5
2545    (eval $ac_compiler -v </dev/null >&5) 2>&5    (eval $ac_compiler -v </dev/null >&5) 2>&5
2546    ac_status=$?    ac_status=$?
2547    echo "$as_me:2539: \$? = $ac_status" >&5    echo "$as_me:2547: \$? = $ac_status" >&5
2548    (exit $ac_status); }    (exit $ac_status); }
2549  { (eval echo "$as_me:2541: \"$ac_compiler -V </dev/null >&5\"") >&5  { (eval echo "$as_me:2549: \"$ac_compiler -V </dev/null >&5\"") >&5
2550    (eval $ac_compiler -V </dev/null >&5) 2>&5    (eval $ac_compiler -V </dev/null >&5) 2>&5
2551    ac_status=$?    ac_status=$?
2552    echo "$as_me:2544: \$? = $ac_status" >&5    echo "$as_me:2552: \$? = $ac_status" >&5
2553    (exit $ac_status); }    (exit $ac_status); }
2554    
2555  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
2556  #line 2548 "configure"  #line 2556 "configure"
2557  #include "confdefs.h"  #include "confdefs.h"
2558    
2559  int  int
# Line 2561  ac_clean_files="$ac_clean_files a.out a. Line 2569  ac_clean_files="$ac_clean_files a.out a.
2569  # Try to create an executable without -o first, disregard a.out.  # Try to create an executable without -o first, disregard a.out.
2570  # It will help us diagnose broken compilers, and finding out an intuition  # It will help us diagnose broken compilers, and finding out an intuition
2571  # of exeext.  # of exeext.
2572  echo "$as_me:2564: checking for C compiler default output" >&5  echo "$as_me:2572: checking for C compiler default output" >&5
2573  echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6  echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2574  ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`  ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2575  if { (eval echo "$as_me:2567: \"$ac_link_default\"") >&5  if { (eval echo "$as_me:2575: \"$ac_link_default\"") >&5
2576    (eval $ac_link_default) 2>&5    (eval $ac_link_default) 2>&5
2577    ac_status=$?    ac_status=$?
2578    echo "$as_me:2570: \$? = $ac_status" >&5    echo "$as_me:2578: \$? = $ac_status" >&5
2579    (exit $ac_status); }; then    (exit $ac_status); }; then
2580    # Find the output, starting from the most likely.  This scheme is    # Find the output, starting from the most likely.  This scheme is
2581  # 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 2590  done Line 2598  done
2598  else  else
2599    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2600  cat conftest.$ac_ext >&5  cat conftest.$ac_ext >&5
2601  { { echo "$as_me:2593: error: C compiler cannot create executables" >&5  { { echo "$as_me:2601: error: C compiler cannot create executables" >&5
2602  echo "$as_me: error: C compiler cannot create executables" >&2;}  echo "$as_me: error: C compiler cannot create executables" >&2;}
2603     { (exit 77); exit 77; }; }     { (exit 77); exit 77; }; }
2604  fi  fi
2605    
2606  ac_exeext=$ac_cv_exeext  ac_exeext=$ac_cv_exeext
2607  echo "$as_me:2599: result: $ac_file" >&5  echo "$as_me:2607: result: $ac_file" >&5
2608  echo "${ECHO_T}$ac_file" >&6  echo "${ECHO_T}$ac_file" >&6
2609    
2610  # Check the compiler produces executables we can run.  If not, either  # Check the compiler produces executables we can run.  If not, either
2611  # the compiler is broken, or we cross compile.  # the compiler is broken, or we cross compile.
2612  echo "$as_me:2604: checking whether the C compiler works" >&5  echo "$as_me:2612: checking whether the C compiler works" >&5
2613  echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6  echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2614  # FIXME: These cross compiler hacks should be removed for Autoconf 3.0  # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2615  # If not cross compiling, check that we can run a simple program.  # If not cross compiling, check that we can run a simple program.
2616  if test "$cross_compiling" != yes; then  if test "$cross_compiling" != yes; then
2617    if { ac_try='./$ac_file'    if { ac_try='./$ac_file'
2618    { (eval echo "$as_me:2610: \"$ac_try\"") >&5    { (eval echo "$as_me:2618: \"$ac_try\"") >&5
2619    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2620    ac_status=$?    ac_status=$?
2621    echo "$as_me:2613: \$? = $ac_status" >&5    echo "$as_me:2621: \$? = $ac_status" >&5
2622    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2623      cross_compiling=no      cross_compiling=no
2624    else    else
2625      if test "$cross_compiling" = maybe; then      if test "$cross_compiling" = maybe; then
2626          cross_compiling=yes          cross_compiling=yes
2627      else      else
2628          { { echo "$as_me:2620: error: cannot run C compiled programs.          { { echo "$as_me:2628: error: cannot run C compiled programs.
2629  If you meant to cross compile, use \`--host'." >&5  If you meant to cross compile, use \`--host'." >&5
2630  echo "$as_me: error: cannot run C compiled programs.  echo "$as_me: error: cannot run C compiled programs.
2631  If you meant to cross compile, use \`--host'." >&2;}  If you meant to cross compile, use \`--host'." >&2;}
# Line 2625  If you meant to cross compile, use \`--h Line 2633  If you meant to cross compile, use \`--h
2633      fi      fi
2634    fi    fi
2635  fi  fi
2636  echo "$as_me:2628: result: yes" >&5  echo "$as_me:2636: result: yes" >&5
2637  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
2638    
2639  rm -f a.out a.exe conftest$ac_cv_exeext  rm -f a.out a.exe conftest$ac_cv_exeext
2640  ac_clean_files=$ac_clean_files_save  ac_clean_files=$ac_clean_files_save
2641  # Check the compiler produces executables we can run.  If not, either  # Check the compiler produces executables we can run.  If not, either
2642  # the compiler is broken, or we cross compile.  # the compiler is broken, or we cross compile.
2643  echo "$as_me:2635: checking whether we are cross compiling" >&5  echo "$as_me:2643: checking whether we are cross compiling" >&5
2644  echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6  echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2645  echo "$as_me:2637: result: $cross_compiling" >&5  echo "$as_me:2645: result: $cross_compiling" >&5
2646  echo "${ECHO_T}$cross_compiling" >&6  echo "${ECHO_T}$cross_compiling" >&6
2647    
2648  echo "$as_me:2640: checking for executable suffix" >&5  echo "$as_me:2648: checking for executable suffix" >&5
2649  echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6  echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
2650  if { (eval echo "$as_me:2642: \"$ac_link\"") >&5  if { (eval echo "$as_me:2650: \"$ac_link\"") >&5
2651    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
2652    ac_status=$?    ac_status=$?
2653    echo "$as_me:2645: \$? = $ac_status" >&5    echo "$as_me:2653: \$? = $ac_status" >&5
2654    (exit $ac_status); }; then    (exit $ac_status); }; then
2655    # If both `conftest.exe' and `conftest' are `present' (well, observable)    # If both `conftest.exe' and `conftest' are `present' (well, observable)
2656  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
# Line 2658  for ac_file in `(ls conftest.exe; ls con Line 2666  for ac_file in `(ls conftest.exe; ls con
2666    esac    esac
2667  done  done
2668  else  else
2669    { { echo "$as_me:2661: error: cannot compute EXEEXT: cannot compile and link" >&5    { { echo "$as_me:2669: error: cannot compute EXEEXT: cannot compile and link" >&5
2670  echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}  echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
2671     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
2672  fi  fi
2673    
2674  rm -f conftest$ac_cv_exeext  rm -f conftest$ac_cv_exeext
2675  echo "$as_me:2667: result: $ac_cv_exeext" >&5  echo "$as_me:2675: result: $ac_cv_exeext" >&5
2676  echo "${ECHO_T}$ac_cv_exeext" >&6  echo "${ECHO_T}$ac_cv_exeext" >&6
2677    
2678  rm -f conftest.$ac_ext  rm -f conftest.$ac_ext
2679  EXEEXT=$ac_cv_exeext  EXEEXT=$ac_cv_exeext
2680  ac_exeext=$EXEEXT  ac_exeext=$EXEEXT
2681  echo "$as_me:2673: checking for object suffix" >&5  echo "$as_me:2681: checking for object suffix" >&5
2682  echo $ECHO_N "checking for object suffix... $ECHO_C" >&6  echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
2683  if test "${ac_cv_objext+set}" = set; then  if test "${ac_cv_objext+set}" = set; then
2684    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2685  else  else
2686    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2687  #line 2679 "configure"  #line 2687 "configure"
2688  #include "confdefs.h"  #include "confdefs.h"
2689    
2690  int  int
# Line 2688  main () Line 2696  main ()
2696  }  }
2697  _ACEOF  _ACEOF
2698  rm -f conftest.o conftest.obj  rm -f conftest.o conftest.obj
2699  if { (eval echo "$as_me:2691: \"$ac_compile\"") >&5  if { (eval echo "$as_me:2699: \"$ac_compile\"") >&5
2700    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2701    ac_status=$?    ac_status=$?
2702    echo "$as_me:2694: \$? = $ac_status" >&5    echo "$as_me:2702: \$? = $ac_status" >&5
2703    (exit $ac_status); }; then    (exit $ac_status); }; then
2704    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
2705    case $ac_file in    case $ac_file in
# Line 2703  done Line 2711  done
2711  else  else
2712    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2713  cat conftest.$ac_ext >&5  cat conftest.$ac_ext >&5
2714  { { echo "$as_me:2706: error: cannot compute OBJEXT: cannot compile" >&5  { { echo "$as_me:2714: error: cannot compute OBJEXT: cannot compile" >&5
2715  echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}  echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
2716     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
2717  fi  fi
2718    
2719  rm -f conftest.$ac_cv_objext conftest.$ac_ext  rm -f conftest.$ac_cv_objext conftest.$ac_ext
2720  fi  fi
2721  echo "$as_me:2713: result: $ac_cv_objext" >&5  echo "$as_me:2721: result: $ac_cv_objext" >&5
2722  echo "${ECHO_T}$ac_cv_objext" >&6  echo "${ECHO_T}$ac_cv_objext" >&6
2723  OBJEXT=$ac_cv_objext  OBJEXT=$ac_cv_objext
2724  ac_objext=$OBJEXT  ac_objext=$OBJEXT
2725  echo "$as_me:2717: checking whether we are using the GNU C compiler" >&5  echo "$as_me:2725: checking whether we are using the GNU C compiler" >&5
2726  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
2727  if test "${ac_cv_c_compiler_gnu+set}" = set; then  if test "${ac_cv_c_compiler_gnu+set}" = set; then
2728    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2729  else  else
2730    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2731  #line 2723 "configure"  #line 2731 "configure"
2732  #include "confdefs.h"  #include "confdefs.h"
2733    
2734  int  int
# Line 2735  main () Line 2743  main ()
2743  }  }
2744  _ACEOF  _ACEOF
2745  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2746  if { (eval echo "$as_me:2738: \"$ac_compile\"") >&5  if { (eval echo "$as_me:2746: \"$ac_compile\"") >&5
2747    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2748    ac_status=$?    ac_status=$?
2749    echo "$as_me:2741: \$? = $ac_status" >&5    echo "$as_me:2749: \$? = $ac_status" >&5
2750    (exit $ac_status); } &&    (exit $ac_status); } &&
2751           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
2752    { (eval echo "$as_me:2744: \"$ac_try\"") >&5    { (eval echo "$as_me:2752: \"$ac_try\"") >&5
2753    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2754    ac_status=$?    ac_status=$?
2755    echo "$as_me:2747: \$? = $ac_status" >&5    echo "$as_me:2755: \$? = $ac_status" >&5
2756    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2757    ac_compiler_gnu=yes    ac_compiler_gnu=yes
2758  else  else
# Line 2756  rm -f conftest.$ac_objext conftest.$ac_e Line 2764  rm -f conftest.$ac_objext conftest.$ac_e
2764  ac_cv_c_compiler_gnu=$ac_compiler_gnu  ac_cv_c_compiler_gnu=$ac_compiler_gnu
2765    
2766  fi  fi
2767  echo "$as_me:2759: result: $ac_cv_c_compiler_gnu" >&5  echo "$as_me:2767: result: $ac_cv_c_compiler_gnu" >&5
2768  echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6  echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2769  GCC=`test $ac_compiler_gnu = yes && echo yes`  GCC=`test $ac_compiler_gnu = yes && echo yes`
2770  ac_test_CFLAGS=${CFLAGS+set}  ac_test_CFLAGS=${CFLAGS+set}
2771  ac_save_CFLAGS=$CFLAGS  ac_save_CFLAGS=$CFLAGS
2772  CFLAGS="-g"  CFLAGS="-g"
2773  echo "$as_me:2765: checking whether $CC accepts -g" >&5  echo "$as_me:2773: checking whether $CC accepts -g" >&5
2774  echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6  echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2775  if test "${ac_cv_prog_cc_g+set}" = set; then  if test "${ac_cv_prog_cc_g+set}" = set; then
2776    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2777  else  else
2778    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2779  #line 2771 "configure"  #line 2779 "configure"
2780  #include "confdefs.h"  #include "confdefs.h"
2781    
2782  int  int
# Line 2780  main () Line 2788  main ()
2788  }  }
2789  _ACEOF  _ACEOF
2790  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2791  if { (eval echo "$as_me:2783: \"$ac_compile\"") >&5  if { (eval echo "$as_me:2791: \"$ac_compile\"") >&5
2792    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2793    ac_status=$?    ac_status=$?
2794    echo "$as_me:2786: \$? = $ac_status" >&5    echo "$as_me:2794: \$? = $ac_status" >&5
2795    (exit $ac_status); } &&    (exit $ac_status); } &&
2796           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
2797    { (eval echo "$as_me:2789: \"$ac_try\"") >&5    { (eval echo "$as_me:2797: \"$ac_try\"") >&5
2798    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2799    ac_status=$?    ac_status=$?
2800    echo "$as_me:2792: \$? = $ac_status" >&5    echo "$as_me:2800: \$? = $ac_status" >&5
2801    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2802    ac_cv_prog_cc_g=yes    ac_cv_prog_cc_g=yes
2803  else  else
# Line 2799  ac_cv_prog_cc_g=no Line 2807  ac_cv_prog_cc_g=no
2807  fi  fi
2808  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
2809  fi  fi
2810  echo "$as_me:2802: result: $ac_cv_prog_cc_g" >&5  echo "$as_me:2810: result: $ac_cv_prog_cc_g" >&5
2811  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2812  if test "$ac_test_CFLAGS" = set; then  if test "$ac_test_CFLAGS" = set; then
2813    CFLAGS=$ac_save_CFLAGS    CFLAGS=$ac_save_CFLAGS
# Line 2826  cat >conftest.$ac_ext <<_ACEOF Line 2834  cat >conftest.$ac_ext <<_ACEOF
2834  #endif  #endif
2835  _ACEOF  _ACEOF
2836  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2837  if { (eval echo "$as_me:2829: \"$ac_compile\"") >&5  if { (eval echo "$as_me:2837: \"$ac_compile\"") >&5
2838    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2839    ac_status=$?    ac_status=$?
2840    echo "$as_me:2832: \$? = $ac_status" >&5    echo "$as_me:2840: \$? = $ac_status" >&5
2841    (exit $ac_status); } &&    (exit $ac_status); } &&
2842           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
2843    { (eval echo "$as_me:2835: \"$ac_try\"") >&5    { (eval echo "$as_me:2843: \"$ac_try\"") >&5
2844    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2845    ac_status=$?    ac_status=$?
2846    echo "$as_me:2838: \$? = $ac_status" >&5    echo "$as_me:2846: \$? = $ac_status" >&5
2847    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2848    for ac_declaration in \    for ac_declaration in \
2849     ''\     ''\
# Line 2847  if { (eval echo "$as_me:2829: \"$ac_comp Line 2855  if { (eval echo "$as_me:2829: \"$ac_comp
2855     'void exit (int);'     'void exit (int);'
2856  do  do
2857    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2858  #line 2850 "configure"  #line 2858 "configure"
2859  #include "confdefs.h"  #include "confdefs.h"
2860  #include <stdlib.h>  #include <stdlib.h>
2861  $ac_declaration  $ac_declaration
# Line 2860  exit (42); Line 2868  exit (42);
2868  }  }
2869  _ACEOF  _ACEOF
2870  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2871  if { (eval echo "$as_me:2863: \"$ac_compile\"") >&5  if { (eval echo "$as_me:2871: \"$ac_compile\"") >&5
2872    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2873    ac_status=$?    ac_status=$?
2874    echo "$as_me:2866: \$? = $ac_status" >&5    echo "$as_me:2874: \$? = $ac_status" >&5
2875    (exit $ac_status); } &&    (exit $ac_status); } &&
2876           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
2877    { (eval echo "$as_me:2869: \"$ac_try\"") >&5    { (eval echo "$as_me:2877: \"$ac_try\"") >&5
2878    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2879    ac_status=$?    ac_status=$?
2880    echo "$as_me:2872: \$? = $ac_status" >&5    echo "$as_me:2880: \$? = $ac_status" >&5
2881    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2882    :    :
2883  else  else
# Line 2879  continue Line 2887  continue
2887  fi  fi
2888  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
2889    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2890  #line 2882 "configure"  #line 2890 "configure"
2891  #include "confdefs.h"  #include "confdefs.h"
2892  $ac_declaration  $ac_declaration
2893  int  int
# Line 2891  exit (42); Line 2899  exit (42);
2899  }  }
2900  _ACEOF  _ACEOF
2901  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2902  if { (eval echo "$as_me:2894: \"$ac_compile\"") >&5  if { (eval echo "$as_me:2902: \"$ac_compile\"") >&5
2903    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2904    ac_status=$?    ac_status=$?
2905    echo "$as_me:2897: \$? = $ac_status" >&5    echo "$as_me:2905: \$? = $ac_status" >&5
2906    (exit $ac_status); } &&    (exit $ac_status); } &&
2907           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
2908    { (eval echo "$as_me:2900: \"$ac_try\"") >&5    { (eval echo "$as_me:2908: \"$ac_try\"") >&5
2909    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2910    ac_status=$?    ac_status=$?
2911    echo "$as_me:2903: \$? = $ac_status" >&5    echo "$as_me:2911: \$? = $ac_status" >&5
2912    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2913    break    break
2914  else  else
# Line 2973  fi Line 2981  fi
2981  #### 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
2982  #### #undef clause to src/config.h.in for autoconf to modify.  #### #undef clause to src/config.h.in for autoconf to modify.
2983    
2984  echo "$as_me:2976: checking whether ln -s works" >&5  echo "$as_me:2984: checking whether ln -s works" >&5
2985  echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6  echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2986  LN_S=$as_ln_s  LN_S=$as_ln_s
2987  if test "$LN_S" = "ln -s"; then  if test "$LN_S" = "ln -s"; then
2988    echo "$as_me:2980: result: yes" >&5    echo "$as_me:2988: result: yes" >&5
2989  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
2990  else  else
2991    echo "$as_me:2983: result: no, using $LN_S" >&5    echo "$as_me:2991: result: no, using $LN_S" >&5
2992  echo "${ECHO_T}no, using $LN_S" >&6  echo "${ECHO_T}no, using $LN_S" >&6
2993  fi  fi
2994    
# Line 2989  ac_cpp='$CPP $CPPFLAGS' Line 2997  ac_cpp='$CPP $CPPFLAGS'
2997  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2998  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'
2999  ac_compiler_gnu=$ac_cv_c_compiler_gnu  ac_compiler_gnu=$ac_cv_c_compiler_gnu
3000  echo "$as_me:2992: checking how to run the C preprocessor" >&5  echo "$as_me:3000: checking how to run the C preprocessor" >&5
3001  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
3002  # On Suns, sometimes $CPP names a directory.  # On Suns, sometimes $CPP names a directory.
3003  if test -n "$CPP" && test -d "$CPP"; then  if test -n "$CPP" && test -d "$CPP"; then
# Line 3010  do Line 3018  do
3018    # On the NeXT, cc -E runs the code through the compiler's parser,    # On the NeXT, cc -E runs the code through the compiler's parser,
3019    # not just through cpp. "Syntax error" is here to catch this case.    # not just through cpp. "Syntax error" is here to catch this case.
3020    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3021  #line 3013 "configure"  #line 3021 "configure"
3022  #include "confdefs.h"  #include "confdefs.h"
3023  #include <assert.h>  #include <assert.h>
3024                       Syntax error                       Syntax error
3025  _ACEOF  _ACEOF
3026  if { (eval echo "$as_me:3018: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:3026: \"$ac_cpp conftest.$ac_ext\"") >&5
3027    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3028    ac_status=$?    ac_status=$?
3029    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
3030    rm -f conftest.er1    rm -f conftest.er1
3031    cat conftest.err >&5    cat conftest.err >&5
3032    echo "$as_me:3024: \$? = $ac_status" >&5    echo "$as_me:3032: \$? = $ac_status" >&5
3033    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3034    if test -s conftest.err; then    if test -s conftest.err; then
3035      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 3044  rm -f conftest.err conftest.$ac_ext Line 3052  rm -f conftest.err conftest.$ac_ext
3052    # OK, works on sane cases.  Now check whether non-existent headers    # OK, works on sane cases.  Now check whether non-existent headers
3053    # can be detected and how.    # can be detected and how.
3054    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3055  #line 3047 "configure"  #line 3055 "configure"
3056  #include "confdefs.h"  #include "confdefs.h"
3057  #include <ac_nonexistent.h>  #include <ac_nonexistent.h>
3058  _ACEOF  _ACEOF
3059  if { (eval echo "$as_me:3051: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:3059: \"$ac_cpp conftest.$ac_ext\"") >&5
3060    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3061    ac_status=$?    ac_status=$?
3062    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
3063    rm -f conftest.er1    rm -f conftest.er1
3064    cat conftest.err >&5    cat conftest.err >&5
3065    echo "$as_me:3057: \$? = $ac_status" >&5    echo "$as_me:3065: \$? = $ac_status" >&5
3066    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3067    if test -s conftest.err; then    if test -s conftest.err; then
3068      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 3091  fi Line 3099  fi
3099  else  else
3100    ac_cv_prog_CPP=$CPP    ac_cv_prog_CPP=$CPP
3101  fi  fi
3102  echo "$as_me:3094: result: $CPP" >&5  echo "$as_me:3102: result: $CPP" >&5
3103  echo "${ECHO_T}$CPP" >&6  echo "${ECHO_T}$CPP" >&6
3104  ac_preproc_ok=false  ac_preproc_ok=false
3105  for ac_c_preproc_warn_flag in '' yes  for ac_c_preproc_warn_flag in '' yes
# Line 3101  do Line 3109  do
3109    # On the NeXT, cc -E runs the code through the compiler's parser,    # On the NeXT, cc -E runs the code through the compiler's parser,
3110    # not just through cpp. "Syntax error" is here to catch this case.    # not just through cpp. "Syntax error" is here to catch this case.
3111    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3112  #line 3104 "configure"  #line 3112 "configure"
3113  #include "confdefs.h"  #include "confdefs.h"
3114  #include <assert.h>  #include <assert.h>
3115                       Syntax error                       Syntax error
3116  _ACEOF  _ACEOF
3117  if { (eval echo "$as_me:3109: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:3117: \"$ac_cpp conftest.$ac_ext\"") >&5
3118    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3119    ac_status=$?    ac_status=$?
3120    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
3121    rm -f conftest.er1    rm -f conftest.er1
3122    cat conftest.err >&5    cat conftest.err >&5
3123    echo "$as_me:3115: \$? = $ac_status" >&5    echo "$as_me:3123: \$? = $ac_status" >&5
3124    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3125    if test -s conftest.err; then    if test -s conftest.err; then
3126      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 3135  rm -f conftest.err conftest.$ac_ext Line 3143  rm -f conftest.err conftest.$ac_ext
3143    # OK, works on sane cases.  Now check whether non-existent headers    # OK, works on sane cases.  Now check whether non-existent headers
3144    # can be detected and how.    # can be detected and how.
3145    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3146  #line 3138 "configure"  #line 3146 "configure"
3147  #include "confdefs.h"  #include "confdefs.h"
3148  #include <ac_nonexistent.h>  #include <ac_nonexistent.h>
3149  _ACEOF  _ACEOF
3150  if { (eval echo "$as_me:3142: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:3150: \"$ac_cpp conftest.$ac_ext\"") >&5
3151    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3152    ac_status=$?    ac_status=$?
3153    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
3154    rm -f conftest.er1    rm -f conftest.er1
3155    cat conftest.err >&5    cat conftest.err >&5
3156    echo "$as_me:3148: \$? = $ac_status" >&5    echo "$as_me:3156: \$? = $ac_status" >&5
3157    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3158    if test -s conftest.err; then    if test -s conftest.err; then
3159      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 3173  rm -f conftest.err conftest.$ac_ext Line 3181  rm -f conftest.err conftest.$ac_ext
3181  if $ac_preproc_ok; then  if $ac_preproc_ok; then
3182    :    :
3183  else  else
3184    { { echo "$as_me:3176: error: C preprocessor \"$CPP\" fails sanity check" >&5    { { echo "$as_me:3184: error: C preprocessor \"$CPP\" fails sanity check" >&5
3185  echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}  echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
3186     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3187  fi  fi
# Line 3196  ac_compiler_gnu=$ac_cv_c_compiler_gnu Line 3204  ac_compiler_gnu=$ac_cv_c_compiler_gnu
3204  # AFS /usr/afsws/bin/install, which mishandles nonexistent args  # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3205  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3206  # ./install, which can be erroneously created by make from ./install.sh.  # ./install, which can be erroneously created by make from ./install.sh.
3207  echo "$as_me:3199: checking for a BSD compatible install" >&5  echo "$as_me:3207: checking for a BSD compatible install" >&5
3208  echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6  echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
3209  if test -z "$INSTALL"; then  if test -z "$INSTALL"; then
3210  if test "${ac_cv_path_install+set}" = set; then  if test "${ac_cv_path_install+set}" = set; then
# Line 3245  fi Line 3253  fi
3253      INSTALL=$ac_install_sh      INSTALL=$ac_install_sh
3254    fi    fi
3255  fi  fi
3256  echo "$as_me:3248: result: $INSTALL" >&5  echo "$as_me:3256: result: $INSTALL" >&5
3257  echo "${ECHO_T}$INSTALL" >&6  echo "${ECHO_T}$INSTALL" >&6
3258    
3259  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
# Line 3260  for ac_prog in 'bison -y' byacc Line 3268  for ac_prog in 'bison -y' byacc
3268  do  do
3269    # 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.
3270  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
3271  echo "$as_me:3263: checking for $ac_word" >&5  echo "$as_me:3271: checking for $ac_word" >&5
3272  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3273  if test "${ac_cv_prog_YACC+set}" = set; then  if test "${ac_cv_prog_YACC+set}" = set; then
3274    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3275  for ac_dir in $ac_dummy; do Line 3283  for ac_dir in $ac_dummy; do
3283    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
3284    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
3285  ac_cv_prog_YACC="$ac_prog"  ac_cv_prog_YACC="$ac_prog"
3286  echo "$as_me:3278: found $ac_dir/$ac_word" >&5  echo "$as_me:3286: found $ac_dir/$ac_word" >&5
3287  break  break
3288  done  done
3289    
# Line 3283  fi Line 3291  fi
3291  fi  fi
3292  YACC=$ac_cv_prog_YACC  YACC=$ac_cv_prog_YACC
3293  if test -n "$YACC"; then  if test -n "$YACC"; then
3294    echo "$as_me:3286: result: $YACC" >&5    echo "$as_me:3294: result: $YACC" >&5
3295  echo "${ECHO_T}$YACC" >&6  echo "${ECHO_T}$YACC" >&6
3296  else  else
3297    echo "$as_me:3289: result: no" >&5    echo "$as_me:3297: result: no" >&5
3298  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
3299  fi  fi
3300    
# Line 3298  if test "x$RANLIB" = x; then Line 3306  if test "x$RANLIB" = x; then
3306    if test -n "$ac_tool_prefix"; then    if test -n "$ac_tool_prefix"; then
3307    # 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.
3308  set dummy ${ac_tool_prefix}ranlib; ac_word=$2  set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3309  echo "$as_me:3301: checking for $ac_word" >&5  echo "$as_me:3309: checking for $ac_word" >&5
3310  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3311  if test "${ac_cv_prog_RANLIB+set}" = set; then  if test "${ac_cv_prog_RANLIB+set}" = set; then
3312    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3313  for ac_dir in $ac_dummy; do Line 3321  for ac_dir in $ac_dummy; do
3321    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
3322    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
3323  ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"  ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3324  echo "$as_me:3316: found $ac_dir/$ac_word" >&5  echo "$as_me:3324: found $ac_dir/$ac_word" >&5
3325  break  break
3326  done  done
3327    
# Line 3321  fi Line 3329  fi
3329  fi  fi
3330  RANLIB=$ac_cv_prog_RANLIB  RANLIB=$ac_cv_prog_RANLIB
3331  if test -n "$RANLIB"; then  if test -n "$RANLIB"; then
3332    echo "$as_me:3324: result: $RANLIB" >&5    echo "$as_me:3332: result: $RANLIB" >&5
3333  echo "${ECHO_T}$RANLIB" >&6  echo "${ECHO_T}$RANLIB" >&6
3334  else  else
3335    echo "$as_me:3327: result: no" >&5    echo "$as_me:3335: result: no" >&5
3336  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
3337  fi  fi
3338    
# Line 3333  if test -z "$ac_cv_prog_RANLIB"; then Line 3341  if test -z "$ac_cv_prog_RANLIB"; then
3341    ac_ct_RANLIB=$RANLIB    ac_ct_RANLIB=$RANLIB
3342    # 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.
3343  set dummy ranlib; ac_word=$2  set dummy ranlib; ac_word=$2
3344  echo "$as_me:3336: 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_ac_ct_RANLIB+set}" = set; then  if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3347    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3348  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_ac_ct_RANLIB="ranlib"  ac_cv_prog_ac_ct_RANLIB="ranlib"
3359  echo "$as_me:3351: found $ac_dir/$ac_word" >&5  echo "$as_me:3359: found $ac_dir/$ac_word" >&5
3360  break  break
3361  done  done
3362    
# Line 3357  fi Line 3365  fi
3365  fi  fi
3366  ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB  ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3367  if test -n "$ac_ct_RANLIB"; then  if test -n "$ac_ct_RANLIB"; then
3368    echo "$as_me:3360: result: $ac_ct_RANLIB" >&5    echo "$as_me:3368: result: $ac_ct_RANLIB" >&5
3369  echo "${ECHO_T}$ac_ct_RANLIB" >&6  echo "${ECHO_T}$ac_ct_RANLIB" >&6
3370  else  else
3371    echo "$as_me:3363: result: no" >&5    echo "$as_me:3371: result: no" >&5
3372  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
3373  fi  fi
3374    
# Line 3371  fi Line 3379  fi
3379    
3380  fi  fi
3381    
3382  echo "$as_me:3374: checking for AIX" >&5  echo "$as_me:3382: checking for AIX" >&5
3383  echo $ECHO_N "checking for AIX... $ECHO_C" >&6  echo $ECHO_N "checking for AIX... $ECHO_C" >&6
3384  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
3385  #line 3377 "configure"  #line 3385 "configure"
3386  #include "confdefs.h"  #include "confdefs.h"
3387  #ifdef _AIX  #ifdef _AIX
3388    yes    yes
# Line 3383  cat >conftest.$ac_ext <<_ACEOF Line 3391  cat >conftest.$ac_ext <<_ACEOF
3391  _ACEOF  _ACEOF
3392  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3393    egrep "yes" >/dev/null 2>&1; then    egrep "yes" >/dev/null 2>&1; then
3394    echo "$as_me:3386: result: yes" >&5    echo "$as_me:3394: result: yes" >&5
3395  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
3396  cat >>confdefs.h <<\EOF  cat >>confdefs.h <<\EOF
3397  #define _ALL_SOURCE 1  #define _ALL_SOURCE 1
3398  EOF  EOF
3399    
3400  else  else
3401    echo "$as_me:3393: result: no" >&5    echo "$as_me:3401: result: no" >&5
3402  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
3403  fi  fi
3404  rm -f conftest*  rm -f conftest*
3405    
3406  #### Extract some information from the operating system and machine files.  #### Extract some information from the operating system and machine files.
3407    
3408  { echo "$as_me:3400: checking the machine- and system-dependent files to find out  { echo "$as_me:3408: checking the machine- and system-dependent files to find out
3409   - which libraries the lib-src programs will want, and   - which libraries the lib-src programs will want, and
3410   - whether the GNU malloc routines are usable..." >&5   - whether the GNU malloc routines are usable..." >&5
3411  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 3547  if test "${enable_largefile+set}" = set; Line 3555  if test "${enable_largefile+set}" = set;
3555  fi;  fi;
3556  if test "$enable_largefile" != no; then  if test "$enable_largefile" != no; then
3557    
3558    echo "$as_me:3550: checking for special C compiler options needed for large files" >&5    echo "$as_me:3558: checking for special C compiler options needed for large files" >&5
3559  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
3560  if test "${ac_cv_sys_largefile_CC+set}" = set; then  if test "${ac_cv_sys_largefile_CC+set}" = set; then
3561    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3559  else Line 3567  else
3567           # IRIX 6.2 and later do not support large files by default,           # IRIX 6.2 and later do not support large files by default,
3568           # so use the C compiler's -n32 option if that helps.           # so use the C compiler's -n32 option if that helps.
3569           cat >conftest.$ac_ext <<_ACEOF           cat >conftest.$ac_ext <<_ACEOF
3570  #line 3562 "configure"  #line 3570 "configure"
3571  #include "confdefs.h"  #include "confdefs.h"
3572  #include <sys/types.h>  #include <sys/types.h>
3573   /* Check that off_t can represent 2**63 - 1 correctly.   /* Check that off_t can represent 2**63 - 1 correctly.
# Line 3579  main () Line 3587  main ()
3587  }  }
3588  _ACEOF  _ACEOF
3589           rm -f conftest.$ac_objext           rm -f conftest.$ac_objext
3590  if { (eval echo "$as_me:3582: \"$ac_compile\"") >&5  if { (eval echo "$as_me:3590: \"$ac_compile\"") >&5
3591    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3592    ac_status=$?    ac_status=$?
3593    echo "$as_me:3585: \$? = $ac_status" >&5    echo "$as_me:3593: \$? = $ac_status" >&5
3594    (exit $ac_status); } &&    (exit $ac_status); } &&
3595           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
3596    { (eval echo "$as_me:3588: \"$ac_try\"") >&5    { (eval echo "$as_me:3596: \"$ac_try\"") >&5
3597    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3598    ac_status=$?    ac_status=$?
3599    echo "$as_me:3591: \$? = $ac_status" >&5    echo "$as_me:3599: \$? = $ac_status" >&5
3600    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3601    break    break
3602  else  else
# Line 3598  fi Line 3606  fi
3606  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3607           CC="$CC -n32"           CC="$CC -n32"
3608           rm -f conftest.$ac_objext           rm -f conftest.$ac_objext
3609  if { (eval echo "$as_me:3601: \"$ac_compile\"") >&5  if { (eval echo "$as_me:3609: \"$ac_compile\"") >&5
3610    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3611    ac_status=$?    ac_status=$?
3612    echo "$as_me:3604: \$? = $ac_status" >&5    echo "$as_me:3612: \$? = $ac_status" >&5
3613    (exit $ac_status); } &&    (exit $ac_status); } &&
3614           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
3615    { (eval echo "$as_me:3607: \"$ac_try\"") >&5    { (eval echo "$as_me:3615: \"$ac_try\"") >&5
3616    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3617    ac_status=$?    ac_status=$?
3618    echo "$as_me:3610: \$? = $ac_status" >&5    echo "$as_me:3618: \$? = $ac_status" >&5
3619    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3620    ac_cv_sys_largefile_CC=' -n32'; break    ac_cv_sys_largefile_CC=' -n32'; break
3621  else  else
# Line 3621  rm -f conftest.$ac_objext Line 3629  rm -f conftest.$ac_objext
3629         rm -f conftest.$ac_ext         rm -f conftest.$ac_ext
3630      fi      fi
3631  fi  fi
3632  echo "$as_me:3624: result: $ac_cv_sys_largefile_CC" >&5  echo "$as_me:3632: result: $ac_cv_sys_largefile_CC" >&5
3633  echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6  echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
3634    if test "$ac_cv_sys_largefile_CC" != no; then    if test "$ac_cv_sys_largefile_CC" != no; then
3635      CC=$CC$ac_cv_sys_largefile_CC      CC=$CC$ac_cv_sys_largefile_CC
3636    fi    fi
3637    
3638    echo "$as_me:3630: checking for _FILE_OFFSET_BITS value needed for large files" >&5    echo "$as_me:3638: checking for _FILE_OFFSET_BITS value needed for large files" >&5
3639  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
3640  if test "${ac_cv_sys_file_offset_bits+set}" = set; then  if test "${ac_cv_sys_file_offset_bits+set}" = set; then
3641    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3635  else Line 3643  else
3643    while :; do    while :; do
3644    ac_cv_sys_file_offset_bits=no    ac_cv_sys_file_offset_bits=no
3645    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3646  #line 3638 "configure"  #line 3646 "configure"
3647  #include "confdefs.h"  #include "confdefs.h"
3648  #include <sys/types.h>  #include <sys/types.h>
3649   /* Check that off_t can represent 2**63 - 1 correctly.   /* Check that off_t can represent 2**63 - 1 correctly.
# Line 3655  main () Line 3663  main ()
3663  }  }
3664  _ACEOF  _ACEOF
3665  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3666  if { (eval echo "$as_me:3658: \"$ac_compile\"") >&5  if { (eval echo "$as_me:3666: \"$ac_compile\"") >&5
3667    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3668    ac_status=$?    ac_status=$?
3669    echo "$as_me:3661: \$? = $ac_status" >&5    echo "$as_me:3669: \$? = $ac_status" >&5
3670    (exit $ac_status); } &&    (exit $ac_status); } &&
3671           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
3672    { (eval echo "$as_me:3664: \"$ac_try\"") >&5    { (eval echo "$as_me:3672: \"$ac_try\"") >&5
3673    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3674    ac_status=$?    ac_status=$?
3675    echo "$as_me:3667: \$? = $ac_status" >&5    echo "$as_me:3675: \$? = $ac_status" >&5
3676    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3677    break    break
3678  else  else
# Line 3673  cat conftest.$ac_ext >&5 Line 3681  cat conftest.$ac_ext >&5
3681  fi  fi
3682  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
3683    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3684  #line 3676 "configure"  #line 3684 "configure"
3685  #include "confdefs.h"  #include "confdefs.h"
3686  #define _FILE_OFFSET_BITS 64  #define _FILE_OFFSET_BITS 64
3687  #include <sys/types.h>  #include <sys/types.h>
# Line 3694  main () Line 3702  main ()
3702  }  }
3703  _ACEOF  _ACEOF
3704  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3705  if { (eval echo "$as_me:3697: \"$ac_compile\"") >&5  if { (eval echo "$as_me:3705: \"$ac_compile\"") >&5
3706    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3707    ac_status=$?    ac_status=$?
3708    echo "$as_me:3700: \$? = $ac_status" >&5    echo "$as_me:3708: \$? = $ac_status" >&5
3709    (exit $ac_status); } &&    (exit $ac_status); } &&
3710           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
3711    { (eval echo "$as_me:3703: \"$ac_try\"") >&5    { (eval echo "$as_me:3711: \"$ac_try\"") >&5
3712    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3713    ac_status=$?    ac_status=$?
3714    echo "$as_me:3706: \$? = $ac_status" >&5    echo "$as_me:3714: \$? = $ac_status" >&5
3715    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3716    ac_cv_sys_file_offset_bits=64; break    ac_cv_sys_file_offset_bits=64; break
3717  else  else
# Line 3714  rm -f conftest.$ac_objext conftest.$ac_e Line 3722  rm -f conftest.$ac_objext conftest.$ac_e
3722    break    break
3723  done  done
3724  fi  fi
3725  echo "$as_me:3717: result: $ac_cv_sys_file_offset_bits" >&5  echo "$as_me:3725: result: $ac_cv_sys_file_offset_bits" >&5
3726  echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6  echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
3727  if test "$ac_cv_sys_file_offset_bits" != no; then  if test "$ac_cv_sys_file_offset_bits" != no; then
3728    
# Line 3724  EOF Line 3732  EOF
3732    
3733  fi  fi
3734  rm -f conftest*  rm -f conftest*
3735    echo "$as_me:3727: checking for _LARGE_FILES value needed for large files" >&5    echo "$as_me:3735: checking for _LARGE_FILES value needed for large files" >&5
3736  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
3737  if test "${ac_cv_sys_large_files+set}" = set; then  if test "${ac_cv_sys_large_files+set}" = set; then
3738    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3732  else Line 3740  else
3740    while :; do    while :; do
3741    ac_cv_sys_large_files=no    ac_cv_sys_large_files=no
3742    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3743  #line 3735 "configure"  #line 3743 "configure"
3744  #include "confdefs.h"  #include "confdefs.h"
3745  #include <sys/types.h>  #include <sys/types.h>
3746   /* Check that off_t can represent 2**63 - 1 correctly.   /* Check that off_t can represent 2**63 - 1 correctly.
# Line 3752  main () Line 3760  main ()
3760  }  }
3761  _ACEOF  _ACEOF
3762  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3763  if { (eval echo "$as_me:3755: \"$ac_compile\"") >&5  if { (eval echo "$as_me:3763: \"$ac_compile\"") >&5
3764    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3765    ac_status=$?    ac_status=$?
3766    echo "$as_me:3758: \$? = $ac_status" >&5    echo "$as_me:3766: \$? = $ac_status" >&5
3767    (exit $ac_status); } &&    (exit $ac_status); } &&
3768           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
3769    { (eval echo "$as_me:3761: \"$ac_try\"") >&5    { (eval echo "$as_me:3769: \"$ac_try\"") >&5
3770    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3771    ac_status=$?    ac_status=$?
3772    echo "$as_me:3764: \$? = $ac_status" >&5    echo "$as_me:3772: \$? = $ac_status" >&5
3773    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3774    break    break
3775  else  else
# Line 3770  cat conftest.$ac_ext >&5 Line 3778  cat conftest.$ac_ext >&5
3778  fi  fi
3779  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
3780    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3781  #line 3773 "configure"  #line 3781 "configure"
3782  #include "confdefs.h"  #include "confdefs.h"
3783  #define _LARGE_FILES 1  #define _LARGE_FILES 1
3784  #include <sys/types.h>  #include <sys/types.h>
# Line 3791  main () Line 3799  main ()
3799  }  }
3800  _ACEOF  _ACEOF
3801  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3802  if { (eval echo "$as_me:3794: \"$ac_compile\"") >&5  if { (eval echo "$as_me:3802: \"$ac_compile\"") >&5
3803    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3804    ac_status=$?    ac_status=$?
3805    echo "$as_me:3797: \$? = $ac_status" >&5    echo "$as_me:3805: \$? = $ac_status" >&5
3806    (exit $ac_status); } &&    (exit $ac_status); } &&
3807           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
3808    { (eval echo "$as_me:3800: \"$ac_try\"") >&5    { (eval echo "$as_me:3808: \"$ac_try\"") >&5
3809    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3810    ac_status=$?    ac_status=$?
3811    echo "$as_me:3803: \$? = $ac_status" >&5    echo "$as_me:3811: \$? = $ac_status" >&5
3812    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3813    ac_cv_sys_large_files=1; break    ac_cv_sys_large_files=1; break
3814  else  else
# Line 3811  rm -f conftest.$ac_objext conftest.$ac_e Line 3819  rm -f conftest.$ac_objext conftest.$ac_e
3819    break    break
3820  done  done
3821  fi  fi
3822  echo "$as_me:3814: result: $ac_cv_sys_large_files" >&5  echo "$as_me:3822: result: $ac_cv_sys_large_files" >&5
3823  echo "${ECHO_T}$ac_cv_sys_large_files" >&6  echo "${ECHO_T}$ac_cv_sys_large_files" >&6
3824  if test "$ac_cv_sys_large_files" != no; then  if test "$ac_cv_sys_large_files" != no; then
3825    
# Line 3828  fi Line 3836  fi
3836  for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h  for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h
3837  do  do
3838  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3839  echo "$as_me:3831: checking for $ac_header" >&5  echo "$as_me:3839: checking for $ac_header" >&5
3840  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3841  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
3842    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3843  else  else
3844    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3845  #line 3837 "configure"  #line 3845 "configure"
3846  #include "confdefs.h"  #include "confdefs.h"
3847  #include <$ac_header>  #include <$ac_header>
3848  _ACEOF  _ACEOF
3849  if { (eval echo "$as_me:3841: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:3849: \"$ac_cpp conftest.$ac_ext\"") >&5
3850    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3851    ac_status=$?    ac_status=$?
3852    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
3853    rm -f conftest.er1    rm -f conftest.er1
3854    cat conftest.err >&5    cat conftest.err >&5
3855    echo "$as_me:3847: \$? = $ac_status" >&5    echo "$as_me:3855: \$? = $ac_status" >&5
3856    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3857    if test -s conftest.err; then    if test -s conftest.err; then
3858      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 3863  else Line 3871  else
3871  fi  fi
3872  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
3873  fi  fi
3874  echo "$as_me:3866: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:3874: result: `eval echo '${'$as_ac_Header'}'`" >&5
3875  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3876  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
3877    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 3874  fi Line 3882  fi
3882  done  done
3883    
3884  # Emulation library used on NetBSD.  # Emulation library used on NetBSD.
3885  echo "$as_me:3877: checking for _oss_ioctl in -lossaudio" >&5  echo "$as_me:3885: checking for _oss_ioctl in -lossaudio" >&5
3886  echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6  echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
3887  if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then  if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
3888    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3882  else Line 3890  else
3890    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
3891  LIBS="-lossaudio  $LIBS"  LIBS="-lossaudio  $LIBS"
3892  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
3893  #line 3885 "configure"  #line 3893 "configure"
3894  #include "confdefs.h"  #include "confdefs.h"
3895    
3896  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 3901  _oss_ioctl (); Line 3909  _oss_ioctl ();
3909  }  }
3910  _ACEOF  _ACEOF
3911  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
3912  if { (eval echo "$as_me:3904: \"$ac_link\"") >&5  if { (eval echo "$as_me:3912: \"$ac_link\"") >&5
3913    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
3914    ac_status=$?    ac_status=$?
3915    echo "$as_me:3907: \$? = $ac_status" >&5    echo "$as_me:3915: \$? = $ac_status" >&5
3916    (exit $ac_status); } &&    (exit $ac_status); } &&
3917           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
3918    { (eval echo "$as_me:3910: \"$ac_try\"") >&5    { (eval echo "$as_me:3918: \"$ac_try\"") >&5
3919    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3920    ac_status=$?    ac_status=$?
3921    echo "$as_me:3913: \$? = $ac_status" >&5    echo "$as_me:3921: \$? = $ac_status" >&5
3922    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3923    ac_cv_lib_ossaudio__oss_ioctl=yes    ac_cv_lib_ossaudio__oss_ioctl=yes
3924  else  else
# Line 3921  fi Line 3929  fi
3929  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3930  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
3931  fi  fi
3932  echo "$as_me:3924: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5  echo "$as_me:3932: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
3933  echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6  echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
3934  if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then  if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
3935    LIBSOUND=-lossaudio    LIBSOUND=-lossaudio
# Line 3934  for ac_header in sys/select.h sys/timeb. Line 3942  for ac_header in sys/select.h sys/timeb.
3942    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
3943  do  do
3944  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3945  echo "$as_me:3937: checking for $ac_header" >&5  echo "$as_me:3945: checking for $ac_header" >&5
3946  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3947  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
3948    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3949  else  else
3950    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3951  #line 3943 "configure"  #line 3951 "configure"
3952  #include "confdefs.h"  #include "confdefs.h"
3953  #include <$ac_header>  #include <$ac_header>
3954  _ACEOF  _ACEOF
3955  if { (eval echo "$as_me:3947: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:3955: \"$ac_cpp conftest.$ac_ext\"") >&5
3956    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3957    ac_status=$?    ac_status=$?
3958    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
3959    rm -f conftest.er1    rm -f conftest.er1
3960    cat conftest.err >&5    cat conftest.err >&5
3961    echo "$as_me:3953: \$? = $ac_status" >&5    echo "$as_me:3961: \$? = $ac_status" >&5
3962    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3963    if test -s conftest.err; then    if test -s conftest.err; then
3964      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 3969  else Line 3977  else
3977  fi  fi
3978  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
3979  fi  fi
3980  echo "$as_me:3972: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:3980: result: `eval echo '${'$as_ac_Header'}'`" >&5
3981  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3982  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
3983    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 3979  EOF Line 3987  EOF
3987  fi  fi
3988  done  done
3989    
3990  echo "$as_me:3982: checking for ANSI C header files" >&5  echo "$as_me:3990: checking for ANSI C header files" >&5
3991  echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6  echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3992  if test "${ac_cv_header_stdc+set}" = set; then  if test "${ac_cv_header_stdc+set}" = set; then
3993    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3994  else  else
3995    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3996  #line 3988 "configure"  #line 3996 "configure"
3997  #include "confdefs.h"  #include "confdefs.h"
3998  #include <stdlib.h>  #include <stdlib.h>
3999  #include <stdarg.h>  #include <stdarg.h>
# Line 3993  else Line 4001  else
4001  #include <float.h>  #include <float.h>
4002    
4003  _ACEOF  _ACEOF
4004  if { (eval echo "$as_me:3996: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:4004: \"$ac_cpp conftest.$ac_ext\"") >&5
4005    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4006    ac_status=$?    ac_status=$?
4007    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
4008    rm -f conftest.er1    rm -f conftest.er1
4009    cat conftest.err >&5    cat conftest.err >&5
4010    echo "$as_me:4002: \$? = $ac_status" >&5    echo "$as_me:4010: \$? = $ac_status" >&5
4011    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
4012    if test -s conftest.err; then    if test -s conftest.err; then
4013      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 4021  rm -f conftest.err conftest.$ac_ext Line 4029  rm -f conftest.err conftest.$ac_ext
4029  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
4030    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4031    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4032  #line 4024 "configure"  #line 4032 "configure"
4033  #include "confdefs.h"  #include "confdefs.h"
4034  #include <string.h>  #include <string.h>
4035    
# Line 4039  fi Line 4047  fi
4047  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
4048    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4049    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4050  #line 4042 "configure"  #line 4050 "configure"
4051  #include "confdefs.h"  #include "confdefs.h"
4052  #include <stdlib.h>  #include <stdlib.h>
4053    
# Line 4060  if test $ac_cv_header_stdc = yes; then Line 4068  if test $ac_cv_header_stdc = yes; then
4068    :    :
4069  else  else
4070    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4071  #line 4063 "configure"  #line 4071 "configure"
4072  #include "confdefs.h"  #include "confdefs.h"
4073  #include <ctype.h>  #include <ctype.h>
4074  #if ((' ' & 0x0FF) == 0x020)  #if ((' ' & 0x0FF) == 0x020)
# Line 4086  main () Line 4094  main ()
4094  }  }
4095  _ACEOF  _ACEOF
4096  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
4097  if { (eval echo "$as_me:4089: \"$ac_link\"") >&5  if { (eval echo "$as_me:4097: \"$ac_link\"") >&5
4098    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
4099    ac_status=$?    ac_status=$?
4100    echo "$as_me:4092: \$? = $ac_status" >&5    echo "$as_me:4100: \$? = $ac_status" >&5
4101    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4102    { (eval echo "$as_me:4094: \"$ac_try\"") >&5    { (eval echo "$as_me:4102: \"$ac_try\"") >&5
4103    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4104    ac_status=$?    ac_status=$?
4105    echo "$as_me:4097: \$? = $ac_status" >&5    echo "$as_me:4105: \$? = $ac_status" >&5
4106    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4107    :    :
4108  else  else
# Line 4107  rm -f core core.* *.core conftest$ac_exe Line 4115  rm -f core core.* *.core conftest$ac_exe
4115  fi  fi
4116  fi  fi
4117  fi  fi
4118  echo "$as_me:4110: result: $ac_cv_header_stdc" >&5  echo "$as_me:4118: result: $ac_cv_header_stdc" >&5
4119  echo "${ECHO_T}$ac_cv_header_stdc" >&6  echo "${ECHO_T}$ac_cv_header_stdc" >&6
4120  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
4121    
# Line 4117  EOF Line 4125  EOF
4125    
4126  fi  fi
4127    
4128  echo "$as_me:4120: checking whether time.h and sys/time.h may both be included" >&5  echo "$as_me:4128: checking whether time.h and sys/time.h may both be included" >&5
4129  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
4130  if test "${ac_cv_header_time+set}" = set; then  if test "${ac_cv_header_time+set}" = set; then
4131    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4132  else  else
4133    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4134  #line 4126 "configure"  #line 4134 "configure"
4135  #include "confdefs.h"  #include "confdefs.h"
4136  #include <sys/types.h>  #include <sys/types.h>
4137  #include <sys/time.h>  #include <sys/time.h>
# Line 4139  return 0; Line 4147  return 0;
4147  }  }
4148  _ACEOF  _ACEOF
4149  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4150  if { (eval echo "$as_me:4142: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4150: \"$ac_compile\"") >&5
4151    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4152    ac_status=$?    ac_status=$?
4153    echo "$as_me:4145: \$? = $ac_status" >&5    echo "$as_me:4153: \$? = $ac_status" >&5
4154    (exit $ac_status); } &&    (exit $ac_status); } &&
4155           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4156    { (eval echo "$as_me:4148: \"$ac_try\"") >&5    { (eval echo "$as_me:4156: \"$ac_try\"") >&5
4157    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4158    ac_status=$?    ac_status=$?
4159    echo "$as_me:4151: \$? = $ac_status" >&5    echo "$as_me:4159: \$? = $ac_status" >&5
4160    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4161    ac_cv_header_time=yes    ac_cv_header_time=yes
4162  else  else
# Line 4158  ac_cv_header_time=no Line 4166  ac_cv_header_time=no
4166  fi  fi
4167  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4168  fi  fi
4169  echo "$as_me:4161: result: $ac_cv_header_time" >&5  echo "$as_me:4169: result: $ac_cv_header_time" >&5
4170  echo "${ECHO_T}$ac_cv_header_time" >&6  echo "${ECHO_T}$ac_cv_header_time" >&6
4171  if test $ac_cv_header_time = yes; then  if test $ac_cv_header_time = yes; then
4172    
# Line 4168  EOF Line 4176  EOF
4176    
4177  fi  fi
4178    
4179  echo "$as_me:4171: checking for sys_siglist declaration in signal.h or unistd.h" >&5  echo "$as_me:4179: checking for sys_siglist declaration in signal.h or unistd.h" >&5
4180  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
4181  if test "${ac_cv_decl_sys_siglist+set}" = set; then  if test "${ac_cv_decl_sys_siglist+set}" = set; then
4182    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4183  else  else
4184    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4185  #line 4177 "configure"  #line 4185 "configure"
4186  #include "confdefs.h"  #include "confdefs.h"
4187  #include <sys/types.h>  #include <sys/types.h>
4188  #include <signal.h>  #include <signal.h>
# Line 4192  char *msg = *(sys_siglist + 1); Line 4200  char *msg = *(sys_siglist + 1);
4200  }  }
4201  _ACEOF  _ACEOF
4202  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4203  if { (eval echo "$as_me:4195: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4203: \"$ac_compile\"") >&5
4204    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4205    ac_status=$?    ac_status=$?
4206    echo "$as_me:4198: \$? = $ac_status" >&5    echo "$as_me:4206: \$? = $ac_status" >&5
4207    (exit $ac_status); } &&    (exit $ac_status); } &&
4208           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4209    { (eval echo "$as_me:4201: \"$ac_try\"") >&5    { (eval echo "$as_me:4209: \"$ac_try\"") >&5
4210    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4211    ac_status=$?    ac_status=$?
4212    echo "$as_me:4204: \$? = $ac_status" >&5    echo "$as_me:4212: \$? = $ac_status" >&5
4213    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4214    ac_cv_decl_sys_siglist=yes    ac_cv_decl_sys_siglist=yes
4215  else  else
# Line 4211  ac_cv_decl_sys_siglist=no Line 4219  ac_cv_decl_sys_siglist=no
4219  fi  fi
4220  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4221  fi  fi
4222  echo "$as_me:4214: result: $ac_cv_decl_sys_siglist" >&5  echo "$as_me:4222: result: $ac_cv_decl_sys_siglist" >&5
4223  echo "${ECHO_T}$ac_cv_decl_sys_siglist" >&6  echo "${ECHO_T}$ac_cv_decl_sys_siglist" >&6
4224  if test $ac_cv_decl_sys_siglist = yes; then  if test $ac_cv_decl_sys_siglist = yes; then
4225    
# Line 4221  EOF Line 4229  EOF
4229    
4230  fi  fi
4231    
4232  echo "$as_me:4224: checking for sys/wait.h that is POSIX.1 compatible" >&5  echo "$as_me:4232: checking for sys/wait.h that is POSIX.1 compatible" >&5
4233  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
4234  if test "${ac_cv_header_sys_wait_h+set}" = set; then  if test "${ac_cv_header_sys_wait_h+set}" = set; then
4235    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4236  else  else
4237    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4238  #line 4230 "configure"  #line 4238 "configure"
4239  #include "confdefs.h"  #include "confdefs.h"
4240  #include <sys/types.h>  #include <sys/types.h>
4241  #include <sys/wait.h>  #include <sys/wait.h>
# Line 4249  main () Line 4257  main ()
4257  }  }
4258  _ACEOF  _ACEOF
4259  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4260  if { (eval echo "$as_me:4252: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4260: \"$ac_compile\"") >&5
4261    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4262    ac_status=$?    ac_status=$?
4263    echo "$as_me:4255: \$? = $ac_status" >&5    echo "$as_me:4263: \$? = $ac_status" >&5
4264    (exit $ac_status); } &&    (exit $ac_status); } &&
4265           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4266    { (eval echo "$as_me:4258: \"$ac_try\"") >&5    { (eval echo "$as_me:4266: \"$ac_try\"") >&5
4267    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4268    ac_status=$?    ac_status=$?
4269    echo "$as_me:4261: \$? = $ac_status" >&5    echo "$as_me:4269: \$? = $ac_status" >&5
4270    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4271    ac_cv_header_sys_wait_h=yes    ac_cv_header_sys_wait_h=yes
4272  else  else
# Line 4268  ac_cv_header_sys_wait_h=no Line 4276  ac_cv_header_sys_wait_h=no
4276  fi  fi
4277  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4278  fi  fi
4279  echo "$as_me:4271: result: $ac_cv_header_sys_wait_h" >&5  echo "$as_me:4279: result: $ac_cv_header_sys_wait_h" >&5
4280  echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6  echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
4281  if test $ac_cv_header_sys_wait_h = yes; then  if test $ac_cv_header_sys_wait_h = yes; then
4282    
# Line 4278  EOF Line 4286  EOF
4286    
4287  fi  fi
4288    
4289  echo "$as_me:4281: checking for struct utimbuf" >&5  echo "$as_me:4289: checking for struct utimbuf" >&5
4290  echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6  echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6
4291  if test "${emacs_cv_struct_utimbuf+set}" = set; then  if test "${emacs_cv_struct_utimbuf+set}" = set; then
4292    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4293  else  else
4294    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4295  #line 4287 "configure"  #line 4295 "configure"
4296  #include "confdefs.h"  #include "confdefs.h"
4297  #ifdef TIME_WITH_SYS_TIME  #ifdef TIME_WITH_SYS_TIME
4298  #include <sys/time.h>  #include <sys/time.h>
# Line 4308  static struct utimbuf x; x.actime = x.mo Line 4316  static struct utimbuf x; x.actime = x.mo
4316  }  }
4317  _ACEOF  _ACEOF
4318  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4319  if { (eval echo "$as_me:4311: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4319: \"$ac_compile\"") >&5
4320    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4321    ac_status=$?    ac_status=$?
4322    echo "$as_me:4314: \$? = $ac_status" >&5    echo "$as_me:4322: \$? = $ac_status" >&5
4323    (exit $ac_status); } &&    (exit $ac_status); } &&
4324           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4325    { (eval echo "$as_me:4317: \"$ac_try\"") >&5    { (eval echo "$as_me:4325: \"$ac_try\"") >&5
4326    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4327    ac_status=$?    ac_status=$?
4328    echo "$as_me:4320: \$? = $ac_status" >&5    echo "$as_me:4328: \$? = $ac_status" >&5
4329    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4330    emacs_cv_struct_utimbuf=yes    emacs_cv_struct_utimbuf=yes
4331  else  else
# Line 4327  emacs_cv_struct_utimbuf=no Line 4335  emacs_cv_struct_utimbuf=no
4335  fi  fi
4336  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4337  fi  fi
4338  echo "$as_me:4330: result: $emacs_cv_struct_utimbuf" >&5  echo "$as_me:4338: result: $emacs_cv_struct_utimbuf" >&5
4339  echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6  echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6
4340  if test $emacs_cv_struct_utimbuf = yes; then  if test $emacs_cv_struct_utimbuf = yes; then
4341    cat >>confdefs.h <<\EOF    cat >>confdefs.h <<\EOF
# Line 4336  EOF Line 4344  EOF
4344    
4345  fi  fi
4346    
4347  echo "$as_me:4339: checking return type of signal handlers" >&5  echo "$as_me:4347: checking return type of signal handlers" >&5
4348  echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6  echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
4349  if test "${ac_cv_type_signal+set}" = set; then  if test "${ac_cv_type_signal+set}" = set; then
4350    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4351  else  else
4352    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4353  #line 4345 "configure"  #line 4353 "configure"
4354  #include "confdefs.h"  #include "confdefs.h"
4355  #include <sys/types.h>  #include <sys/types.h>
4356  #include <signal.h>  #include <signal.h>
# Line 4364  int i; Line 4372  int i;
4372  }  }
4373  _ACEOF  _ACEOF
4374  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4375  if { (eval echo "$as_me:4367: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4375: \"$ac_compile\"") >&5
4376    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4377    ac_status=$?    ac_status=$?
4378    echo "$as_me:4370: \$? = $ac_status" >&5    echo "$as_me:4378: \$? = $ac_status" >&5
4379    (exit $ac_status); } &&    (exit $ac_status); } &&
4380           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4381    { (eval echo "$as_me:4373: \"$ac_try\"") >&5    { (eval echo "$as_me:4381: \"$ac_try\"") >&5
4382    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4383    ac_status=$?    ac_status=$?
4384    echo "$as_me:4376: \$? = $ac_status" >&5    echo "$as_me:4384: \$? = $ac_status" >&5
4385    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4386    ac_cv_type_signal=void    ac_cv_type_signal=void
4387  else  else
# Line 4383  ac_cv_type_signal=int Line 4391  ac_cv_type_signal=int
4391  fi  fi
4392  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4393  fi  fi
4394  echo "$as_me:4386: result: $ac_cv_type_signal" >&5  echo "$as_me:4394: result: $ac_cv_type_signal" >&5
4395  echo "${ECHO_T}$ac_cv_type_signal" >&6  echo "${ECHO_T}$ac_cv_type_signal" >&6
4396    
4397  cat >>confdefs.h <<EOF  cat >>confdefs.h <<EOF
4398  #define RETSIGTYPE $ac_cv_type_signal  #define RETSIGTYPE $ac_cv_type_signal
4399  EOF  EOF
4400    
4401  echo "$as_me:4393: checking for speed_t" >&5  echo "$as_me:4401: checking for speed_t" >&5
4402  echo $ECHO_N "checking for speed_t... $ECHO_C" >&6  echo $ECHO_N "checking for speed_t... $ECHO_C" >&6
4403  if test "${emacs_cv_speed_t+set}" = set; then  if test "${emacs_cv_speed_t+set}" = set; then
4404    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4405  else  else
4406    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4407  #line 4399 "configure"  #line 4407 "configure"
4408  #include "confdefs.h"  #include "confdefs.h"
4409  #include <termios.h>  #include <termios.h>
4410  int  int
# Line 4408  speed_t x = 1; Line 4416  speed_t x = 1;
4416  }  }
4417  _ACEOF  _ACEOF
4418  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4419  if { (eval echo "$as_me:4411: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4419: \"$ac_compile\"") >&5
4420    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4421    ac_status=$?    ac_status=$?
4422    echo "$as_me:4414: \$? = $ac_status" >&5    echo "$as_me:4422: \$? = $ac_status" >&5
4423    (exit $ac_status); } &&    (exit $ac_status); } &&
4424           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4425    { (eval echo "$as_me:4417: \"$ac_try\"") >&5    { (eval echo "$as_me:4425: \"$ac_try\"") >&5
4426    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4427    ac_status=$?    ac_status=$?
4428    echo "$as_me:4420: \$? = $ac_status" >&5    echo "$as_me:4428: \$? = $ac_status" >&5
4429    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4430    emacs_cv_speed_t=yes    emacs_cv_speed_t=yes
4431  else  else
# Line 4427  emacs_cv_speed_t=no Line 4435  emacs_cv_speed_t=no
4435  fi  fi
4436  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4437  fi  fi
4438  echo "$as_me:4430: result: $emacs_cv_speed_t" >&5  echo "$as_me:4438: result: $emacs_cv_speed_t" >&5
4439  echo "${ECHO_T}$emacs_cv_speed_t" >&6  echo "${ECHO_T}$emacs_cv_speed_t" >&6
4440  if test $emacs_cv_speed_t = yes; then  if test $emacs_cv_speed_t = yes; then
4441    cat >>confdefs.h <<\EOF    cat >>confdefs.h <<\EOF
# Line 4436  EOF Line 4444  EOF
4444    
4445  fi  fi
4446    
4447  echo "$as_me:4439: checking for struct timeval" >&5  echo "$as_me:4447: checking for struct timeval" >&5
4448  echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6  echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6
4449  if test "${emacs_cv_struct_timeval+set}" = set; then  if test "${emacs_cv_struct_timeval+set}" = set; then
4450    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4451  else  else
4452    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4453  #line 4445 "configure"  #line 4453 "configure"
4454  #include "confdefs.h"  #include "confdefs.h"
4455  #ifdef TIME_WITH_SYS_TIME  #ifdef TIME_WITH_SYS_TIME
4456  #include <sys/time.h>  #include <sys/time.h>
# Line 4463  static struct timeval x; x.tv_sec = x.tv Line 4471  static struct timeval x; x.tv_sec = x.tv
4471  }  }
4472  _ACEOF  _ACEOF
4473  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4474  if { (eval echo "$as_me:4466: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4474: \"$ac_compile\"") >&5
4475    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4476    ac_status=$?    ac_status=$?
4477    echo "$as_me:4469: \$? = $ac_status" >&5    echo "$as_me:4477: \$? = $ac_status" >&5
4478    (exit $ac_status); } &&    (exit $ac_status); } &&
4479           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4480    { (eval echo "$as_me:4472: \"$ac_try\"") >&5    { (eval echo "$as_me:4480: \"$ac_try\"") >&5
4481    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4482    ac_status=$?    ac_status=$?
4483    echo "$as_me:4475: \$? = $ac_status" >&5    echo "$as_me:4483: \$? = $ac_status" >&5
4484    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4485    emacs_cv_struct_timeval=yes    emacs_cv_struct_timeval=yes
4486  else  else
# Line 4482  emacs_cv_struct_timeval=no Line 4490  emacs_cv_struct_timeval=no
4490  fi  fi
4491  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4492  fi  fi
4493  echo "$as_me:4485: result: $emacs_cv_struct_timeval" >&5  echo "$as_me:4493: result: $emacs_cv_struct_timeval" >&5
4494  echo "${ECHO_T}$emacs_cv_struct_timeval" >&6  echo "${ECHO_T}$emacs_cv_struct_timeval" >&6
4495  HAVE_TIMEVAL=$emacs_cv_struct_timeval  HAVE_TIMEVAL=$emacs_cv_struct_timeval
4496  if test $emacs_cv_struct_timeval = yes; then  if test $emacs_cv_struct_timeval = yes; then
# Line 4492  EOF Line 4500  EOF
4500    
4501  fi  fi
4502    
4503  echo "$as_me:4495: checking for struct exception" >&5  echo "$as_me:4503: checking for struct exception" >&5
4504  echo $ECHO_N "checking for struct exception... $ECHO_C" >&6  echo $ECHO_N "checking for struct exception... $ECHO_C" >&6
4505  if test "${emacs_cv_struct_exception+set}" = set; then  if test "${emacs_cv_struct_exception+set}" = set; then
4506    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4507  else  else
4508    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4509  #line 4501 "configure"  #line 4509 "configure"
4510  #include "confdefs.h"  #include "confdefs.h"
4511  #include <math.h>  #include <math.h>
4512  int  int
# Line 4510  static struct exception x; x.arg1 = x.ar Line 4518  static struct exception x; x.arg1 = x.ar
4518  }  }
4519  _ACEOF  _ACEOF
4520  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4521  if { (eval echo "$as_me:4513: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4521: \"$ac_compile\"") >&5
4522    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4523    ac_status=$?    ac_status=$?
4524    echo "$as_me:4516: \$? = $ac_status" >&5    echo "$as_me:4524: \$? = $ac_status" >&5
4525    (exit $ac_status); } &&    (exit $ac_status); } &&
4526           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4527    { (eval echo "$as_me:4519: \"$ac_try\"") >&5    { (eval echo "$as_me:4527: \"$ac_try\"") >&5
4528    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4529    ac_status=$?    ac_status=$?
4530    echo "$as_me:4522: \$? = $ac_status" >&5    echo "$as_me:4530: \$? = $ac_status" >&5
4531    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4532    emacs_cv_struct_exception=yes    emacs_cv_struct_exception=yes
4533  else  else
# Line 4529  emacs_cv_struct_exception=no Line 4537  emacs_cv_struct_exception=no
4537  fi  fi
4538  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4539  fi  fi
4540  echo "$as_me:4532: result: $emacs_cv_struct_exception" >&5  echo "$as_me:4540: result: $emacs_cv_struct_exception" >&5
4541  echo "${ECHO_T}$emacs_cv_struct_exception" >&6  echo "${ECHO_T}$emacs_cv_struct_exception" >&6
4542  HAVE_EXCEPTION=$emacs_cv_struct_exception  HAVE_EXCEPTION=$emacs_cv_struct_exception
4543  if test $emacs_cv_struct_exception != yes; then  if test $emacs_cv_struct_exception != yes; then
# Line 4539  EOF Line 4547  EOF
4547    
4548  fi  fi
4549    
4550  echo "$as_me:4542: checking whether struct tm is in sys/time.h or time.h" >&5  echo "$as_me:4550: checking whether struct tm is in sys/time.h or time.h" >&5
4551  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
4552  if test "${ac_cv_struct_tm+set}" = set; then  if test "${ac_cv_struct_tm+set}" = set; then
4553    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4554  else  else
4555    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4556  #line 4548 "configure"  #line 4556 "configure"
4557  #include "confdefs.h"  #include "confdefs.h"
4558  #include <sys/types.h>  #include <sys/types.h>
4559  #include <time.h>  #include <time.h>
# Line 4559  struct tm *tp; tp->tm_sec; Line 4567  struct tm *tp; tp->tm_sec;
4567  }  }
4568  _ACEOF  _ACEOF
4569  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4570  if { (eval echo "$as_me:4562: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4570: \"$ac_compile\"") >&5
4571    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4572    ac_status=$?    ac_status=$?
4573    echo "$as_me:4565: \$? = $ac_status" >&5    echo "$as_me:4573: \$? = $ac_status" >&5
4574    (exit $ac_status); } &&    (exit $ac_status); } &&
4575           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4576    { (eval echo "$as_me:4568: \"$ac_try\"") >&5    { (eval echo "$as_me:4576: \"$ac_try\"") >&5
4577    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4578    ac_status=$?    ac_status=$?
4579    echo "$as_me:4571: \$? = $ac_status" >&5    echo "$as_me:4579: \$? = $ac_status" >&5
4580    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4581    ac_cv_struct_tm=time.h    ac_cv_struct_tm=time.h
4582  else  else
# Line 4578  ac_cv_struct_tm=sys/time.h Line 4586  ac_cv_struct_tm=sys/time.h
4586  fi  fi
4587  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4588  fi  fi
4589  echo "$as_me:4581: result: $ac_cv_struct_tm" >&5  echo "$as_me:4589: result: $ac_cv_struct_tm" >&5
4590  echo "${ECHO_T}$ac_cv_struct_tm" >&6  echo "${ECHO_T}$ac_cv_struct_tm" >&6
4591  if test $ac_cv_struct_tm = sys/time.h; then  if test $ac_cv_struct_tm = sys/time.h; then
4592    
# Line 4588  EOF Line 4596  EOF
4596    
4597  fi  fi
4598    
4599  echo "$as_me:4591: checking for struct tm.tm_zone" >&5  echo "$as_me:4599: checking for struct tm.tm_zone" >&5
4600  echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6  echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
4601  if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then  if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
4602    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4603  else  else
4604    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4605  #line 4597 "configure"  #line 4605 "configure"
4606  #include "confdefs.h"  #include "confdefs.h"
4607  #include <sys/types.h>  #include <sys/types.h>
4608  #include <$ac_cv_struct_tm>  #include <$ac_cv_struct_tm>
# Line 4610  return 0; Line 4618  return 0;
4618  }  }
4619  _ACEOF  _ACEOF
4620  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4621  if { (eval echo "$as_me:4613: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4621: \"$ac_compile\"") >&5
4622    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4623    ac_status=$?    ac_status=$?
4624    echo "$as_me:4616: \$? = $ac_status" >&5    echo "$as_me:4624: \$? = $ac_status" >&5
4625    (exit $ac_status); } &&    (exit $ac_status); } &&
4626           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4627    { (eval echo "$as_me:4619: \"$ac_try\"") >&5    { (eval echo "$as_me:4627: \"$ac_try\"") >&5
4628    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4629    ac_status=$?    ac_status=$?
4630    echo "$as_me:4622: \$? = $ac_status" >&5    echo "$as_me:4630: \$? = $ac_status" >&5
4631    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4632    ac_cv_member_struct_tm_tm_zone=yes    ac_cv_member_struct_tm_tm_zone=yes
4633  else  else
# Line 4629  ac_cv_member_struct_tm_tm_zone=no Line 4637  ac_cv_member_struct_tm_tm_zone=no
4637  fi  fi
4638  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4639  fi  fi
4640  echo "$as_me:4632: result: $ac_cv_member_struct_tm_tm_zone" >&5  echo "$as_me:4640: result: $ac_cv_member_struct_tm_tm_zone" >&5
4641  echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6  echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
4642  if test $ac_cv_member_struct_tm_tm_zone = yes; then  if test $ac_cv_member_struct_tm_tm_zone = yes; then
4643    
# Line 4646  cat >>confdefs.h <<\EOF Line 4654  cat >>confdefs.h <<\EOF
4654  EOF  EOF
4655    
4656  else  else
4657    echo "$as_me:4649: checking for tzname" >&5    echo "$as_me:4657: checking for tzname" >&5
4658  echo $ECHO_N "checking for tzname... $ECHO_C" >&6  echo $ECHO_N "checking for tzname... $ECHO_C" >&6
4659  if test "${ac_cv_var_tzname+set}" = set; then  if test "${ac_cv_var_tzname+set}" = set; then
4660    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4661  else  else
4662    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4663  #line 4655 "configure"  #line 4663 "configure"
4664  #include "confdefs.h"  #include "confdefs.h"
4665  #include <time.h>  #include <time.h>
4666  #ifndef tzname /* For SGI.  */  #ifndef tzname /* For SGI.  */
# Line 4668  atoi(*tzname); Line 4676  atoi(*tzname);
4676  }  }
4677  _ACEOF  _ACEOF
4678  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
4679  if { (eval echo "$as_me:4671: \"$ac_link\"") >&5  if { (eval echo "$as_me:4679: \"$ac_link\"") >&5
4680    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
4681    ac_status=$?    ac_status=$?
4682    echo "$as_me:4674: \$? = $ac_status" >&5    echo "$as_me:4682: \$? = $ac_status" >&5
4683    (exit $ac_status); } &&    (exit $ac_status); } &&
4684           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
4685    { (eval echo "$as_me:4677: \"$ac_try\"") >&5    { (eval echo "$as_me:4685: \"$ac_try\"") >&5
4686    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4687    ac_status=$?    ac_status=$?
4688    echo "$as_me:4680: \$? = $ac_status" >&5    echo "$as_me:4688: \$? = $ac_status" >&5
4689    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4690    ac_cv_var_tzname=yes    ac_cv_var_tzname=yes
4691  else  else
# Line 4687  ac_cv_var_tzname=no Line 4695  ac_cv_var_tzname=no
4695  fi  fi
4696  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4697  fi  fi
4698  echo "$as_me:4690: result: $ac_cv_var_tzname" >&5  echo "$as_me:4698: result: $ac_cv_var_tzname" >&5
4699  echo "${ECHO_T}$ac_cv_var_tzname" >&6  echo "${ECHO_T}$ac_cv_var_tzname" >&6
4700    if test $ac_cv_var_tzname = yes; then    if test $ac_cv_var_tzname = yes; then
4701    
# Line 4698  EOF Line 4706  EOF
4706    fi    fi
4707  fi  fi
4708    
4709  echo "$as_me:4701: checking for tm_gmtoff in struct tm" >&5  echo "$as_me:4709: checking for tm_gmtoff in struct tm" >&5
4710  echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6  echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
4711  if test "${emacs_cv_tm_gmtoff+set}" = set; then  if test "${emacs_cv_tm_gmtoff+set}" = set; then
4712    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4713  else  else
4714    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4715  #line 4707 "configure"  #line 4715 "configure"
4716  #include "confdefs.h"  #include "confdefs.h"
4717  #include <time.h>  #include <time.h>
4718  int  int
# Line 4716  struct tm t; t.tm_gmtoff = 0 Line 4724  struct tm t; t.tm_gmtoff = 0
4724  }  }
4725  _ACEOF  _ACEOF
4726  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
4727  if { (eval echo "$as_me:4719: \"$ac_link\"") >&5  if { (eval echo "$as_me:4727: \"$ac_link\"") >&5
4728    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
4729    ac_status=$?    ac_status=$?
4730    echo "$as_me:4722: \$? = $ac_status" >&5    echo "$as_me:4730: \$? = $ac_status" >&5
4731    (exit $ac_status); } &&    (exit $ac_status); } &&
4732           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
4733    { (eval echo "$as_me:4725: \"$ac_try\"") >&5    { (eval echo "$as_me:4733: \"$ac_try\"") >&5
4734    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4735    ac_status=$?    ac_status=$?
4736    echo "$as_me:4728: \$? = $ac_status" >&5    echo "$as_me:4736: \$? = $ac_status" >&5
4737    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4738    emacs_cv_tm_gmtoff=yes    emacs_cv_tm_gmtoff=yes
4739  else  else
# Line 4735  emacs_cv_tm_gmtoff=no Line 4743  emacs_cv_tm_gmtoff=no
4743  fi  fi
4744  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4745  fi  fi
4746  echo "$as_me:4738: result: $emacs_cv_tm_gmtoff" >&5  echo "$as_me:4746: result: $emacs_cv_tm_gmtoff" >&5
4747  echo "${ECHO_T}$emacs_cv_tm_gmtoff" >&6  echo "${ECHO_T}$emacs_cv_tm_gmtoff" >&6
4748  if test $emacs_cv_tm_gmtoff = yes; then  if test $emacs_cv_tm_gmtoff = yes; then
4749    cat >>confdefs.h <<\EOF    cat >>confdefs.h <<\EOF
# Line 4744  EOF Line 4752  EOF
4752    
4753  fi  fi
4754    
4755  echo "$as_me:4747: checking for $CC option to accept ANSI C" >&5  echo "$as_me:4755: checking for $CC option to accept ANSI C" >&5
4756  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
4757  if test "${ac_cv_prog_cc_stdc+set}" = set; then  if test "${ac_cv_prog_cc_stdc+set}" = set; then
4758    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4752  else Line 4760  else
4760    ac_cv_prog_cc_stdc=no    ac_cv_prog_cc_stdc=no
4761  ac_save_CC=$CC  ac_save_CC=$CC
4762  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
4763  #line 4755 "configure"  #line 4763 "configure"
4764  #include "confdefs.h"  #include "confdefs.h"
4765  #include <stdarg.h>  #include <stdarg.h>
4766  #include <stdio.h>  #include <stdio.h>
# Line 4801  for ac_arg in "" -qlanglvl=ansi -std1 -A Line 4809  for ac_arg in "" -qlanglvl=ansi -std1 -A
4809  do  do
4810    CC="$ac_save_CC $ac_arg"    CC="$ac_save_CC $ac_arg"
4811    rm -f conftest.$ac_objext    rm -f conftest.$ac_objext
4812  if { (eval echo "$as_me:4804: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4812: \"$ac_compile\"") >&5
4813    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4814    ac_status=$?    ac_status=$?
4815    echo "$as_me:4807: \$? = $ac_status" >&5    echo "$as_me:4815: \$? = $ac_status" >&5
4816    (exit $ac_status); } &&    (exit $ac_status); } &&
4817           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4818    { (eval echo "$as_me:4810: \"$ac_try\"") >&5    { (eval echo "$as_me:4818: \"$ac_try\"") >&5
4819    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4820    ac_status=$?    ac_status=$?
4821    echo "$as_me:4813: \$? = $ac_status" >&5    echo "$as_me:4821: \$? = $ac_status" >&5
4822    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4823    ac_cv_prog_cc_stdc=$ac_arg    ac_cv_prog_cc_stdc=$ac_arg
4824  break  break
# Line 4827  fi Line 4835  fi
4835    
4836  case "x$ac_cv_prog_cc_stdc" in  case "x$ac_cv_prog_cc_stdc" in
4837    x|xno)    x|xno)
4838      echo "$as_me:4830: result: none needed" >&5      echo "$as_me:4838: result: none needed" >&5
4839  echo "${ECHO_T}none needed" >&6 ;;  echo "${ECHO_T}none needed" >&6 ;;
4840    *)    *)
4841      echo "$as_me:4833: result: $ac_cv_prog_cc_stdc" >&5      echo "$as_me:4841: result: $ac_cv_prog_cc_stdc" >&5
4842  echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6  echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4843      CC="$CC $ac_cv_prog_cc_stdc" ;;      CC="$CC $ac_cv_prog_cc_stdc" ;;
4844  esac  esac
4845    
4846  echo "$as_me:4838: checking for function prototypes" >&5  echo "$as_me:4846: checking for function prototypes" >&5
4847  echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6  echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
4848  if test "$ac_cv_prog_cc_stdc" != no; then  if test "$ac_cv_prog_cc_stdc" != no; then
4849    echo "$as_me:4841: result: yes" >&5    echo "$as_me:4849: result: yes" >&5
4850  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
4851    
4852  cat >>confdefs.h <<\EOF  cat >>confdefs.h <<\EOF
# Line 4846  cat >>confdefs.h <<\EOF Line 4854  cat >>confdefs.h <<\EOF
4854  EOF  EOF
4855    
4856  else  else
4857    echo "$as_me:4849: result: no" >&5    echo "$as_me:4857: result: no" >&5
4858  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
4859  fi  fi
4860    
4861  echo "$as_me:4853: checking for working volatile" >&5  echo "$as_me:4861: checking for working volatile" >&5
4862  echo $ECHO_N "checking for working volatile... $ECHO_C" >&6  echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
4863  if test "${ac_cv_c_volatile+set}" = set; then  if test "${ac_cv_c_volatile+set}" = set; then
4864    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4865  else  else
4866    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4867  #line 4859 "configure"  #line 4867 "configure"
4868  #include "confdefs.h"  #include "confdefs.h"
4869    
4870  int  int
# Line 4870  int * volatile y; Line 4878  int * volatile y;
4878  }  }
4879  _ACEOF  _ACEOF
4880  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4881  if { (eval echo "$as_me:4873: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4881: \"$ac_compile\"") >&5
4882    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4883    ac_status=$?    ac_status=$?
4884    echo "$as_me:4876: \$? = $ac_status" >&5    echo "$as_me:4884: \$? = $ac_status" >&5
4885    (exit $ac_status); } &&    (exit $ac_status); } &&
4886           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4887    { (eval echo "$as_me:4879: \"$ac_try\"") >&5    { (eval echo "$as_me:4887: \"$ac_try\"") >&5
4888    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4889    ac_status=$?    ac_status=$?
4890    echo "$as_me:4882: \$? = $ac_status" >&5    echo "$as_me:4890: \$? = $ac_status" >&5
4891    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4892    ac_cv_c_volatile=yes    ac_cv_c_volatile=yes
4893  else  else
# Line 4889  ac_cv_c_volatile=no Line 4897  ac_cv_c_volatile=no
4897  fi  fi
4898  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4899  fi  fi
4900  echo "$as_me:4892: result: $ac_cv_c_volatile" >&5  echo "$as_me:4900: result: $ac_cv_c_volatile" >&5
4901  echo "${ECHO_T}$ac_cv_c_volatile" >&6  echo "${ECHO_T}$ac_cv_c_volatile" >&6
4902  if test $ac_cv_c_volatile = no; then  if test $ac_cv_c_volatile = no; then
4903    
# Line 4899  EOF Line 4907  EOF
4907    
4908  fi  fi
4909    
4910  echo "$as_me:4902: checking for an ANSI C-conforming const" >&5  echo "$as_me:4910: checking for an ANSI C-conforming const" >&5
4911  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
4912  if test "${ac_cv_c_const+set}" = set; then  if test "${ac_cv_c_const+set}" = set; then
4913    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4914  else  else
4915    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4916  #line 4908 "configure"  #line 4916 "configure"
4917  #include "confdefs.h"  #include "confdefs.h"
4918    
4919  int  int
# Line 4963  main () Line 4971  main ()
4971  }  }
4972  _ACEOF  _ACEOF
4973  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4974  if { (eval echo "$as_me:4966: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4974: \"$ac_compile\"") >&5
4975    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4976    ac_status=$?    ac_status=$?
4977    echo "$as_me:4969: \$? = $ac_status" >&5    echo "$as_me:4977: \$? = $ac_status" >&5
4978    (exit $ac_status); } &&    (exit $ac_status); } &&
4979           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4980    { (eval echo "$as_me:4972: \"$ac_try\"") >&5    { (eval echo "$as_me:4980: \"$ac_try\"") >&5
4981    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4982    ac_status=$?    ac_status=$?
4983    echo "$as_me:4975: \$? = $ac_status" >&5    echo "$as_me:4983: \$? = $ac_status" >&5
4984    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4985    ac_cv_c_const=yes    ac_cv_c_const=yes
4986  else  else
# Line 4982  ac_cv_c_const=no Line 4990  ac_cv_c_const=no
4990  fi  fi
4991  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4992  fi  fi
4993  echo "$as_me:4985: result: $ac_cv_c_const" >&5  echo "$as_me:4993: result: $ac_cv_c_const" >&5
4994  echo "${ECHO_T}$ac_cv_c_const" >&6  echo "${ECHO_T}$ac_cv_c_const" >&6
4995  if test $ac_cv_c_const = no; then  if test $ac_cv_c_const = no; then
4996    
# Line 4992  EOF Line 5000  EOF
5000    
5001  fi  fi
5002    
5003  echo "$as_me:4995: checking for void * support" >&5  echo "$as_me:5003: checking for void * support" >&5
5004  echo $ECHO_N "checking for void * support... $ECHO_C" >&6  echo $ECHO_N "checking for void * support... $ECHO_C" >&6
5005  if test "${emacs_cv_void_star+set}" = set; then  if test "${emacs_cv_void_star+set}" = set; then
5006    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5007  else  else
5008    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5009  #line 5001 "configure"  #line 5009 "configure"
5010  #include "confdefs.h"  #include "confdefs.h"
5011    
5012  int  int
# Line 5010  void * foo; Line 5018  void * foo;
5018  }  }
5019  _ACEOF  _ACEOF
5020  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
5021  if { (eval echo "$as_me:5013: \"$ac_compile\"") >&5  if { (eval echo "$as_me:5021: \"$ac_compile\"") >&5
5022    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
5023    ac_status=$?    ac_status=$?
5024    echo "$as_me:5016: \$? = $ac_status" >&5    echo "$as_me:5024: \$? = $ac_status" >&5
5025    (exit $ac_status); } &&    (exit $ac_status); } &&
5026           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
5027    { (eval echo "$as_me:5019: \"$ac_try\"") >&5    { (eval echo "$as_me:5027: \"$ac_try\"") >&5
5028    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5029    ac_status=$?    ac_status=$?
5030    echo "$as_me:5022: \$? = $ac_status" >&5    echo "$as_me:5030: \$? = $ac_status" >&5
5031    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5032    emacs_cv_void_star=yes    emacs_cv_void_star=yes
5033  else  else
# Line 5029  emacs_cv_void_star=no Line 5037  emacs_cv_void_star=no
5037  fi  fi
5038  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
5039  fi  fi
5040  echo "$as_me:5032: result: $emacs_cv_void_star" >&5  echo "$as_me:5040: result: $emacs_cv_void_star" >&5
5041  echo "${ECHO_T}$emacs_cv_void_star" >&6  echo "${ECHO_T}$emacs_cv_void_star" >&6
5042  if test $emacs_cv_void_star = yes; then  if test $emacs_cv_void_star = yes; then
5043    cat >>confdefs.h <<\EOF    cat >>confdefs.h <<\EOF
# Line 5043  EOF Line 5051  EOF
5051    
5052  fi  fi
5053    
5054  echo "$as_me:5046: checking whether ${MAKE-make} sets \${MAKE}" >&5  echo "$as_me:5054: checking whether ${MAKE-make} sets \${MAKE}" >&5
5055  echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6  echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
5056  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
5057  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 5063  fi Line 5071  fi
5071  rm -f conftest.make  rm -f conftest.make
5072  fi  fi
5073  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
5074    echo "$as_me:5066: result: yes" >&5    echo "$as_me:5074: result: yes" >&5
5075  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
5076    SET_MAKE=    SET_MAKE=
5077  else  else
5078    echo "$as_me:5070: result: no" >&5    echo "$as_me:5078: result: no" >&5
5079  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
5080    SET_MAKE="MAKE=${MAKE-make}"    SET_MAKE="MAKE=${MAKE-make}"
5081  fi  fi
5082    
5083  echo "$as_me:5075: checking for long file names" >&5  echo "$as_me:5083: checking for long file names" >&5
5084  echo $ECHO_N "checking for long file names... $ECHO_C" >&6  echo $ECHO_N "checking for long file names... $ECHO_C" >&6
5085  if test "${ac_cv_sys_long_file_names+set}" = set; then  if test "${ac_cv_sys_long_file_names+set}" = set; then
5086    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5111  for ac_dir in  . $ac_tmpdirs `eval echo Line 5119  for ac_dir in  . $ac_tmpdirs `eval echo
5119    rm -rf $ac_xdir 2>/dev/null    rm -rf $ac_xdir 2>/dev/null
5120  done  done
5121  fi  fi
5122  echo "$as_me:5114: result: $ac_cv_sys_long_file_names" >&5  echo "$as_me:5122: result: $ac_cv_sys_long_file_names" >&5
5123  echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6  echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6
5124  if test $ac_cv_sys_long_file_names = yes; then  if test $ac_cv_sys_long_file_names = yes; then
5125    
# Line 5123  fi Line 5131  fi
5131    
5132  #### Choose a window system.  #### Choose a window system.
5133    
5134  echo "$as_me:5126: checking for X" >&5  echo "$as_me:5134: checking for X" >&5
5135  echo $ECHO_N "checking for X... $ECHO_C" >&6  echo $ECHO_N "checking for X... $ECHO_C" >&6
5136    
5137  # Check whether --with-x or --without-x was given.  # Check whether --with-x or --without-x was given.
# Line 5220  if test "$ac_x_includes" = no; then Line 5228  if test "$ac_x_includes" = no; then
5228    # Guess where to find include files, by looking for Intrinsic.h.    # Guess where to find include files, by looking for Intrinsic.h.
5229    # First, try using that file with no special directory specified.    # First, try using that file with no special directory specified.
5230    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5231  #line 5223 "configure"  #line 5231 "configure"
5232  #include "confdefs.h"  #include "confdefs.h"
5233  #include <X11/Intrinsic.h>  #include <X11/Intrinsic.h>
5234  _ACEOF  _ACEOF
5235  if { (eval echo "$as_me:5227: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:5235: \"$ac_cpp conftest.$ac_ext\"") >&5
5236    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5237    ac_status=$?    ac_status=$?
5238    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
5239    rm -f conftest.er1    rm -f conftest.er1
5240    cat conftest.err >&5    cat conftest.err >&5
5241    echo "$as_me:5233: \$? = $ac_status" >&5    echo "$as_me:5241: \$? = $ac_status" >&5
5242    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
5243    if test -s conftest.err; then    if test -s conftest.err; then
5244      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 5263  if test "$ac_x_libraries" = no; then Line 5271  if test "$ac_x_libraries" = no; then
5271    ac_save_LIBS=$LIBS    ac_save_LIBS=$LIBS
5272    LIBS="-lXt $LIBS"    LIBS="-lXt $LIBS"
5273    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5274  #line 5266 "configure"  #line 5274 "configure"
5275  #include "confdefs.h"  #include "confdefs.h"
5276  #include <X11/Intrinsic.h>  #include <X11/Intrinsic.h>
5277  int  int
# Line 5275  XtMalloc (0) Line 5283  XtMalloc (0)
5283  }  }
5284  _ACEOF  _ACEOF
5285  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
5286  if { (eval echo "$as_me:5278: \"$ac_link\"") >&5  if { (eval echo "$as_me:5286: \"$ac_link\"") >&5
5287    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
5288    ac_status=$?    ac_status=$?
5289    echo "$as_me:5281: \$? = $ac_status" >&5    echo "$as_me:5289: \$? = $ac_status" >&5
5290    (exit $ac_status); } &&    (exit $ac_status); } &&
5291           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
5292    { (eval echo "$as_me:5284: \"$ac_try\"") >&5    { (eval echo "$as_me:5292: \"$ac_try\"") >&5
5293    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5294    ac_status=$?    ac_status=$?
5295    echo "$as_me:5287: \$? = $ac_status" >&5    echo "$as_me:5295: \$? = $ac_status" >&5
5296    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5297    LIBS=$ac_save_LIBS    LIBS=$ac_save_LIBS
5298  # We can link X programs with no special library path.  # We can link X programs with no special library path.
# Line 5322  fi Line 5330  fi
5330  fi # $with_x != no  fi # $with_x != no
5331    
5332  if test "$have_x" != yes; then  if test "$have_x" != yes; then
5333    echo "$as_me:5325: result: $have_x" >&5    echo "$as_me:5333: result: $have_x" >&5
5334  echo "${ECHO_T}$have_x" >&6  echo "${ECHO_T}$have_x" >&6
5335    no_x=yes    no_x=yes
5336  else  else
# Line 5332  else Line 5340  else
5340    # Update the cache value to reflect the command line values.    # Update the cache value to reflect the command line values.
5341    ac_cv_have_x="have_x=yes \    ac_cv_have_x="have_x=yes \
5342                  ac_x_includes=$x_includes ac_x_libraries=$x_libraries"                  ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
5343    echo "$as_me:5335: result: libraries $x_libraries, headers $x_includes" >&5    echo "$as_me:5343: result: libraries $x_libraries, headers $x_includes" >&5
5344  echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6  echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
5345  fi  fi
5346    
# Line 5430  UNEXEC_SRC="`echo ${unexec} | sed 's/\.o Line 5438  UNEXEC_SRC="`echo ${unexec} | sed 's/\.o
5438  # Assume not, until told otherwise.  # Assume not, until told otherwise.
5439  GNU_MALLOC=yes  GNU_MALLOC=yes
5440  doug_lea_malloc=yes  doug_lea_malloc=yes
5441  echo "$as_me:5433: checking for malloc_get_state" >&5  echo "$as_me:5441: checking for malloc_get_state" >&5
5442  echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6  echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6
5443  if test "${ac_cv_func_malloc_get_state+set}" = set; then  if test "${ac_cv_func_malloc_get_state+set}" = set; then
5444    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5445  else  else
5446    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5447  #line 5439 "configure"  #line 5447 "configure"
5448  #include "confdefs.h"  #include "confdefs.h"
5449  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5450      which can conflict with char malloc_get_state (); below.  */      which can conflict with char malloc_get_state (); below.  */
# Line 5467  f = malloc_get_state; Line 5475  f = malloc_get_state;
5475  }  }
5476  _ACEOF  _ACEOF
5477  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
5478  if { (eval echo "$as_me:5470: \"$ac_link\"") >&5  if { (eval echo "$as_me:5478: \"$ac_link\"") >&5
5479    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
5480    ac_status=$?    ac_status=$?
5481    echo "$as_me:5473: \$? = $ac_status" >&5    echo "$as_me:5481: \$? = $ac_status" >&5
5482    (exit $ac_status); } &&    (exit $ac_status); } &&
5483           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
5484    { (eval echo "$as_me:5476: \"$ac_try\"") >&5    { (eval echo "$as_me:5484: \"$ac_try\"") >&5
5485    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5486    ac_status=$?    ac_status=$?
5487    echo "$as_me:5479: \$? = $ac_status" >&5    echo "$as_me:5487: \$? = $ac_status" >&5
5488    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5489    ac_cv_func_malloc_get_state=yes    ac_cv_func_malloc_get_state=yes
5490  else  else
# Line 5486  ac_cv_func_malloc_get_state=no Line 5494  ac_cv_func_malloc_get_state=no
5494  fi  fi
5495  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5496  fi  fi
5497  echo "$as_me:5489: result: $ac_cv_func_malloc_get_state" >&5  echo "$as_me:5497: result: $ac_cv_func_malloc_get_state" >&5
5498  echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6  echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6
5499  if test $ac_cv_func_malloc_get_state = yes; then  if test $ac_cv_func_malloc_get_state = yes; then
5500    :    :
# Line 5494  else Line 5502  else
5502    doug_lea_malloc=no    doug_lea_malloc=no
5503  fi  fi
5504    
5505  echo "$as_me:5497: checking for malloc_set_state" >&5  echo "$as_me:5505: checking for malloc_set_state" >&5
5506  echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6  echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6
5507  if test "${ac_cv_func_malloc_set_state+set}" = set; then  if test "${ac_cv_func_malloc_set_state+set}" = set; then
5508    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5509  else  else
5510    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5511  #line 5503 "configure"  #line 5511 "configure"
5512  #include "confdefs.h"  #include "confdefs.h"
5513  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5514      which can conflict with char malloc_set_state (); below.  */      which can conflict with char malloc_set_state (); below.  */
# Line 5531  f = malloc_set_state; Line 5539  f = malloc_set_state;
5539  }  }
5540  _ACEOF  _ACEOF
5541  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
5542  if { (eval echo "$as_me:5534: \"$ac_link\"") >&5  if { (eval echo "$as_me:5542: \"$ac_link\"") >&5
5543    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
5544    ac_status=$?    ac_status=$?
5545    echo "$as_me:5537: \$? = $ac_status" >&5    echo "$as_me:5545: \$? = $ac_status" >&5
5546    (exit $ac_status); } &&    (exit $ac_status); } &&
5547           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
5548    { (eval echo "$as_me:5540: \"$ac_try\"") >&5    { (eval echo "$as_me:5548: \"$ac_try\"") >&5
5549    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5550    ac_status=$?    ac_status=$?
5551    echo "$as_me:5543: \$? = $ac_status" >&5    echo "$as_me:5551: \$? = $ac_status" >&5
5552    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5553    ac_cv_func_malloc_set_state=yes    ac_cv_func_malloc_set_state=yes
5554  else  else
# Line 5550  ac_cv_func_malloc_set_state=no Line 5558  ac_cv_func_malloc_set_state=no
5558  fi  fi
5559  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5560  fi  fi
5561  echo "$as_me:5553: result: $ac_cv_func_malloc_set_state" >&5  echo "$as_me:5561: result: $ac_cv_func_malloc_set_state" >&5
5562  echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6  echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6
5563  if test $ac_cv_func_malloc_set_state = yes; then  if test $ac_cv_func_malloc_set_state = yes; then
5564    :    :
# Line 5558  else Line 5566  else
5566    doug_lea_malloc=no    doug_lea_malloc=no
5567  fi  fi
5568    
5569  echo "$as_me:5561: checking whether __after_morecore_hook exists" >&5  echo "$as_me:5569: checking whether __after_morecore_hook exists" >&5
5570  echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6  echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6
5571  if test "${emacs_cv_var___after_morecore_hook+set}" = set; then  if test "${emacs_cv_var___after_morecore_hook+set}" = set; then
5572    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5573  else  else
5574    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5575  #line 5567 "configure"  #line 5575 "configure"
5576  #include "confdefs.h"  #include "confdefs.h"
5577  extern void (* __after_morecore_hook)();  extern void (* __after_morecore_hook)();
5578  int  int
# Line 5576  __after_morecore_hook = 0 Line 5584  __after_morecore_hook = 0
5584  }  }
5585  _ACEOF  _ACEOF
5586  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
5587  if { (eval echo "$as_me:5579: \"$ac_link\"") >&5  if { (eval echo "$as_me:5587: \"$ac_link\"") >&5
5588    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
5589    ac_status=$?    ac_status=$?
5590    echo "$as_me:5582: \$? = $ac_status" >&5    echo "$as_me:5590: \$? = $ac_status" >&5
5591    (exit $ac_status); } &&    (exit $ac_status); } &&
5592           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
5593    { (eval echo "$as_me:5585: \"$ac_try\"") >&5    { (eval echo "$as_me:5593: \"$ac_try\"") >&5
5594    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5595    ac_status=$?    ac_status=$?
5596    echo "$as_me:5588: \$? = $ac_status" >&5    echo "$as_me:5596: \$? = $ac_status" >&5
5597    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5598    emacs_cv_var___after_morecore_hook=yes    emacs_cv_var___after_morecore_hook=yes
5599  else  else
# Line 5595  emacs_cv_var___after_morecore_hook=no Line 5603  emacs_cv_var___after_morecore_hook=no
5603  fi  fi
5604  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5605  fi  fi
5606  echo "$as_me:5598: result: $emacs_cv_var___after_morecore_hook" >&5  echo "$as_me:5606: result: $emacs_cv_var___after_morecore_hook" >&5
5607  echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6  echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6
5608  if test $emacs_cv_var___after_morecore_hook = no; then  if test $emacs_cv_var___after_morecore_hook = no; then
5609    doug_lea_malloc=no    doug_lea_malloc=no
# Line 5626  for ac_header in sys/types.h sys/stat.h Line 5634  for ac_header in sys/types.h sys/stat.h
5634                    inttypes.h stdint.h unistd.h                    inttypes.h stdint.h unistd.h
5635  do  do
5636  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5637  echo "$as_me:5629: checking for $ac_header" >&5  echo "$as_me:5637: checking for $ac_header" >&5
5638  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5639  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
5640    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5641  else  else
5642    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5643  #line 5635 "configure"  #line 5643 "configure"
5644  #include "confdefs.h"  #include "confdefs.h"
5645  $ac_includes_default  $ac_includes_default
5646  #include <$ac_header>  #include <$ac_header>
5647  _ACEOF  _ACEOF
5648  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
5649  if { (eval echo "$as_me:5641: \"$ac_compile\"") >&5  if { (eval echo "$as_me:5649: \"$ac_compile\"") >&5
5650    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
5651    ac_status=$?    ac_status=$?
5652    echo "$as_me:5644: \$? = $ac_status" >&5    echo "$as_me:5652: \$? = $ac_status" >&5
5653    (exit $ac_status); } &&    (exit $ac_status); } &&
5654           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
5655    { (eval echo "$as_me:5647: \"$ac_try\"") >&5    { (eval echo "$as_me:5655: \"$ac_try\"") >&5
5656    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5657    ac_status=$?    ac_status=$?
5658    echo "$as_me:5650: \$? = $ac_status" >&5    echo "$as_me:5658: \$? = $ac_status" >&5
5659    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5660    eval "$as_ac_Header=yes"    eval "$as_ac_Header=yes"
5661  else  else
# Line 5657  eval "$as_ac_Header=no" Line 5665  eval "$as_ac_Header=no"
5665  fi  fi
5666  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
5667  fi  fi
5668  echo "$as_me:5660: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:5668: result: `eval echo '${'$as_ac_Header'}'`" >&5
5669  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5670  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
5671    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 5670  done Line 5678  done
5678  for ac_header in stdlib.h unistd.h  for ac_header in stdlib.h unistd.h
5679  do  do
5680  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5681  echo "$as_me:5673: checking for $ac_header" >&5  echo "$as_me:5681: checking for $ac_header" >&5
5682  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5683  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
5684    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5685  else  else
5686    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5687  #line 5679 "configure"  #line 5687 "configure"
5688  #include "confdefs.h"  #include "confdefs.h"
5689  #include <$ac_header>  #include <$ac_header>
5690  _ACEOF  _ACEOF
5691  if { (eval echo "$as_me:5683: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:5691: \"$ac_cpp conftest.$ac_ext\"") >&5
5692    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5693    ac_status=$?    ac_status=$?
5694    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
5695    rm -f conftest.er1    rm -f conftest.er1
5696    cat conftest.err >&5    cat conftest.err >&5
5697    echo "$as_me:5689: \$? = $ac_status" >&5    echo "$as_me:5697: \$? = $ac_status" >&5
5698    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
5699    if test -s conftest.err; then    if test -s conftest.err; then
5700      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 5705  else Line 5713  else
5713  fi  fi
5714  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
5715  fi  fi
5716  echo "$as_me:5708: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:5716: result: `eval echo '${'$as_ac_Header'}'`" >&5
5717  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5718  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
5719    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 5718  done Line 5726  done
5726  for ac_func in getpagesize  for ac_func in getpagesize
5727  do  do
5728  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5729  echo "$as_me:5721: checking for $ac_func" >&5  echo "$as_me:5729: checking for $ac_func" >&5
5730  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5731  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
5732    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5733  else  else
5734    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5735  #line 5727 "configure"  #line 5735 "configure"
5736  #include "confdefs.h"  #include "confdefs.h"
5737  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5738      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 5755  f = $ac_func; Line 5763  f = $ac_func;
5763  }  }
5764  _ACEOF  _ACEOF
5765  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
5766  if { (eval echo "$as_me:5758: \"$ac_link\"") >&5  if { (eval echo "$as_me:5766: \"$ac_link\"") >&5
5767    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
5768    ac_status=$?    ac_status=$?
5769    echo "$as_me:5761: \$? = $ac_status" >&5    echo "$as_me:5769: \$? = $ac_status" >&5
5770    (exit $ac_status); } &&    (exit $ac_status); } &&
5771           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
5772    { (eval echo "$as_me:5764: \"$ac_try\"") >&5    { (eval echo "$as_me:5772: \"$ac_try\"") >&5
5773    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5774    ac_status=$?    ac_status=$?
5775    echo "$as_me:5767: \$? = $ac_status" >&5    echo "$as_me:5775: \$? = $ac_status" >&5
5776    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5777    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
5778  else  else
# Line 5774  eval "$as_ac_var=no" Line 5782  eval "$as_ac_var=no"
5782  fi  fi
5783  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5784  fi  fi
5785  echo "$as_me:5777: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:5785: result: `eval echo '${'$as_ac_var'}'`" >&5
5786  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5787  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
5788    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 5784  EOF Line 5792  EOF
5792  fi  fi
5793  done  done
5794    
5795  echo "$as_me:5787: checking for working mmap" >&5  echo "$as_me:5795: checking for working mmap" >&5
5796  echo $ECHO_N "checking for working mmap... $ECHO_C" >&6  echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
5797  if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then  if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
5798    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5793  else Line 5801  else
5801    ac_cv_func_mmap_fixed_mapped=no    ac_cv_func_mmap_fixed_mapped=no
5802  else  else
5803    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5804  #line 5796 "configure"  #line 5804 "configure"
5805  #include "confdefs.h"  #include "confdefs.h"
5806  $ac_includes_default  $ac_includes_default
5807  /* Thanks to Mike Haertel and Jim Avera for this test.  /* Thanks to Mike Haertel and Jim Avera for this test.
# Line 5920  main () Line 5928  main ()
5928  }  }
5929  _ACEOF  _ACEOF
5930  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
5931  if { (eval echo "$as_me:5923: \"$ac_link\"") >&5  if { (eval echo "$as_me:5931: \"$ac_link\"") >&5
5932    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
5933    ac_status=$?    ac_status=$?
5934    echo "$as_me:5926: \$? = $ac_status" >&5    echo "$as_me:5934: \$? = $ac_status" >&5
5935    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5936    { (eval echo "$as_me:5928: \"$ac_try\"") >&5    { (eval echo "$as_me:5936: \"$ac_try\"") >&5
5937    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5938    ac_status=$?    ac_status=$?
5939    echo "$as_me:5931: \$? = $ac_status" >&5    echo "$as_me:5939: \$? = $ac_status" >&5
5940    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5941    ac_cv_func_mmap_fixed_mapped=yes    ac_cv_func_mmap_fixed_mapped=yes
5942  else  else
# Line 5940  fi Line 5948  fi
5948  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
5949  fi  fi
5950  fi  fi
5951  echo "$as_me:5943: result: $ac_cv_func_mmap_fixed_mapped" >&5  echo "$as_me:5951: result: $ac_cv_func_mmap_fixed_mapped" >&5
5952  echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6  echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
5953  if test $ac_cv_func_mmap_fixed_mapped = yes; then  if test $ac_cv_func_mmap_fixed_mapped = yes; then
5954    
# Line 5957  fi Line 5965  fi
5965    
5966  LIBS="$libsrc_libs $LIBS"  LIBS="$libsrc_libs $LIBS"
5967    
5968  echo "$as_me:5960: checking for dnet_ntoa in -ldnet" >&5  echo "$as_me:5968: checking for dnet_ntoa in -ldnet" >&5
5969  echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6  echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
5970  if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then  if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
5971    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5965  else Line 5973  else
5973    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
5974  LIBS="-ldnet  $LIBS"  LIBS="-ldnet  $LIBS"
5975  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
5976  #line 5968 "configure"  #line 5976 "configure"
5977  #include "confdefs.h"  #include "confdefs.h"
5978    
5979  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 5984  dnet_ntoa (); Line 5992  dnet_ntoa ();
5992  }  }
5993  _ACEOF  _ACEOF
5994  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
5995  if { (eval echo "$as_me:5987: \"$ac_link\"") >&5  if { (eval echo "$as_me:5995: \"$ac_link\"") >&5
5996    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
5997    ac_status=$?    ac_status=$?
5998    echo "$as_me:5990: \$? = $ac_status" >&5    echo "$as_me:5998: \$? = $ac_status" >&5
5999    (exit $ac_status); } &&    (exit $ac_status); } &&
6000           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6001    { (eval echo "$as_me:5993: \"$ac_try\"") >&5    { (eval echo "$as_me:6001: \"$ac_try\"") >&5
6002    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6003    ac_status=$?    ac_status=$?
6004    echo "$as_me:5996: \$? = $ac_status" >&5    echo "$as_me:6004: \$? = $ac_status" >&5
6005    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6006    ac_cv_lib_dnet_dnet_ntoa=yes    ac_cv_lib_dnet_dnet_ntoa=yes
6007  else  else
# Line 6004  fi Line 6012  fi
6012  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6013  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
6014  fi  fi
6015  echo "$as_me:6007: result: $ac_cv_lib_dnet_dnet_ntoa" >&5  echo "$as_me:6015: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
6016  echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6  echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
6017  if test $ac_cv_lib_dnet_dnet_ntoa = yes; then  if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
6018    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 6015  EOF Line 6023  EOF
6023    
6024  fi  fi
6025    
6026  echo "$as_me:6018: checking for main in -lXbsd" >&5  echo "$as_me:6026: checking for main in -lXbsd" >&5
6027  echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6  echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6
6028  if test "${ac_cv_lib_Xbsd_main+set}" = set; then  if test "${ac_cv_lib_Xbsd_main+set}" = set; then
6029    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6023  else Line 6031  else
6031    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
6032  LIBS="-lXbsd  $LIBS"  LIBS="-lXbsd  $LIBS"
6033  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
6034  #line 6026 "configure"  #line 6034 "configure"
6035  #include "confdefs.h"  #include "confdefs.h"
6036    
6037  int  int
# Line 6035  main (); Line 6043  main ();
6043  }  }
6044  _ACEOF  _ACEOF
6045  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6046  if { (eval echo "$as_me:6038: \"$ac_link\"") >&5  if { (eval echo "$as_me:6046: \"$ac_link\"") >&5
6047    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6048    ac_status=$?    ac_status=$?
6049    echo "$as_me:6041: \$? = $ac_status" >&5    echo "$as_me:6049: \$? = $ac_status" >&5
6050    (exit $ac_status); } &&    (exit $ac_status); } &&
6051           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6052    { (eval echo "$as_me:6044: \"$ac_try\"") >&5    { (eval echo "$as_me:6052: \"$ac_try\"") >&5
6053    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6054    ac_status=$?    ac_status=$?
6055    echo "$as_me:6047: \$? = $ac_status" >&5    echo "$as_me:6055: \$? = $ac_status" >&5
6056    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6057    ac_cv_lib_Xbsd_main=yes    ac_cv_lib_Xbsd_main=yes
6058  else  else
# Line 6055  fi Line 6063  fi
6063  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6064  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
6065  fi  fi
6066  echo "$as_me:6058: result: $ac_cv_lib_Xbsd_main" >&5  echo "$as_me:6066: result: $ac_cv_lib_Xbsd_main" >&5
6067  echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6  echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6
6068  if test $ac_cv_lib_Xbsd_main = yes; then  if test $ac_cv_lib_Xbsd_main = yes; then
6069    LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd"    LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd"
6070  fi  fi
6071    
6072  echo "$as_me:6064: checking for cma_open in -lpthreads" >&5  echo "$as_me:6072: checking for cma_open in -lpthreads" >&5
6073  echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6  echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6
6074  if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then  if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then
6075    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6069  else Line 6077  else
6077    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
6078  LIBS="-lpthreads  $LIBS"  LIBS="-lpthreads  $LIBS"
6079  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
6080  #line 6072 "configure"  #line 6080 "configure"
6081  #include "confdefs.h"  #include "confdefs.h"
6082    
6083  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 6088  cma_open (); Line 6096  cma_open ();
6096  }  }
6097  _ACEOF  _ACEOF
6098  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6099  if { (eval echo "$as_me:6091: \"$ac_link\"") >&5  if { (eval echo "$as_me:6099: \"$ac_link\"") >&5
6100    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6101    ac_status=$?    ac_status=$?
6102    echo "$as_me:6094: \$? = $ac_status" >&5    echo "$as_me:6102: \$? = $ac_status" >&5
6103    (exit $ac_status); } &&    (exit $ac_status); } &&
6104           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6105    { (eval echo "$as_me:6097: \"$ac_try\"") >&5    { (eval echo "$as_me:6105: \"$ac_try\"") >&5
6106    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6107    ac_status=$?    ac_status=$?
6108    echo "$as_me:6100: \$? = $ac_status" >&5    echo "$as_me:6108: \$? = $ac_status" >&5
6109    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6110    ac_cv_lib_pthreads_cma_open=yes    ac_cv_lib_pthreads_cma_open=yes
6111  else  else
# Line 6108  fi Line 6116  fi
6116  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6117  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
6118  fi  fi
6119  echo "$as_me:6111: result: $ac_cv_lib_pthreads_cma_open" >&5  echo "$as_me:6119: result: $ac_cv_lib_pthreads_cma_open" >&5
6120  echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6  echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6
6121  if test $ac_cv_lib_pthreads_cma_open = yes; then  if test $ac_cv_lib_pthreads_cma_open = yes; then
6122    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 6119  EOF Line 6127  EOF
6127    
6128  fi  fi
6129    
6130  echo "$as_me:6122: checking for XFree86 in /usr/X386" >&5  echo "$as_me:6130: checking for XFree86 in /usr/X386" >&5
6131  echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6  echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6
6132  if test -d /usr/X386/include; then  if test -d /usr/X386/include; then
6133    HAVE_XFREE386=yes    HAVE_XFREE386=yes
# Line 6127  if test -d /usr/X386/include; then Line 6135  if test -d /usr/X386/include; then
6135  else  else
6136    HAVE_XFREE386=no    HAVE_XFREE386=no
6137  fi  fi
6138  echo "$as_me:6130: result: $HAVE_XFREE386" >&5  echo "$as_me:6138: result: $HAVE_XFREE386" >&5
6139  echo "${ECHO_T}$HAVE_XFREE386" >&6  echo "${ECHO_T}$HAVE_XFREE386" >&6
6140    
6141  # Change CFLAGS temporarily so that C_SWITCH_X_SITE gets used  # Change CFLAGS temporarily so that C_SWITCH_X_SITE gets used
# Line 6152  if test "${HAVE_X11}" = "yes"; then Line 6160  if test "${HAVE_X11}" = "yes"; then
6160    fi    fi
6161    
6162    if test "${opsys}" = "gnu-linux"; then    if test "${opsys}" = "gnu-linux"; then
6163      echo "$as_me:6155: checking whether X on GNU/Linux needs -b to link" >&5      echo "$as_me:6163: checking whether X on GNU/Linux needs -b to link" >&5
6164  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
6165      cat >conftest.$ac_ext <<_ACEOF      cat >conftest.$ac_ext <<_ACEOF
6166  #line 6158 "configure"  #line 6166 "configure"
6167  #include "confdefs.h"  #include "confdefs.h"
6168    
6169  int  int
# Line 6167  XOpenDisplay ("foo"); Line 6175  XOpenDisplay ("foo");
6175  }  }
6176  _ACEOF  _ACEOF
6177  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6178  if { (eval echo "$as_me:6170: \"$ac_link\"") >&5  if { (eval echo "$as_me:6178: \"$ac_link\"") >&5
6179    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6180    ac_status=$?    ac_status=$?
6181    echo "$as_me:6173: \$? = $ac_status" >&5    echo "$as_me:6181: \$? = $ac_status" >&5
6182    (exit $ac_status); } &&    (exit $ac_status); } &&
6183           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6184    { (eval echo "$as_me:6176: \"$ac_try\"") >&5    { (eval echo "$as_me:6184: \"$ac_try\"") >&5
6185    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6186    ac_status=$?    ac_status=$?
6187    echo "$as_me:6179: \$? = $ac_status" >&5    echo "$as_me:6187: \$? = $ac_status" >&5
6188    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6189    xlinux_first_failure=no    xlinux_first_failure=no
6190  else  else
# Line 6195  rm -f conftest.$ac_objext conftest$ac_ex Line 6203  rm -f conftest.$ac_objext conftest$ac_ex
6203        CPPFLAGS="$CPPFLAGS -b i486-linuxaout"        CPPFLAGS="$CPPFLAGS -b i486-linuxaout"
6204        LIBS="$LIBS -b i486-linuxaout"        LIBS="$LIBS -b i486-linuxaout"
6205        cat >conftest.$ac_ext <<_ACEOF        cat >conftest.$ac_ext <<_ACEOF
6206  #line 6198 "configure"  #line 6206 "configure"
6207  #include "confdefs.h"  #include "confdefs.h"
6208    
6209  int  int
# Line 6207  XOpenDisplay ("foo"); Line 6215  XOpenDisplay ("foo");
6215  }  }
6216  _ACEOF  _ACEOF
6217  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6218  if { (eval echo "$as_me:6210: \"$ac_link\"") >&5  if { (eval echo "$as_me:6218: \"$ac_link\"") >&5
6219    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6220    ac_status=$?    ac_status=$?
6221    echo "$as_me:6213: \$? = $ac_status" >&5    echo "$as_me:6221: \$? = $ac_status" >&5
6222    (exit $ac_status); } &&    (exit $ac_status); } &&
6223           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6224    { (eval echo "$as_me:6216: \"$ac_try\"") >&5    { (eval echo "$as_me:6224: \"$ac_try\"") >&5
6225    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6226    ac_status=$?    ac_status=$?
6227    echo "$as_me:6219: \$? = $ac_status" >&5    echo "$as_me:6227: \$? = $ac_status" >&5
6228    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6229    xlinux_second_failure=no    xlinux_second_failure=no
6230  else  else
# Line 6232  rm -f conftest.$ac_objext conftest$ac_ex Line 6240  rm -f conftest.$ac_objext conftest$ac_ex
6240          C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE"          C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE"
6241          CPPFLAGS="$OLD_CPPFLAGS"          CPPFLAGS="$OLD_CPPFLAGS"
6242          LIBS="$OLD_LIBS"          LIBS="$OLD_LIBS"
6243          echo "$as_me:6235: result: no" >&5          echo "$as_me:6243: result: no" >&5
6244  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
6245        else        else
6246          echo "$as_me:6238: result: yes" >&5          echo "$as_me:6246: result: yes" >&5
6247  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
6248        fi        fi
6249      else      else
6250        echo "$as_me:6242: result: no" >&5        echo "$as_me:6250: result: no" >&5
6251  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
6252      fi      fi
6253    fi    fi
6254    
6255    # Reportedly, some broken Solaris systems have XKBlib.h but are missing    # Reportedly, some broken Solaris systems have XKBlib.h but are missing
6256    # header files included from there.    # header files included from there.
6257    echo "$as_me:6249: checking for Xkb" >&5    echo "$as_me:6257: checking for Xkb" >&5
6258  echo $ECHO_N "checking for Xkb... $ECHO_C" >&6  echo $ECHO_N "checking for Xkb... $ECHO_C" >&6
6259    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6260  #line 6252 "configure"  #line 6260 "configure"
6261  #include "confdefs.h"  #include "confdefs.h"
6262  #include <X11/Xlib.h>  #include <X11/Xlib.h>
6263  #include <X11/XKBlib.h>  #include <X11/XKBlib.h>
# Line 6262  XkbDescPtr kb = XkbGetKeyboard (0, XkbAl Line 6270  XkbDescPtr kb = XkbGetKeyboard (0, XkbAl
6270  }  }
6271  _ACEOF  _ACEOF
6272  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6273  if { (eval echo "$as_me:6265: \"$ac_link\"") >&5  if { (eval echo "$as_me:6273: \"$ac_link\"") >&5
6274    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6275    ac_status=$?    ac_status=$?
6276    echo "$as_me:6268: \$? = $ac_status" >&5    echo "$as_me:6276: \$? = $ac_status" >&5
6277    (exit $ac_status); } &&    (exit $ac_status); } &&
6278           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6279    { (eval echo "$as_me:6271: \"$ac_try\"") >&5    { (eval echo "$as_me:6279: \"$ac_try\"") >&5
6280    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6281    ac_status=$?    ac_status=$?
6282    echo "$as_me:6274: \$? = $ac_status" >&5    echo "$as_me:6282: \$? = $ac_status" >&5
6283    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6284    emacs_xkb=yes    emacs_xkb=yes
6285  else  else
# Line 6280  cat conftest.$ac_ext >&5 Line 6288  cat conftest.$ac_ext >&5
6288  emacs_xkb=no  emacs_xkb=no
6289  fi  fi
6290  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6291    echo "$as_me:6283: result: $emacs_xkb" >&5    echo "$as_me:6291: result: $emacs_xkb" >&5
6292  echo "${ECHO_T}$emacs_xkb" >&6  echo "${ECHO_T}$emacs_xkb" >&6
6293    if test $emacs_xkb = yes; then    if test $emacs_xkb = yes; then
6294      cat >>confdefs.h <<\EOF      cat >>confdefs.h <<\EOF
# Line 6293  for ac_func in XrmSetDatabase XScreenRes Line 6301  for ac_func in XrmSetDatabase XScreenRes
6301  XScreenNumberOfScreen XSetWMProtocols  XScreenNumberOfScreen XSetWMProtocols
6302  do  do
6303  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6304  echo "$as_me:6296: checking for $ac_func" >&5  echo "$as_me:6304: checking for $ac_func" >&5
6305  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6306  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
6307    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6308  else  else
6309    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6310  #line 6302 "configure"  #line 6310 "configure"
6311  #include "confdefs.h"  #include "confdefs.h"
6312  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6313      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 6330  f = $ac_func; Line 6338  f = $ac_func;
6338  }  }
6339  _ACEOF  _ACEOF
6340  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6341  if { (eval echo "$as_me:6333: \"$ac_link\"") >&5  if { (eval echo "$as_me:6341: \"$ac_link\"") >&5
6342    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6343    ac_status=$?    ac_status=$?
6344    echo "$as_me:6336: \$? = $ac_status" >&5    echo "$as_me:6344: \$? = $ac_status" >&5
6345    (exit $ac_status); } &&    (exit $ac_status); } &&
6346           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6347    { (eval echo "$as_me:6339: \"$ac_try\"") >&5    { (eval echo "$as_me:6347: \"$ac_try\"") >&5
6348    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6349    ac_status=$?    ac_status=$?
6350    echo "$as_me:6342: \$? = $ac_status" >&5    echo "$as_me:6350: \$? = $ac_status" >&5
6351    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6352    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
6353  else  else
# Line 6349  eval "$as_ac_var=no" Line 6357  eval "$as_ac_var=no"
6357  fi  fi
6358  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6359  fi  fi
6360  echo "$as_me:6352: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:6360: result: `eval echo '${'$as_ac_var'}'`" >&5
6361  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6362  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
6363    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 6362  done Line 6370  done
6370  fi  fi
6371    
6372  if test "${window_system}" = "x11"; then  if test "${window_system}" = "x11"; then
6373    echo "$as_me:6365: checking X11 version 6" >&5    echo "$as_me:6373: checking X11 version 6" >&5
6374  echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6  echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6
6375    if test "${emacs_cv_x11_version_6+set}" = set; then    if test "${emacs_cv_x11_version_6+set}" = set; then
6376    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6377  else  else
6378    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6379  #line 6371 "configure"  #line 6379 "configure"
6380  #include "confdefs.h"  #include "confdefs.h"
6381  #include <X11/Xlib.h>  #include <X11/Xlib.h>
6382  int  int
# Line 6383  fail; Line 6391  fail;
6391  }  }
6392  _ACEOF  _ACEOF
6393  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6394  if { (eval echo "$as_me:6386: \"$ac_link\"") >&5  if { (eval echo "$as_me:6394: \"$ac_link\"") >&5
6395    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6396    ac_status=$?    ac_status=$?
6397    echo "$as_me:6389: \$? = $ac_status" >&5    echo "$as_me:6397: \$? = $ac_status" >&5
6398    (exit $ac_status); } &&    (exit $ac_status); } &&
6399           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6400    { (eval echo "$as_me:6392: \"$ac_try\"") >&5    { (eval echo "$as_me:6400: \"$ac_try\"") >&5
6401    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6402    ac_status=$?    ac_status=$?
6403    echo "$as_me:6395: \$? = $ac_status" >&5    echo "$as_me:6403: \$? = $ac_status" >&5
6404    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6405    emacs_cv_x11_version_6=yes    emacs_cv_x11_version_6=yes
6406  else  else
# Line 6404  rm -f conftest.$ac_objext conftest$ac_ex Line 6412  rm -f conftest.$ac_objext conftest$ac_ex
6412  fi  fi
6413    
6414    if test $emacs_cv_x11_version_6 = yes; then    if test $emacs_cv_x11_version_6 = yes; then
6415      echo "$as_me:6407: result: 6 or newer" >&5      echo "$as_me:6415: result: 6 or newer" >&5
6416  echo "${ECHO_T}6 or newer" >&6  echo "${ECHO_T}6 or newer" >&6
6417      cat >>confdefs.h <<\EOF      cat >>confdefs.h <<\EOF
6418  #define HAVE_X11R6 1  #define HAVE_X11R6 1
6419  EOF  EOF
6420    
6421    else    else
6422      echo "$as_me:6414: result: before 6" >&5      echo "$as_me:6422: result: before 6" >&5
6423  echo "${ECHO_T}before 6" >&6  echo "${ECHO_T}before 6" >&6
6424    fi    fi
6425  fi  fi
6426    
6427  if test "${window_system}" = "x11"; then  if test "${window_system}" = "x11"; then
6428    echo "$as_me:6420: checking X11 version 5" >&5    echo "$as_me:6428: checking X11 version 5" >&5
6429  echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6  echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6
6430    if test "${emacs_cv_x11_version_5+set}" = set; then    if test "${emacs_cv_x11_version_5+set}" = set; then
6431    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6432  else  else
6433    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6434  #line 6426 "configure"  #line 6434 "configure"
6435  #include "confdefs.h"  #include "confdefs.h"
6436  #include <X11/Xlib.h>  #include <X11/Xlib.h>
6437  int  int
# Line 6438  fail; Line 6446  fail;
6446  }  }
6447  _ACEOF  _ACEOF
6448  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6449  if { (eval echo "$as_me:6441: \"$ac_link\"") >&5  if { (eval echo "$as_me:6449: \"$ac_link\"") >&5
6450    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6451    ac_status=$?    ac_status=$?
6452    echo "$as_me:6444: \$? = $ac_status" >&5    echo "$as_me:6452: \$? = $ac_status" >&5
6453    (exit $ac_status); } &&    (exit $ac_status); } &&
6454           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6455    { (eval echo "$as_me:6447: \"$ac_try\"") >&5    { (eval echo "$as_me:6455: \"$ac_try\"") >&5
6456    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6457    ac_status=$?    ac_status=$?
6458    echo "$as_me:6450: \$? = $ac_status" >&5    echo "$as_me:6458: \$? = $ac_status" >&5
6459    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6460    emacs_cv_x11_version_5=yes    emacs_cv_x11_version_5=yes
6461  else  else
# Line 6459  rm -f conftest.$ac_objext conftest$ac_ex Line 6467  rm -f conftest.$ac_objext conftest$ac_ex
6467  fi  fi
6468    
6469    if test $emacs_cv_x11_version_5 = yes; then    if test $emacs_cv_x11_version_5 = yes; then
6470      echo "$as_me:6462: result: 5 or newer" >&5      echo "$as_me:6470: result: 5 or newer" >&5
6471  echo "${ECHO_T}5 or newer" >&6  echo "${ECHO_T}5 or newer" >&6
6472      HAVE_X11R5=yes      HAVE_X11R5=yes
6473      cat >>confdefs.h <<\EOF      cat >>confdefs.h <<\EOF
# Line 6468  EOF Line 6476  EOF
6476    
6477    else    else
6478      HAVE_X11R5=no      HAVE_X11R5=no
6479      echo "$as_me:6471: result: before 5" >&5      echo "$as_me:6479: result: before 5" >&5
6480  echo "${ECHO_T}before 5" >&6  echo "${ECHO_T}before 5" >&6
6481    fi    fi
6482  fi  fi
6483    
6484  if test x"${USE_X_TOOLKIT}" = xmaybe; then  if test x"${USE_X_TOOLKIT}" = xmaybe; then
6485    if test x"${HAVE_X11R5}" = xyes; then    if test x"${HAVE_X11R5}" = xyes; then
6486      echo "$as_me:6478: checking X11 version 5 with Xaw" >&5      echo "$as_me:6486: checking X11 version 5 with Xaw" >&5
6487  echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6  echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6
6488      if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then      if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then
6489    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6490  else  else
6491    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6492  #line 6484 "configure"  #line 6492 "configure"
6493  #include "confdefs.h"  #include "confdefs.h"
6494    
6495  #include <X11/Intrinsic.h>  #include <X11/Intrinsic.h>
# Line 6495  main () Line 6503  main ()
6503  }  }
6504  _ACEOF  _ACEOF
6505  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6506  if { (eval echo "$as_me:6498: \"$ac_link\"") >&5  if { (eval echo "$as_me:6506: \"$ac_link\"") >&5
6507    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6508    ac_status=$?    ac_status=$?
6509    echo "$as_me:6501: \$? = $ac_status" >&5    echo "$as_me:6509: \$? = $ac_status" >&5
6510    (exit $ac_status); } &&    (exit $ac_status); } &&
6511           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6512    { (eval echo "$as_me:6504: \"$ac_try\"") >&5    { (eval echo "$as_me:6512: \"$ac_try\"") >&5
6513    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6514    ac_status=$?    ac_status=$?
6515    echo "$as_me:6507: \$? = $ac_status" >&5    echo "$as_me:6515: \$? = $ac_status" >&5
6516    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6517    emacs_cv_x11_version_5_with_xaw=yes    emacs_cv_x11_version_5_with_xaw=yes
6518  else  else
# Line 6516  rm -f conftest.$ac_objext conftest$ac_ex Line 6524  rm -f conftest.$ac_objext conftest$ac_ex
6524  fi  fi
6525    
6526      if test $emacs_cv_x11_version_5_with_xaw = yes; then      if test $emacs_cv_x11_version_5_with_xaw = yes; then
6527        echo "$as_me:6519: result: 5 or newer, with Xaw; use toolkit by default" >&5        echo "$as_me:6527: result: 5 or newer, with Xaw; use toolkit by default" >&5
6528  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
6529        USE_X_TOOLKIT=LUCID        USE_X_TOOLKIT=LUCID
6530      else      else
6531        echo "$as_me:6523: result: before 5 or no Xaw; do not use toolkit by default" >&5        echo "$as_me:6531: result: before 5 or no Xaw; do not use toolkit by default" >&5
6532  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
6533        USE_X_TOOLKIT=none        USE_X_TOOLKIT=none
6534      fi      fi
# Line 6532  fi Line 6540  fi
6540  X_TOOLKIT_TYPE=$USE_X_TOOLKIT  X_TOOLKIT_TYPE=$USE_X_TOOLKIT
6541    
6542  if test "${USE_X_TOOLKIT}" != "none"; then  if test "${USE_X_TOOLKIT}" != "none"; then
6543    echo "$as_me:6535: checking X11 toolkit version" >&5    echo "$as_me:6543: checking X11 toolkit version" >&5
6544  echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6  echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6
6545    if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then    if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then
6546    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6547  else  else
6548    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6549  #line 6541 "configure"  #line 6549 "configure"
6550  #include "confdefs.h"  #include "confdefs.h"
6551  #include <X11/Intrinsic.h>  #include <X11/Intrinsic.h>
6552  int  int
# Line 6553  fail; Line 6561  fail;
6561  }  }
6562  _ACEOF  _ACEOF
6563  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6564  if { (eval echo "$as_me:6556: \"$ac_link\"") >&5  if { (eval echo "$as_me:6564: \"$ac_link\"") >&5
6565    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6566    ac_status=$?    ac_status=$?
6567    echo "$as_me:6559: \$? = $ac_status" >&5    echo "$as_me:6567: \$? = $ac_status" >&5
6568    (exit $ac_status); } &&    (exit $ac_status); } &&
6569           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6570    { (eval echo "$as_me:6562: \"$ac_try\"") >&5    { (eval echo "$as_me:6570: \"$ac_try\"") >&5
6571    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6572    ac_status=$?    ac_status=$?
6573    echo "$as_me:6565: \$? = $ac_status" >&5    echo "$as_me:6573: \$? = $ac_status" >&5
6574    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6575    emacs_cv_x11_toolkit_version_6=yes    emacs_cv_x11_toolkit_version_6=yes
6576  else  else
# Line 6575  fi Line 6583  fi
6583    
6584    HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6    HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6
6585    if test $emacs_cv_x11_toolkit_version_6 = yes; then    if test $emacs_cv_x11_toolkit_version_6 = yes; then
6586      echo "$as_me:6578: result: 6 or newer" >&5      echo "$as_me:6586: result: 6 or newer" >&5
6587  echo "${ECHO_T}6 or newer" >&6  echo "${ECHO_T}6 or newer" >&6
6588      cat >>confdefs.h <<\EOF      cat >>confdefs.h <<\EOF
6589  #define HAVE_X11XTR6 1  #define HAVE_X11XTR6 1
6590  EOF  EOF
6591    
6592    else    else
6593      echo "$as_me:6585: result: before 6" >&5      echo "$as_me:6593: result: before 6" >&5
6594  echo "${ECHO_T}before 6" >&6  echo "${ECHO_T}before 6" >&6
6595    fi    fi
6596    
# Line 6593  echo "${ECHO_T}before 6" >&6 Line 6601  echo "${ECHO_T}before 6" >&6
6601      LIBS="-lXt $LIBS"      LIBS="-lXt $LIBS"
6602    fi    fi
6603    
6604  echo "$as_me:6596: checking for XmuConvertStandardSelection in -lXmu" >&5  echo "$as_me:6604: checking for XmuConvertStandardSelection in -lXmu" >&5
6605  echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6  echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6
6606  if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then  if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then
6607    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6601  else Line 6609  else
6609    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
6610  LIBS="-lXmu  $LIBS"  LIBS="-lXmu  $LIBS"
6611  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
6612  #line 6604 "configure"  #line 6612 "configure"
6613  #include "confdefs.h"  #include "confdefs.h"
6614    
6615  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 6620  XmuConvertStandardSelection (); Line 6628  XmuConvertStandardSelection ();
6628  }  }
6629  _ACEOF  _ACEOF
6630  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6631  if { (eval echo "$as_me:6623: \"$ac_link\"") >&5  if { (eval echo "$as_me:6631: \"$ac_link\"") >&5
6632    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6633    ac_status=$?    ac_status=$?
6634    echo "$as_me:6626: \$? = $ac_status" >&5    echo "$as_me:6634: \$? = $ac_status" >&5
6635    (exit $ac_status); } &&    (exit $ac_status); } &&
6636           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6637    { (eval echo "$as_me:6629: \"$ac_try\"") >&5    { (eval echo "$as_me:6637: \"$ac_try\"") >&5
6638    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6639    ac_status=$?    ac_status=$?
6640    echo "$as_me:6632: \$? = $ac_status" >&5    echo "$as_me:6640: \$? = $ac_status" >&5
6641    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6642    ac_cv_lib_Xmu_XmuConvertStandardSelection=yes    ac_cv_lib_Xmu_XmuConvertStandardSelection=yes
6643  else  else
# Line 6640  fi Line 6648  fi
6648  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6649  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
6650  fi  fi
6651  echo "$as_me:6643: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5  echo "$as_me:6651: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5
6652  echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6  echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6
6653  if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then  if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then
6654    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 6658  fi Line 6666  fi
6666  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
6667    if test "${USE_X_TOOLKIT}" != "none"; then    if test "${USE_X_TOOLKIT}" != "none"; then
6668    
6669  echo "$as_me:6661: checking for XShapeQueryExtension in -lXext" >&5  echo "$as_me:6669: checking for XShapeQueryExtension in -lXext" >&5
6670  echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6  echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
6671  if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then  if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
6672    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6666  else Line 6674  else
6674    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
6675  LIBS="-lXext  $LIBS"  LIBS="-lXext  $LIBS"
6676  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
6677  #line 6669 "configure"  #line 6677 "configure"
6678  #include "confdefs.h"  #include "confdefs.h"
6679    
6680  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 6685  XShapeQueryExtension (); Line 6693  XShapeQueryExtension ();
6693  }  }
6694  _ACEOF  _ACEOF
6695  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6696  if { (eval echo "$as_me:6688: \"$ac_link\"") >&5  if { (eval echo "$as_me:6696: \"$ac_link\"") >&5
6697    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6698    ac_status=$?    ac_status=$?
6699    echo "$as_me:6691: \$? = $ac_status" >&5    echo "$as_me:6699: \$? = $ac_status" >&5
6700    (exit $ac_status); } &&    (exit $ac_status); } &&
6701           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6702    { (eval echo "$as_me:6694: \"$ac_try\"") >&5    { (eval echo "$as_me:6702: \"$ac_try\"") >&5
6703    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6704    ac_status=$?    ac_status=$?
6705    echo "$as_me:6697: \$? = $ac_status" >&5    echo "$as_me:6705: \$? = $ac_status" >&5
6706    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6707    ac_cv_lib_Xext_XShapeQueryExtension=yes    ac_cv_lib_Xext_XShapeQueryExtension=yes
6708  else  else
# Line 6705  fi Line 6713  fi
6713  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6714  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
6715  fi  fi
6716  echo "$as_me:6708: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5  echo "$as_me:6716: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
6717  echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6  echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
6718  if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then  if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
6719    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 6720  fi Line 6728  fi
6728  fi  fi
6729    
6730  if test "${USE_X_TOOLKIT}" = "MOTIF"; then  if test "${USE_X_TOOLKIT}" = "MOTIF"; then
6731    echo "$as_me:6723: checking for Motif version 2.1" >&5    echo "$as_me:6731: checking for Motif version 2.1" >&5
6732  echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6  echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6
6733  if test "${emacs_cv_motif_version_2_1+set}" = set; then  if test "${emacs_cv_motif_version_2_1+set}" = set; then
6734    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6735  else  else
6736    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6737  #line 6729 "configure"  #line 6737 "configure"
6738  #include "confdefs.h"  #include "confdefs.h"
6739  #include <Xm/Xm.h>  #include <Xm/Xm.h>
6740  int  int
# Line 6742  Motif version prior to 2.1. Line 6750  Motif version prior to 2.1.
6750  }  }
6751  _ACEOF  _ACEOF
6752  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
6753  if { (eval echo "$as_me:6745: \"$ac_compile\"") >&5  if { (eval echo "$as_me:6753: \"$ac_compile\"") >&5
6754    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
6755    ac_status=$?    ac_status=$?
6756    echo "$as_me:6748: \$? = $ac_status" >&5    echo "$as_me:6756: \$? = $ac_status" >&5
6757    (exit $ac_status); } &&    (exit $ac_status); } &&
6758           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
6759    { (eval echo "$as_me:6751: \"$ac_try\"") >&5    { (eval echo "$as_me:6759: \"$ac_try\"") >&5
6760    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6761    ac_status=$?    ac_status=$?
6762    echo "$as_me:6754: \$? = $ac_status" >&5    echo "$as_me:6762: \$? = $ac_status" >&5
6763    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6764    emacs_cv_motif_version_2_1=yes    emacs_cv_motif_version_2_1=yes
6765  else  else
# Line 6761  emacs_cv_motif_version_2_1=no Line 6769  emacs_cv_motif_version_2_1=no
6769  fi  fi
6770  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
6771  fi  fi
6772  echo "$as_me:6764: result: $emacs_cv_motif_version_2_1" >&5  echo "$as_me:6772: result: $emacs_cv_motif_version_2_1" >&5
6773  echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6  echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6
6774    HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1    HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1
6775    if test $emacs_cv_motif_version_2_1 = yes; then    if test $emacs_cv_motif_version_2_1 = yes; then
# Line 6770  echo "${ECHO_T}$emacs_cv_motif_version_2 Line 6778  echo "${ECHO_T}$emacs_cv_motif_version_2
6778  #define HAVE_MOTIF_2_1 1  #define HAVE_MOTIF_2_1 1
6779  EOF  EOF
6780    
6781      echo "$as_me:6773: checking for XpCreateContext in -lXp" >&5      echo "$as_me:6781: checking for XpCreateContext in -lXp" >&5
6782  echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6  echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6
6783  if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then  if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then
6784    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6778  else Line 6786  else
6786    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
6787  LIBS="-lXp  $LIBS"  LIBS="-lXp  $LIBS"
6788  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
6789  #line 6781 "configure"  #line 6789 "configure"
6790  #include "confdefs.h"  #include "confdefs.h"
6791    
6792  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 6797  XpCreateContext (); Line 6805  XpCreateContext ();
6805  }  }
6806  _ACEOF  _ACEOF
6807  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6808  if { (eval echo "$as_me:6800: \"$ac_link\"") >&5  if { (eval echo "$as_me:6808: \"$ac_link\"") >&5
6809    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6810    ac_status=$?    ac_status=$?
6811    echo "$as_me:6803: \$? = $ac_status" >&5    echo "$as_me:6811: \$? = $ac_status" >&5
6812    (exit $ac_status); } &&    (exit $ac_status); } &&
6813           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6814    { (eval echo "$as_me:6806: \"$ac_try\"") >&5    { (eval echo "$as_me:6814: \"$ac_try\"") >&5
6815    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6816    ac_status=$?    ac_status=$?
6817    echo "$as_me:6809: \$? = $ac_status" >&5    echo "$as_me:6817: \$? = $ac_status" >&5
6818    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6819    ac_cv_lib_Xp_XpCreateContext=yes    ac_cv_lib_Xp_XpCreateContext=yes
6820  else  else
# Line 6817  fi Line 6825  fi
6825  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6826  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
6827  fi  fi
6828  echo "$as_me:6820: result: $ac_cv_lib_Xp_XpCreateContext" >&5  echo "$as_me:6828: result: $ac_cv_lib_Xp_XpCreateContext" >&5
6829  echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6  echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6
6830  if test $ac_cv_lib_Xp_XpCreateContext = yes; then  if test $ac_cv_lib_Xp_XpCreateContext = yes; then
6831    HAVE_LIBXP=yes    HAVE_LIBXP=yes
# Line 6836  fi Line 6844  fi
6844  HAVE_XAW3D=no  HAVE_XAW3D=no
6845  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
6846    if test "${USE_X_TOOLKIT}" != "none"; then    if test "${USE_X_TOOLKIT}" != "none"; then
6847      echo "$as_me:6839: checking for X11/Xaw3d/Scrollbar.h" >&5      echo "$as_me:6847: checking for X11/Xaw3d/Scrollbar.h" >&5
6848  echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6  echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6
6849  if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then  if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then
6850    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6851  else  else
6852    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6853  #line 6845 "configure"  #line 6853 "configure"
6854  #include "confdefs.h"  #include "confdefs.h"
6855  #include <X11/Xaw3d/Scrollbar.h>  #include <X11/Xaw3d/Scrollbar.h>
6856  _ACEOF  _ACEOF
6857  if { (eval echo "$as_me:6849: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:6857: \"$ac_cpp conftest.$ac_ext\"") >&5
6858    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6859    ac_status=$?    ac_status=$?
6860    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
6861    rm -f conftest.er1    rm -f conftest.er1
6862    cat conftest.err >&5    cat conftest.err >&5
6863    echo "$as_me:6855: \$? = $ac_status" >&5    echo "$as_me:6863: \$? = $ac_status" >&5
6864    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
6865    if test -s conftest.err; then    if test -s conftest.err; then
6866      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 6871  else Line 6879  else
6879  fi  fi
6880  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
6881  fi  fi
6882  echo "$as_me:6874: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5  echo "$as_me:6882: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5
6883  echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6  echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6
6884  if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then  if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then
6885    echo "$as_me:6877: checking for XawScrollbarSetThumb in -lXaw3d" >&5    echo "$as_me:6885: checking for XawScrollbarSetThumb in -lXaw3d" >&5
6886  echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6  echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6
6887  if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then  if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then
6888    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6882  else Line 6890  else
6890    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
6891  LIBS="-lXaw3d  $LIBS"  LIBS="-lXaw3d  $LIBS"
6892  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
6893  #line 6885 "configure"  #line 6893 "configure"
6894  #include "confdefs.h"  #include "confdefs.h"
6895    
6896  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 6901  XawScrollbarSetThumb (); Line 6909  XawScrollbarSetThumb ();
6909  }  }
6910  _ACEOF  _ACEOF
6911  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6912  if { (eval echo "$as_me:6904: \"$ac_link\"") >&5  if { (eval echo "$as_me:6912: \"$ac_link\"") >&5
6913    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6914    ac_status=$?    ac_status=$?
6915    echo "$as_me:6907: \$? = $ac_status" >&5    echo "$as_me:6915: \$? = $ac_status" >&5
6916    (exit $ac_status); } &&    (exit $ac_status); } &&
6917           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6918    { (eval echo "$as_me:6910: \"$ac_try\"") >&5    { (eval echo "$as_me:6918: \"$ac_try\"") >&5
6919    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6920    ac_status=$?    ac_status=$?
6921    echo "$as_me:6913: \$? = $ac_status" >&5    echo "$as_me:6921: \$? = $ac_status" >&5
6922    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6923    ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes    ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes
6924  else  else
# Line 6921  fi Line 6929  fi
6929  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6930  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
6931  fi  fi
6932  echo "$as_me:6924: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5  echo "$as_me:6932: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5
6933  echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6  echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6
6934  if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then  if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then
6935    HAVE_XAW3D=yes    HAVE_XAW3D=yes
# Line 6969  fi Line 6977  fi
6977  HAVE_XPM=no  HAVE_XPM=no
6978  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
6979    if test "${with_xpm}" != "no"; then    if test "${with_xpm}" != "no"; then
6980      echo "$as_me:6972: checking for X11/xpm.h" >&5      echo "$as_me:6980: checking for X11/xpm.h" >&5
6981  echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6  echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
6982  if test "${ac_cv_header_X11_xpm_h+set}" = set; then  if test "${ac_cv_header_X11_xpm_h+set}" = set; then
6983    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6984  else  else
6985    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6986  #line 6978 "configure"  #line 6986 "configure"
6987  #include "confdefs.h"  #include "confdefs.h"
6988  #include <X11/xpm.h>  #include <X11/xpm.h>
6989  _ACEOF  _ACEOF
6990  if { (eval echo "$as_me:6982: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:6990: \"$ac_cpp conftest.$ac_ext\"") >&5
6991    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6992    ac_status=$?    ac_status=$?
6993    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
6994    rm -f conftest.er1    rm -f conftest.er1
6995    cat conftest.err >&5    cat conftest.err >&5
6996    echo "$as_me:6988: \$? = $ac_status" >&5    echo "$as_me:6996: \$? = $ac_status" >&5
6997    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
6998    if test -s conftest.err; then    if test -s conftest.err; then
6999      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 7004  else Line 7012  else
7012  fi  fi
7013  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
7014  fi  fi
7015  echo "$as_me:7007: result: $ac_cv_header_X11_xpm_h" >&5  echo "$as_me:7015: result: $ac_cv_header_X11_xpm_h" >&5
7016  echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6  echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6
7017  if test $ac_cv_header_X11_xpm_h = yes; then  if test $ac_cv_header_X11_xpm_h = yes; then
7018    echo "$as_me:7010: checking for XpmReadFileToPixmap in -lXpm" >&5    echo "$as_me:7018: checking for XpmReadFileToPixmap in -lXpm" >&5
7019  echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6  echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6
7020  if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then  if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then
7021    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7015  else Line 7023  else
7023    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7024  LIBS="-lXpm -lX11 $LIBS"  LIBS="-lXpm -lX11 $LIBS"
7025  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7026  #line 7018 "configure"  #line 7026 "configure"
7027  #include "confdefs.h"  #include "confdefs.h"
7028    
7029  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 7034  XpmReadFileToPixmap (); Line 7042  XpmReadFileToPixmap ();
7042  }  }
7043  _ACEOF  _ACEOF
7044  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7045  if { (eval echo "$as_me:7037: \"$ac_link\"") >&5  if { (eval echo "$as_me:7045: \"$ac_link\"") >&5
7046    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7047    ac_status=$?    ac_status=$?
7048    echo "$as_me:7040: \$? = $ac_status" >&5    echo "$as_me:7048: \$? = $ac_status" >&5
7049    (exit $ac_status); } &&    (exit $ac_status); } &&
7050           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7051    { (eval echo "$as_me:7043: \"$ac_try\"") >&5    { (eval echo "$as_me:7051: \"$ac_try\"") >&5
7052    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7053    ac_status=$?    ac_status=$?
7054    echo "$as_me:7046: \$? = $ac_status" >&5    echo "$as_me:7054: \$? = $ac_status" >&5
7055    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7056    ac_cv_lib_Xpm_XpmReadFileToPixmap=yes    ac_cv_lib_Xpm_XpmReadFileToPixmap=yes
7057  else  else
# Line 7054  fi Line 7062  fi
7062  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7063  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7064  fi  fi
7065  echo "$as_me:7057: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5  echo "$as_me:7065: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
7066  echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6  echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6
7067  if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then  if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then
7068    HAVE_XPM=yes    HAVE_XPM=yes
# Line 7063  fi Line 7071  fi
7071  fi  fi
7072    
7073      if test "${HAVE_XPM}" = "yes"; then      if test "${HAVE_XPM}" = "yes"; then
7074        echo "$as_me:7066: checking for XpmReturnAllocPixels preprocessor define" >&5        echo "$as_me:7074: checking for XpmReturnAllocPixels preprocessor define" >&5
7075  echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6  echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6
7076        cat >conftest.$ac_ext <<_ACEOF        cat >conftest.$ac_ext <<_ACEOF
7077  #line 7069 "configure"  #line 7077 "configure"
7078  #include "confdefs.h"  #include "confdefs.h"
7079  #include "X11/xpm.h"  #include "X11/xpm.h"
7080  #ifndef XpmReturnAllocPixels  #ifndef XpmReturnAllocPixels
# Line 7083  fi Line 7091  fi
7091  rm -f conftest*  rm -f conftest*
7092    
7093        if test "${HAVE_XPM}" = "yes"; then        if test "${HAVE_XPM}" = "yes"; then
7094          echo "$as_me:7086: result: yes" >&5          echo "$as_me:7094: result: yes" >&5
7095  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
7096        else        else
7097          echo "$as_me:7089: result: no" >&5          echo "$as_me:7097: result: no" >&5
7098  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
7099        fi        fi
7100      fi      fi
# Line 7104  fi Line 7112  fi
7112  HAVE_JPEG=no  HAVE_JPEG=no
7113  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
7114    if test "${with_jpeg}" != "no"; then    if test "${with_jpeg}" != "no"; then
7115              echo "$as_me:7107: checking for jerror.h" >&5              echo "$as_me:7115: checking for jerror.h" >&5
7116  echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6  echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6
7117  if test "${ac_cv_header_jerror_h+set}" = set; then  if test "${ac_cv_header_jerror_h+set}" = set; then
7118    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7119  else  else
7120    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7121  #line 7113 "configure"  #line 7121 "configure"
7122  #include "confdefs.h"  #include "confdefs.h"
7123  #include <jerror.h>  #include <jerror.h>
7124  _ACEOF  _ACEOF
7125  if { (eval echo "$as_me:7117: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:7125: \"$ac_cpp conftest.$ac_ext\"") >&5
7126    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7127    ac_status=$?    ac_status=$?
7128    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
7129    rm -f conftest.er1    rm -f conftest.er1
7130    cat conftest.err >&5    cat conftest.err >&5
7131    echo "$as_me:7123: \$? = $ac_status" >&5    echo "$as_me:7131: \$? = $ac_status" >&5
7132    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
7133    if test -s conftest.err; then    if test -s conftest.err; then
7134      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 7139  else Line 7147  else
7147  fi  fi
7148  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
7149  fi  fi
7150  echo "$as_me:7142: result: $ac_cv_header_jerror_h" >&5  echo "$as_me:7150: result: $ac_cv_header_jerror_h" >&5
7151  echo "${ECHO_T}$ac_cv_header_jerror_h" >&6  echo "${ECHO_T}$ac_cv_header_jerror_h" >&6
7152  if test $ac_cv_header_jerror_h = yes; then  if test $ac_cv_header_jerror_h = yes; then
7153    echo "$as_me:7145: checking for jpeg_destroy_compress in -ljpeg" >&5    echo "$as_me:7153: checking for jpeg_destroy_compress in -ljpeg" >&5
7154  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
7155  if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then  if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then
7156    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7150  else Line 7158  else
7158    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7159  LIBS="-ljpeg  $LIBS"  LIBS="-ljpeg  $LIBS"
7160  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7161  #line 7153 "configure"  #line 7161 "configure"
7162  #include "confdefs.h"  #include "confdefs.h"
7163    
7164  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 7169  jpeg_destroy_compress (); Line 7177  jpeg_destroy_compress ();
7177  }  }
7178  _ACEOF  _ACEOF
7179  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7180  if { (eval echo "$as_me:7172: \"$ac_link\"") >&5  if { (eval echo "$as_me:7180: \"$ac_link\"") >&5
7181    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7182    ac_status=$?    ac_status=$?
7183    echo "$as_me:7175: \$? = $ac_status" >&5    echo "$as_me:7183: \$? = $ac_status" >&5
7184    (exit $ac_status); } &&    (exit $ac_status); } &&
7185           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7186    { (eval echo "$as_me:7178: \"$ac_try\"") >&5    { (eval echo "$as_me:7186: \"$ac_try\"") >&5
7187    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7188    ac_status=$?    ac_status=$?
7189    echo "$as_me:7181: \$? = $ac_status" >&5    echo "$as_me:7189: \$? = $ac_status" >&5
7190    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7191    ac_cv_lib_jpeg_jpeg_destroy_compress=yes    ac_cv_lib_jpeg_jpeg_destroy_compress=yes
7192  else  else
# Line 7189  fi Line 7197  fi
7197  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7198  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7199  fi  fi
7200  echo "$as_me:7192: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5  echo "$as_me:7200: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5
7201  echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6  echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6
7202  if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then  if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then
7203    HAVE_JPEG=yes    HAVE_JPEG=yes
# Line 7211  fi Line 7219  fi
7219  HAVE_PNG=no  HAVE_PNG=no
7220  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
7221    if test "${with_png}" != "no"; then    if test "${with_png}" != "no"; then
7222      echo "$as_me:7214: checking for png.h" >&5      echo "$as_me:7222: checking for png.h" >&5
7223  echo $ECHO_N "checking for png.h... $ECHO_C" >&6  echo $ECHO_N "checking for png.h... $ECHO_C" >&6
7224  if test "${ac_cv_header_png_h+set}" = set; then  if test "${ac_cv_header_png_h+set}" = set; then
7225    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7226  else  else
7227    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7228  #line 7220 "configure"  #line 7228 "configure"
7229  #include "confdefs.h"  #include "confdefs.h"
7230  #include <png.h>  #include <png.h>
7231  _ACEOF  _ACEOF
7232  if { (eval echo "$as_me:7224: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:7232: \"$ac_cpp conftest.$ac_ext\"") >&5
7233    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7234    ac_status=$?    ac_status=$?
7235    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
7236    rm -f conftest.er1    rm -f conftest.er1
7237    cat conftest.err >&5    cat conftest.err >&5
7238    echo "$as_me:7230: \$? = $ac_status" >&5    echo "$as_me:7238: \$? = $ac_status" >&5
7239    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
7240    if test -s conftest.err; then    if test -s conftest.err; then
7241      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 7246  else Line 7254  else
7254  fi  fi
7255  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
7256  fi  fi
7257  echo "$as_me:7249: result: $ac_cv_header_png_h" >&5  echo "$as_me:7257: result: $ac_cv_header_png_h" >&5
7258  echo "${ECHO_T}$ac_cv_header_png_h" >&6  echo "${ECHO_T}$ac_cv_header_png_h" >&6
7259  if test $ac_cv_header_png_h = yes; then  if test $ac_cv_header_png_h = yes; then
7260    echo "$as_me:7252: checking for png_get_channels in -lpng" >&5    echo "$as_me:7260: checking for png_get_channels in -lpng" >&5
7261  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
7262  if test "${ac_cv_lib_png_png_get_channels+set}" = set; then  if test "${ac_cv_lib_png_png_get_channels+set}" = set; then
7263    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7257  else Line 7265  else
7265    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7266  LIBS="-lpng -lz -lm $LIBS"  LIBS="-lpng -lz -lm $LIBS"
7267  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7268  #line 7260 "configure"  #line 7268 "configure"
7269  #include "confdefs.h"  #include "confdefs.h"
7270    
7271  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 7276  png_get_channels (); Line 7284  png_get_channels ();
7284  }  }
7285  _ACEOF  _ACEOF
7286  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7287  if { (eval echo "$as_me:7279: \"$ac_link\"") >&5  if { (eval echo "$as_me:7287: \"$ac_link\"") >&5
7288    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7289    ac_status=$?    ac_status=$?
7290    echo "$as_me:7282: \$? = $ac_status" >&5    echo "$as_me:7290: \$? = $ac_status" >&5
7291    (exit $ac_status); } &&    (exit $ac_status); } &&
7292           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7293    { (eval echo "$as_me:7285: \"$ac_try\"") >&5    { (eval echo "$as_me:7293: \"$ac_try\"") >&5
7294    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7295    ac_status=$?    ac_status=$?
7296    echo "$as_me:7288: \$? = $ac_status" >&5    echo "$as_me:7296: \$? = $ac_status" >&5
7297    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7298    ac_cv_lib_png_png_get_channels=yes    ac_cv_lib_png_png_get_channels=yes
7299  else  else
# Line 7296  fi Line 7304  fi
7304  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7305  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7306  fi  fi
7307  echo "$as_me:7299: result: $ac_cv_lib_png_png_get_channels" >&5  echo "$as_me:7307: result: $ac_cv_lib_png_png_get_channels" >&5
7308  echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6  echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6
7309  if test $ac_cv_lib_png_png_get_channels = yes; then  if test $ac_cv_lib_png_png_get_channels = yes; then
7310    HAVE_PNG=yes    HAVE_PNG=yes
# Line 7318  fi Line 7326  fi
7326  HAVE_TIFF=no  HAVE_TIFF=no
7327  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
7328    if test "${with_tiff}" != "no"; then    if test "${with_tiff}" != "no"; then
7329      echo "$as_me:7321: checking for tiffio.h" >&5      echo "$as_me:7329: checking for tiffio.h" >&5
7330  echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6  echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
7331  if test "${ac_cv_header_tiffio_h+set}" = set; then  if test "${ac_cv_header_tiffio_h+set}" = set; then
7332    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7333  else  else
7334    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7335  #line 7327 "configure"  #line 7335 "configure"
7336  #include "confdefs.h"  #include "confdefs.h"
7337  #include <tiffio.h>  #include <tiffio.h>
7338  _ACEOF  _ACEOF
7339  if { (eval echo "$as_me:7331: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:7339: \"$ac_cpp conftest.$ac_ext\"") >&5
7340    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7341    ac_status=$?    ac_status=$?
7342    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
7343    rm -f conftest.er1    rm -f conftest.er1
7344    cat conftest.err >&5    cat conftest.err >&5
7345    echo "$as_me:7337: \$? = $ac_status" >&5    echo "$as_me:7345: \$? = $ac_status" >&5
7346    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
7347    if test -s conftest.err; then    if test -s conftest.err; then
7348      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 7353  else Line 7361  else
7361  fi  fi
7362  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
7363  fi  fi
7364  echo "$as_me:7356: result: $ac_cv_header_tiffio_h" >&5  echo "$as_me:7364: result: $ac_cv_header_tiffio_h" >&5
7365  echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6  echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
7366  if test $ac_cv_header_tiffio_h = yes; then  if test $ac_cv_header_tiffio_h = yes; then
7367    tifflibs="-lz -lm"    tifflibs="-lz -lm"
7368        # At least one tiff package requires the jpeg library.        # At least one tiff package requires the jpeg library.
7369        if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi        if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
7370        echo "$as_me:7362: checking for TIFFGetVersion in -ltiff" >&5        echo "$as_me:7370: checking for TIFFGetVersion in -ltiff" >&5
7371  echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6  echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6
7372  if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then  if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then
7373    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7367  else Line 7375  else
7375    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7376  LIBS="-ltiff $tifflibs $LIBS"  LIBS="-ltiff $tifflibs $LIBS"
7377  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7378  #line 7370 "configure"  #line 7378 "configure"
7379  #include "confdefs.h"  #include "confdefs.h"
7380    
7381  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 7386  TIFFGetVersion (); Line 7394  TIFFGetVersion ();
7394  }  }
7395  _ACEOF  _ACEOF
7396  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7397  if { (eval echo "$as_me:7389: \"$ac_link\"") >&5  if { (eval echo "$as_me:7397: \"$ac_link\"") >&5
7398    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7399    ac_status=$?    ac_status=$?
7400    echo "$as_me:7392: \$? = $ac_status" >&5    echo "$as_me:7400: \$? = $ac_status" >&5
7401    (exit $ac_status); } &&    (exit $ac_status); } &&
7402           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7403    { (eval echo "$as_me:7395: \"$ac_try\"") >&5    { (eval echo "$as_me:7403: \"$ac_try\"") >&5
7404    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7405    ac_status=$?    ac_status=$?
7406    echo "$as_me:7398: \$? = $ac_status" >&5    echo "$as_me:7406: \$? = $ac_status" >&5
7407    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7408    ac_cv_lib_tiff_TIFFGetVersion=yes    ac_cv_lib_tiff_TIFFGetVersion=yes
7409  else  else
# Line 7406  fi Line 7414  fi
7414  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7415  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7416  fi  fi
7417  echo "$as_me:7409: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5  echo "$as_me:7417: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5
7418  echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6  echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6
7419  if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then  if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then
7420    HAVE_TIFF=yes    HAVE_TIFF=yes
# Line 7428  fi Line 7436  fi
7436  HAVE_GIF=no  HAVE_GIF=no
7437  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
7438    if test "${with_gif}" != "no"; then    if test "${with_gif}" != "no"; then
7439      echo "$as_me:7431: checking for gif_lib.h" >&5      echo "$as_me:7439: checking for gif_lib.h" >&5
7440  echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6  echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6
7441  if test "${ac_cv_header_gif_lib_h+set}" = set; then  if test "${ac_cv_header_gif_lib_h+set}" = set; then
7442    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7443  else  else
7444    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7445  #line 7437 "configure"  #line 7445 "configure"
7446  #include "confdefs.h"  #include "confdefs.h"
7447  #include <gif_lib.h>  #include <gif_lib.h>
7448  _ACEOF  _ACEOF
7449  if { (eval echo "$as_me:7441: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:7449: \"$ac_cpp conftest.$ac_ext\"") >&5
7450    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7451    ac_status=$?    ac_status=$?
7452    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
7453    rm -f conftest.er1    rm -f conftest.er1
7454    cat conftest.err >&5    cat conftest.err >&5
7455    echo "$as_me:7447: \$? = $ac_status" >&5    echo "$as_me:7455: \$? = $ac_status" >&5
7456    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
7457    if test -s conftest.err; then    if test -s conftest.err; then
7458      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 7463  else Line 7471  else
7471  fi  fi
7472  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
7473  fi  fi
7474  echo "$as_me:7466: result: $ac_cv_header_gif_lib_h" >&5  echo "$as_me:7474: result: $ac_cv_header_gif_lib_h" >&5
7475  echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6  echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6
7476  if test $ac_cv_header_gif_lib_h = yes; then  if test $ac_cv_header_gif_lib_h = yes; then
7477    echo "$as_me:7469: checking for DGifOpen in -lungif" >&5    echo "$as_me:7477: checking for DGifOpen in -lungif" >&5
7478  echo $ECHO_N "checking for DGifOpen in -lungif... $ECHO_C" >&6  echo $ECHO_N "checking for DGifOpen in -lungif... $ECHO_C" >&6
7479  if test "${ac_cv_lib_ungif_DGifOpen+set}" = set; then  if test "${ac_cv_lib_ungif_DGifOpen+set}" = set; then
7480    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7474  else Line 7482  else
7482    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7483  LIBS="-lungif  $LIBS"  LIBS="-lungif  $LIBS"
7484  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7485  #line 7477 "configure"  #line 7485 "configure"
7486  #include "confdefs.h"  #include "confdefs.h"
7487    
7488  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 7493  DGifOpen (); Line 7501  DGifOpen ();
7501  }  }
7502  _ACEOF  _ACEOF
7503  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7504  if { (eval echo "$as_me:7496: \"$ac_link\"") >&5  if { (eval echo "$as_me:7504: \"$ac_link\"") >&5
7505    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7506    ac_status=$?    ac_status=$?
7507    echo "$as_me:7499: \$? = $ac_status" >&5    echo "$as_me:7507: \$? = $ac_status" >&5
7508    (exit $ac_status); } &&    (exit $ac_status); } &&
7509           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7510    { (eval echo "$as_me:7502: \"$ac_try\"") >&5    { (eval echo "$as_me:7510: \"$ac_try\"") >&5
7511    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7512    ac_status=$?    ac_status=$?
7513    echo "$as_me:7505: \$? = $ac_status" >&5    echo "$as_me:7513: \$? = $ac_status" >&5
7514    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7515    ac_cv_lib_ungif_DGifOpen=yes    ac_cv_lib_ungif_DGifOpen=yes
7516  else  else
# Line 7513  fi Line 7521  fi
7521  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7522  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7523  fi  fi
7524  echo "$as_me:7516: result: $ac_cv_lib_ungif_DGifOpen" >&5  echo "$as_me:7524: result: $ac_cv_lib_ungif_DGifOpen" >&5
7525  echo "${ECHO_T}$ac_cv_lib_ungif_DGifOpen" >&6  echo "${ECHO_T}$ac_cv_lib_ungif_DGifOpen" >&6
7526  if test $ac_cv_lib_ungif_DGifOpen = yes; then  if test $ac_cv_lib_ungif_DGifOpen = yes; then
7527    HAVE_GIF=yes    HAVE_GIF=yes
# Line 7532  EOF Line 7540  EOF
7540  fi  fi
7541    
7542  # 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.
7543  echo "$as_me:7535: checking whether netdb declares h_errno" >&5  echo "$as_me:7543: checking whether netdb declares h_errno" >&5
7544  echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6  echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6
7545  if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then  if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then
7546    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7547  else  else
7548    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7549  #line 7541 "configure"  #line 7549 "configure"
7550  #include "confdefs.h"  #include "confdefs.h"
7551  #include <netdb.h>  #include <netdb.h>
7552  int  int
# Line 7550  return h_errno; Line 7558  return h_errno;
7558  }  }
7559  _ACEOF  _ACEOF
7560  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7561  if { (eval echo "$as_me:7553: \"$ac_link\"") >&5  if { (eval echo "$as_me:7561: \"$ac_link\"") >&5
7562    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7563    ac_status=$?    ac_status=$?
7564    echo "$as_me:7556: \$? = $ac_status" >&5    echo "$as_me:7564: \$? = $ac_status" >&5
7565    (exit $ac_status); } &&    (exit $ac_status); } &&
7566           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7567    { (eval echo "$as_me:7559: \"$ac_try\"") >&5    { (eval echo "$as_me:7567: \"$ac_try\"") >&5
7568    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7569    ac_status=$?    ac_status=$?
7570    echo "$as_me:7562: \$? = $ac_status" >&5    echo "$as_me:7570: \$? = $ac_status" >&5
7571    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7572    emacs_cv_netdb_declares_h_errno=yes    emacs_cv_netdb_declares_h_errno=yes
7573  else  else
# Line 7569  emacs_cv_netdb_declares_h_errno=no Line 7577  emacs_cv_netdb_declares_h_errno=no
7577  fi  fi
7578  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7579  fi  fi
7580  echo "$as_me:7572: result: $emacs_cv_netdb_declares_h_errno" >&5  echo "$as_me:7580: result: $emacs_cv_netdb_declares_h_errno" >&5
7581  echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6  echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6
7582  if test $emacs_cv_netdb_declares_h_errno = yes; then  if test $emacs_cv_netdb_declares_h_errno = yes; then
7583    cat >>confdefs.h <<\EOF    cat >>confdefs.h <<\EOF
# Line 7580  fi Line 7588  fi
7588    
7589  # 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
7590  # for constant arguments.  Useless!  # for constant arguments.  Useless!
7591  echo "$as_me:7583: checking for working alloca.h" >&5  echo "$as_me:7591: checking for working alloca.h" >&5
7592  echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6  echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
7593  if test "${ac_cv_working_alloca_h+set}" = set; then  if test "${ac_cv_working_alloca_h+set}" = set; then
7594    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7595  else  else
7596    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7597  #line 7589 "configure"  #line 7597 "configure"
7598  #include "confdefs.h"  #include "confdefs.h"
7599  #include <alloca.h>  #include <alloca.h>
7600  int  int
# Line 7598  char *p = (char *) alloca (2 * sizeof (i Line 7606  char *p = (char *) alloca (2 * sizeof (i
7606  }  }
7607  _ACEOF  _ACEOF
7608  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7609  if { (eval echo "$as_me:7601: \"$ac_link\"") >&5  if { (eval echo "$as_me:7609: \"$ac_link\"") >&5
7610    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7611    ac_status=$?    ac_status=$?
7612    echo "$as_me:7604: \$? = $ac_status" >&5    echo "$as_me:7612: \$? = $ac_status" >&5
7613    (exit $ac_status); } &&    (exit $ac_status); } &&
7614           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7615    { (eval echo "$as_me:7607: \"$ac_try\"") >&5    { (eval echo "$as_me:7615: \"$ac_try\"") >&5
7616    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7617    ac_status=$?    ac_status=$?
7618    echo "$as_me:7610: \$? = $ac_status" >&5    echo "$as_me:7618: \$? = $ac_status" >&5
7619    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7620    ac_cv_working_alloca_h=yes    ac_cv_working_alloca_h=yes
7621  else  else
# Line 7617  ac_cv_working_alloca_h=no Line 7625  ac_cv_working_alloca_h=no
7625  fi  fi
7626  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7627  fi  fi
7628  echo "$as_me:7620: result: $ac_cv_working_alloca_h" >&5  echo "$as_me:7628: result: $ac_cv_working_alloca_h" >&5
7629  echo "${ECHO_T}$ac_cv_working_alloca_h" >&6  echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
7630  if test $ac_cv_working_alloca_h = yes; then  if test $ac_cv_working_alloca_h = yes; then
7631    
# Line 7627  EOF Line 7635  EOF
7635    
7636  fi  fi
7637    
7638  echo "$as_me:7630: checking for alloca" >&5  echo "$as_me:7638: checking for alloca" >&5
7639  echo $ECHO_N "checking for alloca... $ECHO_C" >&6  echo $ECHO_N "checking for alloca... $ECHO_C" >&6
7640  if test "${ac_cv_func_alloca_works+set}" = set; then  if test "${ac_cv_func_alloca_works+set}" = set; then
7641    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7642  else  else
7643    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7644  #line 7636 "configure"  #line 7644 "configure"
7645  #include "confdefs.h"  #include "confdefs.h"
7646  #ifdef __GNUC__  #ifdef __GNUC__
7647  # define alloca __builtin_alloca  # define alloca __builtin_alloca
# Line 7665  char *p = (char *) alloca (1); Line 7673  char *p = (char *) alloca (1);
7673  }  }
7674  _ACEOF  _ACEOF
7675  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7676  if { (eval echo "$as_me:7668: \"$ac_link\"") >&5  if { (eval echo "$as_me:7676: \"$ac_link\"") >&5
7677    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7678    ac_status=$?    ac_status=$?
7679    echo "$as_me:7671: \$? = $ac_status" >&5    echo "$as_me:7679: \$? = $ac_status" >&5
7680    (exit $ac_status); } &&    (exit $ac_status); } &&
7681           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7682    { (eval echo "$as_me:7674: \"$ac_try\"") >&5    { (eval echo "$as_me:7682: \"$ac_try\"") >&5
7683    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7684    ac_status=$?    ac_status=$?
7685    echo "$as_me:7677: \$? = $ac_status" >&5    echo "$as_me:7685: \$? = $ac_status" >&5
7686    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7687    ac_cv_func_alloca_works=yes    ac_cv_func_alloca_works=yes
7688  else  else
# Line 7684  ac_cv_func_alloca_works=no Line 7692  ac_cv_func_alloca_works=no
7692  fi  fi
7693  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7694  fi  fi
7695  echo "$as_me:7687: result: $ac_cv_func_alloca_works" >&5  echo "$as_me:7695: result: $ac_cv_func_alloca_works" >&5
7696  echo "${ECHO_T}$ac_cv_func_alloca_works" >&6  echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
7697    
7698  if test $ac_cv_func_alloca_works = yes; then  if test $ac_cv_func_alloca_works = yes; then
# Line 7705  cat >>confdefs.h <<\EOF Line 7713  cat >>confdefs.h <<\EOF
7713  #define C_ALLOCA 1  #define C_ALLOCA 1
7714  EOF  EOF
7715    
7716  echo "$as_me:7708: checking whether \`alloca.c' needs Cray hooks" >&5  echo "$as_me:7716: checking whether \`alloca.c' needs Cray hooks" >&5
7717  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
7718  if test "${ac_cv_os_cray+set}" = set; then  if test "${ac_cv_os_cray+set}" = set; then
7719    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7720  else  else
7721    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7722  #line 7714 "configure"  #line 7722 "configure"
7723  #include "confdefs.h"  #include "confdefs.h"
7724  #if defined(CRAY) && ! defined(CRAY2)  #if defined(CRAY) && ! defined(CRAY2)
7725  webecray  webecray
# Line 7729  fi Line 7737  fi
7737  rm -f conftest*  rm -f conftest*
7738    
7739  fi  fi
7740  echo "$as_me:7732: result: $ac_cv_os_cray" >&5  echo "$as_me:7740: result: $ac_cv_os_cray" >&5
7741  echo "${ECHO_T}$ac_cv_os_cray" >&6  echo "${ECHO_T}$ac_cv_os_cray" >&6
7742  if test $ac_cv_os_cray = yes; then  if test $ac_cv_os_cray = yes; then
7743    for ac_func in _getb67 GETB67 getb67; do    for ac_func in _getb67 GETB67 getb67; do
7744      as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`      as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7745  echo "$as_me:7737: checking for $ac_func" >&5  echo "$as_me:7745: checking for $ac_func" >&5
7746  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7747  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
7748    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7749  else  else
7750    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7751  #line 7743 "configure"  #line 7751 "configure"
7752  #include "confdefs.h"  #include "confdefs.h"
7753  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
7754      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 7771  f = $ac_func; Line 7779  f = $ac_func;
7779  }  }
7780  _ACEOF  _ACEOF
7781  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7782  if { (eval echo "$as_me:7774: \"$ac_link\"") >&5  if { (eval echo "$as_me:7782: \"$ac_link\"") >&5
7783    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7784    ac_status=$?    ac_status=$?
7785    echo "$as_me:7777: \$? = $ac_status" >&5    echo "$as_me:7785: \$? = $ac_status" >&5
7786    (exit $ac_status); } &&    (exit $ac_status); } &&
7787           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7788    { (eval echo "$as_me:7780: \"$ac_try\"") >&5    { (eval echo "$as_me:7788: \"$ac_try\"") >&5
7789    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7790    ac_status=$?    ac_status=$?
7791    echo "$as_me:7783: \$? = $ac_status" >&5    echo "$as_me:7791: \$? = $ac_status" >&5
7792    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7793    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
7794  else  else
# Line 7790  eval "$as_ac_var=no" Line 7798  eval "$as_ac_var=no"
7798  fi  fi
7799  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7800  fi  fi
7801  echo "$as_me:7793: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:7801: result: `eval echo '${'$as_ac_var'}'`" >&5
7802  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7803  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
7804    
# Line 7804  fi Line 7812  fi
7812    done    done
7813  fi  fi
7814    
7815  echo "$as_me:7807: checking stack direction for C alloca" >&5  echo "$as_me:7815: checking stack direction for C alloca" >&5
7816  echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6  echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
7817  if test "${ac_cv_c_stack_direction+set}" = set; then  if test "${ac_cv_c_stack_direction+set}" = set; then
7818    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7813  else Line 7821  else
7821    ac_cv_c_stack_direction=0    ac_cv_c_stack_direction=0
7822  else  else
7823    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7824  #line 7816 "configure"  #line 7824 "configure"
7825  #include "confdefs.h"  #include "confdefs.h"
7826  int  int
7827  find_stack_direction ()  find_stack_direction ()
# Line 7836  main () Line 7844  main ()
7844  }  }
7845  _ACEOF  _ACEOF
7846  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
7847  if { (eval echo "$as_me:7839: \"$ac_link\"") >&5  if { (eval echo "$as_me:7847: \"$ac_link\"") >&5
7848    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7849    ac_status=$?    ac_status=$?
7850    echo "$as_me:7842: \$? = $ac_status" >&5    echo "$as_me:7850: \$? = $ac_status" >&5
7851    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7852    { (eval echo "$as_me:7844: \"$ac_try\"") >&5    { (eval echo "$as_me:7852: \"$ac_try\"") >&5
7853    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7854    ac_status=$?    ac_status=$?
7855    echo "$as_me:7847: \$? = $ac_status" >&5    echo "$as_me:7855: \$? = $ac_status" >&5
7856    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7857    ac_cv_c_stack_direction=1    ac_cv_c_stack_direction=1
7858  else  else
# Line 7856  fi Line 7864  fi
7864  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
7865  fi  fi
7866  fi  fi
7867  echo "$as_me:7859: result: $ac_cv_c_stack_direction" >&5  echo "$as_me:7867: result: $ac_cv_c_stack_direction" >&5
7868  echo "${ECHO_T}$ac_cv_c_stack_direction" >&6  echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
7869    
7870  cat >>confdefs.h <<EOF  cat >>confdefs.h <<EOF
# Line 7868  fi Line 7876  fi
7876  # fmod, logb, and frexp are found in -lm on most systems.  # fmod, logb, and frexp are found in -lm on most systems.
7877  # 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.
7878    
7879  echo "$as_me:7871: checking for sqrt in -lm" >&5  echo "$as_me:7879: checking for sqrt in -lm" >&5
7880  echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6  echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
7881  if test "${ac_cv_lib_m_sqrt+set}" = set; then  if test "${ac_cv_lib_m_sqrt+set}" = set; then
7882    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7876  else Line 7884  else
7884    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7885  LIBS="-lm  $LIBS"  LIBS="-lm  $LIBS"
7886  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7887  #line 7879 "configure"  #line 7887 "configure"
7888  #include "confdefs.h"  #include "confdefs.h"
7889    
7890  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 7895  sqrt (); Line 7903  sqrt ();
7903  }  }
7904  _ACEOF  _ACEOF
7905  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7906  if { (eval echo "$as_me:7898: \"$ac_link\"") >&5  if { (eval echo "$as_me:7906: \"$ac_link\"") >&5
7907    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7908    ac_status=$?    ac_status=$?
7909    echo "$as_me:7901: \$? = $ac_status" >&5    echo "$as_me:7909: \$? = $ac_status" >&5
7910    (exit $ac_status); } &&    (exit $ac_status); } &&
7911           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7912    { (eval echo "$as_me:7904: \"$ac_try\"") >&5    { (eval echo "$as_me:7912: \"$ac_try\"") >&5
7913    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7914    ac_status=$?    ac_status=$?
7915    echo "$as_me:7907: \$? = $ac_status" >&5    echo "$as_me:7915: \$? = $ac_status" >&5
7916    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7917    ac_cv_lib_m_sqrt=yes    ac_cv_lib_m_sqrt=yes
7918  else  else
# Line 7915  fi Line 7923  fi
7923  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7924  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7925  fi  fi
7926  echo "$as_me:7918: result: $ac_cv_lib_m_sqrt" >&5  echo "$as_me:7926: result: $ac_cv_lib_m_sqrt" >&5
7927  echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6  echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
7928  if test $ac_cv_lib_m_sqrt = yes; then  if test $ac_cv_lib_m_sqrt = yes; then
7929    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 7928  fi Line 7936  fi
7936    
7937  # Check for mail-locking functions in a "mail" library  # Check for mail-locking functions in a "mail" library
7938    
7939  echo "$as_me:7931: checking for maillock in -lmail" >&5  echo "$as_me:7939: checking for maillock in -lmail" >&5
7940  echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6  echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6
7941  if test "${ac_cv_lib_mail_maillock+set}" = set; then  if test "${ac_cv_lib_mail_maillock+set}" = set; then
7942    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7936  else Line 7944  else
7944    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7945  LIBS="-lmail  $LIBS"  LIBS="-lmail  $LIBS"
7946  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7947  #line 7939 "configure"  #line 7947 "configure"
7948  #include "confdefs.h"  #include "confdefs.h"
7949    
7950  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 7955  maillock (); Line 7963  maillock ();
7963  }  }
7964  _ACEOF  _ACEOF
7965  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7966  if { (eval echo "$as_me:7958: \"$ac_link\"") >&5  if { (eval echo "$as_me:7966: \"$ac_link\"") >&5
7967    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7968    ac_status=$?    ac_status=$?
7969    echo "$as_me:7961: \$? = $ac_status" >&5    echo "$as_me:7969: \$? = $ac_status" >&5
7970    (exit $ac_status); } &&    (exit $ac_status); } &&
7971           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7972    { (eval echo "$as_me:7964: \"$ac_try\"") >&5    { (eval echo "$as_me:7972: \"$ac_try\"") >&5
7973    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7974    ac_status=$?    ac_status=$?
7975    echo "$as_me:7967: \$? = $ac_status" >&5    echo "$as_me:7975: \$? = $ac_status" >&5
7976    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7977    ac_cv_lib_mail_maillock=yes    ac_cv_lib_mail_maillock=yes
7978  else  else
# Line 7975  fi Line 7983  fi
7983  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7984  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7985  fi  fi
7986  echo "$as_me:7978: result: $ac_cv_lib_mail_maillock" >&5  echo "$as_me:7986: result: $ac_cv_lib_mail_maillock" >&5
7987  echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6  echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6
7988  if test $ac_cv_lib_mail_maillock = yes; then  if test $ac_cv_lib_mail_maillock = yes; then
7989    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 7986  EOF Line 7994  EOF
7994    
7995  fi  fi
7996    
7997  echo "$as_me:7989: checking for maillock in -llockfile" >&5  echo "$as_me:7997: checking for maillock in -llockfile" >&5
7998  echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6  echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6
7999  if test "${ac_cv_lib_lockfile_maillock+set}" = set; then  if test "${ac_cv_lib_lockfile_maillock+set}" = set; then
8000    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7994  else Line 8002  else
8002    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
8003  LIBS="-llockfile  $LIBS"  LIBS="-llockfile  $LIBS"
8004  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
8005  #line 7997 "configure"  #line 8005 "configure"
8006  #include "confdefs.h"  #include "confdefs.h"
8007    
8008  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 8013  maillock (); Line 8021  maillock ();
8021  }  }
8022  _ACEOF  _ACEOF
8023  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8024  if { (eval echo "$as_me:8016: \"$ac_link\"") >&5  if { (eval echo "$as_me:8024: \"$ac_link\"") >&5
8025    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8026    ac_status=$?    ac_status=$?
8027    echo "$as_me:8019: \$? = $ac_status" >&5    echo "$as_me:8027: \$? = $ac_status" >&5
8028    (exit $ac_status); } &&    (exit $ac_status); } &&
8029           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8030    { (eval echo "$as_me:8022: \"$ac_try\"") >&5    { (eval echo "$as_me:8030: \"$ac_try\"") >&5
8031    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8032    ac_status=$?    ac_status=$?
8033    echo "$as_me:8025: \$? = $ac_status" >&5    echo "$as_me:8033: \$? = $ac_status" >&5
8034    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8035    ac_cv_lib_lockfile_maillock=yes    ac_cv_lib_lockfile_maillock=yes
8036  else  else
# Line 8033  fi Line 8041  fi
8041  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8042  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
8043  fi  fi
8044  echo "$as_me:8036: result: $ac_cv_lib_lockfile_maillock" >&5  echo "$as_me:8044: result: $ac_cv_lib_lockfile_maillock" >&5
8045  echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6  echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6
8046  if test $ac_cv_lib_lockfile_maillock = yes; then  if test $ac_cv_lib_lockfile_maillock = yes; then
8047    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8050  fi Line 8058  fi
8058  if test "$ac_cv_lib_lockfile_maillock" = no; then  if test "$ac_cv_lib_lockfile_maillock" = no; then
8059        # 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.
8060  set dummy liblockfile.so; ac_word=$2  set dummy liblockfile.so; ac_word=$2
8061  echo "$as_me:8053: checking for $ac_word" >&5  echo "$as_me:8061: checking for $ac_word" >&5
8062  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8063  if test "${ac_cv_prog_liblockfile+set}" = set; then  if test "${ac_cv_prog_liblockfile+set}" = set; then
8064    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8065  for ac_dir in $ac_dummy; do Line 8073  for ac_dir in $ac_dummy; do
8073    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
8074    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
8075  ac_cv_prog_liblockfile="yes"  ac_cv_prog_liblockfile="yes"
8076  echo "$as_me:8068: found $ac_dir/$ac_word" >&5  echo "$as_me:8076: found $ac_dir/$ac_word" >&5
8077  break  break
8078  done  done
8079    
# Line 8074  fi Line 8082  fi
8082  fi  fi
8083  liblockfile=$ac_cv_prog_liblockfile  liblockfile=$ac_cv_prog_liblockfile
8084  if test -n "$liblockfile"; then  if test -n "$liblockfile"; then
8085    echo "$as_me:8077: result: $liblockfile" >&5    echo "$as_me:8085: result: $liblockfile" >&5
8086  echo "${ECHO_T}$liblockfile" >&6  echo "${ECHO_T}$liblockfile" >&6
8087  else  else
8088    echo "$as_me:8080: result: no" >&5    echo "$as_me:8088: result: no" >&5
8089  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
8090  fi  fi
8091    
8092    if test $ac_cv_prog_liblockfile = yes; then    if test $ac_cv_prog_liblockfile = yes; then
8093      { { echo "$as_me:8085: error: Shared liblockfile found but can't link against it.      { { echo "$as_me:8093: error: Shared liblockfile found but can't link against it.
8094  This probably means that movemail could lose mail.  This probably means that movemail could lose mail.
8095  There may be a \`development' package to install containing liblockfile." >&5  There may be a \`development' package to install containing liblockfile." >&5
8096  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 8100  fi Line 8108  fi
8108  for ac_func in touchlock  for ac_func in touchlock
8109  do  do
8110  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8111  echo "$as_me:8103: checking for $ac_func" >&5  echo "$as_me:8111: checking for $ac_func" >&5
8112  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8113  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
8114    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
8115  else  else
8116    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8117  #line 8109 "configure"  #line 8117 "configure"
8118  #include "confdefs.h"  #include "confdefs.h"
8119  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
8120      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 8137  f = $ac_func; Line 8145  f = $ac_func;
8145  }  }
8146  _ACEOF  _ACEOF
8147  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8148  if { (eval echo "$as_me:8140: \"$ac_link\"") >&5  if { (eval echo "$as_me:8148: \"$ac_link\"") >&5
8149    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8150    ac_status=$?    ac_status=$?
8151    echo "$as_me:8143: \$? = $ac_status" >&5    echo "$as_me:8151: \$? = $ac_status" >&5
8152    (exit $ac_status); } &&    (exit $ac_status); } &&
8153           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8154    { (eval echo "$as_me:8146: \"$ac_try\"") >&5    { (eval echo "$as_me:8154: \"$ac_try\"") >&5
8155    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8156    ac_status=$?    ac_status=$?
8157    echo "$as_me:8149: \$? = $ac_status" >&5    echo "$as_me:8157: \$? = $ac_status" >&5
8158    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8159    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
8160  else  else
# Line 8156  eval "$as_ac_var=no" Line 8164  eval "$as_ac_var=no"
8164  fi  fi
8165  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8166  fi  fi
8167  echo "$as_me:8159: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:8167: result: `eval echo '${'$as_ac_var'}'`" >&5
8168  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8169  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
8170    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8169  done Line 8177  done
8177  for ac_header in maillock.h  for ac_header in maillock.h
8178  do  do
8179  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8180  echo "$as_me:8172: checking for $ac_header" >&5  echo "$as_me:8180: checking for $ac_header" >&5
8181  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8182  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
8183    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
8184  else  else
8185    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8186  #line 8178 "configure"  #line 8186 "configure"
8187  #include "confdefs.h"  #include "confdefs.h"
8188  #include <$ac_header>  #include <$ac_header>
8189  _ACEOF  _ACEOF
8190  if { (eval echo "$as_me:8182: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:8190: \"$ac_cpp conftest.$ac_ext\"") >&5
8191    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8192    ac_status=$?    ac_status=$?
8193    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
8194    rm -f conftest.er1    rm -f conftest.er1
8195    cat conftest.err >&5    cat conftest.err >&5
8196    echo "$as_me:8188: \$? = $ac_status" >&5    echo "$as_me:8196: \$? = $ac_status" >&5
8197    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
8198    if test -s conftest.err; then    if test -s conftest.err; then
8199      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 8204  else Line 8212  else
8212  fi  fi
8213  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
8214  fi  fi
8215  echo "$as_me:8207: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:8215: result: `eval echo '${'$as_ac_Header'}'`" >&5
8216  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8217  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
8218    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8223  __fpending mblen mbrlen strsignal setiti Line 8231  __fpending mblen mbrlen strsignal setiti
8231  gai_strerror mkstemp  gai_strerror mkstemp
8232  do  do
8233  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8234  echo "$as_me:8226: checking for $ac_func" >&5  echo "$as_me:8234: checking for $ac_func" >&5
8235  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8236  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
8237    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
8238  else  else
8239    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8240  #line 8232 "configure"  #line 8240 "configure"
8241  #include "confdefs.h"  #include "confdefs.h"
8242  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
8243      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 8260  f = $ac_func; Line 8268  f = $ac_func;
8268  }  }
8269  _ACEOF  _ACEOF
8270  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8271  if { (eval echo "$as_me:8263: \"$ac_link\"") >&5  if { (eval echo "$as_me:8271: \"$ac_link\"") >&5
8272    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8273    ac_status=$?    ac_status=$?
8274    echo "$as_me:8266: \$? = $ac_status" >&5    echo "$as_me:8274: \$? = $ac_status" >&5
8275    (exit $ac_status); } &&    (exit $ac_status); } &&
8276           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8277    { (eval echo "$as_me:8269: \"$ac_try\"") >&5    { (eval echo "$as_me:8277: \"$ac_try\"") >&5
8278    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8279    ac_status=$?    ac_status=$?
8280    echo "$as_me:8272: \$? = $ac_status" >&5    echo "$as_me:8280: \$? = $ac_status" >&5
8281    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8282    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
8283  else  else
# Line 8279  eval "$as_ac_var=no" Line 8287  eval "$as_ac_var=no"
8287  fi  fi
8288  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8289  fi  fi
8290  echo "$as_me:8282: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:8290: result: `eval echo '${'$as_ac_var'}'`" >&5
8291  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8292  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
8293    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8292  done Line 8300  done
8300  for ac_header in sys/time.h unistd.h  for ac_header in sys/time.h unistd.h
8301  do  do
8302  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8303  echo "$as_me:8295: checking for $ac_header" >&5  echo "$as_me:8303: checking for $ac_header" >&5
8304  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8305  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
8306    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
8307  else  else
8308    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8309  #line 8301 "configure"  #line 8309 "configure"
8310  #include "confdefs.h"  #include "confdefs.h"
8311  #include <$ac_header>  #include <$ac_header>
8312  _ACEOF  _ACEOF
8313  if { (eval echo "$as_me:8305: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:8313: \"$ac_cpp conftest.$ac_ext\"") >&5
8314    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8315    ac_status=$?    ac_status=$?
8316    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
8317    rm -f conftest.er1    rm -f conftest.er1
8318    cat conftest.err >&5    cat conftest.err >&5
8319    echo "$as_me:8311: \$? = $ac_status" >&5    echo "$as_me:8319: \$? = $ac_status" >&5
8320    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
8321    if test -s conftest.err; then    if test -s conftest.err; then
8322      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 8327  else Line 8335  else
8335  fi  fi
8336  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
8337  fi  fi
8338  echo "$as_me:8330: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:8338: result: `eval echo '${'$as_ac_Header'}'`" >&5
8339  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8340  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
8341    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8340  done Line 8348  done
8348  for ac_func in alarm  for ac_func in alarm
8349  do  do
8350  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8351  echo "$as_me:8343: checking for $ac_func" >&5  echo "$as_me:8351: checking for $ac_func" >&5
8352  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8353  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
8354    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
8355  else  else
8356    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8357  #line 8349 "configure"  #line 8357 "configure"
8358  #include "confdefs.h"  #include "confdefs.h"
8359  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
8360      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 8377  f = $ac_func; Line 8385  f = $ac_func;
8385  }  }
8386  _ACEOF  _ACEOF
8387  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8388  if { (eval echo "$as_me:8380: \"$ac_link\"") >&5  if { (eval echo "$as_me:8388: \"$ac_link\"") >&5
8389    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8390    ac_status=$?    ac_status=$?
8391    echo "$as_me:8383: \$? = $ac_status" >&5    echo "$as_me:8391: \$? = $ac_status" >&5
8392    (exit $ac_status); } &&    (exit $ac_status); } &&
8393           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8394    { (eval echo "$as_me:8386: \"$ac_try\"") >&5    { (eval echo "$as_me:8394: \"$ac_try\"") >&5
8395    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8396    ac_status=$?    ac_status=$?
8397    echo "$as_me:8389: \$? = $ac_status" >&5    echo "$as_me:8397: \$? = $ac_status" >&5
8398    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8399    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
8400  else  else
# Line 8396  eval "$as_ac_var=no" Line 8404  eval "$as_ac_var=no"
8404  fi  fi
8405  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8406  fi  fi
8407  echo "$as_me:8399: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:8407: result: `eval echo '${'$as_ac_var'}'`" >&5
8408  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8409  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
8410    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8406  EOF Line 8414  EOF
8414  fi  fi
8415  done  done
8416    
8417  echo "$as_me:8409: checking for working mktime" >&5  echo "$as_me:8417: checking for working mktime" >&5
8418  echo $ECHO_N "checking for working mktime... $ECHO_C" >&6  echo $ECHO_N "checking for working mktime... $ECHO_C" >&6
8419  if test "${ac_cv_func_working_mktime+set}" = set; then  if test "${ac_cv_func_working_mktime+set}" = set; then
8420    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8415  else Line 8423  else
8423    ac_cv_func_working_mktime=no    ac_cv_func_working_mktime=no
8424  else  else
8425    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8426  #line 8418 "configure"  #line 8426 "configure"
8427  #include "confdefs.h"  #include "confdefs.h"
8428  /* Test program from Paul Eggert and Tony Leneis.  */  /* Test program from Paul Eggert and Tony Leneis.  */
8429  #if TIME_WITH_SYS_TIME  #if TIME_WITH_SYS_TIME
# Line 8564  main () Line 8572  main ()
8572  }  }
8573  _ACEOF  _ACEOF
8574  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
8575  if { (eval echo "$as_me:8567: \"$ac_link\"") >&5  if { (eval echo "$as_me:8575: \"$ac_link\"") >&5
8576    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8577    ac_status=$?    ac_status=$?
8578    echo "$as_me:8570: \$? = $ac_status" >&5    echo "$as_me:8578: \$? = $ac_status" >&5
8579    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8580    { (eval echo "$as_me:8572: \"$ac_try\"") >&5    { (eval echo "$as_me:8580: \"$ac_try\"") >&5
8581    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8582    ac_status=$?    ac_status=$?
8583    echo "$as_me:8575: \$? = $ac_status" >&5    echo "$as_me:8583: \$? = $ac_status" >&5
8584    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8585    ac_cv_func_working_mktime=yes    ac_cv_func_working_mktime=yes
8586  else  else
# Line 8584  fi Line 8592  fi
8592  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
8593  fi  fi
8594  fi  fi
8595  echo "$as_me:8587: result: $ac_cv_func_working_mktime" >&5  echo "$as_me:8595: result: $ac_cv_func_working_mktime" >&5
8596  echo "${ECHO_T}$ac_cv_func_working_mktime" >&6  echo "${ECHO_T}$ac_cv_func_working_mktime" >&6
8597  if test $ac_cv_func_working_mktime = no; then  if test $ac_cv_func_working_mktime = no; then
8598    LIBOBJS="$LIBOBJS mktime.$ac_objext"    LIBOBJS="$LIBOBJS mktime.$ac_objext"
# Line 8602  ac_have_func=no # yes means we've found Line 8610  ac_have_func=no # yes means we've found
8610  ac_save_LIBS=$LIBS  ac_save_LIBS=$LIBS
8611    
8612  # Check for getloadavg, but be sure not to touch the cache variable.  # Check for getloadavg, but be sure not to touch the cache variable.
8613  (echo "$as_me:8605: checking for getloadavg" >&5  (echo "$as_me:8613: checking for getloadavg" >&5
8614  echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6  echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6
8615  if test "${ac_cv_func_getloadavg+set}" = set; then  if test "${ac_cv_func_getloadavg+set}" = set; then
8616    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
8617  else  else
8618    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8619  #line 8611 "configure"  #line 8619 "configure"
8620  #include "confdefs.h"  #include "confdefs.h"
8621  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
8622      which can conflict with char getloadavg (); below.  */      which can conflict with char getloadavg (); below.  */
# Line 8639  f = getloadavg; Line 8647  f = getloadavg;
8647  }  }
8648  _ACEOF  _ACEOF
8649  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8650  if { (eval echo "$as_me:8642: \"$ac_link\"") >&5  if { (eval echo "$as_me:8650: \"$ac_link\"") >&5
8651    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8652    ac_status=$?    ac_status=$?
8653    echo "$as_me:8645: \$? = $ac_status" >&5    echo "$as_me:8653: \$? = $ac_status" >&5
8654    (exit $ac_status); } &&    (exit $ac_status); } &&
8655           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8656    { (eval echo "$as_me:8648: \"$ac_try\"") >&5    { (eval echo "$as_me:8656: \"$ac_try\"") >&5
8657    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8658    ac_status=$?    ac_status=$?
8659    echo "$as_me:8651: \$? = $ac_status" >&5    echo "$as_me:8659: \$? = $ac_status" >&5
8660    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8661    ac_cv_func_getloadavg=yes    ac_cv_func_getloadavg=yes
8662  else  else
# Line 8658  ac_cv_func_getloadavg=no Line 8666  ac_cv_func_getloadavg=no
8666  fi  fi
8667  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8668  fi  fi
8669  echo "$as_me:8661: result: $ac_cv_func_getloadavg" >&5  echo "$as_me:8669: result: $ac_cv_func_getloadavg" >&5
8670  echo "${ECHO_T}$ac_cv_func_getloadavg" >&6  echo "${ECHO_T}$ac_cv_func_getloadavg" >&6
8671  if test $ac_cv_func_getloadavg = yes; then  if test $ac_cv_func_getloadavg = yes; then
8672    exit 0    exit 0
# Line 8672  fi Line 8680  fi
8680  for ac_func in pstat_getdynamic  for ac_func in pstat_getdynamic
8681  do  do
8682  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8683  echo "$as_me:8675: checking for $ac_func" >&5  echo "$as_me:8683: checking for $ac_func" >&5
8684  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8685  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
8686    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
8687  else  else
8688    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8689  #line 8681 "configure"  #line 8689 "configure"
8690  #include "confdefs.h"  #include "confdefs.h"
8691  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
8692      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 8709  f = $ac_func; Line 8717  f = $ac_func;
8717  }  }
8718  _ACEOF  _ACEOF
8719  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8720  if { (eval echo "$as_me:8712: \"$ac_link\"") >&5  if { (eval echo "$as_me:8720: \"$ac_link\"") >&5
8721    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8722    ac_status=$?    ac_status=$?
8723    echo "$as_me:8715: \$? = $ac_status" >&5    echo "$as_me:8723: \$? = $ac_status" >&5
8724    (exit $ac_status); } &&    (exit $ac_status); } &&
8725           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8726    { (eval echo "$as_me:8718: \"$ac_try\"") >&5    { (eval echo "$as_me:8726: \"$ac_try\"") >&5
8727    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8728    ac_status=$?    ac_status=$?
8729    echo "$as_me:8721: \$? = $ac_status" >&5    echo "$as_me:8729: \$? = $ac_status" >&5
8730    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8731    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
8732  else  else
# Line 8728  eval "$as_ac_var=no" Line 8736  eval "$as_ac_var=no"
8736  fi  fi
8737  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8738  fi  fi
8739  echo "$as_me:8731: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:8739: result: `eval echo '${'$as_ac_var'}'`" >&5
8740  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8741  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
8742    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8740  done Line 8748  done
8748    
8749  # Solaris has libkstat which does not require root.  # Solaris has libkstat which does not require root.
8750    
8751  echo "$as_me:8743: checking for kstat_open in -lkstat" >&5  echo "$as_me:8751: checking for kstat_open in -lkstat" >&5
8752  echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6  echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6
8753  if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then  if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then
8754    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8748  else Line 8756  else
8756    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
8757  LIBS="-lkstat  $LIBS"  LIBS="-lkstat  $LIBS"
8758  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
8759  #line 8751 "configure"  #line 8759 "configure"
8760  #include "confdefs.h"  #include "confdefs.h"
8761    
8762  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 8767  kstat_open (); Line 8775  kstat_open ();
8775  }  }
8776  _ACEOF  _ACEOF
8777  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8778  if { (eval echo "$as_me:8770: \"$ac_link\"") >&5  if { (eval echo "$as_me:8778: \"$ac_link\"") >&5
8779    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8780    ac_status=$?    ac_status=$?
8781    echo "$as_me:8773: \$? = $ac_status" >&5    echo "$as_me:8781: \$? = $ac_status" >&5
8782    (exit $ac_status); } &&    (exit $ac_status); } &&
8783           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8784    { (eval echo "$as_me:8776: \"$ac_try\"") >&5    { (eval echo "$as_me:8784: \"$ac_try\"") >&5
8785    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8786    ac_status=$?    ac_status=$?
8787    echo "$as_me:8779: \$? = $ac_status" >&5    echo "$as_me:8787: \$? = $ac_status" >&5
8788    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8789    ac_cv_lib_kstat_kstat_open=yes    ac_cv_lib_kstat_kstat_open=yes
8790  else  else
# Line 8787  fi Line 8795  fi
8795  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8796  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
8797  fi  fi
8798  echo "$as_me:8790: result: $ac_cv_lib_kstat_kstat_open" >&5  echo "$as_me:8798: result: $ac_cv_lib_kstat_kstat_open" >&5
8799  echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6  echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6
8800  if test $ac_cv_lib_kstat_kstat_open = yes; then  if test $ac_cv_lib_kstat_kstat_open = yes; then
8801    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8805  test $ac_cv_lib_kstat_kstat_open = yes & Line 8813  test $ac_cv_lib_kstat_kstat_open = yes &
8813  # to get the right answer into the cache.  # to get the right answer into the cache.
8814  # 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.
8815  if test $ac_have_func = no; then  if test $ac_have_func = no; then
8816    echo "$as_me:8808: checking for elf_begin in -lelf" >&5    echo "$as_me:8816: checking for elf_begin in -lelf" >&5
8817  echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6  echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
8818  if test "${ac_cv_lib_elf_elf_begin+set}" = set; then  if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
8819    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8813  else Line 8821  else
8821    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
8822  LIBS="-lelf  $LIBS"  LIBS="-lelf  $LIBS"
8823  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
8824  #line 8816 "configure"  #line 8824 "configure"
8825  #include "confdefs.h"  #include "confdefs.h"
8826    
8827  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 8832  elf_begin (); Line 8840  elf_begin ();
8840  }  }
8841  _ACEOF  _ACEOF
8842  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8843  if { (eval echo "$as_me:8835: \"$ac_link\"") >&5  if { (eval echo "$as_me:8843: \"$ac_link\"") >&5
8844    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8845    ac_status=$?    ac_status=$?
8846    echo "$as_me:8838: \$? = $ac_status" >&5    echo "$as_me:8846: \$? = $ac_status" >&5
8847    (exit $ac_status); } &&    (exit $ac_status); } &&
8848           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8849    { (eval echo "$as_me:8841: \"$ac_try\"") >&5    { (eval echo "$as_me:8849: \"$ac_try\"") >&5
8850    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8851    ac_status=$?    ac_status=$?
8852    echo "$as_me:8844: \$? = $ac_status" >&5    echo "$as_me:8852: \$? = $ac_status" >&5
8853    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8854    ac_cv_lib_elf_elf_begin=yes    ac_cv_lib_elf_elf_begin=yes
8855  else  else
# Line 8852  fi Line 8860  fi
8860  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8861  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
8862  fi  fi
8863  echo "$as_me:8855: result: $ac_cv_lib_elf_elf_begin" >&5  echo "$as_me:8863: result: $ac_cv_lib_elf_elf_begin" >&5
8864  echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6  echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
8865  if test $ac_cv_lib_elf_elf_begin = yes; then  if test $ac_cv_lib_elf_elf_begin = yes; then
8866    LIBS="-lelf $LIBS"    LIBS="-lelf $LIBS"
# Line 8860  fi Line 8868  fi
8868    
8869  fi  fi
8870  if test $ac_have_func = no; then  if test $ac_have_func = no; then
8871    echo "$as_me:8863: checking for kvm_open in -lkvm" >&5    echo "$as_me:8871: checking for kvm_open in -lkvm" >&5
8872  echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6  echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6
8873  if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then  if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then
8874    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8868  else Line 8876  else
8876    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
8877  LIBS="-lkvm  $LIBS"  LIBS="-lkvm  $LIBS"
8878  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
8879  #line 8871 "configure"  #line 8879 "configure"
8880  #include "confdefs.h"  #include "confdefs.h"
8881    
8882  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 8887  kvm_open (); Line 8895  kvm_open ();
8895  }  }
8896  _ACEOF  _ACEOF
8897  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8898  if { (eval echo "$as_me:8890: \"$ac_link\"") >&5  if { (eval echo "$as_me:8898: \"$ac_link\"") >&5
8899    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8900    ac_status=$?    ac_status=$?
8901    echo "$as_me:8893: \$? = $ac_status" >&5    echo "$as_me:8901: \$? = $ac_status" >&5
8902    (exit $ac_status); } &&    (exit $ac_status); } &&
8903           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8904    { (eval echo "$as_me:8896: \"$ac_try\"") >&5    { (eval echo "$as_me:8904: \"$ac_try\"") >&5
8905    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8906    ac_status=$?    ac_status=$?
8907    echo "$as_me:8899: \$? = $ac_status" >&5    echo "$as_me:8907: \$? = $ac_status" >&5
8908    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8909    ac_cv_lib_kvm_kvm_open=yes    ac_cv_lib_kvm_kvm_open=yes
8910  else  else
# Line 8907  fi Line 8915  fi
8915  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8916  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
8917  fi  fi
8918  echo "$as_me:8910: result: $ac_cv_lib_kvm_kvm_open" >&5  echo "$as_me:8918: result: $ac_cv_lib_kvm_kvm_open" >&5
8919  echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6  echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6
8920  if test $ac_cv_lib_kvm_kvm_open = yes; then  if test $ac_cv_lib_kvm_kvm_open = yes; then
8921    LIBS="-lkvm $LIBS"    LIBS="-lkvm $LIBS"
8922  fi  fi
8923    
8924    # Check for the 4.4BSD definition of getloadavg.    # Check for the 4.4BSD definition of getloadavg.
8925    echo "$as_me:8917: checking for getloadavg in -lutil" >&5    echo "$as_me:8925: checking for getloadavg in -lutil" >&5
8926  echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6  echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6
8927  if test "${ac_cv_lib_util_getloadavg+set}" = set; then  if test "${ac_cv_lib_util_getloadavg+set}" = set; then
8928    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8922  else Line 8930  else
8930    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
8931  LIBS="-lutil  $LIBS"  LIBS="-lutil  $LIBS"
8932  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
8933  #line 8925 "configure"  #line 8933 "configure"
8934  #include "confdefs.h"  #include "confdefs.h"
8935    
8936  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 8941  getloadavg (); Line 8949  getloadavg ();
8949  }  }
8950  _ACEOF  _ACEOF
8951  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8952  if { (eval echo "$as_me:8944: \"$ac_link\"") >&5  if { (eval echo "$as_me:8952: \"$ac_link\"") >&5
8953    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8954    ac_status=$?    ac_status=$?
8955    echo "$as_me:8947: \$? = $ac_status" >&5    echo "$as_me:8955: \$? = $ac_status" >&5
8956    (exit $ac_status); } &&    (exit $ac_status); } &&
8957           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8958    { (eval echo "$as_me:8950: \"$ac_try\"") >&5    { (eval echo "$as_me:8958: \"$ac_try\"") >&5
8959    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8960    ac_status=$?    ac_status=$?
8961    echo "$as_me:8953: \$? = $ac_status" >&5    echo "$as_me:8961: \$? = $ac_status" >&5
8962    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8963    ac_cv_lib_util_getloadavg=yes    ac_cv_lib_util_getloadavg=yes
8964  else  else
# Line 8961  fi Line 8969  fi
8969  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8970  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
8971  fi  fi
8972  echo "$as_me:8964: result: $ac_cv_lib_util_getloadavg" >&5  echo "$as_me:8972: result: $ac_cv_lib_util_getloadavg" >&5
8973  echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6  echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6
8974  if test $ac_cv_lib_util_getloadavg = yes; then  if test $ac_cv_lib_util_getloadavg = yes; then
8975    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 8974  if test $ac_have_func = no; then Line 8982  if test $ac_have_func = no; then
8982    # 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.
8983    ac_getloadavg_LIBS=$LIBS    ac_getloadavg_LIBS=$LIBS
8984    LIBS="-L/usr/local/lib $LIBS"    LIBS="-L/usr/local/lib $LIBS"
8985    echo "$as_me:8977: checking for getloadavg in -lgetloadavg" >&5    echo "$as_me:8985: checking for getloadavg in -lgetloadavg" >&5
8986  echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6  echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6
8987  if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then  if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then
8988    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8982  else Line 8990  else
8990    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
8991  LIBS="-lgetloadavg  $LIBS"  LIBS="-lgetloadavg  $LIBS"
8992  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
8993  #line 8985 "configure"  #line 8993 "configure"
8994  #include "confdefs.h"  #include "confdefs.h"
8995    
8996  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 9001  getloadavg (); Line 9009  getloadavg ();
9009  }  }
9010  _ACEOF  _ACEOF
9011  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9012  if { (eval echo "$as_me:9004: \"$ac_link\"") >&5  if { (eval echo "$as_me:9012: \"$ac_link\"") >&5
9013    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9014    ac_status=$?    ac_status=$?
9015    echo "$as_me:9007: \$? = $ac_status" >&5    echo "$as_me:9015: \$? = $ac_status" >&5
9016    (exit $ac_status); } &&    (exit $ac_status); } &&
9017           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9018    { (eval echo "$as_me:9010: \"$ac_try\"") >&5    { (eval echo "$as_me:9018: \"$ac_try\"") >&5
9019    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9020    ac_status=$?    ac_status=$?
9021    echo "$as_me:9013: \$? = $ac_status" >&5    echo "$as_me:9021: \$? = $ac_status" >&5
9022    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9023    ac_cv_lib_getloadavg_getloadavg=yes    ac_cv_lib_getloadavg_getloadavg=yes
9024  else  else
# Line 9021  fi Line 9029  fi
9029  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9030  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
9031  fi  fi
9032  echo "$as_me:9024: result: $ac_cv_lib_getloadavg_getloadavg" >&5  echo "$as_me:9032: result: $ac_cv_lib_getloadavg_getloadavg" >&5
9033  echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6  echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6
9034  if test $ac_cv_lib_getloadavg_getloadavg = yes; then  if test $ac_cv_lib_getloadavg_getloadavg = yes; then
9035    LIBS="-lgetloadavg $LIBS"    LIBS="-lgetloadavg $LIBS"
# Line 9037  fi Line 9045  fi
9045  for ac_func in getloadavg  for ac_func in getloadavg
9046  do  do
9047  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9048  echo "$as_me:9040: checking for $ac_func" >&5  echo "$as_me:9048: checking for $ac_func" >&5
9049  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9050  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
9051    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9052  else  else
9053    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9054  #line 9046 "configure"  #line 9054 "configure"
9055  #include "confdefs.h"  #include "confdefs.h"
9056  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
9057      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 9074  f = $ac_func; Line 9082  f = $ac_func;
9082  }  }
9083  _ACEOF  _ACEOF
9084  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9085  if { (eval echo "$as_me:9077: \"$ac_link\"") >&5  if { (eval echo "$as_me:9085: \"$ac_link\"") >&5
9086    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9087    ac_status=$?    ac_status=$?
9088    echo "$as_me:9080: \$? = $ac_status" >&5    echo "$as_me:9088: \$? = $ac_status" >&5
9089    (exit $ac_status); } &&    (exit $ac_status); } &&
9090           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9091    { (eval echo "$as_me:9083: \"$ac_try\"") >&5    { (eval echo "$as_me:9091: \"$ac_try\"") >&5
9092    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9093    ac_status=$?    ac_status=$?
9094    echo "$as_me:9086: \$? = $ac_status" >&5    echo "$as_me:9094: \$? = $ac_status" >&5
9095    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9096    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
9097  else  else
# Line 9093  eval "$as_ac_var=no" Line 9101  eval "$as_ac_var=no"
9101  fi  fi
9102  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9103  fi  fi
9104  echo "$as_me:9096: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:9104: result: `eval echo '${'$as_ac_var'}'`" >&5
9105  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9106  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
9107    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 9109  EOF Line 9117  EOF
9117    
9118  # Figure out what our getloadavg.c needs.  # Figure out what our getloadavg.c needs.
9119  ac_have_func=no  ac_have_func=no
9120  echo "$as_me:9112: checking for sys/dg_sys_info.h" >&5  echo "$as_me:9120: checking for sys/dg_sys_info.h" >&5
9121  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
9122  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
9123    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9124  else  else
9125    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9126  #line 9118 "configure"  #line 9126 "configure"
9127  #include "confdefs.h"  #include "confdefs.h"
9128  #include <sys/dg_sys_info.h>  #include <sys/dg_sys_info.h>
9129  _ACEOF  _ACEOF
9130  if { (eval echo "$as_me:9122: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:9130: \"$ac_cpp conftest.$ac_ext\"") >&5
9131    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9132    ac_status=$?    ac_status=$?
9133    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
9134    rm -f conftest.er1    rm -f conftest.er1
9135    cat conftest.err >&5    cat conftest.err >&5
9136    echo "$as_me:9128: \$? = $ac_status" >&5    echo "$as_me:9136: \$? = $ac_status" >&5
9137    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
9138    if test -s conftest.err; then    if test -s conftest.err; then
9139      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 9144  else Line 9152  else
9152  fi  fi
9153  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
9154  fi  fi
9155  echo "$as_me:9147: result: $ac_cv_header_sys_dg_sys_info_h" >&5  echo "$as_me:9155: result: $ac_cv_header_sys_dg_sys_info_h" >&5
9156  echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6  echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
9157  if test $ac_cv_header_sys_dg_sys_info_h = yes; then  if test $ac_cv_header_sys_dg_sys_info_h = yes; then
9158    ac_have_func=yes    ac_have_func=yes
# Line 9153  cat >>confdefs.h <<\EOF Line 9161  cat >>confdefs.h <<\EOF
9161  #define DGUX 1  #define DGUX 1
9162  EOF  EOF
9163    
9164  echo "$as_me:9156: checking for dg_sys_info in -ldgc" >&5  echo "$as_me:9164: checking for dg_sys_info in -ldgc" >&5
9165  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
9166  if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then  if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then
9167    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 9161  else Line 9169  else
9169    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
9170  LIBS="-ldgc  $LIBS"  LIBS="-ldgc  $LIBS"
9171  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
9172  #line 9164 "configure"  #line 9172 "configure"
9173  #include "confdefs.h"  #include "confdefs.h"
9174    
9175  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 9180  dg_sys_info (); Line 9188  dg_sys_info ();
9188  }  }
9189  _ACEOF  _ACEOF
9190  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9191  if { (eval echo "$as_me:9183: \"$ac_link\"") >&5  if { (eval echo "$as_me:9191: \"$ac_link\"") >&5
9192    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9193    ac_status=$?    ac_status=$?
9194    echo "$as_me:9186: \$? = $ac_status" >&5    echo "$as_me:9194: \$? = $ac_status" >&5
9195    (exit $ac_status); } &&    (exit $ac_status); } &&
9196           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9197    { (eval echo "$as_me:9189: \"$ac_try\"") >&5    { (eval echo "$as_me:9197: \"$ac_try\"") >&5
9198    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9199    ac_status=$?    ac_status=$?
9200    echo "$as_me:9192: \$? = $ac_status" >&5    echo "$as_me:9200: \$? = $ac_status" >&5
9201    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9202    ac_cv_lib_dgc_dg_sys_info=yes    ac_cv_lib_dgc_dg_sys_info=yes
9203  else  else
# Line 9200  fi Line 9208  fi
9208  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9209  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
9210  fi  fi
9211  echo "$as_me:9203: result: $ac_cv_lib_dgc_dg_sys_info" >&5  echo "$as_me:9211: result: $ac_cv_lib_dgc_dg_sys_info" >&5
9212  echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6  echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6
9213  if test $ac_cv_lib_dgc_dg_sys_info = yes; then  if test $ac_cv_lib_dgc_dg_sys_info = yes; then
9214    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 9213  fi Line 9221  fi
9221    
9222  fi  fi
9223    
9224  echo "$as_me:9216: checking for locale.h" >&5  echo "$as_me:9224: checking for locale.h" >&5
9225  echo $ECHO_N "checking for locale.h... $ECHO_C" >&6  echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
9226  if test "${ac_cv_header_locale_h+set}" = set; then  if test "${ac_cv_header_locale_h+set}" = set; then
9227    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9228  else  else
9229    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9230  #line 9222 "configure"  #line 9230 "configure"
9231  #include "confdefs.h"  #include "confdefs.h"
9232  #include <locale.h>  #include <locale.h>
9233  _ACEOF  _ACEOF
9234  if { (eval echo "$as_me:9226: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:9234: \"$ac_cpp conftest.$ac_ext\"") >&5
9235    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9236    ac_status=$?    ac_status=$?
9237    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
9238    rm -f conftest.er1    rm -f conftest.er1
9239    cat conftest.err >&5    cat conftest.err >&5
9240    echo "$as_me:9232: \$? = $ac_status" >&5    echo "$as_me:9240: \$? = $ac_status" >&5
9241    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
9242    if test -s conftest.err; then    if test -s conftest.err; then
9243      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 9248  else Line 9256  else
9256  fi  fi
9257  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
9258  fi  fi
9259  echo "$as_me:9251: result: $ac_cv_header_locale_h" >&5  echo "$as_me:9259: result: $ac_cv_header_locale_h" >&5
9260  echo "${ECHO_T}$ac_cv_header_locale_h" >&6  echo "${ECHO_T}$ac_cv_header_locale_h" >&6
9261    
9262  for ac_func in setlocale  for ac_func in setlocale
9263  do  do
9264  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9265  echo "$as_me:9257: checking for $ac_func" >&5  echo "$as_me:9265: checking for $ac_func" >&5
9266  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9267  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
9268    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9269  else  else
9270    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9271  #line 9263 "configure"  #line 9271 "configure"
9272  #include "confdefs.h"  #include "confdefs.h"
9273  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
9274      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 9291  f = $ac_func; Line 9299  f = $ac_func;
9299  }  }
9300  _ACEOF  _ACEOF
9301  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9302  if { (eval echo "$as_me:9294: \"$ac_link\"") >&5  if { (eval echo "$as_me:9302: \"$ac_link\"") >&5
9303    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9304    ac_status=$?    ac_status=$?
9305    echo "$as_me:9297: \$? = $ac_status" >&5    echo "$as_me:9305: \$? = $ac_status" >&5
9306    (exit $ac_status); } &&    (exit $ac_status); } &&
9307           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9308    { (eval echo "$as_me:9300: \"$ac_try\"") >&5    { (eval echo "$as_me:9308: \"$ac_try\"") >&5
9309    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9310    ac_status=$?    ac_status=$?
9311    echo "$as_me:9303: \$? = $ac_status" >&5    echo "$as_me:9311: \$? = $ac_status" >&5
9312    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9313    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
9314  else  else
# Line 9310  eval "$as_ac_var=no" Line 9318  eval "$as_ac_var=no"
9318  fi  fi
9319  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9320  fi  fi
9321  echo "$as_me:9313: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:9321: result: `eval echo '${'$as_ac_var'}'`" >&5
9322  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9323  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
9324    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 9333  EOF Line 9341  EOF
9341  fi  fi
9342    
9343  if test $ac_have_func = no; then  if test $ac_have_func = no; then
9344    echo "$as_me:9336: checking for inq_stats/cpustats.h" >&5    echo "$as_me:9344: checking for inq_stats/cpustats.h" >&5
9345  echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6  echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
9346  if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then  if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
9347    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9348  else  else
9349    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9350  #line 9342 "configure"  #line 9350 "configure"
9351  #include "confdefs.h"  #include "confdefs.h"
9352  #include <inq_stats/cpustats.h>  #include <inq_stats/cpustats.h>
9353  _ACEOF  _ACEOF
9354  if { (eval echo "$as_me:9346: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:9354: \"$ac_cpp conftest.$ac_ext\"") >&5
9355    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9356    ac_status=$?    ac_status=$?
9357    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
9358    rm -f conftest.er1    rm -f conftest.er1
9359    cat conftest.err >&5    cat conftest.err >&5
9360    echo "$as_me:9352: \$? = $ac_status" >&5    echo "$as_me:9360: \$? = $ac_status" >&5
9361    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
9362    if test -s conftest.err; then    if test -s conftest.err; then
9363      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 9368  else Line 9376  else
9376  fi  fi
9377  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
9378  fi  fi
9379  echo "$as_me:9371: result: $ac_cv_header_inq_stats_cpustats_h" >&5  echo "$as_me:9379: result: $ac_cv_header_inq_stats_cpustats_h" >&5
9380  echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6  echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
9381  if test $ac_cv_header_inq_stats_cpustats_h = yes; then  if test $ac_cv_header_inq_stats_cpustats_h = yes; then
9382    ac_have_func=yes    ac_have_func=yes
# Line 9386  fi Line 9394  fi
9394  fi  fi
9395    
9396  if test $ac_have_func = no; then  if test $ac_have_func = no; then
9397    echo "$as_me:9389: checking for sys/cpustats.h" >&5    echo "$as_me:9397: checking for sys/cpustats.h" >&5
9398  echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6  echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
9399  if test "${ac_cv_header_sys_cpustats_h+set}" = set; then  if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
9400    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9401  else  else
9402    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9403  #line 9395 "configure"  #line 9403 "configure"
9404  #include "confdefs.h"  #include "confdefs.h"
9405  #include <sys/cpustats.h>  #include <sys/cpustats.h>
9406  _ACEOF  _ACEOF
9407  if { (eval echo "$as_me:9399: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:9407: \"$ac_cpp conftest.$ac_ext\"") >&5
9408    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9409    ac_status=$?    ac_status=$?
9410    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
9411    rm -f conftest.er1    rm -f conftest.er1
9412    cat conftest.err >&5    cat conftest.err >&5
9413    echo "$as_me:9405: \$? = $ac_status" >&5    echo "$as_me:9413: \$? = $ac_status" >&5
9414    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
9415    if test -s conftest.err; then    if test -s conftest.err; then
9416      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 9421  else Line 9429  else
9429  fi  fi
9430  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
9431  fi  fi
9432  echo "$as_me:9424: result: $ac_cv_header_sys_cpustats_h" >&5  echo "$as_me:9432: result: $ac_cv_header_sys_cpustats_h" >&5
9433  echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6  echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
9434  if test $ac_cv_header_sys_cpustats_h = yes; then  if test $ac_cv_header_sys_cpustats_h = yes; then
9435    ac_have_func=yes; cat >>confdefs.h <<\EOF    ac_have_func=yes; cat >>confdefs.h <<\EOF
# Line 9437  if test $ac_have_func = no; then Line 9445  if test $ac_have_func = no; then
9445  for ac_header in mach/mach.h  for ac_header in mach/mach.h
9446  do  do
9447  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9448  echo "$as_me:9440: checking for $ac_header" >&5  echo "$as_me:9448: checking for $ac_header" >&5
9449  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9450  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
9451    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9452  else  else
9453    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9454  #line 9446 "configure"  #line 9454 "configure"
9455  #include "confdefs.h"  #include "confdefs.h"
9456  #include <$ac_header>  #include <$ac_header>
9457  _ACEOF  _ACEOF
9458  if { (eval echo "$as_me:9450: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:9458: \"$ac_cpp conftest.$ac_ext\"") >&5
9459    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9460    ac_status=$?    ac_status=$?
9461    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
9462    rm -f conftest.er1    rm -f conftest.er1
9463    cat conftest.err >&5    cat conftest.err >&5
9464    echo "$as_me:9456: \$? = $ac_status" >&5    echo "$as_me:9464: \$? = $ac_status" >&5
9465    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
9466    if test -s conftest.err; then    if test -s conftest.err; then
9467      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 9472  else Line 9480  else
9480  fi  fi
9481  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
9482  fi  fi
9483  echo "$as_me:9475: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:9483: result: `eval echo '${'$as_ac_Header'}'`" >&5
9484  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9485  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
9486    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 9487  fi Line 9495  fi
9495  for ac_header in nlist.h  for ac_header in nlist.h
9496  do  do
9497  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9498  echo "$as_me:9490: checking for $ac_header" >&5  echo "$as_me:9498: checking for $ac_header" >&5
9499  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9500  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
9501    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9502  else  else
9503    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9504  #line 9496 "configure"  #line 9504 "configure"
9505  #include "confdefs.h"  #include "confdefs.h"
9506  #include <$ac_header>  #include <$ac_header>
9507  _ACEOF  _ACEOF
9508  if { (eval echo "$as_me:9500: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:9508: \"$ac_cpp conftest.$ac_ext\"") >&5
9509    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9510    ac_status=$?    ac_status=$?
9511    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
9512    rm -f conftest.er1    rm -f conftest.er1
9513    cat conftest.err >&5    cat conftest.err >&5
9514    echo "$as_me:9506: \$? = $ac_status" >&5    echo "$as_me:9514: \$? = $ac_status" >&5
9515    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
9516    if test -s conftest.err; then    if test -s conftest.err; then
9517      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 9522  else Line 9530  else
9530  fi  fi
9531  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
9532  fi  fi
9533  echo "$as_me:9525: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:9533: result: `eval echo '${'$as_ac_Header'}'`" >&5
9534  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9535  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
9536    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
9537  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9538  EOF  EOF
9539   echo "$as_me:9531: checking for struct nlist.n_un.n_name" >&5   echo "$as_me:9539: checking for struct nlist.n_un.n_name" >&5
9540  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
9541  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
9542    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9543  else  else
9544    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9545  #line 9537 "configure"  #line 9545 "configure"
9546  #include "confdefs.h"  #include "confdefs.h"
9547  #include <nlist.h>  #include <nlist.h>
9548    
# Line 9549  return 0; Line 9557  return 0;
9557  }  }
9558  _ACEOF  _ACEOF
9559  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
9560  if { (eval echo "$as_me:9552: \"$ac_compile\"") >&5  if { (eval echo "$as_me:9560: \"$ac_compile\"") >&5
9561    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
9562    ac_status=$?    ac_status=$?
9563    echo "$as_me:9555: \$? = $ac_status" >&5    echo "$as_me:9563: \$? = $ac_status" >&5
9564    (exit $ac_status); } &&    (exit $ac_status); } &&
9565           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
9566    { (eval echo "$as_me:9558: \"$ac_try\"") >&5    { (eval echo "$as_me:9566: \"$ac_try\"") >&5
9567    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9568    ac_status=$?    ac_status=$?
9569    echo "$as_me:9561: \$? = $ac_status" >&5    echo "$as_me:9569: \$? = $ac_status" >&5
9570    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9571    ac_cv_member_struct_nlist_n_un_n_name=yes    ac_cv_member_struct_nlist_n_un_n_name=yes
9572  else  else
# Line 9568  ac_cv_member_struct_nlist_n_un_n_name=no Line 9576  ac_cv_member_struct_nlist_n_un_n_name=no
9576  fi  fi
9577  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
9578  fi  fi
9579  echo "$as_me:9571: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5  echo "$as_me:9579: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5
9580  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
9581  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
9582    
# Line 9589  fi Line 9597  fi
9597  done  done
9598    
9599  # Some definitions of getloadavg require that the program be installed setgid.  # Some definitions of getloadavg require that the program be installed setgid.
9600  echo "$as_me:9592: checking whether getloadavg requires setgid" >&5  echo "$as_me:9600: checking whether getloadavg requires setgid" >&5
9601  echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6  echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6
9602  if test "${ac_cv_func_getloadavg_setgid+set}" = set; then  if test "${ac_cv_func_getloadavg_setgid+set}" = set; then
9603    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9604  else  else
9605    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9606  #line 9598 "configure"  #line 9606 "configure"
9607  #include "confdefs.h"  #include "confdefs.h"
9608  #include "$srcdir/getloadavg.c"  #include "$srcdir/getloadavg.c"
9609  #ifdef LDAV_PRIVILEGED  #ifdef LDAV_PRIVILEGED
# Line 9611  fi Line 9619  fi
9619  rm -f conftest*  rm -f conftest*
9620    
9621  fi  fi
9622  echo "$as_me:9614: result: $ac_cv_func_getloadavg_setgid" >&5  echo "$as_me:9622: result: $ac_cv_func_getloadavg_setgid" >&5
9623  echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6  echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6
9624  if test $ac_cv_func_getloadavg_setgid = yes; then  if test $ac_cv_func_getloadavg_setgid = yes; then
9625    NEED_SETGID=true    NEED_SETGID=true
# Line 9625  else Line 9633  else
9633  fi  fi
9634    
9635  if test $ac_cv_func_getloadavg_setgid = yes; then  if test $ac_cv_func_getloadavg_setgid = yes; then
9636    echo "$as_me:9628: checking group of /dev/kmem" >&5    echo "$as_me:9636: checking group of /dev/kmem" >&5
9637  echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6  echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6
9638  if test "${ac_cv_group_kmem+set}" = set; then  if test "${ac_cv_group_kmem+set}" = set; then
9639    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 9640  else Line 9648  else
9648                 / /s/.* //;p;'`                 / /s/.* //;p;'`
9649    
9650  fi  fi
9651  echo "$as_me:9643: result: $ac_cv_group_kmem" >&5  echo "$as_me:9651: result: $ac_cv_group_kmem" >&5
9652  echo "${ECHO_T}$ac_cv_group_kmem" >&6  echo "${ECHO_T}$ac_cv_group_kmem" >&6
9653    KMEM_GROUP=$ac_cv_group_kmem    KMEM_GROUP=$ac_cv_group_kmem
9654  fi  fi
# Line 9651  else Line 9659  else
9659  fi  fi
9660  LIBS=$ac_save_LIBS  LIBS=$ac_save_LIBS
9661    
9662  echo "$as_me:9654: checking for _LARGEFILE_SOURCE value needed for large files" >&5  echo "$as_me:9662: checking for _LARGEFILE_SOURCE value needed for large files" >&5
9663  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
9664  if test "${ac_cv_sys_largefile_source+set}" = set; then  if test "${ac_cv_sys_largefile_source+set}" = set; then
9665    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 9659  else Line 9667  else
9667    while :; do    while :; do
9668    ac_cv_sys_largefile_source=no    ac_cv_sys_largefile_source=no
9669    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9670  #line 9662 "configure"  #line 9670 "configure"
9671  #include "confdefs.h"  #include "confdefs.h"
9672  #include <stdio.h>  #include <stdio.h>
9673  int  int
# Line 9671  return !fseeko; Line 9679  return !fseeko;
9679  }  }
9680  _ACEOF  _ACEOF
9681  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
9682  if { (eval echo "$as_me:9674: \"$ac_compile\"") >&5  if { (eval echo "$as_me:9682: \"$ac_compile\"") >&5
9683    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
9684    ac_status=$?    ac_status=$?
9685    echo "$as_me:9677: \$? = $ac_status" >&5    echo "$as_me:9685: \$? = $ac_status" >&5
9686    (exit $ac_status); } &&    (exit $ac_status); } &&
9687           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
9688    { (eval echo "$as_me:9680: \"$ac_try\"") >&5    { (eval echo "$as_me:9688: \"$ac_try\"") >&5
9689    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9690    ac_status=$?    ac_status=$?
9691    echo "$as_me:9683: \$? = $ac_status" >&5    echo "$as_me:9691: \$? = $ac_status" >&5
9692    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9693    break    break
9694  else  else
# Line 9689  cat conftest.$ac_ext >&5 Line 9697  cat conftest.$ac_ext >&5
9697  fi  fi
9698  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
9699    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9700  #line 9692 "configure"  #line 9700 "configure"
9701  #include "confdefs.h"  #include "confdefs.h"
9702  #define _LARGEFILE_SOURCE 1  #define _LARGEFILE_SOURCE 1
9703  #include <stdio.h>  #include <stdio.h>
# Line 9702  return !fseeko; Line 9710  return !fseeko;
9710  }  }
9711  _ACEOF  _ACEOF
9712  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
9713  if { (eval echo "$as_me:9705: \"$ac_compile\"") >&5  if { (eval echo "$as_me:9713: \"$ac_compile\"") >&5
9714    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
9715    ac_status=$?    ac_status=$?
9716    echo "$as_me:9708: \$? = $ac_status" >&5    echo "$as_me:9716: \$? = $ac_status" >&5
9717    (exit $ac_status); } &&    (exit $ac_status); } &&
9718           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
9719    { (eval echo "$as_me:9711: \"$ac_try\"") >&5    { (eval echo "$as_me:9719: \"$ac_try\"") >&5
9720    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9721    ac_status=$?    ac_status=$?
9722    echo "$as_me:9714: \$? = $ac_status" >&5    echo "$as_me:9722: \$? = $ac_status" >&5
9723    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9724    ac_cv_sys_largefile_source=1; break    ac_cv_sys_largefile_source=1; break
9725  else  else
# Line 9722  rm -f conftest.$ac_objext conftest.$ac_e Line 9730  rm -f conftest.$ac_objext conftest.$ac_e
9730    break    break
9731  done  done
9732  fi  fi
9733  echo "$as_me:9725: result: $ac_cv_sys_largefile_source" >&5  echo "$as_me:9733: result: $ac_cv_sys_largefile_source" >&5
9734  echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6  echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
9735  if test "$ac_cv_sys_largefile_source" != no; then  if test "$ac_cv_sys_largefile_source" != no; then
9736    
# Line 9736  rm -f conftest* Line 9744  rm -f conftest*
9744  # 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
9745  # in glibc 2.1.3, but that breaks too many other things.  # in glibc 2.1.3, but that breaks too many other things.
9746  # 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.
9747  echo "$as_me:9739: checking for fseeko" >&5  echo "$as_me:9747: checking for fseeko" >&5
9748  echo $ECHO_N "checking for fseeko... $ECHO_C" >&6  echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
9749  if test "${ac_cv_func_fseeko+set}" = set; then  if test "${ac_cv_func_fseeko+set}" = set; then
9750    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9751  else  else
9752    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9753  #line 9745 "configure"  #line 9753 "configure"
9754  #include "confdefs.h"  #include "confdefs.h"
9755  #include <stdio.h>  #include <stdio.h>
9756  int  int
# Line 9754  return fseeko && fseeko (stdin, 0, 0); Line 9762  return fseeko && fseeko (stdin, 0, 0);
9762  }  }
9763  _ACEOF  _ACEOF
9764  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9765  if { (eval echo "$as_me:9757: \"$ac_link\"") >&5  if { (eval echo "$as_me:9765: \"$ac_link\"") >&5
9766    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9767    ac_status=$?    ac_status=$?
9768    echo "$as_me:9760: \$? = $ac_status" >&5    echo "$as_me:9768: \$? = $ac_status" >&5
9769    (exit $ac_status); } &&    (exit $ac_status); } &&
9770           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9771    { (eval echo "$as_me:9763: \"$ac_try\"") >&5    { (eval echo "$as_me:9771: \"$ac_try\"") >&5
9772    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9773    ac_status=$?    ac_status=$?
9774    echo "$as_me:9766: \$? = $ac_status" >&5    echo "$as_me:9774: \$? = $ac_status" >&5
9775    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9776    ac_cv_func_fseeko=yes    ac_cv_func_fseeko=yes
9777  else  else
# Line 9773  ac_cv_func_fseeko=no Line 9781  ac_cv_func_fseeko=no
9781  fi  fi
9782  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9783  fi  fi
9784  echo "$as_me:9776: result: $ac_cv_func_fseeko" >&5  echo "$as_me:9784: result: $ac_cv_func_fseeko" >&5
9785  echo "${ECHO_T}$ac_cv_func_fseeko" >&6  echo "${ECHO_T}$ac_cv_func_fseeko" >&6
9786  if test $ac_cv_func_fseeko = yes; then  if test $ac_cv_func_fseeko = yes; then
9787    
# Line 9788  fi Line 9796  fi
9796  for ac_func in grantpt  for ac_func in grantpt
9797  do  do
9798  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9799  echo "$as_me:9791: checking for $ac_func" >&5  echo "$as_me:9799: checking for $ac_func" >&5
9800  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9801  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
9802    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9803  else  else
9804    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9805  #line 9797 "configure"  #line 9805 "configure"
9806  #include "confdefs.h"  #include "confdefs.h"
9807  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
9808      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 9825  f = $ac_func; Line 9833  f = $ac_func;
9833  }  }
9834  _ACEOF  _ACEOF
9835  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9836  if { (eval echo "$as_me:9828: \"$ac_link\"") >&5  if { (eval echo "$as_me:9836: \"$ac_link\"") >&5
9837    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9838    ac_status=$?    ac_status=$?
9839    echo "$as_me:9831: \$? = $ac_status" >&5    echo "$as_me:9839: \$? = $ac_status" >&5
9840    (exit $ac_status); } &&    (exit $ac_status); } &&
9841           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9842    { (eval echo "$as_me:9834: \"$ac_try\"") >&5    { (eval echo "$as_me:9842: \"$ac_try\"") >&5
9843    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9844    ac_status=$?    ac_status=$?
9845    echo "$as_me:9837: \$? = $ac_status" >&5    echo "$as_me:9845: \$? = $ac_status" >&5
9846    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9847    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
9848  else  else
# Line 9844  eval "$as_ac_var=no" Line 9852  eval "$as_ac_var=no"
9852  fi  fi
9853  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9854  fi  fi
9855  echo "$as_me:9847: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:9855: result: `eval echo '${'$as_ac_var'}'`" >&5
9856  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9857  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
9858    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 9859  done Line 9867  done
9867  for ac_func in getpt  for ac_func in getpt
9868  do  do
9869  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9870  echo "$as_me:9862: checking for $ac_func" >&5  echo "$as_me:9870: checking for $ac_func" >&5
9871  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9872  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
9873    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9874  else  else
9875    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9876  #line 9868 "configure"  #line 9876 "configure"
9877  #include "confdefs.h"  #include "confdefs.h"
9878  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
9879      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 9896  f = $ac_func; Line 9904  f = $ac_func;
9904  }  }
9905  _ACEOF  _ACEOF
9906  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9907  if { (eval echo "$as_me:9899: \"$ac_link\"") >&5  if { (eval echo "$as_me:9907: \"$ac_link\"") >&5
9908    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9909    ac_status=$?    ac_status=$?
9910    echo "$as_me:9902: \$? = $ac_status" >&5    echo "$as_me:9910: \$? = $ac_status" >&5
9911    (exit $ac_status); } &&    (exit $ac_status); } &&
9912           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9913    { (eval echo "$as_me:9905: \"$ac_try\"") >&5    { (eval echo "$as_me:9913: \"$ac_try\"") >&5
9914    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9915    ac_status=$?    ac_status=$?
9916    echo "$as_me:9908: \$? = $ac_status" >&5    echo "$as_me:9916: \$? = $ac_status" >&5
9917    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9918    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
9919  else  else
# Line 9915  eval "$as_ac_var=no" Line 9923  eval "$as_ac_var=no"
9923  fi  fi
9924  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9925  fi  fi
9926  echo "$as_me:9918: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:9926: result: `eval echo '${'$as_ac_var'}'`" >&5
9927  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9928  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
9929    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 9930  done Line 9938  done
9938  # It's better to believe a function is not available  # It's better to believe a function is not available
9939  # than to expect to find it in ncurses.  # than to expect to find it in ncurses.
9940    
9941  echo "$as_me:9933: checking for tparm in -lncurses" >&5  echo "$as_me:9941: checking for tparm in -lncurses" >&5
9942  echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6  echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6
9943  if test "${ac_cv_lib_ncurses_tparm+set}" = set; then  if test "${ac_cv_lib_ncurses_tparm+set}" = set; then
9944    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 9938  else Line 9946  else
9946    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
9947  LIBS="-lncurses  $LIBS"  LIBS="-lncurses  $LIBS"
9948  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
9949  #line 9941 "configure"  #line 9949 "configure"
9950  #include "confdefs.h"  #include "confdefs.h"
9951    
9952  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 9957  tparm (); Line 9965  tparm ();
9965  }  }
9966  _ACEOF  _ACEOF
9967  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9968  if { (eval echo "$as_me:9960: \"$ac_link\"") >&5  if { (eval echo "$as_me:9968: \"$ac_link\"") >&5
9969    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9970    ac_status=$?    ac_status=$?
9971    echo "$as_me:9963: \$? = $ac_status" >&5    echo "$as_me:9971: \$? = $ac_status" >&5
9972    (exit $ac_status); } &&    (exit $ac_status); } &&
9973           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9974    { (eval echo "$as_me:9966: \"$ac_try\"") >&5    { (eval echo "$as_me:9974: \"$ac_try\"") >&5
9975    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9976    ac_status=$?    ac_status=$?
9977    echo "$as_me:9969: \$? = $ac_status" >&5    echo "$as_me:9977: \$? = $ac_status" >&5
9978    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9979    ac_cv_lib_ncurses_tparm=yes    ac_cv_lib_ncurses_tparm=yes
9980  else  else
# Line 9977  fi Line 9985  fi
9985  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9986  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
9987  fi  fi
9988  echo "$as_me:9980: result: $ac_cv_lib_ncurses_tparm" >&5  echo "$as_me:9988: result: $ac_cv_lib_ncurses_tparm" >&5
9989  echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6  echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6
9990  if test $ac_cv_lib_ncurses_tparm = yes; then  if test $ac_cv_lib_ncurses_tparm = yes; then
9991    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 9992  fi Line 10000  fi
10000  if test "$with_hesiod" = yes ; then  if test "$with_hesiod" = yes ; then
10001    # Don't set $LIBS here -- see comments above.    # Don't set $LIBS here -- see comments above.
10002    resolv=no    resolv=no
10003    echo "$as_me:9995: checking for res_send" >&5    echo "$as_me:10003: checking for res_send" >&5
10004  echo $ECHO_N "checking for res_send... $ECHO_C" >&6  echo $ECHO_N "checking for res_send... $ECHO_C" >&6
10005  if test "${ac_cv_func_res_send+set}" = set; then  if test "${ac_cv_func_res_send+set}" = set; then
10006    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
10007  else  else
10008    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
10009  #line 10001 "configure"  #line 10009 "configure"
10010  #include "confdefs.h"  #include "confdefs.h"
10011  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
10012      which can conflict with char res_send (); below.  */      which can conflict with char res_send (); below.  */
# Line 10029  f = res_send; Line 10037  f = res_send;
10037  }  }
10038  _ACEOF  _ACEOF
10039  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10040  if { (eval echo "$as_me:10032: \"$ac_link\"") >&5  if { (eval echo "$as_me:10040: \"$ac_link\"") >&5
10041    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10042    ac_status=$?    ac_status=$?
10043    echo "$as_me:10035: \$? = $ac_status" >&5    echo "$as_me:10043: \$? = $ac_status" >&5
10044    (exit $ac_status); } &&    (exit $ac_status); } &&
10045           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10046    { (eval echo "$as_me:10038: \"$ac_try\"") >&5    { (eval echo "$as_me:10046: \"$ac_try\"") >&5
10047    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10048    ac_status=$?    ac_status=$?
10049    echo "$as_me:10041: \$? = $ac_status" >&5    echo "$as_me:10049: \$? = $ac_status" >&5
10050    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10051    ac_cv_func_res_send=yes    ac_cv_func_res_send=yes
10052  else  else
# Line 10048  ac_cv_func_res_send=no Line 10056  ac_cv_func_res_send=no
10056  fi  fi
10057  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10058  fi  fi
10059  echo "$as_me:10051: result: $ac_cv_func_res_send" >&5  echo "$as_me:10059: result: $ac_cv_func_res_send" >&5
10060  echo "${ECHO_T}$ac_cv_func_res_send" >&6  echo "${ECHO_T}$ac_cv_func_res_send" >&6
10061  if test $ac_cv_func_res_send = yes; then  if test $ac_cv_func_res_send = yes; then
10062    :    :
10063  else  else
10064    echo "$as_me:10056: checking for __res_send" >&5    echo "$as_me:10064: checking for __res_send" >&5
10065  echo $ECHO_N "checking for __res_send... $ECHO_C" >&6  echo $ECHO_N "checking for __res_send... $ECHO_C" >&6
10066  if test "${ac_cv_func___res_send+set}" = set; then  if test "${ac_cv_func___res_send+set}" = set; then
10067    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
10068  else  else
10069    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
10070  #line 10062 "configure"  #line 10070 "configure"
10071  #include "confdefs.h"  #include "confdefs.h"
10072  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
10073      which can conflict with char __res_send (); below.  */      which can conflict with char __res_send (); below.  */
# Line 10090  f = __res_send; Line 10098  f = __res_send;
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:10093: \"$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:10096: \$? = $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:10099: \"$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:10102: \$? = $ac_status" >&5    echo "$as_me:10110: \$? = $ac_status" >&5
10111    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10112    ac_cv_func___res_send=yes    ac_cv_func___res_send=yes
10113  else  else
# Line 10109  ac_cv_func___res_send=no Line 10117  ac_cv_func___res_send=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:10112: result: $ac_cv_func___res_send" >&5  echo "$as_me:10120: result: $ac_cv_func___res_send" >&5
10121  echo "${ECHO_T}$ac_cv_func___res_send" >&6  echo "${ECHO_T}$ac_cv_func___res_send" >&6
10122  if test $ac_cv_func___res_send = yes; then  if test $ac_cv_func___res_send = yes; then
10123    :    :
10124  else  else
10125    echo "$as_me:10117: checking for res_send in -lresolv" >&5    echo "$as_me:10125: checking for res_send in -lresolv" >&5
10126  echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6  echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6
10127  if test "${ac_cv_lib_resolv_res_send+set}" = set; then  if test "${ac_cv_lib_resolv_res_send+set}" = set; then
10128    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10122  else Line 10130  else
10130    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10131  LIBS="-lresolv  $LIBS"  LIBS="-lresolv  $LIBS"
10132  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10133  #line 10125 "configure"  #line 10133 "configure"
10134  #include "confdefs.h"  #include "confdefs.h"
10135    
10136  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10141  res_send (); Line 10149  res_send ();
10149  }  }
10150  _ACEOF  _ACEOF
10151  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10152  if { (eval echo "$as_me:10144: \"$ac_link\"") >&5  if { (eval echo "$as_me:10152: \"$ac_link\"") >&5
10153    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10154    ac_status=$?    ac_status=$?
10155    echo "$as_me:10147: \$? = $ac_status" >&5    echo "$as_me:10155: \$? = $ac_status" >&5
10156    (exit $ac_status); } &&    (exit $ac_status); } &&
10157           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10158    { (eval echo "$as_me:10150: \"$ac_try\"") >&5    { (eval echo "$as_me:10158: \"$ac_try\"") >&5
10159    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10160    ac_status=$?    ac_status=$?
10161    echo "$as_me:10153: \$? = $ac_status" >&5    echo "$as_me:10161: \$? = $ac_status" >&5
10162    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10163    ac_cv_lib_resolv_res_send=yes    ac_cv_lib_resolv_res_send=yes
10164  else  else
# Line 10161  fi Line 10169  fi
10169  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10170  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10171  fi  fi
10172  echo "$as_me:10164: result: $ac_cv_lib_resolv_res_send" >&5  echo "$as_me:10172: result: $ac_cv_lib_resolv_res_send" >&5
10173  echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6  echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6
10174  if test $ac_cv_lib_resolv_res_send = yes; then  if test $ac_cv_lib_resolv_res_send = yes; then
10175    resolv=yes    resolv=yes
10176  else  else
10177    echo "$as_me:10169: checking for __res_send in -lresolv" >&5    echo "$as_me:10177: checking for __res_send in -lresolv" >&5
10178  echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6  echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6
10179  if test "${ac_cv_lib_resolv___res_send+set}" = set; then  if test "${ac_cv_lib_resolv___res_send+set}" = set; then
10180    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10174  else Line 10182  else
10182    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10183  LIBS="-lresolv  $LIBS"  LIBS="-lresolv  $LIBS"
10184  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10185  #line 10177 "configure"  #line 10185 "configure"
10186  #include "confdefs.h"  #include "confdefs.h"
10187    
10188  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10193  __res_send (); Line 10201  __res_send ();
10201  }  }
10202  _ACEOF  _ACEOF
10203  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10204  if { (eval echo "$as_me:10196: \"$ac_link\"") >&5  if { (eval echo "$as_me:10204: \"$ac_link\"") >&5
10205    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10206    ac_status=$?    ac_status=$?
10207    echo "$as_me:10199: \$? = $ac_status" >&5    echo "$as_me:10207: \$? = $ac_status" >&5
10208    (exit $ac_status); } &&    (exit $ac_status); } &&
10209           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10210    { (eval echo "$as_me:10202: \"$ac_try\"") >&5    { (eval echo "$as_me:10210: \"$ac_try\"") >&5
10211    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10212    ac_status=$?    ac_status=$?
10213    echo "$as_me:10205: \$? = $ac_status" >&5    echo "$as_me:10213: \$? = $ac_status" >&5
10214    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10215    ac_cv_lib_resolv___res_send=yes    ac_cv_lib_resolv___res_send=yes
10216  else  else
# Line 10213  fi Line 10221  fi
10221  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10222  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10223  fi  fi
10224  echo "$as_me:10216: result: $ac_cv_lib_resolv___res_send" >&5  echo "$as_me:10224: result: $ac_cv_lib_resolv___res_send" >&5
10225  echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6  echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6
10226  if test $ac_cv_lib_resolv___res_send = yes; then  if test $ac_cv_lib_resolv___res_send = yes; then
10227    resolv=yes    resolv=yes
# Line 10234  EOF Line 10242  EOF
10242    else    else
10243      RESOLVLIB=      RESOLVLIB=
10244    fi    fi
10245    echo "$as_me:10237: checking for hes_getmailhost" >&5    echo "$as_me:10245: checking for hes_getmailhost" >&5
10246  echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6  echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6
10247  if test "${ac_cv_func_hes_getmailhost+set}" = set; then  if test "${ac_cv_func_hes_getmailhost+set}" = set; then
10248    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
10249  else  else
10250    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
10251  #line 10243 "configure"  #line 10251 "configure"
10252  #include "confdefs.h"  #include "confdefs.h"
10253  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
10254      which can conflict with char hes_getmailhost (); below.  */      which can conflict with char hes_getmailhost (); below.  */
# Line 10271  f = hes_getmailhost; Line 10279  f = hes_getmailhost;
10279  }  }
10280  _ACEOF  _ACEOF
10281  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10282  if { (eval echo "$as_me:10274: \"$ac_link\"") >&5  if { (eval echo "$as_me:10282: \"$ac_link\"") >&5
10283    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10284    ac_status=$?    ac_status=$?
10285    echo "$as_me:10277: \$? = $ac_status" >&5    echo "$as_me:10285: \$? = $ac_status" >&5
10286    (exit $ac_status); } &&    (exit $ac_status); } &&
10287           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10288    { (eval echo "$as_me:10280: \"$ac_try\"") >&5    { (eval echo "$as_me:10288: \"$ac_try\"") >&5
10289    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10290    ac_status=$?    ac_status=$?
10291    echo "$as_me:10283: \$? = $ac_status" >&5    echo "$as_me:10291: \$? = $ac_status" >&5
10292    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10293    ac_cv_func_hes_getmailhost=yes    ac_cv_func_hes_getmailhost=yes
10294  else  else
# Line 10290  ac_cv_func_hes_getmailhost=no Line 10298  ac_cv_func_hes_getmailhost=no
10298  fi  fi
10299  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10300  fi  fi
10301  echo "$as_me:10293: result: $ac_cv_func_hes_getmailhost" >&5  echo "$as_me:10301: result: $ac_cv_func_hes_getmailhost" >&5
10302  echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6  echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6
10303  if test $ac_cv_func_hes_getmailhost = yes; then  if test $ac_cv_func_hes_getmailhost = yes; then
10304    :    :
10305  else  else
10306    echo "$as_me:10298: checking for hes_getmailhost in -lhesiod" >&5    echo "$as_me:10306: checking for hes_getmailhost in -lhesiod" >&5
10307  echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6  echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6
10308  if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then  if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then
10309    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10303  else Line 10311  else
10311    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10312  LIBS="-lhesiod $RESOLVLIB $LIBS"  LIBS="-lhesiod $RESOLVLIB $LIBS"
10313  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10314  #line 10306 "configure"  #line 10314 "configure"
10315  #include "confdefs.h"  #include "confdefs.h"
10316    
10317  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10322  hes_getmailhost (); Line 10330  hes_getmailhost ();
10330  }  }
10331  _ACEOF  _ACEOF
10332  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10333  if { (eval echo "$as_me:10325: \"$ac_link\"") >&5  if { (eval echo "$as_me:10333: \"$ac_link\"") >&5
10334    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10335    ac_status=$?    ac_status=$?
10336    echo "$as_me:10328: \$? = $ac_status" >&5    echo "$as_me:10336: \$? = $ac_status" >&5
10337    (exit $ac_status); } &&    (exit $ac_status); } &&
10338           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10339    { (eval echo "$as_me:10331: \"$ac_try\"") >&5    { (eval echo "$as_me:10339: \"$ac_try\"") >&5
10340    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10341    ac_status=$?    ac_status=$?
10342    echo "$as_me:10334: \$? = $ac_status" >&5    echo "$as_me:10342: \$? = $ac_status" >&5
10343    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10344    ac_cv_lib_hesiod_hes_getmailhost=yes    ac_cv_lib_hesiod_hes_getmailhost=yes
10345  else  else
# Line 10342  fi Line 10350  fi
10350  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10351  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10352  fi  fi
10353  echo "$as_me:10345: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5  echo "$as_me:10353: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5
10354  echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6  echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6
10355  if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then  if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then
10356    cat >>confdefs.h <<\EOF    cat >>confdefs.h <<\EOF
# Line 10360  fi Line 10368  fi
10368  # These tell us which Kerberos-related libraries to use.  # These tell us which Kerberos-related libraries to use.
10369  if test "${with_kerberos+set}" = set; then  if test "${with_kerberos+set}" = set; then
10370    
10371  echo "$as_me:10363: checking for com_err in -lcom_err" >&5  echo "$as_me:10371: checking for com_err in -lcom_err" >&5
10372  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
10373  if test "${ac_cv_lib_com_err_com_err+set}" = set; then  if test "${ac_cv_lib_com_err_com_err+set}" = set; then
10374    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10368  else Line 10376  else
10376    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10377  LIBS="-lcom_err  $LIBS"  LIBS="-lcom_err  $LIBS"
10378  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10379  #line 10371 "configure"  #line 10379 "configure"
10380  #include "confdefs.h"  #include "confdefs.h"
10381    
10382  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10387  com_err (); Line 10395  com_err ();
10395  }  }
10396  _ACEOF  _ACEOF
10397  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10398  if { (eval echo "$as_me:10390: \"$ac_link\"") >&5  if { (eval echo "$as_me:10398: \"$ac_link\"") >&5
10399    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10400    ac_status=$?    ac_status=$?
10401    echo "$as_me:10393: \$? = $ac_status" >&5    echo "$as_me:10401: \$? = $ac_status" >&5
10402    (exit $ac_status); } &&    (exit $ac_status); } &&
10403           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10404    { (eval echo "$as_me:10396: \"$ac_try\"") >&5    { (eval echo "$as_me:10404: \"$ac_try\"") >&5
10405    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10406    ac_status=$?    ac_status=$?
10407    echo "$as_me:10399: \$? = $ac_status" >&5    echo "$as_me:10407: \$? = $ac_status" >&5
10408    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10409    ac_cv_lib_com_err_com_err=yes    ac_cv_lib_com_err_com_err=yes
10410  else  else
# Line 10407  fi Line 10415  fi
10415  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10416  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10417  fi  fi
10418  echo "$as_me:10410: result: $ac_cv_lib_com_err_com_err" >&5  echo "$as_me:10418: result: $ac_cv_lib_com_err_com_err" >&5
10419  echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6  echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6
10420  if test $ac_cv_lib_com_err_com_err = yes; then  if test $ac_cv_lib_com_err_com_err = yes; then
10421    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10418  EOF Line 10426  EOF
10426    
10427  fi  fi
10428    
10429  echo "$as_me:10421: checking for mit_des_cbc_encrypt in -lk5crypto" >&5  echo "$as_me:10429: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
10430  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
10431  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
10432    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10426  else Line 10434  else
10434    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10435  LIBS="-lk5crypto  $LIBS"  LIBS="-lk5crypto  $LIBS"
10436  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10437  #line 10429 "configure"  #line 10437 "configure"
10438  #include "confdefs.h"  #include "confdefs.h"
10439    
10440  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10445  mit_des_cbc_encrypt (); Line 10453  mit_des_cbc_encrypt ();
10453  }  }
10454  _ACEOF  _ACEOF
10455  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10456  if { (eval echo "$as_me:10448: \"$ac_link\"") >&5  if { (eval echo "$as_me:10456: \"$ac_link\"") >&5
10457    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10458    ac_status=$?    ac_status=$?
10459    echo "$as_me:10451: \$? = $ac_status" >&5    echo "$as_me:10459: \$? = $ac_status" >&5
10460    (exit $ac_status); } &&    (exit $ac_status); } &&
10461           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10462    { (eval echo "$as_me:10454: \"$ac_try\"") >&5    { (eval echo "$as_me:10462: \"$ac_try\"") >&5
10463    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10464    ac_status=$?    ac_status=$?
10465    echo "$as_me:10457: \$? = $ac_status" >&5    echo "$as_me:10465: \$? = $ac_status" >&5
10466    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10467    ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes    ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes
10468  else  else
# Line 10465  fi Line 10473  fi
10473  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10474  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10475  fi  fi
10476  echo "$as_me:10468: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5  echo "$as_me:10476: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5
10477  echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6  echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6
10478  if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then  if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then
10479    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10476  EOF Line 10484  EOF
10484    
10485  fi  fi
10486    
10487  echo "$as_me:10479: checking for mit_des_cbc_encrypt in -lcrypto" >&5  echo "$as_me:10487: checking for mit_des_cbc_encrypt in -lcrypto" >&5
10488  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
10489  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
10490    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10484  else Line 10492  else
10492    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10493  LIBS="-lcrypto  $LIBS"  LIBS="-lcrypto  $LIBS"
10494  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10495  #line 10487 "configure"  #line 10495 "configure"
10496  #include "confdefs.h"  #include "confdefs.h"
10497    
10498  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10503  mit_des_cbc_encrypt (); Line 10511  mit_des_cbc_encrypt ();
10511  }  }
10512  _ACEOF  _ACEOF
10513  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10514  if { (eval echo "$as_me:10506: \"$ac_link\"") >&5  if { (eval echo "$as_me:10514: \"$ac_link\"") >&5
10515    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10516    ac_status=$?    ac_status=$?
10517    echo "$as_me:10509: \$? = $ac_status" >&5    echo "$as_me:10517: \$? = $ac_status" >&5
10518    (exit $ac_status); } &&    (exit $ac_status); } &&
10519           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10520    { (eval echo "$as_me:10512: \"$ac_try\"") >&5    { (eval echo "$as_me:10520: \"$ac_try\"") >&5
10521    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10522    ac_status=$?    ac_status=$?
10523    echo "$as_me:10515: \$? = $ac_status" >&5    echo "$as_me:10523: \$? = $ac_status" >&5
10524    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10525    ac_cv_lib_crypto_mit_des_cbc_encrypt=yes    ac_cv_lib_crypto_mit_des_cbc_encrypt=yes
10526  else  else
# Line 10523  fi Line 10531  fi
10531  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10532  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10533  fi  fi
10534  echo "$as_me:10526: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5  echo "$as_me:10534: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5
10535  echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6  echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6
10536  if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then  if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then
10537    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10534  EOF Line 10542  EOF
10542    
10543  fi  fi
10544    
10545  echo "$as_me:10537: checking for krb5_init_context in -lkrb5" >&5  echo "$as_me:10545: checking for krb5_init_context in -lkrb5" >&5
10546  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
10547  if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then  if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then
10548    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10542  else Line 10550  else
10550    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10551  LIBS="-lkrb5  $LIBS"  LIBS="-lkrb5  $LIBS"
10552  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10553  #line 10545 "configure"  #line 10553 "configure"
10554  #include "confdefs.h"  #include "confdefs.h"
10555    
10556  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10561  krb5_init_context (); Line 10569  krb5_init_context ();
10569  }  }
10570  _ACEOF  _ACEOF
10571  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10572  if { (eval echo "$as_me:10564: \"$ac_link\"") >&5  if { (eval echo "$as_me:10572: \"$ac_link\"") >&5
10573    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10574    ac_status=$?    ac_status=$?
10575    echo "$as_me:10567: \$? = $ac_status" >&5    echo "$as_me:10575: \$? = $ac_status" >&5
10576    (exit $ac_status); } &&    (exit $ac_status); } &&
10577           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10578    { (eval echo "$as_me:10570: \"$ac_try\"") >&5    { (eval echo "$as_me:10578: \"$ac_try\"") >&5
10579    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10580    ac_status=$?    ac_status=$?
10581    echo "$as_me:10573: \$? = $ac_status" >&5    echo "$as_me:10581: \$? = $ac_status" >&5
10582    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10583    ac_cv_lib_krb5_krb5_init_context=yes    ac_cv_lib_krb5_krb5_init_context=yes
10584  else  else
# Line 10581  fi Line 10589  fi
10589  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10590  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10591  fi  fi
10592  echo "$as_me:10584: result: $ac_cv_lib_krb5_krb5_init_context" >&5  echo "$as_me:10592: result: $ac_cv_lib_krb5_krb5_init_context" >&5
10593  echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6  echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6
10594  if test $ac_cv_lib_krb5_krb5_init_context = yes; then  if test $ac_cv_lib_krb5_krb5_init_context = yes; then
10595    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10594  fi Line 10602  fi
10602    
10603    if test "${with_kerberos5+set}" != set; then    if test "${with_kerberos5+set}" != set; then
10604    
10605  echo "$as_me:10597: checking for des_cbc_encrypt in -ldes425" >&5  echo "$as_me:10605: checking for des_cbc_encrypt in -ldes425" >&5
10606  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
10607  if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then  if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then
10608    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10602  else Line 10610  else
10610    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10611  LIBS="-ldes425  $LIBS"  LIBS="-ldes425  $LIBS"
10612  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10613  #line 10605 "configure"  #line 10613 "configure"
10614  #include "confdefs.h"  #include "confdefs.h"
10615    
10616  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10621  des_cbc_encrypt (); Line 10629  des_cbc_encrypt ();
10629  }  }
10630  _ACEOF  _ACEOF
10631  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10632  if { (eval echo "$as_me:10624: \"$ac_link\"") >&5  if { (eval echo "$as_me:10632: \"$ac_link\"") >&5
10633    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10634    ac_status=$?    ac_status=$?
10635    echo "$as_me:10627: \$? = $ac_status" >&5    echo "$as_me:10635: \$? = $ac_status" >&5
10636    (exit $ac_status); } &&    (exit $ac_status); } &&
10637           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10638    { (eval echo "$as_me:10630: \"$ac_try\"") >&5    { (eval echo "$as_me:10638: \"$ac_try\"") >&5
10639    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10640    ac_status=$?    ac_status=$?
10641    echo "$as_me:10633: \$? = $ac_status" >&5    echo "$as_me:10641: \$? = $ac_status" >&5
10642    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10643    ac_cv_lib_des425_des_cbc_encrypt=yes    ac_cv_lib_des425_des_cbc_encrypt=yes
10644  else  else
# Line 10641  fi Line 10649  fi
10649  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10650  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10651  fi  fi
10652  echo "$as_me:10644: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5  echo "$as_me:10652: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
10653  echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6  echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6
10654  if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then  if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then
10655    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10652  EOF Line 10660  EOF
10660    
10661  else  else
10662    
10663  echo "$as_me:10655: checking for des_cbc_encrypt in -ldes" >&5  echo "$as_me:10663: checking for des_cbc_encrypt in -ldes" >&5
10664  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
10665  if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then  if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then
10666    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10660  else Line 10668  else
10668    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10669  LIBS="-ldes  $LIBS"  LIBS="-ldes  $LIBS"
10670  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10671  #line 10663 "configure"  #line 10671 "configure"
10672  #include "confdefs.h"  #include "confdefs.h"
10673    
10674  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10679  des_cbc_encrypt (); Line 10687  des_cbc_encrypt ();
10687  }  }
10688  _ACEOF  _ACEOF
10689  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10690  if { (eval echo "$as_me:10682: \"$ac_link\"") >&5  if { (eval echo "$as_me:10690: \"$ac_link\"") >&5
10691    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10692    ac_status=$?    ac_status=$?
10693    echo "$as_me:10685: \$? = $ac_status" >&5    echo "$as_me:10693: \$? = $ac_status" >&5
10694    (exit $ac_status); } &&    (exit $ac_status); } &&
10695           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10696    { (eval echo "$as_me:10688: \"$ac_try\"") >&5    { (eval echo "$as_me:10696: \"$ac_try\"") >&5
10697    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10698    ac_status=$?    ac_status=$?
10699    echo "$as_me:10691: \$? = $ac_status" >&5    echo "$as_me:10699: \$? = $ac_status" >&5
10700    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10701    ac_cv_lib_des_des_cbc_encrypt=yes    ac_cv_lib_des_des_cbc_encrypt=yes
10702  else  else
# Line 10699  fi Line 10707  fi
10707  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10708  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10709  fi  fi
10710  echo "$as_me:10702: result: $ac_cv_lib_des_des_cbc_encrypt" >&5  echo "$as_me:10710: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
10711  echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6  echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6
10712  if test $ac_cv_lib_des_des_cbc_encrypt = yes; then  if test $ac_cv_lib_des_des_cbc_encrypt = yes; then
10713    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10712  fi Line 10720  fi
10720    
10721  fi  fi
10722    
10723  echo "$as_me:10715: checking for krb_get_cred in -lkrb4" >&5  echo "$as_me:10723: checking for krb_get_cred in -lkrb4" >&5
10724  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
10725  if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then  if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then
10726    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10720  else Line 10728  else
10728    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10729  LIBS="-lkrb4  $LIBS"  LIBS="-lkrb4  $LIBS"
10730  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10731  #line 10723 "configure"  #line 10731 "configure"
10732  #include "confdefs.h"  #include "confdefs.h"
10733    
10734  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10739  krb_get_cred (); Line 10747  krb_get_cred ();
10747  }  }
10748  _ACEOF  _ACEOF
10749  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10750  if { (eval echo "$as_me:10742: \"$ac_link\"") >&5  if { (eval echo "$as_me:10750: \"$ac_link\"") >&5
10751    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10752    ac_status=$?    ac_status=$?
10753    echo "$as_me:10745: \$? = $ac_status" >&5    echo "$as_me:10753: \$? = $ac_status" >&5
10754    (exit $ac_status); } &&    (exit $ac_status); } &&
10755           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10756    { (eval echo "$as_me:10748: \"$ac_try\"") >&5    { (eval echo "$as_me:10756: \"$ac_try\"") >&5
10757    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10758    ac_status=$?    ac_status=$?
10759    echo "$as_me:10751: \$? = $ac_status" >&5    echo "$as_me:10759: \$? = $ac_status" >&5
10760    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10761    ac_cv_lib_krb4_krb_get_cred=yes    ac_cv_lib_krb4_krb_get_cred=yes
10762  else  else
# Line 10759  fi Line 10767  fi
10767  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10768  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10769  fi  fi
10770  echo "$as_me:10762: result: $ac_cv_lib_krb4_krb_get_cred" >&5  echo "$as_me:10770: result: $ac_cv_lib_krb4_krb_get_cred" >&5
10771  echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6  echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6
10772  if test $ac_cv_lib_krb4_krb_get_cred = yes; then  if test $ac_cv_lib_krb4_krb_get_cred = yes; then
10773    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10770  EOF Line 10778  EOF
10778    
10779  else  else
10780    
10781  echo "$as_me:10773: checking for krb_get_cred in -lkrb" >&5  echo "$as_me:10781: checking for krb_get_cred in -lkrb" >&5
10782  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
10783  if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then  if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then
10784    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10778  else Line 10786  else
10786    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10787  LIBS="-lkrb  $LIBS"  LIBS="-lkrb  $LIBS"
10788  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10789  #line 10781 "configure"  #line 10789 "configure"
10790  #include "confdefs.h"  #include "confdefs.h"
10791    
10792  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10797  krb_get_cred (); Line 10805  krb_get_cred ();
10805  }  }
10806  _ACEOF  _ACEOF
10807  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10808  if { (eval echo "$as_me:10800: \"$ac_link\"") >&5  if { (eval echo "$as_me:10808: \"$ac_link\"") >&5
10809    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10810    ac_status=$?    ac_status=$?
10811    echo "$as_me:10803: \$? = $ac_status" >&5    echo "$as_me:10811: \$? = $ac_status" >&5
10812    (exit $ac_status); } &&    (exit $ac_status); } &&
10813           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10814    { (eval echo "$as_me:10806: \"$ac_try\"") >&5    { (eval echo "$as_me:10814: \"$ac_try\"") >&5
10815    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10816    ac_status=$?    ac_status=$?
10817    echo "$as_me:10809: \$? = $ac_status" >&5    echo "$as_me:10817: \$? = $ac_status" >&5
10818    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10819    ac_cv_lib_krb_krb_get_cred=yes    ac_cv_lib_krb_krb_get_cred=yes
10820  else  else
# Line 10817  fi Line 10825  fi
10825  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10826  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10827  fi  fi
10828  echo "$as_me:10820: result: $ac_cv_lib_krb_krb_get_cred" >&5  echo "$as_me:10828: result: $ac_cv_lib_krb_krb_get_cred" >&5
10829  echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6  echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6
10830  if test $ac_cv_lib_krb_krb_get_cred = yes; then  if test $ac_cv_lib_krb_krb_get_cred = yes; then
10831    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10837  fi Line 10845  fi
10845  for ac_header in krb5.h  for ac_header in krb5.h
10846  do  do
10847  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10848  echo "$as_me:10840: checking for $ac_header" >&5  echo "$as_me:10848: checking for $ac_header" >&5
10849  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10850  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
10851    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
10852  else  else
10853    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
10854  #line 10846 "configure"  #line 10854 "configure"
10855  #include "confdefs.h"  #include "confdefs.h"
10856  #include <$ac_header>  #include <$ac_header>
10857  _ACEOF  _ACEOF
10858  if { (eval echo "$as_me:10850: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:10858: \"$ac_cpp conftest.$ac_ext\"") >&5
10859    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10860    ac_status=$?    ac_status=$?
10861    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
10862    rm -f conftest.er1    rm -f conftest.er1
10863    cat conftest.err >&5    cat conftest.err >&5
10864    echo "$as_me:10856: \$? = $ac_status" >&5    echo "$as_me:10864: \$? = $ac_status" >&5
10865    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
10866    if test -s conftest.err; then    if test -s conftest.err; then
10867      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 10872  else Line 10880  else
10880  fi  fi
10881  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
10882  fi  fi
10883  echo "$as_me:10875: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:10883: result: `eval echo '${'$as_ac_Header'}'`" >&5
10884  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10885  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
10886    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10887  done Line 10895  done
10895  for ac_header in des.h  for ac_header in des.h
10896  do  do
10897  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10898  echo "$as_me:10890: checking for $ac_header" >&5  echo "$as_me:10898: checking for $ac_header" >&5
10899  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10900  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
10901    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
10902  else  else
10903    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
10904  #line 10896 "configure"  #line 10904 "configure"
10905  #include "confdefs.h"  #include "confdefs.h"
10906  #include <$ac_header>  #include <$ac_header>
10907  _ACEOF  _ACEOF
10908  if { (eval echo "$as_me:10900: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:10908: \"$ac_cpp conftest.$ac_ext\"") >&5
10909    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10910    ac_status=$?    ac_status=$?
10911    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
10912    rm -f conftest.er1    rm -f conftest.er1
10913    cat conftest.err >&5    cat conftest.err >&5
10914    echo "$as_me:10906: \$? = $ac_status" >&5    echo "$as_me:10914: \$? = $ac_status" >&5
10915    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
10916    if test -s conftest.err; then    if test -s conftest.err; then
10917      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 10922  else Line 10930  else
10930  fi  fi
10931  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
10932  fi  fi
10933  echo "$as_me:10925: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:10933: result: `eval echo '${'$as_ac_Header'}'`" >&5
10934  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10935  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
10936    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10934  else Line 10942  else
10942  for ac_header in kerberosIV/des.h  for ac_header in kerberosIV/des.h
10943  do  do
10944  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10945  echo "$as_me:10937: checking for $ac_header" >&5  echo "$as_me:10945: checking for $ac_header" >&5
10946  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10947  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
10948    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
10949  else  else
10950    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
10951  #line 10943 "configure"  #line 10951 "configure"
10952  #include "confdefs.h"  #include "confdefs.h"
10953  #include <$ac_header>  #include <$ac_header>
10954  _ACEOF  _ACEOF
10955  if { (eval echo "$as_me:10947: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:10955: \"$ac_cpp conftest.$ac_ext\"") >&5
10956    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10957    ac_status=$?    ac_status=$?
10958    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
10959    rm -f conftest.er1    rm -f conftest.er1
10960    cat conftest.err >&5    cat conftest.err >&5
10961    echo "$as_me:10953: \$? = $ac_status" >&5    echo "$as_me:10961: \$? = $ac_status" >&5
10962    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
10963    if test -s conftest.err; then    if test -s conftest.err; then
10964      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 10969  else Line 10977  else
10977  fi  fi
10978  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
10979  fi  fi
10980  echo "$as_me:10972: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:10980: result: `eval echo '${'$as_ac_Header'}'`" >&5
10981  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10982  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
10983    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10981  else Line 10989  else
10989  for ac_header in kerberos/des.h  for ac_header in kerberos/des.h
10990  do  do
10991  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10992  echo "$as_me:10984: checking for $ac_header" >&5  echo "$as_me:10992: checking for $ac_header" >&5
10993  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10994  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
10995    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
10996  else  else
10997    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
10998  #line 10990 "configure"  #line 10998 "configure"
10999  #include "confdefs.h"  #include "confdefs.h"
11000  #include <$ac_header>  #include <$ac_header>
11001  _ACEOF  _ACEOF
11002  if { (eval echo "$as_me:10994: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11002: \"$ac_cpp conftest.$ac_ext\"") >&5
11003    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11004    ac_status=$?    ac_status=$?
11005    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11006    rm -f conftest.er1    rm -f conftest.er1
11007    cat conftest.err >&5    cat conftest.err >&5
11008    echo "$as_me:11000: \$? = $ac_status" >&5    echo "$as_me:11008: \$? = $ac_status" >&5
11009    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11010    if test -s conftest.err; then    if test -s conftest.err; then
11011      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11016  else Line 11024  else
11024  fi  fi
11025  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11026  fi  fi
11027  echo "$as_me:11019: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:11027: result: `eval echo '${'$as_ac_Header'}'`" >&5
11028  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11029  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
11030    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11035  done Line 11043  done
11043  for ac_header in krb.h  for ac_header in krb.h
11044  do  do
11045  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11046  echo "$as_me:11038: checking for $ac_header" >&5  echo "$as_me:11046: checking for $ac_header" >&5
11047  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11048  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
11049    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11050  else  else
11051    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11052  #line 11044 "configure"  #line 11052 "configure"
11053  #include "confdefs.h"  #include "confdefs.h"
11054  #include <$ac_header>  #include <$ac_header>
11055  _ACEOF  _ACEOF
11056  if { (eval echo "$as_me:11048: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11056: \"$ac_cpp conftest.$ac_ext\"") >&5
11057    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11058    ac_status=$?    ac_status=$?
11059    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11060    rm -f conftest.er1    rm -f conftest.er1
11061    cat conftest.err >&5    cat conftest.err >&5
11062    echo "$as_me:11054: \$? = $ac_status" >&5    echo "$as_me:11062: \$? = $ac_status" >&5
11063    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11064    if test -s conftest.err; then    if test -s conftest.err; then
11065      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11070  else Line 11078  else
11078  fi  fi
11079  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11080  fi  fi
11081  echo "$as_me:11073: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:11081: result: `eval echo '${'$as_ac_Header'}'`" >&5
11082  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11083  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
11084    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11082  else Line 11090  else
11090  for ac_header in kerberosIV/krb.h  for ac_header in kerberosIV/krb.h
11091  do  do
11092  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11093  echo "$as_me:11085: checking for $ac_header" >&5  echo "$as_me:11093: checking for $ac_header" >&5
11094  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11095  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
11096    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11097  else  else
11098    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11099  #line 11091 "configure"  #line 11099 "configure"
11100  #include "confdefs.h"  #include "confdefs.h"
11101  #include <$ac_header>  #include <$ac_header>
11102  _ACEOF  _ACEOF
11103  if { (eval echo "$as_me:11095: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11103: \"$ac_cpp conftest.$ac_ext\"") >&5
11104    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11105    ac_status=$?    ac_status=$?
11106    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11107    rm -f conftest.er1    rm -f conftest.er1
11108    cat conftest.err >&5    cat conftest.err >&5
11109    echo "$as_me:11101: \$? = $ac_status" >&5    echo "$as_me:11109: \$? = $ac_status" >&5
11110    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11111    if test -s conftest.err; then    if test -s conftest.err; then
11112      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11117  else Line 11125  else
11125  fi  fi
11126  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11127  fi  fi
11128  echo "$as_me:11120: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:11128: result: `eval echo '${'$as_ac_Header'}'`" >&5
11129  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11130  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
11131    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11129  else Line 11137  else
11137  for ac_header in kerberos/krb.h  for ac_header in kerberos/krb.h
11138  do  do
11139  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11140  echo "$as_me:11132: checking for $ac_header" >&5  echo "$as_me:11140: checking for $ac_header" >&5
11141  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11142  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
11143    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11144  else  else
11145    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11146  #line 11138 "configure"  #line 11146 "configure"
11147  #include "confdefs.h"  #include "confdefs.h"
11148  #include <$ac_header>  #include <$ac_header>
11149  _ACEOF  _ACEOF
11150  if { (eval echo "$as_me:11142: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11150: \"$ac_cpp conftest.$ac_ext\"") >&5
11151    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11152    ac_status=$?    ac_status=$?
11153    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11154    rm -f conftest.er1    rm -f conftest.er1
11155    cat conftest.err >&5    cat conftest.err >&5
11156    echo "$as_me:11148: \$? = $ac_status" >&5    echo "$as_me:11156: \$? = $ac_status" >&5
11157    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11158    if test -s conftest.err; then    if test -s conftest.err; then
11159      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11164  else Line 11172  else
11172  fi  fi
11173  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11174  fi  fi
11175  echo "$as_me:11167: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:11175: result: `eval echo '${'$as_ac_Header'}'`" >&5
11176  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11177  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
11178    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11185  done Line 11193  done
11193  for ac_header in com_err.h  for ac_header in com_err.h
11194  do  do
11195  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11196  echo "$as_me:11188: checking for $ac_header" >&5  echo "$as_me:11196: checking for $ac_header" >&5
11197  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11198  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
11199    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11200  else  else
11201    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11202  #line 11194 "configure"  #line 11202 "configure"
11203  #include "confdefs.h"  #include "confdefs.h"
11204  #include <$ac_header>  #include <$ac_header>
11205  _ACEOF  _ACEOF
11206  if { (eval echo "$as_me:11198: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11206: \"$ac_cpp conftest.$ac_ext\"") >&5
11207    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11208    ac_status=$?    ac_status=$?
11209    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11210    rm -f conftest.er1    rm -f conftest.er1
11211    cat conftest.err >&5    cat conftest.err >&5
11212    echo "$as_me:11204: \$? = $ac_status" >&5    echo "$as_me:11212: \$? = $ac_status" >&5
11213    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11214    if test -s conftest.err; then    if test -s conftest.err; then
11215      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11220  else Line 11228  else
11228  fi  fi
11229  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11230  fi  fi
11231  echo "$as_me:11223: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:11231: result: `eval echo '${'$as_ac_Header'}'`" >&5
11232  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11233  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
11234    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11235  fi Line 11243  fi
11243  # Solaris requires -lintl if you want strerror (which calls dgettext)  # Solaris requires -lintl if you want strerror (which calls dgettext)
11244  # to return localized messages.  # to return localized messages.
11245    
11246  echo "$as_me:11238: checking for dgettext in -lintl" >&5  echo "$as_me:11246: checking for dgettext in -lintl" >&5
11247  echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6  echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6
11248  if test "${ac_cv_lib_intl_dgettext+set}" = set; then  if test "${ac_cv_lib_intl_dgettext+set}" = set; then
11249    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 11243  else Line 11251  else
11251    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
11252  LIBS="-lintl  $LIBS"  LIBS="-lintl  $LIBS"
11253  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
11254  #line 11246 "configure"  #line 11254 "configure"
11255  #include "confdefs.h"  #include "confdefs.h"
11256    
11257  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 11262  dgettext (); Line 11270  dgettext ();
11270  }  }
11271  _ACEOF  _ACEOF
11272  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
11273  if { (eval echo "$as_me:11265: \"$ac_link\"") >&5  if { (eval echo "$as_me:11273: \"$ac_link\"") >&5
11274    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
11275    ac_status=$?    ac_status=$?
11276    echo "$as_me:11268: \$? = $ac_status" >&5    echo "$as_me:11276: \$? = $ac_status" >&5
11277    (exit $ac_status); } &&    (exit $ac_status); } &&
11278           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
11279    { (eval echo "$as_me:11271: \"$ac_try\"") >&5    { (eval echo "$as_me:11279: \"$ac_try\"") >&5
11280    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11281    ac_status=$?    ac_status=$?
11282    echo "$as_me:11274: \$? = $ac_status" >&5    echo "$as_me:11282: \$? = $ac_status" >&5
11283    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11284    ac_cv_lib_intl_dgettext=yes    ac_cv_lib_intl_dgettext=yes
11285  else  else
# Line 11282  fi Line 11290  fi
11290  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11291  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
11292  fi  fi
11293  echo "$as_me:11285: result: $ac_cv_lib_intl_dgettext" >&5  echo "$as_me:11293: result: $ac_cv_lib_intl_dgettext" >&5
11294  echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6  echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6
11295  if test $ac_cv_lib_intl_dgettext = yes; then  if test $ac_cv_lib_intl_dgettext = yes; then
11296    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11293  EOF Line 11301  EOF
11301    
11302  fi  fi
11303    
11304  echo "$as_me:11296: checking whether localtime caches TZ" >&5  echo "$as_me:11304: checking whether localtime caches TZ" >&5
11305  echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6  echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6
11306  if test "${emacs_cv_localtime_cache+set}" = set; then  if test "${emacs_cv_localtime_cache+set}" = set; then
11307    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 11304  if test "$cross_compiling" = yes; then Line 11312  if test "$cross_compiling" = yes; then
11312  emacs_cv_localtime_cache=yes  emacs_cv_localtime_cache=yes
11313  else  else
11314    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11315  #line 11307 "configure"  #line 11315 "configure"
11316  #include "confdefs.h"  #include "confdefs.h"
11317  #include <time.h>  #include <time.h>
11318  extern char **environ;  extern char **environ;
# Line 11337  main() Line 11345  main()
11345  }  }
11346  _ACEOF  _ACEOF
11347  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
11348  if { (eval echo "$as_me:11340: \"$ac_link\"") >&5  if { (eval echo "$as_me:11348: \"$ac_link\"") >&5
11349    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
11350    ac_status=$?    ac_status=$?
11351    echo "$as_me:11343: \$? = $ac_status" >&5    echo "$as_me:11351: \$? = $ac_status" >&5
11352    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11353    { (eval echo "$as_me:11345: \"$ac_try\"") >&5    { (eval echo "$as_me:11353: \"$ac_try\"") >&5
11354    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11355    ac_status=$?    ac_status=$?
11356    echo "$as_me:11348: \$? = $ac_status" >&5    echo "$as_me:11356: \$? = $ac_status" >&5
11357    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11358    emacs_cv_localtime_cache=no    emacs_cv_localtime_cache=no
11359  else  else
# Line 11362  else Line 11370  else
11370          emacs_cv_localtime_cache=no          emacs_cv_localtime_cache=no
11371  fi  fi
11372  fi  fi
11373  echo "$as_me:11365: result: $emacs_cv_localtime_cache" >&5  echo "$as_me:11373: result: $emacs_cv_localtime_cache" >&5
11374  echo "${ECHO_T}$emacs_cv_localtime_cache" >&6  echo "${ECHO_T}$emacs_cv_localtime_cache" >&6
11375  if test $emacs_cv_localtime_cache = yes; then  if test $emacs_cv_localtime_cache = yes; then
11376    cat >>confdefs.h <<\EOF    cat >>confdefs.h <<\EOF
# Line 11376  if test "x$HAVE_TIMEVAL" = xyes; then Line 11384  if test "x$HAVE_TIMEVAL" = xyes; then
11384  for ac_func in gettimeofday  for ac_func in gettimeofday
11385  do  do
11386  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11387  echo "$as_me:11379: checking for $ac_func" >&5  echo "$as_me:11387: checking for $ac_func" >&5
11388  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11389  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
11390    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11391  else  else
11392    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11393  #line 11385 "configure"  #line 11393 "configure"
11394  #include "confdefs.h"  #include "confdefs.h"
11395  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
11396      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 11413  f = $ac_func; Line 11421  f = $ac_func;
11421  }  }
11422  _ACEOF  _ACEOF
11423  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
11424  if { (eval echo "$as_me:11416: \"$ac_link\"") >&5  if { (eval echo "$as_me:11424: \"$ac_link\"") >&5
11425    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
11426    ac_status=$?    ac_status=$?
11427    echo "$as_me:11419: \$? = $ac_status" >&5    echo "$as_me:11427: \$? = $ac_status" >&5
11428    (exit $ac_status); } &&    (exit $ac_status); } &&
11429           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
11430    { (eval echo "$as_me:11422: \"$ac_try\"") >&5    { (eval echo "$as_me:11430: \"$ac_try\"") >&5
11431    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11432    ac_status=$?    ac_status=$?
11433    echo "$as_me:11425: \$? = $ac_status" >&5    echo "$as_me:11433: \$? = $ac_status" >&5
11434    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11435    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
11436  else  else
# Line 11432  eval "$as_ac_var=no" Line 11440  eval "$as_ac_var=no"
11440  fi  fi
11441  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11442  fi  fi
11443  echo "$as_me:11435: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:11443: result: `eval echo '${'$as_ac_var'}'`" >&5
11444  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11445  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
11446    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11442  EOF Line 11450  EOF
11450  fi  fi
11451  done  done
11452    
11453    echo "$as_me:11445: checking whether gettimeofday can accept two arguments" >&5    echo "$as_me:11453: checking whether gettimeofday can accept two arguments" >&5
11454  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
11455  if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then  if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
11456    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11457  else  else
11458    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11459  #line 11451 "configure"  #line 11459 "configure"
11460  #include "confdefs.h"  #include "confdefs.h"
11461    
11462  #ifdef TIME_WITH_SYS_TIME  #ifdef TIME_WITH_SYS_TIME
# Line 11471  struct timeval time; Line 11479  struct timeval time;
11479  }  }
11480  _ACEOF  _ACEOF
11481  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
11482  if { (eval echo "$as_me:11474: \"$ac_compile\"") >&5  if { (eval echo "$as_me:11482: \"$ac_compile\"") >&5
11483    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
11484    ac_status=$?    ac_status=$?
11485    echo "$as_me:11477: \$? = $ac_status" >&5    echo "$as_me:11485: \$? = $ac_status" >&5
11486    (exit $ac_status); } &&    (exit $ac_status); } &&
11487           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
11488    { (eval echo "$as_me:11480: \"$ac_try\"") >&5    { (eval echo "$as_me:11488: \"$ac_try\"") >&5
11489    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11490    ac_status=$?    ac_status=$?
11491    echo "$as_me:11483: \$? = $ac_status" >&5    echo "$as_me:11491: \$? = $ac_status" >&5
11492    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11493    emacs_cv_gettimeofday_two_arguments=yes    emacs_cv_gettimeofday_two_arguments=yes
11494  else  else
# Line 11490  emacs_cv_gettimeofday_two_arguments=no Line 11498  emacs_cv_gettimeofday_two_arguments=no
11498  fi  fi
11499  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
11500  fi  fi
11501  echo "$as_me:11493: result: $emacs_cv_gettimeofday_two_arguments" >&5  echo "$as_me:11501: result: $emacs_cv_gettimeofday_two_arguments" >&5
11502  echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6  echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
11503    if test $emacs_cv_gettimeofday_two_arguments = no; then    if test $emacs_cv_gettimeofday_two_arguments = no; then
11504      cat >>confdefs.h <<\EOF      cat >>confdefs.h <<\EOF
# Line 11501  EOF Line 11509  EOF
11509  fi  fi
11510    
11511  if test "$ac_cv_func_gettimeofday" = yes; then  if test "$ac_cv_func_gettimeofday" = yes; then
11512    echo "$as_me:11504: checking for struct timezone" >&5    echo "$as_me:11512: checking for struct timezone" >&5
11513  echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6  echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
11514  if test "${emacs_cv_struct_timezone+set}" = set; then  if test "${emacs_cv_struct_timezone+set}" = set; then
11515    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11516  else  else
11517    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11518  #line 11510 "configure"  #line 11518 "configure"
11519  #include "confdefs.h"  #include "confdefs.h"
11520  #include <sys/time.h>  #include <sys/time.h>
11521  int  int
# Line 11519  struct timezone tz; Line 11527  struct timezone tz;
11527  }  }
11528  _ACEOF  _ACEOF
11529  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
11530  if { (eval echo "$as_me:11522: \"$ac_compile\"") >&5  if { (eval echo "$as_me:11530: \"$ac_compile\"") >&5
11531    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
11532    ac_status=$?    ac_status=$?
11533    echo "$as_me:11525: \$? = $ac_status" >&5    echo "$as_me:11533: \$? = $ac_status" >&5
11534    (exit $ac_status); } &&    (exit $ac_status); } &&
11535           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
11536    { (eval echo "$as_me:11528: \"$ac_try\"") >&5    { (eval echo "$as_me:11536: \"$ac_try\"") >&5
11537    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11538    ac_status=$?    ac_status=$?
11539    echo "$as_me:11531: \$? = $ac_status" >&5    echo "$as_me:11539: \$? = $ac_status" >&5
11540    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11541                if test "$cross_compiling" = yes; then                if test "$cross_compiling" = yes; then
11542    emacs_cv_struct_timezone=yes    emacs_cv_struct_timezone=yes
11543  else  else
11544    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11545  #line 11537 "configure"  #line 11545 "configure"
11546  #include "confdefs.h"  #include "confdefs.h"
11547    
11548  #ifdef TIME_WITH_SYS_TIME  #ifdef TIME_WITH_SYS_TIME
# Line 11554  main () { Line 11562  main () {
11562  }  }
11563  _ACEOF  _ACEOF
11564  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
11565  if { (eval echo "$as_me:11557: \"$ac_link\"") >&5  if { (eval echo "$as_me:11565: \"$ac_link\"") >&5
11566    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
11567    ac_status=$?    ac_status=$?
11568    echo "$as_me:11560: \$? = $ac_status" >&5    echo "$as_me:11568: \$? = $ac_status" >&5
11569    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11570    { (eval echo "$as_me:11562: \"$ac_try\"") >&5    { (eval echo "$as_me:11570: \"$ac_try\"") >&5
11571    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11572    ac_status=$?    ac_status=$?
11573    echo "$as_me:11565: \$? = $ac_status" >&5    echo "$as_me:11573: \$? = $ac_status" >&5
11574    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11575    emacs_cv_struct_timezone=yes    emacs_cv_struct_timezone=yes
11576  else  else
# Line 11580  emacs_cv_struct_timezone=no Line 11588  emacs_cv_struct_timezone=no
11588  fi  fi
11589  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
11590  fi  fi
11591  echo "$as_me:11583: result: $emacs_cv_struct_timezone" >&5  echo "$as_me:11591: result: $emacs_cv_struct_timezone" >&5
11592  echo "${ECHO_T}$emacs_cv_struct_timezone" >&6  echo "${ECHO_T}$emacs_cv_struct_timezone" >&6
11593  fi  fi
11594    
11595  ok_so_far=yes  ok_so_far=yes
11596  echo "$as_me:11588: checking for socket" >&5  echo "$as_me:11596: checking for socket" >&5
11597  echo $ECHO_N "checking for socket... $ECHO_C" >&6  echo $ECHO_N "checking for socket... $ECHO_C" >&6
11598  if test "${ac_cv_func_socket+set}" = set; then  if test "${ac_cv_func_socket+set}" = set; then
11599    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11600  else  else
11601    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11602  #line 11594 "configure"  #line 11602 "configure"
11603  #include "confdefs.h"  #include "confdefs.h"
11604  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
11605      which can conflict with char socket (); below.  */      which can conflict with char socket (); below.  */
# Line 11622  f = socket; Line 11630  f = socket;
11630  }  }
11631  _ACEOF  _ACEOF
11632  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
11633  if { (eval echo "$as_me:11625: \"$ac_link\"") >&5  if { (eval echo "$as_me:11633: \"$ac_link\"") >&5
11634    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
11635    ac_status=$?    ac_status=$?
11636    echo "$as_me:11628: \$? = $ac_status" >&5    echo "$as_me:11636: \$? = $ac_status" >&5
11637    (exit $ac_status); } &&    (exit $ac_status); } &&
11638           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
11639    { (eval echo "$as_me:11631: \"$ac_try\"") >&5    { (eval echo "$as_me:11639: \"$ac_try\"") >&5
11640    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11641    ac_status=$?    ac_status=$?
11642    echo "$as_me:11634: \$? = $ac_status" >&5    echo "$as_me:11642: \$? = $ac_status" >&5
11643    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11644    ac_cv_func_socket=yes    ac_cv_func_socket=yes
11645  else  else
# Line 11641  ac_cv_func_socket=no Line 11649  ac_cv_func_socket=no
11649  fi  fi
11650  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11651  fi  fi
11652  echo "$as_me:11644: result: $ac_cv_func_socket" >&5  echo "$as_me:11652: result: $ac_cv_func_socket" >&5
11653  echo "${ECHO_T}$ac_cv_func_socket" >&6  echo "${ECHO_T}$ac_cv_func_socket" >&6
11654  if test $ac_cv_func_socket = yes; then  if test $ac_cv_func_socket = yes; then
11655    :    :
# Line 11650  else Line 11658  else
11658  fi  fi
11659    
11660  if test $ok_so_far = yes; then  if test $ok_so_far = yes; then
11661    echo "$as_me:11653: checking for netinet/in.h" >&5    echo "$as_me:11661: checking for netinet/in.h" >&5
11662  echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6  echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6
11663  if test "${ac_cv_header_netinet_in_h+set}" = set; then  if test "${ac_cv_header_netinet_in_h+set}" = set; then
11664    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11665  else  else
11666    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11667  #line 11659 "configure"  #line 11667 "configure"
11668  #include "confdefs.h"  #include "confdefs.h"
11669  #include <netinet/in.h>  #include <netinet/in.h>
11670  _ACEOF  _ACEOF
11671  if { (eval echo "$as_me:11663: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11671: \"$ac_cpp conftest.$ac_ext\"") >&5
11672    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11673    ac_status=$?    ac_status=$?
11674    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11675    rm -f conftest.er1    rm -f conftest.er1
11676    cat conftest.err >&5    cat conftest.err >&5
11677    echo "$as_me:11669: \$? = $ac_status" >&5    echo "$as_me:11677: \$? = $ac_status" >&5
11678    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11679    if test -s conftest.err; then    if test -s conftest.err; then
11680      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11685  else Line 11693  else
11693  fi  fi
11694  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11695  fi  fi
11696  echo "$as_me:11688: result: $ac_cv_header_netinet_in_h" >&5  echo "$as_me:11696: result: $ac_cv_header_netinet_in_h" >&5
11697  echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6  echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6
11698  if test $ac_cv_header_netinet_in_h = yes; then  if test $ac_cv_header_netinet_in_h = yes; then
11699    :    :
# Line 11695  fi Line 11703  fi
11703    
11704  fi  fi
11705  if test $ok_so_far = yes; then  if test $ok_so_far = yes; then
11706    echo "$as_me:11698: checking for arpa/inet.h" >&5    echo "$as_me:11706: checking for arpa/inet.h" >&5
11707  echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6  echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6
11708  if test "${ac_cv_header_arpa_inet_h+set}" = set; then  if test "${ac_cv_header_arpa_inet_h+set}" = set; then
11709    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11710  else  else
11711    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11712  #line 11704 "configure"  #line 11712 "configure"
11713  #include "confdefs.h"  #include "confdefs.h"
11714  #include <arpa/inet.h>  #include <arpa/inet.h>
11715  _ACEOF  _ACEOF
11716  if { (eval echo "$as_me:11708: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11716: \"$ac_cpp conftest.$ac_ext\"") >&5
11717    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11718    ac_status=$?    ac_status=$?
11719    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11720    rm -f conftest.er1    rm -f conftest.er1
11721    cat conftest.err >&5    cat conftest.err >&5
11722    echo "$as_me:11714: \$? = $ac_status" >&5    echo "$as_me:11722: \$? = $ac_status" >&5
11723    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11724    if test -s conftest.err; then    if test -s conftest.err; then
11725      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11730  else Line 11738  else
11738  fi  fi
11739  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11740  fi  fi
11741  echo "$as_me:11733: result: $ac_cv_header_arpa_inet_h" >&5  echo "$as_me:11741: result: $ac_cv_header_arpa_inet_h" >&5
11742  echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6  echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6
11743  if test $ac_cv_header_arpa_inet_h = yes; then  if test $ac_cv_header_arpa_inet_h = yes; then
11744    :    :
# Line 11753  EOF Line 11761  EOF
11761    
11762  fi  fi
11763    
11764  echo "$as_me:11756: checking whether system supports dynamic ptys" >&5  echo "$as_me:11764: checking whether system supports dynamic ptys" >&5
11765  echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6  echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6
11766  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
11767    echo "$as_me:11759: result: yes" >&5    echo "$as_me:11767: result: yes" >&5
11768  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
11769    cat >>confdefs.h <<\EOF    cat >>confdefs.h <<\EOF
11770  #define HAVE_DEV_PTMX 1  #define HAVE_DEV_PTMX 1
11771  EOF  EOF
11772    
11773  else  else
11774    echo "$as_me:11766: result: no" >&5    echo "$as_me:11774: result: no" >&5
11775  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
11776  fi  fi
11777    
11778  echo "$as_me:11770: checking for pid_t" >&5  echo "$as_me:11778: checking for pid_t" >&5
11779  echo $ECHO_N "checking for pid_t... $ECHO_C" >&6  echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
11780  if test "${ac_cv_type_pid_t+set}" = set; then  if test "${ac_cv_type_pid_t+set}" = set; then
11781    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11782  else  else
11783    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11784  #line 11776 "configure"  #line 11784 "configure"
11785  #include "confdefs.h"  #include "confdefs.h"
11786  $ac_includes_default  $ac_includes_default
11787  int  int
# Line 11788  if (sizeof (pid_t)) Line 11796  if (sizeof (pid_t))
11796  }  }
11797  _ACEOF  _ACEOF
11798  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
11799  if { (eval echo "$as_me:11791: \"$ac_compile\"") >&5  if { (eval echo "$as_me:11799: \"$ac_compile\"") >&5
11800    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
11801    ac_status=$?    ac_status=$?
11802    echo "$as_me:11794: \$? = $ac_status" >&5    echo "$as_me:11802: \$? = $ac_status" >&5
11803    (exit $ac_status); } &&    (exit $ac_status); } &&
11804           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
11805    { (eval echo "$as_me:11797: \"$ac_try\"") >&5    { (eval echo "$as_me:11805: \"$ac_try\"") >&5
11806    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11807    ac_status=$?    ac_status=$?
11808    echo "$as_me:11800: \$? = $ac_status" >&5    echo "$as_me:11808: \$? = $ac_status" >&5
11809    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11810    ac_cv_type_pid_t=yes    ac_cv_type_pid_t=yes
11811  else  else
# Line 11807  ac_cv_type_pid_t=no Line 11815  ac_cv_type_pid_t=no
11815  fi  fi
11816  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
11817  fi  fi
11818  echo "$as_me:11810: result: $ac_cv_type_pid_t" >&5  echo "$as_me:11818: result: $ac_cv_type_pid_t" >&5
11819  echo "${ECHO_T}$ac_cv_type_pid_t" >&6  echo "${ECHO_T}$ac_cv_type_pid_t" >&6
11820  if test $ac_cv_type_pid_t = yes; then  if test $ac_cv_type_pid_t = yes; then
11821    :    :
# Line 11822  fi Line 11830  fi
11830  for ac_header in unistd.h vfork.h  for ac_header in unistd.h vfork.h
11831  do  do
11832  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11833  echo "$as_me:11825: checking for $ac_header" >&5  echo "$as_me:11833: checking for $ac_header" >&5
11834  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11835  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
11836    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11837  else  else
11838    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11839  #line 11831 "configure"  #line 11839 "configure"
11840  #include "confdefs.h"  #include "confdefs.h"
11841  #include <$ac_header>  #include <$ac_header>
11842  _ACEOF  _ACEOF
11843  if { (eval echo "$as_me:11835: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11843: \"$ac_cpp conftest.$ac_ext\"") >&5
11844    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11845    ac_status=$?    ac_status=$?
11846    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11847    rm -f conftest.er1    rm -f conftest.er1
11848    cat conftest.err >&5    cat conftest.err >&5
11849    echo "$as_me:11841: \$? = $ac_status" >&5    echo "$as_me:11849: \$? = $ac_status" >&5
11850    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11851    if test -s conftest.err; then    if test -s conftest.err; then
11852      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11857  else Line 11865  else
11865  fi  fi
11866  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11867  fi  fi
11868  echo "$as_me:11860: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:11868: result: `eval echo '${'$as_ac_Header'}'`" >&5
11869  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11870  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
11871    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11870  done Line 11878  done
11878  for ac_func in fork vfork  for ac_func in fork vfork
11879  do  do
11880  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11881  echo "$as_me:11873: checking for $ac_func" >&5  echo "$as_me:11881: checking for $ac_func" >&5
11882  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11883  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
11884    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11885  else  else
11886    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11887  #line 11879 "configure"  #line 11887 "configure"
11888  #include "confdefs.h"  #include "confdefs.h"
11889  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
11890      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 11907  f = $ac_func; Line 11915  f = $ac_func;
11915  }  }
11916  _ACEOF  _ACEOF
11917  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
11918  if { (eval echo "$as_me:11910: \"$ac_link\"") >&5  if { (eval echo "$as_me:11918: \"$ac_link\"") >&5
11919    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
11920    ac_status=$?    ac_status=$?
11921    echo "$as_me:11913: \$? = $ac_status" >&5    echo "$as_me:11921: \$? = $ac_status" >&5
11922    (exit $ac_status); } &&    (exit $ac_status); } &&
11923           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
11924    { (eval echo "$as_me:11916: \"$ac_try\"") >&5    { (eval echo "$as_me:11924: \"$ac_try\"") >&5
11925    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11926    ac_status=$?    ac_status=$?
11927    echo "$as_me:11919: \$? = $ac_status" >&5    echo "$as_me:11927: \$? = $ac_status" >&5
11928    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11929    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
11930  else  else
# Line 11926  eval "$as_ac_var=no" Line 11934  eval "$as_ac_var=no"
11934  fi  fi
11935  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11936  fi  fi
11937  echo "$as_me:11929: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:11937: result: `eval echo '${'$as_ac_var'}'`" >&5
11938  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11939  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
11940    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11938  done Line 11946  done
11946    
11947  ac_cv_func_fork_works=$ac_cv_func_fork  ac_cv_func_fork_works=$ac_cv_func_fork
11948  if test "x$ac_cv_func_fork" = xyes; then  if test "x$ac_cv_func_fork" = xyes; then
11949    echo "$as_me:11941: checking for working fork" >&5    echo "$as_me:11949: checking for working fork" >&5
11950  echo $ECHO_N "checking for working fork... $ECHO_C" >&6  echo $ECHO_N "checking for working fork... $ECHO_C" >&6
11951  if test "${ac_cv_func_fork_works+set}" = set; then  if test "${ac_cv_func_fork_works+set}" = set; then
11952    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 11961  else Line 11969  else
11969        }        }
11970  _ACEOF  _ACEOF
11971  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
11972  if { (eval echo "$as_me:11964: \"$ac_link\"") >&5  if { (eval echo "$as_me:11972: \"$ac_link\"") >&5
11973    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
11974    ac_status=$?    ac_status=$?
11975    echo "$as_me:11967: \$? = $ac_status" >&5    echo "$as_me:11975: \$? = $ac_status" >&5
11976    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11977    { (eval echo "$as_me:11969: \"$ac_try\"") >&5    { (eval echo "$as_me:11977: \"$ac_try\"") >&5
11978    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11979    ac_status=$?    ac_status=$?
11980    echo "$as_me:11972: \$? = $ac_status" >&5    echo "$as_me:11980: \$? = $ac_status" >&5
11981    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11982    ac_cv_func_fork_works=yes    ac_cv_func_fork_works=yes
11983  else  else
# Line 11981  fi Line 11989  fi
11989  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
11990  fi  fi
11991  fi  fi
11992  echo "$as_me:11984: result: $ac_cv_func_fork_works" >&5  echo "$as_me:11992: result: $ac_cv_func_fork_works" >&5
11993  echo "${ECHO_T}$ac_cv_func_fork_works" >&6  echo "${ECHO_T}$ac_cv_func_fork_works" >&6
11994    
11995  fi  fi
# Line 11995  if test "x$ac_cv_func_fork_works" = xcro Line 12003  if test "x$ac_cv_func_fork_works" = xcro
12003        ac_cv_func_fork_works=yes        ac_cv_func_fork_works=yes
12004        ;;        ;;
12005    esac    esac
12006    { echo "$as_me:11998: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5    { echo "$as_me:12006: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5
12007  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;}
12008  fi  fi
12009  ac_cv_func_vfork_works=$ac_cv_func_vfork  ac_cv_func_vfork_works=$ac_cv_func_vfork
12010  if test "x$ac_cv_func_vfork" = xyes; then  if test "x$ac_cv_func_vfork" = xyes; then
12011    echo "$as_me:12003: checking for working vfork" >&5    echo "$as_me:12011: checking for working vfork" >&5
12012  echo $ECHO_N "checking for working vfork... $ECHO_C" >&6  echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
12013  if test "${ac_cv_func_vfork_works+set}" = set; then  if test "${ac_cv_func_vfork_works+set}" = set; then
12014    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 12009  else Line 12017  else
12017    ac_cv_func_vfork_works=cross    ac_cv_func_vfork_works=cross
12018  else  else
12019    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
12020  #line 12012 "configure"  #line 12020 "configure"
12021  #include "confdefs.h"  #include "confdefs.h"
12022  /* Thanks to Paul Eggert for this test.  */  /* Thanks to Paul Eggert for this test.  */
12023  #include <stdio.h>  #include <stdio.h>
# Line 12106  main () Line 12114  main ()
12114  }  }
12115  _ACEOF  _ACEOF
12116  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
12117  if { (eval echo "$as_me:12109: \"$ac_link\"") >&5  if { (eval echo "$as_me:12117: \"$ac_link\"") >&5
12118    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
12119    ac_status=$?    ac_status=$?
12120    echo "$as_me:12112: \$? = $ac_status" >&5    echo "$as_me:12120: \$? = $ac_status" >&5
12121    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12122    { (eval echo "$as_me:12114: \"$ac_try\"") >&5    { (eval echo "$as_me:12122: \"$ac_try\"") >&5
12123    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
12124    ac_status=$?    ac_status=$?
12125    echo "$as_me:12117: \$? = $ac_status" >&5    echo "$as_me:12125: \$? = $ac_status" >&5
12126    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
12127    ac_cv_func_vfork_works=yes    ac_cv_func_vfork_works=yes
12128  else  else
# Line 12126  fi Line 12134  fi
12134  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
12135  fi  fi
12136  fi  fi
12137  echo "$as_me:12129: result: $ac_cv_func_vfork_works" >&5  echo "$as_me:12137: result: $ac_cv_func_vfork_works" >&5
12138  echo "${ECHO_T}$ac_cv_func_vfork_works" >&6  echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
12139    
12140  fi;  fi;
12141  if test "x$ac_cv_func_fork_works" = xcross; then  if test "x$ac_cv_func_fork_works" = xcross; then
12142    ac_cv_func_vfork_works=ac_cv_func_vfork    ac_cv_func_vfork_works=ac_cv_func_vfork
12143    { echo "$as_me:12135: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5    { echo "$as_me:12143: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5
12144  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;}
12145  fi  fi
12146    
# Line 12158  EOF Line 12166  EOF
12166  fi  fi
12167    
12168  # Fixme: This should be replaced when we have autoconf 2.14.  # Fixme: This should be replaced when we have autoconf 2.14.
12169  echo "$as_me:12161: checking for size_t" >&5  echo "$as_me:12169: checking for size_t" >&5
12170  echo $ECHO_N "checking for size_t... $ECHO_C" >&6  echo $ECHO_N "checking for size_t... $ECHO_C" >&6
12171  if test "${ac_cv_type_size_t+set}" = set; then  if test "${ac_cv_type_size_t+set}" = set; then
12172    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
12173  else  else
12174    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
12175  #line 12167 "configure"  #line 12175 "configure"
12176  #include "confdefs.h"  #include "confdefs.h"
12177  $ac_includes_default  $ac_includes_default
12178  int  int
# Line 12179  if (sizeof (size_t)) Line 12187  if (sizeof (size_t))
12187  }  }
12188  _ACEOF  _ACEOF
12189  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
12190  if { (eval echo "$as_me:12182: \"$ac_compile\"") >&5  if { (eval echo "$as_me:12190: \"$ac_compile\"") >&5
12191    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
12192    ac_status=$?    ac_status=$?
12193    echo "$as_me:12185: \$? = $ac_status" >&5    echo "$as_me:12193: \$? = $ac_status" >&5
12194    (exit $ac_status); } &&    (exit $ac_status); } &&
12195           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
12196    { (eval echo "$as_me:12188: \"$ac_try\"") >&5    { (eval echo "$as_me:12196: \"$ac_try\"") >&5
12197    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
12198    ac_status=$?    ac_status=$?
12199    echo "$as_me:12191: \$? = $ac_status" >&5    echo "$as_me:12199: \$? = $ac_status" >&5
12200    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
12201    ac_cv_type_size_t=yes    ac_cv_type_size_t=yes
12202  else  else
# Line 12198  ac_cv_type_size_t=no Line 12206  ac_cv_type_size_t=no
12206  fi  fi
12207  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
12208  fi  fi
12209  echo "$as_me:12201: result: $ac_cv_type_size_t" >&5  echo "$as_me:12209: result: $ac_cv_type_size_t" >&5
12210  echo "${ECHO_T}$ac_cv_type_size_t" >&6  echo "${ECHO_T}$ac_cv_type_size_t" >&6
12211  if test $ac_cv_type_size_t = yes; then  if test $ac_cv_type_size_t = yes; then
12212    :    :
# Line 12218  CPPFLAGS="$REAL_CPPFLAGS" Line 12226  CPPFLAGS="$REAL_CPPFLAGS"
12226  version=`grep 'defconst[         ]*emacs-version' ${srcdir}/lisp/version.el \  version=`grep 'defconst[         ]*emacs-version' ${srcdir}/lisp/version.el \
12227           | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`           | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`
12228  if test x"${version}" = x; then  if test x"${version}" = x; then
12229    { { echo "$as_me:12221: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5    { { echo "$as_me:12229: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5
12230  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;}
12231     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
12232  fi  fi
# Line 12304  fi Line 12312  fi
12312  for ac_header in nlist.h  for ac_header in nlist.h
12313  do  do
12314  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12315  echo "$as_me:12307: checking for $ac_header" >&5  echo "$as_me:12315: checking for $ac_header" >&5
12316  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12317  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
12318    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
12319  else  else
12320    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
12321  #line 12313 "configure"  #line 12321 "configure"
12322  #include "confdefs.h"  #include "confdefs.h"
12323  #include <$ac_header>  #include <$ac_header>
12324  _ACEOF  _ACEOF
12325  if { (eval echo "$as_me:12317: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:12325: \"$ac_cpp conftest.$ac_ext\"") >&5
12326    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12327    ac_status=$?    ac_status=$?
12328    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
12329    rm -f conftest.er1    rm -f conftest.er1
12330    cat conftest.err >&5    cat conftest.err >&5
12331    echo "$as_me:12323: \$? = $ac_status" >&5    echo "$as_me:12331: \$? = $ac_status" >&5
12332    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
12333    if test -s conftest.err; then    if test -s conftest.err; then
12334      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 12339  else Line 12347  else
12347  fi  fi
12348  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
12349  fi  fi
12350  echo "$as_me:12342: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:12350: result: `eval echo '${'$as_ac_Header'}'`" >&5
12351  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12352  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
12353    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 12399  test "${exec_prefix}" != NONE && Line 12407  test "${exec_prefix}" != NONE &&
12407  ## C preprocessor.  ## C preprocessor.
12408    
12409  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
12410  #line 12402 "configure"  #line 12410 "configure"
12411  #include "confdefs.h"  #include "confdefs.h"
12412  yes..yes  yes..yes
12413  _ACEOF  _ACEOF
# Line 12492  DEFS=-DHAVE_CONFIG_H Line 12500  DEFS=-DHAVE_CONFIG_H
12500  : ${CONFIG_STATUS=./config.status}  : ${CONFIG_STATUS=./config.status}
12501  ac_clean_files_save=$ac_clean_files  ac_clean_files_save=$ac_clean_files
12502  ac_clean_files="$ac_clean_files $CONFIG_STATUS"  ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12503  { echo "$as_me:12495: creating $CONFIG_STATUS" >&5  { echo "$as_me:12503: creating $CONFIG_STATUS" >&5
12504  echo "$as_me: creating $CONFIG_STATUS" >&6;}  echo "$as_me: creating $CONFIG_STATUS" >&6;}
12505  cat >$CONFIG_STATUS <<_ACEOF  cat >$CONFIG_STATUS <<_ACEOF
12506  #! $SHELL  #! $SHELL
# Line 12668  cat >>$CONFIG_STATUS <<\EOF Line 12676  cat >>$CONFIG_STATUS <<\EOF
12676      echo "$ac_cs_version"; exit 0 ;;      echo "$ac_cs_version"; exit 0 ;;
12677    --he | --h)    --he | --h)
12678      # Conflict between --help and --header      # Conflict between --help and --header
12679      { { echo "$as_me:12671: error: ambiguous option: $1      { { echo "$as_me:12679: error: ambiguous option: $1
12680  Try \`$0 --help' for more information." >&5  Try \`$0 --help' for more information." >&5
12681  echo "$as_me: error: ambiguous option: $1  echo "$as_me: error: ambiguous option: $1
12682  Try \`$0 --help' for more information." >&2;}  Try \`$0 --help' for more information." >&2;}
# Line 12687  Try \`$0 --help' for more information." Line 12695  Try \`$0 --help' for more information."
12695      ac_need_defaults=false;;      ac_need_defaults=false;;
12696    
12697    # This is an error.    # This is an error.
12698    -*) { { echo "$as_me:12690: error: unrecognized option: $1    -*) { { echo "$as_me:12698: error: unrecognized option: $1
12699  Try \`$0 --help' for more information." >&5  Try \`$0 --help' for more information." >&5
12700  echo "$as_me: error: unrecognized option: $1  echo "$as_me: error: unrecognized option: $1
12701  Try \`$0 --help' for more information." >&2;}  Try \`$0 --help' for more information." >&2;}
# Line 12743  do Line 12751  do
12751    "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;;    "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;;
12752    "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;    "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
12753    "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" ;;
12754    *) { { echo "$as_me:12746: error: invalid argument: $ac_config_target" >&5    *) { { echo "$as_me:12754: error: invalid argument: $ac_config_target" >&5
12755  echo "$as_me: error: invalid argument: $ac_config_target" >&2;}  echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12756     { (exit 1); exit 1; }; };;     { (exit 1); exit 1; }; };;
12757    esac    esac
# Line 12990  done; } Line 12998  done; }
12998    esac    esac
12999    
13000    if test x"$ac_file" != x-; then    if test x"$ac_file" != x-; then
13001      { echo "$as_me:12993: creating $ac_file" >&5      { echo "$as_me:13001: creating $ac_file" >&5
13002  echo "$as_me: creating $ac_file" >&6;}  echo "$as_me: creating $ac_file" >&6;}
13003      rm -f "$ac_file"      rm -f "$ac_file"
13004    fi    fi
# Line 13008  echo "$as_me: creating $ac_file" >&6;} Line 13016  echo "$as_me: creating $ac_file" >&6;}
13016        -) echo $tmp/stdin ;;        -) echo $tmp/stdin ;;
13017        [\\/$]*)        [\\/$]*)
13018           # Absolute (can't be DOS-style, as IFS=:)           # Absolute (can't be DOS-style, as IFS=:)
13019           test -f "$f" || { { echo "$as_me:13011: error: cannot find input file: $f" >&5           test -f "$f" || { { echo "$as_me:13019: error: cannot find input file: $f" >&5
13020  echo "$as_me: error: cannot find input file: $f" >&2;}  echo "$as_me: error: cannot find input file: $f" >&2;}
13021     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
13022           echo $f;;           echo $f;;
# Line 13021  echo "$as_me: error: cannot find input f Line 13029  echo "$as_me: error: cannot find input f
13029             echo $srcdir/$f             echo $srcdir/$f
13030           else           else
13031             # /dev/null tree             # /dev/null tree
13032             { { echo "$as_me:13024: error: cannot find input file: $f" >&5             { { echo "$as_me:13032: error: cannot find input file: $f" >&5
13033  echo "$as_me: error: cannot find input file: $f" >&2;}  echo "$as_me: error: cannot find input file: $f" >&2;}
13034     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
13035           fi;;           fi;;
# Line 13082  for ac_file in : $CONFIG_HEADERS; do tes Line 13090  for ac_file in : $CONFIG_HEADERS; do tes
13090    * )   ac_file_in=$ac_file.in ;;    * )   ac_file_in=$ac_file.in ;;
13091    esac    esac
13092    
13093    test x"$ac_file" != x- && { echo "$as_me:13085: creating $ac_file" >&5    test x"$ac_file" != x- && { echo "$as_me:13093: creating $ac_file" >&5
13094  echo "$as_me: creating $ac_file" >&6;}  echo "$as_me: creating $ac_file" >&6;}
13095    
13096    # 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 13093  echo "$as_me: creating $ac_file" >&6;} Line 13101  echo "$as_me: creating $ac_file" >&6;}
13101        -) echo $tmp/stdin ;;        -) echo $tmp/stdin ;;
13102        [\\/$]*)        [\\/$]*)
13103           # Absolute (can't be DOS-style, as IFS=:)           # Absolute (can't be DOS-style, as IFS=:)
13104           test -f "$f" || { { echo "$as_me:13096: error: cannot find input file: $f" >&5           test -f "$f" || { { echo "$as_me:13104: error: cannot find input file: $f" >&5
13105  echo "$as_me: error: cannot find input file: $f" >&2;}  echo "$as_me: error: cannot find input file: $f" >&2;}
13106     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
13107           echo $f;;           echo $f;;
# Line 13106  echo "$as_me: error: cannot find input f Line 13114  echo "$as_me: error: cannot find input f
13114             echo $srcdir/$f             echo $srcdir/$f
13115           else           else
13116             # /dev/null tree             # /dev/null tree
13117             { { echo "$as_me:13109: error: cannot find input file: $f" >&5             { { echo "$as_me:13117: error: cannot find input file: $f" >&5
13118  echo "$as_me: error: cannot find input file: $f" >&2;}  echo "$as_me: error: cannot find input file: $f" >&2;}
13119     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
13120           fi;;           fi;;
# Line 13223  cat >>$CONFIG_STATUS <<\EOF Line 13231  cat >>$CONFIG_STATUS <<\EOF
13231    rm -f $tmp/in    rm -f $tmp/in
13232    if test x"$ac_file" != x-; then    if test x"$ac_file" != x-; then
13233      if cmp -s $ac_file $tmp/config.h 2>/dev/null; then      if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
13234        { echo "$as_me:13226: $ac_file is unchanged" >&5        { echo "$as_me:13234: $ac_file is unchanged" >&5
13235  echo "$as_me: $ac_file is unchanged" >&6;}  echo "$as_me: $ac_file is unchanged" >&6;}
13236      else      else
13237        ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \        ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \

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

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