comparison configure @ 40632:39fc5111667c

*** empty log message ***
author Miles Bader <miles@gnu.org>
date Fri, 02 Nov 2001 02:28:50 +0000
parents bb16255e7f21
children b7e331012730
comparison
equal deleted inserted replaced
40631:baa590b4ca6c 40632:39fc5111667c
686 --with-jpeg use -ljpeg for displaying JPEG images 686 --with-jpeg use -ljpeg for displaying JPEG images
687 --with-tiff use -ltiff for displaying TIFF images 687 --with-tiff use -ltiff for displaying TIFF images
688 --with-gif use -lungif for displaying GIF images 688 --with-gif use -lungif for displaying GIF images
689 --with-png use -lpng for displaying PNG images 689 --with-png use -lpng for displaying PNG images
690 --without-toolkit-scroll-bars 690 --without-toolkit-scroll-bars
691 don't use Motif or Xaw3d scroll bars 691 don't use Motif or Xaw3d scroll bars
692 --without-xim don't use X11 XIM 692 --without-xim don't use X11 XIM
693 --with-x use the X Window System 693 --with-x use the X Window System
694 694
695 Some influential environment variables: 695 Some influential environment variables:
696 CC C compiler command 696 CC C compiler command
697 CFLAGS C compiler flags 697 CFLAGS C compiler flags
1621 machine=hp800 opsys=hpux9shr 1621 machine=hp800 opsys=hpux9shr
1622 ;; 1622 ;;
1623 hppa*-hp-hpux9* ) 1623 hppa*-hp-hpux9* )
1624 machine=hp800 opsys=hpux9 1624 machine=hp800 opsys=hpux9
1625 ;; 1625 ;;
1626 hppa*-hp-hpux1[0-9]* ) 1626 hppa*-hp-hpux10* )
1627 machine=hp800 opsys=hpux10 1627 machine=hp800 opsys=hpux10
1628 ;;
1629 hppa*-hp-hpux1[1-9]* )
1630 machine=hp800 opsys=hpux11
1628 ;; 1631 ;;
1629 1632
1630 ## HP 9000 series 700 and 800, running HP/UX 1633 ## HP 9000 series 700 and 800, running HP/UX
1631 hppa*-hp-hpux* ) 1634 hppa*-hp-hpux* )
1632 ## Cross-compilation? Nah! 1635 ## Cross-compilation? Nah!
2187 ;; 2190 ;;
2188 esac 2191 esac
2189 fi 2192 fi
2190 2193
2191 if test $unported = yes; then 2194 if test $unported = yes; then
2192 { { echo "$as_me:2192: error: Emacs hasn't been ported to \`${canonical}' systems. 2195 { { echo "$as_me:2195: error: Emacs hasn't been ported to \`${canonical}' systems.
2193 Check \`etc/MACHINES' for recognized configuration names." >&5 2196 Check \`etc/MACHINES' for recognized configuration names." >&5
2194 echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems. 2197 echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems.
2195 Check \`etc/MACHINES' for recognized configuration names." >&2;} 2198 Check \`etc/MACHINES' for recognized configuration names." >&2;}
2196 { (exit 1); exit 1; }; } 2199 { (exit 1); exit 1; }; }
2197 fi 2200 fi
2216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2217 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2218 if test -n "$ac_tool_prefix"; then 2221 if test -n "$ac_tool_prefix"; then
2219 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2222 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2220 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2223 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2221 echo "$as_me:2221: checking for $ac_word" >&5 2224 echo "$as_me:2224: checking for $ac_word" >&5
2222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2223 if test "${ac_cv_prog_CC+set}" = set; then 2226 if test "${ac_cv_prog_CC+set}" = set; then
2224 echo $ECHO_N "(cached) $ECHO_C" >&6 2227 echo $ECHO_N "(cached) $ECHO_C" >&6
2225 else 2228 else
2226 if test -n "$CC"; then 2229 if test -n "$CC"; then
2231 for ac_dir in $ac_dummy; do 2234 for ac_dir in $ac_dummy; do
2232 IFS=$ac_save_IFS 2235 IFS=$ac_save_IFS
2233 test -z "$ac_dir" && ac_dir=. 2236 test -z "$ac_dir" && ac_dir=.
2234 $as_executable_p "$ac_dir/$ac_word" || continue 2237 $as_executable_p "$ac_dir/$ac_word" || continue
2235 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2238 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2236 echo "$as_me:2236: found $ac_dir/$ac_word" >&5 2239 echo "$as_me:2239: found $ac_dir/$ac_word" >&5
2237 break 2240 break
2238 done 2241 done
2239 2242
2240 fi 2243 fi
2241 fi 2244 fi
2242 CC=$ac_cv_prog_CC 2245 CC=$ac_cv_prog_CC
2243 if test -n "$CC"; then 2246 if test -n "$CC"; then
2244 echo "$as_me:2244: result: $CC" >&5 2247 echo "$as_me:2247: result: $CC" >&5
2245 echo "${ECHO_T}$CC" >&6 2248 echo "${ECHO_T}$CC" >&6
2246 else 2249 else
2247 echo "$as_me:2247: result: no" >&5 2250 echo "$as_me:2250: result: no" >&5
2248 echo "${ECHO_T}no" >&6 2251 echo "${ECHO_T}no" >&6
2249 fi 2252 fi
2250 2253
2251 fi 2254 fi
2252 if test -z "$ac_cv_prog_CC"; then 2255 if test -z "$ac_cv_prog_CC"; then
2253 ac_ct_CC=$CC 2256 ac_ct_CC=$CC
2254 # Extract the first word of "gcc", so it can be a program name with args. 2257 # Extract the first word of "gcc", so it can be a program name with args.
2255 set dummy gcc; ac_word=$2 2258 set dummy gcc; ac_word=$2
2256 echo "$as_me:2256: checking for $ac_word" >&5 2259 echo "$as_me:2259: checking for $ac_word" >&5
2257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2260 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2258 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2261 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2259 echo $ECHO_N "(cached) $ECHO_C" >&6 2262 echo $ECHO_N "(cached) $ECHO_C" >&6
2260 else 2263 else
2261 if test -n "$ac_ct_CC"; then 2264 if test -n "$ac_ct_CC"; then
2266 for ac_dir in $ac_dummy; do 2269 for ac_dir in $ac_dummy; do
2267 IFS=$ac_save_IFS 2270 IFS=$ac_save_IFS
2268 test -z "$ac_dir" && ac_dir=. 2271 test -z "$ac_dir" && ac_dir=.
2269 $as_executable_p "$ac_dir/$ac_word" || continue 2272 $as_executable_p "$ac_dir/$ac_word" || continue
2270 ac_cv_prog_ac_ct_CC="gcc" 2273 ac_cv_prog_ac_ct_CC="gcc"
2271 echo "$as_me:2271: found $ac_dir/$ac_word" >&5 2274 echo "$as_me:2274: found $ac_dir/$ac_word" >&5
2272 break 2275 break
2273 done 2276 done
2274 2277
2275 fi 2278 fi
2276 fi 2279 fi
2277 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2280 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2278 if test -n "$ac_ct_CC"; then 2281 if test -n "$ac_ct_CC"; then
2279 echo "$as_me:2279: result: $ac_ct_CC" >&5 2282 echo "$as_me:2282: result: $ac_ct_CC" >&5
2280 echo "${ECHO_T}$ac_ct_CC" >&6 2283 echo "${ECHO_T}$ac_ct_CC" >&6
2281 else 2284 else
2282 echo "$as_me:2282: result: no" >&5 2285 echo "$as_me:2285: result: no" >&5
2283 echo "${ECHO_T}no" >&6 2286 echo "${ECHO_T}no" >&6
2284 fi 2287 fi
2285 2288
2286 CC=$ac_ct_CC 2289 CC=$ac_ct_CC
2287 else 2290 else
2290 2293
2291 if test -z "$CC"; then 2294 if test -z "$CC"; then
2292 if test -n "$ac_tool_prefix"; then 2295 if test -n "$ac_tool_prefix"; then
2293 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2296 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2294 set dummy ${ac_tool_prefix}cc; ac_word=$2 2297 set dummy ${ac_tool_prefix}cc; ac_word=$2
2295 echo "$as_me:2295: checking for $ac_word" >&5 2298 echo "$as_me:2298: checking for $ac_word" >&5
2296 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2299 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2297 if test "${ac_cv_prog_CC+set}" = set; then 2300 if test "${ac_cv_prog_CC+set}" = set; then
2298 echo $ECHO_N "(cached) $ECHO_C" >&6 2301 echo $ECHO_N "(cached) $ECHO_C" >&6
2299 else 2302 else
2300 if test -n "$CC"; then 2303 if test -n "$CC"; then
2305 for ac_dir in $ac_dummy; do 2308 for ac_dir in $ac_dummy; do
2306 IFS=$ac_save_IFS 2309 IFS=$ac_save_IFS
2307 test -z "$ac_dir" && ac_dir=. 2310 test -z "$ac_dir" && ac_dir=.
2308 $as_executable_p "$ac_dir/$ac_word" || continue 2311 $as_executable_p "$ac_dir/$ac_word" || continue
2309 ac_cv_prog_CC="${ac_tool_prefix}cc" 2312 ac_cv_prog_CC="${ac_tool_prefix}cc"
2310 echo "$as_me:2310: found $ac_dir/$ac_word" >&5 2313 echo "$as_me:2313: found $ac_dir/$ac_word" >&5
2311 break 2314 break
2312 done 2315 done
2313 2316
2314 fi 2317 fi
2315 fi 2318 fi
2316 CC=$ac_cv_prog_CC 2319 CC=$ac_cv_prog_CC
2317 if test -n "$CC"; then 2320 if test -n "$CC"; then
2318 echo "$as_me:2318: result: $CC" >&5 2321 echo "$as_me:2321: result: $CC" >&5
2319 echo "${ECHO_T}$CC" >&6 2322 echo "${ECHO_T}$CC" >&6
2320 else 2323 else
2321 echo "$as_me:2321: result: no" >&5 2324 echo "$as_me:2324: result: no" >&5
2322 echo "${ECHO_T}no" >&6 2325 echo "${ECHO_T}no" >&6
2323 fi 2326 fi
2324 2327
2325 fi 2328 fi
2326 if test -z "$ac_cv_prog_CC"; then 2329 if test -z "$ac_cv_prog_CC"; then
2327 ac_ct_CC=$CC 2330 ac_ct_CC=$CC
2328 # Extract the first word of "cc", so it can be a program name with args. 2331 # Extract the first word of "cc", so it can be a program name with args.
2329 set dummy cc; ac_word=$2 2332 set dummy cc; ac_word=$2
2330 echo "$as_me:2330: checking for $ac_word" >&5 2333 echo "$as_me:2333: checking for $ac_word" >&5
2331 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2334 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2332 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2335 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2333 echo $ECHO_N "(cached) $ECHO_C" >&6 2336 echo $ECHO_N "(cached) $ECHO_C" >&6
2334 else 2337 else
2335 if test -n "$ac_ct_CC"; then 2338 if test -n "$ac_ct_CC"; then
2340 for ac_dir in $ac_dummy; do 2343 for ac_dir in $ac_dummy; do
2341 IFS=$ac_save_IFS 2344 IFS=$ac_save_IFS
2342 test -z "$ac_dir" && ac_dir=. 2345 test -z "$ac_dir" && ac_dir=.
2343 $as_executable_p "$ac_dir/$ac_word" || continue 2346 $as_executable_p "$ac_dir/$ac_word" || continue
2344 ac_cv_prog_ac_ct_CC="cc" 2347 ac_cv_prog_ac_ct_CC="cc"
2345 echo "$as_me:2345: found $ac_dir/$ac_word" >&5 2348 echo "$as_me:2348: found $ac_dir/$ac_word" >&5
2346 break 2349 break
2347 done 2350 done
2348 2351
2349 fi 2352 fi
2350 fi 2353 fi
2351 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2354 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2352 if test -n "$ac_ct_CC"; then 2355 if test -n "$ac_ct_CC"; then
2353 echo "$as_me:2353: result: $ac_ct_CC" >&5 2356 echo "$as_me:2356: result: $ac_ct_CC" >&5
2354 echo "${ECHO_T}$ac_ct_CC" >&6 2357 echo "${ECHO_T}$ac_ct_CC" >&6
2355 else 2358 else
2356 echo "$as_me:2356: result: no" >&5 2359 echo "$as_me:2359: result: no" >&5
2357 echo "${ECHO_T}no" >&6 2360 echo "${ECHO_T}no" >&6
2358 fi 2361 fi
2359 2362
2360 CC=$ac_ct_CC 2363 CC=$ac_ct_CC
2361 else 2364 else
2364 2367
2365 fi 2368 fi
2366 if test -z "$CC"; then 2369 if test -z "$CC"; then
2367 # Extract the first word of "cc", so it can be a program name with args. 2370 # Extract the first word of "cc", so it can be a program name with args.
2368 set dummy cc; ac_word=$2 2371 set dummy cc; ac_word=$2
2369 echo "$as_me:2369: checking for $ac_word" >&5 2372 echo "$as_me:2372: checking for $ac_word" >&5
2370 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2373 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2371 if test "${ac_cv_prog_CC+set}" = set; then 2374 if test "${ac_cv_prog_CC+set}" = set; then
2372 echo $ECHO_N "(cached) $ECHO_C" >&6 2375 echo $ECHO_N "(cached) $ECHO_C" >&6
2373 else 2376 else
2374 if test -n "$CC"; then 2377 if test -n "$CC"; then
2384 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then 2387 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
2385 ac_prog_rejected=yes 2388 ac_prog_rejected=yes
2386 continue 2389 continue
2387 fi 2390 fi
2388 ac_cv_prog_CC="cc" 2391 ac_cv_prog_CC="cc"
2389 echo "$as_me:2389: found $ac_dir/$ac_word" >&5 2392 echo "$as_me:2392: found $ac_dir/$ac_word" >&5
2390 break 2393 break
2391 done 2394 done
2392 2395
2393 if test $ac_prog_rejected = yes; then 2396 if test $ac_prog_rejected = yes; then
2394 # We found a bogon in the path, so make sure we never use it. 2397 # We found a bogon in the path, so make sure we never use it.
2406 fi 2409 fi
2407 fi 2410 fi
2408 fi 2411 fi
2409 CC=$ac_cv_prog_CC 2412 CC=$ac_cv_prog_CC
2410 if test -n "$CC"; then 2413 if test -n "$CC"; then
2411 echo "$as_me:2411: result: $CC" >&5 2414 echo "$as_me:2414: result: $CC" >&5
2412 echo "${ECHO_T}$CC" >&6 2415 echo "${ECHO_T}$CC" >&6
2413 else 2416 else
2414 echo "$as_me:2414: result: no" >&5 2417 echo "$as_me:2417: result: no" >&5
2415 echo "${ECHO_T}no" >&6 2418 echo "${ECHO_T}no" >&6
2416 fi 2419 fi
2417 2420
2418 fi 2421 fi
2419 if test -z "$CC"; then 2422 if test -z "$CC"; then
2420 if test -n "$ac_tool_prefix"; then 2423 if test -n "$ac_tool_prefix"; then
2421 for ac_prog in cl 2424 for ac_prog in cl
2422 do 2425 do
2423 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2426 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2424 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2427 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2425 echo "$as_me:2425: checking for $ac_word" >&5 2428 echo "$as_me:2428: checking for $ac_word" >&5
2426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2427 if test "${ac_cv_prog_CC+set}" = set; then 2430 if test "${ac_cv_prog_CC+set}" = set; then
2428 echo $ECHO_N "(cached) $ECHO_C" >&6 2431 echo $ECHO_N "(cached) $ECHO_C" >&6
2429 else 2432 else
2430 if test -n "$CC"; then 2433 if test -n "$CC"; then
2435 for ac_dir in $ac_dummy; do 2438 for ac_dir in $ac_dummy; do
2436 IFS=$ac_save_IFS 2439 IFS=$ac_save_IFS
2437 test -z "$ac_dir" && ac_dir=. 2440 test -z "$ac_dir" && ac_dir=.
2438 $as_executable_p "$ac_dir/$ac_word" || continue 2441 $as_executable_p "$ac_dir/$ac_word" || continue
2439 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2442 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2440 echo "$as_me:2440: found $ac_dir/$ac_word" >&5 2443 echo "$as_me:2443: found $ac_dir/$ac_word" >&5
2441 break 2444 break
2442 done 2445 done
2443 2446
2444 fi 2447 fi
2445 fi 2448 fi
2446 CC=$ac_cv_prog_CC 2449 CC=$ac_cv_prog_CC
2447 if test -n "$CC"; then 2450 if test -n "$CC"; then
2448 echo "$as_me:2448: result: $CC" >&5 2451 echo "$as_me:2451: result: $CC" >&5
2449 echo "${ECHO_T}$CC" >&6 2452 echo "${ECHO_T}$CC" >&6
2450 else 2453 else
2451 echo "$as_me:2451: result: no" >&5 2454 echo "$as_me:2454: result: no" >&5
2452 echo "${ECHO_T}no" >&6 2455 echo "${ECHO_T}no" >&6
2453 fi 2456 fi
2454 2457
2455 test -n "$CC" && break 2458 test -n "$CC" && break
2456 done 2459 done
2459 ac_ct_CC=$CC 2462 ac_ct_CC=$CC
2460 for ac_prog in cl 2463 for ac_prog in cl
2461 do 2464 do
2462 # Extract the first word of "$ac_prog", so it can be a program name with args. 2465 # Extract the first word of "$ac_prog", so it can be a program name with args.
2463 set dummy $ac_prog; ac_word=$2 2466 set dummy $ac_prog; ac_word=$2
2464 echo "$as_me:2464: checking for $ac_word" >&5 2467 echo "$as_me:2467: checking for $ac_word" >&5
2465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2468 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2466 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2469 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2467 echo $ECHO_N "(cached) $ECHO_C" >&6 2470 echo $ECHO_N "(cached) $ECHO_C" >&6
2468 else 2471 else
2469 if test -n "$ac_ct_CC"; then 2472 if test -n "$ac_ct_CC"; then
2474 for ac_dir in $ac_dummy; do 2477 for ac_dir in $ac_dummy; do
2475 IFS=$ac_save_IFS 2478 IFS=$ac_save_IFS
2476 test -z "$ac_dir" && ac_dir=. 2479 test -z "$ac_dir" && ac_dir=.
2477 $as_executable_p "$ac_dir/$ac_word" || continue 2480 $as_executable_p "$ac_dir/$ac_word" || continue
2478 ac_cv_prog_ac_ct_CC="$ac_prog" 2481 ac_cv_prog_ac_ct_CC="$ac_prog"
2479 echo "$as_me:2479: found $ac_dir/$ac_word" >&5 2482 echo "$as_me:2482: found $ac_dir/$ac_word" >&5
2480 break 2483 break
2481 done 2484 done
2482 2485
2483 fi 2486 fi
2484 fi 2487 fi
2485 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2488 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2486 if test -n "$ac_ct_CC"; then 2489 if test -n "$ac_ct_CC"; then
2487 echo "$as_me:2487: result: $ac_ct_CC" >&5 2490 echo "$as_me:2490: result: $ac_ct_CC" >&5
2488 echo "${ECHO_T}$ac_ct_CC" >&6 2491 echo "${ECHO_T}$ac_ct_CC" >&6
2489 else 2492 else
2490 echo "$as_me:2490: result: no" >&5 2493 echo "$as_me:2493: result: no" >&5
2491 echo "${ECHO_T}no" >&6 2494 echo "${ECHO_T}no" >&6
2492 fi 2495 fi
2493 2496
2494 test -n "$ac_ct_CC" && break 2497 test -n "$ac_ct_CC" && break
2495 done 2498 done
2497 CC=$ac_ct_CC 2500 CC=$ac_ct_CC
2498 fi 2501 fi
2499 2502
2500 fi 2503 fi
2501 2504
2502 test -z "$CC" && { { echo "$as_me:2502: error: no acceptable cc found in \$PATH" >&5 2505 test -z "$CC" && { { echo "$as_me:2505: error: no acceptable cc found in \$PATH" >&5
2503 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} 2506 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2504 { (exit 1); exit 1; }; } 2507 { (exit 1); exit 1; }; }
2505 2508
2506 # Provide some information about the compiler. 2509 # Provide some information about the compiler.
2507 echo "$as_me:2507:" \ 2510 echo "$as_me:2510:" \
2508 "checking for C compiler version" >&5 2511 "checking for C compiler version" >&5
2509 ac_compiler=`set X $ac_compile; echo $2` 2512 ac_compiler=`set X $ac_compile; echo $2`
2510 { (eval echo "$as_me:2510: \"$ac_compiler --version </dev/null >&5\"") >&5 2513 { (eval echo "$as_me:2513: \"$ac_compiler --version </dev/null >&5\"") >&5
2511 (eval $ac_compiler --version </dev/null >&5) 2>&5 2514 (eval $ac_compiler --version </dev/null >&5) 2>&5
2512 ac_status=$? 2515 ac_status=$?
2513 echo "$as_me:2513: \$? = $ac_status" >&5 2516 echo "$as_me:2516: \$? = $ac_status" >&5
2514 (exit $ac_status); } 2517 (exit $ac_status); }
2515 { (eval echo "$as_me:2515: \"$ac_compiler -v </dev/null >&5\"") >&5 2518 { (eval echo "$as_me:2518: \"$ac_compiler -v </dev/null >&5\"") >&5
2516 (eval $ac_compiler -v </dev/null >&5) 2>&5 2519 (eval $ac_compiler -v </dev/null >&5) 2>&5
2517 ac_status=$? 2520 ac_status=$?
2518 echo "$as_me:2518: \$? = $ac_status" >&5 2521 echo "$as_me:2521: \$? = $ac_status" >&5
2519 (exit $ac_status); } 2522 (exit $ac_status); }
2520 { (eval echo "$as_me:2520: \"$ac_compiler -V </dev/null >&5\"") >&5 2523 { (eval echo "$as_me:2523: \"$ac_compiler -V </dev/null >&5\"") >&5
2521 (eval $ac_compiler -V </dev/null >&5) 2>&5 2524 (eval $ac_compiler -V </dev/null >&5) 2>&5
2522 ac_status=$? 2525 ac_status=$?
2523 echo "$as_me:2523: \$? = $ac_status" >&5 2526 echo "$as_me:2526: \$? = $ac_status" >&5
2524 (exit $ac_status); } 2527 (exit $ac_status); }
2525 2528
2526 cat >conftest.$ac_ext <<_ACEOF 2529 cat >conftest.$ac_ext <<_ACEOF
2527 #line 2527 "configure" 2530 #line 2530 "configure"
2528 #include "confdefs.h" 2531 #include "confdefs.h"
2529 2532
2530 int 2533 int
2531 main () 2534 main ()
2532 { 2535 {
2538 ac_clean_files_save=$ac_clean_files 2541 ac_clean_files_save=$ac_clean_files
2539 ac_clean_files="$ac_clean_files a.out a.exe" 2542 ac_clean_files="$ac_clean_files a.out a.exe"
2540 # Try to create an executable without -o first, disregard a.out. 2543 # Try to create an executable without -o first, disregard a.out.
2541 # It will help us diagnose broken compilers, and finding out an intuition 2544 # It will help us diagnose broken compilers, and finding out an intuition
2542 # of exeext. 2545 # of exeext.
2543 echo "$as_me:2543: checking for C compiler default output" >&5 2546 echo "$as_me:2546: checking for C compiler default output" >&5
2544 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 2547 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2545 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2548 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2546 if { (eval echo "$as_me:2546: \"$ac_link_default\"") >&5 2549 if { (eval echo "$as_me:2549: \"$ac_link_default\"") >&5
2547 (eval $ac_link_default) 2>&5 2550 (eval $ac_link_default) 2>&5
2548 ac_status=$? 2551 ac_status=$?
2549 echo "$as_me:2549: \$? = $ac_status" >&5 2552 echo "$as_me:2552: \$? = $ac_status" >&5
2550 (exit $ac_status); }; then 2553 (exit $ac_status); }; then
2551 # Find the output, starting from the most likely. This scheme is 2554 # Find the output, starting from the most likely. This scheme is
2552 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 2555 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2553 # resort. 2556 # resort.
2554 for ac_file in `ls a.exe conftest.exe 2>/dev/null; 2557 for ac_file in `ls a.exe conftest.exe 2>/dev/null;
2567 esac 2570 esac
2568 done 2571 done
2569 else 2572 else
2570 echo "$as_me: failed program was:" >&5 2573 echo "$as_me: failed program was:" >&5
2571 cat conftest.$ac_ext >&5 2574 cat conftest.$ac_ext >&5
2572 { { echo "$as_me:2572: error: C compiler cannot create executables" >&5 2575 { { echo "$as_me:2575: error: C compiler cannot create executables" >&5
2573 echo "$as_me: error: C compiler cannot create executables" >&2;} 2576 echo "$as_me: error: C compiler cannot create executables" >&2;}
2574 { (exit 77); exit 77; }; } 2577 { (exit 77); exit 77; }; }
2575 fi 2578 fi
2576 2579
2577 ac_exeext=$ac_cv_exeext 2580 ac_exeext=$ac_cv_exeext
2578 echo "$as_me:2578: result: $ac_file" >&5 2581 echo "$as_me:2581: result: $ac_file" >&5
2579 echo "${ECHO_T}$ac_file" >&6 2582 echo "${ECHO_T}$ac_file" >&6
2580 2583
2581 # Check the compiler produces executables we can run. If not, either 2584 # Check the compiler produces executables we can run. If not, either
2582 # the compiler is broken, or we cross compile. 2585 # the compiler is broken, or we cross compile.
2583 echo "$as_me:2583: checking whether the C compiler works" >&5 2586 echo "$as_me:2586: checking whether the C compiler works" >&5
2584 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2587 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2585 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2588 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2586 # If not cross compiling, check that we can run a simple program. 2589 # If not cross compiling, check that we can run a simple program.
2587 if test "$cross_compiling" != yes; then 2590 if test "$cross_compiling" != yes; then
2588 if { ac_try='./$ac_file' 2591 if { ac_try='./$ac_file'
2589 { (eval echo "$as_me:2589: \"$ac_try\"") >&5 2592 { (eval echo "$as_me:2592: \"$ac_try\"") >&5
2590 (eval $ac_try) 2>&5 2593 (eval $ac_try) 2>&5
2591 ac_status=$? 2594 ac_status=$?
2592 echo "$as_me:2592: \$? = $ac_status" >&5 2595 echo "$as_me:2595: \$? = $ac_status" >&5
2593 (exit $ac_status); }; }; then 2596 (exit $ac_status); }; }; then
2594 cross_compiling=no 2597 cross_compiling=no
2595 else 2598 else
2596 if test "$cross_compiling" = maybe; then 2599 if test "$cross_compiling" = maybe; then
2597 cross_compiling=yes 2600 cross_compiling=yes
2598 else 2601 else
2599 { { echo "$as_me:2599: error: cannot run C compiled programs. 2602 { { echo "$as_me:2602: error: cannot run C compiled programs.
2600 If you meant to cross compile, use \`--host'." >&5 2603 If you meant to cross compile, use \`--host'." >&5
2601 echo "$as_me: error: cannot run C compiled programs. 2604 echo "$as_me: error: cannot run C compiled programs.
2602 If you meant to cross compile, use \`--host'." >&2;} 2605 If you meant to cross compile, use \`--host'." >&2;}
2603 { (exit 1); exit 1; }; } 2606 { (exit 1); exit 1; }; }
2604 fi 2607 fi
2605 fi 2608 fi
2606 fi 2609 fi
2607 echo "$as_me:2607: result: yes" >&5 2610 echo "$as_me:2610: result: yes" >&5
2608 echo "${ECHO_T}yes" >&6 2611 echo "${ECHO_T}yes" >&6
2609 2612
2610 rm -f a.out a.exe conftest$ac_cv_exeext 2613 rm -f a.out a.exe conftest$ac_cv_exeext
2611 ac_clean_files=$ac_clean_files_save 2614 ac_clean_files=$ac_clean_files_save
2612 # Check the compiler produces executables we can run. If not, either 2615 # Check the compiler produces executables we can run. If not, either
2613 # the compiler is broken, or we cross compile. 2616 # the compiler is broken, or we cross compile.
2614 echo "$as_me:2614: checking whether we are cross compiling" >&5 2617 echo "$as_me:2617: checking whether we are cross compiling" >&5
2615 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 2618 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2616 echo "$as_me:2616: result: $cross_compiling" >&5 2619 echo "$as_me:2619: result: $cross_compiling" >&5
2617 echo "${ECHO_T}$cross_compiling" >&6 2620 echo "${ECHO_T}$cross_compiling" >&6
2618 2621
2619 echo "$as_me:2619: checking for executable suffix" >&5 2622 echo "$as_me:2622: checking for executable suffix" >&5
2620 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6 2623 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
2621 if { (eval echo "$as_me:2621: \"$ac_link\"") >&5 2624 if { (eval echo "$as_me:2624: \"$ac_link\"") >&5
2622 (eval $ac_link) 2>&5 2625 (eval $ac_link) 2>&5
2623 ac_status=$? 2626 ac_status=$?
2624 echo "$as_me:2624: \$? = $ac_status" >&5 2627 echo "$as_me:2627: \$? = $ac_status" >&5
2625 (exit $ac_status); }; then 2628 (exit $ac_status); }; then
2626 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2629 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2627 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2630 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2628 # work properly (i.e., refer to `conftest.exe'), while it won't with 2631 # work properly (i.e., refer to `conftest.exe'), while it won't with
2629 # `rm'. 2632 # `rm'.
2635 break;; 2638 break;;
2636 * ) break;; 2639 * ) break;;
2637 esac 2640 esac
2638 done 2641 done
2639 else 2642 else
2640 { { echo "$as_me:2640: error: cannot compute EXEEXT: cannot compile and link" >&5 2643 { { echo "$as_me:2643: error: cannot compute EXEEXT: cannot compile and link" >&5
2641 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} 2644 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
2642 { (exit 1); exit 1; }; } 2645 { (exit 1); exit 1; }; }
2643 fi 2646 fi
2644 2647
2645 rm -f conftest$ac_cv_exeext 2648 rm -f conftest$ac_cv_exeext
2646 echo "$as_me:2646: result: $ac_cv_exeext" >&5 2649 echo "$as_me:2649: result: $ac_cv_exeext" >&5
2647 echo "${ECHO_T}$ac_cv_exeext" >&6 2650 echo "${ECHO_T}$ac_cv_exeext" >&6
2648 2651
2649 rm -f conftest.$ac_ext 2652 rm -f conftest.$ac_ext
2650 EXEEXT=$ac_cv_exeext 2653 EXEEXT=$ac_cv_exeext
2651 ac_exeext=$EXEEXT 2654 ac_exeext=$EXEEXT
2652 echo "$as_me:2652: checking for object suffix" >&5 2655 echo "$as_me:2655: checking for object suffix" >&5
2653 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6 2656 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
2654 if test "${ac_cv_objext+set}" = set; then 2657 if test "${ac_cv_objext+set}" = set; then
2655 echo $ECHO_N "(cached) $ECHO_C" >&6 2658 echo $ECHO_N "(cached) $ECHO_C" >&6
2656 else 2659 else
2657 cat >conftest.$ac_ext <<_ACEOF 2660 cat >conftest.$ac_ext <<_ACEOF
2658 #line 2658 "configure" 2661 #line 2661 "configure"
2659 #include "confdefs.h" 2662 #include "confdefs.h"
2660 2663
2661 int 2664 int
2662 main () 2665 main ()
2663 { 2666 {
2665 ; 2668 ;
2666 return 0; 2669 return 0;
2667 } 2670 }
2668 _ACEOF 2671 _ACEOF
2669 rm -f conftest.o conftest.obj 2672 rm -f conftest.o conftest.obj
2670 if { (eval echo "$as_me:2670: \"$ac_compile\"") >&5 2673 if { (eval echo "$as_me:2673: \"$ac_compile\"") >&5
2671 (eval $ac_compile) 2>&5 2674 (eval $ac_compile) 2>&5
2672 ac_status=$? 2675 ac_status=$?
2673 echo "$as_me:2673: \$? = $ac_status" >&5 2676 echo "$as_me:2676: \$? = $ac_status" >&5
2674 (exit $ac_status); }; then 2677 (exit $ac_status); }; then
2675 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2678 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2676 case $ac_file in 2679 case $ac_file in
2677 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; 2680 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
2678 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2681 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2680 esac 2683 esac
2681 done 2684 done
2682 else 2685 else
2683 echo "$as_me: failed program was:" >&5 2686 echo "$as_me: failed program was:" >&5
2684 cat conftest.$ac_ext >&5 2687 cat conftest.$ac_ext >&5
2685 { { echo "$as_me:2685: error: cannot compute OBJEXT: cannot compile" >&5 2688 { { echo "$as_me:2688: error: cannot compute OBJEXT: cannot compile" >&5
2686 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} 2689 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
2687 { (exit 1); exit 1; }; } 2690 { (exit 1); exit 1; }; }
2688 fi 2691 fi
2689 2692
2690 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2693 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2691 fi 2694 fi
2692 echo "$as_me:2692: result: $ac_cv_objext" >&5 2695 echo "$as_me:2695: result: $ac_cv_objext" >&5
2693 echo "${ECHO_T}$ac_cv_objext" >&6 2696 echo "${ECHO_T}$ac_cv_objext" >&6
2694 OBJEXT=$ac_cv_objext 2697 OBJEXT=$ac_cv_objext
2695 ac_objext=$OBJEXT 2698 ac_objext=$OBJEXT
2696 echo "$as_me:2696: checking whether we are using the GNU C compiler" >&5 2699 echo "$as_me:2699: checking whether we are using the GNU C compiler" >&5
2697 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2700 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2698 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2701 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2699 echo $ECHO_N "(cached) $ECHO_C" >&6 2702 echo $ECHO_N "(cached) $ECHO_C" >&6
2700 else 2703 else
2701 cat >conftest.$ac_ext <<_ACEOF 2704 cat >conftest.$ac_ext <<_ACEOF
2702 #line 2702 "configure" 2705 #line 2705 "configure"
2703 #include "confdefs.h" 2706 #include "confdefs.h"
2704 2707
2705 int 2708 int
2706 main () 2709 main ()
2707 { 2710 {
2712 ; 2715 ;
2713 return 0; 2716 return 0;
2714 } 2717 }
2715 _ACEOF 2718 _ACEOF
2716 rm -f conftest.$ac_objext 2719 rm -f conftest.$ac_objext
2717 if { (eval echo "$as_me:2717: \"$ac_compile\"") >&5 2720 if { (eval echo "$as_me:2720: \"$ac_compile\"") >&5
2718 (eval $ac_compile) 2>&5 2721 (eval $ac_compile) 2>&5
2719 ac_status=$? 2722 ac_status=$?
2720 echo "$as_me:2720: \$? = $ac_status" >&5 2723 echo "$as_me:2723: \$? = $ac_status" >&5
2721 (exit $ac_status); } && 2724 (exit $ac_status); } &&
2722 { ac_try='test -s conftest.$ac_objext' 2725 { ac_try='test -s conftest.$ac_objext'
2723 { (eval echo "$as_me:2723: \"$ac_try\"") >&5 2726 { (eval echo "$as_me:2726: \"$ac_try\"") >&5
2724 (eval $ac_try) 2>&5 2727 (eval $ac_try) 2>&5
2725 ac_status=$? 2728 ac_status=$?
2726 echo "$as_me:2726: \$? = $ac_status" >&5 2729 echo "$as_me:2729: \$? = $ac_status" >&5
2727 (exit $ac_status); }; }; then 2730 (exit $ac_status); }; }; then
2728 ac_compiler_gnu=yes 2731 ac_compiler_gnu=yes
2729 else 2732 else
2730 echo "$as_me: failed program was:" >&5 2733 echo "$as_me: failed program was:" >&5
2731 cat conftest.$ac_ext >&5 2734 cat conftest.$ac_ext >&5
2733 fi 2736 fi
2734 rm -f conftest.$ac_objext conftest.$ac_ext 2737 rm -f conftest.$ac_objext conftest.$ac_ext
2735 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2738 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2736 2739
2737 fi 2740 fi
2738 echo "$as_me:2738: result: $ac_cv_c_compiler_gnu" >&5 2741 echo "$as_me:2741: result: $ac_cv_c_compiler_gnu" >&5
2739 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2742 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2740 GCC=`test $ac_compiler_gnu = yes && echo yes` 2743 GCC=`test $ac_compiler_gnu = yes && echo yes`
2741 ac_test_CFLAGS=${CFLAGS+set} 2744 ac_test_CFLAGS=${CFLAGS+set}
2742 ac_save_CFLAGS=$CFLAGS 2745 ac_save_CFLAGS=$CFLAGS
2743 CFLAGS="-g" 2746 CFLAGS="-g"
2744 echo "$as_me:2744: checking whether $CC accepts -g" >&5 2747 echo "$as_me:2747: checking whether $CC accepts -g" >&5
2745 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2748 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2746 if test "${ac_cv_prog_cc_g+set}" = set; then 2749 if test "${ac_cv_prog_cc_g+set}" = set; then
2747 echo $ECHO_N "(cached) $ECHO_C" >&6 2750 echo $ECHO_N "(cached) $ECHO_C" >&6
2748 else 2751 else
2749 cat >conftest.$ac_ext <<_ACEOF 2752 cat >conftest.$ac_ext <<_ACEOF
2750 #line 2750 "configure" 2753 #line 2753 "configure"
2751 #include "confdefs.h" 2754 #include "confdefs.h"
2752 2755
2753 int 2756 int
2754 main () 2757 main ()
2755 { 2758 {
2757 ; 2760 ;
2758 return 0; 2761 return 0;
2759 } 2762 }
2760 _ACEOF 2763 _ACEOF
2761 rm -f conftest.$ac_objext 2764 rm -f conftest.$ac_objext
2762 if { (eval echo "$as_me:2762: \"$ac_compile\"") >&5 2765 if { (eval echo "$as_me:2765: \"$ac_compile\"") >&5
2763 (eval $ac_compile) 2>&5 2766 (eval $ac_compile) 2>&5
2764 ac_status=$? 2767 ac_status=$?
2765 echo "$as_me:2765: \$? = $ac_status" >&5 2768 echo "$as_me:2768: \$? = $ac_status" >&5
2766 (exit $ac_status); } && 2769 (exit $ac_status); } &&
2767 { ac_try='test -s conftest.$ac_objext' 2770 { ac_try='test -s conftest.$ac_objext'
2768 { (eval echo "$as_me:2768: \"$ac_try\"") >&5 2771 { (eval echo "$as_me:2771: \"$ac_try\"") >&5
2769 (eval $ac_try) 2>&5 2772 (eval $ac_try) 2>&5
2770 ac_status=$? 2773 ac_status=$?
2771 echo "$as_me:2771: \$? = $ac_status" >&5 2774 echo "$as_me:2774: \$? = $ac_status" >&5
2772 (exit $ac_status); }; }; then 2775 (exit $ac_status); }; }; then
2773 ac_cv_prog_cc_g=yes 2776 ac_cv_prog_cc_g=yes
2774 else 2777 else
2775 echo "$as_me: failed program was:" >&5 2778 echo "$as_me: failed program was:" >&5
2776 cat conftest.$ac_ext >&5 2779 cat conftest.$ac_ext >&5
2777 ac_cv_prog_cc_g=no 2780 ac_cv_prog_cc_g=no
2778 fi 2781 fi
2779 rm -f conftest.$ac_objext conftest.$ac_ext 2782 rm -f conftest.$ac_objext conftest.$ac_ext
2780 fi 2783 fi
2781 echo "$as_me:2781: result: $ac_cv_prog_cc_g" >&5 2784 echo "$as_me:2784: result: $ac_cv_prog_cc_g" >&5
2782 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2785 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2783 if test "$ac_test_CFLAGS" = set; then 2786 if test "$ac_test_CFLAGS" = set; then
2784 CFLAGS=$ac_save_CFLAGS 2787 CFLAGS=$ac_save_CFLAGS
2785 elif test $ac_cv_prog_cc_g = yes; then 2788 elif test $ac_cv_prog_cc_g = yes; then
2786 if test "$GCC" = yes; then 2789 if test "$GCC" = yes; then
2803 #ifndef __cplusplus 2806 #ifndef __cplusplus
2804 choke me 2807 choke me
2805 #endif 2808 #endif
2806 _ACEOF 2809 _ACEOF
2807 rm -f conftest.$ac_objext 2810 rm -f conftest.$ac_objext
2808 if { (eval echo "$as_me:2808: \"$ac_compile\"") >&5 2811 if { (eval echo "$as_me:2811: \"$ac_compile\"") >&5
2809 (eval $ac_compile) 2>&5 2812 (eval $ac_compile) 2>&5
2810 ac_status=$? 2813 ac_status=$?
2811 echo "$as_me:2811: \$? = $ac_status" >&5 2814 echo "$as_me:2814: \$? = $ac_status" >&5
2812 (exit $ac_status); } && 2815 (exit $ac_status); } &&
2813 { ac_try='test -s conftest.$ac_objext' 2816 { ac_try='test -s conftest.$ac_objext'
2814 { (eval echo "$as_me:2814: \"$ac_try\"") >&5 2817 { (eval echo "$as_me:2817: \"$ac_try\"") >&5
2815 (eval $ac_try) 2>&5 2818 (eval $ac_try) 2>&5
2816 ac_status=$? 2819 ac_status=$?
2817 echo "$as_me:2817: \$? = $ac_status" >&5 2820 echo "$as_me:2820: \$? = $ac_status" >&5
2818 (exit $ac_status); }; }; then 2821 (exit $ac_status); }; }; then
2819 for ac_declaration in \ 2822 for ac_declaration in \
2820 ''\ 2823 ''\
2821 '#include <stdlib.h>' \ 2824 '#include <stdlib.h>' \
2822 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2825 'extern "C" void std::exit (int) throw (); using std::exit;' \
2824 'extern "C" void exit (int) throw ();' \ 2827 'extern "C" void exit (int) throw ();' \
2825 'extern "C" void exit (int);' \ 2828 'extern "C" void exit (int);' \
2826 'void exit (int);' 2829 'void exit (int);'
2827 do 2830 do
2828 cat >conftest.$ac_ext <<_ACEOF 2831 cat >conftest.$ac_ext <<_ACEOF
2829 #line 2829 "configure" 2832 #line 2832 "configure"
2830 #include "confdefs.h" 2833 #include "confdefs.h"
2831 #include <stdlib.h> 2834 #include <stdlib.h>
2832 $ac_declaration 2835 $ac_declaration
2833 int 2836 int
2834 main () 2837 main ()
2837 ; 2840 ;
2838 return 0; 2841 return 0;
2839 } 2842 }
2840 _ACEOF 2843 _ACEOF
2841 rm -f conftest.$ac_objext 2844 rm -f conftest.$ac_objext
2842 if { (eval echo "$as_me:2842: \"$ac_compile\"") >&5 2845 if { (eval echo "$as_me:2845: \"$ac_compile\"") >&5
2843 (eval $ac_compile) 2>&5 2846 (eval $ac_compile) 2>&5
2844 ac_status=$? 2847 ac_status=$?
2845 echo "$as_me:2845: \$? = $ac_status" >&5 2848 echo "$as_me:2848: \$? = $ac_status" >&5
2846 (exit $ac_status); } && 2849 (exit $ac_status); } &&
2847 { ac_try='test -s conftest.$ac_objext' 2850 { ac_try='test -s conftest.$ac_objext'
2848 { (eval echo "$as_me:2848: \"$ac_try\"") >&5 2851 { (eval echo "$as_me:2851: \"$ac_try\"") >&5
2849 (eval $ac_try) 2>&5 2852 (eval $ac_try) 2>&5
2850 ac_status=$? 2853 ac_status=$?
2851 echo "$as_me:2851: \$? = $ac_status" >&5 2854 echo "$as_me:2854: \$? = $ac_status" >&5
2852 (exit $ac_status); }; }; then 2855 (exit $ac_status); }; }; then
2853 : 2856 :
2854 else 2857 else
2855 echo "$as_me: failed program was:" >&5 2858 echo "$as_me: failed program was:" >&5
2856 cat conftest.$ac_ext >&5 2859 cat conftest.$ac_ext >&5
2857 continue 2860 continue
2858 fi 2861 fi
2859 rm -f conftest.$ac_objext conftest.$ac_ext 2862 rm -f conftest.$ac_objext conftest.$ac_ext
2860 cat >conftest.$ac_ext <<_ACEOF 2863 cat >conftest.$ac_ext <<_ACEOF
2861 #line 2861 "configure" 2864 #line 2864 "configure"
2862 #include "confdefs.h" 2865 #include "confdefs.h"
2863 $ac_declaration 2866 $ac_declaration
2864 int 2867 int
2865 main () 2868 main ()
2866 { 2869 {
2868 ; 2871 ;
2869 return 0; 2872 return 0;
2870 } 2873 }
2871 _ACEOF 2874 _ACEOF
2872 rm -f conftest.$ac_objext 2875 rm -f conftest.$ac_objext
2873 if { (eval echo "$as_me:2873: \"$ac_compile\"") >&5 2876 if { (eval echo "$as_me:2876: \"$ac_compile\"") >&5
2874 (eval $ac_compile) 2>&5 2877 (eval $ac_compile) 2>&5
2875 ac_status=$? 2878 ac_status=$?
2876 echo "$as_me:2876: \$? = $ac_status" >&5 2879 echo "$as_me:2879: \$? = $ac_status" >&5
2877 (exit $ac_status); } && 2880 (exit $ac_status); } &&
2878 { ac_try='test -s conftest.$ac_objext' 2881 { ac_try='test -s conftest.$ac_objext'
2879 { (eval echo "$as_me:2879: \"$ac_try\"") >&5 2882 { (eval echo "$as_me:2882: \"$ac_try\"") >&5
2880 (eval $ac_try) 2>&5 2883 (eval $ac_try) 2>&5
2881 ac_status=$? 2884 ac_status=$?
2882 echo "$as_me:2882: \$? = $ac_status" >&5 2885 echo "$as_me:2885: \$? = $ac_status" >&5
2883 (exit $ac_status); }; }; then 2886 (exit $ac_status); }; }; then
2884 break 2887 break
2885 else 2888 else
2886 echo "$as_me: failed program was:" >&5 2889 echo "$as_me: failed program was:" >&5
2887 cat conftest.$ac_ext >&5 2890 cat conftest.$ac_ext >&5
2950 2953
2951 #### Some other nice autoconf tests. If you add a test here which 2954 #### Some other nice autoconf tests. If you add a test here which
2952 #### should make an entry in src/config.h, don't forget to add an 2955 #### should make an entry in src/config.h, don't forget to add an
2953 #### #undef clause to src/config.h.in for autoconf to modify. 2956 #### #undef clause to src/config.h.in for autoconf to modify.
2954 2957
2955 echo "$as_me:2955: checking whether ln -s works" >&5 2958 echo "$as_me:2958: checking whether ln -s works" >&5
2956 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 2959 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2957 LN_S=$as_ln_s 2960 LN_S=$as_ln_s
2958 if test "$LN_S" = "ln -s"; then 2961 if test "$LN_S" = "ln -s"; then
2959 echo "$as_me:2959: result: yes" >&5 2962 echo "$as_me:2962: result: yes" >&5
2960 echo "${ECHO_T}yes" >&6 2963 echo "${ECHO_T}yes" >&6
2961 else 2964 else
2962 echo "$as_me:2962: result: no, using $LN_S" >&5 2965 echo "$as_me:2965: result: no, using $LN_S" >&5
2963 echo "${ECHO_T}no, using $LN_S" >&6 2966 echo "${ECHO_T}no, using $LN_S" >&6
2964 fi 2967 fi
2965 2968
2966 ac_ext=c 2969 ac_ext=c
2967 ac_cpp='$CPP $CPPFLAGS' 2970 ac_cpp='$CPP $CPPFLAGS'
2968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2970 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2971 echo "$as_me:2971: checking how to run the C preprocessor" >&5 2974 echo "$as_me:2974: checking how to run the C preprocessor" >&5
2972 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 2975 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2973 # On Suns, sometimes $CPP names a directory. 2976 # On Suns, sometimes $CPP names a directory.
2974 if test -n "$CPP" && test -d "$CPP"; then 2977 if test -n "$CPP" && test -d "$CPP"; then
2975 CPP= 2978 CPP=
2976 fi 2979 fi
2987 # Use a header file that comes with gcc, so configuring glibc 2990 # Use a header file that comes with gcc, so configuring glibc
2988 # with a fresh cross-compiler works. 2991 # with a fresh cross-compiler works.
2989 # On the NeXT, cc -E runs the code through the compiler's parser, 2992 # On the NeXT, cc -E runs the code through the compiler's parser,
2990 # not just through cpp. "Syntax error" is here to catch this case. 2993 # not just through cpp. "Syntax error" is here to catch this case.
2991 cat >conftest.$ac_ext <<_ACEOF 2994 cat >conftest.$ac_ext <<_ACEOF
2992 #line 2992 "configure" 2995 #line 2995 "configure"
2993 #include "confdefs.h" 2996 #include "confdefs.h"
2994 #include <assert.h> 2997 #include <assert.h>
2995 Syntax error 2998 Syntax error
2996 _ACEOF 2999 _ACEOF
2997 if { (eval echo "$as_me:2997: \"$ac_cpp conftest.$ac_ext\"") >&5 3000 if { (eval echo "$as_me:3000: \"$ac_cpp conftest.$ac_ext\"") >&5
2998 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3001 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2999 ac_status=$? 3002 ac_status=$?
3000 egrep -v '^ *\+' conftest.er1 >conftest.err 3003 egrep -v '^ *\+' conftest.er1 >conftest.err
3001 rm -f conftest.er1 3004 rm -f conftest.er1
3002 cat conftest.err >&5 3005 cat conftest.err >&5
3003 echo "$as_me:3003: \$? = $ac_status" >&5 3006 echo "$as_me:3006: \$? = $ac_status" >&5
3004 (exit $ac_status); } >/dev/null; then 3007 (exit $ac_status); } >/dev/null; then
3005 if test -s conftest.err; then 3008 if test -s conftest.err; then
3006 ac_cpp_err=$ac_c_preproc_warn_flag 3009 ac_cpp_err=$ac_c_preproc_warn_flag
3007 else 3010 else
3008 ac_cpp_err= 3011 ac_cpp_err=
3021 rm -f conftest.err conftest.$ac_ext 3024 rm -f conftest.err conftest.$ac_ext
3022 3025
3023 # OK, works on sane cases. Now check whether non-existent headers 3026 # OK, works on sane cases. Now check whether non-existent headers
3024 # can be detected and how. 3027 # can be detected and how.
3025 cat >conftest.$ac_ext <<_ACEOF 3028 cat >conftest.$ac_ext <<_ACEOF
3026 #line 3026 "configure" 3029 #line 3029 "configure"
3027 #include "confdefs.h" 3030 #include "confdefs.h"
3028 #include <ac_nonexistent.h> 3031 #include <ac_nonexistent.h>
3029 _ACEOF 3032 _ACEOF
3030 if { (eval echo "$as_me:3030: \"$ac_cpp conftest.$ac_ext\"") >&5 3033 if { (eval echo "$as_me:3033: \"$ac_cpp conftest.$ac_ext\"") >&5
3031 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3034 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3032 ac_status=$? 3035 ac_status=$?
3033 egrep -v '^ *\+' conftest.er1 >conftest.err 3036 egrep -v '^ *\+' conftest.er1 >conftest.err
3034 rm -f conftest.er1 3037 rm -f conftest.er1
3035 cat conftest.err >&5 3038 cat conftest.err >&5
3036 echo "$as_me:3036: \$? = $ac_status" >&5 3039 echo "$as_me:3039: \$? = $ac_status" >&5
3037 (exit $ac_status); } >/dev/null; then 3040 (exit $ac_status); } >/dev/null; then
3038 if test -s conftest.err; then 3041 if test -s conftest.err; then
3039 ac_cpp_err=$ac_c_preproc_warn_flag 3042 ac_cpp_err=$ac_c_preproc_warn_flag
3040 else 3043 else
3041 ac_cpp_err= 3044 ac_cpp_err=
3068 fi 3071 fi
3069 CPP=$ac_cv_prog_CPP 3072 CPP=$ac_cv_prog_CPP
3070 else 3073 else
3071 ac_cv_prog_CPP=$CPP 3074 ac_cv_prog_CPP=$CPP
3072 fi 3075 fi
3073 echo "$as_me:3073: result: $CPP" >&5 3076 echo "$as_me:3076: result: $CPP" >&5
3074 echo "${ECHO_T}$CPP" >&6 3077 echo "${ECHO_T}$CPP" >&6
3075 ac_preproc_ok=false 3078 ac_preproc_ok=false
3076 for ac_c_preproc_warn_flag in '' yes 3079 for ac_c_preproc_warn_flag in '' yes
3077 do 3080 do
3078 # Use a header file that comes with gcc, so configuring glibc 3081 # Use a header file that comes with gcc, so configuring glibc
3079 # with a fresh cross-compiler works. 3082 # with a fresh cross-compiler works.
3080 # On the NeXT, cc -E runs the code through the compiler's parser, 3083 # On the NeXT, cc -E runs the code through the compiler's parser,
3081 # not just through cpp. "Syntax error" is here to catch this case. 3084 # not just through cpp. "Syntax error" is here to catch this case.
3082 cat >conftest.$ac_ext <<_ACEOF 3085 cat >conftest.$ac_ext <<_ACEOF
3083 #line 3083 "configure" 3086 #line 3086 "configure"
3084 #include "confdefs.h" 3087 #include "confdefs.h"
3085 #include <assert.h> 3088 #include <assert.h>
3086 Syntax error 3089 Syntax error
3087 _ACEOF 3090 _ACEOF
3088 if { (eval echo "$as_me:3088: \"$ac_cpp conftest.$ac_ext\"") >&5 3091 if { (eval echo "$as_me:3091: \"$ac_cpp conftest.$ac_ext\"") >&5
3089 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3092 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3090 ac_status=$? 3093 ac_status=$?
3091 egrep -v '^ *\+' conftest.er1 >conftest.err 3094 egrep -v '^ *\+' conftest.er1 >conftest.err
3092 rm -f conftest.er1 3095 rm -f conftest.er1
3093 cat conftest.err >&5 3096 cat conftest.err >&5
3094 echo "$as_me:3094: \$? = $ac_status" >&5 3097 echo "$as_me:3097: \$? = $ac_status" >&5
3095 (exit $ac_status); } >/dev/null; then 3098 (exit $ac_status); } >/dev/null; then
3096 if test -s conftest.err; then 3099 if test -s conftest.err; then
3097 ac_cpp_err=$ac_c_preproc_warn_flag 3100 ac_cpp_err=$ac_c_preproc_warn_flag
3098 else 3101 else
3099 ac_cpp_err= 3102 ac_cpp_err=
3112 rm -f conftest.err conftest.$ac_ext 3115 rm -f conftest.err conftest.$ac_ext
3113 3116
3114 # OK, works on sane cases. Now check whether non-existent headers 3117 # OK, works on sane cases. Now check whether non-existent headers
3115 # can be detected and how. 3118 # can be detected and how.
3116 cat >conftest.$ac_ext <<_ACEOF 3119 cat >conftest.$ac_ext <<_ACEOF
3117 #line 3117 "configure" 3120 #line 3120 "configure"
3118 #include "confdefs.h" 3121 #include "confdefs.h"
3119 #include <ac_nonexistent.h> 3122 #include <ac_nonexistent.h>
3120 _ACEOF 3123 _ACEOF
3121 if { (eval echo "$as_me:3121: \"$ac_cpp conftest.$ac_ext\"") >&5 3124 if { (eval echo "$as_me:3124: \"$ac_cpp conftest.$ac_ext\"") >&5
3122 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3125 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3123 ac_status=$? 3126 ac_status=$?
3124 egrep -v '^ *\+' conftest.er1 >conftest.err 3127 egrep -v '^ *\+' conftest.er1 >conftest.err
3125 rm -f conftest.er1 3128 rm -f conftest.er1
3126 cat conftest.err >&5 3129 cat conftest.err >&5
3127 echo "$as_me:3127: \$? = $ac_status" >&5 3130 echo "$as_me:3130: \$? = $ac_status" >&5
3128 (exit $ac_status); } >/dev/null; then 3131 (exit $ac_status); } >/dev/null; then
3129 if test -s conftest.err; then 3132 if test -s conftest.err; then
3130 ac_cpp_err=$ac_c_preproc_warn_flag 3133 ac_cpp_err=$ac_c_preproc_warn_flag
3131 else 3134 else
3132 ac_cpp_err= 3135 ac_cpp_err=
3150 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3153 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3151 rm -f conftest.err conftest.$ac_ext 3154 rm -f conftest.err conftest.$ac_ext
3152 if $ac_preproc_ok; then 3155 if $ac_preproc_ok; then
3153 : 3156 :
3154 else 3157 else
3155 { { echo "$as_me:3155: error: C preprocessor \"$CPP\" fails sanity check" >&5 3158 { { echo "$as_me:3158: error: C preprocessor \"$CPP\" fails sanity check" >&5
3156 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} 3159 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
3157 { (exit 1); exit 1; }; } 3160 { (exit 1); exit 1; }; }
3158 fi 3161 fi
3159 3162
3160 ac_ext=c 3163 ac_ext=c
3173 # AmigaOS /C/install, which installs bootblocks on floppy discs 3176 # AmigaOS /C/install, which installs bootblocks on floppy discs
3174 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3177 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3175 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 3178 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3176 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3179 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3177 # ./install, which can be erroneously created by make from ./install.sh. 3180 # ./install, which can be erroneously created by make from ./install.sh.
3178 echo "$as_me:3178: checking for a BSD compatible install" >&5 3181 echo "$as_me:3181: checking for a BSD compatible install" >&5
3179 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6 3182 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
3180 if test -z "$INSTALL"; then 3183 if test -z "$INSTALL"; then
3181 if test "${ac_cv_path_install+set}" = set; then 3184 if test "${ac_cv_path_install+set}" = set; then
3182 echo $ECHO_N "(cached) $ECHO_C" >&6 3185 echo $ECHO_N "(cached) $ECHO_C" >&6
3183 else 3186 else
3222 # break other packages using the cache if that directory is 3225 # break other packages using the cache if that directory is
3223 # removed, or if the path is relative. 3226 # removed, or if the path is relative.
3224 INSTALL=$ac_install_sh 3227 INSTALL=$ac_install_sh
3225 fi 3228 fi
3226 fi 3229 fi
3227 echo "$as_me:3227: result: $INSTALL" >&5 3230 echo "$as_me:3230: result: $INSTALL" >&5
3228 echo "${ECHO_T}$INSTALL" >&6 3231 echo "${ECHO_T}$INSTALL" >&6
3229 3232
3230 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 3233 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3231 # It thinks the first close brace ends the variable substitution. 3234 # It thinks the first close brace ends the variable substitution.
3232 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 3235 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3237 3240
3238 for ac_prog in 'bison -y' byacc 3241 for ac_prog in 'bison -y' byacc
3239 do 3242 do
3240 # Extract the first word of "$ac_prog", so it can be a program name with args. 3243 # Extract the first word of "$ac_prog", so it can be a program name with args.
3241 set dummy $ac_prog; ac_word=$2 3244 set dummy $ac_prog; ac_word=$2
3242 echo "$as_me:3242: checking for $ac_word" >&5 3245 echo "$as_me:3245: checking for $ac_word" >&5
3243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3244 if test "${ac_cv_prog_YACC+set}" = set; then 3247 if test "${ac_cv_prog_YACC+set}" = set; then
3245 echo $ECHO_N "(cached) $ECHO_C" >&6 3248 echo $ECHO_N "(cached) $ECHO_C" >&6
3246 else 3249 else
3247 if test -n "$YACC"; then 3250 if test -n "$YACC"; then
3252 for ac_dir in $ac_dummy; do 3255 for ac_dir in $ac_dummy; do
3253 IFS=$ac_save_IFS 3256 IFS=$ac_save_IFS
3254 test -z "$ac_dir" && ac_dir=. 3257 test -z "$ac_dir" && ac_dir=.
3255 $as_executable_p "$ac_dir/$ac_word" || continue 3258 $as_executable_p "$ac_dir/$ac_word" || continue
3256 ac_cv_prog_YACC="$ac_prog" 3259 ac_cv_prog_YACC="$ac_prog"
3257 echo "$as_me:3257: found $ac_dir/$ac_word" >&5 3260 echo "$as_me:3260: found $ac_dir/$ac_word" >&5
3258 break 3261 break
3259 done 3262 done
3260 3263
3261 fi 3264 fi
3262 fi 3265 fi
3263 YACC=$ac_cv_prog_YACC 3266 YACC=$ac_cv_prog_YACC
3264 if test -n "$YACC"; then 3267 if test -n "$YACC"; then
3265 echo "$as_me:3265: result: $YACC" >&5 3268 echo "$as_me:3268: result: $YACC" >&5
3266 echo "${ECHO_T}$YACC" >&6 3269 echo "${ECHO_T}$YACC" >&6
3267 else 3270 else
3268 echo "$as_me:3268: result: no" >&5 3271 echo "$as_me:3271: result: no" >&5
3269 echo "${ECHO_T}no" >&6 3272 echo "${ECHO_T}no" >&6
3270 fi 3273 fi
3271 3274
3272 test -n "$YACC" && break 3275 test -n "$YACC" && break
3273 done 3276 done
3275 3278
3276 if test "x$RANLIB" = x; then 3279 if test "x$RANLIB" = x; then
3277 if test -n "$ac_tool_prefix"; then 3280 if test -n "$ac_tool_prefix"; then
3278 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3281 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3279 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3282 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3280 echo "$as_me:3280: checking for $ac_word" >&5 3283 echo "$as_me:3283: checking for $ac_word" >&5
3281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3282 if test "${ac_cv_prog_RANLIB+set}" = set; then 3285 if test "${ac_cv_prog_RANLIB+set}" = set; then
3283 echo $ECHO_N "(cached) $ECHO_C" >&6 3286 echo $ECHO_N "(cached) $ECHO_C" >&6
3284 else 3287 else
3285 if test -n "$RANLIB"; then 3288 if test -n "$RANLIB"; then
3290 for ac_dir in $ac_dummy; do 3293 for ac_dir in $ac_dummy; do
3291 IFS=$ac_save_IFS 3294 IFS=$ac_save_IFS
3292 test -z "$ac_dir" && ac_dir=. 3295 test -z "$ac_dir" && ac_dir=.
3293 $as_executable_p "$ac_dir/$ac_word" || continue 3296 $as_executable_p "$ac_dir/$ac_word" || continue
3294 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3297 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3295 echo "$as_me:3295: found $ac_dir/$ac_word" >&5 3298 echo "$as_me:3298: found $ac_dir/$ac_word" >&5
3296 break 3299 break
3297 done 3300 done
3298 3301
3299 fi 3302 fi
3300 fi 3303 fi
3301 RANLIB=$ac_cv_prog_RANLIB 3304 RANLIB=$ac_cv_prog_RANLIB
3302 if test -n "$RANLIB"; then 3305 if test -n "$RANLIB"; then
3303 echo "$as_me:3303: result: $RANLIB" >&5 3306 echo "$as_me:3306: result: $RANLIB" >&5
3304 echo "${ECHO_T}$RANLIB" >&6 3307 echo "${ECHO_T}$RANLIB" >&6
3305 else 3308 else
3306 echo "$as_me:3306: result: no" >&5 3309 echo "$as_me:3309: result: no" >&5
3307 echo "${ECHO_T}no" >&6 3310 echo "${ECHO_T}no" >&6
3308 fi 3311 fi
3309 3312
3310 fi 3313 fi
3311 if test -z "$ac_cv_prog_RANLIB"; then 3314 if test -z "$ac_cv_prog_RANLIB"; then
3312 ac_ct_RANLIB=$RANLIB 3315 ac_ct_RANLIB=$RANLIB
3313 # Extract the first word of "ranlib", so it can be a program name with args. 3316 # Extract the first word of "ranlib", so it can be a program name with args.
3314 set dummy ranlib; ac_word=$2 3317 set dummy ranlib; ac_word=$2
3315 echo "$as_me:3315: checking for $ac_word" >&5 3318 echo "$as_me:3318: checking for $ac_word" >&5
3316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3317 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 3320 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3318 echo $ECHO_N "(cached) $ECHO_C" >&6 3321 echo $ECHO_N "(cached) $ECHO_C" >&6
3319 else 3322 else
3320 if test -n "$ac_ct_RANLIB"; then 3323 if test -n "$ac_ct_RANLIB"; then
3325 for ac_dir in $ac_dummy; do 3328 for ac_dir in $ac_dummy; do
3326 IFS=$ac_save_IFS 3329 IFS=$ac_save_IFS
3327 test -z "$ac_dir" && ac_dir=. 3330 test -z "$ac_dir" && ac_dir=.
3328 $as_executable_p "$ac_dir/$ac_word" || continue 3331 $as_executable_p "$ac_dir/$ac_word" || continue
3329 ac_cv_prog_ac_ct_RANLIB="ranlib" 3332 ac_cv_prog_ac_ct_RANLIB="ranlib"
3330 echo "$as_me:3330: found $ac_dir/$ac_word" >&5 3333 echo "$as_me:3333: found $ac_dir/$ac_word" >&5
3331 break 3334 break
3332 done 3335 done
3333 3336
3334 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 3337 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3335 fi 3338 fi
3336 fi 3339 fi
3337 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 3340 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3338 if test -n "$ac_ct_RANLIB"; then 3341 if test -n "$ac_ct_RANLIB"; then
3339 echo "$as_me:3339: result: $ac_ct_RANLIB" >&5 3342 echo "$as_me:3342: result: $ac_ct_RANLIB" >&5
3340 echo "${ECHO_T}$ac_ct_RANLIB" >&6 3343 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3341 else 3344 else
3342 echo "$as_me:3342: result: no" >&5 3345 echo "$as_me:3345: result: no" >&5
3343 echo "${ECHO_T}no" >&6 3346 echo "${ECHO_T}no" >&6
3344 fi 3347 fi
3345 3348
3346 RANLIB=$ac_ct_RANLIB 3349 RANLIB=$ac_ct_RANLIB
3347 else 3350 else
3348 RANLIB="$ac_cv_prog_RANLIB" 3351 RANLIB="$ac_cv_prog_RANLIB"
3349 fi 3352 fi
3350 3353
3351 fi 3354 fi
3352 3355
3353 echo "$as_me:3353: checking for AIX" >&5 3356 echo "$as_me:3356: checking for AIX" >&5
3354 echo $ECHO_N "checking for AIX... $ECHO_C" >&6 3357 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
3355 cat >conftest.$ac_ext <<_ACEOF 3358 cat >conftest.$ac_ext <<_ACEOF
3356 #line 3356 "configure" 3359 #line 3359 "configure"
3357 #include "confdefs.h" 3360 #include "confdefs.h"
3358 #ifdef _AIX 3361 #ifdef _AIX
3359 yes 3362 yes
3360 #endif 3363 #endif
3361 3364
3362 _ACEOF 3365 _ACEOF
3363 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3366 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3364 egrep "yes" >/dev/null 2>&1; then 3367 egrep "yes" >/dev/null 2>&1; then
3365 echo "$as_me:3365: result: yes" >&5 3368 echo "$as_me:3368: result: yes" >&5
3366 echo "${ECHO_T}yes" >&6 3369 echo "${ECHO_T}yes" >&6
3367 cat >>confdefs.h <<\EOF 3370 cat >>confdefs.h <<\EOF
3368 #define _ALL_SOURCE 1 3371 #define _ALL_SOURCE 1
3369 EOF 3372 EOF
3370 3373
3371 else 3374 else
3372 echo "$as_me:3372: result: no" >&5 3375 echo "$as_me:3375: result: no" >&5
3373 echo "${ECHO_T}no" >&6 3376 echo "${ECHO_T}no" >&6
3374 fi 3377 fi
3375 rm -f conftest* 3378 rm -f conftest*
3376 3379
3377 #### Extract some information from the operating system and machine files. 3380 #### Extract some information from the operating system and machine files.
3378 3381
3379 { echo "$as_me:3379: checking the machine- and system-dependent files to find out 3382 { echo "$as_me:3382: checking the machine- and system-dependent files to find out
3380 - which libraries the lib-src programs will want, and 3383 - which libraries the lib-src programs will want, and
3381 - whether the GNU malloc routines are usable..." >&5 3384 - whether the GNU malloc routines are usable..." >&5
3382 echo "$as_me: checking the machine- and system-dependent files to find out 3385 echo "$as_me: checking the machine- and system-dependent files to find out
3383 - which libraries the lib-src programs will want, and 3386 - which libraries the lib-src programs will want, and
3384 - whether the GNU malloc routines are usable..." >&6;} 3387 - whether the GNU malloc routines are usable..." >&6;}
3524 enableval="$enable_largefile" 3527 enableval="$enable_largefile"
3525 3528
3526 fi; 3529 fi;
3527 if test "$enable_largefile" != no; then 3530 if test "$enable_largefile" != no; then
3528 3531
3529 echo "$as_me:3529: checking for special C compiler options needed for large files" >&5 3532 echo "$as_me:3532: checking for special C compiler options needed for large files" >&5
3530 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6 3533 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
3531 if test "${ac_cv_sys_largefile_CC+set}" = set; then 3534 if test "${ac_cv_sys_largefile_CC+set}" = set; then
3532 echo $ECHO_N "(cached) $ECHO_C" >&6 3535 echo $ECHO_N "(cached) $ECHO_C" >&6
3533 else 3536 else
3534 ac_cv_sys_largefile_CC=no 3537 ac_cv_sys_largefile_CC=no
3536 ac_save_CC=$CC 3539 ac_save_CC=$CC
3537 while :; do 3540 while :; do
3538 # IRIX 6.2 and later do not support large files by default, 3541 # IRIX 6.2 and later do not support large files by default,
3539 # so use the C compiler's -n32 option if that helps. 3542 # so use the C compiler's -n32 option if that helps.
3540 cat >conftest.$ac_ext <<_ACEOF 3543 cat >conftest.$ac_ext <<_ACEOF
3541 #line 3541 "configure" 3544 #line 3544 "configure"
3542 #include "confdefs.h" 3545 #include "confdefs.h"
3543 #include <sys/types.h> 3546 #include <sys/types.h>
3544 /* Check that off_t can represent 2**63 - 1 correctly. 3547 /* Check that off_t can represent 2**63 - 1 correctly.
3545 We can't simply define LARGE_OFF_T to be 9223372036854775807, 3548 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3546 since some C++ compilers masquerading as C compilers 3549 since some C++ compilers masquerading as C compilers
3556 ; 3559 ;
3557 return 0; 3560 return 0;
3558 } 3561 }
3559 _ACEOF 3562 _ACEOF
3560 rm -f conftest.$ac_objext 3563 rm -f conftest.$ac_objext
3561 if { (eval echo "$as_me:3561: \"$ac_compile\"") >&5 3564 if { (eval echo "$as_me:3564: \"$ac_compile\"") >&5
3562 (eval $ac_compile) 2>&5 3565 (eval $ac_compile) 2>&5
3563 ac_status=$? 3566 ac_status=$?
3564 echo "$as_me:3564: \$? = $ac_status" >&5 3567 echo "$as_me:3567: \$? = $ac_status" >&5
3565 (exit $ac_status); } && 3568 (exit $ac_status); } &&
3566 { ac_try='test -s conftest.$ac_objext' 3569 { ac_try='test -s conftest.$ac_objext'
3567 { (eval echo "$as_me:3567: \"$ac_try\"") >&5 3570 { (eval echo "$as_me:3570: \"$ac_try\"") >&5
3568 (eval $ac_try) 2>&5 3571 (eval $ac_try) 2>&5
3569 ac_status=$? 3572 ac_status=$?
3570 echo "$as_me:3570: \$? = $ac_status" >&5 3573 echo "$as_me:3573: \$? = $ac_status" >&5
3571 (exit $ac_status); }; }; then 3574 (exit $ac_status); }; }; then
3572 break 3575 break
3573 else 3576 else
3574 echo "$as_me: failed program was:" >&5 3577 echo "$as_me: failed program was:" >&5
3575 cat conftest.$ac_ext >&5 3578 cat conftest.$ac_ext >&5
3576 fi 3579 fi
3577 rm -f conftest.$ac_objext 3580 rm -f conftest.$ac_objext
3578 CC="$CC -n32" 3581 CC="$CC -n32"
3579 rm -f conftest.$ac_objext 3582 rm -f conftest.$ac_objext
3580 if { (eval echo "$as_me:3580: \"$ac_compile\"") >&5 3583 if { (eval echo "$as_me:3583: \"$ac_compile\"") >&5
3581 (eval $ac_compile) 2>&5 3584 (eval $ac_compile) 2>&5
3582 ac_status=$? 3585 ac_status=$?
3583 echo "$as_me:3583: \$? = $ac_status" >&5 3586 echo "$as_me:3586: \$? = $ac_status" >&5
3584 (exit $ac_status); } && 3587 (exit $ac_status); } &&
3585 { ac_try='test -s conftest.$ac_objext' 3588 { ac_try='test -s conftest.$ac_objext'
3586 { (eval echo "$as_me:3586: \"$ac_try\"") >&5 3589 { (eval echo "$as_me:3589: \"$ac_try\"") >&5
3587 (eval $ac_try) 2>&5 3590 (eval $ac_try) 2>&5
3588 ac_status=$? 3591 ac_status=$?
3589 echo "$as_me:3589: \$? = $ac_status" >&5 3592 echo "$as_me:3592: \$? = $ac_status" >&5
3590 (exit $ac_status); }; }; then 3593 (exit $ac_status); }; }; then
3591 ac_cv_sys_largefile_CC=' -n32'; break 3594 ac_cv_sys_largefile_CC=' -n32'; break
3592 else 3595 else
3593 echo "$as_me: failed program was:" >&5 3596 echo "$as_me: failed program was:" >&5
3594 cat conftest.$ac_ext >&5 3597 cat conftest.$ac_ext >&5
3598 done 3601 done
3599 CC=$ac_save_CC 3602 CC=$ac_save_CC
3600 rm -f conftest.$ac_ext 3603 rm -f conftest.$ac_ext
3601 fi 3604 fi
3602 fi 3605 fi
3603 echo "$as_me:3603: result: $ac_cv_sys_largefile_CC" >&5 3606 echo "$as_me:3606: result: $ac_cv_sys_largefile_CC" >&5
3604 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6 3607 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
3605 if test "$ac_cv_sys_largefile_CC" != no; then 3608 if test "$ac_cv_sys_largefile_CC" != no; then
3606 CC=$CC$ac_cv_sys_largefile_CC 3609 CC=$CC$ac_cv_sys_largefile_CC
3607 fi 3610 fi
3608 3611
3609 echo "$as_me:3609: checking for _FILE_OFFSET_BITS value needed for large files" >&5 3612 echo "$as_me:3612: checking for _FILE_OFFSET_BITS value needed for large files" >&5
3610 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6 3613 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
3611 if test "${ac_cv_sys_file_offset_bits+set}" = set; then 3614 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
3612 echo $ECHO_N "(cached) $ECHO_C" >&6 3615 echo $ECHO_N "(cached) $ECHO_C" >&6
3613 else 3616 else
3614 while :; do 3617 while :; do
3615 ac_cv_sys_file_offset_bits=no 3618 ac_cv_sys_file_offset_bits=no
3616 cat >conftest.$ac_ext <<_ACEOF 3619 cat >conftest.$ac_ext <<_ACEOF
3617 #line 3617 "configure" 3620 #line 3620 "configure"
3618 #include "confdefs.h" 3621 #include "confdefs.h"
3619 #include <sys/types.h> 3622 #include <sys/types.h>
3620 /* Check that off_t can represent 2**63 - 1 correctly. 3623 /* Check that off_t can represent 2**63 - 1 correctly.
3621 We can't simply define LARGE_OFF_T to be 9223372036854775807, 3624 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3622 since some C++ compilers masquerading as C compilers 3625 since some C++ compilers masquerading as C compilers
3632 ; 3635 ;
3633 return 0; 3636 return 0;
3634 } 3637 }
3635 _ACEOF 3638 _ACEOF
3636 rm -f conftest.$ac_objext 3639 rm -f conftest.$ac_objext
3637 if { (eval echo "$as_me:3637: \"$ac_compile\"") >&5 3640 if { (eval echo "$as_me:3640: \"$ac_compile\"") >&5
3638 (eval $ac_compile) 2>&5 3641 (eval $ac_compile) 2>&5
3639 ac_status=$? 3642 ac_status=$?
3640 echo "$as_me:3640: \$? = $ac_status" >&5 3643 echo "$as_me:3643: \$? = $ac_status" >&5
3641 (exit $ac_status); } && 3644 (exit $ac_status); } &&
3642 { ac_try='test -s conftest.$ac_objext' 3645 { ac_try='test -s conftest.$ac_objext'
3643 { (eval echo "$as_me:3643: \"$ac_try\"") >&5 3646 { (eval echo "$as_me:3646: \"$ac_try\"") >&5
3644 (eval $ac_try) 2>&5 3647 (eval $ac_try) 2>&5
3645 ac_status=$? 3648 ac_status=$?
3646 echo "$as_me:3646: \$? = $ac_status" >&5 3649 echo "$as_me:3649: \$? = $ac_status" >&5
3647 (exit $ac_status); }; }; then 3650 (exit $ac_status); }; }; then
3648 break 3651 break
3649 else 3652 else
3650 echo "$as_me: failed program was:" >&5 3653 echo "$as_me: failed program was:" >&5
3651 cat conftest.$ac_ext >&5 3654 cat conftest.$ac_ext >&5
3652 fi 3655 fi
3653 rm -f conftest.$ac_objext conftest.$ac_ext 3656 rm -f conftest.$ac_objext conftest.$ac_ext
3654 cat >conftest.$ac_ext <<_ACEOF 3657 cat >conftest.$ac_ext <<_ACEOF
3655 #line 3655 "configure" 3658 #line 3658 "configure"
3656 #include "confdefs.h" 3659 #include "confdefs.h"
3657 #define _FILE_OFFSET_BITS 64 3660 #define _FILE_OFFSET_BITS 64
3658 #include <sys/types.h> 3661 #include <sys/types.h>
3659 /* Check that off_t can represent 2**63 - 1 correctly. 3662 /* Check that off_t can represent 2**63 - 1 correctly.
3660 We can't simply define LARGE_OFF_T to be 9223372036854775807, 3663 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3671 ; 3674 ;
3672 return 0; 3675 return 0;
3673 } 3676 }
3674 _ACEOF 3677 _ACEOF
3675 rm -f conftest.$ac_objext 3678 rm -f conftest.$ac_objext
3676 if { (eval echo "$as_me:3676: \"$ac_compile\"") >&5 3679 if { (eval echo "$as_me:3679: \"$ac_compile\"") >&5
3677 (eval $ac_compile) 2>&5 3680 (eval $ac_compile) 2>&5
3678 ac_status=$? 3681 ac_status=$?
3679 echo "$as_me:3679: \$? = $ac_status" >&5 3682 echo "$as_me:3682: \$? = $ac_status" >&5
3680 (exit $ac_status); } && 3683 (exit $ac_status); } &&
3681 { ac_try='test -s conftest.$ac_objext' 3684 { ac_try='test -s conftest.$ac_objext'
3682 { (eval echo "$as_me:3682: \"$ac_try\"") >&5 3685 { (eval echo "$as_me:3685: \"$ac_try\"") >&5
3683 (eval $ac_try) 2>&5 3686 (eval $ac_try) 2>&5
3684 ac_status=$? 3687 ac_status=$?
3685 echo "$as_me:3685: \$? = $ac_status" >&5 3688 echo "$as_me:3688: \$? = $ac_status" >&5
3686 (exit $ac_status); }; }; then 3689 (exit $ac_status); }; }; then
3687 ac_cv_sys_file_offset_bits=64; break 3690 ac_cv_sys_file_offset_bits=64; break
3688 else 3691 else
3689 echo "$as_me: failed program was:" >&5 3692 echo "$as_me: failed program was:" >&5
3690 cat conftest.$ac_ext >&5 3693 cat conftest.$ac_ext >&5
3691 fi 3694 fi
3692 rm -f conftest.$ac_objext conftest.$ac_ext 3695 rm -f conftest.$ac_objext conftest.$ac_ext
3693 break 3696 break
3694 done 3697 done
3695 fi 3698 fi
3696 echo "$as_me:3696: result: $ac_cv_sys_file_offset_bits" >&5 3699 echo "$as_me:3699: result: $ac_cv_sys_file_offset_bits" >&5
3697 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6 3700 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
3698 if test "$ac_cv_sys_file_offset_bits" != no; then 3701 if test "$ac_cv_sys_file_offset_bits" != no; then
3699 3702
3700 cat >>confdefs.h <<EOF 3703 cat >>confdefs.h <<EOF
3701 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 3704 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
3702 EOF 3705 EOF
3703 3706
3704 fi 3707 fi
3705 rm -f conftest* 3708 rm -f conftest*
3706 echo "$as_me:3706: checking for _LARGE_FILES value needed for large files" >&5 3709 echo "$as_me:3709: checking for _LARGE_FILES value needed for large files" >&5
3707 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6 3710 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
3708 if test "${ac_cv_sys_large_files+set}" = set; then 3711 if test "${ac_cv_sys_large_files+set}" = set; then
3709 echo $ECHO_N "(cached) $ECHO_C" >&6 3712 echo $ECHO_N "(cached) $ECHO_C" >&6
3710 else 3713 else
3711 while :; do 3714 while :; do
3712 ac_cv_sys_large_files=no 3715 ac_cv_sys_large_files=no
3713 cat >conftest.$ac_ext <<_ACEOF 3716 cat >conftest.$ac_ext <<_ACEOF
3714 #line 3714 "configure" 3717 #line 3717 "configure"
3715 #include "confdefs.h" 3718 #include "confdefs.h"
3716 #include <sys/types.h> 3719 #include <sys/types.h>
3717 /* Check that off_t can represent 2**63 - 1 correctly. 3720 /* Check that off_t can represent 2**63 - 1 correctly.
3718 We can't simply define LARGE_OFF_T to be 9223372036854775807, 3721 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3719 since some C++ compilers masquerading as C compilers 3722 since some C++ compilers masquerading as C compilers
3729 ; 3732 ;
3730 return 0; 3733 return 0;
3731 } 3734 }
3732 _ACEOF 3735 _ACEOF
3733 rm -f conftest.$ac_objext 3736 rm -f conftest.$ac_objext
3734 if { (eval echo "$as_me:3734: \"$ac_compile\"") >&5 3737 if { (eval echo "$as_me:3737: \"$ac_compile\"") >&5
3735 (eval $ac_compile) 2>&5 3738 (eval $ac_compile) 2>&5
3736 ac_status=$? 3739 ac_status=$?
3737 echo "$as_me:3737: \$? = $ac_status" >&5 3740 echo "$as_me:3740: \$? = $ac_status" >&5
3738 (exit $ac_status); } && 3741 (exit $ac_status); } &&
3739 { ac_try='test -s conftest.$ac_objext' 3742 { ac_try='test -s conftest.$ac_objext'
3740 { (eval echo "$as_me:3740: \"$ac_try\"") >&5 3743 { (eval echo "$as_me:3743: \"$ac_try\"") >&5
3741 (eval $ac_try) 2>&5 3744 (eval $ac_try) 2>&5
3742 ac_status=$? 3745 ac_status=$?
3743 echo "$as_me:3743: \$? = $ac_status" >&5 3746 echo "$as_me:3746: \$? = $ac_status" >&5
3744 (exit $ac_status); }; }; then 3747 (exit $ac_status); }; }; then
3745 break 3748 break
3746 else 3749 else
3747 echo "$as_me: failed program was:" >&5 3750 echo "$as_me: failed program was:" >&5
3748 cat conftest.$ac_ext >&5 3751 cat conftest.$ac_ext >&5
3749 fi 3752 fi
3750 rm -f conftest.$ac_objext conftest.$ac_ext 3753 rm -f conftest.$ac_objext conftest.$ac_ext
3751 cat >conftest.$ac_ext <<_ACEOF 3754 cat >conftest.$ac_ext <<_ACEOF
3752 #line 3752 "configure" 3755 #line 3755 "configure"
3753 #include "confdefs.h" 3756 #include "confdefs.h"
3754 #define _LARGE_FILES 1 3757 #define _LARGE_FILES 1
3755 #include <sys/types.h> 3758 #include <sys/types.h>
3756 /* Check that off_t can represent 2**63 - 1 correctly. 3759 /* Check that off_t can represent 2**63 - 1 correctly.
3757 We can't simply define LARGE_OFF_T to be 9223372036854775807, 3760 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3768 ; 3771 ;
3769 return 0; 3772 return 0;
3770 } 3773 }
3771 _ACEOF 3774 _ACEOF
3772 rm -f conftest.$ac_objext 3775 rm -f conftest.$ac_objext
3773 if { (eval echo "$as_me:3773: \"$ac_compile\"") >&5 3776 if { (eval echo "$as_me:3776: \"$ac_compile\"") >&5
3774 (eval $ac_compile) 2>&5 3777 (eval $ac_compile) 2>&5
3775 ac_status=$? 3778 ac_status=$?
3776 echo "$as_me:3776: \$? = $ac_status" >&5 3779 echo "$as_me:3779: \$? = $ac_status" >&5
3777 (exit $ac_status); } && 3780 (exit $ac_status); } &&
3778 { ac_try='test -s conftest.$ac_objext' 3781 { ac_try='test -s conftest.$ac_objext'
3779 { (eval echo "$as_me:3779: \"$ac_try\"") >&5 3782 { (eval echo "$as_me:3782: \"$ac_try\"") >&5
3780 (eval $ac_try) 2>&5 3783 (eval $ac_try) 2>&5
3781 ac_status=$? 3784 ac_status=$?
3782 echo "$as_me:3782: \$? = $ac_status" >&5 3785 echo "$as_me:3785: \$? = $ac_status" >&5
3783 (exit $ac_status); }; }; then 3786 (exit $ac_status); }; }; then
3784 ac_cv_sys_large_files=1; break 3787 ac_cv_sys_large_files=1; break
3785 else 3788 else
3786 echo "$as_me: failed program was:" >&5 3789 echo "$as_me: failed program was:" >&5
3787 cat conftest.$ac_ext >&5 3790 cat conftest.$ac_ext >&5
3788 fi 3791 fi
3789 rm -f conftest.$ac_objext conftest.$ac_ext 3792 rm -f conftest.$ac_objext conftest.$ac_ext
3790 break 3793 break
3791 done 3794 done
3792 fi 3795 fi
3793 echo "$as_me:3793: result: $ac_cv_sys_large_files" >&5 3796 echo "$as_me:3796: result: $ac_cv_sys_large_files" >&5
3794 echo "${ECHO_T}$ac_cv_sys_large_files" >&6 3797 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
3795 if test "$ac_cv_sys_large_files" != no; then 3798 if test "$ac_cv_sys_large_files" != no; then
3796 3799
3797 cat >>confdefs.h <<EOF 3800 cat >>confdefs.h <<EOF
3798 #define _LARGE_FILES $ac_cv_sys_large_files 3801 #define _LARGE_FILES $ac_cv_sys_large_files
3805 # Sound support for GNU/Linux and the free BSDs. 3808 # Sound support for GNU/Linux and the free BSDs.
3806 3809
3807 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h 3810 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h
3808 do 3811 do
3809 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3812 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3810 echo "$as_me:3810: checking for $ac_header" >&5 3813 echo "$as_me:3813: checking for $ac_header" >&5
3811 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3814 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3812 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3815 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3813 echo $ECHO_N "(cached) $ECHO_C" >&6 3816 echo $ECHO_N "(cached) $ECHO_C" >&6
3814 else 3817 else
3815 cat >conftest.$ac_ext <<_ACEOF 3818 cat >conftest.$ac_ext <<_ACEOF
3816 #line 3816 "configure" 3819 #line 3819 "configure"
3817 #include "confdefs.h" 3820 #include "confdefs.h"
3818 #include <$ac_header> 3821 #include <$ac_header>
3819 _ACEOF 3822 _ACEOF
3820 if { (eval echo "$as_me:3820: \"$ac_cpp conftest.$ac_ext\"") >&5 3823 if { (eval echo "$as_me:3823: \"$ac_cpp conftest.$ac_ext\"") >&5
3821 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3824 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3822 ac_status=$? 3825 ac_status=$?
3823 egrep -v '^ *\+' conftest.er1 >conftest.err 3826 egrep -v '^ *\+' conftest.er1 >conftest.err
3824 rm -f conftest.er1 3827 rm -f conftest.er1
3825 cat conftest.err >&5 3828 cat conftest.err >&5
3826 echo "$as_me:3826: \$? = $ac_status" >&5 3829 echo "$as_me:3829: \$? = $ac_status" >&5
3827 (exit $ac_status); } >/dev/null; then 3830 (exit $ac_status); } >/dev/null; then
3828 if test -s conftest.err; then 3831 if test -s conftest.err; then
3829 ac_cpp_err=$ac_c_preproc_warn_flag 3832 ac_cpp_err=$ac_c_preproc_warn_flag
3830 else 3833 else
3831 ac_cpp_err= 3834 ac_cpp_err=
3840 cat conftest.$ac_ext >&5 3843 cat conftest.$ac_ext >&5
3841 eval "$as_ac_Header=no" 3844 eval "$as_ac_Header=no"
3842 fi 3845 fi
3843 rm -f conftest.err conftest.$ac_ext 3846 rm -f conftest.err conftest.$ac_ext
3844 fi 3847 fi
3845 echo "$as_me:3845: result: `eval echo '${'$as_ac_Header'}'`" >&5 3848 echo "$as_me:3848: result: `eval echo '${'$as_ac_Header'}'`" >&5
3846 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3849 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3847 if test `eval echo '${'$as_ac_Header'}'` = yes; then 3850 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3848 cat >>confdefs.h <<EOF 3851 cat >>confdefs.h <<EOF
3849 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3852 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3850 EOF 3853 EOF
3851 3854
3852 fi 3855 fi
3853 done 3856 done
3854 3857
3855 # Emulation library used on NetBSD. 3858 # Emulation library used on NetBSD.
3856 echo "$as_me:3856: checking for _oss_ioctl in -lossaudio" >&5 3859 echo "$as_me:3859: checking for _oss_ioctl in -lossaudio" >&5
3857 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6 3860 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
3858 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then 3861 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
3859 echo $ECHO_N "(cached) $ECHO_C" >&6 3862 echo $ECHO_N "(cached) $ECHO_C" >&6
3860 else 3863 else
3861 ac_check_lib_save_LIBS=$LIBS 3864 ac_check_lib_save_LIBS=$LIBS
3862 LIBS="-lossaudio $LIBS" 3865 LIBS="-lossaudio $LIBS"
3863 cat >conftest.$ac_ext <<_ACEOF 3866 cat >conftest.$ac_ext <<_ACEOF
3864 #line 3864 "configure" 3867 #line 3867 "configure"
3865 #include "confdefs.h" 3868 #include "confdefs.h"
3866 3869
3867 /* Override any gcc2 internal prototype to avoid an error. */ 3870 /* Override any gcc2 internal prototype to avoid an error. */
3868 #ifdef __cplusplus 3871 #ifdef __cplusplus
3869 extern "C" 3872 extern "C"
3878 ; 3881 ;
3879 return 0; 3882 return 0;
3880 } 3883 }
3881 _ACEOF 3884 _ACEOF
3882 rm -f conftest.$ac_objext conftest$ac_exeext 3885 rm -f conftest.$ac_objext conftest$ac_exeext
3883 if { (eval echo "$as_me:3883: \"$ac_link\"") >&5 3886 if { (eval echo "$as_me:3886: \"$ac_link\"") >&5
3884 (eval $ac_link) 2>&5 3887 (eval $ac_link) 2>&5
3885 ac_status=$? 3888 ac_status=$?
3886 echo "$as_me:3886: \$? = $ac_status" >&5 3889 echo "$as_me:3889: \$? = $ac_status" >&5
3887 (exit $ac_status); } && 3890 (exit $ac_status); } &&
3888 { ac_try='test -s conftest$ac_exeext' 3891 { ac_try='test -s conftest$ac_exeext'
3889 { (eval echo "$as_me:3889: \"$ac_try\"") >&5 3892 { (eval echo "$as_me:3892: \"$ac_try\"") >&5
3890 (eval $ac_try) 2>&5 3893 (eval $ac_try) 2>&5
3891 ac_status=$? 3894 ac_status=$?
3892 echo "$as_me:3892: \$? = $ac_status" >&5 3895 echo "$as_me:3895: \$? = $ac_status" >&5
3893 (exit $ac_status); }; }; then 3896 (exit $ac_status); }; }; then
3894 ac_cv_lib_ossaudio__oss_ioctl=yes 3897 ac_cv_lib_ossaudio__oss_ioctl=yes
3895 else 3898 else
3896 echo "$as_me: failed program was:" >&5 3899 echo "$as_me: failed program was:" >&5
3897 cat conftest.$ac_ext >&5 3900 cat conftest.$ac_ext >&5
3898 ac_cv_lib_ossaudio__oss_ioctl=no 3901 ac_cv_lib_ossaudio__oss_ioctl=no
3899 fi 3902 fi
3900 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3903 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3901 LIBS=$ac_check_lib_save_LIBS 3904 LIBS=$ac_check_lib_save_LIBS
3902 fi 3905 fi
3903 echo "$as_me:3903: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5 3906 echo "$as_me:3906: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
3904 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6 3907 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
3905 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then 3908 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
3906 LIBSOUND=-lossaudio 3909 LIBSOUND=-lossaudio
3907 else 3910 else
3908 LIBSOUND= 3911 LIBSOUND=
3911 for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ 3914 for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \
3912 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ 3915 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \
3913 termcap.h stdio_ext.h fcntl.h term.h strings.h 3916 termcap.h stdio_ext.h fcntl.h term.h strings.h
3914 do 3917 do
3915 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3918 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3916 echo "$as_me:3916: checking for $ac_header" >&5 3919 echo "$as_me:3919: checking for $ac_header" >&5
3917 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3920 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3918 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3921 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3919 echo $ECHO_N "(cached) $ECHO_C" >&6 3922 echo $ECHO_N "(cached) $ECHO_C" >&6
3920 else 3923 else
3921 cat >conftest.$ac_ext <<_ACEOF 3924 cat >conftest.$ac_ext <<_ACEOF
3922 #line 3922 "configure" 3925 #line 3925 "configure"
3923 #include "confdefs.h" 3926 #include "confdefs.h"
3924 #include <$ac_header> 3927 #include <$ac_header>
3925 _ACEOF 3928 _ACEOF
3926 if { (eval echo "$as_me:3926: \"$ac_cpp conftest.$ac_ext\"") >&5 3929 if { (eval echo "$as_me:3929: \"$ac_cpp conftest.$ac_ext\"") >&5
3927 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3930 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3928 ac_status=$? 3931 ac_status=$?
3929 egrep -v '^ *\+' conftest.er1 >conftest.err 3932 egrep -v '^ *\+' conftest.er1 >conftest.err
3930 rm -f conftest.er1 3933 rm -f conftest.er1
3931 cat conftest.err >&5 3934 cat conftest.err >&5
3932 echo "$as_me:3932: \$? = $ac_status" >&5 3935 echo "$as_me:3935: \$? = $ac_status" >&5
3933 (exit $ac_status); } >/dev/null; then 3936 (exit $ac_status); } >/dev/null; then
3934 if test -s conftest.err; then 3937 if test -s conftest.err; then
3935 ac_cpp_err=$ac_c_preproc_warn_flag 3938 ac_cpp_err=$ac_c_preproc_warn_flag
3936 else 3939 else
3937 ac_cpp_err= 3940 ac_cpp_err=
3946 cat conftest.$ac_ext >&5 3949 cat conftest.$ac_ext >&5
3947 eval "$as_ac_Header=no" 3950 eval "$as_ac_Header=no"
3948 fi 3951 fi
3949 rm -f conftest.err conftest.$ac_ext 3952 rm -f conftest.err conftest.$ac_ext
3950 fi 3953 fi
3951 echo "$as_me:3951: result: `eval echo '${'$as_ac_Header'}'`" >&5 3954 echo "$as_me:3954: result: `eval echo '${'$as_ac_Header'}'`" >&5
3952 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3955 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3953 if test `eval echo '${'$as_ac_Header'}'` = yes; then 3956 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3954 cat >>confdefs.h <<EOF 3957 cat >>confdefs.h <<EOF
3955 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3958 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3956 EOF 3959 EOF
3957 3960
3958 fi 3961 fi
3959 done 3962 done
3960 3963
3961 echo "$as_me:3961: checking for ANSI C header files" >&5 3964 echo "$as_me:3964: checking for ANSI C header files" >&5
3962 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 3965 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3963 if test "${ac_cv_header_stdc+set}" = set; then 3966 if test "${ac_cv_header_stdc+set}" = set; then
3964 echo $ECHO_N "(cached) $ECHO_C" >&6 3967 echo $ECHO_N "(cached) $ECHO_C" >&6
3965 else 3968 else
3966 cat >conftest.$ac_ext <<_ACEOF 3969 cat >conftest.$ac_ext <<_ACEOF
3967 #line 3967 "configure" 3970 #line 3970 "configure"
3968 #include "confdefs.h" 3971 #include "confdefs.h"
3969 #include <stdlib.h> 3972 #include <stdlib.h>
3970 #include <stdarg.h> 3973 #include <stdarg.h>
3971 #include <string.h> 3974 #include <string.h>
3972 #include <float.h> 3975 #include <float.h>
3973 3976
3974 _ACEOF 3977 _ACEOF
3975 if { (eval echo "$as_me:3975: \"$ac_cpp conftest.$ac_ext\"") >&5 3978 if { (eval echo "$as_me:3978: \"$ac_cpp conftest.$ac_ext\"") >&5
3976 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3979 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3977 ac_status=$? 3980 ac_status=$?
3978 egrep -v '^ *\+' conftest.er1 >conftest.err 3981 egrep -v '^ *\+' conftest.er1 >conftest.err
3979 rm -f conftest.er1 3982 rm -f conftest.er1
3980 cat conftest.err >&5 3983 cat conftest.err >&5
3981 echo "$as_me:3981: \$? = $ac_status" >&5 3984 echo "$as_me:3984: \$? = $ac_status" >&5
3982 (exit $ac_status); } >/dev/null; then 3985 (exit $ac_status); } >/dev/null; then
3983 if test -s conftest.err; then 3986 if test -s conftest.err; then
3984 ac_cpp_err=$ac_c_preproc_warn_flag 3987 ac_cpp_err=$ac_c_preproc_warn_flag
3985 else 3988 else
3986 ac_cpp_err= 3989 ac_cpp_err=
3998 rm -f conftest.err conftest.$ac_ext 4001 rm -f conftest.err conftest.$ac_ext
3999 4002
4000 if test $ac_cv_header_stdc = yes; then 4003 if test $ac_cv_header_stdc = yes; then
4001 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4004 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4002 cat >conftest.$ac_ext <<_ACEOF 4005 cat >conftest.$ac_ext <<_ACEOF
4003 #line 4003 "configure" 4006 #line 4006 "configure"
4004 #include "confdefs.h" 4007 #include "confdefs.h"
4005 #include <string.h> 4008 #include <string.h>
4006 4009
4007 _ACEOF 4010 _ACEOF
4008 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4011 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4016 fi 4019 fi
4017 4020
4018 if test $ac_cv_header_stdc = yes; then 4021 if test $ac_cv_header_stdc = yes; then
4019 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4022 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4020 cat >conftest.$ac_ext <<_ACEOF 4023 cat >conftest.$ac_ext <<_ACEOF
4021 #line 4021 "configure" 4024 #line 4024 "configure"
4022 #include "confdefs.h" 4025 #include "confdefs.h"
4023 #include <stdlib.h> 4026 #include <stdlib.h>
4024 4027
4025 _ACEOF 4028 _ACEOF
4026 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4029 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4037 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4040 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4038 if test "$cross_compiling" = yes; then 4041 if test "$cross_compiling" = yes; then
4039 : 4042 :
4040 else 4043 else
4041 cat >conftest.$ac_ext <<_ACEOF 4044 cat >conftest.$ac_ext <<_ACEOF
4042 #line 4042 "configure" 4045 #line 4045 "configure"
4043 #include "confdefs.h" 4046 #include "confdefs.h"
4044 #include <ctype.h> 4047 #include <ctype.h>
4045 #if ((' ' & 0x0FF) == 0x020) 4048 #if ((' ' & 0x0FF) == 0x020)
4046 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4049 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4047 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4050 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4063 exit(2); 4066 exit(2);
4064 exit (0); 4067 exit (0);
4065 } 4068 }
4066 _ACEOF 4069 _ACEOF
4067 rm -f conftest$ac_exeext 4070 rm -f conftest$ac_exeext
4068 if { (eval echo "$as_me:4068: \"$ac_link\"") >&5 4071 if { (eval echo "$as_me:4071: \"$ac_link\"") >&5
4069 (eval $ac_link) 2>&5 4072 (eval $ac_link) 2>&5
4070 ac_status=$? 4073 ac_status=$?
4071 echo "$as_me:4071: \$? = $ac_status" >&5 4074 echo "$as_me:4074: \$? = $ac_status" >&5
4072 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4075 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4073 { (eval echo "$as_me:4073: \"$ac_try\"") >&5 4076 { (eval echo "$as_me:4076: \"$ac_try\"") >&5
4074 (eval $ac_try) 2>&5 4077 (eval $ac_try) 2>&5
4075 ac_status=$? 4078 ac_status=$?
4076 echo "$as_me:4076: \$? = $ac_status" >&5 4079 echo "$as_me:4079: \$? = $ac_status" >&5
4077 (exit $ac_status); }; }; then 4080 (exit $ac_status); }; }; then
4078 : 4081 :
4079 else 4082 else
4080 echo "$as_me: program exited with status $ac_status" >&5 4083 echo "$as_me: program exited with status $ac_status" >&5
4081 echo "$as_me: failed program was:" >&5 4084 echo "$as_me: failed program was:" >&5
4084 fi 4087 fi
4085 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4088 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4086 fi 4089 fi
4087 fi 4090 fi
4088 fi 4091 fi
4089 echo "$as_me:4089: result: $ac_cv_header_stdc" >&5 4092 echo "$as_me:4092: result: $ac_cv_header_stdc" >&5
4090 echo "${ECHO_T}$ac_cv_header_stdc" >&6 4093 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4091 if test $ac_cv_header_stdc = yes; then 4094 if test $ac_cv_header_stdc = yes; then
4092 4095
4093 cat >>confdefs.h <<\EOF 4096 cat >>confdefs.h <<\EOF
4094 #define STDC_HEADERS 1 4097 #define STDC_HEADERS 1
4095 EOF 4098 EOF
4096 4099
4097 fi 4100 fi
4098 4101
4099 echo "$as_me:4099: checking whether time.h and sys/time.h may both be included" >&5 4102 echo "$as_me:4102: checking whether time.h and sys/time.h may both be included" >&5
4100 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 4103 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
4101 if test "${ac_cv_header_time+set}" = set; then 4104 if test "${ac_cv_header_time+set}" = set; then
4102 echo $ECHO_N "(cached) $ECHO_C" >&6 4105 echo $ECHO_N "(cached) $ECHO_C" >&6
4103 else 4106 else
4104 cat >conftest.$ac_ext <<_ACEOF 4107 cat >conftest.$ac_ext <<_ACEOF
4105 #line 4105 "configure" 4108 #line 4108 "configure"
4106 #include "confdefs.h" 4109 #include "confdefs.h"
4107 #include <sys/types.h> 4110 #include <sys/types.h>
4108 #include <sys/time.h> 4111 #include <sys/time.h>
4109 #include <time.h> 4112 #include <time.h>
4110 4113
4116 ; 4119 ;
4117 return 0; 4120 return 0;
4118 } 4121 }
4119 _ACEOF 4122 _ACEOF
4120 rm -f conftest.$ac_objext 4123 rm -f conftest.$ac_objext
4121 if { (eval echo "$as_me:4121: \"$ac_compile\"") >&5 4124 if { (eval echo "$as_me:4124: \"$ac_compile\"") >&5
4122 (eval $ac_compile) 2>&5 4125 (eval $ac_compile) 2>&5
4123 ac_status=$? 4126 ac_status=$?
4124 echo "$as_me:4124: \$? = $ac_status" >&5 4127 echo "$as_me:4127: \$? = $ac_status" >&5
4125 (exit $ac_status); } && 4128 (exit $ac_status); } &&
4126 { ac_try='test -s conftest.$ac_objext' 4129 { ac_try='test -s conftest.$ac_objext'
4127 { (eval echo "$as_me:4127: \"$ac_try\"") >&5 4130 { (eval echo "$as_me:4130: \"$ac_try\"") >&5
4128 (eval $ac_try) 2>&5 4131 (eval $ac_try) 2>&5
4129 ac_status=$? 4132 ac_status=$?
4130 echo "$as_me:4130: \$? = $ac_status" >&5 4133 echo "$as_me:4133: \$? = $ac_status" >&5
4131 (exit $ac_status); }; }; then 4134 (exit $ac_status); }; }; then
4132 ac_cv_header_time=yes 4135 ac_cv_header_time=yes
4133 else 4136 else
4134 echo "$as_me: failed program was:" >&5 4137 echo "$as_me: failed program was:" >&5
4135 cat conftest.$ac_ext >&5 4138 cat conftest.$ac_ext >&5
4136 ac_cv_header_time=no 4139 ac_cv_header_time=no
4137 fi 4140 fi
4138 rm -f conftest.$ac_objext conftest.$ac_ext 4141 rm -f conftest.$ac_objext conftest.$ac_ext
4139 fi 4142 fi
4140 echo "$as_me:4140: result: $ac_cv_header_time" >&5 4143 echo "$as_me:4143: result: $ac_cv_header_time" >&5
4141 echo "${ECHO_T}$ac_cv_header_time" >&6 4144 echo "${ECHO_T}$ac_cv_header_time" >&6
4142 if test $ac_cv_header_time = yes; then 4145 if test $ac_cv_header_time = yes; then
4143 4146
4144 cat >>confdefs.h <<\EOF 4147 cat >>confdefs.h <<\EOF
4145 #define TIME_WITH_SYS_TIME 1 4148 #define TIME_WITH_SYS_TIME 1
4146 EOF 4149 EOF
4147 4150
4148 fi 4151 fi
4149 4152
4150 echo "$as_me:4150: checking for sys_siglist declaration in signal.h or unistd.h" >&5 4153 echo "$as_me:4153: checking for sys_siglist declaration in signal.h or unistd.h" >&5
4151 echo $ECHO_N "checking for sys_siglist declaration in signal.h or unistd.h... $ECHO_C" >&6 4154 echo $ECHO_N "checking for sys_siglist declaration in signal.h or unistd.h... $ECHO_C" >&6
4152 if test "${ac_cv_decl_sys_siglist+set}" = set; then 4155 if test "${ac_cv_decl_sys_siglist+set}" = set; then
4153 echo $ECHO_N "(cached) $ECHO_C" >&6 4156 echo $ECHO_N "(cached) $ECHO_C" >&6
4154 else 4157 else
4155 cat >conftest.$ac_ext <<_ACEOF 4158 cat >conftest.$ac_ext <<_ACEOF
4156 #line 4156 "configure" 4159 #line 4159 "configure"
4157 #include "confdefs.h" 4160 #include "confdefs.h"
4158 #include <sys/types.h> 4161 #include <sys/types.h>
4159 #include <signal.h> 4162 #include <signal.h>
4160 /* NetBSD declares sys_siglist in unistd.h. */ 4163 /* NetBSD declares sys_siglist in unistd.h. */
4161 #if HAVE_UNISTD_H 4164 #if HAVE_UNISTD_H
4169 ; 4172 ;
4170 return 0; 4173 return 0;
4171 } 4174 }
4172 _ACEOF 4175 _ACEOF
4173 rm -f conftest.$ac_objext 4176 rm -f conftest.$ac_objext
4174 if { (eval echo "$as_me:4174: \"$ac_compile\"") >&5 4177 if { (eval echo "$as_me:4177: \"$ac_compile\"") >&5
4175 (eval $ac_compile) 2>&5 4178 (eval $ac_compile) 2>&5
4176 ac_status=$? 4179 ac_status=$?
4177 echo "$as_me:4177: \$? = $ac_status" >&5 4180 echo "$as_me:4180: \$? = $ac_status" >&5
4178 (exit $ac_status); } && 4181 (exit $ac_status); } &&
4179 { ac_try='test -s conftest.$ac_objext' 4182 { ac_try='test -s conftest.$ac_objext'
4180 { (eval echo "$as_me:4180: \"$ac_try\"") >&5 4183 { (eval echo "$as_me:4183: \"$ac_try\"") >&5
4181 (eval $ac_try) 2>&5 4184 (eval $ac_try) 2>&5
4182 ac_status=$? 4185 ac_status=$?
4183 echo "$as_me:4183: \$? = $ac_status" >&5 4186 echo "$as_me:4186: \$? = $ac_status" >&5
4184 (exit $ac_status); }; }; then 4187 (exit $ac_status); }; }; then
4185 ac_cv_decl_sys_siglist=yes 4188 ac_cv_decl_sys_siglist=yes
4186 else 4189 else
4187 echo "$as_me: failed program was:" >&5 4190 echo "$as_me: failed program was:" >&5
4188 cat conftest.$ac_ext >&5 4191 cat conftest.$ac_ext >&5
4189 ac_cv_decl_sys_siglist=no 4192 ac_cv_decl_sys_siglist=no
4190 fi 4193 fi
4191 rm -f conftest.$ac_objext conftest.$ac_ext 4194 rm -f conftest.$ac_objext conftest.$ac_ext
4192 fi 4195 fi
4193 echo "$as_me:4193: result: $ac_cv_decl_sys_siglist" >&5 4196 echo "$as_me:4196: result: $ac_cv_decl_sys_siglist" >&5
4194 echo "${ECHO_T}$ac_cv_decl_sys_siglist" >&6 4197 echo "${ECHO_T}$ac_cv_decl_sys_siglist" >&6
4195 if test $ac_cv_decl_sys_siglist = yes; then 4198 if test $ac_cv_decl_sys_siglist = yes; then
4196 4199
4197 cat >>confdefs.h <<\EOF 4200 cat >>confdefs.h <<\EOF
4198 #define SYS_SIGLIST_DECLARED 1 4201 #define SYS_SIGLIST_DECLARED 1
4199 EOF 4202 EOF
4200 4203
4201 fi 4204 fi
4202 4205
4203 echo "$as_me:4203: checking for sys/wait.h that is POSIX.1 compatible" >&5 4206 echo "$as_me:4206: checking for sys/wait.h that is POSIX.1 compatible" >&5
4204 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6 4207 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
4205 if test "${ac_cv_header_sys_wait_h+set}" = set; then 4208 if test "${ac_cv_header_sys_wait_h+set}" = set; then
4206 echo $ECHO_N "(cached) $ECHO_C" >&6 4209 echo $ECHO_N "(cached) $ECHO_C" >&6
4207 else 4210 else
4208 cat >conftest.$ac_ext <<_ACEOF 4211 cat >conftest.$ac_ext <<_ACEOF
4209 #line 4209 "configure" 4212 #line 4212 "configure"
4210 #include "confdefs.h" 4213 #include "confdefs.h"
4211 #include <sys/types.h> 4214 #include <sys/types.h>
4212 #include <sys/wait.h> 4215 #include <sys/wait.h>
4213 #ifndef WEXITSTATUS 4216 #ifndef WEXITSTATUS
4214 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) 4217 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
4226 ; 4229 ;
4227 return 0; 4230 return 0;
4228 } 4231 }
4229 _ACEOF 4232 _ACEOF
4230 rm -f conftest.$ac_objext 4233 rm -f conftest.$ac_objext
4231 if { (eval echo "$as_me:4231: \"$ac_compile\"") >&5 4234 if { (eval echo "$as_me:4234: \"$ac_compile\"") >&5
4232 (eval $ac_compile) 2>&5 4235 (eval $ac_compile) 2>&5
4233 ac_status=$? 4236 ac_status=$?
4234 echo "$as_me:4234: \$? = $ac_status" >&5 4237 echo "$as_me:4237: \$? = $ac_status" >&5
4235 (exit $ac_status); } && 4238 (exit $ac_status); } &&
4236 { ac_try='test -s conftest.$ac_objext' 4239 { ac_try='test -s conftest.$ac_objext'
4237 { (eval echo "$as_me:4237: \"$ac_try\"") >&5 4240 { (eval echo "$as_me:4240: \"$ac_try\"") >&5
4238 (eval $ac_try) 2>&5 4241 (eval $ac_try) 2>&5
4239 ac_status=$? 4242 ac_status=$?
4240 echo "$as_me:4240: \$? = $ac_status" >&5 4243 echo "$as_me:4243: \$? = $ac_status" >&5
4241 (exit $ac_status); }; }; then 4244 (exit $ac_status); }; }; then
4242 ac_cv_header_sys_wait_h=yes 4245 ac_cv_header_sys_wait_h=yes
4243 else 4246 else
4244 echo "$as_me: failed program was:" >&5 4247 echo "$as_me: failed program was:" >&5
4245 cat conftest.$ac_ext >&5 4248 cat conftest.$ac_ext >&5
4246 ac_cv_header_sys_wait_h=no 4249 ac_cv_header_sys_wait_h=no
4247 fi 4250 fi
4248 rm -f conftest.$ac_objext conftest.$ac_ext 4251 rm -f conftest.$ac_objext conftest.$ac_ext
4249 fi 4252 fi
4250 echo "$as_me:4250: result: $ac_cv_header_sys_wait_h" >&5 4253 echo "$as_me:4253: result: $ac_cv_header_sys_wait_h" >&5
4251 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6 4254 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
4252 if test $ac_cv_header_sys_wait_h = yes; then 4255 if test $ac_cv_header_sys_wait_h = yes; then
4253 4256
4254 cat >>confdefs.h <<\EOF 4257 cat >>confdefs.h <<\EOF
4255 #define HAVE_SYS_WAIT_H 1 4258 #define HAVE_SYS_WAIT_H 1
4256 EOF 4259 EOF
4257 4260
4258 fi 4261 fi
4259 4262
4260 echo "$as_me:4260: checking for struct utimbuf" >&5 4263 echo "$as_me:4263: checking for struct utimbuf" >&5
4261 echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6 4264 echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6
4262 if test "${emacs_cv_struct_utimbuf+set}" = set; then 4265 if test "${emacs_cv_struct_utimbuf+set}" = set; then
4263 echo $ECHO_N "(cached) $ECHO_C" >&6 4266 echo $ECHO_N "(cached) $ECHO_C" >&6
4264 else 4267 else
4265 cat >conftest.$ac_ext <<_ACEOF 4268 cat >conftest.$ac_ext <<_ACEOF
4266 #line 4266 "configure" 4269 #line 4269 "configure"
4267 #include "confdefs.h" 4270 #include "confdefs.h"
4268 #ifdef TIME_WITH_SYS_TIME 4271 #ifdef TIME_WITH_SYS_TIME
4269 #include <sys/time.h> 4272 #include <sys/time.h>
4270 #include <time.h> 4273 #include <time.h>
4271 #else 4274 #else
4285 ; 4288 ;
4286 return 0; 4289 return 0;
4287 } 4290 }
4288 _ACEOF 4291 _ACEOF
4289 rm -f conftest.$ac_objext 4292 rm -f conftest.$ac_objext
4290 if { (eval echo "$as_me:4290: \"$ac_compile\"") >&5 4293 if { (eval echo "$as_me:4293: \"$ac_compile\"") >&5
4291 (eval $ac_compile) 2>&5 4294 (eval $ac_compile) 2>&5
4292 ac_status=$? 4295 ac_status=$?
4293 echo "$as_me:4293: \$? = $ac_status" >&5 4296 echo "$as_me:4296: \$? = $ac_status" >&5
4294 (exit $ac_status); } && 4297 (exit $ac_status); } &&
4295 { ac_try='test -s conftest.$ac_objext' 4298 { ac_try='test -s conftest.$ac_objext'
4296 { (eval echo "$as_me:4296: \"$ac_try\"") >&5 4299 { (eval echo "$as_me:4299: \"$ac_try\"") >&5
4297 (eval $ac_try) 2>&5 4300 (eval $ac_try) 2>&5
4298 ac_status=$? 4301 ac_status=$?
4299 echo "$as_me:4299: \$? = $ac_status" >&5 4302 echo "$as_me:4302: \$? = $ac_status" >&5
4300 (exit $ac_status); }; }; then 4303 (exit $ac_status); }; }; then
4301 emacs_cv_struct_utimbuf=yes 4304 emacs_cv_struct_utimbuf=yes
4302 else 4305 else
4303 echo "$as_me: failed program was:" >&5 4306 echo "$as_me: failed program was:" >&5
4304 cat conftest.$ac_ext >&5 4307 cat conftest.$ac_ext >&5
4305 emacs_cv_struct_utimbuf=no 4308 emacs_cv_struct_utimbuf=no
4306 fi 4309 fi
4307 rm -f conftest.$ac_objext conftest.$ac_ext 4310 rm -f conftest.$ac_objext conftest.$ac_ext
4308 fi 4311 fi
4309 echo "$as_me:4309: result: $emacs_cv_struct_utimbuf" >&5 4312 echo "$as_me:4312: result: $emacs_cv_struct_utimbuf" >&5
4310 echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6 4313 echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6
4311 if test $emacs_cv_struct_utimbuf = yes; then 4314 if test $emacs_cv_struct_utimbuf = yes; then
4312 cat >>confdefs.h <<\EOF 4315 cat >>confdefs.h <<\EOF
4313 #define HAVE_STRUCT_UTIMBUF 1 4316 #define HAVE_STRUCT_UTIMBUF 1
4314 EOF 4317 EOF
4315 4318
4316 fi 4319 fi
4317 4320
4318 echo "$as_me:4318: checking return type of signal handlers" >&5 4321 echo "$as_me:4321: checking return type of signal handlers" >&5
4319 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 4322 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
4320 if test "${ac_cv_type_signal+set}" = set; then 4323 if test "${ac_cv_type_signal+set}" = set; then
4321 echo $ECHO_N "(cached) $ECHO_C" >&6 4324 echo $ECHO_N "(cached) $ECHO_C" >&6
4322 else 4325 else
4323 cat >conftest.$ac_ext <<_ACEOF 4326 cat >conftest.$ac_ext <<_ACEOF
4324 #line 4324 "configure" 4327 #line 4327 "configure"
4325 #include "confdefs.h" 4328 #include "confdefs.h"
4326 #include <sys/types.h> 4329 #include <sys/types.h>
4327 #include <signal.h> 4330 #include <signal.h>
4328 #ifdef signal 4331 #ifdef signal
4329 # undef signal 4332 # undef signal
4341 ; 4344 ;
4342 return 0; 4345 return 0;
4343 } 4346 }
4344 _ACEOF 4347 _ACEOF
4345 rm -f conftest.$ac_objext 4348 rm -f conftest.$ac_objext
4346 if { (eval echo "$as_me:4346: \"$ac_compile\"") >&5 4349 if { (eval echo "$as_me:4349: \"$ac_compile\"") >&5
4347 (eval $ac_compile) 2>&5 4350 (eval $ac_compile) 2>&5
4348 ac_status=$? 4351 ac_status=$?
4349 echo "$as_me:4349: \$? = $ac_status" >&5 4352 echo "$as_me:4352: \$? = $ac_status" >&5
4350 (exit $ac_status); } && 4353 (exit $ac_status); } &&
4351 { ac_try='test -s conftest.$ac_objext' 4354 { ac_try='test -s conftest.$ac_objext'
4352 { (eval echo "$as_me:4352: \"$ac_try\"") >&5 4355 { (eval echo "$as_me:4355: \"$ac_try\"") >&5
4353 (eval $ac_try) 2>&5 4356 (eval $ac_try) 2>&5
4354 ac_status=$? 4357 ac_status=$?
4355 echo "$as_me:4355: \$? = $ac_status" >&5 4358 echo "$as_me:4358: \$? = $ac_status" >&5
4356 (exit $ac_status); }; }; then 4359 (exit $ac_status); }; }; then
4357 ac_cv_type_signal=void 4360 ac_cv_type_signal=void
4358 else 4361 else
4359 echo "$as_me: failed program was:" >&5 4362 echo "$as_me: failed program was:" >&5
4360 cat conftest.$ac_ext >&5 4363 cat conftest.$ac_ext >&5
4361 ac_cv_type_signal=int 4364 ac_cv_type_signal=int
4362 fi 4365 fi
4363 rm -f conftest.$ac_objext conftest.$ac_ext 4366 rm -f conftest.$ac_objext conftest.$ac_ext
4364 fi 4367 fi
4365 echo "$as_me:4365: result: $ac_cv_type_signal" >&5 4368 echo "$as_me:4368: result: $ac_cv_type_signal" >&5
4366 echo "${ECHO_T}$ac_cv_type_signal" >&6 4369 echo "${ECHO_T}$ac_cv_type_signal" >&6
4367 4370
4368 cat >>confdefs.h <<EOF 4371 cat >>confdefs.h <<EOF
4369 #define RETSIGTYPE $ac_cv_type_signal 4372 #define RETSIGTYPE $ac_cv_type_signal
4370 EOF 4373 EOF
4371 4374
4372 echo "$as_me:4372: checking for speed_t" >&5 4375 echo "$as_me:4375: checking for speed_t" >&5
4373 echo $ECHO_N "checking for speed_t... $ECHO_C" >&6 4376 echo $ECHO_N "checking for speed_t... $ECHO_C" >&6
4374 if test "${emacs_cv_speed_t+set}" = set; then 4377 if test "${emacs_cv_speed_t+set}" = set; then
4375 echo $ECHO_N "(cached) $ECHO_C" >&6 4378 echo $ECHO_N "(cached) $ECHO_C" >&6
4376 else 4379 else
4377 cat >conftest.$ac_ext <<_ACEOF 4380 cat >conftest.$ac_ext <<_ACEOF
4378 #line 4378 "configure" 4381 #line 4381 "configure"
4379 #include "confdefs.h" 4382 #include "confdefs.h"
4380 #include <termios.h> 4383 #include <termios.h>
4381 int 4384 int
4382 main () 4385 main ()
4383 { 4386 {
4385 ; 4388 ;
4386 return 0; 4389 return 0;
4387 } 4390 }
4388 _ACEOF 4391 _ACEOF
4389 rm -f conftest.$ac_objext 4392 rm -f conftest.$ac_objext
4390 if { (eval echo "$as_me:4390: \"$ac_compile\"") >&5 4393 if { (eval echo "$as_me:4393: \"$ac_compile\"") >&5
4391 (eval $ac_compile) 2>&5 4394 (eval $ac_compile) 2>&5
4392 ac_status=$? 4395 ac_status=$?
4393 echo "$as_me:4393: \$? = $ac_status" >&5 4396 echo "$as_me:4396: \$? = $ac_status" >&5
4394 (exit $ac_status); } && 4397 (exit $ac_status); } &&
4395 { ac_try='test -s conftest.$ac_objext' 4398 { ac_try='test -s conftest.$ac_objext'
4396 { (eval echo "$as_me:4396: \"$ac_try\"") >&5 4399 { (eval echo "$as_me:4399: \"$ac_try\"") >&5
4397 (eval $ac_try) 2>&5 4400 (eval $ac_try) 2>&5
4398 ac_status=$? 4401 ac_status=$?
4399 echo "$as_me:4399: \$? = $ac_status" >&5 4402 echo "$as_me:4402: \$? = $ac_status" >&5
4400 (exit $ac_status); }; }; then 4403 (exit $ac_status); }; }; then
4401 emacs_cv_speed_t=yes 4404 emacs_cv_speed_t=yes
4402 else 4405 else
4403 echo "$as_me: failed program was:" >&5 4406 echo "$as_me: failed program was:" >&5
4404 cat conftest.$ac_ext >&5 4407 cat conftest.$ac_ext >&5
4405 emacs_cv_speed_t=no 4408 emacs_cv_speed_t=no
4406 fi 4409 fi
4407 rm -f conftest.$ac_objext conftest.$ac_ext 4410 rm -f conftest.$ac_objext conftest.$ac_ext
4408 fi 4411 fi
4409 echo "$as_me:4409: result: $emacs_cv_speed_t" >&5 4412 echo "$as_me:4412: result: $emacs_cv_speed_t" >&5
4410 echo "${ECHO_T}$emacs_cv_speed_t" >&6 4413 echo "${ECHO_T}$emacs_cv_speed_t" >&6
4411 if test $emacs_cv_speed_t = yes; then 4414 if test $emacs_cv_speed_t = yes; then
4412 cat >>confdefs.h <<\EOF 4415 cat >>confdefs.h <<\EOF
4413 #define HAVE_SPEED_T 1 4416 #define HAVE_SPEED_T 1
4414 EOF 4417 EOF
4415 4418
4416 fi 4419 fi
4417 4420
4418 echo "$as_me:4418: checking for struct timeval" >&5 4421 echo "$as_me:4421: checking for struct timeval" >&5
4419 echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6 4422 echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6
4420 if test "${emacs_cv_struct_timeval+set}" = set; then 4423 if test "${emacs_cv_struct_timeval+set}" = set; then
4421 echo $ECHO_N "(cached) $ECHO_C" >&6 4424 echo $ECHO_N "(cached) $ECHO_C" >&6
4422 else 4425 else
4423 cat >conftest.$ac_ext <<_ACEOF 4426 cat >conftest.$ac_ext <<_ACEOF
4424 #line 4424 "configure" 4427 #line 4427 "configure"
4425 #include "confdefs.h" 4428 #include "confdefs.h"
4426 #ifdef TIME_WITH_SYS_TIME 4429 #ifdef TIME_WITH_SYS_TIME
4427 #include <sys/time.h> 4430 #include <sys/time.h>
4428 #include <time.h> 4431 #include <time.h>
4429 #else 4432 #else
4440 ; 4443 ;
4441 return 0; 4444 return 0;
4442 } 4445 }
4443 _ACEOF 4446 _ACEOF
4444 rm -f conftest.$ac_objext 4447 rm -f conftest.$ac_objext
4445 if { (eval echo "$as_me:4445: \"$ac_compile\"") >&5 4448 if { (eval echo "$as_me:4448: \"$ac_compile\"") >&5
4446 (eval $ac_compile) 2>&5 4449 (eval $ac_compile) 2>&5
4447 ac_status=$? 4450 ac_status=$?
4448 echo "$as_me:4448: \$? = $ac_status" >&5 4451 echo "$as_me:4451: \$? = $ac_status" >&5
4449 (exit $ac_status); } && 4452 (exit $ac_status); } &&
4450 { ac_try='test -s conftest.$ac_objext' 4453 { ac_try='test -s conftest.$ac_objext'
4451 { (eval echo "$as_me:4451: \"$ac_try\"") >&5 4454 { (eval echo "$as_me:4454: \"$ac_try\"") >&5
4452 (eval $ac_try) 2>&5 4455 (eval $ac_try) 2>&5
4453 ac_status=$? 4456 ac_status=$?
4454 echo "$as_me:4454: \$? = $ac_status" >&5 4457 echo "$as_me:4457: \$? = $ac_status" >&5
4455 (exit $ac_status); }; }; then 4458 (exit $ac_status); }; }; then
4456 emacs_cv_struct_timeval=yes 4459 emacs_cv_struct_timeval=yes
4457 else 4460 else
4458 echo "$as_me: failed program was:" >&5 4461 echo "$as_me: failed program was:" >&5
4459 cat conftest.$ac_ext >&5 4462 cat conftest.$ac_ext >&5
4460 emacs_cv_struct_timeval=no 4463 emacs_cv_struct_timeval=no
4461 fi 4464 fi
4462 rm -f conftest.$ac_objext conftest.$ac_ext 4465 rm -f conftest.$ac_objext conftest.$ac_ext
4463 fi 4466 fi
4464 echo "$as_me:4464: result: $emacs_cv_struct_timeval" >&5 4467 echo "$as_me:4467: result: $emacs_cv_struct_timeval" >&5
4465 echo "${ECHO_T}$emacs_cv_struct_timeval" >&6 4468 echo "${ECHO_T}$emacs_cv_struct_timeval" >&6
4466 HAVE_TIMEVAL=$emacs_cv_struct_timeval 4469 HAVE_TIMEVAL=$emacs_cv_struct_timeval
4467 if test $emacs_cv_struct_timeval = yes; then 4470 if test $emacs_cv_struct_timeval = yes; then
4468 cat >>confdefs.h <<\EOF 4471 cat >>confdefs.h <<\EOF
4469 #define HAVE_TIMEVAL 1 4472 #define HAVE_TIMEVAL 1
4470 EOF 4473 EOF
4471 4474
4472 fi 4475 fi
4473 4476
4474 echo "$as_me:4474: checking for struct exception" >&5 4477 echo "$as_me:4477: checking for struct exception" >&5
4475 echo $ECHO_N "checking for struct exception... $ECHO_C" >&6 4478 echo $ECHO_N "checking for struct exception... $ECHO_C" >&6
4476 if test "${emacs_cv_struct_exception+set}" = set; then 4479 if test "${emacs_cv_struct_exception+set}" = set; then
4477 echo $ECHO_N "(cached) $ECHO_C" >&6 4480 echo $ECHO_N "(cached) $ECHO_C" >&6
4478 else 4481 else
4479 cat >conftest.$ac_ext <<_ACEOF 4482 cat >conftest.$ac_ext <<_ACEOF
4480 #line 4480 "configure" 4483 #line 4483 "configure"
4481 #include "confdefs.h" 4484 #include "confdefs.h"
4482 #include <math.h> 4485 #include <math.h>
4483 int 4486 int
4484 main () 4487 main ()
4485 { 4488 {
4487 ; 4490 ;
4488 return 0; 4491 return 0;
4489 } 4492 }
4490 _ACEOF 4493 _ACEOF
4491 rm -f conftest.$ac_objext 4494 rm -f conftest.$ac_objext
4492 if { (eval echo "$as_me:4492: \"$ac_compile\"") >&5 4495 if { (eval echo "$as_me:4495: \"$ac_compile\"") >&5
4493 (eval $ac_compile) 2>&5 4496 (eval $ac_compile) 2>&5
4494 ac_status=$? 4497 ac_status=$?
4495 echo "$as_me:4495: \$? = $ac_status" >&5 4498 echo "$as_me:4498: \$? = $ac_status" >&5
4496 (exit $ac_status); } && 4499 (exit $ac_status); } &&
4497 { ac_try='test -s conftest.$ac_objext' 4500 { ac_try='test -s conftest.$ac_objext'
4498 { (eval echo "$as_me:4498: \"$ac_try\"") >&5 4501 { (eval echo "$as_me:4501: \"$ac_try\"") >&5
4499 (eval $ac_try) 2>&5 4502 (eval $ac_try) 2>&5
4500 ac_status=$? 4503 ac_status=$?
4501 echo "$as_me:4501: \$? = $ac_status" >&5 4504 echo "$as_me:4504: \$? = $ac_status" >&5
4502 (exit $ac_status); }; }; then 4505 (exit $ac_status); }; }; then
4503 emacs_cv_struct_exception=yes 4506 emacs_cv_struct_exception=yes
4504 else 4507 else
4505 echo "$as_me: failed program was:" >&5 4508 echo "$as_me: failed program was:" >&5
4506 cat conftest.$ac_ext >&5 4509 cat conftest.$ac_ext >&5
4507 emacs_cv_struct_exception=no 4510 emacs_cv_struct_exception=no
4508 fi 4511 fi
4509 rm -f conftest.$ac_objext conftest.$ac_ext 4512 rm -f conftest.$ac_objext conftest.$ac_ext
4510 fi 4513 fi
4511 echo "$as_me:4511: result: $emacs_cv_struct_exception" >&5 4514 echo "$as_me:4514: result: $emacs_cv_struct_exception" >&5
4512 echo "${ECHO_T}$emacs_cv_struct_exception" >&6 4515 echo "${ECHO_T}$emacs_cv_struct_exception" >&6
4513 HAVE_EXCEPTION=$emacs_cv_struct_exception 4516 HAVE_EXCEPTION=$emacs_cv_struct_exception
4514 if test $emacs_cv_struct_exception != yes; then 4517 if test $emacs_cv_struct_exception != yes; then
4515 cat >>confdefs.h <<\EOF 4518 cat >>confdefs.h <<\EOF
4516 #define NO_MATHERR 1 4519 #define NO_MATHERR 1
4517 EOF 4520 EOF
4518 4521
4519 fi 4522 fi
4520 4523
4521 echo "$as_me:4521: checking whether struct tm is in sys/time.h or time.h" >&5 4524 echo "$as_me:4524: checking whether struct tm is in sys/time.h or time.h" >&5
4522 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 4525 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
4523 if test "${ac_cv_struct_tm+set}" = set; then 4526 if test "${ac_cv_struct_tm+set}" = set; then
4524 echo $ECHO_N "(cached) $ECHO_C" >&6 4527 echo $ECHO_N "(cached) $ECHO_C" >&6
4525 else 4528 else
4526 cat >conftest.$ac_ext <<_ACEOF 4529 cat >conftest.$ac_ext <<_ACEOF
4527 #line 4527 "configure" 4530 #line 4530 "configure"
4528 #include "confdefs.h" 4531 #include "confdefs.h"
4529 #include <sys/types.h> 4532 #include <sys/types.h>
4530 #include <time.h> 4533 #include <time.h>
4531 4534
4532 int 4535 int
4536 ; 4539 ;
4537 return 0; 4540 return 0;
4538 } 4541 }
4539 _ACEOF 4542 _ACEOF
4540 rm -f conftest.$ac_objext 4543 rm -f conftest.$ac_objext
4541 if { (eval echo "$as_me:4541: \"$ac_compile\"") >&5 4544 if { (eval echo "$as_me:4544: \"$ac_compile\"") >&5
4542 (eval $ac_compile) 2>&5 4545 (eval $ac_compile) 2>&5
4543 ac_status=$? 4546 ac_status=$?
4544 echo "$as_me:4544: \$? = $ac_status" >&5 4547 echo "$as_me:4547: \$? = $ac_status" >&5
4545 (exit $ac_status); } && 4548 (exit $ac_status); } &&
4546 { ac_try='test -s conftest.$ac_objext' 4549 { ac_try='test -s conftest.$ac_objext'
4547 { (eval echo "$as_me:4547: \"$ac_try\"") >&5 4550 { (eval echo "$as_me:4550: \"$ac_try\"") >&5
4548 (eval $ac_try) 2>&5 4551 (eval $ac_try) 2>&5
4549 ac_status=$? 4552 ac_status=$?
4550 echo "$as_me:4550: \$? = $ac_status" >&5 4553 echo "$as_me:4553: \$? = $ac_status" >&5
4551 (exit $ac_status); }; }; then 4554 (exit $ac_status); }; }; then
4552 ac_cv_struct_tm=time.h 4555 ac_cv_struct_tm=time.h
4553 else 4556 else
4554 echo "$as_me: failed program was:" >&5 4557 echo "$as_me: failed program was:" >&5
4555 cat conftest.$ac_ext >&5 4558 cat conftest.$ac_ext >&5
4556 ac_cv_struct_tm=sys/time.h 4559 ac_cv_struct_tm=sys/time.h
4557 fi 4560 fi
4558 rm -f conftest.$ac_objext conftest.$ac_ext 4561 rm -f conftest.$ac_objext conftest.$ac_ext
4559 fi 4562 fi
4560 echo "$as_me:4560: result: $ac_cv_struct_tm" >&5 4563 echo "$as_me:4563: result: $ac_cv_struct_tm" >&5
4561 echo "${ECHO_T}$ac_cv_struct_tm" >&6 4564 echo "${ECHO_T}$ac_cv_struct_tm" >&6
4562 if test $ac_cv_struct_tm = sys/time.h; then 4565 if test $ac_cv_struct_tm = sys/time.h; then
4563 4566
4564 cat >>confdefs.h <<\EOF 4567 cat >>confdefs.h <<\EOF
4565 #define TM_IN_SYS_TIME 1 4568 #define TM_IN_SYS_TIME 1
4566 EOF 4569 EOF
4567 4570
4568 fi 4571 fi
4569 4572
4570 echo "$as_me:4570: checking for struct tm.tm_zone" >&5 4573 echo "$as_me:4573: checking for struct tm.tm_zone" >&5
4571 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6 4574 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
4572 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then 4575 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
4573 echo $ECHO_N "(cached) $ECHO_C" >&6 4576 echo $ECHO_N "(cached) $ECHO_C" >&6
4574 else 4577 else
4575 cat >conftest.$ac_ext <<_ACEOF 4578 cat >conftest.$ac_ext <<_ACEOF
4576 #line 4576 "configure" 4579 #line 4579 "configure"
4577 #include "confdefs.h" 4580 #include "confdefs.h"
4578 #include <sys/types.h> 4581 #include <sys/types.h>
4579 #include <$ac_cv_struct_tm> 4582 #include <$ac_cv_struct_tm>
4580 4583
4581 int 4584 int
4587 ; 4590 ;
4588 return 0; 4591 return 0;
4589 } 4592 }
4590 _ACEOF 4593 _ACEOF
4591 rm -f conftest.$ac_objext 4594 rm -f conftest.$ac_objext
4592 if { (eval echo "$as_me:4592: \"$ac_compile\"") >&5 4595 if { (eval echo "$as_me:4595: \"$ac_compile\"") >&5
4593 (eval $ac_compile) 2>&5 4596 (eval $ac_compile) 2>&5
4594 ac_status=$? 4597 ac_status=$?
4595 echo "$as_me:4595: \$? = $ac_status" >&5 4598 echo "$as_me:4598: \$? = $ac_status" >&5
4596 (exit $ac_status); } && 4599 (exit $ac_status); } &&
4597 { ac_try='test -s conftest.$ac_objext' 4600 { ac_try='test -s conftest.$ac_objext'
4598 { (eval echo "$as_me:4598: \"$ac_try\"") >&5 4601 { (eval echo "$as_me:4601: \"$ac_try\"") >&5
4599 (eval $ac_try) 2>&5 4602 (eval $ac_try) 2>&5
4600 ac_status=$? 4603 ac_status=$?
4601 echo "$as_me:4601: \$? = $ac_status" >&5 4604 echo "$as_me:4604: \$? = $ac_status" >&5
4602 (exit $ac_status); }; }; then 4605 (exit $ac_status); }; }; then
4603 ac_cv_member_struct_tm_tm_zone=yes 4606 ac_cv_member_struct_tm_tm_zone=yes
4604 else 4607 else
4605 echo "$as_me: failed program was:" >&5 4608 echo "$as_me: failed program was:" >&5
4606 cat conftest.$ac_ext >&5 4609 cat conftest.$ac_ext >&5
4607 ac_cv_member_struct_tm_tm_zone=no 4610 ac_cv_member_struct_tm_tm_zone=no
4608 fi 4611 fi
4609 rm -f conftest.$ac_objext conftest.$ac_ext 4612 rm -f conftest.$ac_objext conftest.$ac_ext
4610 fi 4613 fi
4611 echo "$as_me:4611: result: $ac_cv_member_struct_tm_tm_zone" >&5 4614 echo "$as_me:4614: result: $ac_cv_member_struct_tm_tm_zone" >&5
4612 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6 4615 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
4613 if test $ac_cv_member_struct_tm_tm_zone = yes; then 4616 if test $ac_cv_member_struct_tm_tm_zone = yes; then
4614 4617
4615 cat >>confdefs.h <<EOF 4618 cat >>confdefs.h <<EOF
4616 #define HAVE_STRUCT_TM_TM_ZONE 1 4619 #define HAVE_STRUCT_TM_TM_ZONE 1
4623 cat >>confdefs.h <<\EOF 4626 cat >>confdefs.h <<\EOF
4624 #define HAVE_TM_ZONE 1 4627 #define HAVE_TM_ZONE 1
4625 EOF 4628 EOF
4626 4629
4627 else 4630 else
4628 echo "$as_me:4628: checking for tzname" >&5 4631 echo "$as_me:4631: checking for tzname" >&5
4629 echo $ECHO_N "checking for tzname... $ECHO_C" >&6 4632 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
4630 if test "${ac_cv_var_tzname+set}" = set; then 4633 if test "${ac_cv_var_tzname+set}" = set; then
4631 echo $ECHO_N "(cached) $ECHO_C" >&6 4634 echo $ECHO_N "(cached) $ECHO_C" >&6
4632 else 4635 else
4633 cat >conftest.$ac_ext <<_ACEOF 4636 cat >conftest.$ac_ext <<_ACEOF
4634 #line 4634 "configure" 4637 #line 4637 "configure"
4635 #include "confdefs.h" 4638 #include "confdefs.h"
4636 #include <time.h> 4639 #include <time.h>
4637 #ifndef tzname /* For SGI. */ 4640 #ifndef tzname /* For SGI. */
4638 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ 4641 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
4639 #endif 4642 #endif
4645 ; 4648 ;
4646 return 0; 4649 return 0;
4647 } 4650 }
4648 _ACEOF 4651 _ACEOF
4649 rm -f conftest.$ac_objext conftest$ac_exeext 4652 rm -f conftest.$ac_objext conftest$ac_exeext
4650 if { (eval echo "$as_me:4650: \"$ac_link\"") >&5 4653 if { (eval echo "$as_me:4653: \"$ac_link\"") >&5
4651 (eval $ac_link) 2>&5 4654 (eval $ac_link) 2>&5
4652 ac_status=$? 4655 ac_status=$?
4653 echo "$as_me:4653: \$? = $ac_status" >&5 4656 echo "$as_me:4656: \$? = $ac_status" >&5
4654 (exit $ac_status); } && 4657 (exit $ac_status); } &&
4655 { ac_try='test -s conftest$ac_exeext' 4658 { ac_try='test -s conftest$ac_exeext'
4656 { (eval echo "$as_me:4656: \"$ac_try\"") >&5 4659 { (eval echo "$as_me:4659: \"$ac_try\"") >&5
4657 (eval $ac_try) 2>&5 4660 (eval $ac_try) 2>&5
4658 ac_status=$? 4661 ac_status=$?
4659 echo "$as_me:4659: \$? = $ac_status" >&5 4662 echo "$as_me:4662: \$? = $ac_status" >&5
4660 (exit $ac_status); }; }; then 4663 (exit $ac_status); }; }; then
4661 ac_cv_var_tzname=yes 4664 ac_cv_var_tzname=yes
4662 else 4665 else
4663 echo "$as_me: failed program was:" >&5 4666 echo "$as_me: failed program was:" >&5
4664 cat conftest.$ac_ext >&5 4667 cat conftest.$ac_ext >&5
4665 ac_cv_var_tzname=no 4668 ac_cv_var_tzname=no
4666 fi 4669 fi
4667 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4670 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4668 fi 4671 fi
4669 echo "$as_me:4669: result: $ac_cv_var_tzname" >&5 4672 echo "$as_me:4672: result: $ac_cv_var_tzname" >&5
4670 echo "${ECHO_T}$ac_cv_var_tzname" >&6 4673 echo "${ECHO_T}$ac_cv_var_tzname" >&6
4671 if test $ac_cv_var_tzname = yes; then 4674 if test $ac_cv_var_tzname = yes; then
4672 4675
4673 cat >>confdefs.h <<\EOF 4676 cat >>confdefs.h <<\EOF
4674 #define HAVE_TZNAME 1 4677 #define HAVE_TZNAME 1
4675 EOF 4678 EOF
4676 4679
4677 fi 4680 fi
4678 fi 4681 fi
4679 4682
4680 echo "$as_me:4680: checking for tm_gmtoff in struct tm" >&5 4683 echo "$as_me:4683: checking for tm_gmtoff in struct tm" >&5
4681 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6 4684 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
4682 if test "${emacs_cv_tm_gmtoff+set}" = set; then 4685 if test "${emacs_cv_tm_gmtoff+set}" = set; then
4683 echo $ECHO_N "(cached) $ECHO_C" >&6 4686 echo $ECHO_N "(cached) $ECHO_C" >&6
4684 else 4687 else
4685 cat >conftest.$ac_ext <<_ACEOF 4688 cat >conftest.$ac_ext <<_ACEOF
4686 #line 4686 "configure" 4689 #line 4689 "configure"
4687 #include "confdefs.h" 4690 #include "confdefs.h"
4688 #include <time.h> 4691 #include <time.h>
4689 int 4692 int
4690 main () 4693 main ()
4691 { 4694 {
4693 ; 4696 ;
4694 return 0; 4697 return 0;
4695 } 4698 }
4696 _ACEOF 4699 _ACEOF
4697 rm -f conftest.$ac_objext conftest$ac_exeext 4700 rm -f conftest.$ac_objext conftest$ac_exeext
4698 if { (eval echo "$as_me:4698: \"$ac_link\"") >&5 4701 if { (eval echo "$as_me:4701: \"$ac_link\"") >&5
4699 (eval $ac_link) 2>&5 4702 (eval $ac_link) 2>&5
4700 ac_status=$? 4703 ac_status=$?
4701 echo "$as_me:4701: \$? = $ac_status" >&5 4704 echo "$as_me:4704: \$? = $ac_status" >&5
4702 (exit $ac_status); } && 4705 (exit $ac_status); } &&
4703 { ac_try='test -s conftest$ac_exeext' 4706 { ac_try='test -s conftest$ac_exeext'
4704 { (eval echo "$as_me:4704: \"$ac_try\"") >&5 4707 { (eval echo "$as_me:4707: \"$ac_try\"") >&5
4705 (eval $ac_try) 2>&5 4708 (eval $ac_try) 2>&5
4706 ac_status=$? 4709 ac_status=$?
4707 echo "$as_me:4707: \$? = $ac_status" >&5 4710 echo "$as_me:4710: \$? = $ac_status" >&5
4708 (exit $ac_status); }; }; then 4711 (exit $ac_status); }; }; then
4709 emacs_cv_tm_gmtoff=yes 4712 emacs_cv_tm_gmtoff=yes
4710 else 4713 else
4711 echo "$as_me: failed program was:" >&5 4714 echo "$as_me: failed program was:" >&5
4712 cat conftest.$ac_ext >&5 4715 cat conftest.$ac_ext >&5
4713 emacs_cv_tm_gmtoff=no 4716 emacs_cv_tm_gmtoff=no
4714 fi 4717 fi
4715 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4718 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4716 fi 4719 fi
4717 echo "$as_me:4717: result: $emacs_cv_tm_gmtoff" >&5 4720 echo "$as_me:4720: result: $emacs_cv_tm_gmtoff" >&5
4718 echo "${ECHO_T}$emacs_cv_tm_gmtoff" >&6 4721 echo "${ECHO_T}$emacs_cv_tm_gmtoff" >&6
4719 if test $emacs_cv_tm_gmtoff = yes; then 4722 if test $emacs_cv_tm_gmtoff = yes; then
4720 cat >>confdefs.h <<\EOF 4723 cat >>confdefs.h <<\EOF
4721 #define HAVE_TM_GMTOFF 1 4724 #define HAVE_TM_GMTOFF 1
4722 EOF 4725 EOF
4723 4726
4724 fi 4727 fi
4725 4728
4726 echo "$as_me:4726: checking for $CC option to accept ANSI C" >&5 4729 echo "$as_me:4729: checking for $CC option to accept ANSI C" >&5
4727 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 4730 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
4728 if test "${ac_cv_prog_cc_stdc+set}" = set; then 4731 if test "${ac_cv_prog_cc_stdc+set}" = set; then
4729 echo $ECHO_N "(cached) $ECHO_C" >&6 4732 echo $ECHO_N "(cached) $ECHO_C" >&6
4730 else 4733 else
4731 ac_cv_prog_cc_stdc=no 4734 ac_cv_prog_cc_stdc=no
4732 ac_save_CC=$CC 4735 ac_save_CC=$CC
4733 cat >conftest.$ac_ext <<_ACEOF 4736 cat >conftest.$ac_ext <<_ACEOF
4734 #line 4734 "configure" 4737 #line 4737 "configure"
4735 #include "confdefs.h" 4738 #include "confdefs.h"
4736 #include <stdarg.h> 4739 #include <stdarg.h>
4737 #include <stdio.h> 4740 #include <stdio.h>
4738 #include <sys/types.h> 4741 #include <sys/types.h>
4739 #include <sys/stat.h> 4742 #include <sys/stat.h>
4778 # SVR4 -Xc -D__EXTENSIONS__ 4781 # SVR4 -Xc -D__EXTENSIONS__
4779 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4782 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4780 do 4783 do
4781 CC="$ac_save_CC $ac_arg" 4784 CC="$ac_save_CC $ac_arg"
4782 rm -f conftest.$ac_objext 4785 rm -f conftest.$ac_objext
4783 if { (eval echo "$as_me:4783: \"$ac_compile\"") >&5 4786 if { (eval echo "$as_me:4786: \"$ac_compile\"") >&5
4784 (eval $ac_compile) 2>&5 4787 (eval $ac_compile) 2>&5
4785 ac_status=$? 4788 ac_status=$?
4786 echo "$as_me:4786: \$? = $ac_status" >&5 4789 echo "$as_me:4789: \$? = $ac_status" >&5
4787 (exit $ac_status); } && 4790 (exit $ac_status); } &&
4788 { ac_try='test -s conftest.$ac_objext' 4791 { ac_try='test -s conftest.$ac_objext'
4789 { (eval echo "$as_me:4789: \"$ac_try\"") >&5 4792 { (eval echo "$as_me:4792: \"$ac_try\"") >&5
4790 (eval $ac_try) 2>&5 4793 (eval $ac_try) 2>&5
4791 ac_status=$? 4794 ac_status=$?
4792 echo "$as_me:4792: \$? = $ac_status" >&5 4795 echo "$as_me:4795: \$? = $ac_status" >&5
4793 (exit $ac_status); }; }; then 4796 (exit $ac_status); }; }; then
4794 ac_cv_prog_cc_stdc=$ac_arg 4797 ac_cv_prog_cc_stdc=$ac_arg
4795 break 4798 break
4796 else 4799 else
4797 echo "$as_me: failed program was:" >&5 4800 echo "$as_me: failed program was:" >&5
4804 4807
4805 fi 4808 fi
4806 4809
4807 case "x$ac_cv_prog_cc_stdc" in 4810 case "x$ac_cv_prog_cc_stdc" in
4808 x|xno) 4811 x|xno)
4809 echo "$as_me:4809: result: none needed" >&5 4812 echo "$as_me:4812: result: none needed" >&5
4810 echo "${ECHO_T}none needed" >&6 ;; 4813 echo "${ECHO_T}none needed" >&6 ;;
4811 *) 4814 *)
4812 echo "$as_me:4812: result: $ac_cv_prog_cc_stdc" >&5 4815 echo "$as_me:4815: result: $ac_cv_prog_cc_stdc" >&5
4813 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 4816 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4814 CC="$CC $ac_cv_prog_cc_stdc" ;; 4817 CC="$CC $ac_cv_prog_cc_stdc" ;;
4815 esac 4818 esac
4816 4819
4817 echo "$as_me:4817: checking for function prototypes" >&5 4820 echo "$as_me:4820: checking for function prototypes" >&5
4818 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6 4821 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
4819 if test "$ac_cv_prog_cc_stdc" != no; then 4822 if test "$ac_cv_prog_cc_stdc" != no; then
4820 echo "$as_me:4820: result: yes" >&5 4823 echo "$as_me:4823: result: yes" >&5
4821 echo "${ECHO_T}yes" >&6 4824 echo "${ECHO_T}yes" >&6
4822 4825
4823 cat >>confdefs.h <<\EOF 4826 cat >>confdefs.h <<\EOF
4824 #define PROTOTYPES 1 4827 #define PROTOTYPES 1
4825 EOF 4828 EOF
4826 4829
4827 else 4830 else
4828 echo "$as_me:4828: result: no" >&5 4831 echo "$as_me:4831: result: no" >&5
4829 echo "${ECHO_T}no" >&6 4832 echo "${ECHO_T}no" >&6
4830 fi 4833 fi
4831 4834
4832 echo "$as_me:4832: checking for working volatile" >&5 4835 echo "$as_me:4835: checking for working volatile" >&5
4833 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6 4836 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
4834 if test "${ac_cv_c_volatile+set}" = set; then 4837 if test "${ac_cv_c_volatile+set}" = set; then
4835 echo $ECHO_N "(cached) $ECHO_C" >&6 4838 echo $ECHO_N "(cached) $ECHO_C" >&6
4836 else 4839 else
4837 cat >conftest.$ac_ext <<_ACEOF 4840 cat >conftest.$ac_ext <<_ACEOF
4838 #line 4838 "configure" 4841 #line 4841 "configure"
4839 #include "confdefs.h" 4842 #include "confdefs.h"
4840 4843
4841 int 4844 int
4842 main () 4845 main ()
4843 { 4846 {
4847 ; 4850 ;
4848 return 0; 4851 return 0;
4849 } 4852 }
4850 _ACEOF 4853 _ACEOF
4851 rm -f conftest.$ac_objext 4854 rm -f conftest.$ac_objext
4852 if { (eval echo "$as_me:4852: \"$ac_compile\"") >&5 4855 if { (eval echo "$as_me:4855: \"$ac_compile\"") >&5
4853 (eval $ac_compile) 2>&5 4856 (eval $ac_compile) 2>&5
4854 ac_status=$? 4857 ac_status=$?
4855 echo "$as_me:4855: \$? = $ac_status" >&5 4858 echo "$as_me:4858: \$? = $ac_status" >&5
4856 (exit $ac_status); } && 4859 (exit $ac_status); } &&
4857 { ac_try='test -s conftest.$ac_objext' 4860 { ac_try='test -s conftest.$ac_objext'
4858 { (eval echo "$as_me:4858: \"$ac_try\"") >&5 4861 { (eval echo "$as_me:4861: \"$ac_try\"") >&5
4859 (eval $ac_try) 2>&5 4862 (eval $ac_try) 2>&5
4860 ac_status=$? 4863 ac_status=$?
4861 echo "$as_me:4861: \$? = $ac_status" >&5 4864 echo "$as_me:4864: \$? = $ac_status" >&5
4862 (exit $ac_status); }; }; then 4865 (exit $ac_status); }; }; then
4863 ac_cv_c_volatile=yes 4866 ac_cv_c_volatile=yes
4864 else 4867 else
4865 echo "$as_me: failed program was:" >&5 4868 echo "$as_me: failed program was:" >&5
4866 cat conftest.$ac_ext >&5 4869 cat conftest.$ac_ext >&5
4867 ac_cv_c_volatile=no 4870 ac_cv_c_volatile=no
4868 fi 4871 fi
4869 rm -f conftest.$ac_objext conftest.$ac_ext 4872 rm -f conftest.$ac_objext conftest.$ac_ext
4870 fi 4873 fi
4871 echo "$as_me:4871: result: $ac_cv_c_volatile" >&5 4874 echo "$as_me:4874: result: $ac_cv_c_volatile" >&5
4872 echo "${ECHO_T}$ac_cv_c_volatile" >&6 4875 echo "${ECHO_T}$ac_cv_c_volatile" >&6
4873 if test $ac_cv_c_volatile = no; then 4876 if test $ac_cv_c_volatile = no; then
4874 4877
4875 cat >>confdefs.h <<\EOF 4878 cat >>confdefs.h <<\EOF
4876 #define volatile 4879 #define volatile
4877 EOF 4880 EOF
4878 4881
4879 fi 4882 fi
4880 4883
4881 echo "$as_me:4881: checking for an ANSI C-conforming const" >&5 4884 echo "$as_me:4884: checking for an ANSI C-conforming const" >&5
4882 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 4885 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4883 if test "${ac_cv_c_const+set}" = set; then 4886 if test "${ac_cv_c_const+set}" = set; then
4884 echo $ECHO_N "(cached) $ECHO_C" >&6 4887 echo $ECHO_N "(cached) $ECHO_C" >&6
4885 else 4888 else
4886 cat >conftest.$ac_ext <<_ACEOF 4889 cat >conftest.$ac_ext <<_ACEOF
4887 #line 4887 "configure" 4890 #line 4890 "configure"
4888 #include "confdefs.h" 4891 #include "confdefs.h"
4889 4892
4890 int 4893 int
4891 main () 4894 main ()
4892 { 4895 {
4940 ; 4943 ;
4941 return 0; 4944 return 0;
4942 } 4945 }
4943 _ACEOF 4946 _ACEOF
4944 rm -f conftest.$ac_objext 4947 rm -f conftest.$ac_objext
4945 if { (eval echo "$as_me:4945: \"$ac_compile\"") >&5 4948 if { (eval echo "$as_me:4948: \"$ac_compile\"") >&5
4946 (eval $ac_compile) 2>&5 4949 (eval $ac_compile) 2>&5
4947 ac_status=$? 4950 ac_status=$?
4948 echo "$as_me:4948: \$? = $ac_status" >&5 4951 echo "$as_me:4951: \$? = $ac_status" >&5
4949 (exit $ac_status); } && 4952 (exit $ac_status); } &&
4950 { ac_try='test -s conftest.$ac_objext' 4953 { ac_try='test -s conftest.$ac_objext'
4951 { (eval echo "$as_me:4951: \"$ac_try\"") >&5 4954 { (eval echo "$as_me:4954: \"$ac_try\"") >&5
4952 (eval $ac_try) 2>&5 4955 (eval $ac_try) 2>&5
4953 ac_status=$? 4956 ac_status=$?
4954 echo "$as_me:4954: \$? = $ac_status" >&5 4957 echo "$as_me:4957: \$? = $ac_status" >&5
4955 (exit $ac_status); }; }; then 4958 (exit $ac_status); }; }; then
4956 ac_cv_c_const=yes 4959 ac_cv_c_const=yes
4957 else 4960 else
4958 echo "$as_me: failed program was:" >&5 4961 echo "$as_me: failed program was:" >&5
4959 cat conftest.$ac_ext >&5 4962 cat conftest.$ac_ext >&5
4960 ac_cv_c_const=no 4963 ac_cv_c_const=no
4961 fi 4964 fi
4962 rm -f conftest.$ac_objext conftest.$ac_ext 4965 rm -f conftest.$ac_objext conftest.$ac_ext
4963 fi 4966 fi
4964 echo "$as_me:4964: result: $ac_cv_c_const" >&5 4967 echo "$as_me:4967: result: $ac_cv_c_const" >&5
4965 echo "${ECHO_T}$ac_cv_c_const" >&6 4968 echo "${ECHO_T}$ac_cv_c_const" >&6
4966 if test $ac_cv_c_const = no; then 4969 if test $ac_cv_c_const = no; then
4967 4970
4968 cat >>confdefs.h <<\EOF 4971 cat >>confdefs.h <<\EOF
4969 #define const 4972 #define const
4970 EOF 4973 EOF
4971 4974
4972 fi 4975 fi
4973 4976
4974 echo "$as_me:4974: checking for void * support" >&5 4977 echo "$as_me:4977: checking for void * support" >&5
4975 echo $ECHO_N "checking for void * support... $ECHO_C" >&6 4978 echo $ECHO_N "checking for void * support... $ECHO_C" >&6
4976 if test "${emacs_cv_void_star+set}" = set; then 4979 if test "${emacs_cv_void_star+set}" = set; then
4977 echo $ECHO_N "(cached) $ECHO_C" >&6 4980 echo $ECHO_N "(cached) $ECHO_C" >&6
4978 else 4981 else
4979 cat >conftest.$ac_ext <<_ACEOF 4982 cat >conftest.$ac_ext <<_ACEOF
4980 #line 4980 "configure" 4983 #line 4983 "configure"
4981 #include "confdefs.h" 4984 #include "confdefs.h"
4982 4985
4983 int 4986 int
4984 main () 4987 main ()
4985 { 4988 {
4987 ; 4990 ;
4988 return 0; 4991 return 0;
4989 } 4992 }
4990 _ACEOF 4993 _ACEOF
4991 rm -f conftest.$ac_objext 4994 rm -f conftest.$ac_objext
4992 if { (eval echo "$as_me:4992: \"$ac_compile\"") >&5 4995 if { (eval echo "$as_me:4995: \"$ac_compile\"") >&5
4993 (eval $ac_compile) 2>&5 4996 (eval $ac_compile) 2>&5
4994 ac_status=$? 4997 ac_status=$?
4995 echo "$as_me:4995: \$? = $ac_status" >&5 4998 echo "$as_me:4998: \$? = $ac_status" >&5
4996 (exit $ac_status); } && 4999 (exit $ac_status); } &&
4997 { ac_try='test -s conftest.$ac_objext' 5000 { ac_try='test -s conftest.$ac_objext'
4998 { (eval echo "$as_me:4998: \"$ac_try\"") >&5 5001 { (eval echo "$as_me:5001: \"$ac_try\"") >&5
4999 (eval $ac_try) 2>&5 5002 (eval $ac_try) 2>&5
5000 ac_status=$? 5003 ac_status=$?
5001 echo "$as_me:5001: \$? = $ac_status" >&5 5004 echo "$as_me:5004: \$? = $ac_status" >&5
5002 (exit $ac_status); }; }; then 5005 (exit $ac_status); }; }; then
5003 emacs_cv_void_star=yes 5006 emacs_cv_void_star=yes
5004 else 5007 else
5005 echo "$as_me: failed program was:" >&5 5008 echo "$as_me: failed program was:" >&5
5006 cat conftest.$ac_ext >&5 5009 cat conftest.$ac_ext >&5
5007 emacs_cv_void_star=no 5010 emacs_cv_void_star=no
5008 fi 5011 fi
5009 rm -f conftest.$ac_objext conftest.$ac_ext 5012 rm -f conftest.$ac_objext conftest.$ac_ext
5010 fi 5013 fi
5011 echo "$as_me:5011: result: $emacs_cv_void_star" >&5 5014 echo "$as_me:5014: result: $emacs_cv_void_star" >&5
5012 echo "${ECHO_T}$emacs_cv_void_star" >&6 5015 echo "${ECHO_T}$emacs_cv_void_star" >&6
5013 if test $emacs_cv_void_star = yes; then 5016 if test $emacs_cv_void_star = yes; then
5014 cat >>confdefs.h <<\EOF 5017 cat >>confdefs.h <<\EOF
5015 #define POINTER_TYPE void 5018 #define POINTER_TYPE void
5016 EOF 5019 EOF
5020 #define POINTER_TYPE char 5023 #define POINTER_TYPE char
5021 EOF 5024 EOF
5022 5025
5023 fi 5026 fi
5024 5027
5025 echo "$as_me:5025: checking whether ${MAKE-make} sets \${MAKE}" >&5 5028 echo "$as_me:5028: checking whether ${MAKE-make} sets \${MAKE}" >&5
5026 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 5029 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
5027 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` 5030 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
5028 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 5031 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
5029 echo $ECHO_N "(cached) $ECHO_C" >&6 5032 echo $ECHO_N "(cached) $ECHO_C" >&6
5030 else 5033 else
5040 eval ac_cv_prog_make_${ac_make}_set=no 5043 eval ac_cv_prog_make_${ac_make}_set=no
5041 fi 5044 fi
5042 rm -f conftest.make 5045 rm -f conftest.make
5043 fi 5046 fi
5044 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 5047 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
5045 echo "$as_me:5045: result: yes" >&5 5048 echo "$as_me:5048: result: yes" >&5
5046 echo "${ECHO_T}yes" >&6 5049 echo "${ECHO_T}yes" >&6
5047 SET_MAKE= 5050 SET_MAKE=
5048 else 5051 else
5049 echo "$as_me:5049: result: no" >&5 5052 echo "$as_me:5052: result: no" >&5
5050 echo "${ECHO_T}no" >&6 5053 echo "${ECHO_T}no" >&6
5051 SET_MAKE="MAKE=${MAKE-make}" 5054 SET_MAKE="MAKE=${MAKE-make}"
5052 fi 5055 fi
5053 5056
5054 echo "$as_me:5054: checking for long file names" >&5 5057 echo "$as_me:5057: checking for long file names" >&5
5055 echo $ECHO_N "checking for long file names... $ECHO_C" >&6 5058 echo $ECHO_N "checking for long file names... $ECHO_C" >&6
5056 if test "${ac_cv_sys_long_file_names+set}" = set; then 5059 if test "${ac_cv_sys_long_file_names+set}" = set; then
5057 echo $ECHO_N "(cached) $ECHO_C" >&6 5060 echo $ECHO_N "(cached) $ECHO_C" >&6
5058 else 5061 else
5059 ac_cv_sys_long_file_names=yes 5062 ac_cv_sys_long_file_names=yes
5088 break 5091 break
5089 fi 5092 fi
5090 rm -rf $ac_xdir 2>/dev/null 5093 rm -rf $ac_xdir 2>/dev/null
5091 done 5094 done
5092 fi 5095 fi
5093 echo "$as_me:5093: result: $ac_cv_sys_long_file_names" >&5 5096 echo "$as_me:5096: result: $ac_cv_sys_long_file_names" >&5
5094 echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6 5097 echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6
5095 if test $ac_cv_sys_long_file_names = yes; then 5098 if test $ac_cv_sys_long_file_names = yes; then
5096 5099
5097 cat >>confdefs.h <<\EOF 5100 cat >>confdefs.h <<\EOF
5098 #define HAVE_LONG_FILE_NAMES 1 5101 #define HAVE_LONG_FILE_NAMES 1
5100 5103
5101 fi 5104 fi
5102 5105
5103 #### Choose a window system. 5106 #### Choose a window system.
5104 5107
5105 echo "$as_me:5105: checking for X" >&5 5108 echo "$as_me:5108: checking for X" >&5
5106 echo $ECHO_N "checking for X... $ECHO_C" >&6 5109 echo $ECHO_N "checking for X... $ECHO_C" >&6
5107 5110
5108 # Check whether --with-x or --without-x was given. 5111 # Check whether --with-x or --without-x was given.
5109 if test "${with_x+set}" = set; then 5112 if test "${with_x+set}" = set; then
5110 withval="$with_x" 5113 withval="$with_x"
5197 5200
5198 if test "$ac_x_includes" = no; then 5201 if test "$ac_x_includes" = no; then
5199 # Guess where to find include files, by looking for Intrinsic.h. 5202 # Guess where to find include files, by looking for Intrinsic.h.
5200 # First, try using that file with no special directory specified. 5203 # First, try using that file with no special directory specified.
5201 cat >conftest.$ac_ext <<_ACEOF 5204 cat >conftest.$ac_ext <<_ACEOF
5202 #line 5202 "configure" 5205 #line 5205 "configure"
5203 #include "confdefs.h" 5206 #include "confdefs.h"
5204 #include <X11/Intrinsic.h> 5207 #include <X11/Intrinsic.h>
5205 _ACEOF 5208 _ACEOF
5206 if { (eval echo "$as_me:5206: \"$ac_cpp conftest.$ac_ext\"") >&5 5209 if { (eval echo "$as_me:5209: \"$ac_cpp conftest.$ac_ext\"") >&5
5207 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5210 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5208 ac_status=$? 5211 ac_status=$?
5209 egrep -v '^ *\+' conftest.er1 >conftest.err 5212 egrep -v '^ *\+' conftest.er1 >conftest.err
5210 rm -f conftest.er1 5213 rm -f conftest.er1
5211 cat conftest.err >&5 5214 cat conftest.err >&5
5212 echo "$as_me:5212: \$? = $ac_status" >&5 5215 echo "$as_me:5215: \$? = $ac_status" >&5
5213 (exit $ac_status); } >/dev/null; then 5216 (exit $ac_status); } >/dev/null; then
5214 if test -s conftest.err; then 5217 if test -s conftest.err; then
5215 ac_cpp_err=$ac_c_preproc_warn_flag 5218 ac_cpp_err=$ac_c_preproc_warn_flag
5216 else 5219 else
5217 ac_cpp_err= 5220 ac_cpp_err=
5240 # See if we find them without any special options. 5243 # See if we find them without any special options.
5241 # Don't add to $LIBS permanently. 5244 # Don't add to $LIBS permanently.
5242 ac_save_LIBS=$LIBS 5245 ac_save_LIBS=$LIBS
5243 LIBS="-lXt $LIBS" 5246 LIBS="-lXt $LIBS"
5244 cat >conftest.$ac_ext <<_ACEOF 5247 cat >conftest.$ac_ext <<_ACEOF
5245 #line 5245 "configure" 5248 #line 5248 "configure"
5246 #include "confdefs.h" 5249 #include "confdefs.h"
5247 #include <X11/Intrinsic.h> 5250 #include <X11/Intrinsic.h>
5248 int 5251 int
5249 main () 5252 main ()
5250 { 5253 {
5252 ; 5255 ;
5253 return 0; 5256 return 0;
5254 } 5257 }
5255 _ACEOF 5258 _ACEOF
5256 rm -f conftest.$ac_objext conftest$ac_exeext 5259 rm -f conftest.$ac_objext conftest$ac_exeext
5257 if { (eval echo "$as_me:5257: \"$ac_link\"") >&5 5260 if { (eval echo "$as_me:5260: \"$ac_link\"") >&5
5258 (eval $ac_link) 2>&5 5261 (eval $ac_link) 2>&5
5259 ac_status=$? 5262 ac_status=$?
5260 echo "$as_me:5260: \$? = $ac_status" >&5 5263 echo "$as_me:5263: \$? = $ac_status" >&5
5261 (exit $ac_status); } && 5264 (exit $ac_status); } &&
5262 { ac_try='test -s conftest$ac_exeext' 5265 { ac_try='test -s conftest$ac_exeext'
5263 { (eval echo "$as_me:5263: \"$ac_try\"") >&5 5266 { (eval echo "$as_me:5266: \"$ac_try\"") >&5
5264 (eval $ac_try) 2>&5 5267 (eval $ac_try) 2>&5
5265 ac_status=$? 5268 ac_status=$?
5266 echo "$as_me:5266: \$? = $ac_status" >&5 5269 echo "$as_me:5269: \$? = $ac_status" >&5
5267 (exit $ac_status); }; }; then 5270 (exit $ac_status); }; }; then
5268 LIBS=$ac_save_LIBS 5271 LIBS=$ac_save_LIBS
5269 # We can link X programs with no special library path. 5272 # We can link X programs with no special library path.
5270 ac_x_libraries= 5273 ac_x_libraries=
5271 else 5274 else
5299 fi 5302 fi
5300 eval "$ac_cv_have_x" 5303 eval "$ac_cv_have_x"
5301 fi # $with_x != no 5304 fi # $with_x != no
5302 5305
5303 if test "$have_x" != yes; then 5306 if test "$have_x" != yes; then
5304 echo "$as_me:5304: result: $have_x" >&5 5307 echo "$as_me:5307: result: $have_x" >&5
5305 echo "${ECHO_T}$have_x" >&6 5308 echo "${ECHO_T}$have_x" >&6
5306 no_x=yes 5309 no_x=yes
5307 else 5310 else
5308 # If each of the values was on the command line, it overrides each guess. 5311 # If each of the values was on the command line, it overrides each guess.
5309 test "x$x_includes" = xNONE && x_includes=$ac_x_includes 5312 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
5310 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries 5313 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
5311 # Update the cache value to reflect the command line values. 5314 # Update the cache value to reflect the command line values.
5312 ac_cv_have_x="have_x=yes \ 5315 ac_cv_have_x="have_x=yes \
5313 ac_x_includes=$x_includes ac_x_libraries=$x_libraries" 5316 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
5314 echo "$as_me:5314: result: libraries $x_libraries, headers $x_includes" >&5 5317 echo "$as_me:5317: result: libraries $x_libraries, headers $x_includes" >&5
5315 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 5318 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
5316 fi 5319 fi
5317 5320
5318 if test "$no_x" = yes; then 5321 if test "$no_x" = yes; then
5319 window_system=none 5322 window_system=none
5407 5410
5408 # Do the opsystem or machine files prohibit the use of the GNU malloc? 5411 # Do the opsystem or machine files prohibit the use of the GNU malloc?
5409 # Assume not, until told otherwise. 5412 # Assume not, until told otherwise.
5410 GNU_MALLOC=yes 5413 GNU_MALLOC=yes
5411 doug_lea_malloc=yes 5414 doug_lea_malloc=yes
5412 echo "$as_me:5412: checking for malloc_get_state" >&5 5415 echo "$as_me:5415: checking for malloc_get_state" >&5
5413 echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6 5416 echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6
5414 if test "${ac_cv_func_malloc_get_state+set}" = set; then 5417 if test "${ac_cv_func_malloc_get_state+set}" = set; then
5415 echo $ECHO_N "(cached) $ECHO_C" >&6 5418 echo $ECHO_N "(cached) $ECHO_C" >&6
5416 else 5419 else
5417 cat >conftest.$ac_ext <<_ACEOF 5420 cat >conftest.$ac_ext <<_ACEOF
5418 #line 5418 "configure" 5421 #line 5421 "configure"
5419 #include "confdefs.h" 5422 #include "confdefs.h"
5420 /* System header to define __stub macros and hopefully few prototypes, 5423 /* System header to define __stub macros and hopefully few prototypes,
5421 which can conflict with char malloc_get_state (); below. */ 5424 which can conflict with char malloc_get_state (); below. */
5422 #include <assert.h> 5425 #include <assert.h>
5423 /* Override any gcc2 internal prototype to avoid an error. */ 5426 /* Override any gcc2 internal prototype to avoid an error. */
5444 ; 5447 ;
5445 return 0; 5448 return 0;
5446 } 5449 }
5447 _ACEOF 5450 _ACEOF
5448 rm -f conftest.$ac_objext conftest$ac_exeext 5451 rm -f conftest.$ac_objext conftest$ac_exeext
5449 if { (eval echo "$as_me:5449: \"$ac_link\"") >&5 5452 if { (eval echo "$as_me:5452: \"$ac_link\"") >&5
5450 (eval $ac_link) 2>&5 5453 (eval $ac_link) 2>&5
5451 ac_status=$? 5454 ac_status=$?
5452 echo "$as_me:5452: \$? = $ac_status" >&5 5455 echo "$as_me:5455: \$? = $ac_status" >&5
5453 (exit $ac_status); } && 5456 (exit $ac_status); } &&
5454 { ac_try='test -s conftest$ac_exeext' 5457 { ac_try='test -s conftest$ac_exeext'
5455 { (eval echo "$as_me:5455: \"$ac_try\"") >&5 5458 { (eval echo "$as_me:5458: \"$ac_try\"") >&5
5456 (eval $ac_try) 2>&5 5459 (eval $ac_try) 2>&5
5457 ac_status=$? 5460 ac_status=$?
5458 echo "$as_me:5458: \$? = $ac_status" >&5 5461 echo "$as_me:5461: \$? = $ac_status" >&5
5459 (exit $ac_status); }; }; then 5462 (exit $ac_status); }; }; then
5460 ac_cv_func_malloc_get_state=yes 5463 ac_cv_func_malloc_get_state=yes
5461 else 5464 else
5462 echo "$as_me: failed program was:" >&5 5465 echo "$as_me: failed program was:" >&5
5463 cat conftest.$ac_ext >&5 5466 cat conftest.$ac_ext >&5
5464 ac_cv_func_malloc_get_state=no 5467 ac_cv_func_malloc_get_state=no
5465 fi 5468 fi
5466 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5469 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5467 fi 5470 fi
5468 echo "$as_me:5468: result: $ac_cv_func_malloc_get_state" >&5 5471 echo "$as_me:5471: result: $ac_cv_func_malloc_get_state" >&5
5469 echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6 5472 echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6
5470 if test $ac_cv_func_malloc_get_state = yes; then 5473 if test $ac_cv_func_malloc_get_state = yes; then
5471 : 5474 :
5472 else 5475 else
5473 doug_lea_malloc=no 5476 doug_lea_malloc=no
5474 fi 5477 fi
5475 5478
5476 echo "$as_me:5476: checking for malloc_set_state" >&5 5479 echo "$as_me:5479: checking for malloc_set_state" >&5
5477 echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6 5480 echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6
5478 if test "${ac_cv_func_malloc_set_state+set}" = set; then 5481 if test "${ac_cv_func_malloc_set_state+set}" = set; then
5479 echo $ECHO_N "(cached) $ECHO_C" >&6 5482 echo $ECHO_N "(cached) $ECHO_C" >&6
5480 else 5483 else
5481 cat >conftest.$ac_ext <<_ACEOF 5484 cat >conftest.$ac_ext <<_ACEOF
5482 #line 5482 "configure" 5485 #line 5485 "configure"
5483 #include "confdefs.h" 5486 #include "confdefs.h"
5484 /* System header to define __stub macros and hopefully few prototypes, 5487 /* System header to define __stub macros and hopefully few prototypes,
5485 which can conflict with char malloc_set_state (); below. */ 5488 which can conflict with char malloc_set_state (); below. */
5486 #include <assert.h> 5489 #include <assert.h>
5487 /* Override any gcc2 internal prototype to avoid an error. */ 5490 /* Override any gcc2 internal prototype to avoid an error. */
5508 ; 5511 ;
5509 return 0; 5512 return 0;
5510 } 5513 }
5511 _ACEOF 5514 _ACEOF
5512 rm -f conftest.$ac_objext conftest$ac_exeext 5515 rm -f conftest.$ac_objext conftest$ac_exeext
5513 if { (eval echo "$as_me:5513: \"$ac_link\"") >&5 5516 if { (eval echo "$as_me:5516: \"$ac_link\"") >&5
5514 (eval $ac_link) 2>&5 5517 (eval $ac_link) 2>&5
5515 ac_status=$? 5518 ac_status=$?
5516 echo "$as_me:5516: \$? = $ac_status" >&5 5519 echo "$as_me:5519: \$? = $ac_status" >&5
5517 (exit $ac_status); } && 5520 (exit $ac_status); } &&
5518 { ac_try='test -s conftest$ac_exeext' 5521 { ac_try='test -s conftest$ac_exeext'
5519 { (eval echo "$as_me:5519: \"$ac_try\"") >&5 5522 { (eval echo "$as_me:5522: \"$ac_try\"") >&5
5520 (eval $ac_try) 2>&5 5523 (eval $ac_try) 2>&5
5521 ac_status=$? 5524 ac_status=$?
5522 echo "$as_me:5522: \$? = $ac_status" >&5 5525 echo "$as_me:5525: \$? = $ac_status" >&5
5523 (exit $ac_status); }; }; then 5526 (exit $ac_status); }; }; then
5524 ac_cv_func_malloc_set_state=yes 5527 ac_cv_func_malloc_set_state=yes
5525 else 5528 else
5526 echo "$as_me: failed program was:" >&5 5529 echo "$as_me: failed program was:" >&5
5527 cat conftest.$ac_ext >&5 5530 cat conftest.$ac_ext >&5
5528 ac_cv_func_malloc_set_state=no 5531 ac_cv_func_malloc_set_state=no
5529 fi 5532 fi
5530 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5533 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5531 fi 5534 fi
5532 echo "$as_me:5532: result: $ac_cv_func_malloc_set_state" >&5 5535 echo "$as_me:5535: result: $ac_cv_func_malloc_set_state" >&5
5533 echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6 5536 echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6
5534 if test $ac_cv_func_malloc_set_state = yes; then 5537 if test $ac_cv_func_malloc_set_state = yes; then
5535 : 5538 :
5536 else 5539 else
5537 doug_lea_malloc=no 5540 doug_lea_malloc=no
5538 fi 5541 fi
5539 5542
5540 echo "$as_me:5540: checking whether __after_morecore_hook exists" >&5 5543 echo "$as_me:5543: checking whether __after_morecore_hook exists" >&5
5541 echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6 5544 echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6
5542 if test "${emacs_cv_var___after_morecore_hook+set}" = set; then 5545 if test "${emacs_cv_var___after_morecore_hook+set}" = set; then
5543 echo $ECHO_N "(cached) $ECHO_C" >&6 5546 echo $ECHO_N "(cached) $ECHO_C" >&6
5544 else 5547 else
5545 cat >conftest.$ac_ext <<_ACEOF 5548 cat >conftest.$ac_ext <<_ACEOF
5546 #line 5546 "configure" 5549 #line 5549 "configure"
5547 #include "confdefs.h" 5550 #include "confdefs.h"
5548 extern void (* __after_morecore_hook)(); 5551 extern void (* __after_morecore_hook)();
5549 int 5552 int
5550 main () 5553 main ()
5551 { 5554 {
5553 ; 5556 ;
5554 return 0; 5557 return 0;
5555 } 5558 }
5556 _ACEOF 5559 _ACEOF
5557 rm -f conftest.$ac_objext conftest$ac_exeext 5560 rm -f conftest.$ac_objext conftest$ac_exeext
5558 if { (eval echo "$as_me:5558: \"$ac_link\"") >&5 5561 if { (eval echo "$as_me:5561: \"$ac_link\"") >&5
5559 (eval $ac_link) 2>&5 5562 (eval $ac_link) 2>&5
5560 ac_status=$? 5563 ac_status=$?
5561 echo "$as_me:5561: \$? = $ac_status" >&5 5564 echo "$as_me:5564: \$? = $ac_status" >&5
5562 (exit $ac_status); } && 5565 (exit $ac_status); } &&
5563 { ac_try='test -s conftest$ac_exeext' 5566 { ac_try='test -s conftest$ac_exeext'
5564 { (eval echo "$as_me:5564: \"$ac_try\"") >&5 5567 { (eval echo "$as_me:5567: \"$ac_try\"") >&5
5565 (eval $ac_try) 2>&5 5568 (eval $ac_try) 2>&5
5566 ac_status=$? 5569 ac_status=$?
5567 echo "$as_me:5567: \$? = $ac_status" >&5 5570 echo "$as_me:5570: \$? = $ac_status" >&5
5568 (exit $ac_status); }; }; then 5571 (exit $ac_status); }; }; then
5569 emacs_cv_var___after_morecore_hook=yes 5572 emacs_cv_var___after_morecore_hook=yes
5570 else 5573 else
5571 echo "$as_me: failed program was:" >&5 5574 echo "$as_me: failed program was:" >&5
5572 cat conftest.$ac_ext >&5 5575 cat conftest.$ac_ext >&5
5573 emacs_cv_var___after_morecore_hook=no 5576 emacs_cv_var___after_morecore_hook=no
5574 fi 5577 fi
5575 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5578 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5576 fi 5579 fi
5577 echo "$as_me:5577: result: $emacs_cv_var___after_morecore_hook" >&5 5580 echo "$as_me:5580: result: $emacs_cv_var___after_morecore_hook" >&5
5578 echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6 5581 echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6
5579 if test $emacs_cv_var___after_morecore_hook = no; then 5582 if test $emacs_cv_var___after_morecore_hook = no; then
5580 doug_lea_malloc=no 5583 doug_lea_malloc=no
5581 fi 5584 fi
5582 if test "${system_malloc}" = "yes"; then 5585 if test "${system_malloc}" = "yes"; then
5603 5606
5604 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 5607 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5605 inttypes.h stdint.h unistd.h 5608 inttypes.h stdint.h unistd.h
5606 do 5609 do
5607 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5610 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5608 echo "$as_me:5608: checking for $ac_header" >&5 5611 echo "$as_me:5611: checking for $ac_header" >&5
5609 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5612 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5610 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5613 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5611 echo $ECHO_N "(cached) $ECHO_C" >&6 5614 echo $ECHO_N "(cached) $ECHO_C" >&6
5612 else 5615 else
5613 cat >conftest.$ac_ext <<_ACEOF 5616 cat >conftest.$ac_ext <<_ACEOF
5614 #line 5614 "configure" 5617 #line 5617 "configure"
5615 #include "confdefs.h" 5618 #include "confdefs.h"
5616 $ac_includes_default 5619 $ac_includes_default
5617 #include <$ac_header> 5620 #include <$ac_header>
5618 _ACEOF 5621 _ACEOF
5619 rm -f conftest.$ac_objext 5622 rm -f conftest.$ac_objext
5620 if { (eval echo "$as_me:5620: \"$ac_compile\"") >&5 5623 if { (eval echo "$as_me:5623: \"$ac_compile\"") >&5
5621 (eval $ac_compile) 2>&5 5624 (eval $ac_compile) 2>&5
5622 ac_status=$? 5625 ac_status=$?
5623 echo "$as_me:5623: \$? = $ac_status" >&5 5626 echo "$as_me:5626: \$? = $ac_status" >&5
5624 (exit $ac_status); } && 5627 (exit $ac_status); } &&
5625 { ac_try='test -s conftest.$ac_objext' 5628 { ac_try='test -s conftest.$ac_objext'
5626 { (eval echo "$as_me:5626: \"$ac_try\"") >&5 5629 { (eval echo "$as_me:5629: \"$ac_try\"") >&5
5627 (eval $ac_try) 2>&5 5630 (eval $ac_try) 2>&5
5628 ac_status=$? 5631 ac_status=$?
5629 echo "$as_me:5629: \$? = $ac_status" >&5 5632 echo "$as_me:5632: \$? = $ac_status" >&5
5630 (exit $ac_status); }; }; then 5633 (exit $ac_status); }; }; then
5631 eval "$as_ac_Header=yes" 5634 eval "$as_ac_Header=yes"
5632 else 5635 else
5633 echo "$as_me: failed program was:" >&5 5636 echo "$as_me: failed program was:" >&5
5634 cat conftest.$ac_ext >&5 5637 cat conftest.$ac_ext >&5
5635 eval "$as_ac_Header=no" 5638 eval "$as_ac_Header=no"
5636 fi 5639 fi
5637 rm -f conftest.$ac_objext conftest.$ac_ext 5640 rm -f conftest.$ac_objext conftest.$ac_ext
5638 fi 5641 fi
5639 echo "$as_me:5639: result: `eval echo '${'$as_ac_Header'}'`" >&5 5642 echo "$as_me:5642: result: `eval echo '${'$as_ac_Header'}'`" >&5
5640 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5643 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5641 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5644 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5642 cat >>confdefs.h <<EOF 5645 cat >>confdefs.h <<EOF
5643 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5646 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5644 EOF 5647 EOF
5647 done 5650 done
5648 5651
5649 for ac_header in stdlib.h unistd.h 5652 for ac_header in stdlib.h unistd.h
5650 do 5653 do
5651 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5654 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5652 echo "$as_me:5652: checking for $ac_header" >&5 5655 echo "$as_me:5655: checking for $ac_header" >&5
5653 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5656 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5654 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5657 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5655 echo $ECHO_N "(cached) $ECHO_C" >&6 5658 echo $ECHO_N "(cached) $ECHO_C" >&6
5656 else 5659 else
5657 cat >conftest.$ac_ext <<_ACEOF 5660 cat >conftest.$ac_ext <<_ACEOF
5658 #line 5658 "configure" 5661 #line 5661 "configure"
5659 #include "confdefs.h" 5662 #include "confdefs.h"
5660 #include <$ac_header> 5663 #include <$ac_header>
5661 _ACEOF 5664 _ACEOF
5662 if { (eval echo "$as_me:5662: \"$ac_cpp conftest.$ac_ext\"") >&5 5665 if { (eval echo "$as_me:5665: \"$ac_cpp conftest.$ac_ext\"") >&5
5663 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5666 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5664 ac_status=$? 5667 ac_status=$?
5665 egrep -v '^ *\+' conftest.er1 >conftest.err 5668 egrep -v '^ *\+' conftest.er1 >conftest.err
5666 rm -f conftest.er1 5669 rm -f conftest.er1
5667 cat conftest.err >&5 5670 cat conftest.err >&5
5668 echo "$as_me:5668: \$? = $ac_status" >&5 5671 echo "$as_me:5671: \$? = $ac_status" >&5
5669 (exit $ac_status); } >/dev/null; then 5672 (exit $ac_status); } >/dev/null; then
5670 if test -s conftest.err; then 5673 if test -s conftest.err; then
5671 ac_cpp_err=$ac_c_preproc_warn_flag 5674 ac_cpp_err=$ac_c_preproc_warn_flag
5672 else 5675 else
5673 ac_cpp_err= 5676 ac_cpp_err=
5682 cat conftest.$ac_ext >&5 5685 cat conftest.$ac_ext >&5
5683 eval "$as_ac_Header=no" 5686 eval "$as_ac_Header=no"
5684 fi 5687 fi
5685 rm -f conftest.err conftest.$ac_ext 5688 rm -f conftest.err conftest.$ac_ext
5686 fi 5689 fi
5687 echo "$as_me:5687: result: `eval echo '${'$as_ac_Header'}'`" >&5 5690 echo "$as_me:5690: result: `eval echo '${'$as_ac_Header'}'`" >&5
5688 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5691 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5689 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5692 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5690 cat >>confdefs.h <<EOF 5693 cat >>confdefs.h <<EOF
5691 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5694 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5692 EOF 5695 EOF
5695 done 5698 done
5696 5699
5697 for ac_func in getpagesize 5700 for ac_func in getpagesize
5698 do 5701 do
5699 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 5702 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5700 echo "$as_me:5700: checking for $ac_func" >&5 5703 echo "$as_me:5703: checking for $ac_func" >&5
5701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 5704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5702 if eval "test \"\${$as_ac_var+set}\" = set"; then 5705 if eval "test \"\${$as_ac_var+set}\" = set"; then
5703 echo $ECHO_N "(cached) $ECHO_C" >&6 5706 echo $ECHO_N "(cached) $ECHO_C" >&6
5704 else 5707 else
5705 cat >conftest.$ac_ext <<_ACEOF 5708 cat >conftest.$ac_ext <<_ACEOF
5706 #line 5706 "configure" 5709 #line 5709 "configure"
5707 #include "confdefs.h" 5710 #include "confdefs.h"
5708 /* System header to define __stub macros and hopefully few prototypes, 5711 /* System header to define __stub macros and hopefully few prototypes,
5709 which can conflict with char $ac_func (); below. */ 5712 which can conflict with char $ac_func (); below. */
5710 #include <assert.h> 5713 #include <assert.h>
5711 /* Override any gcc2 internal prototype to avoid an error. */ 5714 /* Override any gcc2 internal prototype to avoid an error. */
5732 ; 5735 ;
5733 return 0; 5736 return 0;
5734 } 5737 }
5735 _ACEOF 5738 _ACEOF
5736 rm -f conftest.$ac_objext conftest$ac_exeext 5739 rm -f conftest.$ac_objext conftest$ac_exeext
5737 if { (eval echo "$as_me:5737: \"$ac_link\"") >&5 5740 if { (eval echo "$as_me:5740: \"$ac_link\"") >&5
5738 (eval $ac_link) 2>&5 5741 (eval $ac_link) 2>&5
5739 ac_status=$? 5742 ac_status=$?
5740 echo "$as_me:5740: \$? = $ac_status" >&5 5743 echo "$as_me:5743: \$? = $ac_status" >&5
5741 (exit $ac_status); } && 5744 (exit $ac_status); } &&
5742 { ac_try='test -s conftest$ac_exeext' 5745 { ac_try='test -s conftest$ac_exeext'
5743 { (eval echo "$as_me:5743: \"$ac_try\"") >&5 5746 { (eval echo "$as_me:5746: \"$ac_try\"") >&5
5744 (eval $ac_try) 2>&5 5747 (eval $ac_try) 2>&5
5745 ac_status=$? 5748 ac_status=$?
5746 echo "$as_me:5746: \$? = $ac_status" >&5 5749 echo "$as_me:5749: \$? = $ac_status" >&5
5747 (exit $ac_status); }; }; then 5750 (exit $ac_status); }; }; then
5748 eval "$as_ac_var=yes" 5751 eval "$as_ac_var=yes"
5749 else 5752 else
5750 echo "$as_me: failed program was:" >&5 5753 echo "$as_me: failed program was:" >&5
5751 cat conftest.$ac_ext >&5 5754 cat conftest.$ac_ext >&5
5752 eval "$as_ac_var=no" 5755 eval "$as_ac_var=no"
5753 fi 5756 fi
5754 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5757 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5755 fi 5758 fi
5756 echo "$as_me:5756: result: `eval echo '${'$as_ac_var'}'`" >&5 5759 echo "$as_me:5759: result: `eval echo '${'$as_ac_var'}'`" >&5
5757 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 5760 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5758 if test `eval echo '${'$as_ac_var'}'` = yes; then 5761 if test `eval echo '${'$as_ac_var'}'` = yes; then
5759 cat >>confdefs.h <<EOF 5762 cat >>confdefs.h <<EOF
5760 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 5763 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5761 EOF 5764 EOF
5762 5765
5763 fi 5766 fi
5764 done 5767 done
5765 5768
5766 echo "$as_me:5766: checking for working mmap" >&5 5769 echo "$as_me:5769: checking for working mmap" >&5
5767 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6 5770 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
5768 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then 5771 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
5769 echo $ECHO_N "(cached) $ECHO_C" >&6 5772 echo $ECHO_N "(cached) $ECHO_C" >&6
5770 else 5773 else
5771 if test "$cross_compiling" = yes; then 5774 if test "$cross_compiling" = yes; then
5772 ac_cv_func_mmap_fixed_mapped=no 5775 ac_cv_func_mmap_fixed_mapped=no
5773 else 5776 else
5774 cat >conftest.$ac_ext <<_ACEOF 5777 cat >conftest.$ac_ext <<_ACEOF
5775 #line 5775 "configure" 5778 #line 5778 "configure"
5776 #include "confdefs.h" 5779 #include "confdefs.h"
5777 $ac_includes_default 5780 $ac_includes_default
5778 /* Thanks to Mike Haertel and Jim Avera for this test. 5781 /* Thanks to Mike Haertel and Jim Avera for this test.
5779 Here is a matrix of mmap possibilities: 5782 Here is a matrix of mmap possibilities:
5780 mmap private not fixed 5783 mmap private not fixed
5897 close (fd); 5900 close (fd);
5898 exit (0); 5901 exit (0);
5899 } 5902 }
5900 _ACEOF 5903 _ACEOF
5901 rm -f conftest$ac_exeext 5904 rm -f conftest$ac_exeext
5902 if { (eval echo "$as_me:5902: \"$ac_link\"") >&5 5905 if { (eval echo "$as_me:5905: \"$ac_link\"") >&5
5903 (eval $ac_link) 2>&5 5906 (eval $ac_link) 2>&5
5904 ac_status=$? 5907 ac_status=$?
5905 echo "$as_me:5905: \$? = $ac_status" >&5 5908 echo "$as_me:5908: \$? = $ac_status" >&5
5906 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 5909 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5907 { (eval echo "$as_me:5907: \"$ac_try\"") >&5 5910 { (eval echo "$as_me:5910: \"$ac_try\"") >&5
5908 (eval $ac_try) 2>&5 5911 (eval $ac_try) 2>&5
5909 ac_status=$? 5912 ac_status=$?
5910 echo "$as_me:5910: \$? = $ac_status" >&5 5913 echo "$as_me:5913: \$? = $ac_status" >&5
5911 (exit $ac_status); }; }; then 5914 (exit $ac_status); }; }; then
5912 ac_cv_func_mmap_fixed_mapped=yes 5915 ac_cv_func_mmap_fixed_mapped=yes
5913 else 5916 else
5914 echo "$as_me: program exited with status $ac_status" >&5 5917 echo "$as_me: program exited with status $ac_status" >&5
5915 echo "$as_me: failed program was:" >&5 5918 echo "$as_me: failed program was:" >&5
5917 ac_cv_func_mmap_fixed_mapped=no 5920 ac_cv_func_mmap_fixed_mapped=no
5918 fi 5921 fi
5919 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5922 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5920 fi 5923 fi
5921 fi 5924 fi
5922 echo "$as_me:5922: result: $ac_cv_func_mmap_fixed_mapped" >&5 5925 echo "$as_me:5925: result: $ac_cv_func_mmap_fixed_mapped" >&5
5923 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6 5926 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
5924 if test $ac_cv_func_mmap_fixed_mapped = yes; then 5927 if test $ac_cv_func_mmap_fixed_mapped = yes; then
5925 5928
5926 cat >>confdefs.h <<\EOF 5929 cat >>confdefs.h <<\EOF
5927 #define HAVE_MMAP 1 5930 #define HAVE_MMAP 1
5934 REL_ALLOC=no 5937 REL_ALLOC=no
5935 fi 5938 fi
5936 5939
5937 LIBS="$libsrc_libs $LIBS" 5940 LIBS="$libsrc_libs $LIBS"
5938 5941
5939 echo "$as_me:5939: checking for dnet_ntoa in -ldnet" >&5 5942 echo "$as_me:5942: checking for dnet_ntoa in -ldnet" >&5
5940 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6 5943 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
5941 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then 5944 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
5942 echo $ECHO_N "(cached) $ECHO_C" >&6 5945 echo $ECHO_N "(cached) $ECHO_C" >&6
5943 else 5946 else
5944 ac_check_lib_save_LIBS=$LIBS 5947 ac_check_lib_save_LIBS=$LIBS
5945 LIBS="-ldnet $LIBS" 5948 LIBS="-ldnet $LIBS"
5946 cat >conftest.$ac_ext <<_ACEOF 5949 cat >conftest.$ac_ext <<_ACEOF
5947 #line 5947 "configure" 5950 #line 5950 "configure"
5948 #include "confdefs.h" 5951 #include "confdefs.h"
5949 5952
5950 /* Override any gcc2 internal prototype to avoid an error. */ 5953 /* Override any gcc2 internal prototype to avoid an error. */
5951 #ifdef __cplusplus 5954 #ifdef __cplusplus
5952 extern "C" 5955 extern "C"
5961 ; 5964 ;
5962 return 0; 5965 return 0;
5963 } 5966 }
5964 _ACEOF 5967 _ACEOF
5965 rm -f conftest.$ac_objext conftest$ac_exeext 5968 rm -f conftest.$ac_objext conftest$ac_exeext
5966 if { (eval echo "$as_me:5966: \"$ac_link\"") >&5 5969 if { (eval echo "$as_me:5969: \"$ac_link\"") >&5
5967 (eval $ac_link) 2>&5 5970 (eval $ac_link) 2>&5
5968 ac_status=$? 5971 ac_status=$?
5969 echo "$as_me:5969: \$? = $ac_status" >&5 5972 echo "$as_me:5972: \$? = $ac_status" >&5
5970 (exit $ac_status); } && 5973 (exit $ac_status); } &&
5971 { ac_try='test -s conftest$ac_exeext' 5974 { ac_try='test -s conftest$ac_exeext'
5972 { (eval echo "$as_me:5972: \"$ac_try\"") >&5 5975 { (eval echo "$as_me:5975: \"$ac_try\"") >&5
5973 (eval $ac_try) 2>&5 5976 (eval $ac_try) 2>&5
5974 ac_status=$? 5977 ac_status=$?
5975 echo "$as_me:5975: \$? = $ac_status" >&5 5978 echo "$as_me:5978: \$? = $ac_status" >&5
5976 (exit $ac_status); }; }; then 5979 (exit $ac_status); }; }; then
5977 ac_cv_lib_dnet_dnet_ntoa=yes 5980 ac_cv_lib_dnet_dnet_ntoa=yes
5978 else 5981 else
5979 echo "$as_me: failed program was:" >&5 5982 echo "$as_me: failed program was:" >&5
5980 cat conftest.$ac_ext >&5 5983 cat conftest.$ac_ext >&5
5981 ac_cv_lib_dnet_dnet_ntoa=no 5984 ac_cv_lib_dnet_dnet_ntoa=no
5982 fi 5985 fi
5983 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5986 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5984 LIBS=$ac_check_lib_save_LIBS 5987 LIBS=$ac_check_lib_save_LIBS
5985 fi 5988 fi
5986 echo "$as_me:5986: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 5989 echo "$as_me:5989: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
5987 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6 5990 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
5988 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then 5991 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
5989 cat >>confdefs.h <<EOF 5992 cat >>confdefs.h <<EOF
5990 #define HAVE_LIBDNET 1 5993 #define HAVE_LIBDNET 1
5991 EOF 5994 EOF
5992 5995
5993 LIBS="-ldnet $LIBS" 5996 LIBS="-ldnet $LIBS"
5994 5997
5995 fi 5998 fi
5996 5999
5997 echo "$as_me:5997: checking for main in -lXbsd" >&5 6000 echo "$as_me:6000: checking for main in -lXbsd" >&5
5998 echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6 6001 echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6
5999 if test "${ac_cv_lib_Xbsd_main+set}" = set; then 6002 if test "${ac_cv_lib_Xbsd_main+set}" = set; then
6000 echo $ECHO_N "(cached) $ECHO_C" >&6 6003 echo $ECHO_N "(cached) $ECHO_C" >&6
6001 else 6004 else
6002 ac_check_lib_save_LIBS=$LIBS 6005 ac_check_lib_save_LIBS=$LIBS
6003 LIBS="-lXbsd $LIBS" 6006 LIBS="-lXbsd $LIBS"
6004 cat >conftest.$ac_ext <<_ACEOF 6007 cat >conftest.$ac_ext <<_ACEOF
6005 #line 6005 "configure" 6008 #line 6008 "configure"
6006 #include "confdefs.h" 6009 #include "confdefs.h"
6007 6010
6008 int 6011 int
6009 main () 6012 main ()
6010 { 6013 {
6012 ; 6015 ;
6013 return 0; 6016 return 0;
6014 } 6017 }
6015 _ACEOF 6018 _ACEOF
6016 rm -f conftest.$ac_objext conftest$ac_exeext 6019 rm -f conftest.$ac_objext conftest$ac_exeext
6017 if { (eval echo "$as_me:6017: \"$ac_link\"") >&5 6020 if { (eval echo "$as_me:6020: \"$ac_link\"") >&5
6018 (eval $ac_link) 2>&5 6021 (eval $ac_link) 2>&5
6019 ac_status=$? 6022 ac_status=$?
6020 echo "$as_me:6020: \$? = $ac_status" >&5 6023 echo "$as_me:6023: \$? = $ac_status" >&5
6021 (exit $ac_status); } && 6024 (exit $ac_status); } &&
6022 { ac_try='test -s conftest$ac_exeext' 6025 { ac_try='test -s conftest$ac_exeext'
6023 { (eval echo "$as_me:6023: \"$ac_try\"") >&5 6026 { (eval echo "$as_me:6026: \"$ac_try\"") >&5
6024 (eval $ac_try) 2>&5 6027 (eval $ac_try) 2>&5
6025 ac_status=$? 6028 ac_status=$?
6026 echo "$as_me:6026: \$? = $ac_status" >&5 6029 echo "$as_me:6029: \$? = $ac_status" >&5
6027 (exit $ac_status); }; }; then 6030 (exit $ac_status); }; }; then
6028 ac_cv_lib_Xbsd_main=yes 6031 ac_cv_lib_Xbsd_main=yes
6029 else 6032 else
6030 echo "$as_me: failed program was:" >&5 6033 echo "$as_me: failed program was:" >&5
6031 cat conftest.$ac_ext >&5 6034 cat conftest.$ac_ext >&5
6032 ac_cv_lib_Xbsd_main=no 6035 ac_cv_lib_Xbsd_main=no
6033 fi 6036 fi
6034 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6037 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6035 LIBS=$ac_check_lib_save_LIBS 6038 LIBS=$ac_check_lib_save_LIBS
6036 fi 6039 fi
6037 echo "$as_me:6037: result: $ac_cv_lib_Xbsd_main" >&5 6040 echo "$as_me:6040: result: $ac_cv_lib_Xbsd_main" >&5
6038 echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6 6041 echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6
6039 if test $ac_cv_lib_Xbsd_main = yes; then 6042 if test $ac_cv_lib_Xbsd_main = yes; then
6040 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd" 6043 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd"
6041 fi 6044 fi
6042 6045
6043 echo "$as_me:6043: checking for cma_open in -lpthreads" >&5 6046 echo "$as_me:6046: checking for cma_open in -lpthreads" >&5
6044 echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6 6047 echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6
6045 if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then 6048 if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then
6046 echo $ECHO_N "(cached) $ECHO_C" >&6 6049 echo $ECHO_N "(cached) $ECHO_C" >&6
6047 else 6050 else
6048 ac_check_lib_save_LIBS=$LIBS 6051 ac_check_lib_save_LIBS=$LIBS
6049 LIBS="-lpthreads $LIBS" 6052 LIBS="-lpthreads $LIBS"
6050 cat >conftest.$ac_ext <<_ACEOF 6053 cat >conftest.$ac_ext <<_ACEOF
6051 #line 6051 "configure" 6054 #line 6054 "configure"
6052 #include "confdefs.h" 6055 #include "confdefs.h"
6053 6056
6054 /* Override any gcc2 internal prototype to avoid an error. */ 6057 /* Override any gcc2 internal prototype to avoid an error. */
6055 #ifdef __cplusplus 6058 #ifdef __cplusplus
6056 extern "C" 6059 extern "C"
6065 ; 6068 ;
6066 return 0; 6069 return 0;
6067 } 6070 }
6068 _ACEOF 6071 _ACEOF
6069 rm -f conftest.$ac_objext conftest$ac_exeext 6072 rm -f conftest.$ac_objext conftest$ac_exeext
6070 if { (eval echo "$as_me:6070: \"$ac_link\"") >&5 6073 if { (eval echo "$as_me:6073: \"$ac_link\"") >&5
6071 (eval $ac_link) 2>&5 6074 (eval $ac_link) 2>&5
6072 ac_status=$? 6075 ac_status=$?
6073 echo "$as_me:6073: \$? = $ac_status" >&5 6076 echo "$as_me:6076: \$? = $ac_status" >&5
6074 (exit $ac_status); } && 6077 (exit $ac_status); } &&
6075 { ac_try='test -s conftest$ac_exeext' 6078 { ac_try='test -s conftest$ac_exeext'
6076 { (eval echo "$as_me:6076: \"$ac_try\"") >&5 6079 { (eval echo "$as_me:6079: \"$ac_try\"") >&5
6077 (eval $ac_try) 2>&5 6080 (eval $ac_try) 2>&5
6078 ac_status=$? 6081 ac_status=$?
6079 echo "$as_me:6079: \$? = $ac_status" >&5 6082 echo "$as_me:6082: \$? = $ac_status" >&5
6080 (exit $ac_status); }; }; then 6083 (exit $ac_status); }; }; then
6081 ac_cv_lib_pthreads_cma_open=yes 6084 ac_cv_lib_pthreads_cma_open=yes
6082 else 6085 else
6083 echo "$as_me: failed program was:" >&5 6086 echo "$as_me: failed program was:" >&5
6084 cat conftest.$ac_ext >&5 6087 cat conftest.$ac_ext >&5
6085 ac_cv_lib_pthreads_cma_open=no 6088 ac_cv_lib_pthreads_cma_open=no
6086 fi 6089 fi
6087 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6090 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6088 LIBS=$ac_check_lib_save_LIBS 6091 LIBS=$ac_check_lib_save_LIBS
6089 fi 6092 fi
6090 echo "$as_me:6090: result: $ac_cv_lib_pthreads_cma_open" >&5 6093 echo "$as_me:6093: result: $ac_cv_lib_pthreads_cma_open" >&5
6091 echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6 6094 echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6
6092 if test $ac_cv_lib_pthreads_cma_open = yes; then 6095 if test $ac_cv_lib_pthreads_cma_open = yes; then
6093 cat >>confdefs.h <<EOF 6096 cat >>confdefs.h <<EOF
6094 #define HAVE_LIBPTHREADS 1 6097 #define HAVE_LIBPTHREADS 1
6095 EOF 6098 EOF
6096 6099
6097 LIBS="-lpthreads $LIBS" 6100 LIBS="-lpthreads $LIBS"
6098 6101
6099 fi 6102 fi
6100 6103
6101 echo "$as_me:6101: checking for XFree86 in /usr/X386" >&5 6104 echo "$as_me:6104: checking for XFree86 in /usr/X386" >&5
6102 echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6 6105 echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6
6103 if test -d /usr/X386/include; then 6106 if test -d /usr/X386/include; then
6104 HAVE_XFREE386=yes 6107 HAVE_XFREE386=yes
6105 : ${C_SWITCH_X_SITE="-I/usr/X386/include"} 6108 : ${C_SWITCH_X_SITE="-I/usr/X386/include"}
6106 else 6109 else
6107 HAVE_XFREE386=no 6110 HAVE_XFREE386=no
6108 fi 6111 fi
6109 echo "$as_me:6109: result: $HAVE_XFREE386" >&5 6112 echo "$as_me:6112: result: $HAVE_XFREE386" >&5
6110 echo "${ECHO_T}$HAVE_XFREE386" >&6 6113 echo "${ECHO_T}$HAVE_XFREE386" >&6
6111 6114
6112 # Change CFLAGS temporarily so that C_SWITCH_X_SITE gets used 6115 # Change CFLAGS temporarily so that C_SWITCH_X_SITE gets used
6113 # for the tests that follow. We set it back to REAL_CFLAGS later on. 6116 # for the tests that follow. We set it back to REAL_CFLAGS later on.
6114 6117
6129 LD_RUN_PATH=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH 6132 LD_RUN_PATH=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH
6130 export LD_RUN_PATH 6133 export LD_RUN_PATH
6131 fi 6134 fi
6132 6135
6133 if test "${opsys}" = "gnu-linux"; then 6136 if test "${opsys}" = "gnu-linux"; then
6134 echo "$as_me:6134: checking whether X on GNU/Linux needs -b to link" >&5 6137 echo "$as_me:6137: checking whether X on GNU/Linux needs -b to link" >&5
6135 echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6 6138 echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6
6136 cat >conftest.$ac_ext <<_ACEOF 6139 cat >conftest.$ac_ext <<_ACEOF
6137 #line 6137 "configure" 6140 #line 6140 "configure"
6138 #include "confdefs.h" 6141 #include "confdefs.h"
6139 6142
6140 int 6143 int
6141 main () 6144 main ()
6142 { 6145 {
6144 ; 6147 ;
6145 return 0; 6148 return 0;
6146 } 6149 }
6147 _ACEOF 6150 _ACEOF
6148 rm -f conftest.$ac_objext conftest$ac_exeext 6151 rm -f conftest.$ac_objext conftest$ac_exeext
6149 if { (eval echo "$as_me:6149: \"$ac_link\"") >&5 6152 if { (eval echo "$as_me:6152: \"$ac_link\"") >&5
6150 (eval $ac_link) 2>&5 6153 (eval $ac_link) 2>&5
6151 ac_status=$? 6154 ac_status=$?
6152 echo "$as_me:6152: \$? = $ac_status" >&5 6155 echo "$as_me:6155: \$? = $ac_status" >&5
6153 (exit $ac_status); } && 6156 (exit $ac_status); } &&
6154 { ac_try='test -s conftest$ac_exeext' 6157 { ac_try='test -s conftest$ac_exeext'
6155 { (eval echo "$as_me:6155: \"$ac_try\"") >&5 6158 { (eval echo "$as_me:6158: \"$ac_try\"") >&5
6156 (eval $ac_try) 2>&5 6159 (eval $ac_try) 2>&5
6157 ac_status=$? 6160 ac_status=$?
6158 echo "$as_me:6158: \$? = $ac_status" >&5 6161 echo "$as_me:6161: \$? = $ac_status" >&5
6159 (exit $ac_status); }; }; then 6162 (exit $ac_status); }; }; then
6160 xlinux_first_failure=no 6163 xlinux_first_failure=no
6161 else 6164 else
6162 echo "$as_me: failed program was:" >&5 6165 echo "$as_me: failed program was:" >&5
6163 cat conftest.$ac_ext >&5 6166 cat conftest.$ac_ext >&5
6172 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -b i486-linuxaout" 6175 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -b i486-linuxaout"
6173 C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout" 6176 C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout"
6174 CPPFLAGS="$CPPFLAGS -b i486-linuxaout" 6177 CPPFLAGS="$CPPFLAGS -b i486-linuxaout"
6175 LIBS="$LIBS -b i486-linuxaout" 6178 LIBS="$LIBS -b i486-linuxaout"
6176 cat >conftest.$ac_ext <<_ACEOF 6179 cat >conftest.$ac_ext <<_ACEOF
6177 #line 6177 "configure" 6180 #line 6180 "configure"
6178 #include "confdefs.h" 6181 #include "confdefs.h"
6179 6182
6180 int 6183 int
6181 main () 6184 main ()
6182 { 6185 {
6184 ; 6187 ;
6185 return 0; 6188 return 0;
6186 } 6189 }
6187 _ACEOF 6190 _ACEOF
6188 rm -f conftest.$ac_objext conftest$ac_exeext 6191 rm -f conftest.$ac_objext conftest$ac_exeext
6189 if { (eval echo "$as_me:6189: \"$ac_link\"") >&5 6192 if { (eval echo "$as_me:6192: \"$ac_link\"") >&5
6190 (eval $ac_link) 2>&5 6193 (eval $ac_link) 2>&5
6191 ac_status=$? 6194 ac_status=$?
6192 echo "$as_me:6192: \$? = $ac_status" >&5 6195 echo "$as_me:6195: \$? = $ac_status" >&5
6193 (exit $ac_status); } && 6196 (exit $ac_status); } &&
6194 { ac_try='test -s conftest$ac_exeext' 6197 { ac_try='test -s conftest$ac_exeext'
6195 { (eval echo "$as_me:6195: \"$ac_try\"") >&5 6198 { (eval echo "$as_me:6198: \"$ac_try\"") >&5
6196 (eval $ac_try) 2>&5 6199 (eval $ac_try) 2>&5
6197 ac_status=$? 6200 ac_status=$?
6198 echo "$as_me:6198: \$? = $ac_status" >&5 6201 echo "$as_me:6201: \$? = $ac_status" >&5
6199 (exit $ac_status); }; }; then 6202 (exit $ac_status); }; }; then
6200 xlinux_second_failure=no 6203 xlinux_second_failure=no
6201 else 6204 else
6202 echo "$as_me: failed program was:" >&5 6205 echo "$as_me: failed program was:" >&5
6203 cat conftest.$ac_ext >&5 6206 cat conftest.$ac_ext >&5
6209 # So take it out. This plays safe. 6212 # So take it out. This plays safe.
6210 LD_SWITCH_X_SITE="$OLD_LD_SWITCH_X_SITE" 6213 LD_SWITCH_X_SITE="$OLD_LD_SWITCH_X_SITE"
6211 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE" 6214 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE"
6212 CPPFLAGS="$OLD_CPPFLAGS" 6215 CPPFLAGS="$OLD_CPPFLAGS"
6213 LIBS="$OLD_LIBS" 6216 LIBS="$OLD_LIBS"
6214 echo "$as_me:6214: result: no" >&5 6217 echo "$as_me:6217: result: no" >&5
6215 echo "${ECHO_T}no" >&6 6218 echo "${ECHO_T}no" >&6
6216 else 6219 else
6217 echo "$as_me:6217: result: yes" >&5 6220 echo "$as_me:6220: result: yes" >&5
6218 echo "${ECHO_T}yes" >&6 6221 echo "${ECHO_T}yes" >&6
6219 fi 6222 fi
6220 else 6223 else
6221 echo "$as_me:6221: result: no" >&5 6224 echo "$as_me:6224: result: no" >&5
6222 echo "${ECHO_T}no" >&6 6225 echo "${ECHO_T}no" >&6
6223 fi 6226 fi
6224 fi 6227 fi
6225 6228
6226 # Reportedly, some broken Solaris systems have XKBlib.h but are missing 6229 # Reportedly, some broken Solaris systems have XKBlib.h but are missing
6227 # header files included from there. 6230 # header files included from there.
6228 echo "$as_me:6228: checking for Xkb" >&5 6231 echo "$as_me:6231: checking for Xkb" >&5
6229 echo $ECHO_N "checking for Xkb... $ECHO_C" >&6 6232 echo $ECHO_N "checking for Xkb... $ECHO_C" >&6
6230 cat >conftest.$ac_ext <<_ACEOF 6233 cat >conftest.$ac_ext <<_ACEOF
6231 #line 6231 "configure" 6234 #line 6234 "configure"
6232 #include "confdefs.h" 6235 #include "confdefs.h"
6233 #include <X11/Xlib.h> 6236 #include <X11/Xlib.h>
6234 #include <X11/XKBlib.h> 6237 #include <X11/XKBlib.h>
6235 int 6238 int
6236 main () 6239 main ()
6239 ; 6242 ;
6240 return 0; 6243 return 0;
6241 } 6244 }
6242 _ACEOF 6245 _ACEOF
6243 rm -f conftest.$ac_objext conftest$ac_exeext 6246 rm -f conftest.$ac_objext conftest$ac_exeext
6244 if { (eval echo "$as_me:6244: \"$ac_link\"") >&5 6247 if { (eval echo "$as_me:6247: \"$ac_link\"") >&5
6245 (eval $ac_link) 2>&5 6248 (eval $ac_link) 2>&5
6246 ac_status=$? 6249 ac_status=$?
6247 echo "$as_me:6247: \$? = $ac_status" >&5 6250 echo "$as_me:6250: \$? = $ac_status" >&5
6248 (exit $ac_status); } && 6251 (exit $ac_status); } &&
6249 { ac_try='test -s conftest$ac_exeext' 6252 { ac_try='test -s conftest$ac_exeext'
6250 { (eval echo "$as_me:6250: \"$ac_try\"") >&5 6253 { (eval echo "$as_me:6253: \"$ac_try\"") >&5
6251 (eval $ac_try) 2>&5 6254 (eval $ac_try) 2>&5
6252 ac_status=$? 6255 ac_status=$?
6253 echo "$as_me:6253: \$? = $ac_status" >&5 6256 echo "$as_me:6256: \$? = $ac_status" >&5
6254 (exit $ac_status); }; }; then 6257 (exit $ac_status); }; }; then
6255 emacs_xkb=yes 6258 emacs_xkb=yes
6256 else 6259 else
6257 echo "$as_me: failed program was:" >&5 6260 echo "$as_me: failed program was:" >&5
6258 cat conftest.$ac_ext >&5 6261 cat conftest.$ac_ext >&5
6259 emacs_xkb=no 6262 emacs_xkb=no
6260 fi 6263 fi
6261 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6264 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6262 echo "$as_me:6262: result: $emacs_xkb" >&5 6265 echo "$as_me:6265: result: $emacs_xkb" >&5
6263 echo "${ECHO_T}$emacs_xkb" >&6 6266 echo "${ECHO_T}$emacs_xkb" >&6
6264 if test $emacs_xkb = yes; then 6267 if test $emacs_xkb = yes; then
6265 cat >>confdefs.h <<\EOF 6268 cat >>confdefs.h <<\EOF
6266 #define HAVE_XKBGETKEYBOARD 1 6269 #define HAVE_XKBGETKEYBOARD 1
6267 EOF 6270 EOF
6270 6273
6271 for ac_func in XrmSetDatabase XScreenResourceString \ 6274 for ac_func in XrmSetDatabase XScreenResourceString \
6272 XScreenNumberOfScreen XSetWMProtocols 6275 XScreenNumberOfScreen XSetWMProtocols
6273 do 6276 do
6274 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 6277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6275 echo "$as_me:6275: checking for $ac_func" >&5 6278 echo "$as_me:6278: checking for $ac_func" >&5
6276 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6277 if eval "test \"\${$as_ac_var+set}\" = set"; then 6280 if eval "test \"\${$as_ac_var+set}\" = set"; then
6278 echo $ECHO_N "(cached) $ECHO_C" >&6 6281 echo $ECHO_N "(cached) $ECHO_C" >&6
6279 else 6282 else
6280 cat >conftest.$ac_ext <<_ACEOF 6283 cat >conftest.$ac_ext <<_ACEOF
6281 #line 6281 "configure" 6284 #line 6284 "configure"
6282 #include "confdefs.h" 6285 #include "confdefs.h"
6283 /* System header to define __stub macros and hopefully few prototypes, 6286 /* System header to define __stub macros and hopefully few prototypes,
6284 which can conflict with char $ac_func (); below. */ 6287 which can conflict with char $ac_func (); below. */
6285 #include <assert.h> 6288 #include <assert.h>
6286 /* Override any gcc2 internal prototype to avoid an error. */ 6289 /* Override any gcc2 internal prototype to avoid an error. */
6307 ; 6310 ;
6308 return 0; 6311 return 0;
6309 } 6312 }
6310 _ACEOF 6313 _ACEOF
6311 rm -f conftest.$ac_objext conftest$ac_exeext 6314 rm -f conftest.$ac_objext conftest$ac_exeext
6312 if { (eval echo "$as_me:6312: \"$ac_link\"") >&5 6315 if { (eval echo "$as_me:6315: \"$ac_link\"") >&5
6313 (eval $ac_link) 2>&5 6316 (eval $ac_link) 2>&5
6314 ac_status=$? 6317 ac_status=$?
6315 echo "$as_me:6315: \$? = $ac_status" >&5 6318 echo "$as_me:6318: \$? = $ac_status" >&5
6316 (exit $ac_status); } && 6319 (exit $ac_status); } &&
6317 { ac_try='test -s conftest$ac_exeext' 6320 { ac_try='test -s conftest$ac_exeext'
6318 { (eval echo "$as_me:6318: \"$ac_try\"") >&5 6321 { (eval echo "$as_me:6321: \"$ac_try\"") >&5
6319 (eval $ac_try) 2>&5 6322 (eval $ac_try) 2>&5
6320 ac_status=$? 6323 ac_status=$?
6321 echo "$as_me:6321: \$? = $ac_status" >&5 6324 echo "$as_me:6324: \$? = $ac_status" >&5
6322 (exit $ac_status); }; }; then 6325 (exit $ac_status); }; }; then
6323 eval "$as_ac_var=yes" 6326 eval "$as_ac_var=yes"
6324 else 6327 else
6325 echo "$as_me: failed program was:" >&5 6328 echo "$as_me: failed program was:" >&5
6326 cat conftest.$ac_ext >&5 6329 cat conftest.$ac_ext >&5
6327 eval "$as_ac_var=no" 6330 eval "$as_ac_var=no"
6328 fi 6331 fi
6329 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6332 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6330 fi 6333 fi
6331 echo "$as_me:6331: result: `eval echo '${'$as_ac_var'}'`" >&5 6334 echo "$as_me:6334: result: `eval echo '${'$as_ac_var'}'`" >&5
6332 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6335 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6333 if test `eval echo '${'$as_ac_var'}'` = yes; then 6336 if test `eval echo '${'$as_ac_var'}'` = yes; then
6334 cat >>confdefs.h <<EOF 6337 cat >>confdefs.h <<EOF
6335 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 6338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6336 EOF 6339 EOF
6339 done 6342 done
6340 6343
6341 fi 6344 fi
6342 6345
6343 if test "${window_system}" = "x11"; then 6346 if test "${window_system}" = "x11"; then
6344 echo "$as_me:6344: checking X11 version 6" >&5 6347 echo "$as_me:6347: checking X11 version 6" >&5
6345 echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6 6348 echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6
6346 if test "${emacs_cv_x11_version_6+set}" = set; then 6349 if test "${emacs_cv_x11_version_6+set}" = set; then
6347 echo $ECHO_N "(cached) $ECHO_C" >&6 6350 echo $ECHO_N "(cached) $ECHO_C" >&6
6348 else 6351 else
6349 cat >conftest.$ac_ext <<_ACEOF 6352 cat >conftest.$ac_ext <<_ACEOF
6350 #line 6350 "configure" 6353 #line 6353 "configure"
6351 #include "confdefs.h" 6354 #include "confdefs.h"
6352 #include <X11/Xlib.h> 6355 #include <X11/Xlib.h>
6353 int 6356 int
6354 main () 6357 main ()
6355 { 6358 {
6360 ; 6363 ;
6361 return 0; 6364 return 0;
6362 } 6365 }
6363 _ACEOF 6366 _ACEOF
6364 rm -f conftest.$ac_objext conftest$ac_exeext 6367 rm -f conftest.$ac_objext conftest$ac_exeext
6365 if { (eval echo "$as_me:6365: \"$ac_link\"") >&5 6368 if { (eval echo "$as_me:6368: \"$ac_link\"") >&5
6366 (eval $ac_link) 2>&5 6369 (eval $ac_link) 2>&5
6367 ac_status=$? 6370 ac_status=$?
6368 echo "$as_me:6368: \$? = $ac_status" >&5 6371 echo "$as_me:6371: \$? = $ac_status" >&5
6369 (exit $ac_status); } && 6372 (exit $ac_status); } &&
6370 { ac_try='test -s conftest$ac_exeext' 6373 { ac_try='test -s conftest$ac_exeext'
6371 { (eval echo "$as_me:6371: \"$ac_try\"") >&5 6374 { (eval echo "$as_me:6374: \"$ac_try\"") >&5
6372 (eval $ac_try) 2>&5 6375 (eval $ac_try) 2>&5
6373 ac_status=$? 6376 ac_status=$?
6374 echo "$as_me:6374: \$? = $ac_status" >&5 6377 echo "$as_me:6377: \$? = $ac_status" >&5
6375 (exit $ac_status); }; }; then 6378 (exit $ac_status); }; }; then
6376 emacs_cv_x11_version_6=yes 6379 emacs_cv_x11_version_6=yes
6377 else 6380 else
6378 echo "$as_me: failed program was:" >&5 6381 echo "$as_me: failed program was:" >&5
6379 cat conftest.$ac_ext >&5 6382 cat conftest.$ac_ext >&5
6381 fi 6384 fi
6382 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6385 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6383 fi 6386 fi
6384 6387
6385 if test $emacs_cv_x11_version_6 = yes; then 6388 if test $emacs_cv_x11_version_6 = yes; then
6386 echo "$as_me:6386: result: 6 or newer" >&5 6389 echo "$as_me:6389: result: 6 or newer" >&5
6387 echo "${ECHO_T}6 or newer" >&6 6390 echo "${ECHO_T}6 or newer" >&6
6388 cat >>confdefs.h <<\EOF 6391 cat >>confdefs.h <<\EOF
6389 #define HAVE_X11R6 1 6392 #define HAVE_X11R6 1
6390 EOF 6393 EOF
6391 6394
6392 else 6395 else
6393 echo "$as_me:6393: result: before 6" >&5 6396 echo "$as_me:6396: result: before 6" >&5
6394 echo "${ECHO_T}before 6" >&6 6397 echo "${ECHO_T}before 6" >&6
6395 fi 6398 fi
6396 fi 6399 fi
6397 6400
6398 if test "${window_system}" = "x11"; then 6401 if test "${window_system}" = "x11"; then
6399 echo "$as_me:6399: checking X11 version 5" >&5 6402 echo "$as_me:6402: checking X11 version 5" >&5
6400 echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6 6403 echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6
6401 if test "${emacs_cv_x11_version_5+set}" = set; then 6404 if test "${emacs_cv_x11_version_5+set}" = set; then
6402 echo $ECHO_N "(cached) $ECHO_C" >&6 6405 echo $ECHO_N "(cached) $ECHO_C" >&6
6403 else 6406 else
6404 cat >conftest.$ac_ext <<_ACEOF 6407 cat >conftest.$ac_ext <<_ACEOF
6405 #line 6405 "configure" 6408 #line 6408 "configure"
6406 #include "confdefs.h" 6409 #include "confdefs.h"
6407 #include <X11/Xlib.h> 6410 #include <X11/Xlib.h>
6408 int 6411 int
6409 main () 6412 main ()
6410 { 6413 {
6415 ; 6418 ;
6416 return 0; 6419 return 0;
6417 } 6420 }
6418 _ACEOF 6421 _ACEOF
6419 rm -f conftest.$ac_objext conftest$ac_exeext 6422 rm -f conftest.$ac_objext conftest$ac_exeext
6420 if { (eval echo "$as_me:6420: \"$ac_link\"") >&5 6423 if { (eval echo "$as_me:6423: \"$ac_link\"") >&5
6421 (eval $ac_link) 2>&5 6424 (eval $ac_link) 2>&5
6422 ac_status=$? 6425 ac_status=$?
6423 echo "$as_me:6423: \$? = $ac_status" >&5 6426 echo "$as_me:6426: \$? = $ac_status" >&5
6424 (exit $ac_status); } && 6427 (exit $ac_status); } &&
6425 { ac_try='test -s conftest$ac_exeext' 6428 { ac_try='test -s conftest$ac_exeext'
6426 { (eval echo "$as_me:6426: \"$ac_try\"") >&5 6429 { (eval echo "$as_me:6429: \"$ac_try\"") >&5
6427 (eval $ac_try) 2>&5 6430 (eval $ac_try) 2>&5
6428 ac_status=$? 6431 ac_status=$?
6429 echo "$as_me:6429: \$? = $ac_status" >&5 6432 echo "$as_me:6432: \$? = $ac_status" >&5
6430 (exit $ac_status); }; }; then 6433 (exit $ac_status); }; }; then
6431 emacs_cv_x11_version_5=yes 6434 emacs_cv_x11_version_5=yes
6432 else 6435 else
6433 echo "$as_me: failed program was:" >&5 6436 echo "$as_me: failed program was:" >&5
6434 cat conftest.$ac_ext >&5 6437 cat conftest.$ac_ext >&5
6436 fi 6439 fi
6437 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6440 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6438 fi 6441 fi
6439 6442
6440 if test $emacs_cv_x11_version_5 = yes; then 6443 if test $emacs_cv_x11_version_5 = yes; then
6441 echo "$as_me:6441: result: 5 or newer" >&5 6444 echo "$as_me:6444: result: 5 or newer" >&5
6442 echo "${ECHO_T}5 or newer" >&6 6445 echo "${ECHO_T}5 or newer" >&6
6443 HAVE_X11R5=yes 6446 HAVE_X11R5=yes
6444 cat >>confdefs.h <<\EOF 6447 cat >>confdefs.h <<\EOF
6445 #define HAVE_X11R5 1 6448 #define HAVE_X11R5 1
6446 EOF 6449 EOF
6447 6450
6448 else 6451 else
6449 HAVE_X11R5=no 6452 HAVE_X11R5=no
6450 echo "$as_me:6450: result: before 5" >&5 6453 echo "$as_me:6453: result: before 5" >&5
6451 echo "${ECHO_T}before 5" >&6 6454 echo "${ECHO_T}before 5" >&6
6452 fi 6455 fi
6453 fi 6456 fi
6454 6457
6455 if test x"${USE_X_TOOLKIT}" = xmaybe; then 6458 if test x"${USE_X_TOOLKIT}" = xmaybe; then
6456 if test x"${HAVE_X11R5}" = xyes; then 6459 if test x"${HAVE_X11R5}" = xyes; then
6457 echo "$as_me:6457: checking X11 version 5 with Xaw" >&5 6460 echo "$as_me:6460: checking X11 version 5 with Xaw" >&5
6458 echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6 6461 echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6
6459 if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then 6462 if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then
6460 echo $ECHO_N "(cached) $ECHO_C" >&6 6463 echo $ECHO_N "(cached) $ECHO_C" >&6
6461 else 6464 else
6462 cat >conftest.$ac_ext <<_ACEOF 6465 cat >conftest.$ac_ext <<_ACEOF
6463 #line 6463 "configure" 6466 #line 6466 "configure"
6464 #include "confdefs.h" 6467 #include "confdefs.h"
6465 6468
6466 #include <X11/Intrinsic.h> 6469 #include <X11/Intrinsic.h>
6467 #include <X11/Xaw/Simple.h> 6470 #include <X11/Xaw/Simple.h>
6468 int 6471 int
6472 ; 6475 ;
6473 return 0; 6476 return 0;
6474 } 6477 }
6475 _ACEOF 6478 _ACEOF
6476 rm -f conftest.$ac_objext conftest$ac_exeext 6479 rm -f conftest.$ac_objext conftest$ac_exeext
6477 if { (eval echo "$as_me:6477: \"$ac_link\"") >&5 6480 if { (eval echo "$as_me:6480: \"$ac_link\"") >&5
6478 (eval $ac_link) 2>&5 6481 (eval $ac_link) 2>&5
6479 ac_status=$? 6482 ac_status=$?
6480 echo "$as_me:6480: \$? = $ac_status" >&5 6483 echo "$as_me:6483: \$? = $ac_status" >&5
6481 (exit $ac_status); } && 6484 (exit $ac_status); } &&
6482 { ac_try='test -s conftest$ac_exeext' 6485 { ac_try='test -s conftest$ac_exeext'
6483 { (eval echo "$as_me:6483: \"$ac_try\"") >&5 6486 { (eval echo "$as_me:6486: \"$ac_try\"") >&5
6484 (eval $ac_try) 2>&5 6487 (eval $ac_try) 2>&5
6485 ac_status=$? 6488 ac_status=$?
6486 echo "$as_me:6486: \$? = $ac_status" >&5 6489 echo "$as_me:6489: \$? = $ac_status" >&5
6487 (exit $ac_status); }; }; then 6490 (exit $ac_status); }; }; then
6488 emacs_cv_x11_version_5_with_xaw=yes 6491 emacs_cv_x11_version_5_with_xaw=yes
6489 else 6492 else
6490 echo "$as_me: failed program was:" >&5 6493 echo "$as_me: failed program was:" >&5
6491 cat conftest.$ac_ext >&5 6494 cat conftest.$ac_ext >&5
6493 fi 6496 fi
6494 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6497 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6495 fi 6498 fi
6496 6499
6497 if test $emacs_cv_x11_version_5_with_xaw = yes; then 6500 if test $emacs_cv_x11_version_5_with_xaw = yes; then
6498 echo "$as_me:6498: result: 5 or newer, with Xaw; use toolkit by default" >&5 6501 echo "$as_me:6501: result: 5 or newer, with Xaw; use toolkit by default" >&5
6499 echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6 6502 echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6
6500 USE_X_TOOLKIT=LUCID 6503 USE_X_TOOLKIT=LUCID
6501 else 6504 else
6502 echo "$as_me:6502: result: before 5 or no Xaw; do not use toolkit by default" >&5 6505 echo "$as_me:6505: result: before 5 or no Xaw; do not use toolkit by default" >&5
6503 echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6 6506 echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6
6504 USE_X_TOOLKIT=none 6507 USE_X_TOOLKIT=none
6505 fi 6508 fi
6506 else 6509 else
6507 USE_X_TOOLKIT=none 6510 USE_X_TOOLKIT=none
6509 fi 6512 fi
6510 6513
6511 X_TOOLKIT_TYPE=$USE_X_TOOLKIT 6514 X_TOOLKIT_TYPE=$USE_X_TOOLKIT
6512 6515
6513 if test "${USE_X_TOOLKIT}" != "none"; then 6516 if test "${USE_X_TOOLKIT}" != "none"; then
6514 echo "$as_me:6514: checking X11 toolkit version" >&5 6517 echo "$as_me:6517: checking X11 toolkit version" >&5
6515 echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6 6518 echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6
6516 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then 6519 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then
6517 echo $ECHO_N "(cached) $ECHO_C" >&6 6520 echo $ECHO_N "(cached) $ECHO_C" >&6
6518 else 6521 else
6519 cat >conftest.$ac_ext <<_ACEOF 6522 cat >conftest.$ac_ext <<_ACEOF
6520 #line 6520 "configure" 6523 #line 6523 "configure"
6521 #include "confdefs.h" 6524 #include "confdefs.h"
6522 #include <X11/Intrinsic.h> 6525 #include <X11/Intrinsic.h>
6523 int 6526 int
6524 main () 6527 main ()
6525 { 6528 {
6530 ; 6533 ;
6531 return 0; 6534 return 0;
6532 } 6535 }
6533 _ACEOF 6536 _ACEOF
6534 rm -f conftest.$ac_objext conftest$ac_exeext 6537 rm -f conftest.$ac_objext conftest$ac_exeext
6535 if { (eval echo "$as_me:6535: \"$ac_link\"") >&5 6538 if { (eval echo "$as_me:6538: \"$ac_link\"") >&5
6536 (eval $ac_link) 2>&5 6539 (eval $ac_link) 2>&5
6537 ac_status=$? 6540 ac_status=$?
6538 echo "$as_me:6538: \$? = $ac_status" >&5 6541 echo "$as_me:6541: \$? = $ac_status" >&5
6539 (exit $ac_status); } && 6542 (exit $ac_status); } &&
6540 { ac_try='test -s conftest$ac_exeext' 6543 { ac_try='test -s conftest$ac_exeext'
6541 { (eval echo "$as_me:6541: \"$ac_try\"") >&5 6544 { (eval echo "$as_me:6544: \"$ac_try\"") >&5
6542 (eval $ac_try) 2>&5 6545 (eval $ac_try) 2>&5
6543 ac_status=$? 6546 ac_status=$?
6544 echo "$as_me:6544: \$? = $ac_status" >&5 6547 echo "$as_me:6547: \$? = $ac_status" >&5
6545 (exit $ac_status); }; }; then 6548 (exit $ac_status); }; }; then
6546 emacs_cv_x11_toolkit_version_6=yes 6549 emacs_cv_x11_toolkit_version_6=yes
6547 else 6550 else
6548 echo "$as_me: failed program was:" >&5 6551 echo "$as_me: failed program was:" >&5
6549 cat conftest.$ac_ext >&5 6552 cat conftest.$ac_ext >&5
6552 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6555 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6553 fi 6556 fi
6554 6557
6555 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6 6558 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6
6556 if test $emacs_cv_x11_toolkit_version_6 = yes; then 6559 if test $emacs_cv_x11_toolkit_version_6 = yes; then
6557 echo "$as_me:6557: result: 6 or newer" >&5 6560 echo "$as_me:6560: result: 6 or newer" >&5
6558 echo "${ECHO_T}6 or newer" >&6 6561 echo "${ECHO_T}6 or newer" >&6
6559 cat >>confdefs.h <<\EOF 6562 cat >>confdefs.h <<\EOF
6560 #define HAVE_X11XTR6 1 6563 #define HAVE_X11XTR6 1
6561 EOF 6564 EOF
6562 6565
6563 else 6566 else
6564 echo "$as_me:6564: result: before 6" >&5 6567 echo "$as_me:6567: result: before 6" >&5
6565 echo "${ECHO_T}before 6" >&6 6568 echo "${ECHO_T}before 6" >&6
6566 fi 6569 fi
6567 6570
6568 OLDLIBS="$LIBS" 6571 OLDLIBS="$LIBS"
6569 if test x$HAVE_X11XTR6 = xyes; then 6572 if test x$HAVE_X11XTR6 = xyes; then
6570 LIBS="-lXt -lSM -lICE $LIBS" 6573 LIBS="-lXt -lSM -lICE $LIBS"
6571 else 6574 else
6572 LIBS="-lXt $LIBS" 6575 LIBS="-lXt $LIBS"
6573 fi 6576 fi
6574 6577
6575 echo "$as_me:6575: checking for XmuConvertStandardSelection in -lXmu" >&5 6578 echo "$as_me:6578: checking for XmuConvertStandardSelection in -lXmu" >&5
6576 echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6 6579 echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6
6577 if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then 6580 if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then
6578 echo $ECHO_N "(cached) $ECHO_C" >&6 6581 echo $ECHO_N "(cached) $ECHO_C" >&6
6579 else 6582 else
6580 ac_check_lib_save_LIBS=$LIBS 6583 ac_check_lib_save_LIBS=$LIBS
6581 LIBS="-lXmu $LIBS" 6584 LIBS="-lXmu $LIBS"
6582 cat >conftest.$ac_ext <<_ACEOF 6585 cat >conftest.$ac_ext <<_ACEOF
6583 #line 6583 "configure" 6586 #line 6586 "configure"
6584 #include "confdefs.h" 6587 #include "confdefs.h"
6585 6588
6586 /* Override any gcc2 internal prototype to avoid an error. */ 6589 /* Override any gcc2 internal prototype to avoid an error. */
6587 #ifdef __cplusplus 6590 #ifdef __cplusplus
6588 extern "C" 6591 extern "C"
6597 ; 6600 ;
6598 return 0; 6601 return 0;
6599 } 6602 }
6600 _ACEOF 6603 _ACEOF
6601 rm -f conftest.$ac_objext conftest$ac_exeext 6604 rm -f conftest.$ac_objext conftest$ac_exeext
6602 if { (eval echo "$as_me:6602: \"$ac_link\"") >&5 6605 if { (eval echo "$as_me:6605: \"$ac_link\"") >&5
6603 (eval $ac_link) 2>&5 6606 (eval $ac_link) 2>&5
6604 ac_status=$? 6607 ac_status=$?
6605 echo "$as_me:6605: \$? = $ac_status" >&5 6608 echo "$as_me:6608: \$? = $ac_status" >&5
6606 (exit $ac_status); } && 6609 (exit $ac_status); } &&
6607 { ac_try='test -s conftest$ac_exeext' 6610 { ac_try='test -s conftest$ac_exeext'
6608 { (eval echo "$as_me:6608: \"$ac_try\"") >&5 6611 { (eval echo "$as_me:6611: \"$ac_try\"") >&5
6609 (eval $ac_try) 2>&5 6612 (eval $ac_try) 2>&5
6610 ac_status=$? 6613 ac_status=$?
6611 echo "$as_me:6611: \$? = $ac_status" >&5 6614 echo "$as_me:6614: \$? = $ac_status" >&5
6612 (exit $ac_status); }; }; then 6615 (exit $ac_status); }; }; then
6613 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes 6616 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes
6614 else 6617 else
6615 echo "$as_me: failed program was:" >&5 6618 echo "$as_me: failed program was:" >&5
6616 cat conftest.$ac_ext >&5 6619 cat conftest.$ac_ext >&5
6617 ac_cv_lib_Xmu_XmuConvertStandardSelection=no 6620 ac_cv_lib_Xmu_XmuConvertStandardSelection=no
6618 fi 6621 fi
6619 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6622 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6620 LIBS=$ac_check_lib_save_LIBS 6623 LIBS=$ac_check_lib_save_LIBS
6621 fi 6624 fi
6622 echo "$as_me:6622: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5 6625 echo "$as_me:6625: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5
6623 echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6 6626 echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6
6624 if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then 6627 if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then
6625 cat >>confdefs.h <<EOF 6628 cat >>confdefs.h <<EOF
6626 #define HAVE_LIBXMU 1 6629 #define HAVE_LIBXMU 1
6627 EOF 6630 EOF
6635 6638
6636 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D. 6639 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D.
6637 if test "${HAVE_X11}" = "yes"; then 6640 if test "${HAVE_X11}" = "yes"; then
6638 if test "${USE_X_TOOLKIT}" != "none"; then 6641 if test "${USE_X_TOOLKIT}" != "none"; then
6639 6642
6640 echo "$as_me:6640: checking for XShapeQueryExtension in -lXext" >&5 6643 echo "$as_me:6643: checking for XShapeQueryExtension in -lXext" >&5
6641 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6 6644 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
6642 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then 6645 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
6643 echo $ECHO_N "(cached) $ECHO_C" >&6 6646 echo $ECHO_N "(cached) $ECHO_C" >&6
6644 else 6647 else
6645 ac_check_lib_save_LIBS=$LIBS 6648 ac_check_lib_save_LIBS=$LIBS
6646 LIBS="-lXext $LIBS" 6649 LIBS="-lXext $LIBS"
6647 cat >conftest.$ac_ext <<_ACEOF 6650 cat >conftest.$ac_ext <<_ACEOF
6648 #line 6648 "configure" 6651 #line 6651 "configure"
6649 #include "confdefs.h" 6652 #include "confdefs.h"
6650 6653
6651 /* Override any gcc2 internal prototype to avoid an error. */ 6654 /* Override any gcc2 internal prototype to avoid an error. */
6652 #ifdef __cplusplus 6655 #ifdef __cplusplus
6653 extern "C" 6656 extern "C"
6662 ; 6665 ;
6663 return 0; 6666 return 0;
6664 } 6667 }
6665 _ACEOF 6668 _ACEOF
6666 rm -f conftest.$ac_objext conftest$ac_exeext 6669 rm -f conftest.$ac_objext conftest$ac_exeext
6667 if { (eval echo "$as_me:6667: \"$ac_link\"") >&5 6670 if { (eval echo "$as_me:6670: \"$ac_link\"") >&5
6668 (eval $ac_link) 2>&5 6671 (eval $ac_link) 2>&5
6669 ac_status=$? 6672 ac_status=$?
6670 echo "$as_me:6670: \$? = $ac_status" >&5 6673 echo "$as_me:6673: \$? = $ac_status" >&5
6671 (exit $ac_status); } && 6674 (exit $ac_status); } &&
6672 { ac_try='test -s conftest$ac_exeext' 6675 { ac_try='test -s conftest$ac_exeext'
6673 { (eval echo "$as_me:6673: \"$ac_try\"") >&5 6676 { (eval echo "$as_me:6676: \"$ac_try\"") >&5
6674 (eval $ac_try) 2>&5 6677 (eval $ac_try) 2>&5
6675 ac_status=$? 6678 ac_status=$?
6676 echo "$as_me:6676: \$? = $ac_status" >&5 6679 echo "$as_me:6679: \$? = $ac_status" >&5
6677 (exit $ac_status); }; }; then 6680 (exit $ac_status); }; }; then
6678 ac_cv_lib_Xext_XShapeQueryExtension=yes 6681 ac_cv_lib_Xext_XShapeQueryExtension=yes
6679 else 6682 else
6680 echo "$as_me: failed program was:" >&5 6683 echo "$as_me: failed program was:" >&5
6681 cat conftest.$ac_ext >&5 6684 cat conftest.$ac_ext >&5
6682 ac_cv_lib_Xext_XShapeQueryExtension=no 6685 ac_cv_lib_Xext_XShapeQueryExtension=no
6683 fi 6686 fi
6684 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6687 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6685 LIBS=$ac_check_lib_save_LIBS 6688 LIBS=$ac_check_lib_save_LIBS
6686 fi 6689 fi
6687 echo "$as_me:6687: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 6690 echo "$as_me:6690: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
6688 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6 6691 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
6689 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then 6692 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
6690 cat >>confdefs.h <<EOF 6693 cat >>confdefs.h <<EOF
6691 #define HAVE_LIBXEXT 1 6694 #define HAVE_LIBXEXT 1
6692 EOF 6695 EOF
6697 6700
6698 fi 6701 fi
6699 fi 6702 fi
6700 6703
6701 if test "${USE_X_TOOLKIT}" = "MOTIF"; then 6704 if test "${USE_X_TOOLKIT}" = "MOTIF"; then
6702 echo "$as_me:6702: checking for Motif version 2.1" >&5 6705 echo "$as_me:6705: checking for Motif version 2.1" >&5
6703 echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6 6706 echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6
6704 if test "${emacs_cv_motif_version_2_1+set}" = set; then 6707 if test "${emacs_cv_motif_version_2_1+set}" = set; then
6705 echo $ECHO_N "(cached) $ECHO_C" >&6 6708 echo $ECHO_N "(cached) $ECHO_C" >&6
6706 else 6709 else
6707 cat >conftest.$ac_ext <<_ACEOF 6710 cat >conftest.$ac_ext <<_ACEOF
6708 #line 6708 "configure" 6711 #line 6711 "configure"
6709 #include "confdefs.h" 6712 #include "confdefs.h"
6710 #include <Xm/Xm.h> 6713 #include <Xm/Xm.h>
6711 int 6714 int
6712 main () 6715 main ()
6713 { 6716 {
6719 ; 6722 ;
6720 return 0; 6723 return 0;
6721 } 6724 }
6722 _ACEOF 6725 _ACEOF
6723 rm -f conftest.$ac_objext 6726 rm -f conftest.$ac_objext
6724 if { (eval echo "$as_me:6724: \"$ac_compile\"") >&5 6727 if { (eval echo "$as_me:6727: \"$ac_compile\"") >&5
6725 (eval $ac_compile) 2>&5 6728 (eval $ac_compile) 2>&5
6726 ac_status=$? 6729 ac_status=$?
6727 echo "$as_me:6727: \$? = $ac_status" >&5 6730 echo "$as_me:6730: \$? = $ac_status" >&5
6728 (exit $ac_status); } && 6731 (exit $ac_status); } &&
6729 { ac_try='test -s conftest.$ac_objext' 6732 { ac_try='test -s conftest.$ac_objext'
6730 { (eval echo "$as_me:6730: \"$ac_try\"") >&5 6733 { (eval echo "$as_me:6733: \"$ac_try\"") >&5
6731 (eval $ac_try) 2>&5 6734 (eval $ac_try) 2>&5
6732 ac_status=$? 6735 ac_status=$?
6733 echo "$as_me:6733: \$? = $ac_status" >&5 6736 echo "$as_me:6736: \$? = $ac_status" >&5
6734 (exit $ac_status); }; }; then 6737 (exit $ac_status); }; }; then
6735 emacs_cv_motif_version_2_1=yes 6738 emacs_cv_motif_version_2_1=yes
6736 else 6739 else
6737 echo "$as_me: failed program was:" >&5 6740 echo "$as_me: failed program was:" >&5
6738 cat conftest.$ac_ext >&5 6741 cat conftest.$ac_ext >&5
6739 emacs_cv_motif_version_2_1=no 6742 emacs_cv_motif_version_2_1=no
6740 fi 6743 fi
6741 rm -f conftest.$ac_objext conftest.$ac_ext 6744 rm -f conftest.$ac_objext conftest.$ac_ext
6742 fi 6745 fi
6743 echo "$as_me:6743: result: $emacs_cv_motif_version_2_1" >&5 6746 echo "$as_me:6746: result: $emacs_cv_motif_version_2_1" >&5
6744 echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6 6747 echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6
6745 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1 6748 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1
6746 if test $emacs_cv_motif_version_2_1 = yes; then 6749 if test $emacs_cv_motif_version_2_1 = yes; then
6747 HAVE_LIBXP=no 6750 HAVE_LIBXP=no
6748 cat >>confdefs.h <<\EOF 6751 cat >>confdefs.h <<\EOF
6749 #define HAVE_MOTIF_2_1 1 6752 #define HAVE_MOTIF_2_1 1
6750 EOF 6753 EOF
6751 6754
6752 echo "$as_me:6752: checking for XpCreateContext in -lXp" >&5 6755 echo "$as_me:6755: checking for XpCreateContext in -lXp" >&5
6753 echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6 6756 echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6
6754 if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then 6757 if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then
6755 echo $ECHO_N "(cached) $ECHO_C" >&6 6758 echo $ECHO_N "(cached) $ECHO_C" >&6
6756 else 6759 else
6757 ac_check_lib_save_LIBS=$LIBS 6760 ac_check_lib_save_LIBS=$LIBS
6758 LIBS="-lXp $LIBS" 6761 LIBS="-lXp $LIBS"
6759 cat >conftest.$ac_ext <<_ACEOF 6762 cat >conftest.$ac_ext <<_ACEOF
6760 #line 6760 "configure" 6763 #line 6763 "configure"
6761 #include "confdefs.h" 6764 #include "confdefs.h"
6762 6765
6763 /* Override any gcc2 internal prototype to avoid an error. */ 6766 /* Override any gcc2 internal prototype to avoid an error. */
6764 #ifdef __cplusplus 6767 #ifdef __cplusplus
6765 extern "C" 6768 extern "C"
6774 ; 6777 ;
6775 return 0; 6778 return 0;
6776 } 6779 }
6777 _ACEOF 6780 _ACEOF
6778 rm -f conftest.$ac_objext conftest$ac_exeext 6781 rm -f conftest.$ac_objext conftest$ac_exeext
6779 if { (eval echo "$as_me:6779: \"$ac_link\"") >&5 6782 if { (eval echo "$as_me:6782: \"$ac_link\"") >&5
6780 (eval $ac_link) 2>&5 6783 (eval $ac_link) 2>&5
6781 ac_status=$? 6784 ac_status=$?
6782 echo "$as_me:6782: \$? = $ac_status" >&5 6785 echo "$as_me:6785: \$? = $ac_status" >&5
6783 (exit $ac_status); } && 6786 (exit $ac_status); } &&
6784 { ac_try='test -s conftest$ac_exeext' 6787 { ac_try='test -s conftest$ac_exeext'
6785 { (eval echo "$as_me:6785: \"$ac_try\"") >&5 6788 { (eval echo "$as_me:6788: \"$ac_try\"") >&5
6786 (eval $ac_try) 2>&5 6789 (eval $ac_try) 2>&5
6787 ac_status=$? 6790 ac_status=$?
6788 echo "$as_me:6788: \$? = $ac_status" >&5 6791 echo "$as_me:6791: \$? = $ac_status" >&5
6789 (exit $ac_status); }; }; then 6792 (exit $ac_status); }; }; then
6790 ac_cv_lib_Xp_XpCreateContext=yes 6793 ac_cv_lib_Xp_XpCreateContext=yes
6791 else 6794 else
6792 echo "$as_me: failed program was:" >&5 6795 echo "$as_me: failed program was:" >&5
6793 cat conftest.$ac_ext >&5 6796 cat conftest.$ac_ext >&5
6794 ac_cv_lib_Xp_XpCreateContext=no 6797 ac_cv_lib_Xp_XpCreateContext=no
6795 fi 6798 fi
6796 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6799 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6797 LIBS=$ac_check_lib_save_LIBS 6800 LIBS=$ac_check_lib_save_LIBS
6798 fi 6801 fi
6799 echo "$as_me:6799: result: $ac_cv_lib_Xp_XpCreateContext" >&5 6802 echo "$as_me:6802: result: $ac_cv_lib_Xp_XpCreateContext" >&5
6800 echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6 6803 echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6
6801 if test $ac_cv_lib_Xp_XpCreateContext = yes; then 6804 if test $ac_cv_lib_Xp_XpCreateContext = yes; then
6802 HAVE_LIBXP=yes 6805 HAVE_LIBXP=yes
6803 fi 6806 fi
6804 6807
6813 6816
6814 ### Is -lXaw3d available? 6817 ### Is -lXaw3d available?
6815 HAVE_XAW3D=no 6818 HAVE_XAW3D=no
6816 if test "${HAVE_X11}" = "yes"; then 6819 if test "${HAVE_X11}" = "yes"; then
6817 if test "${USE_X_TOOLKIT}" != "none"; then 6820 if test "${USE_X_TOOLKIT}" != "none"; then
6818 echo "$as_me:6818: checking for X11/Xaw3d/Scrollbar.h" >&5 6821 echo "$as_me:6821: checking for X11/Xaw3d/Scrollbar.h" >&5
6819 echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6 6822 echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6
6820 if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then 6823 if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then
6821 echo $ECHO_N "(cached) $ECHO_C" >&6 6824 echo $ECHO_N "(cached) $ECHO_C" >&6
6822 else 6825 else
6823 cat >conftest.$ac_ext <<_ACEOF 6826 cat >conftest.$ac_ext <<_ACEOF
6824 #line 6824 "configure" 6827 #line 6827 "configure"
6825 #include "confdefs.h" 6828 #include "confdefs.h"
6826 #include <X11/Xaw3d/Scrollbar.h> 6829 #include <X11/Xaw3d/Scrollbar.h>
6827 _ACEOF 6830 _ACEOF
6828 if { (eval echo "$as_me:6828: \"$ac_cpp conftest.$ac_ext\"") >&5 6831 if { (eval echo "$as_me:6831: \"$ac_cpp conftest.$ac_ext\"") >&5
6829 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6832 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6830 ac_status=$? 6833 ac_status=$?
6831 egrep -v '^ *\+' conftest.er1 >conftest.err 6834 egrep -v '^ *\+' conftest.er1 >conftest.err
6832 rm -f conftest.er1 6835 rm -f conftest.er1
6833 cat conftest.err >&5 6836 cat conftest.err >&5
6834 echo "$as_me:6834: \$? = $ac_status" >&5 6837 echo "$as_me:6837: \$? = $ac_status" >&5
6835 (exit $ac_status); } >/dev/null; then 6838 (exit $ac_status); } >/dev/null; then
6836 if test -s conftest.err; then 6839 if test -s conftest.err; then
6837 ac_cpp_err=$ac_c_preproc_warn_flag 6840 ac_cpp_err=$ac_c_preproc_warn_flag
6838 else 6841 else
6839 ac_cpp_err= 6842 ac_cpp_err=
6848 cat conftest.$ac_ext >&5 6851 cat conftest.$ac_ext >&5
6849 ac_cv_header_X11_Xaw3d_Scrollbar_h=no 6852 ac_cv_header_X11_Xaw3d_Scrollbar_h=no
6850 fi 6853 fi
6851 rm -f conftest.err conftest.$ac_ext 6854 rm -f conftest.err conftest.$ac_ext
6852 fi 6855 fi
6853 echo "$as_me:6853: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5 6856 echo "$as_me:6856: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5
6854 echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6 6857 echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6
6855 if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then 6858 if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then
6856 echo "$as_me:6856: checking for XawScrollbarSetThumb in -lXaw3d" >&5 6859 echo "$as_me:6859: checking for XawScrollbarSetThumb in -lXaw3d" >&5
6857 echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6 6860 echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6
6858 if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then 6861 if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then
6859 echo $ECHO_N "(cached) $ECHO_C" >&6 6862 echo $ECHO_N "(cached) $ECHO_C" >&6
6860 else 6863 else
6861 ac_check_lib_save_LIBS=$LIBS 6864 ac_check_lib_save_LIBS=$LIBS
6862 LIBS="-lXaw3d $LIBS" 6865 LIBS="-lXaw3d $LIBS"
6863 cat >conftest.$ac_ext <<_ACEOF 6866 cat >conftest.$ac_ext <<_ACEOF
6864 #line 6864 "configure" 6867 #line 6867 "configure"
6865 #include "confdefs.h" 6868 #include "confdefs.h"
6866 6869
6867 /* Override any gcc2 internal prototype to avoid an error. */ 6870 /* Override any gcc2 internal prototype to avoid an error. */
6868 #ifdef __cplusplus 6871 #ifdef __cplusplus
6869 extern "C" 6872 extern "C"
6878 ; 6881 ;
6879 return 0; 6882 return 0;
6880 } 6883 }
6881 _ACEOF 6884 _ACEOF
6882 rm -f conftest.$ac_objext conftest$ac_exeext 6885 rm -f conftest.$ac_objext conftest$ac_exeext
6883 if { (eval echo "$as_me:6883: \"$ac_link\"") >&5 6886 if { (eval echo "$as_me:6886: \"$ac_link\"") >&5
6884 (eval $ac_link) 2>&5 6887 (eval $ac_link) 2>&5
6885 ac_status=$? 6888 ac_status=$?
6886 echo "$as_me:6886: \$? = $ac_status" >&5 6889 echo "$as_me:6889: \$? = $ac_status" >&5
6887 (exit $ac_status); } && 6890 (exit $ac_status); } &&
6888 { ac_try='test -s conftest$ac_exeext' 6891 { ac_try='test -s conftest$ac_exeext'
6889 { (eval echo "$as_me:6889: \"$ac_try\"") >&5 6892 { (eval echo "$as_me:6892: \"$ac_try\"") >&5
6890 (eval $ac_try) 2>&5 6893 (eval $ac_try) 2>&5
6891 ac_status=$? 6894 ac_status=$?
6892 echo "$as_me:6892: \$? = $ac_status" >&5 6895 echo "$as_me:6895: \$? = $ac_status" >&5
6893 (exit $ac_status); }; }; then 6896 (exit $ac_status); }; }; then
6894 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes 6897 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes
6895 else 6898 else
6896 echo "$as_me: failed program was:" >&5 6899 echo "$as_me: failed program was:" >&5
6897 cat conftest.$ac_ext >&5 6900 cat conftest.$ac_ext >&5
6898 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=no 6901 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=no
6899 fi 6902 fi
6900 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6903 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6901 LIBS=$ac_check_lib_save_LIBS 6904 LIBS=$ac_check_lib_save_LIBS
6902 fi 6905 fi
6903 echo "$as_me:6903: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5 6906 echo "$as_me:6906: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5
6904 echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6 6907 echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6
6905 if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then 6908 if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then
6906 HAVE_XAW3D=yes 6909 HAVE_XAW3D=yes
6907 fi 6910 fi
6908 6911
6946 6949
6947 ### Use -lXpm if available, unless `--with-xpm=no'. 6950 ### Use -lXpm if available, unless `--with-xpm=no'.
6948 HAVE_XPM=no 6951 HAVE_XPM=no
6949 if test "${HAVE_X11}" = "yes"; then 6952 if test "${HAVE_X11}" = "yes"; then
6950 if test "${with_xpm}" != "no"; then 6953 if test "${with_xpm}" != "no"; then
6951 echo "$as_me:6951: checking for X11/xpm.h" >&5 6954 echo "$as_me:6954: checking for X11/xpm.h" >&5
6952 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6 6955 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
6953 if test "${ac_cv_header_X11_xpm_h+set}" = set; then 6956 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
6954 echo $ECHO_N "(cached) $ECHO_C" >&6 6957 echo $ECHO_N "(cached) $ECHO_C" >&6
6955 else 6958 else
6956 cat >conftest.$ac_ext <<_ACEOF 6959 cat >conftest.$ac_ext <<_ACEOF
6957 #line 6957 "configure" 6960 #line 6960 "configure"
6958 #include "confdefs.h" 6961 #include "confdefs.h"
6959 #include <X11/xpm.h> 6962 #include <X11/xpm.h>
6960 _ACEOF 6963 _ACEOF
6961 if { (eval echo "$as_me:6961: \"$ac_cpp conftest.$ac_ext\"") >&5 6964 if { (eval echo "$as_me:6964: \"$ac_cpp conftest.$ac_ext\"") >&5
6962 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6965 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6963 ac_status=$? 6966 ac_status=$?
6964 egrep -v '^ *\+' conftest.er1 >conftest.err 6967 egrep -v '^ *\+' conftest.er1 >conftest.err
6965 rm -f conftest.er1 6968 rm -f conftest.er1
6966 cat conftest.err >&5 6969 cat conftest.err >&5
6967 echo "$as_me:6967: \$? = $ac_status" >&5 6970 echo "$as_me:6970: \$? = $ac_status" >&5
6968 (exit $ac_status); } >/dev/null; then 6971 (exit $ac_status); } >/dev/null; then
6969 if test -s conftest.err; then 6972 if test -s conftest.err; then
6970 ac_cpp_err=$ac_c_preproc_warn_flag 6973 ac_cpp_err=$ac_c_preproc_warn_flag
6971 else 6974 else
6972 ac_cpp_err= 6975 ac_cpp_err=
6981 cat conftest.$ac_ext >&5 6984 cat conftest.$ac_ext >&5
6982 ac_cv_header_X11_xpm_h=no 6985 ac_cv_header_X11_xpm_h=no
6983 fi 6986 fi
6984 rm -f conftest.err conftest.$ac_ext 6987 rm -f conftest.err conftest.$ac_ext
6985 fi 6988 fi
6986 echo "$as_me:6986: result: $ac_cv_header_X11_xpm_h" >&5 6989 echo "$as_me:6989: result: $ac_cv_header_X11_xpm_h" >&5
6987 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6 6990 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6
6988 if test $ac_cv_header_X11_xpm_h = yes; then 6991 if test $ac_cv_header_X11_xpm_h = yes; then
6989 echo "$as_me:6989: checking for XpmReadFileToPixmap in -lXpm" >&5 6992 echo "$as_me:6992: checking for XpmReadFileToPixmap in -lXpm" >&5
6990 echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6 6993 echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6
6991 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then 6994 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then
6992 echo $ECHO_N "(cached) $ECHO_C" >&6 6995 echo $ECHO_N "(cached) $ECHO_C" >&6
6993 else 6996 else
6994 ac_check_lib_save_LIBS=$LIBS 6997 ac_check_lib_save_LIBS=$LIBS
6995 LIBS="-lXpm -lX11 $LIBS" 6998 LIBS="-lXpm -lX11 $LIBS"
6996 cat >conftest.$ac_ext <<_ACEOF 6999 cat >conftest.$ac_ext <<_ACEOF
6997 #line 6997 "configure" 7000 #line 7000 "configure"
6998 #include "confdefs.h" 7001 #include "confdefs.h"
6999 7002
7000 /* Override any gcc2 internal prototype to avoid an error. */ 7003 /* Override any gcc2 internal prototype to avoid an error. */
7001 #ifdef __cplusplus 7004 #ifdef __cplusplus
7002 extern "C" 7005 extern "C"
7011 ; 7014 ;
7012 return 0; 7015 return 0;
7013 } 7016 }
7014 _ACEOF 7017 _ACEOF
7015 rm -f conftest.$ac_objext conftest$ac_exeext 7018 rm -f conftest.$ac_objext conftest$ac_exeext
7016 if { (eval echo "$as_me:7016: \"$ac_link\"") >&5 7019 if { (eval echo "$as_me:7019: \"$ac_link\"") >&5
7017 (eval $ac_link) 2>&5 7020 (eval $ac_link) 2>&5
7018 ac_status=$? 7021 ac_status=$?
7019 echo "$as_me:7019: \$? = $ac_status" >&5 7022 echo "$as_me:7022: \$? = $ac_status" >&5
7020 (exit $ac_status); } && 7023 (exit $ac_status); } &&
7021 { ac_try='test -s conftest$ac_exeext' 7024 { ac_try='test -s conftest$ac_exeext'
7022 { (eval echo "$as_me:7022: \"$ac_try\"") >&5 7025 { (eval echo "$as_me:7025: \"$ac_try\"") >&5
7023 (eval $ac_try) 2>&5 7026 (eval $ac_try) 2>&5
7024 ac_status=$? 7027 ac_status=$?
7025 echo "$as_me:7025: \$? = $ac_status" >&5 7028 echo "$as_me:7028: \$? = $ac_status" >&5
7026 (exit $ac_status); }; }; then 7029 (exit $ac_status); }; }; then
7027 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes 7030 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes
7028 else 7031 else
7029 echo "$as_me: failed program was:" >&5 7032 echo "$as_me: failed program was:" >&5
7030 cat conftest.$ac_ext >&5 7033 cat conftest.$ac_ext >&5
7031 ac_cv_lib_Xpm_XpmReadFileToPixmap=no 7034 ac_cv_lib_Xpm_XpmReadFileToPixmap=no
7032 fi 7035 fi
7033 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7036 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7034 LIBS=$ac_check_lib_save_LIBS 7037 LIBS=$ac_check_lib_save_LIBS
7035 fi 7038 fi
7036 echo "$as_me:7036: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5 7039 echo "$as_me:7039: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
7037 echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6 7040 echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6
7038 if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then 7041 if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then
7039 HAVE_XPM=yes 7042 HAVE_XPM=yes
7040 fi 7043 fi
7041 7044
7042 fi 7045 fi
7043 7046
7044 if test "${HAVE_XPM}" = "yes"; then 7047 if test "${HAVE_XPM}" = "yes"; then
7045 echo "$as_me:7045: checking for XpmReturnAllocPixels preprocessor define" >&5 7048 echo "$as_me:7048: checking for XpmReturnAllocPixels preprocessor define" >&5
7046 echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6 7049 echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6
7047 cat >conftest.$ac_ext <<_ACEOF 7050 cat >conftest.$ac_ext <<_ACEOF
7048 #line 7048 "configure" 7051 #line 7051 "configure"
7049 #include "confdefs.h" 7052 #include "confdefs.h"
7050 #include "X11/xpm.h" 7053 #include "X11/xpm.h"
7051 #ifndef XpmReturnAllocPixels 7054 #ifndef XpmReturnAllocPixels
7052 no_return_alloc_pixels 7055 no_return_alloc_pixels
7053 #endif 7056 #endif
7060 HAVE_XPM=yes 7063 HAVE_XPM=yes
7061 fi 7064 fi
7062 rm -f conftest* 7065 rm -f conftest*
7063 7066
7064 if test "${HAVE_XPM}" = "yes"; then 7067 if test "${HAVE_XPM}" = "yes"; then
7065 echo "$as_me:7065: result: yes" >&5 7068 echo "$as_me:7068: result: yes" >&5
7066 echo "${ECHO_T}yes" >&6 7069 echo "${ECHO_T}yes" >&6
7067 else 7070 else
7068 echo "$as_me:7068: result: no" >&5 7071 echo "$as_me:7071: result: no" >&5
7069 echo "${ECHO_T}no" >&6 7072 echo "${ECHO_T}no" >&6
7070 fi 7073 fi
7071 fi 7074 fi
7072 fi 7075 fi
7073 7076
7081 7084
7082 ### Use -ljpeg if available, unless `--with-jpeg=no'. 7085 ### Use -ljpeg if available, unless `--with-jpeg=no'.
7083 HAVE_JPEG=no 7086 HAVE_JPEG=no
7084 if test "${HAVE_X11}" = "yes"; then 7087 if test "${HAVE_X11}" = "yes"; then
7085 if test "${with_jpeg}" != "no"; then 7088 if test "${with_jpeg}" != "no"; then
7086 echo "$as_me:7086: checking for jerror.h" >&5 7089 echo "$as_me:7089: checking for jerror.h" >&5
7087 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6 7090 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6
7088 if test "${ac_cv_header_jerror_h+set}" = set; then 7091 if test "${ac_cv_header_jerror_h+set}" = set; then
7089 echo $ECHO_N "(cached) $ECHO_C" >&6 7092 echo $ECHO_N "(cached) $ECHO_C" >&6
7090 else 7093 else
7091 cat >conftest.$ac_ext <<_ACEOF 7094 cat >conftest.$ac_ext <<_ACEOF
7092 #line 7092 "configure" 7095 #line 7095 "configure"
7093 #include "confdefs.h" 7096 #include "confdefs.h"
7094 #include <jerror.h> 7097 #include <jerror.h>
7095 _ACEOF 7098 _ACEOF
7096 if { (eval echo "$as_me:7096: \"$ac_cpp conftest.$ac_ext\"") >&5 7099 if { (eval echo "$as_me:7099: \"$ac_cpp conftest.$ac_ext\"") >&5
7097 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7100 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7098 ac_status=$? 7101 ac_status=$?
7099 egrep -v '^ *\+' conftest.er1 >conftest.err 7102 egrep -v '^ *\+' conftest.er1 >conftest.err
7100 rm -f conftest.er1 7103 rm -f conftest.er1
7101 cat conftest.err >&5 7104 cat conftest.err >&5
7102 echo "$as_me:7102: \$? = $ac_status" >&5 7105 echo "$as_me:7105: \$? = $ac_status" >&5
7103 (exit $ac_status); } >/dev/null; then 7106 (exit $ac_status); } >/dev/null; then
7104 if test -s conftest.err; then 7107 if test -s conftest.err; then
7105 ac_cpp_err=$ac_c_preproc_warn_flag 7108 ac_cpp_err=$ac_c_preproc_warn_flag
7106 else 7109 else
7107 ac_cpp_err= 7110 ac_cpp_err=
7116 cat conftest.$ac_ext >&5 7119 cat conftest.$ac_ext >&5
7117 ac_cv_header_jerror_h=no 7120 ac_cv_header_jerror_h=no
7118 fi 7121 fi
7119 rm -f conftest.err conftest.$ac_ext 7122 rm -f conftest.err conftest.$ac_ext
7120 fi 7123 fi
7121 echo "$as_me:7121: result: $ac_cv_header_jerror_h" >&5 7124 echo "$as_me:7124: result: $ac_cv_header_jerror_h" >&5
7122 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6 7125 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6
7123 if test $ac_cv_header_jerror_h = yes; then 7126 if test $ac_cv_header_jerror_h = yes; then
7124 echo "$as_me:7124: checking for jpeg_destroy_compress in -ljpeg" >&5 7127 echo "$as_me:7127: checking for jpeg_destroy_compress in -ljpeg" >&5
7125 echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6 7128 echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6
7126 if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then 7129 if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then
7127 echo $ECHO_N "(cached) $ECHO_C" >&6 7130 echo $ECHO_N "(cached) $ECHO_C" >&6
7128 else 7131 else
7129 ac_check_lib_save_LIBS=$LIBS 7132 ac_check_lib_save_LIBS=$LIBS
7130 LIBS="-ljpeg $LIBS" 7133 LIBS="-ljpeg $LIBS"
7131 cat >conftest.$ac_ext <<_ACEOF 7134 cat >conftest.$ac_ext <<_ACEOF
7132 #line 7132 "configure" 7135 #line 7135 "configure"
7133 #include "confdefs.h" 7136 #include "confdefs.h"
7134 7137
7135 /* Override any gcc2 internal prototype to avoid an error. */ 7138 /* Override any gcc2 internal prototype to avoid an error. */
7136 #ifdef __cplusplus 7139 #ifdef __cplusplus
7137 extern "C" 7140 extern "C"
7146 ; 7149 ;
7147 return 0; 7150 return 0;
7148 } 7151 }
7149 _ACEOF 7152 _ACEOF
7150 rm -f conftest.$ac_objext conftest$ac_exeext 7153 rm -f conftest.$ac_objext conftest$ac_exeext
7151 if { (eval echo "$as_me:7151: \"$ac_link\"") >&5 7154 if { (eval echo "$as_me:7154: \"$ac_link\"") >&5
7152 (eval $ac_link) 2>&5 7155 (eval $ac_link) 2>&5
7153 ac_status=$? 7156 ac_status=$?
7154 echo "$as_me:7154: \$? = $ac_status" >&5 7157 echo "$as_me:7157: \$? = $ac_status" >&5
7155 (exit $ac_status); } && 7158 (exit $ac_status); } &&
7156 { ac_try='test -s conftest$ac_exeext' 7159 { ac_try='test -s conftest$ac_exeext'
7157 { (eval echo "$as_me:7157: \"$ac_try\"") >&5 7160 { (eval echo "$as_me:7160: \"$ac_try\"") >&5
7158 (eval $ac_try) 2>&5 7161 (eval $ac_try) 2>&5
7159 ac_status=$? 7162 ac_status=$?
7160 echo "$as_me:7160: \$? = $ac_status" >&5 7163 echo "$as_me:7163: \$? = $ac_status" >&5
7161 (exit $ac_status); }; }; then 7164 (exit $ac_status); }; }; then
7162 ac_cv_lib_jpeg_jpeg_destroy_compress=yes 7165 ac_cv_lib_jpeg_jpeg_destroy_compress=yes
7163 else 7166 else
7164 echo "$as_me: failed program was:" >&5 7167 echo "$as_me: failed program was:" >&5
7165 cat conftest.$ac_ext >&5 7168 cat conftest.$ac_ext >&5
7166 ac_cv_lib_jpeg_jpeg_destroy_compress=no 7169 ac_cv_lib_jpeg_jpeg_destroy_compress=no
7167 fi 7170 fi
7168 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7171 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7169 LIBS=$ac_check_lib_save_LIBS 7172 LIBS=$ac_check_lib_save_LIBS
7170 fi 7173 fi
7171 echo "$as_me:7171: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5 7174 echo "$as_me:7174: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5
7172 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6 7175 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6
7173 if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then 7176 if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then
7174 HAVE_JPEG=yes 7177 HAVE_JPEG=yes
7175 fi 7178 fi
7176 7179
7188 7191
7189 ### Use -lpng if available, unless `--with-png=no'. 7192 ### Use -lpng if available, unless `--with-png=no'.
7190 HAVE_PNG=no 7193 HAVE_PNG=no
7191 if test "${HAVE_X11}" = "yes"; then 7194 if test "${HAVE_X11}" = "yes"; then
7192 if test "${with_png}" != "no"; then 7195 if test "${with_png}" != "no"; then
7193 echo "$as_me:7193: checking for png.h" >&5 7196 echo "$as_me:7196: checking for png.h" >&5
7194 echo $ECHO_N "checking for png.h... $ECHO_C" >&6 7197 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
7195 if test "${ac_cv_header_png_h+set}" = set; then 7198 if test "${ac_cv_header_png_h+set}" = set; then
7196 echo $ECHO_N "(cached) $ECHO_C" >&6 7199 echo $ECHO_N "(cached) $ECHO_C" >&6
7197 else 7200 else
7198 cat >conftest.$ac_ext <<_ACEOF 7201 cat >conftest.$ac_ext <<_ACEOF
7199 #line 7199 "configure" 7202 #line 7202 "configure"
7200 #include "confdefs.h" 7203 #include "confdefs.h"
7201 #include <png.h> 7204 #include <png.h>
7202 _ACEOF 7205 _ACEOF
7203 if { (eval echo "$as_me:7203: \"$ac_cpp conftest.$ac_ext\"") >&5 7206 if { (eval echo "$as_me:7206: \"$ac_cpp conftest.$ac_ext\"") >&5
7204 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7207 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7205 ac_status=$? 7208 ac_status=$?
7206 egrep -v '^ *\+' conftest.er1 >conftest.err 7209 egrep -v '^ *\+' conftest.er1 >conftest.err
7207 rm -f conftest.er1 7210 rm -f conftest.er1
7208 cat conftest.err >&5 7211 cat conftest.err >&5
7209 echo "$as_me:7209: \$? = $ac_status" >&5 7212 echo "$as_me:7212: \$? = $ac_status" >&5
7210 (exit $ac_status); } >/dev/null; then 7213 (exit $ac_status); } >/dev/null; then
7211 if test -s conftest.err; then 7214 if test -s conftest.err; then
7212 ac_cpp_err=$ac_c_preproc_warn_flag 7215 ac_cpp_err=$ac_c_preproc_warn_flag
7213 else 7216 else
7214 ac_cpp_err= 7217 ac_cpp_err=
7223 cat conftest.$ac_ext >&5 7226 cat conftest.$ac_ext >&5
7224 ac_cv_header_png_h=no 7227 ac_cv_header_png_h=no
7225 fi 7228 fi
7226 rm -f conftest.err conftest.$ac_ext 7229 rm -f conftest.err conftest.$ac_ext
7227 fi 7230 fi
7228 echo "$as_me:7228: result: $ac_cv_header_png_h" >&5 7231 echo "$as_me:7231: result: $ac_cv_header_png_h" >&5
7229 echo "${ECHO_T}$ac_cv_header_png_h" >&6 7232 echo "${ECHO_T}$ac_cv_header_png_h" >&6
7230 if test $ac_cv_header_png_h = yes; then 7233 if test $ac_cv_header_png_h = yes; then
7231 echo "$as_me:7231: checking for png_get_channels in -lpng" >&5 7234 echo "$as_me:7234: checking for png_get_channels in -lpng" >&5
7232 echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6 7235 echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6
7233 if test "${ac_cv_lib_png_png_get_channels+set}" = set; then 7236 if test "${ac_cv_lib_png_png_get_channels+set}" = set; then
7234 echo $ECHO_N "(cached) $ECHO_C" >&6 7237 echo $ECHO_N "(cached) $ECHO_C" >&6
7235 else 7238 else
7236 ac_check_lib_save_LIBS=$LIBS 7239 ac_check_lib_save_LIBS=$LIBS
7237 LIBS="-lpng -lz -lm $LIBS" 7240 LIBS="-lpng -lz -lm $LIBS"
7238 cat >conftest.$ac_ext <<_ACEOF 7241 cat >conftest.$ac_ext <<_ACEOF
7239 #line 7239 "configure" 7242 #line 7242 "configure"
7240 #include "confdefs.h" 7243 #include "confdefs.h"
7241 7244
7242 /* Override any gcc2 internal prototype to avoid an error. */ 7245 /* Override any gcc2 internal prototype to avoid an error. */
7243 #ifdef __cplusplus 7246 #ifdef __cplusplus
7244 extern "C" 7247 extern "C"
7253 ; 7256 ;
7254 return 0; 7257 return 0;
7255 } 7258 }
7256 _ACEOF 7259 _ACEOF
7257 rm -f conftest.$ac_objext conftest$ac_exeext 7260 rm -f conftest.$ac_objext conftest$ac_exeext
7258 if { (eval echo "$as_me:7258: \"$ac_link\"") >&5 7261 if { (eval echo "$as_me:7261: \"$ac_link\"") >&5
7259 (eval $ac_link) 2>&5 7262 (eval $ac_link) 2>&5
7260 ac_status=$? 7263 ac_status=$?
7261 echo "$as_me:7261: \$? = $ac_status" >&5 7264 echo "$as_me:7264: \$? = $ac_status" >&5
7262 (exit $ac_status); } && 7265 (exit $ac_status); } &&
7263 { ac_try='test -s conftest$ac_exeext' 7266 { ac_try='test -s conftest$ac_exeext'
7264 { (eval echo "$as_me:7264: \"$ac_try\"") >&5 7267 { (eval echo "$as_me:7267: \"$ac_try\"") >&5
7265 (eval $ac_try) 2>&5 7268 (eval $ac_try) 2>&5
7266 ac_status=$? 7269 ac_status=$?
7267 echo "$as_me:7267: \$? = $ac_status" >&5 7270 echo "$as_me:7270: \$? = $ac_status" >&5
7268 (exit $ac_status); }; }; then 7271 (exit $ac_status); }; }; then
7269 ac_cv_lib_png_png_get_channels=yes 7272 ac_cv_lib_png_png_get_channels=yes
7270 else 7273 else
7271 echo "$as_me: failed program was:" >&5 7274 echo "$as_me: failed program was:" >&5
7272 cat conftest.$ac_ext >&5 7275 cat conftest.$ac_ext >&5
7273 ac_cv_lib_png_png_get_channels=no 7276 ac_cv_lib_png_png_get_channels=no
7274 fi 7277 fi
7275 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7278 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7276 LIBS=$ac_check_lib_save_LIBS 7279 LIBS=$ac_check_lib_save_LIBS
7277 fi 7280 fi
7278 echo "$as_me:7278: result: $ac_cv_lib_png_png_get_channels" >&5 7281 echo "$as_me:7281: result: $ac_cv_lib_png_png_get_channels" >&5
7279 echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6 7282 echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6
7280 if test $ac_cv_lib_png_png_get_channels = yes; then 7283 if test $ac_cv_lib_png_png_get_channels = yes; then
7281 HAVE_PNG=yes 7284 HAVE_PNG=yes
7282 fi 7285 fi
7283 7286
7295 7298
7296 ### Use -ltiff if available, unless `--with-tiff=no'. 7299 ### Use -ltiff if available, unless `--with-tiff=no'.
7297 HAVE_TIFF=no 7300 HAVE_TIFF=no
7298 if test "${HAVE_X11}" = "yes"; then 7301 if test "${HAVE_X11}" = "yes"; then
7299 if test "${with_tiff}" != "no"; then 7302 if test "${with_tiff}" != "no"; then
7300 echo "$as_me:7300: checking for tiffio.h" >&5 7303 echo "$as_me:7303: checking for tiffio.h" >&5
7301 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6 7304 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
7302 if test "${ac_cv_header_tiffio_h+set}" = set; then 7305 if test "${ac_cv_header_tiffio_h+set}" = set; then
7303 echo $ECHO_N "(cached) $ECHO_C" >&6 7306 echo $ECHO_N "(cached) $ECHO_C" >&6
7304 else 7307 else
7305 cat >conftest.$ac_ext <<_ACEOF 7308 cat >conftest.$ac_ext <<_ACEOF
7306 #line 7306 "configure" 7309 #line 7309 "configure"
7307 #include "confdefs.h" 7310 #include "confdefs.h"
7308 #include <tiffio.h> 7311 #include <tiffio.h>
7309 _ACEOF 7312 _ACEOF
7310 if { (eval echo "$as_me:7310: \"$ac_cpp conftest.$ac_ext\"") >&5 7313 if { (eval echo "$as_me:7313: \"$ac_cpp conftest.$ac_ext\"") >&5
7311 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7314 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7312 ac_status=$? 7315 ac_status=$?
7313 egrep -v '^ *\+' conftest.er1 >conftest.err 7316 egrep -v '^ *\+' conftest.er1 >conftest.err
7314 rm -f conftest.er1 7317 rm -f conftest.er1
7315 cat conftest.err >&5 7318 cat conftest.err >&5
7316 echo "$as_me:7316: \$? = $ac_status" >&5 7319 echo "$as_me:7319: \$? = $ac_status" >&5
7317 (exit $ac_status); } >/dev/null; then 7320 (exit $ac_status); } >/dev/null; then
7318 if test -s conftest.err; then 7321 if test -s conftest.err; then
7319 ac_cpp_err=$ac_c_preproc_warn_flag 7322 ac_cpp_err=$ac_c_preproc_warn_flag
7320 else 7323 else
7321 ac_cpp_err= 7324 ac_cpp_err=
7330 cat conftest.$ac_ext >&5 7333 cat conftest.$ac_ext >&5
7331 ac_cv_header_tiffio_h=no 7334 ac_cv_header_tiffio_h=no
7332 fi 7335 fi
7333 rm -f conftest.err conftest.$ac_ext 7336 rm -f conftest.err conftest.$ac_ext
7334 fi 7337 fi
7335 echo "$as_me:7335: result: $ac_cv_header_tiffio_h" >&5 7338 echo "$as_me:7338: result: $ac_cv_header_tiffio_h" >&5
7336 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6 7339 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
7337 if test $ac_cv_header_tiffio_h = yes; then 7340 if test $ac_cv_header_tiffio_h = yes; then
7338 tifflibs="-lz -lm" 7341 tifflibs="-lz -lm"
7339 # At least one tiff package requires the jpeg library. 7342 # At least one tiff package requires the jpeg library.
7340 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi 7343 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
7341 echo "$as_me:7341: checking for TIFFGetVersion in -ltiff" >&5 7344 echo "$as_me:7344: checking for TIFFGetVersion in -ltiff" >&5
7342 echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6 7345 echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6
7343 if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then 7346 if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then
7344 echo $ECHO_N "(cached) $ECHO_C" >&6 7347 echo $ECHO_N "(cached) $ECHO_C" >&6
7345 else 7348 else
7346 ac_check_lib_save_LIBS=$LIBS 7349 ac_check_lib_save_LIBS=$LIBS
7347 LIBS="-ltiff $tifflibs $LIBS" 7350 LIBS="-ltiff $tifflibs $LIBS"
7348 cat >conftest.$ac_ext <<_ACEOF 7351 cat >conftest.$ac_ext <<_ACEOF
7349 #line 7349 "configure" 7352 #line 7352 "configure"
7350 #include "confdefs.h" 7353 #include "confdefs.h"
7351 7354
7352 /* Override any gcc2 internal prototype to avoid an error. */ 7355 /* Override any gcc2 internal prototype to avoid an error. */
7353 #ifdef __cplusplus 7356 #ifdef __cplusplus
7354 extern "C" 7357 extern "C"
7363 ; 7366 ;
7364 return 0; 7367 return 0;
7365 } 7368 }
7366 _ACEOF 7369 _ACEOF
7367 rm -f conftest.$ac_objext conftest$ac_exeext 7370 rm -f conftest.$ac_objext conftest$ac_exeext
7368 if { (eval echo "$as_me:7368: \"$ac_link\"") >&5 7371 if { (eval echo "$as_me:7371: \"$ac_link\"") >&5
7369 (eval $ac_link) 2>&5 7372 (eval $ac_link) 2>&5
7370 ac_status=$? 7373 ac_status=$?
7371 echo "$as_me:7371: \$? = $ac_status" >&5 7374 echo "$as_me:7374: \$? = $ac_status" >&5
7372 (exit $ac_status); } && 7375 (exit $ac_status); } &&
7373 { ac_try='test -s conftest$ac_exeext' 7376 { ac_try='test -s conftest$ac_exeext'
7374 { (eval echo "$as_me:7374: \"$ac_try\"") >&5 7377 { (eval echo "$as_me:7377: \"$ac_try\"") >&5
7375 (eval $ac_try) 2>&5 7378 (eval $ac_try) 2>&5
7376 ac_status=$? 7379 ac_status=$?
7377 echo "$as_me:7377: \$? = $ac_status" >&5 7380 echo "$as_me:7380: \$? = $ac_status" >&5
7378 (exit $ac_status); }; }; then 7381 (exit $ac_status); }; }; then
7379 ac_cv_lib_tiff_TIFFGetVersion=yes 7382 ac_cv_lib_tiff_TIFFGetVersion=yes
7380 else 7383 else
7381 echo "$as_me: failed program was:" >&5 7384 echo "$as_me: failed program was:" >&5
7382 cat conftest.$ac_ext >&5 7385 cat conftest.$ac_ext >&5
7383 ac_cv_lib_tiff_TIFFGetVersion=no 7386 ac_cv_lib_tiff_TIFFGetVersion=no
7384 fi 7387 fi
7385 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7388 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7386 LIBS=$ac_check_lib_save_LIBS 7389 LIBS=$ac_check_lib_save_LIBS
7387 fi 7390 fi
7388 echo "$as_me:7388: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5 7391 echo "$as_me:7391: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5
7389 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6 7392 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6
7390 if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then 7393 if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then
7391 HAVE_TIFF=yes 7394 HAVE_TIFF=yes
7392 fi 7395 fi
7393 7396
7405 7408
7406 ### Use -lgif if available, unless `--with-gif=no'. 7409 ### Use -lgif if available, unless `--with-gif=no'.
7407 HAVE_GIF=no 7410 HAVE_GIF=no
7408 if test "${HAVE_X11}" = "yes"; then 7411 if test "${HAVE_X11}" = "yes"; then
7409 if test "${with_gif}" != "no"; then 7412 if test "${with_gif}" != "no"; then
7410 echo "$as_me:7410: checking for gif_lib.h" >&5 7413 echo "$as_me:7413: checking for gif_lib.h" >&5
7411 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6 7414 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6
7412 if test "${ac_cv_header_gif_lib_h+set}" = set; then 7415 if test "${ac_cv_header_gif_lib_h+set}" = set; then
7413 echo $ECHO_N "(cached) $ECHO_C" >&6 7416 echo $ECHO_N "(cached) $ECHO_C" >&6
7414 else 7417 else
7415 cat >conftest.$ac_ext <<_ACEOF 7418 cat >conftest.$ac_ext <<_ACEOF
7416 #line 7416 "configure" 7419 #line 7419 "configure"
7417 #include "confdefs.h" 7420 #include "confdefs.h"
7418 #include <gif_lib.h> 7421 #include <gif_lib.h>
7419 _ACEOF 7422 _ACEOF
7420 if { (eval echo "$as_me:7420: \"$ac_cpp conftest.$ac_ext\"") >&5 7423 if { (eval echo "$as_me:7423: \"$ac_cpp conftest.$ac_ext\"") >&5
7421 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7424 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7422 ac_status=$? 7425 ac_status=$?
7423 egrep -v '^ *\+' conftest.er1 >conftest.err 7426 egrep -v '^ *\+' conftest.er1 >conftest.err
7424 rm -f conftest.er1 7427 rm -f conftest.er1
7425 cat conftest.err >&5 7428 cat conftest.err >&5
7426 echo "$as_me:7426: \$? = $ac_status" >&5 7429 echo "$as_me:7429: \$? = $ac_status" >&5
7427 (exit $ac_status); } >/dev/null; then 7430 (exit $ac_status); } >/dev/null; then
7428 if test -s conftest.err; then 7431 if test -s conftest.err; then
7429 ac_cpp_err=$ac_c_preproc_warn_flag 7432 ac_cpp_err=$ac_c_preproc_warn_flag
7430 else 7433 else
7431 ac_cpp_err= 7434 ac_cpp_err=
7440 cat conftest.$ac_ext >&5 7443 cat conftest.$ac_ext >&5
7441 ac_cv_header_gif_lib_h=no 7444 ac_cv_header_gif_lib_h=no
7442 fi 7445 fi
7443 rm -f conftest.err conftest.$ac_ext 7446 rm -f conftest.err conftest.$ac_ext
7444 fi 7447 fi
7445 echo "$as_me:7445: result: $ac_cv_header_gif_lib_h" >&5 7448 echo "$as_me:7448: result: $ac_cv_header_gif_lib_h" >&5
7446 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6 7449 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6
7447 if test $ac_cv_header_gif_lib_h = yes; then 7450 if test $ac_cv_header_gif_lib_h = yes; then
7448 echo "$as_me:7448: checking for DGifOpen in -lungif" >&5 7451 echo "$as_me:7451: checking for DGifOpen in -lungif" >&5
7449 echo $ECHO_N "checking for DGifOpen in -lungif... $ECHO_C" >&6 7452 echo $ECHO_N "checking for DGifOpen in -lungif... $ECHO_C" >&6
7450 if test "${ac_cv_lib_ungif_DGifOpen+set}" = set; then 7453 if test "${ac_cv_lib_ungif_DGifOpen+set}" = set; then
7451 echo $ECHO_N "(cached) $ECHO_C" >&6 7454 echo $ECHO_N "(cached) $ECHO_C" >&6
7452 else 7455 else
7453 ac_check_lib_save_LIBS=$LIBS 7456 ac_check_lib_save_LIBS=$LIBS
7454 LIBS="-lungif $LIBS" 7457 LIBS="-lungif $LIBS"
7455 cat >conftest.$ac_ext <<_ACEOF 7458 cat >conftest.$ac_ext <<_ACEOF
7456 #line 7456 "configure" 7459 #line 7459 "configure"
7457 #include "confdefs.h" 7460 #include "confdefs.h"
7458 7461
7459 /* Override any gcc2 internal prototype to avoid an error. */ 7462 /* Override any gcc2 internal prototype to avoid an error. */
7460 #ifdef __cplusplus 7463 #ifdef __cplusplus
7461 extern "C" 7464 extern "C"
7470 ; 7473 ;
7471 return 0; 7474 return 0;
7472 } 7475 }
7473 _ACEOF 7476 _ACEOF
7474 rm -f conftest.$ac_objext conftest$ac_exeext 7477 rm -f conftest.$ac_objext conftest$ac_exeext
7475 if { (eval echo "$as_me:7475: \"$ac_link\"") >&5 7478 if { (eval echo "$as_me:7478: \"$ac_link\"") >&5
7476 (eval $ac_link) 2>&5 7479 (eval $ac_link) 2>&5
7477 ac_status=$? 7480 ac_status=$?
7478 echo "$as_me:7478: \$? = $ac_status" >&5 7481 echo "$as_me:7481: \$? = $ac_status" >&5
7479 (exit $ac_status); } && 7482 (exit $ac_status); } &&
7480 { ac_try='test -s conftest$ac_exeext' 7483 { ac_try='test -s conftest$ac_exeext'
7481 { (eval echo "$as_me:7481: \"$ac_try\"") >&5 7484 { (eval echo "$as_me:7484: \"$ac_try\"") >&5
7482 (eval $ac_try) 2>&5 7485 (eval $ac_try) 2>&5
7483 ac_status=$? 7486 ac_status=$?
7484 echo "$as_me:7484: \$? = $ac_status" >&5 7487 echo "$as_me:7487: \$? = $ac_status" >&5
7485 (exit $ac_status); }; }; then 7488 (exit $ac_status); }; }; then
7486 ac_cv_lib_ungif_DGifOpen=yes 7489 ac_cv_lib_ungif_DGifOpen=yes
7487 else 7490 else
7488 echo "$as_me: failed program was:" >&5 7491 echo "$as_me: failed program was:" >&5
7489 cat conftest.$ac_ext >&5 7492 cat conftest.$ac_ext >&5
7490 ac_cv_lib_ungif_DGifOpen=no 7493 ac_cv_lib_ungif_DGifOpen=no
7491 fi 7494 fi
7492 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7495 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7493 LIBS=$ac_check_lib_save_LIBS 7496 LIBS=$ac_check_lib_save_LIBS
7494 fi 7497 fi
7495 echo "$as_me:7495: result: $ac_cv_lib_ungif_DGifOpen" >&5 7498 echo "$as_me:7498: result: $ac_cv_lib_ungif_DGifOpen" >&5
7496 echo "${ECHO_T}$ac_cv_lib_ungif_DGifOpen" >&6 7499 echo "${ECHO_T}$ac_cv_lib_ungif_DGifOpen" >&6
7497 if test $ac_cv_lib_ungif_DGifOpen = yes; then 7500 if test $ac_cv_lib_ungif_DGifOpen = yes; then
7498 HAVE_GIF=yes 7501 HAVE_GIF=yes
7499 fi 7502 fi
7500 7503
7509 7512
7510 fi 7513 fi
7511 fi 7514 fi
7512 7515
7513 # If netdb.h doesn't declare h_errno, we must declare it by hand. 7516 # If netdb.h doesn't declare h_errno, we must declare it by hand.
7514 echo "$as_me:7514: checking whether netdb declares h_errno" >&5 7517 echo "$as_me:7517: checking whether netdb declares h_errno" >&5
7515 echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6 7518 echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6
7516 if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then 7519 if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then
7517 echo $ECHO_N "(cached) $ECHO_C" >&6 7520 echo $ECHO_N "(cached) $ECHO_C" >&6
7518 else 7521 else
7519 cat >conftest.$ac_ext <<_ACEOF 7522 cat >conftest.$ac_ext <<_ACEOF
7520 #line 7520 "configure" 7523 #line 7523 "configure"
7521 #include "confdefs.h" 7524 #include "confdefs.h"
7522 #include <netdb.h> 7525 #include <netdb.h>
7523 int 7526 int
7524 main () 7527 main ()
7525 { 7528 {
7527 ; 7530 ;
7528 return 0; 7531 return 0;
7529 } 7532 }
7530 _ACEOF 7533 _ACEOF
7531 rm -f conftest.$ac_objext conftest$ac_exeext 7534 rm -f conftest.$ac_objext conftest$ac_exeext
7532 if { (eval echo "$as_me:7532: \"$ac_link\"") >&5 7535 if { (eval echo "$as_me:7535: \"$ac_link\"") >&5
7533 (eval $ac_link) 2>&5 7536 (eval $ac_link) 2>&5
7534 ac_status=$? 7537 ac_status=$?
7535 echo "$as_me:7535: \$? = $ac_status" >&5 7538 echo "$as_me:7538: \$? = $ac_status" >&5
7536 (exit $ac_status); } && 7539 (exit $ac_status); } &&
7537 { ac_try='test -s conftest$ac_exeext' 7540 { ac_try='test -s conftest$ac_exeext'
7538 { (eval echo "$as_me:7538: \"$ac_try\"") >&5 7541 { (eval echo "$as_me:7541: \"$ac_try\"") >&5
7539 (eval $ac_try) 2>&5 7542 (eval $ac_try) 2>&5
7540 ac_status=$? 7543 ac_status=$?
7541 echo "$as_me:7541: \$? = $ac_status" >&5 7544 echo "$as_me:7544: \$? = $ac_status" >&5
7542 (exit $ac_status); }; }; then 7545 (exit $ac_status); }; }; then
7543 emacs_cv_netdb_declares_h_errno=yes 7546 emacs_cv_netdb_declares_h_errno=yes
7544 else 7547 else
7545 echo "$as_me: failed program was:" >&5 7548 echo "$as_me: failed program was:" >&5
7546 cat conftest.$ac_ext >&5 7549 cat conftest.$ac_ext >&5
7547 emacs_cv_netdb_declares_h_errno=no 7550 emacs_cv_netdb_declares_h_errno=no
7548 fi 7551 fi
7549 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7552 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7550 fi 7553 fi
7551 echo "$as_me:7551: result: $emacs_cv_netdb_declares_h_errno" >&5 7554 echo "$as_me:7554: result: $emacs_cv_netdb_declares_h_errno" >&5
7552 echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6 7555 echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6
7553 if test $emacs_cv_netdb_declares_h_errno = yes; then 7556 if test $emacs_cv_netdb_declares_h_errno = yes; then
7554 cat >>confdefs.h <<\EOF 7557 cat >>confdefs.h <<\EOF
7555 #define HAVE_H_ERRNO 1 7558 #define HAVE_H_ERRNO 1
7556 EOF 7559 EOF
7557 7560
7558 fi 7561 fi
7559 7562
7560 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 7563 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
7561 # for constant arguments. Useless! 7564 # for constant arguments. Useless!
7562 echo "$as_me:7562: checking for working alloca.h" >&5 7565 echo "$as_me:7565: checking for working alloca.h" >&5
7563 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 7566 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
7564 if test "${ac_cv_working_alloca_h+set}" = set; then 7567 if test "${ac_cv_working_alloca_h+set}" = set; then
7565 echo $ECHO_N "(cached) $ECHO_C" >&6 7568 echo $ECHO_N "(cached) $ECHO_C" >&6
7566 else 7569 else
7567 cat >conftest.$ac_ext <<_ACEOF 7570 cat >conftest.$ac_ext <<_ACEOF
7568 #line 7568 "configure" 7571 #line 7571 "configure"
7569 #include "confdefs.h" 7572 #include "confdefs.h"
7570 #include <alloca.h> 7573 #include <alloca.h>
7571 int 7574 int
7572 main () 7575 main ()
7573 { 7576 {
7575 ; 7578 ;
7576 return 0; 7579 return 0;
7577 } 7580 }
7578 _ACEOF 7581 _ACEOF
7579 rm -f conftest.$ac_objext conftest$ac_exeext 7582 rm -f conftest.$ac_objext conftest$ac_exeext
7580 if { (eval echo "$as_me:7580: \"$ac_link\"") >&5 7583 if { (eval echo "$as_me:7583: \"$ac_link\"") >&5
7581 (eval $ac_link) 2>&5 7584 (eval $ac_link) 2>&5
7582 ac_status=$? 7585 ac_status=$?
7583 echo "$as_me:7583: \$? = $ac_status" >&5 7586 echo "$as_me:7586: \$? = $ac_status" >&5
7584 (exit $ac_status); } && 7587 (exit $ac_status); } &&
7585 { ac_try='test -s conftest$ac_exeext' 7588 { ac_try='test -s conftest$ac_exeext'
7586 { (eval echo "$as_me:7586: \"$ac_try\"") >&5 7589 { (eval echo "$as_me:7589: \"$ac_try\"") >&5
7587 (eval $ac_try) 2>&5 7590 (eval $ac_try) 2>&5
7588 ac_status=$? 7591 ac_status=$?
7589 echo "$as_me:7589: \$? = $ac_status" >&5 7592 echo "$as_me:7592: \$? = $ac_status" >&5
7590 (exit $ac_status); }; }; then 7593 (exit $ac_status); }; }; then
7591 ac_cv_working_alloca_h=yes 7594 ac_cv_working_alloca_h=yes
7592 else 7595 else
7593 echo "$as_me: failed program was:" >&5 7596 echo "$as_me: failed program was:" >&5
7594 cat conftest.$ac_ext >&5 7597 cat conftest.$ac_ext >&5
7595 ac_cv_working_alloca_h=no 7598 ac_cv_working_alloca_h=no
7596 fi 7599 fi
7597 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7600 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7598 fi 7601 fi
7599 echo "$as_me:7599: result: $ac_cv_working_alloca_h" >&5 7602 echo "$as_me:7602: result: $ac_cv_working_alloca_h" >&5
7600 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 7603 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
7601 if test $ac_cv_working_alloca_h = yes; then 7604 if test $ac_cv_working_alloca_h = yes; then
7602 7605
7603 cat >>confdefs.h <<\EOF 7606 cat >>confdefs.h <<\EOF
7604 #define HAVE_ALLOCA_H 1 7607 #define HAVE_ALLOCA_H 1
7605 EOF 7608 EOF
7606 7609
7607 fi 7610 fi
7608 7611
7609 echo "$as_me:7609: checking for alloca" >&5 7612 echo "$as_me:7612: checking for alloca" >&5
7610 echo $ECHO_N "checking for alloca... $ECHO_C" >&6 7613 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
7611 if test "${ac_cv_func_alloca_works+set}" = set; then 7614 if test "${ac_cv_func_alloca_works+set}" = set; then
7612 echo $ECHO_N "(cached) $ECHO_C" >&6 7615 echo $ECHO_N "(cached) $ECHO_C" >&6
7613 else 7616 else
7614 cat >conftest.$ac_ext <<_ACEOF 7617 cat >conftest.$ac_ext <<_ACEOF
7615 #line 7615 "configure" 7618 #line 7618 "configure"
7616 #include "confdefs.h" 7619 #include "confdefs.h"
7617 #ifdef __GNUC__ 7620 #ifdef __GNUC__
7618 # define alloca __builtin_alloca 7621 # define alloca __builtin_alloca
7619 #else 7622 #else
7620 # ifdef _MSC_VER 7623 # ifdef _MSC_VER
7642 ; 7645 ;
7643 return 0; 7646 return 0;
7644 } 7647 }
7645 _ACEOF 7648 _ACEOF
7646 rm -f conftest.$ac_objext conftest$ac_exeext 7649 rm -f conftest.$ac_objext conftest$ac_exeext
7647 if { (eval echo "$as_me:7647: \"$ac_link\"") >&5 7650 if { (eval echo "$as_me:7650: \"$ac_link\"") >&5
7648 (eval $ac_link) 2>&5 7651 (eval $ac_link) 2>&5
7649 ac_status=$? 7652 ac_status=$?
7650 echo "$as_me:7650: \$? = $ac_status" >&5 7653 echo "$as_me:7653: \$? = $ac_status" >&5
7651 (exit $ac_status); } && 7654 (exit $ac_status); } &&
7652 { ac_try='test -s conftest$ac_exeext' 7655 { ac_try='test -s conftest$ac_exeext'
7653 { (eval echo "$as_me:7653: \"$ac_try\"") >&5 7656 { (eval echo "$as_me:7656: \"$ac_try\"") >&5
7654 (eval $ac_try) 2>&5 7657 (eval $ac_try) 2>&5
7655 ac_status=$? 7658 ac_status=$?
7656 echo "$as_me:7656: \$? = $ac_status" >&5 7659 echo "$as_me:7659: \$? = $ac_status" >&5
7657 (exit $ac_status); }; }; then 7660 (exit $ac_status); }; }; then
7658 ac_cv_func_alloca_works=yes 7661 ac_cv_func_alloca_works=yes
7659 else 7662 else
7660 echo "$as_me: failed program was:" >&5 7663 echo "$as_me: failed program was:" >&5
7661 cat conftest.$ac_ext >&5 7664 cat conftest.$ac_ext >&5
7662 ac_cv_func_alloca_works=no 7665 ac_cv_func_alloca_works=no
7663 fi 7666 fi
7664 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7667 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7665 fi 7668 fi
7666 echo "$as_me:7666: result: $ac_cv_func_alloca_works" >&5 7669 echo "$as_me:7669: result: $ac_cv_func_alloca_works" >&5
7667 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 7670 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
7668 7671
7669 if test $ac_cv_func_alloca_works = yes; then 7672 if test $ac_cv_func_alloca_works = yes; then
7670 7673
7671 cat >>confdefs.h <<\EOF 7674 cat >>confdefs.h <<\EOF
7682 7685
7683 cat >>confdefs.h <<\EOF 7686 cat >>confdefs.h <<\EOF
7684 #define C_ALLOCA 1 7687 #define C_ALLOCA 1
7685 EOF 7688 EOF
7686 7689
7687 echo "$as_me:7687: checking whether \`alloca.c' needs Cray hooks" >&5 7690 echo "$as_me:7690: checking whether \`alloca.c' needs Cray hooks" >&5
7688 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 7691 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
7689 if test "${ac_cv_os_cray+set}" = set; then 7692 if test "${ac_cv_os_cray+set}" = set; then
7690 echo $ECHO_N "(cached) $ECHO_C" >&6 7693 echo $ECHO_N "(cached) $ECHO_C" >&6
7691 else 7694 else
7692 cat >conftest.$ac_ext <<_ACEOF 7695 cat >conftest.$ac_ext <<_ACEOF
7693 #line 7693 "configure" 7696 #line 7696 "configure"
7694 #include "confdefs.h" 7697 #include "confdefs.h"
7695 #if defined(CRAY) && ! defined(CRAY2) 7698 #if defined(CRAY) && ! defined(CRAY2)
7696 webecray 7699 webecray
7697 #else 7700 #else
7698 wenotbecray 7701 wenotbecray
7706 ac_cv_os_cray=no 7709 ac_cv_os_cray=no
7707 fi 7710 fi
7708 rm -f conftest* 7711 rm -f conftest*
7709 7712
7710 fi 7713 fi
7711 echo "$as_me:7711: result: $ac_cv_os_cray" >&5 7714 echo "$as_me:7714: result: $ac_cv_os_cray" >&5
7712 echo "${ECHO_T}$ac_cv_os_cray" >&6 7715 echo "${ECHO_T}$ac_cv_os_cray" >&6
7713 if test $ac_cv_os_cray = yes; then 7716 if test $ac_cv_os_cray = yes; then
7714 for ac_func in _getb67 GETB67 getb67; do 7717 for ac_func in _getb67 GETB67 getb67; do
7715 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 7718 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7716 echo "$as_me:7716: checking for $ac_func" >&5 7719 echo "$as_me:7719: checking for $ac_func" >&5
7717 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 7720 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7718 if eval "test \"\${$as_ac_var+set}\" = set"; then 7721 if eval "test \"\${$as_ac_var+set}\" = set"; then
7719 echo $ECHO_N "(cached) $ECHO_C" >&6 7722 echo $ECHO_N "(cached) $ECHO_C" >&6
7720 else 7723 else
7721 cat >conftest.$ac_ext <<_ACEOF 7724 cat >conftest.$ac_ext <<_ACEOF
7722 #line 7722 "configure" 7725 #line 7725 "configure"
7723 #include "confdefs.h" 7726 #include "confdefs.h"
7724 /* System header to define __stub macros and hopefully few prototypes, 7727 /* System header to define __stub macros and hopefully few prototypes,
7725 which can conflict with char $ac_func (); below. */ 7728 which can conflict with char $ac_func (); below. */
7726 #include <assert.h> 7729 #include <assert.h>
7727 /* Override any gcc2 internal prototype to avoid an error. */ 7730 /* Override any gcc2 internal prototype to avoid an error. */
7748 ; 7751 ;
7749 return 0; 7752 return 0;
7750 } 7753 }
7751 _ACEOF 7754 _ACEOF
7752 rm -f conftest.$ac_objext conftest$ac_exeext 7755 rm -f conftest.$ac_objext conftest$ac_exeext
7753 if { (eval echo "$as_me:7753: \"$ac_link\"") >&5 7756 if { (eval echo "$as_me:7756: \"$ac_link\"") >&5
7754 (eval $ac_link) 2>&5 7757 (eval $ac_link) 2>&5
7755 ac_status=$? 7758 ac_status=$?
7756 echo "$as_me:7756: \$? = $ac_status" >&5 7759 echo "$as_me:7759: \$? = $ac_status" >&5
7757 (exit $ac_status); } && 7760 (exit $ac_status); } &&
7758 { ac_try='test -s conftest$ac_exeext' 7761 { ac_try='test -s conftest$ac_exeext'
7759 { (eval echo "$as_me:7759: \"$ac_try\"") >&5 7762 { (eval echo "$as_me:7762: \"$ac_try\"") >&5
7760 (eval $ac_try) 2>&5 7763 (eval $ac_try) 2>&5
7761 ac_status=$? 7764 ac_status=$?
7762 echo "$as_me:7762: \$? = $ac_status" >&5 7765 echo "$as_me:7765: \$? = $ac_status" >&5
7763 (exit $ac_status); }; }; then 7766 (exit $ac_status); }; }; then
7764 eval "$as_ac_var=yes" 7767 eval "$as_ac_var=yes"
7765 else 7768 else
7766 echo "$as_me: failed program was:" >&5 7769 echo "$as_me: failed program was:" >&5
7767 cat conftest.$ac_ext >&5 7770 cat conftest.$ac_ext >&5
7768 eval "$as_ac_var=no" 7771 eval "$as_ac_var=no"
7769 fi 7772 fi
7770 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7773 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7771 fi 7774 fi
7772 echo "$as_me:7772: result: `eval echo '${'$as_ac_var'}'`" >&5 7775 echo "$as_me:7775: result: `eval echo '${'$as_ac_var'}'`" >&5
7773 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 7776 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7774 if test `eval echo '${'$as_ac_var'}'` = yes; then 7777 if test `eval echo '${'$as_ac_var'}'` = yes; then
7775 7778
7776 cat >>confdefs.h <<EOF 7779 cat >>confdefs.h <<EOF
7777 #define CRAY_STACKSEG_END $ac_func 7780 #define CRAY_STACKSEG_END $ac_func
7781 fi 7784 fi
7782 7785
7783 done 7786 done
7784 fi 7787 fi
7785 7788
7786 echo "$as_me:7786: checking stack direction for C alloca" >&5 7789 echo "$as_me:7789: checking stack direction for C alloca" >&5
7787 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 7790 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
7788 if test "${ac_cv_c_stack_direction+set}" = set; then 7791 if test "${ac_cv_c_stack_direction+set}" = set; then
7789 echo $ECHO_N "(cached) $ECHO_C" >&6 7792 echo $ECHO_N "(cached) $ECHO_C" >&6
7790 else 7793 else
7791 if test "$cross_compiling" = yes; then 7794 if test "$cross_compiling" = yes; then
7792 ac_cv_c_stack_direction=0 7795 ac_cv_c_stack_direction=0
7793 else 7796 else
7794 cat >conftest.$ac_ext <<_ACEOF 7797 cat >conftest.$ac_ext <<_ACEOF
7795 #line 7795 "configure" 7798 #line 7798 "configure"
7796 #include "confdefs.h" 7799 #include "confdefs.h"
7797 int 7800 int
7798 find_stack_direction () 7801 find_stack_direction ()
7799 { 7802 {
7800 static char *addr = 0; 7803 static char *addr = 0;
7813 { 7816 {
7814 exit (find_stack_direction () < 0); 7817 exit (find_stack_direction () < 0);
7815 } 7818 }
7816 _ACEOF 7819 _ACEOF
7817 rm -f conftest$ac_exeext 7820 rm -f conftest$ac_exeext
7818 if { (eval echo "$as_me:7818: \"$ac_link\"") >&5 7821 if { (eval echo "$as_me:7821: \"$ac_link\"") >&5
7819 (eval $ac_link) 2>&5 7822 (eval $ac_link) 2>&5
7820 ac_status=$? 7823 ac_status=$?
7821 echo "$as_me:7821: \$? = $ac_status" >&5 7824 echo "$as_me:7824: \$? = $ac_status" >&5
7822 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7825 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7823 { (eval echo "$as_me:7823: \"$ac_try\"") >&5 7826 { (eval echo "$as_me:7826: \"$ac_try\"") >&5
7824 (eval $ac_try) 2>&5 7827 (eval $ac_try) 2>&5
7825 ac_status=$? 7828 ac_status=$?
7826 echo "$as_me:7826: \$? = $ac_status" >&5 7829 echo "$as_me:7829: \$? = $ac_status" >&5
7827 (exit $ac_status); }; }; then 7830 (exit $ac_status); }; }; then
7828 ac_cv_c_stack_direction=1 7831 ac_cv_c_stack_direction=1
7829 else 7832 else
7830 echo "$as_me: program exited with status $ac_status" >&5 7833 echo "$as_me: program exited with status $ac_status" >&5
7831 echo "$as_me: failed program was:" >&5 7834 echo "$as_me: failed program was:" >&5
7833 ac_cv_c_stack_direction=-1 7836 ac_cv_c_stack_direction=-1
7834 fi 7837 fi
7835 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7838 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7836 fi 7839 fi
7837 fi 7840 fi
7838 echo "$as_me:7838: result: $ac_cv_c_stack_direction" >&5 7841 echo "$as_me:7841: result: $ac_cv_c_stack_direction" >&5
7839 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 7842 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
7840 7843
7841 cat >>confdefs.h <<EOF 7844 cat >>confdefs.h <<EOF
7842 #define STACK_DIRECTION $ac_cv_c_stack_direction 7845 #define STACK_DIRECTION $ac_cv_c_stack_direction
7843 EOF 7846 EOF
7845 fi 7848 fi
7846 7849
7847 # fmod, logb, and frexp are found in -lm on most systems. 7850 # fmod, logb, and frexp are found in -lm on most systems.
7848 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. 7851 # On HPUX 9.01, -lm does not contain logb, so check for sqrt.
7849 7852
7850 echo "$as_me:7850: checking for sqrt in -lm" >&5 7853 echo "$as_me:7853: checking for sqrt in -lm" >&5
7851 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6 7854 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
7852 if test "${ac_cv_lib_m_sqrt+set}" = set; then 7855 if test "${ac_cv_lib_m_sqrt+set}" = set; then
7853 echo $ECHO_N "(cached) $ECHO_C" >&6 7856 echo $ECHO_N "(cached) $ECHO_C" >&6
7854 else 7857 else
7855 ac_check_lib_save_LIBS=$LIBS 7858 ac_check_lib_save_LIBS=$LIBS
7856 LIBS="-lm $LIBS" 7859 LIBS="-lm $LIBS"
7857 cat >conftest.$ac_ext <<_ACEOF 7860 cat >conftest.$ac_ext <<_ACEOF
7858 #line 7858 "configure" 7861 #line 7861 "configure"
7859 #include "confdefs.h" 7862 #include "confdefs.h"
7860 7863
7861 /* Override any gcc2 internal prototype to avoid an error. */ 7864 /* Override any gcc2 internal prototype to avoid an error. */
7862 #ifdef __cplusplus 7865 #ifdef __cplusplus
7863 extern "C" 7866 extern "C"
7872 ; 7875 ;
7873 return 0; 7876 return 0;
7874 } 7877 }
7875 _ACEOF 7878 _ACEOF
7876 rm -f conftest.$ac_objext conftest$ac_exeext 7879 rm -f conftest.$ac_objext conftest$ac_exeext
7877 if { (eval echo "$as_me:7877: \"$ac_link\"") >&5 7880 if { (eval echo "$as_me:7880: \"$ac_link\"") >&5
7878 (eval $ac_link) 2>&5 7881 (eval $ac_link) 2>&5
7879 ac_status=$? 7882 ac_status=$?
7880 echo "$as_me:7880: \$? = $ac_status" >&5 7883 echo "$as_me:7883: \$? = $ac_status" >&5
7881 (exit $ac_status); } && 7884 (exit $ac_status); } &&
7882 { ac_try='test -s conftest$ac_exeext' 7885 { ac_try='test -s conftest$ac_exeext'
7883 { (eval echo "$as_me:7883: \"$ac_try\"") >&5 7886 { (eval echo "$as_me:7886: \"$ac_try\"") >&5
7884 (eval $ac_try) 2>&5 7887 (eval $ac_try) 2>&5
7885 ac_status=$? 7888 ac_status=$?
7886 echo "$as_me:7886: \$? = $ac_status" >&5 7889 echo "$as_me:7889: \$? = $ac_status" >&5
7887 (exit $ac_status); }; }; then 7890 (exit $ac_status); }; }; then
7888 ac_cv_lib_m_sqrt=yes 7891 ac_cv_lib_m_sqrt=yes
7889 else 7892 else
7890 echo "$as_me: failed program was:" >&5 7893 echo "$as_me: failed program was:" >&5
7891 cat conftest.$ac_ext >&5 7894 cat conftest.$ac_ext >&5
7892 ac_cv_lib_m_sqrt=no 7895 ac_cv_lib_m_sqrt=no
7893 fi 7896 fi
7894 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7897 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7895 LIBS=$ac_check_lib_save_LIBS 7898 LIBS=$ac_check_lib_save_LIBS
7896 fi 7899 fi
7897 echo "$as_me:7897: result: $ac_cv_lib_m_sqrt" >&5 7900 echo "$as_me:7900: result: $ac_cv_lib_m_sqrt" >&5
7898 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6 7901 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
7899 if test $ac_cv_lib_m_sqrt = yes; then 7902 if test $ac_cv_lib_m_sqrt = yes; then
7900 cat >>confdefs.h <<EOF 7903 cat >>confdefs.h <<EOF
7901 #define HAVE_LIBM 1 7904 #define HAVE_LIBM 1
7902 EOF 7905 EOF
7905 7908
7906 fi 7909 fi
7907 7910
7908 # Check for mail-locking functions in a "mail" library 7911 # Check for mail-locking functions in a "mail" library
7909 7912
7910 echo "$as_me:7910: checking for maillock in -lmail" >&5 7913 echo "$as_me:7913: checking for maillock in -lmail" >&5
7911 echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6 7914 echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6
7912 if test "${ac_cv_lib_mail_maillock+set}" = set; then 7915 if test "${ac_cv_lib_mail_maillock+set}" = set; then
7913 echo $ECHO_N "(cached) $ECHO_C" >&6 7916 echo $ECHO_N "(cached) $ECHO_C" >&6
7914 else 7917 else
7915 ac_check_lib_save_LIBS=$LIBS 7918 ac_check_lib_save_LIBS=$LIBS
7916 LIBS="-lmail $LIBS" 7919 LIBS="-lmail $LIBS"
7917 cat >conftest.$ac_ext <<_ACEOF 7920 cat >conftest.$ac_ext <<_ACEOF
7918 #line 7918 "configure" 7921 #line 7921 "configure"
7919 #include "confdefs.h" 7922 #include "confdefs.h"
7920 7923
7921 /* Override any gcc2 internal prototype to avoid an error. */ 7924 /* Override any gcc2 internal prototype to avoid an error. */
7922 #ifdef __cplusplus 7925 #ifdef __cplusplus
7923 extern "C" 7926 extern "C"
7932 ; 7935 ;
7933 return 0; 7936 return 0;
7934 } 7937 }
7935 _ACEOF 7938 _ACEOF
7936 rm -f conftest.$ac_objext conftest$ac_exeext 7939 rm -f conftest.$ac_objext conftest$ac_exeext
7937 if { (eval echo "$as_me:7937: \"$ac_link\"") >&5 7940 if { (eval echo "$as_me:7940: \"$ac_link\"") >&5
7938 (eval $ac_link) 2>&5 7941 (eval $ac_link) 2>&5
7939 ac_status=$? 7942 ac_status=$?
7940 echo "$as_me:7940: \$? = $ac_status" >&5 7943 echo "$as_me:7943: \$? = $ac_status" >&5
7941 (exit $ac_status); } && 7944 (exit $ac_status); } &&
7942 { ac_try='test -s conftest$ac_exeext' 7945 { ac_try='test -s conftest$ac_exeext'
7943 { (eval echo "$as_me:7943: \"$ac_try\"") >&5 7946 { (eval echo "$as_me:7946: \"$ac_try\"") >&5
7944 (eval $ac_try) 2>&5 7947 (eval $ac_try) 2>&5
7945 ac_status=$? 7948 ac_status=$?
7946 echo "$as_me:7946: \$? = $ac_status" >&5 7949 echo "$as_me:7949: \$? = $ac_status" >&5
7947 (exit $ac_status); }; }; then 7950 (exit $ac_status); }; }; then
7948 ac_cv_lib_mail_maillock=yes 7951 ac_cv_lib_mail_maillock=yes
7949 else 7952 else
7950 echo "$as_me: failed program was:" >&5 7953 echo "$as_me: failed program was:" >&5
7951 cat conftest.$ac_ext >&5 7954 cat conftest.$ac_ext >&5
7952 ac_cv_lib_mail_maillock=no 7955 ac_cv_lib_mail_maillock=no
7953 fi 7956 fi
7954 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7957 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7955 LIBS=$ac_check_lib_save_LIBS 7958 LIBS=$ac_check_lib_save_LIBS
7956 fi 7959 fi
7957 echo "$as_me:7957: result: $ac_cv_lib_mail_maillock" >&5 7960 echo "$as_me:7960: result: $ac_cv_lib_mail_maillock" >&5
7958 echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6 7961 echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6
7959 if test $ac_cv_lib_mail_maillock = yes; then 7962 if test $ac_cv_lib_mail_maillock = yes; then
7960 cat >>confdefs.h <<EOF 7963 cat >>confdefs.h <<EOF
7961 #define HAVE_LIBMAIL 1 7964 #define HAVE_LIBMAIL 1
7962 EOF 7965 EOF
7963 7966
7964 LIBS="-lmail $LIBS" 7967 LIBS="-lmail $LIBS"
7965 7968
7966 fi 7969 fi
7967 7970
7968 echo "$as_me:7968: checking for maillock in -llockfile" >&5 7971 echo "$as_me:7971: checking for maillock in -llockfile" >&5
7969 echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6 7972 echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6
7970 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then 7973 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then
7971 echo $ECHO_N "(cached) $ECHO_C" >&6 7974 echo $ECHO_N "(cached) $ECHO_C" >&6
7972 else 7975 else
7973 ac_check_lib_save_LIBS=$LIBS 7976 ac_check_lib_save_LIBS=$LIBS
7974 LIBS="-llockfile $LIBS" 7977 LIBS="-llockfile $LIBS"
7975 cat >conftest.$ac_ext <<_ACEOF 7978 cat >conftest.$ac_ext <<_ACEOF
7976 #line 7976 "configure" 7979 #line 7979 "configure"
7977 #include "confdefs.h" 7980 #include "confdefs.h"
7978 7981
7979 /* Override any gcc2 internal prototype to avoid an error. */ 7982 /* Override any gcc2 internal prototype to avoid an error. */
7980 #ifdef __cplusplus 7983 #ifdef __cplusplus
7981 extern "C" 7984 extern "C"
7990 ; 7993 ;
7991 return 0; 7994 return 0;
7992 } 7995 }
7993 _ACEOF 7996 _ACEOF
7994 rm -f conftest.$ac_objext conftest$ac_exeext 7997 rm -f conftest.$ac_objext conftest$ac_exeext
7995 if { (eval echo "$as_me:7995: \"$ac_link\"") >&5 7998 if { (eval echo "$as_me:7998: \"$ac_link\"") >&5
7996 (eval $ac_link) 2>&5 7999 (eval $ac_link) 2>&5
7997 ac_status=$? 8000 ac_status=$?
7998 echo "$as_me:7998: \$? = $ac_status" >&5 8001 echo "$as_me:8001: \$? = $ac_status" >&5
7999 (exit $ac_status); } && 8002 (exit $ac_status); } &&
8000 { ac_try='test -s conftest$ac_exeext' 8003 { ac_try='test -s conftest$ac_exeext'
8001 { (eval echo "$as_me:8001: \"$ac_try\"") >&5 8004 { (eval echo "$as_me:8004: \"$ac_try\"") >&5
8002 (eval $ac_try) 2>&5 8005 (eval $ac_try) 2>&5
8003 ac_status=$? 8006 ac_status=$?
8004 echo "$as_me:8004: \$? = $ac_status" >&5 8007 echo "$as_me:8007: \$? = $ac_status" >&5
8005 (exit $ac_status); }; }; then 8008 (exit $ac_status); }; }; then
8006 ac_cv_lib_lockfile_maillock=yes 8009 ac_cv_lib_lockfile_maillock=yes
8007 else 8010 else
8008 echo "$as_me: failed program was:" >&5 8011 echo "$as_me: failed program was:" >&5
8009 cat conftest.$ac_ext >&5 8012 cat conftest.$ac_ext >&5
8010 ac_cv_lib_lockfile_maillock=no 8013 ac_cv_lib_lockfile_maillock=no
8011 fi 8014 fi
8012 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8015 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8013 LIBS=$ac_check_lib_save_LIBS 8016 LIBS=$ac_check_lib_save_LIBS
8014 fi 8017 fi
8015 echo "$as_me:8015: result: $ac_cv_lib_lockfile_maillock" >&5 8018 echo "$as_me:8018: result: $ac_cv_lib_lockfile_maillock" >&5
8016 echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6 8019 echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6
8017 if test $ac_cv_lib_lockfile_maillock = yes; then 8020 if test $ac_cv_lib_lockfile_maillock = yes; then
8018 cat >>confdefs.h <<EOF 8021 cat >>confdefs.h <<EOF
8019 #define HAVE_LIBLOCKFILE 1 8022 #define HAVE_LIBLOCKFILE 1
8020 EOF 8023 EOF
8027 # locking (e.g. Debian). If we couldn't link against liblockfile 8030 # locking (e.g. Debian). If we couldn't link against liblockfile
8028 # (no liblockfile.a installed), ensure that we don't need to. 8031 # (no liblockfile.a installed), ensure that we don't need to.
8029 if test "$ac_cv_lib_lockfile_maillock" = no; then 8032 if test "$ac_cv_lib_lockfile_maillock" = no; then
8030 # Extract the first word of "liblockfile.so", so it can be a program name with args. 8033 # Extract the first word of "liblockfile.so", so it can be a program name with args.
8031 set dummy liblockfile.so; ac_word=$2 8034 set dummy liblockfile.so; ac_word=$2
8032 echo "$as_me:8032: checking for $ac_word" >&5 8035 echo "$as_me:8035: checking for $ac_word" >&5
8033 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 8036 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8034 if test "${ac_cv_prog_liblockfile+set}" = set; then 8037 if test "${ac_cv_prog_liblockfile+set}" = set; then
8035 echo $ECHO_N "(cached) $ECHO_C" >&6 8038 echo $ECHO_N "(cached) $ECHO_C" >&6
8036 else 8039 else
8037 if test -n "$liblockfile"; then 8040 if test -n "$liblockfile"; then
8042 for ac_dir in $ac_dummy; do 8045 for ac_dir in $ac_dummy; do
8043 IFS=$ac_save_IFS 8046 IFS=$ac_save_IFS
8044 test -z "$ac_dir" && ac_dir=. 8047 test -z "$ac_dir" && ac_dir=.
8045 $as_executable_p "$ac_dir/$ac_word" || continue 8048 $as_executable_p "$ac_dir/$ac_word" || continue
8046 ac_cv_prog_liblockfile="yes" 8049 ac_cv_prog_liblockfile="yes"
8047 echo "$as_me:8047: found $ac_dir/$ac_word" >&5 8050 echo "$as_me:8050: found $ac_dir/$ac_word" >&5
8048 break 8051 break
8049 done 8052 done
8050 8053
8051 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no" 8054 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no"
8052 fi 8055 fi
8053 fi 8056 fi
8054 liblockfile=$ac_cv_prog_liblockfile 8057 liblockfile=$ac_cv_prog_liblockfile
8055 if test -n "$liblockfile"; then 8058 if test -n "$liblockfile"; then
8056 echo "$as_me:8056: result: $liblockfile" >&5 8059 echo "$as_me:8059: result: $liblockfile" >&5
8057 echo "${ECHO_T}$liblockfile" >&6 8060 echo "${ECHO_T}$liblockfile" >&6
8058 else 8061 else
8059 echo "$as_me:8059: result: no" >&5 8062 echo "$as_me:8062: result: no" >&5
8060 echo "${ECHO_T}no" >&6 8063 echo "${ECHO_T}no" >&6
8061 fi 8064 fi
8062 8065
8063 if test $ac_cv_prog_liblockfile = yes; then 8066 if test $ac_cv_prog_liblockfile = yes; then
8064 { { echo "$as_me:8064: error: Shared liblockfile found but can't link against it. 8067 { { echo "$as_me:8067: error: Shared liblockfile found but can't link against it.
8065 This probably means that movemail could lose mail. 8068 This probably means that movemail could lose mail.
8066 There may be a \`development' package to install containing liblockfile." >&5 8069 There may be a \`development' package to install containing liblockfile." >&5
8067 echo "$as_me: error: Shared liblockfile found but can't link against it. 8070 echo "$as_me: error: Shared liblockfile found but can't link against it.
8068 This probably means that movemail could lose mail. 8071 This probably means that movemail could lose mail.
8069 There may be a \`development' package to install containing liblockfile." >&2;} 8072 There may be a \`development' package to install containing liblockfile." >&2;}
8077 fi 8080 fi
8078 8081
8079 for ac_func in touchlock 8082 for ac_func in touchlock
8080 do 8083 do
8081 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8084 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8082 echo "$as_me:8082: checking for $ac_func" >&5 8085 echo "$as_me:8085: checking for $ac_func" >&5
8083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8084 if eval "test \"\${$as_ac_var+set}\" = set"; then 8087 if eval "test \"\${$as_ac_var+set}\" = set"; then
8085 echo $ECHO_N "(cached) $ECHO_C" >&6 8088 echo $ECHO_N "(cached) $ECHO_C" >&6
8086 else 8089 else
8087 cat >conftest.$ac_ext <<_ACEOF 8090 cat >conftest.$ac_ext <<_ACEOF
8088 #line 8088 "configure" 8091 #line 8091 "configure"
8089 #include "confdefs.h" 8092 #include "confdefs.h"
8090 /* System header to define __stub macros and hopefully few prototypes, 8093 /* System header to define __stub macros and hopefully few prototypes,
8091 which can conflict with char $ac_func (); below. */ 8094 which can conflict with char $ac_func (); below. */
8092 #include <assert.h> 8095 #include <assert.h>
8093 /* Override any gcc2 internal prototype to avoid an error. */ 8096 /* Override any gcc2 internal prototype to avoid an error. */
8114 ; 8117 ;
8115 return 0; 8118 return 0;
8116 } 8119 }
8117 _ACEOF 8120 _ACEOF
8118 rm -f conftest.$ac_objext conftest$ac_exeext 8121 rm -f conftest.$ac_objext conftest$ac_exeext
8119 if { (eval echo "$as_me:8119: \"$ac_link\"") >&5 8122 if { (eval echo "$as_me:8122: \"$ac_link\"") >&5
8120 (eval $ac_link) 2>&5 8123 (eval $ac_link) 2>&5
8121 ac_status=$? 8124 ac_status=$?
8122 echo "$as_me:8122: \$? = $ac_status" >&5 8125 echo "$as_me:8125: \$? = $ac_status" >&5
8123 (exit $ac_status); } && 8126 (exit $ac_status); } &&
8124 { ac_try='test -s conftest$ac_exeext' 8127 { ac_try='test -s conftest$ac_exeext'
8125 { (eval echo "$as_me:8125: \"$ac_try\"") >&5 8128 { (eval echo "$as_me:8128: \"$ac_try\"") >&5
8126 (eval $ac_try) 2>&5 8129 (eval $ac_try) 2>&5
8127 ac_status=$? 8130 ac_status=$?
8128 echo "$as_me:8128: \$? = $ac_status" >&5 8131 echo "$as_me:8131: \$? = $ac_status" >&5
8129 (exit $ac_status); }; }; then 8132 (exit $ac_status); }; }; then
8130 eval "$as_ac_var=yes" 8133 eval "$as_ac_var=yes"
8131 else 8134 else
8132 echo "$as_me: failed program was:" >&5 8135 echo "$as_me: failed program was:" >&5
8133 cat conftest.$ac_ext >&5 8136 cat conftest.$ac_ext >&5
8134 eval "$as_ac_var=no" 8137 eval "$as_ac_var=no"
8135 fi 8138 fi
8136 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8139 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8137 fi 8140 fi
8138 echo "$as_me:8138: result: `eval echo '${'$as_ac_var'}'`" >&5 8141 echo "$as_me:8141: result: `eval echo '${'$as_ac_var'}'`" >&5
8139 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8140 if test `eval echo '${'$as_ac_var'}'` = yes; then 8143 if test `eval echo '${'$as_ac_var'}'` = yes; then
8141 cat >>confdefs.h <<EOF 8144 cat >>confdefs.h <<EOF
8142 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 8145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8143 EOF 8146 EOF
8146 done 8149 done
8147 8150
8148 for ac_header in maillock.h 8151 for ac_header in maillock.h
8149 do 8152 do
8150 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8153 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8151 echo "$as_me:8151: checking for $ac_header" >&5 8154 echo "$as_me:8154: checking for $ac_header" >&5
8152 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 8155 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8153 if eval "test \"\${$as_ac_Header+set}\" = set"; then 8156 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8154 echo $ECHO_N "(cached) $ECHO_C" >&6 8157 echo $ECHO_N "(cached) $ECHO_C" >&6
8155 else 8158 else
8156 cat >conftest.$ac_ext <<_ACEOF 8159 cat >conftest.$ac_ext <<_ACEOF
8157 #line 8157 "configure" 8160 #line 8160 "configure"
8158 #include "confdefs.h" 8161 #include "confdefs.h"
8159 #include <$ac_header> 8162 #include <$ac_header>
8160 _ACEOF 8163 _ACEOF
8161 if { (eval echo "$as_me:8161: \"$ac_cpp conftest.$ac_ext\"") >&5 8164 if { (eval echo "$as_me:8164: \"$ac_cpp conftest.$ac_ext\"") >&5
8162 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8165 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8163 ac_status=$? 8166 ac_status=$?
8164 egrep -v '^ *\+' conftest.er1 >conftest.err 8167 egrep -v '^ *\+' conftest.er1 >conftest.err
8165 rm -f conftest.er1 8168 rm -f conftest.er1
8166 cat conftest.err >&5 8169 cat conftest.err >&5
8167 echo "$as_me:8167: \$? = $ac_status" >&5 8170 echo "$as_me:8170: \$? = $ac_status" >&5
8168 (exit $ac_status); } >/dev/null; then 8171 (exit $ac_status); } >/dev/null; then
8169 if test -s conftest.err; then 8172 if test -s conftest.err; then
8170 ac_cpp_err=$ac_c_preproc_warn_flag 8173 ac_cpp_err=$ac_c_preproc_warn_flag
8171 else 8174 else
8172 ac_cpp_err= 8175 ac_cpp_err=
8181 cat conftest.$ac_ext >&5 8184 cat conftest.$ac_ext >&5
8182 eval "$as_ac_Header=no" 8185 eval "$as_ac_Header=no"
8183 fi 8186 fi
8184 rm -f conftest.err conftest.$ac_ext 8187 rm -f conftest.err conftest.$ac_ext
8185 fi 8188 fi
8186 echo "$as_me:8186: result: `eval echo '${'$as_ac_Header'}'`" >&5 8189 echo "$as_me:8189: result: `eval echo '${'$as_ac_Header'}'`" >&5
8187 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 8190 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8188 if test `eval echo '${'$as_ac_Header'}'` = yes; then 8191 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8189 cat >>confdefs.h <<EOF 8192 cat >>confdefs.h <<EOF
8190 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8193 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8191 EOF 8194 EOF
8200 utimes setrlimit setpgid getcwd getwd shutdown strftime getaddrinfo \ 8203 utimes setrlimit setpgid getcwd getwd shutdown strftime getaddrinfo \
8201 __fpending mblen mbrlen strsignal setitimer ualarm index rindex \ 8204 __fpending mblen mbrlen strsignal setitimer ualarm index rindex \
8202 gai_strerror mkstemp 8205 gai_strerror mkstemp
8203 do 8206 do
8204 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8207 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8205 echo "$as_me:8205: checking for $ac_func" >&5 8208 echo "$as_me:8208: checking for $ac_func" >&5
8206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8209 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8207 if eval "test \"\${$as_ac_var+set}\" = set"; then 8210 if eval "test \"\${$as_ac_var+set}\" = set"; then
8208 echo $ECHO_N "(cached) $ECHO_C" >&6 8211 echo $ECHO_N "(cached) $ECHO_C" >&6
8209 else 8212 else
8210 cat >conftest.$ac_ext <<_ACEOF 8213 cat >conftest.$ac_ext <<_ACEOF
8211 #line 8211 "configure" 8214 #line 8214 "configure"
8212 #include "confdefs.h" 8215 #include "confdefs.h"
8213 /* System header to define __stub macros and hopefully few prototypes, 8216 /* System header to define __stub macros and hopefully few prototypes,
8214 which can conflict with char $ac_func (); below. */ 8217 which can conflict with char $ac_func (); below. */
8215 #include <assert.h> 8218 #include <assert.h>
8216 /* Override any gcc2 internal prototype to avoid an error. */ 8219 /* Override any gcc2 internal prototype to avoid an error. */
8237 ; 8240 ;
8238 return 0; 8241 return 0;
8239 } 8242 }
8240 _ACEOF 8243 _ACEOF
8241 rm -f conftest.$ac_objext conftest$ac_exeext 8244 rm -f conftest.$ac_objext conftest$ac_exeext
8242 if { (eval echo "$as_me:8242: \"$ac_link\"") >&5 8245 if { (eval echo "$as_me:8245: \"$ac_link\"") >&5
8243 (eval $ac_link) 2>&5 8246 (eval $ac_link) 2>&5
8244 ac_status=$? 8247 ac_status=$?
8245 echo "$as_me:8245: \$? = $ac_status" >&5 8248 echo "$as_me:8248: \$? = $ac_status" >&5
8246 (exit $ac_status); } && 8249 (exit $ac_status); } &&
8247 { ac_try='test -s conftest$ac_exeext' 8250 { ac_try='test -s conftest$ac_exeext'
8248 { (eval echo "$as_me:8248: \"$ac_try\"") >&5 8251 { (eval echo "$as_me:8251: \"$ac_try\"") >&5
8249 (eval $ac_try) 2>&5 8252 (eval $ac_try) 2>&5
8250 ac_status=$? 8253 ac_status=$?
8251 echo "$as_me:8251: \$? = $ac_status" >&5 8254 echo "$as_me:8254: \$? = $ac_status" >&5
8252 (exit $ac_status); }; }; then 8255 (exit $ac_status); }; }; then
8253 eval "$as_ac_var=yes" 8256 eval "$as_ac_var=yes"
8254 else 8257 else
8255 echo "$as_me: failed program was:" >&5 8258 echo "$as_me: failed program was:" >&5
8256 cat conftest.$ac_ext >&5 8259 cat conftest.$ac_ext >&5
8257 eval "$as_ac_var=no" 8260 eval "$as_ac_var=no"
8258 fi 8261 fi
8259 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8262 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8260 fi 8263 fi
8261 echo "$as_me:8261: result: `eval echo '${'$as_ac_var'}'`" >&5 8264 echo "$as_me:8264: result: `eval echo '${'$as_ac_var'}'`" >&5
8262 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8265 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8263 if test `eval echo '${'$as_ac_var'}'` = yes; then 8266 if test `eval echo '${'$as_ac_var'}'` = yes; then
8264 cat >>confdefs.h <<EOF 8267 cat >>confdefs.h <<EOF
8265 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 8268 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8266 EOF 8269 EOF
8269 done 8272 done
8270 8273
8271 for ac_header in sys/time.h unistd.h 8274 for ac_header in sys/time.h unistd.h
8272 do 8275 do
8273 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8276 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8274 echo "$as_me:8274: checking for $ac_header" >&5 8277 echo "$as_me:8277: checking for $ac_header" >&5
8275 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 8278 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8276 if eval "test \"\${$as_ac_Header+set}\" = set"; then 8279 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8277 echo $ECHO_N "(cached) $ECHO_C" >&6 8280 echo $ECHO_N "(cached) $ECHO_C" >&6
8278 else 8281 else
8279 cat >conftest.$ac_ext <<_ACEOF 8282 cat >conftest.$ac_ext <<_ACEOF
8280 #line 8280 "configure" 8283 #line 8283 "configure"
8281 #include "confdefs.h" 8284 #include "confdefs.h"
8282 #include <$ac_header> 8285 #include <$ac_header>
8283 _ACEOF 8286 _ACEOF
8284 if { (eval echo "$as_me:8284: \"$ac_cpp conftest.$ac_ext\"") >&5 8287 if { (eval echo "$as_me:8287: \"$ac_cpp conftest.$ac_ext\"") >&5
8285 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8288 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8286 ac_status=$? 8289 ac_status=$?
8287 egrep -v '^ *\+' conftest.er1 >conftest.err 8290 egrep -v '^ *\+' conftest.er1 >conftest.err
8288 rm -f conftest.er1 8291 rm -f conftest.er1
8289 cat conftest.err >&5 8292 cat conftest.err >&5
8290 echo "$as_me:8290: \$? = $ac_status" >&5 8293 echo "$as_me:8293: \$? = $ac_status" >&5
8291 (exit $ac_status); } >/dev/null; then 8294 (exit $ac_status); } >/dev/null; then
8292 if test -s conftest.err; then 8295 if test -s conftest.err; then
8293 ac_cpp_err=$ac_c_preproc_warn_flag 8296 ac_cpp_err=$ac_c_preproc_warn_flag
8294 else 8297 else
8295 ac_cpp_err= 8298 ac_cpp_err=
8304 cat conftest.$ac_ext >&5 8307 cat conftest.$ac_ext >&5
8305 eval "$as_ac_Header=no" 8308 eval "$as_ac_Header=no"
8306 fi 8309 fi
8307 rm -f conftest.err conftest.$ac_ext 8310 rm -f conftest.err conftest.$ac_ext
8308 fi 8311 fi
8309 echo "$as_me:8309: result: `eval echo '${'$as_ac_Header'}'`" >&5 8312 echo "$as_me:8312: result: `eval echo '${'$as_ac_Header'}'`" >&5
8310 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 8313 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8311 if test `eval echo '${'$as_ac_Header'}'` = yes; then 8314 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8312 cat >>confdefs.h <<EOF 8315 cat >>confdefs.h <<EOF
8313 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8316 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8314 EOF 8317 EOF
8317 done 8320 done
8318 8321
8319 for ac_func in alarm 8322 for ac_func in alarm
8320 do 8323 do
8321 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8322 echo "$as_me:8322: checking for $ac_func" >&5 8325 echo "$as_me:8325: checking for $ac_func" >&5
8323 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8324 if eval "test \"\${$as_ac_var+set}\" = set"; then 8327 if eval "test \"\${$as_ac_var+set}\" = set"; then
8325 echo $ECHO_N "(cached) $ECHO_C" >&6 8328 echo $ECHO_N "(cached) $ECHO_C" >&6
8326 else 8329 else
8327 cat >conftest.$ac_ext <<_ACEOF 8330 cat >conftest.$ac_ext <<_ACEOF
8328 #line 8328 "configure" 8331 #line 8331 "configure"
8329 #include "confdefs.h" 8332 #include "confdefs.h"
8330 /* System header to define __stub macros and hopefully few prototypes, 8333 /* System header to define __stub macros and hopefully few prototypes,
8331 which can conflict with char $ac_func (); below. */ 8334 which can conflict with char $ac_func (); below. */
8332 #include <assert.h> 8335 #include <assert.h>
8333 /* Override any gcc2 internal prototype to avoid an error. */ 8336 /* Override any gcc2 internal prototype to avoid an error. */
8354 ; 8357 ;
8355 return 0; 8358 return 0;
8356 } 8359 }
8357 _ACEOF 8360 _ACEOF
8358 rm -f conftest.$ac_objext conftest$ac_exeext 8361 rm -f conftest.$ac_objext conftest$ac_exeext
8359 if { (eval echo "$as_me:8359: \"$ac_link\"") >&5 8362 if { (eval echo "$as_me:8362: \"$ac_link\"") >&5
8360 (eval $ac_link) 2>&5 8363 (eval $ac_link) 2>&5
8361 ac_status=$? 8364 ac_status=$?
8362 echo "$as_me:8362: \$? = $ac_status" >&5 8365 echo "$as_me:8365: \$? = $ac_status" >&5
8363 (exit $ac_status); } && 8366 (exit $ac_status); } &&
8364 { ac_try='test -s conftest$ac_exeext' 8367 { ac_try='test -s conftest$ac_exeext'
8365 { (eval echo "$as_me:8365: \"$ac_try\"") >&5 8368 { (eval echo "$as_me:8368: \"$ac_try\"") >&5
8366 (eval $ac_try) 2>&5 8369 (eval $ac_try) 2>&5
8367 ac_status=$? 8370 ac_status=$?
8368 echo "$as_me:8368: \$? = $ac_status" >&5 8371 echo "$as_me:8371: \$? = $ac_status" >&5
8369 (exit $ac_status); }; }; then 8372 (exit $ac_status); }; }; then
8370 eval "$as_ac_var=yes" 8373 eval "$as_ac_var=yes"
8371 else 8374 else
8372 echo "$as_me: failed program was:" >&5 8375 echo "$as_me: failed program was:" >&5
8373 cat conftest.$ac_ext >&5 8376 cat conftest.$ac_ext >&5
8374 eval "$as_ac_var=no" 8377 eval "$as_ac_var=no"
8375 fi 8378 fi
8376 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8379 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8377 fi 8380 fi
8378 echo "$as_me:8378: result: `eval echo '${'$as_ac_var'}'`" >&5 8381 echo "$as_me:8381: result: `eval echo '${'$as_ac_var'}'`" >&5
8379 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8382 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8380 if test `eval echo '${'$as_ac_var'}'` = yes; then 8383 if test `eval echo '${'$as_ac_var'}'` = yes; then
8381 cat >>confdefs.h <<EOF 8384 cat >>confdefs.h <<EOF
8382 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 8385 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8383 EOF 8386 EOF
8384 8387
8385 fi 8388 fi
8386 done 8389 done
8387 8390
8388 echo "$as_me:8388: checking for working mktime" >&5 8391 echo "$as_me:8391: checking for working mktime" >&5
8389 echo $ECHO_N "checking for working mktime... $ECHO_C" >&6 8392 echo $ECHO_N "checking for working mktime... $ECHO_C" >&6
8390 if test "${ac_cv_func_working_mktime+set}" = set; then 8393 if test "${ac_cv_func_working_mktime+set}" = set; then
8391 echo $ECHO_N "(cached) $ECHO_C" >&6 8394 echo $ECHO_N "(cached) $ECHO_C" >&6
8392 else 8395 else
8393 if test "$cross_compiling" = yes; then 8396 if test "$cross_compiling" = yes; then
8394 ac_cv_func_working_mktime=no 8397 ac_cv_func_working_mktime=no
8395 else 8398 else
8396 cat >conftest.$ac_ext <<_ACEOF 8399 cat >conftest.$ac_ext <<_ACEOF
8397 #line 8397 "configure" 8400 #line 8400 "configure"
8398 #include "confdefs.h" 8401 #include "confdefs.h"
8399 /* Test program from Paul Eggert and Tony Leneis. */ 8402 /* Test program from Paul Eggert and Tony Leneis. */
8400 #if TIME_WITH_SYS_TIME 8403 #if TIME_WITH_SYS_TIME
8401 # include <sys/time.h> 8404 # include <sys/time.h>
8402 # include <time.h> 8405 # include <time.h>
8541 spring_forward_gap (); 8544 spring_forward_gap ();
8542 exit (0); 8545 exit (0);
8543 } 8546 }
8544 _ACEOF 8547 _ACEOF
8545 rm -f conftest$ac_exeext 8548 rm -f conftest$ac_exeext
8546 if { (eval echo "$as_me:8546: \"$ac_link\"") >&5 8549 if { (eval echo "$as_me:8549: \"$ac_link\"") >&5
8547 (eval $ac_link) 2>&5 8550 (eval $ac_link) 2>&5
8548 ac_status=$? 8551 ac_status=$?
8549 echo "$as_me:8549: \$? = $ac_status" >&5 8552 echo "$as_me:8552: \$? = $ac_status" >&5
8550 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 8553 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8551 { (eval echo "$as_me:8551: \"$ac_try\"") >&5 8554 { (eval echo "$as_me:8554: \"$ac_try\"") >&5
8552 (eval $ac_try) 2>&5 8555 (eval $ac_try) 2>&5
8553 ac_status=$? 8556 ac_status=$?
8554 echo "$as_me:8554: \$? = $ac_status" >&5 8557 echo "$as_me:8557: \$? = $ac_status" >&5
8555 (exit $ac_status); }; }; then 8558 (exit $ac_status); }; }; then
8556 ac_cv_func_working_mktime=yes 8559 ac_cv_func_working_mktime=yes
8557 else 8560 else
8558 echo "$as_me: program exited with status $ac_status" >&5 8561 echo "$as_me: program exited with status $ac_status" >&5
8559 echo "$as_me: failed program was:" >&5 8562 echo "$as_me: failed program was:" >&5
8561 ac_cv_func_working_mktime=no 8564 ac_cv_func_working_mktime=no
8562 fi 8565 fi
8563 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 8566 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8564 fi 8567 fi
8565 fi 8568 fi
8566 echo "$as_me:8566: result: $ac_cv_func_working_mktime" >&5 8569 echo "$as_me:8569: result: $ac_cv_func_working_mktime" >&5
8567 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6 8570 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6
8568 if test $ac_cv_func_working_mktime = no; then 8571 if test $ac_cv_func_working_mktime = no; then
8569 LIBOBJS="$LIBOBJS mktime.$ac_objext" 8572 LIBOBJS="$LIBOBJS mktime.$ac_objext"
8570 fi 8573 fi
8571 8574
8579 ac_have_func=no # yes means we've found a way to get the load average. 8582 ac_have_func=no # yes means we've found a way to get the load average.
8580 8583
8581 ac_save_LIBS=$LIBS 8584 ac_save_LIBS=$LIBS
8582 8585
8583 # Check for getloadavg, but be sure not to touch the cache variable. 8586 # Check for getloadavg, but be sure not to touch the cache variable.
8584 (echo "$as_me:8584: checking for getloadavg" >&5 8587 (echo "$as_me:8587: checking for getloadavg" >&5
8585 echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6 8588 echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6
8586 if test "${ac_cv_func_getloadavg+set}" = set; then 8589 if test "${ac_cv_func_getloadavg+set}" = set; then
8587 echo $ECHO_N "(cached) $ECHO_C" >&6 8590 echo $ECHO_N "(cached) $ECHO_C" >&6
8588 else 8591 else
8589 cat >conftest.$ac_ext <<_ACEOF 8592 cat >conftest.$ac_ext <<_ACEOF
8590 #line 8590 "configure" 8593 #line 8593 "configure"
8591 #include "confdefs.h" 8594 #include "confdefs.h"
8592 /* System header to define __stub macros and hopefully few prototypes, 8595 /* System header to define __stub macros and hopefully few prototypes,
8593 which can conflict with char getloadavg (); below. */ 8596 which can conflict with char getloadavg (); below. */
8594 #include <assert.h> 8597 #include <assert.h>
8595 /* Override any gcc2 internal prototype to avoid an error. */ 8598 /* Override any gcc2 internal prototype to avoid an error. */
8616 ; 8619 ;
8617 return 0; 8620 return 0;
8618 } 8621 }
8619 _ACEOF 8622 _ACEOF
8620 rm -f conftest.$ac_objext conftest$ac_exeext 8623 rm -f conftest.$ac_objext conftest$ac_exeext
8621 if { (eval echo "$as_me:8621: \"$ac_link\"") >&5 8624 if { (eval echo "$as_me:8624: \"$ac_link\"") >&5
8622 (eval $ac_link) 2>&5 8625 (eval $ac_link) 2>&5
8623 ac_status=$? 8626 ac_status=$?
8624 echo "$as_me:8624: \$? = $ac_status" >&5 8627 echo "$as_me:8627: \$? = $ac_status" >&5
8625 (exit $ac_status); } && 8628 (exit $ac_status); } &&
8626 { ac_try='test -s conftest$ac_exeext' 8629 { ac_try='test -s conftest$ac_exeext'
8627 { (eval echo "$as_me:8627: \"$ac_try\"") >&5 8630 { (eval echo "$as_me:8630: \"$ac_try\"") >&5
8628 (eval $ac_try) 2>&5 8631 (eval $ac_try) 2>&5
8629 ac_status=$? 8632 ac_status=$?
8630 echo "$as_me:8630: \$? = $ac_status" >&5 8633 echo "$as_me:8633: \$? = $ac_status" >&5
8631 (exit $ac_status); }; }; then 8634 (exit $ac_status); }; }; then
8632 ac_cv_func_getloadavg=yes 8635 ac_cv_func_getloadavg=yes
8633 else 8636 else
8634 echo "$as_me: failed program was:" >&5 8637 echo "$as_me: failed program was:" >&5
8635 cat conftest.$ac_ext >&5 8638 cat conftest.$ac_ext >&5
8636 ac_cv_func_getloadavg=no 8639 ac_cv_func_getloadavg=no
8637 fi 8640 fi
8638 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8641 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8639 fi 8642 fi
8640 echo "$as_me:8640: result: $ac_cv_func_getloadavg" >&5 8643 echo "$as_me:8643: result: $ac_cv_func_getloadavg" >&5
8641 echo "${ECHO_T}$ac_cv_func_getloadavg" >&6 8644 echo "${ECHO_T}$ac_cv_func_getloadavg" >&6
8642 if test $ac_cv_func_getloadavg = yes; then 8645 if test $ac_cv_func_getloadavg = yes; then
8643 exit 0 8646 exit 0
8644 else 8647 else
8645 exit 1 8648 exit 1
8649 # On HPUX9, an unprivileged user can get load averages through this function. 8652 # On HPUX9, an unprivileged user can get load averages through this function.
8650 8653
8651 for ac_func in pstat_getdynamic 8654 for ac_func in pstat_getdynamic
8652 do 8655 do
8653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8656 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8654 echo "$as_me:8654: checking for $ac_func" >&5 8657 echo "$as_me:8657: checking for $ac_func" >&5
8655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8658 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8656 if eval "test \"\${$as_ac_var+set}\" = set"; then 8659 if eval "test \"\${$as_ac_var+set}\" = set"; then
8657 echo $ECHO_N "(cached) $ECHO_C" >&6 8660 echo $ECHO_N "(cached) $ECHO_C" >&6
8658 else 8661 else
8659 cat >conftest.$ac_ext <<_ACEOF 8662 cat >conftest.$ac_ext <<_ACEOF
8660 #line 8660 "configure" 8663 #line 8663 "configure"
8661 #include "confdefs.h" 8664 #include "confdefs.h"
8662 /* System header to define __stub macros and hopefully few prototypes, 8665 /* System header to define __stub macros and hopefully few prototypes,
8663 which can conflict with char $ac_func (); below. */ 8666 which can conflict with char $ac_func (); below. */
8664 #include <assert.h> 8667 #include <assert.h>
8665 /* Override any gcc2 internal prototype to avoid an error. */ 8668 /* Override any gcc2 internal prototype to avoid an error. */
8686 ; 8689 ;
8687 return 0; 8690 return 0;
8688 } 8691 }
8689 _ACEOF 8692 _ACEOF
8690 rm -f conftest.$ac_objext conftest$ac_exeext 8693 rm -f conftest.$ac_objext conftest$ac_exeext
8691 if { (eval echo "$as_me:8691: \"$ac_link\"") >&5 8694 if { (eval echo "$as_me:8694: \"$ac_link\"") >&5
8692 (eval $ac_link) 2>&5 8695 (eval $ac_link) 2>&5
8693 ac_status=$? 8696 ac_status=$?
8694 echo "$as_me:8694: \$? = $ac_status" >&5 8697 echo "$as_me:8697: \$? = $ac_status" >&5
8695 (exit $ac_status); } && 8698 (exit $ac_status); } &&
8696 { ac_try='test -s conftest$ac_exeext' 8699 { ac_try='test -s conftest$ac_exeext'
8697 { (eval echo "$as_me:8697: \"$ac_try\"") >&5 8700 { (eval echo "$as_me:8700: \"$ac_try\"") >&5
8698 (eval $ac_try) 2>&5 8701 (eval $ac_try) 2>&5
8699 ac_status=$? 8702 ac_status=$?
8700 echo "$as_me:8700: \$? = $ac_status" >&5 8703 echo "$as_me:8703: \$? = $ac_status" >&5
8701 (exit $ac_status); }; }; then 8704 (exit $ac_status); }; }; then
8702 eval "$as_ac_var=yes" 8705 eval "$as_ac_var=yes"
8703 else 8706 else
8704 echo "$as_me: failed program was:" >&5 8707 echo "$as_me: failed program was:" >&5
8705 cat conftest.$ac_ext >&5 8708 cat conftest.$ac_ext >&5
8706 eval "$as_ac_var=no" 8709 eval "$as_ac_var=no"
8707 fi 8710 fi
8708 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8711 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8709 fi 8712 fi
8710 echo "$as_me:8710: result: `eval echo '${'$as_ac_var'}'`" >&5 8713 echo "$as_me:8713: result: `eval echo '${'$as_ac_var'}'`" >&5
8711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8714 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8712 if test `eval echo '${'$as_ac_var'}'` = yes; then 8715 if test `eval echo '${'$as_ac_var'}'` = yes; then
8713 cat >>confdefs.h <<EOF 8716 cat >>confdefs.h <<EOF
8714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 8717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8715 EOF 8718 EOF
8717 fi 8720 fi
8718 done 8721 done
8719 8722
8720 # Solaris has libkstat which does not require root. 8723 # Solaris has libkstat which does not require root.
8721 8724
8722 echo "$as_me:8722: checking for kstat_open in -lkstat" >&5 8725 echo "$as_me:8725: checking for kstat_open in -lkstat" >&5
8723 echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6 8726 echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6
8724 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then 8727 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then
8725 echo $ECHO_N "(cached) $ECHO_C" >&6 8728 echo $ECHO_N "(cached) $ECHO_C" >&6
8726 else 8729 else
8727 ac_check_lib_save_LIBS=$LIBS 8730 ac_check_lib_save_LIBS=$LIBS
8728 LIBS="-lkstat $LIBS" 8731 LIBS="-lkstat $LIBS"
8729 cat >conftest.$ac_ext <<_ACEOF 8732 cat >conftest.$ac_ext <<_ACEOF
8730 #line 8730 "configure" 8733 #line 8733 "configure"
8731 #include "confdefs.h" 8734 #include "confdefs.h"
8732 8735
8733 /* Override any gcc2 internal prototype to avoid an error. */ 8736 /* Override any gcc2 internal prototype to avoid an error. */
8734 #ifdef __cplusplus 8737 #ifdef __cplusplus
8735 extern "C" 8738 extern "C"
8744 ; 8747 ;
8745 return 0; 8748 return 0;
8746 } 8749 }
8747 _ACEOF 8750 _ACEOF
8748 rm -f conftest.$ac_objext conftest$ac_exeext 8751 rm -f conftest.$ac_objext conftest$ac_exeext
8749 if { (eval echo "$as_me:8749: \"$ac_link\"") >&5 8752 if { (eval echo "$as_me:8752: \"$ac_link\"") >&5
8750 (eval $ac_link) 2>&5 8753 (eval $ac_link) 2>&5
8751 ac_status=$? 8754 ac_status=$?
8752 echo "$as_me:8752: \$? = $ac_status" >&5 8755 echo "$as_me:8755: \$? = $ac_status" >&5
8753 (exit $ac_status); } && 8756 (exit $ac_status); } &&
8754 { ac_try='test -s conftest$ac_exeext' 8757 { ac_try='test -s conftest$ac_exeext'
8755 { (eval echo "$as_me:8755: \"$ac_try\"") >&5 8758 { (eval echo "$as_me:8758: \"$ac_try\"") >&5
8756 (eval $ac_try) 2>&5 8759 (eval $ac_try) 2>&5
8757 ac_status=$? 8760 ac_status=$?
8758 echo "$as_me:8758: \$? = $ac_status" >&5 8761 echo "$as_me:8761: \$? = $ac_status" >&5
8759 (exit $ac_status); }; }; then 8762 (exit $ac_status); }; }; then
8760 ac_cv_lib_kstat_kstat_open=yes 8763 ac_cv_lib_kstat_kstat_open=yes
8761 else 8764 else
8762 echo "$as_me: failed program was:" >&5 8765 echo "$as_me: failed program was:" >&5
8763 cat conftest.$ac_ext >&5 8766 cat conftest.$ac_ext >&5
8764 ac_cv_lib_kstat_kstat_open=no 8767 ac_cv_lib_kstat_kstat_open=no
8765 fi 8768 fi
8766 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8769 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8767 LIBS=$ac_check_lib_save_LIBS 8770 LIBS=$ac_check_lib_save_LIBS
8768 fi 8771 fi
8769 echo "$as_me:8769: result: $ac_cv_lib_kstat_kstat_open" >&5 8772 echo "$as_me:8772: result: $ac_cv_lib_kstat_kstat_open" >&5
8770 echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6 8773 echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6
8771 if test $ac_cv_lib_kstat_kstat_open = yes; then 8774 if test $ac_cv_lib_kstat_kstat_open = yes; then
8772 cat >>confdefs.h <<EOF 8775 cat >>confdefs.h <<EOF
8773 #define HAVE_LIBKSTAT 1 8776 #define HAVE_LIBKSTAT 1
8774 EOF 8777 EOF
8782 # Some systems with -lutil have (and need) -lkvm as well, some do not. 8785 # Some systems with -lutil have (and need) -lkvm as well, some do not.
8783 # On Solaris, -lkvm requires nlist from -lelf, so check that first 8786 # On Solaris, -lkvm requires nlist from -lelf, so check that first
8784 # to get the right answer into the cache. 8787 # to get the right answer into the cache.
8785 # For kstat on solaris, we need libelf to force the definition of SVR4 below. 8788 # For kstat on solaris, we need libelf to force the definition of SVR4 below.
8786 if test $ac_have_func = no; then 8789 if test $ac_have_func = no; then
8787 echo "$as_me:8787: checking for elf_begin in -lelf" >&5 8790 echo "$as_me:8790: checking for elf_begin in -lelf" >&5
8788 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6 8791 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
8789 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then 8792 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
8790 echo $ECHO_N "(cached) $ECHO_C" >&6 8793 echo $ECHO_N "(cached) $ECHO_C" >&6
8791 else 8794 else
8792 ac_check_lib_save_LIBS=$LIBS 8795 ac_check_lib_save_LIBS=$LIBS
8793 LIBS="-lelf $LIBS" 8796 LIBS="-lelf $LIBS"
8794 cat >conftest.$ac_ext <<_ACEOF 8797 cat >conftest.$ac_ext <<_ACEOF
8795 #line 8795 "configure" 8798 #line 8798 "configure"
8796 #include "confdefs.h" 8799 #include "confdefs.h"
8797 8800
8798 /* Override any gcc2 internal prototype to avoid an error. */ 8801 /* Override any gcc2 internal prototype to avoid an error. */
8799 #ifdef __cplusplus 8802 #ifdef __cplusplus
8800 extern "C" 8803 extern "C"
8809 ; 8812 ;
8810 return 0; 8813 return 0;
8811 } 8814 }
8812 _ACEOF 8815 _ACEOF
8813 rm -f conftest.$ac_objext conftest$ac_exeext 8816 rm -f conftest.$ac_objext conftest$ac_exeext
8814 if { (eval echo "$as_me:8814: \"$ac_link\"") >&5 8817 if { (eval echo "$as_me:8817: \"$ac_link\"") >&5
8815 (eval $ac_link) 2>&5 8818 (eval $ac_link) 2>&5
8816 ac_status=$? 8819 ac_status=$?
8817 echo "$as_me:8817: \$? = $ac_status" >&5 8820 echo "$as_me:8820: \$? = $ac_status" >&5
8818 (exit $ac_status); } && 8821 (exit $ac_status); } &&
8819 { ac_try='test -s conftest$ac_exeext' 8822 { ac_try='test -s conftest$ac_exeext'
8820 { (eval echo "$as_me:8820: \"$ac_try\"") >&5 8823 { (eval echo "$as_me:8823: \"$ac_try\"") >&5
8821 (eval $ac_try) 2>&5 8824 (eval $ac_try) 2>&5
8822 ac_status=$? 8825 ac_status=$?
8823 echo "$as_me:8823: \$? = $ac_status" >&5 8826 echo "$as_me:8826: \$? = $ac_status" >&5
8824 (exit $ac_status); }; }; then 8827 (exit $ac_status); }; }; then
8825 ac_cv_lib_elf_elf_begin=yes 8828 ac_cv_lib_elf_elf_begin=yes
8826 else 8829 else
8827 echo "$as_me: failed program was:" >&5 8830 echo "$as_me: failed program was:" >&5
8828 cat conftest.$ac_ext >&5 8831 cat conftest.$ac_ext >&5
8829 ac_cv_lib_elf_elf_begin=no 8832 ac_cv_lib_elf_elf_begin=no
8830 fi 8833 fi
8831 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8834 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8832 LIBS=$ac_check_lib_save_LIBS 8835 LIBS=$ac_check_lib_save_LIBS
8833 fi 8836 fi
8834 echo "$as_me:8834: result: $ac_cv_lib_elf_elf_begin" >&5 8837 echo "$as_me:8837: result: $ac_cv_lib_elf_elf_begin" >&5
8835 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6 8838 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
8836 if test $ac_cv_lib_elf_elf_begin = yes; then 8839 if test $ac_cv_lib_elf_elf_begin = yes; then
8837 LIBS="-lelf $LIBS" 8840 LIBS="-lelf $LIBS"
8838 fi 8841 fi
8839 8842
8840 fi 8843 fi
8841 if test $ac_have_func = no; then 8844 if test $ac_have_func = no; then
8842 echo "$as_me:8842: checking for kvm_open in -lkvm" >&5 8845 echo "$as_me:8845: checking for kvm_open in -lkvm" >&5
8843 echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6 8846 echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6
8844 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then 8847 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then
8845 echo $ECHO_N "(cached) $ECHO_C" >&6 8848 echo $ECHO_N "(cached) $ECHO_C" >&6
8846 else 8849 else
8847 ac_check_lib_save_LIBS=$LIBS 8850 ac_check_lib_save_LIBS=$LIBS
8848 LIBS="-lkvm $LIBS" 8851 LIBS="-lkvm $LIBS"
8849 cat >conftest.$ac_ext <<_ACEOF 8852 cat >conftest.$ac_ext <<_ACEOF
8850 #line 8850 "configure" 8853 #line 8853 "configure"
8851 #include "confdefs.h" 8854 #include "confdefs.h"
8852 8855
8853 /* Override any gcc2 internal prototype to avoid an error. */ 8856 /* Override any gcc2 internal prototype to avoid an error. */
8854 #ifdef __cplusplus 8857 #ifdef __cplusplus
8855 extern "C" 8858 extern "C"
8864 ; 8867 ;
8865 return 0; 8868 return 0;
8866 } 8869 }
8867 _ACEOF 8870 _ACEOF
8868 rm -f conftest.$ac_objext conftest$ac_exeext 8871 rm -f conftest.$ac_objext conftest$ac_exeext
8869 if { (eval echo "$as_me:8869: \"$ac_link\"") >&5 8872 if { (eval echo "$as_me:8872: \"$ac_link\"") >&5
8870 (eval $ac_link) 2>&5 8873 (eval $ac_link) 2>&5
8871 ac_status=$? 8874 ac_status=$?
8872 echo "$as_me:8872: \$? = $ac_status" >&5 8875 echo "$as_me:8875: \$? = $ac_status" >&5
8873 (exit $ac_status); } && 8876 (exit $ac_status); } &&
8874 { ac_try='test -s conftest$ac_exeext' 8877 { ac_try='test -s conftest$ac_exeext'
8875 { (eval echo "$as_me:8875: \"$ac_try\"") >&5 8878 { (eval echo "$as_me:8878: \"$ac_try\"") >&5
8876 (eval $ac_try) 2>&5 8879 (eval $ac_try) 2>&5
8877 ac_status=$? 8880 ac_status=$?
8878 echo "$as_me:8878: \$? = $ac_status" >&5 8881 echo "$as_me:8881: \$? = $ac_status" >&5
8879 (exit $ac_status); }; }; then 8882 (exit $ac_status); }; }; then
8880 ac_cv_lib_kvm_kvm_open=yes 8883 ac_cv_lib_kvm_kvm_open=yes
8881 else 8884 else
8882 echo "$as_me: failed program was:" >&5 8885 echo "$as_me: failed program was:" >&5
8883 cat conftest.$ac_ext >&5 8886 cat conftest.$ac_ext >&5
8884 ac_cv_lib_kvm_kvm_open=no 8887 ac_cv_lib_kvm_kvm_open=no
8885 fi 8888 fi
8886 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8889 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8887 LIBS=$ac_check_lib_save_LIBS 8890 LIBS=$ac_check_lib_save_LIBS
8888 fi 8891 fi
8889 echo "$as_me:8889: result: $ac_cv_lib_kvm_kvm_open" >&5 8892 echo "$as_me:8892: result: $ac_cv_lib_kvm_kvm_open" >&5
8890 echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6 8893 echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6
8891 if test $ac_cv_lib_kvm_kvm_open = yes; then 8894 if test $ac_cv_lib_kvm_kvm_open = yes; then
8892 LIBS="-lkvm $LIBS" 8895 LIBS="-lkvm $LIBS"
8893 fi 8896 fi
8894 8897
8895 # Check for the 4.4BSD definition of getloadavg. 8898 # Check for the 4.4BSD definition of getloadavg.
8896 echo "$as_me:8896: checking for getloadavg in -lutil" >&5 8899 echo "$as_me:8899: checking for getloadavg in -lutil" >&5
8897 echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6 8900 echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6
8898 if test "${ac_cv_lib_util_getloadavg+set}" = set; then 8901 if test "${ac_cv_lib_util_getloadavg+set}" = set; then
8899 echo $ECHO_N "(cached) $ECHO_C" >&6 8902 echo $ECHO_N "(cached) $ECHO_C" >&6
8900 else 8903 else
8901 ac_check_lib_save_LIBS=$LIBS 8904 ac_check_lib_save_LIBS=$LIBS
8902 LIBS="-lutil $LIBS" 8905 LIBS="-lutil $LIBS"
8903 cat >conftest.$ac_ext <<_ACEOF 8906 cat >conftest.$ac_ext <<_ACEOF
8904 #line 8904 "configure" 8907 #line 8907 "configure"
8905 #include "confdefs.h" 8908 #include "confdefs.h"
8906 8909
8907 /* Override any gcc2 internal prototype to avoid an error. */ 8910 /* Override any gcc2 internal prototype to avoid an error. */
8908 #ifdef __cplusplus 8911 #ifdef __cplusplus
8909 extern "C" 8912 extern "C"
8918 ; 8921 ;
8919 return 0; 8922 return 0;
8920 } 8923 }
8921 _ACEOF 8924 _ACEOF
8922 rm -f conftest.$ac_objext conftest$ac_exeext 8925 rm -f conftest.$ac_objext conftest$ac_exeext
8923 if { (eval echo "$as_me:8923: \"$ac_link\"") >&5 8926 if { (eval echo "$as_me:8926: \"$ac_link\"") >&5
8924 (eval $ac_link) 2>&5 8927 (eval $ac_link) 2>&5
8925 ac_status=$? 8928 ac_status=$?
8926 echo "$as_me:8926: \$? = $ac_status" >&5 8929 echo "$as_me:8929: \$? = $ac_status" >&5
8927 (exit $ac_status); } && 8930 (exit $ac_status); } &&
8928 { ac_try='test -s conftest$ac_exeext' 8931 { ac_try='test -s conftest$ac_exeext'
8929 { (eval echo "$as_me:8929: \"$ac_try\"") >&5 8932 { (eval echo "$as_me:8932: \"$ac_try\"") >&5
8930 (eval $ac_try) 2>&5 8933 (eval $ac_try) 2>&5
8931 ac_status=$? 8934 ac_status=$?
8932 echo "$as_me:8932: \$? = $ac_status" >&5 8935 echo "$as_me:8935: \$? = $ac_status" >&5
8933 (exit $ac_status); }; }; then 8936 (exit $ac_status); }; }; then
8934 ac_cv_lib_util_getloadavg=yes 8937 ac_cv_lib_util_getloadavg=yes
8935 else 8938 else
8936 echo "$as_me: failed program was:" >&5 8939 echo "$as_me: failed program was:" >&5
8937 cat conftest.$ac_ext >&5 8940 cat conftest.$ac_ext >&5
8938 ac_cv_lib_util_getloadavg=no 8941 ac_cv_lib_util_getloadavg=no
8939 fi 8942 fi
8940 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8943 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8941 LIBS=$ac_check_lib_save_LIBS 8944 LIBS=$ac_check_lib_save_LIBS
8942 fi 8945 fi
8943 echo "$as_me:8943: result: $ac_cv_lib_util_getloadavg" >&5 8946 echo "$as_me:8946: result: $ac_cv_lib_util_getloadavg" >&5
8944 echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6 8947 echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6
8945 if test $ac_cv_lib_util_getloadavg = yes; then 8948 if test $ac_cv_lib_util_getloadavg = yes; then
8946 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes 8949 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes
8947 fi 8950 fi
8948 8951
8951 if test $ac_have_func = no; then 8954 if test $ac_have_func = no; then
8952 # There is a commonly available library for RS/6000 AIX. 8955 # There is a commonly available library for RS/6000 AIX.
8953 # Since it is not a standard part of AIX, it might be installed locally. 8956 # Since it is not a standard part of AIX, it might be installed locally.
8954 ac_getloadavg_LIBS=$LIBS 8957 ac_getloadavg_LIBS=$LIBS
8955 LIBS="-L/usr/local/lib $LIBS" 8958 LIBS="-L/usr/local/lib $LIBS"
8956 echo "$as_me:8956: checking for getloadavg in -lgetloadavg" >&5 8959 echo "$as_me:8959: checking for getloadavg in -lgetloadavg" >&5
8957 echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6 8960 echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6
8958 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then 8961 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then
8959 echo $ECHO_N "(cached) $ECHO_C" >&6 8962 echo $ECHO_N "(cached) $ECHO_C" >&6
8960 else 8963 else
8961 ac_check_lib_save_LIBS=$LIBS 8964 ac_check_lib_save_LIBS=$LIBS
8962 LIBS="-lgetloadavg $LIBS" 8965 LIBS="-lgetloadavg $LIBS"
8963 cat >conftest.$ac_ext <<_ACEOF 8966 cat >conftest.$ac_ext <<_ACEOF
8964 #line 8964 "configure" 8967 #line 8967 "configure"
8965 #include "confdefs.h" 8968 #include "confdefs.h"
8966 8969
8967 /* Override any gcc2 internal prototype to avoid an error. */ 8970 /* Override any gcc2 internal prototype to avoid an error. */
8968 #ifdef __cplusplus 8971 #ifdef __cplusplus
8969 extern "C" 8972 extern "C"
8978 ; 8981 ;
8979 return 0; 8982 return 0;
8980 } 8983 }
8981 _ACEOF 8984 _ACEOF
8982 rm -f conftest.$ac_objext conftest$ac_exeext 8985 rm -f conftest.$ac_objext conftest$ac_exeext
8983 if { (eval echo "$as_me:8983: \"$ac_link\"") >&5 8986 if { (eval echo "$as_me:8986: \"$ac_link\"") >&5
8984 (eval $ac_link) 2>&5 8987 (eval $ac_link) 2>&5
8985 ac_status=$? 8988 ac_status=$?
8986 echo "$as_me:8986: \$? = $ac_status" >&5 8989 echo "$as_me:8989: \$? = $ac_status" >&5
8987 (exit $ac_status); } && 8990 (exit $ac_status); } &&
8988 { ac_try='test -s conftest$ac_exeext' 8991 { ac_try='test -s conftest$ac_exeext'
8989 { (eval echo "$as_me:8989: \"$ac_try\"") >&5 8992 { (eval echo "$as_me:8992: \"$ac_try\"") >&5
8990 (eval $ac_try) 2>&5 8993 (eval $ac_try) 2>&5
8991 ac_status=$? 8994 ac_status=$?
8992 echo "$as_me:8992: \$? = $ac_status" >&5 8995 echo "$as_me:8995: \$? = $ac_status" >&5
8993 (exit $ac_status); }; }; then 8996 (exit $ac_status); }; }; then
8994 ac_cv_lib_getloadavg_getloadavg=yes 8997 ac_cv_lib_getloadavg_getloadavg=yes
8995 else 8998 else
8996 echo "$as_me: failed program was:" >&5 8999 echo "$as_me: failed program was:" >&5
8997 cat conftest.$ac_ext >&5 9000 cat conftest.$ac_ext >&5
8998 ac_cv_lib_getloadavg_getloadavg=no 9001 ac_cv_lib_getloadavg_getloadavg=no
8999 fi 9002 fi
9000 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9003 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9001 LIBS=$ac_check_lib_save_LIBS 9004 LIBS=$ac_check_lib_save_LIBS
9002 fi 9005 fi
9003 echo "$as_me:9003: result: $ac_cv_lib_getloadavg_getloadavg" >&5 9006 echo "$as_me:9006: result: $ac_cv_lib_getloadavg_getloadavg" >&5
9004 echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6 9007 echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6
9005 if test $ac_cv_lib_getloadavg_getloadavg = yes; then 9008 if test $ac_cv_lib_getloadavg_getloadavg = yes; then
9006 LIBS="-lgetloadavg $LIBS" 9009 LIBS="-lgetloadavg $LIBS"
9007 else 9010 else
9008 LIBS=$ac_getloadavg_LIBS 9011 LIBS=$ac_getloadavg_LIBS
9014 # otherwise set up the replacement function. 9017 # otherwise set up the replacement function.
9015 9018
9016 for ac_func in getloadavg 9019 for ac_func in getloadavg
9017 do 9020 do
9018 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9019 echo "$as_me:9019: checking for $ac_func" >&5 9022 echo "$as_me:9022: checking for $ac_func" >&5
9020 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9021 if eval "test \"\${$as_ac_var+set}\" = set"; then 9024 if eval "test \"\${$as_ac_var+set}\" = set"; then
9022 echo $ECHO_N "(cached) $ECHO_C" >&6 9025 echo $ECHO_N "(cached) $ECHO_C" >&6
9023 else 9026 else
9024 cat >conftest.$ac_ext <<_ACEOF 9027 cat >conftest.$ac_ext <<_ACEOF
9025 #line 9025 "configure" 9028 #line 9028 "configure"
9026 #include "confdefs.h" 9029 #include "confdefs.h"
9027 /* System header to define __stub macros and hopefully few prototypes, 9030 /* System header to define __stub macros and hopefully few prototypes,
9028 which can conflict with char $ac_func (); below. */ 9031 which can conflict with char $ac_func (); below. */
9029 #include <assert.h> 9032 #include <assert.h>
9030 /* Override any gcc2 internal prototype to avoid an error. */ 9033 /* Override any gcc2 internal prototype to avoid an error. */
9051 ; 9054 ;
9052 return 0; 9055 return 0;
9053 } 9056 }
9054 _ACEOF 9057 _ACEOF
9055 rm -f conftest.$ac_objext conftest$ac_exeext 9058 rm -f conftest.$ac_objext conftest$ac_exeext
9056 if { (eval echo "$as_me:9056: \"$ac_link\"") >&5 9059 if { (eval echo "$as_me:9059: \"$ac_link\"") >&5
9057 (eval $ac_link) 2>&5 9060 (eval $ac_link) 2>&5
9058 ac_status=$? 9061 ac_status=$?
9059 echo "$as_me:9059: \$? = $ac_status" >&5 9062 echo "$as_me:9062: \$? = $ac_status" >&5
9060 (exit $ac_status); } && 9063 (exit $ac_status); } &&
9061 { ac_try='test -s conftest$ac_exeext' 9064 { ac_try='test -s conftest$ac_exeext'
9062 { (eval echo "$as_me:9062: \"$ac_try\"") >&5 9065 { (eval echo "$as_me:9065: \"$ac_try\"") >&5
9063 (eval $ac_try) 2>&5 9066 (eval $ac_try) 2>&5
9064 ac_status=$? 9067 ac_status=$?
9065 echo "$as_me:9065: \$? = $ac_status" >&5 9068 echo "$as_me:9068: \$? = $ac_status" >&5
9066 (exit $ac_status); }; }; then 9069 (exit $ac_status); }; }; then
9067 eval "$as_ac_var=yes" 9070 eval "$as_ac_var=yes"
9068 else 9071 else
9069 echo "$as_me: failed program was:" >&5 9072 echo "$as_me: failed program was:" >&5
9070 cat conftest.$ac_ext >&5 9073 cat conftest.$ac_ext >&5
9071 eval "$as_ac_var=no" 9074 eval "$as_ac_var=no"
9072 fi 9075 fi
9073 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9076 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9074 fi 9077 fi
9075 echo "$as_me:9075: result: `eval echo '${'$as_ac_var'}'`" >&5 9078 echo "$as_me:9078: result: `eval echo '${'$as_ac_var'}'`" >&5
9076 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 9079 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9077 if test `eval echo '${'$as_ac_var'}'` = yes; then 9080 if test `eval echo '${'$as_ac_var'}'` = yes; then
9078 cat >>confdefs.h <<EOF 9081 cat >>confdefs.h <<EOF
9079 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 9082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9080 EOF 9083 EOF
9086 #define C_GETLOADAVG 1 9089 #define C_GETLOADAVG 1
9087 EOF 9090 EOF
9088 9091
9089 # Figure out what our getloadavg.c needs. 9092 # Figure out what our getloadavg.c needs.
9090 ac_have_func=no 9093 ac_have_func=no
9091 echo "$as_me:9091: checking for sys/dg_sys_info.h" >&5 9094 echo "$as_me:9094: checking for sys/dg_sys_info.h" >&5
9092 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6 9095 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
9093 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then 9096 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
9094 echo $ECHO_N "(cached) $ECHO_C" >&6 9097 echo $ECHO_N "(cached) $ECHO_C" >&6
9095 else 9098 else
9096 cat >conftest.$ac_ext <<_ACEOF 9099 cat >conftest.$ac_ext <<_ACEOF
9097 #line 9097 "configure" 9100 #line 9100 "configure"
9098 #include "confdefs.h" 9101 #include "confdefs.h"
9099 #include <sys/dg_sys_info.h> 9102 #include <sys/dg_sys_info.h>
9100 _ACEOF 9103 _ACEOF
9101 if { (eval echo "$as_me:9101: \"$ac_cpp conftest.$ac_ext\"") >&5 9104 if { (eval echo "$as_me:9104: \"$ac_cpp conftest.$ac_ext\"") >&5
9102 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9105 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9103 ac_status=$? 9106 ac_status=$?
9104 egrep -v '^ *\+' conftest.er1 >conftest.err 9107 egrep -v '^ *\+' conftest.er1 >conftest.err
9105 rm -f conftest.er1 9108 rm -f conftest.er1
9106 cat conftest.err >&5 9109 cat conftest.err >&5
9107 echo "$as_me:9107: \$? = $ac_status" >&5 9110 echo "$as_me:9110: \$? = $ac_status" >&5
9108 (exit $ac_status); } >/dev/null; then 9111 (exit $ac_status); } >/dev/null; then
9109 if test -s conftest.err; then 9112 if test -s conftest.err; then
9110 ac_cpp_err=$ac_c_preproc_warn_flag 9113 ac_cpp_err=$ac_c_preproc_warn_flag
9111 else 9114 else
9112 ac_cpp_err= 9115 ac_cpp_err=
9121 cat conftest.$ac_ext >&5 9124 cat conftest.$ac_ext >&5
9122 ac_cv_header_sys_dg_sys_info_h=no 9125 ac_cv_header_sys_dg_sys_info_h=no
9123 fi 9126 fi
9124 rm -f conftest.err conftest.$ac_ext 9127 rm -f conftest.err conftest.$ac_ext
9125 fi 9128 fi
9126 echo "$as_me:9126: result: $ac_cv_header_sys_dg_sys_info_h" >&5 9129 echo "$as_me:9129: result: $ac_cv_header_sys_dg_sys_info_h" >&5
9127 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6 9130 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
9128 if test $ac_cv_header_sys_dg_sys_info_h = yes; then 9131 if test $ac_cv_header_sys_dg_sys_info_h = yes; then
9129 ac_have_func=yes 9132 ac_have_func=yes
9130 9133
9131 cat >>confdefs.h <<\EOF 9134 cat >>confdefs.h <<\EOF
9132 #define DGUX 1 9135 #define DGUX 1
9133 EOF 9136 EOF
9134 9137
9135 echo "$as_me:9135: checking for dg_sys_info in -ldgc" >&5 9138 echo "$as_me:9138: checking for dg_sys_info in -ldgc" >&5
9136 echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6 9139 echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6
9137 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then 9140 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then
9138 echo $ECHO_N "(cached) $ECHO_C" >&6 9141 echo $ECHO_N "(cached) $ECHO_C" >&6
9139 else 9142 else
9140 ac_check_lib_save_LIBS=$LIBS 9143 ac_check_lib_save_LIBS=$LIBS
9141 LIBS="-ldgc $LIBS" 9144 LIBS="-ldgc $LIBS"
9142 cat >conftest.$ac_ext <<_ACEOF 9145 cat >conftest.$ac_ext <<_ACEOF
9143 #line 9143 "configure" 9146 #line 9146 "configure"
9144 #include "confdefs.h" 9147 #include "confdefs.h"
9145 9148
9146 /* Override any gcc2 internal prototype to avoid an error. */ 9149 /* Override any gcc2 internal prototype to avoid an error. */
9147 #ifdef __cplusplus 9150 #ifdef __cplusplus
9148 extern "C" 9151 extern "C"
9157 ; 9160 ;
9158 return 0; 9161 return 0;
9159 } 9162 }
9160 _ACEOF 9163 _ACEOF
9161 rm -f conftest.$ac_objext conftest$ac_exeext 9164 rm -f conftest.$ac_objext conftest$ac_exeext
9162 if { (eval echo "$as_me:9162: \"$ac_link\"") >&5 9165 if { (eval echo "$as_me:9165: \"$ac_link\"") >&5
9163 (eval $ac_link) 2>&5 9166 (eval $ac_link) 2>&5
9164 ac_status=$? 9167 ac_status=$?
9165 echo "$as_me:9165: \$? = $ac_status" >&5 9168 echo "$as_me:9168: \$? = $ac_status" >&5
9166 (exit $ac_status); } && 9169 (exit $ac_status); } &&
9167 { ac_try='test -s conftest$ac_exeext' 9170 { ac_try='test -s conftest$ac_exeext'
9168 { (eval echo "$as_me:9168: \"$ac_try\"") >&5 9171 { (eval echo "$as_me:9171: \"$ac_try\"") >&5
9169 (eval $ac_try) 2>&5 9172 (eval $ac_try) 2>&5
9170 ac_status=$? 9173 ac_status=$?
9171 echo "$as_me:9171: \$? = $ac_status" >&5 9174 echo "$as_me:9174: \$? = $ac_status" >&5
9172 (exit $ac_status); }; }; then 9175 (exit $ac_status); }; }; then
9173 ac_cv_lib_dgc_dg_sys_info=yes 9176 ac_cv_lib_dgc_dg_sys_info=yes
9174 else 9177 else
9175 echo "$as_me: failed program was:" >&5 9178 echo "$as_me: failed program was:" >&5
9176 cat conftest.$ac_ext >&5 9179 cat conftest.$ac_ext >&5
9177 ac_cv_lib_dgc_dg_sys_info=no 9180 ac_cv_lib_dgc_dg_sys_info=no
9178 fi 9181 fi
9179 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9182 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9180 LIBS=$ac_check_lib_save_LIBS 9183 LIBS=$ac_check_lib_save_LIBS
9181 fi 9184 fi
9182 echo "$as_me:9182: result: $ac_cv_lib_dgc_dg_sys_info" >&5 9185 echo "$as_me:9185: result: $ac_cv_lib_dgc_dg_sys_info" >&5
9183 echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6 9186 echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6
9184 if test $ac_cv_lib_dgc_dg_sys_info = yes; then 9187 if test $ac_cv_lib_dgc_dg_sys_info = yes; then
9185 cat >>confdefs.h <<EOF 9188 cat >>confdefs.h <<EOF
9186 #define HAVE_LIBDGC 1 9189 #define HAVE_LIBDGC 1
9187 EOF 9190 EOF
9190 9193
9191 fi 9194 fi
9192 9195
9193 fi 9196 fi
9194 9197
9195 echo "$as_me:9195: checking for locale.h" >&5 9198 echo "$as_me:9198: checking for locale.h" >&5
9196 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6 9199 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
9197 if test "${ac_cv_header_locale_h+set}" = set; then 9200 if test "${ac_cv_header_locale_h+set}" = set; then
9198 echo $ECHO_N "(cached) $ECHO_C" >&6 9201 echo $ECHO_N "(cached) $ECHO_C" >&6
9199 else 9202 else
9200 cat >conftest.$ac_ext <<_ACEOF 9203 cat >conftest.$ac_ext <<_ACEOF
9201 #line 9201 "configure" 9204 #line 9204 "configure"
9202 #include "confdefs.h" 9205 #include "confdefs.h"
9203 #include <locale.h> 9206 #include <locale.h>
9204 _ACEOF 9207 _ACEOF
9205 if { (eval echo "$as_me:9205: \"$ac_cpp conftest.$ac_ext\"") >&5 9208 if { (eval echo "$as_me:9208: \"$ac_cpp conftest.$ac_ext\"") >&5
9206 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9209 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9207 ac_status=$? 9210 ac_status=$?
9208 egrep -v '^ *\+' conftest.er1 >conftest.err 9211 egrep -v '^ *\+' conftest.er1 >conftest.err
9209 rm -f conftest.er1 9212 rm -f conftest.er1
9210 cat conftest.err >&5 9213 cat conftest.err >&5
9211 echo "$as_me:9211: \$? = $ac_status" >&5 9214 echo "$as_me:9214: \$? = $ac_status" >&5
9212 (exit $ac_status); } >/dev/null; then 9215 (exit $ac_status); } >/dev/null; then
9213 if test -s conftest.err; then 9216 if test -s conftest.err; then
9214 ac_cpp_err=$ac_c_preproc_warn_flag 9217 ac_cpp_err=$ac_c_preproc_warn_flag
9215 else 9218 else
9216 ac_cpp_err= 9219 ac_cpp_err=
9225 cat conftest.$ac_ext >&5 9228 cat conftest.$ac_ext >&5
9226 ac_cv_header_locale_h=no 9229 ac_cv_header_locale_h=no
9227 fi 9230 fi
9228 rm -f conftest.err conftest.$ac_ext 9231 rm -f conftest.err conftest.$ac_ext
9229 fi 9232 fi
9230 echo "$as_me:9230: result: $ac_cv_header_locale_h" >&5 9233 echo "$as_me:9233: result: $ac_cv_header_locale_h" >&5
9231 echo "${ECHO_T}$ac_cv_header_locale_h" >&6 9234 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
9232 9235
9233 for ac_func in setlocale 9236 for ac_func in setlocale
9234 do 9237 do
9235 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9238 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9236 echo "$as_me:9236: checking for $ac_func" >&5 9239 echo "$as_me:9239: checking for $ac_func" >&5
9237 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9240 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9238 if eval "test \"\${$as_ac_var+set}\" = set"; then 9241 if eval "test \"\${$as_ac_var+set}\" = set"; then
9239 echo $ECHO_N "(cached) $ECHO_C" >&6 9242 echo $ECHO_N "(cached) $ECHO_C" >&6
9240 else 9243 else
9241 cat >conftest.$ac_ext <<_ACEOF 9244 cat >conftest.$ac_ext <<_ACEOF
9242 #line 9242 "configure" 9245 #line 9245 "configure"
9243 #include "confdefs.h" 9246 #include "confdefs.h"
9244 /* System header to define __stub macros and hopefully few prototypes, 9247 /* System header to define __stub macros and hopefully few prototypes,
9245 which can conflict with char $ac_func (); below. */ 9248 which can conflict with char $ac_func (); below. */
9246 #include <assert.h> 9249 #include <assert.h>
9247 /* Override any gcc2 internal prototype to avoid an error. */ 9250 /* Override any gcc2 internal prototype to avoid an error. */
9268 ; 9271 ;
9269 return 0; 9272 return 0;
9270 } 9273 }
9271 _ACEOF 9274 _ACEOF
9272 rm -f conftest.$ac_objext conftest$ac_exeext 9275 rm -f conftest.$ac_objext conftest$ac_exeext
9273 if { (eval echo "$as_me:9273: \"$ac_link\"") >&5 9276 if { (eval echo "$as_me:9276: \"$ac_link\"") >&5
9274 (eval $ac_link) 2>&5 9277 (eval $ac_link) 2>&5
9275 ac_status=$? 9278 ac_status=$?
9276 echo "$as_me:9276: \$? = $ac_status" >&5 9279 echo "$as_me:9279: \$? = $ac_status" >&5
9277 (exit $ac_status); } && 9280 (exit $ac_status); } &&
9278 { ac_try='test -s conftest$ac_exeext' 9281 { ac_try='test -s conftest$ac_exeext'
9279 { (eval echo "$as_me:9279: \"$ac_try\"") >&5 9282 { (eval echo "$as_me:9282: \"$ac_try\"") >&5
9280 (eval $ac_try) 2>&5 9283 (eval $ac_try) 2>&5
9281 ac_status=$? 9284 ac_status=$?
9282 echo "$as_me:9282: \$? = $ac_status" >&5 9285 echo "$as_me:9285: \$? = $ac_status" >&5
9283 (exit $ac_status); }; }; then 9286 (exit $ac_status); }; }; then
9284 eval "$as_ac_var=yes" 9287 eval "$as_ac_var=yes"
9285 else 9288 else
9286 echo "$as_me: failed program was:" >&5 9289 echo "$as_me: failed program was:" >&5
9287 cat conftest.$ac_ext >&5 9290 cat conftest.$ac_ext >&5
9288 eval "$as_ac_var=no" 9291 eval "$as_ac_var=no"
9289 fi 9292 fi
9290 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9293 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9291 fi 9294 fi
9292 echo "$as_me:9292: result: `eval echo '${'$as_ac_var'}'`" >&5 9295 echo "$as_me:9295: result: `eval echo '${'$as_ac_var'}'`" >&5
9293 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 9296 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9294 if test `eval echo '${'$as_ac_var'}'` = yes; then 9297 if test `eval echo '${'$as_ac_var'}'` = yes; then
9295 cat >>confdefs.h <<EOF 9298 cat >>confdefs.h <<EOF
9296 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 9299 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9297 EOF 9300 EOF
9310 EOF 9313 EOF
9311 9314
9312 fi 9315 fi
9313 9316
9314 if test $ac_have_func = no; then 9317 if test $ac_have_func = no; then
9315 echo "$as_me:9315: checking for inq_stats/cpustats.h" >&5 9318 echo "$as_me:9318: checking for inq_stats/cpustats.h" >&5
9316 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6 9319 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
9317 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then 9320 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
9318 echo $ECHO_N "(cached) $ECHO_C" >&6 9321 echo $ECHO_N "(cached) $ECHO_C" >&6
9319 else 9322 else
9320 cat >conftest.$ac_ext <<_ACEOF 9323 cat >conftest.$ac_ext <<_ACEOF
9321 #line 9321 "configure" 9324 #line 9324 "configure"
9322 #include "confdefs.h" 9325 #include "confdefs.h"
9323 #include <inq_stats/cpustats.h> 9326 #include <inq_stats/cpustats.h>
9324 _ACEOF 9327 _ACEOF
9325 if { (eval echo "$as_me:9325: \"$ac_cpp conftest.$ac_ext\"") >&5 9328 if { (eval echo "$as_me:9328: \"$ac_cpp conftest.$ac_ext\"") >&5
9326 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9329 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9327 ac_status=$? 9330 ac_status=$?
9328 egrep -v '^ *\+' conftest.er1 >conftest.err 9331 egrep -v '^ *\+' conftest.er1 >conftest.err
9329 rm -f conftest.er1 9332 rm -f conftest.er1
9330 cat conftest.err >&5 9333 cat conftest.err >&5
9331 echo "$as_me:9331: \$? = $ac_status" >&5 9334 echo "$as_me:9334: \$? = $ac_status" >&5
9332 (exit $ac_status); } >/dev/null; then 9335 (exit $ac_status); } >/dev/null; then
9333 if test -s conftest.err; then 9336 if test -s conftest.err; then
9334 ac_cpp_err=$ac_c_preproc_warn_flag 9337 ac_cpp_err=$ac_c_preproc_warn_flag
9335 else 9338 else
9336 ac_cpp_err= 9339 ac_cpp_err=
9345 cat conftest.$ac_ext >&5 9348 cat conftest.$ac_ext >&5
9346 ac_cv_header_inq_stats_cpustats_h=no 9349 ac_cv_header_inq_stats_cpustats_h=no
9347 fi 9350 fi
9348 rm -f conftest.err conftest.$ac_ext 9351 rm -f conftest.err conftest.$ac_ext
9349 fi 9352 fi
9350 echo "$as_me:9350: result: $ac_cv_header_inq_stats_cpustats_h" >&5 9353 echo "$as_me:9353: result: $ac_cv_header_inq_stats_cpustats_h" >&5
9351 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6 9354 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
9352 if test $ac_cv_header_inq_stats_cpustats_h = yes; then 9355 if test $ac_cv_header_inq_stats_cpustats_h = yes; then
9353 ac_have_func=yes 9356 ac_have_func=yes
9354 9357
9355 cat >>confdefs.h <<\EOF 9358 cat >>confdefs.h <<\EOF
9363 fi 9366 fi
9364 9367
9365 fi 9368 fi
9366 9369
9367 if test $ac_have_func = no; then 9370 if test $ac_have_func = no; then
9368 echo "$as_me:9368: checking for sys/cpustats.h" >&5 9371 echo "$as_me:9371: checking for sys/cpustats.h" >&5
9369 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6 9372 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
9370 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then 9373 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
9371 echo $ECHO_N "(cached) $ECHO_C" >&6 9374 echo $ECHO_N "(cached) $ECHO_C" >&6
9372 else 9375 else
9373 cat >conftest.$ac_ext <<_ACEOF 9376 cat >conftest.$ac_ext <<_ACEOF
9374 #line 9374 "configure" 9377 #line 9377 "configure"
9375 #include "confdefs.h" 9378 #include "confdefs.h"
9376 #include <sys/cpustats.h> 9379 #include <sys/cpustats.h>
9377 _ACEOF 9380 _ACEOF
9378 if { (eval echo "$as_me:9378: \"$ac_cpp conftest.$ac_ext\"") >&5 9381 if { (eval echo "$as_me:9381: \"$ac_cpp conftest.$ac_ext\"") >&5
9379 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9382 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9380 ac_status=$? 9383 ac_status=$?
9381 egrep -v '^ *\+' conftest.er1 >conftest.err 9384 egrep -v '^ *\+' conftest.er1 >conftest.err
9382 rm -f conftest.er1 9385 rm -f conftest.er1
9383 cat conftest.err >&5 9386 cat conftest.err >&5
9384 echo "$as_me:9384: \$? = $ac_status" >&5 9387 echo "$as_me:9387: \$? = $ac_status" >&5
9385 (exit $ac_status); } >/dev/null; then 9388 (exit $ac_status); } >/dev/null; then
9386 if test -s conftest.err; then 9389 if test -s conftest.err; then
9387 ac_cpp_err=$ac_c_preproc_warn_flag 9390 ac_cpp_err=$ac_c_preproc_warn_flag
9388 else 9391 else
9389 ac_cpp_err= 9392 ac_cpp_err=
9398 cat conftest.$ac_ext >&5 9401 cat conftest.$ac_ext >&5
9399 ac_cv_header_sys_cpustats_h=no 9402 ac_cv_header_sys_cpustats_h=no
9400 fi 9403 fi
9401 rm -f conftest.err conftest.$ac_ext 9404 rm -f conftest.err conftest.$ac_ext
9402 fi 9405 fi
9403 echo "$as_me:9403: result: $ac_cv_header_sys_cpustats_h" >&5 9406 echo "$as_me:9406: result: $ac_cv_header_sys_cpustats_h" >&5
9404 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6 9407 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
9405 if test $ac_cv_header_sys_cpustats_h = yes; then 9408 if test $ac_cv_header_sys_cpustats_h = yes; then
9406 ac_have_func=yes; cat >>confdefs.h <<\EOF 9409 ac_have_func=yes; cat >>confdefs.h <<\EOF
9407 #define UMAX 1 9410 #define UMAX 1
9408 EOF 9411 EOF
9414 if test $ac_have_func = no; then 9417 if test $ac_have_func = no; then
9415 9418
9416 for ac_header in mach/mach.h 9419 for ac_header in mach/mach.h
9417 do 9420 do
9418 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 9421 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9419 echo "$as_me:9419: checking for $ac_header" >&5 9422 echo "$as_me:9422: checking for $ac_header" >&5
9420 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 9423 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9421 if eval "test \"\${$as_ac_Header+set}\" = set"; then 9424 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9422 echo $ECHO_N "(cached) $ECHO_C" >&6 9425 echo $ECHO_N "(cached) $ECHO_C" >&6
9423 else 9426 else
9424 cat >conftest.$ac_ext <<_ACEOF 9427 cat >conftest.$ac_ext <<_ACEOF
9425 #line 9425 "configure" 9428 #line 9428 "configure"
9426 #include "confdefs.h" 9429 #include "confdefs.h"
9427 #include <$ac_header> 9430 #include <$ac_header>
9428 _ACEOF 9431 _ACEOF
9429 if { (eval echo "$as_me:9429: \"$ac_cpp conftest.$ac_ext\"") >&5 9432 if { (eval echo "$as_me:9432: \"$ac_cpp conftest.$ac_ext\"") >&5
9430 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9433 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9431 ac_status=$? 9434 ac_status=$?
9432 egrep -v '^ *\+' conftest.er1 >conftest.err 9435 egrep -v '^ *\+' conftest.er1 >conftest.err
9433 rm -f conftest.er1 9436 rm -f conftest.er1
9434 cat conftest.err >&5 9437 cat conftest.err >&5
9435 echo "$as_me:9435: \$? = $ac_status" >&5 9438 echo "$as_me:9438: \$? = $ac_status" >&5
9436 (exit $ac_status); } >/dev/null; then 9439 (exit $ac_status); } >/dev/null; then
9437 if test -s conftest.err; then 9440 if test -s conftest.err; then
9438 ac_cpp_err=$ac_c_preproc_warn_flag 9441 ac_cpp_err=$ac_c_preproc_warn_flag
9439 else 9442 else
9440 ac_cpp_err= 9443 ac_cpp_err=
9449 cat conftest.$ac_ext >&5 9452 cat conftest.$ac_ext >&5
9450 eval "$as_ac_Header=no" 9453 eval "$as_ac_Header=no"
9451 fi 9454 fi
9452 rm -f conftest.err conftest.$ac_ext 9455 rm -f conftest.err conftest.$ac_ext
9453 fi 9456 fi
9454 echo "$as_me:9454: result: `eval echo '${'$as_ac_Header'}'`" >&5 9457 echo "$as_me:9457: result: `eval echo '${'$as_ac_Header'}'`" >&5
9455 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 9458 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9456 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9459 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9457 cat >>confdefs.h <<EOF 9460 cat >>confdefs.h <<EOF
9458 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 9461 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9459 EOF 9462 EOF
9464 fi 9467 fi
9465 9468
9466 for ac_header in nlist.h 9469 for ac_header in nlist.h
9467 do 9470 do
9468 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 9471 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9469 echo "$as_me:9469: checking for $ac_header" >&5 9472 echo "$as_me:9472: checking for $ac_header" >&5
9470 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 9473 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9471 if eval "test \"\${$as_ac_Header+set}\" = set"; then 9474 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9472 echo $ECHO_N "(cached) $ECHO_C" >&6 9475 echo $ECHO_N "(cached) $ECHO_C" >&6
9473 else 9476 else
9474 cat >conftest.$ac_ext <<_ACEOF 9477 cat >conftest.$ac_ext <<_ACEOF
9475 #line 9475 "configure" 9478 #line 9478 "configure"
9476 #include "confdefs.h" 9479 #include "confdefs.h"
9477 #include <$ac_header> 9480 #include <$ac_header>
9478 _ACEOF 9481 _ACEOF
9479 if { (eval echo "$as_me:9479: \"$ac_cpp conftest.$ac_ext\"") >&5 9482 if { (eval echo "$as_me:9482: \"$ac_cpp conftest.$ac_ext\"") >&5
9480 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9483 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9481 ac_status=$? 9484 ac_status=$?
9482 egrep -v '^ *\+' conftest.er1 >conftest.err 9485 egrep -v '^ *\+' conftest.er1 >conftest.err
9483 rm -f conftest.er1 9486 rm -f conftest.er1
9484 cat conftest.err >&5 9487 cat conftest.err >&5
9485 echo "$as_me:9485: \$? = $ac_status" >&5 9488 echo "$as_me:9488: \$? = $ac_status" >&5
9486 (exit $ac_status); } >/dev/null; then 9489 (exit $ac_status); } >/dev/null; then
9487 if test -s conftest.err; then 9490 if test -s conftest.err; then
9488 ac_cpp_err=$ac_c_preproc_warn_flag 9491 ac_cpp_err=$ac_c_preproc_warn_flag
9489 else 9492 else
9490 ac_cpp_err= 9493 ac_cpp_err=
9499 cat conftest.$ac_ext >&5 9502 cat conftest.$ac_ext >&5
9500 eval "$as_ac_Header=no" 9503 eval "$as_ac_Header=no"
9501 fi 9504 fi
9502 rm -f conftest.err conftest.$ac_ext 9505 rm -f conftest.err conftest.$ac_ext
9503 fi 9506 fi
9504 echo "$as_me:9504: result: `eval echo '${'$as_ac_Header'}'`" >&5 9507 echo "$as_me:9507: result: `eval echo '${'$as_ac_Header'}'`" >&5
9505 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 9508 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9506 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9509 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9507 cat >>confdefs.h <<EOF 9510 cat >>confdefs.h <<EOF
9508 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 9511 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9509 EOF 9512 EOF
9510 echo "$as_me:9510: checking for struct nlist.n_un.n_name" >&5 9513 echo "$as_me:9513: checking for struct nlist.n_un.n_name" >&5
9511 echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6 9514 echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6
9512 if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then 9515 if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then
9513 echo $ECHO_N "(cached) $ECHO_C" >&6 9516 echo $ECHO_N "(cached) $ECHO_C" >&6
9514 else 9517 else
9515 cat >conftest.$ac_ext <<_ACEOF 9518 cat >conftest.$ac_ext <<_ACEOF
9516 #line 9516 "configure" 9519 #line 9519 "configure"
9517 #include "confdefs.h" 9520 #include "confdefs.h"
9518 #include <nlist.h> 9521 #include <nlist.h>
9519 9522
9520 int 9523 int
9521 main () 9524 main ()
9526 ; 9529 ;
9527 return 0; 9530 return 0;
9528 } 9531 }
9529 _ACEOF 9532 _ACEOF
9530 rm -f conftest.$ac_objext 9533 rm -f conftest.$ac_objext
9531 if { (eval echo "$as_me:9531: \"$ac_compile\"") >&5 9534 if { (eval echo "$as_me:9534: \"$ac_compile\"") >&5
9532 (eval $ac_compile) 2>&5 9535 (eval $ac_compile) 2>&5
9533 ac_status=$? 9536 ac_status=$?
9534 echo "$as_me:9534: \$? = $ac_status" >&5 9537 echo "$as_me:9537: \$? = $ac_status" >&5
9535 (exit $ac_status); } && 9538 (exit $ac_status); } &&
9536 { ac_try='test -s conftest.$ac_objext' 9539 { ac_try='test -s conftest.$ac_objext'
9537 { (eval echo "$as_me:9537: \"$ac_try\"") >&5 9540 { (eval echo "$as_me:9540: \"$ac_try\"") >&5
9538 (eval $ac_try) 2>&5 9541 (eval $ac_try) 2>&5
9539 ac_status=$? 9542 ac_status=$?
9540 echo "$as_me:9540: \$? = $ac_status" >&5 9543 echo "$as_me:9543: \$? = $ac_status" >&5
9541 (exit $ac_status); }; }; then 9544 (exit $ac_status); }; }; then
9542 ac_cv_member_struct_nlist_n_un_n_name=yes 9545 ac_cv_member_struct_nlist_n_un_n_name=yes
9543 else 9546 else
9544 echo "$as_me: failed program was:" >&5 9547 echo "$as_me: failed program was:" >&5
9545 cat conftest.$ac_ext >&5 9548 cat conftest.$ac_ext >&5
9546 ac_cv_member_struct_nlist_n_un_n_name=no 9549 ac_cv_member_struct_nlist_n_un_n_name=no
9547 fi 9550 fi
9548 rm -f conftest.$ac_objext conftest.$ac_ext 9551 rm -f conftest.$ac_objext conftest.$ac_ext
9549 fi 9552 fi
9550 echo "$as_me:9550: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5 9553 echo "$as_me:9553: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5
9551 echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6 9554 echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6
9552 if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then 9555 if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then
9553 9556
9554 cat >>confdefs.h <<EOF 9557 cat >>confdefs.h <<EOF
9555 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1 9558 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1
9566 9569
9567 fi 9570 fi
9568 done 9571 done
9569 9572
9570 # Some definitions of getloadavg require that the program be installed setgid. 9573 # Some definitions of getloadavg require that the program be installed setgid.
9571 echo "$as_me:9571: checking whether getloadavg requires setgid" >&5 9574 echo "$as_me:9574: checking whether getloadavg requires setgid" >&5
9572 echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6 9575 echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6
9573 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then 9576 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then
9574 echo $ECHO_N "(cached) $ECHO_C" >&6 9577 echo $ECHO_N "(cached) $ECHO_C" >&6
9575 else 9578 else
9576 cat >conftest.$ac_ext <<_ACEOF 9579 cat >conftest.$ac_ext <<_ACEOF
9577 #line 9577 "configure" 9580 #line 9580 "configure"
9578 #include "confdefs.h" 9581 #include "confdefs.h"
9579 #include "$srcdir/getloadavg.c" 9582 #include "$srcdir/getloadavg.c"
9580 #ifdef LDAV_PRIVILEGED 9583 #ifdef LDAV_PRIVILEGED
9581 Yowza Am I SETGID yet 9584 Yowza Am I SETGID yet
9582 #endif 9585 #endif
9588 ac_cv_func_getloadavg_setgid=no 9591 ac_cv_func_getloadavg_setgid=no
9589 fi 9592 fi
9590 rm -f conftest* 9593 rm -f conftest*
9591 9594
9592 fi 9595 fi
9593 echo "$as_me:9593: result: $ac_cv_func_getloadavg_setgid" >&5 9596 echo "$as_me:9596: result: $ac_cv_func_getloadavg_setgid" >&5
9594 echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6 9597 echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6
9595 if test $ac_cv_func_getloadavg_setgid = yes; then 9598 if test $ac_cv_func_getloadavg_setgid = yes; then
9596 NEED_SETGID=true 9599 NEED_SETGID=true
9597 9600
9598 cat >>confdefs.h <<\EOF 9601 cat >>confdefs.h <<\EOF
9602 else 9605 else
9603 NEED_SETGID=false 9606 NEED_SETGID=false
9604 fi 9607 fi
9605 9608
9606 if test $ac_cv_func_getloadavg_setgid = yes; then 9609 if test $ac_cv_func_getloadavg_setgid = yes; then
9607 echo "$as_me:9607: checking group of /dev/kmem" >&5 9610 echo "$as_me:9610: checking group of /dev/kmem" >&5
9608 echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6 9611 echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6
9609 if test "${ac_cv_group_kmem+set}" = set; then 9612 if test "${ac_cv_group_kmem+set}" = set; then
9610 echo $ECHO_N "(cached) $ECHO_C" >&6 9613 echo $ECHO_N "(cached) $ECHO_C" >&6
9611 else 9614 else
9612 # On Solaris, /dev/kmem is a symlink. Get info on the real file. 9615 # On Solaris, /dev/kmem is a symlink. Get info on the real file.
9617 | sed -ne 's/[ ][ ]*/ /g; 9620 | sed -ne 's/[ ][ ]*/ /g;
9618 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/; 9621 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/;
9619 / /s/.* //;p;'` 9622 / /s/.* //;p;'`
9620 9623
9621 fi 9624 fi
9622 echo "$as_me:9622: result: $ac_cv_group_kmem" >&5 9625 echo "$as_me:9625: result: $ac_cv_group_kmem" >&5
9623 echo "${ECHO_T}$ac_cv_group_kmem" >&6 9626 echo "${ECHO_T}$ac_cv_group_kmem" >&6
9624 KMEM_GROUP=$ac_cv_group_kmem 9627 KMEM_GROUP=$ac_cv_group_kmem
9625 fi 9628 fi
9626 if test "x$ac_save_LIBS" = x; then 9629 if test "x$ac_save_LIBS" = x; then
9627 GETLOADAVG_LIBS=$LIBS 9630 GETLOADAVG_LIBS=$LIBS
9628 else 9631 else
9629 GETLOADAVG_LIBS=`echo "$LIBS" | sed "s!$ac_save_LIBS!!"` 9632 GETLOADAVG_LIBS=`echo "$LIBS" | sed "s!$ac_save_LIBS!!"`
9630 fi 9633 fi
9631 LIBS=$ac_save_LIBS 9634 LIBS=$ac_save_LIBS
9632 9635
9633 echo "$as_me:9633: checking for _LARGEFILE_SOURCE value needed for large files" >&5 9636 echo "$as_me:9636: checking for _LARGEFILE_SOURCE value needed for large files" >&5
9634 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6 9637 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
9635 if test "${ac_cv_sys_largefile_source+set}" = set; then 9638 if test "${ac_cv_sys_largefile_source+set}" = set; then
9636 echo $ECHO_N "(cached) $ECHO_C" >&6 9639 echo $ECHO_N "(cached) $ECHO_C" >&6
9637 else 9640 else
9638 while :; do 9641 while :; do
9639 ac_cv_sys_largefile_source=no 9642 ac_cv_sys_largefile_source=no
9640 cat >conftest.$ac_ext <<_ACEOF 9643 cat >conftest.$ac_ext <<_ACEOF
9641 #line 9641 "configure" 9644 #line 9644 "configure"
9642 #include "confdefs.h" 9645 #include "confdefs.h"
9643 #include <stdio.h> 9646 #include <stdio.h>
9644 int 9647 int
9645 main () 9648 main ()
9646 { 9649 {
9648 ; 9651 ;
9649 return 0; 9652 return 0;
9650 } 9653 }
9651 _ACEOF 9654 _ACEOF
9652 rm -f conftest.$ac_objext 9655 rm -f conftest.$ac_objext
9653 if { (eval echo "$as_me:9653: \"$ac_compile\"") >&5 9656 if { (eval echo "$as_me:9656: \"$ac_compile\"") >&5
9654 (eval $ac_compile) 2>&5 9657 (eval $ac_compile) 2>&5
9655 ac_status=$? 9658 ac_status=$?
9656 echo "$as_me:9656: \$? = $ac_status" >&5 9659 echo "$as_me:9659: \$? = $ac_status" >&5
9657 (exit $ac_status); } && 9660 (exit $ac_status); } &&
9658 { ac_try='test -s conftest.$ac_objext' 9661 { ac_try='test -s conftest.$ac_objext'
9659 { (eval echo "$as_me:9659: \"$ac_try\"") >&5 9662 { (eval echo "$as_me:9662: \"$ac_try\"") >&5
9660 (eval $ac_try) 2>&5 9663 (eval $ac_try) 2>&5
9661 ac_status=$? 9664 ac_status=$?
9662 echo "$as_me:9662: \$? = $ac_status" >&5 9665 echo "$as_me:9665: \$? = $ac_status" >&5
9663 (exit $ac_status); }; }; then 9666 (exit $ac_status); }; }; then
9664 break 9667 break
9665 else 9668 else
9666 echo "$as_me: failed program was:" >&5 9669 echo "$as_me: failed program was:" >&5
9667 cat conftest.$ac_ext >&5 9670 cat conftest.$ac_ext >&5
9668 fi 9671 fi
9669 rm -f conftest.$ac_objext conftest.$ac_ext 9672 rm -f conftest.$ac_objext conftest.$ac_ext
9670 cat >conftest.$ac_ext <<_ACEOF 9673 cat >conftest.$ac_ext <<_ACEOF
9671 #line 9671 "configure" 9674 #line 9674 "configure"
9672 #include "confdefs.h" 9675 #include "confdefs.h"
9673 #define _LARGEFILE_SOURCE 1 9676 #define _LARGEFILE_SOURCE 1
9674 #include <stdio.h> 9677 #include <stdio.h>
9675 int 9678 int
9676 main () 9679 main ()
9679 ; 9682 ;
9680 return 0; 9683 return 0;
9681 } 9684 }
9682 _ACEOF 9685 _ACEOF
9683 rm -f conftest.$ac_objext 9686 rm -f conftest.$ac_objext
9684 if { (eval echo "$as_me:9684: \"$ac_compile\"") >&5 9687 if { (eval echo "$as_me:9687: \"$ac_compile\"") >&5
9685 (eval $ac_compile) 2>&5 9688 (eval $ac_compile) 2>&5
9686 ac_status=$? 9689 ac_status=$?
9687 echo "$as_me:9687: \$? = $ac_status" >&5 9690 echo "$as_me:9690: \$? = $ac_status" >&5
9688 (exit $ac_status); } && 9691 (exit $ac_status); } &&
9689 { ac_try='test -s conftest.$ac_objext' 9692 { ac_try='test -s conftest.$ac_objext'
9690 { (eval echo "$as_me:9690: \"$ac_try\"") >&5 9693 { (eval echo "$as_me:9693: \"$ac_try\"") >&5
9691 (eval $ac_try) 2>&5 9694 (eval $ac_try) 2>&5
9692 ac_status=$? 9695 ac_status=$?
9693 echo "$as_me:9693: \$? = $ac_status" >&5 9696 echo "$as_me:9696: \$? = $ac_status" >&5
9694 (exit $ac_status); }; }; then 9697 (exit $ac_status); }; }; then
9695 ac_cv_sys_largefile_source=1; break 9698 ac_cv_sys_largefile_source=1; break
9696 else 9699 else
9697 echo "$as_me: failed program was:" >&5 9700 echo "$as_me: failed program was:" >&5
9698 cat conftest.$ac_ext >&5 9701 cat conftest.$ac_ext >&5
9699 fi 9702 fi
9700 rm -f conftest.$ac_objext conftest.$ac_ext 9703 rm -f conftest.$ac_objext conftest.$ac_ext
9701 break 9704 break
9702 done 9705 done
9703 fi 9706 fi
9704 echo "$as_me:9704: result: $ac_cv_sys_largefile_source" >&5 9707 echo "$as_me:9707: result: $ac_cv_sys_largefile_source" >&5
9705 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6 9708 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
9706 if test "$ac_cv_sys_largefile_source" != no; then 9709 if test "$ac_cv_sys_largefile_source" != no; then
9707 9710
9708 cat >>confdefs.h <<EOF 9711 cat >>confdefs.h <<EOF
9709 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source 9712 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
9713 rm -f conftest* 9716 rm -f conftest*
9714 9717
9715 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug 9718 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
9716 # in glibc 2.1.3, but that breaks too many other things. 9719 # in glibc 2.1.3, but that breaks too many other things.
9717 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. 9720 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
9718 echo "$as_me:9718: checking for fseeko" >&5 9721 echo "$as_me:9721: checking for fseeko" >&5
9719 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6 9722 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
9720 if test "${ac_cv_func_fseeko+set}" = set; then 9723 if test "${ac_cv_func_fseeko+set}" = set; then
9721 echo $ECHO_N "(cached) $ECHO_C" >&6 9724 echo $ECHO_N "(cached) $ECHO_C" >&6
9722 else 9725 else
9723 cat >conftest.$ac_ext <<_ACEOF 9726 cat >conftest.$ac_ext <<_ACEOF
9724 #line 9724 "configure" 9727 #line 9727 "configure"
9725 #include "confdefs.h" 9728 #include "confdefs.h"
9726 #include <stdio.h> 9729 #include <stdio.h>
9727 int 9730 int
9728 main () 9731 main ()
9729 { 9732 {
9731 ; 9734 ;
9732 return 0; 9735 return 0;
9733 } 9736 }
9734 _ACEOF 9737 _ACEOF
9735 rm -f conftest.$ac_objext conftest$ac_exeext 9738 rm -f conftest.$ac_objext conftest$ac_exeext
9736 if { (eval echo "$as_me:9736: \"$ac_link\"") >&5 9739 if { (eval echo "$as_me:9739: \"$ac_link\"") >&5
9737 (eval $ac_link) 2>&5 9740 (eval $ac_link) 2>&5
9738 ac_status=$? 9741 ac_status=$?
9739 echo "$as_me:9739: \$? = $ac_status" >&5 9742 echo "$as_me:9742: \$? = $ac_status" >&5
9740 (exit $ac_status); } && 9743 (exit $ac_status); } &&
9741 { ac_try='test -s conftest$ac_exeext' 9744 { ac_try='test -s conftest$ac_exeext'
9742 { (eval echo "$as_me:9742: \"$ac_try\"") >&5 9745 { (eval echo "$as_me:9745: \"$ac_try\"") >&5
9743 (eval $ac_try) 2>&5 9746 (eval $ac_try) 2>&5
9744 ac_status=$? 9747 ac_status=$?
9745 echo "$as_me:9745: \$? = $ac_status" >&5 9748 echo "$as_me:9748: \$? = $ac_status" >&5
9746 (exit $ac_status); }; }; then 9749 (exit $ac_status); }; }; then
9747 ac_cv_func_fseeko=yes 9750 ac_cv_func_fseeko=yes
9748 else 9751 else
9749 echo "$as_me: failed program was:" >&5 9752 echo "$as_me: failed program was:" >&5
9750 cat conftest.$ac_ext >&5 9753 cat conftest.$ac_ext >&5
9751 ac_cv_func_fseeko=no 9754 ac_cv_func_fseeko=no
9752 fi 9755 fi
9753 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9756 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9754 fi 9757 fi
9755 echo "$as_me:9755: result: $ac_cv_func_fseeko" >&5 9758 echo "$as_me:9758: result: $ac_cv_func_fseeko" >&5
9756 echo "${ECHO_T}$ac_cv_func_fseeko" >&6 9759 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
9757 if test $ac_cv_func_fseeko = yes; then 9760 if test $ac_cv_func_fseeko = yes; then
9758 9761
9759 cat >>confdefs.h <<\EOF 9762 cat >>confdefs.h <<\EOF
9760 #define HAVE_FSEEKO 1 9763 #define HAVE_FSEEKO 1
9765 # UNIX98 PTYs. 9768 # UNIX98 PTYs.
9766 9769
9767 for ac_func in grantpt 9770 for ac_func in grantpt
9768 do 9771 do
9769 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9772 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9770 echo "$as_me:9770: checking for $ac_func" >&5 9773 echo "$as_me:9773: checking for $ac_func" >&5
9771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9772 if eval "test \"\${$as_ac_var+set}\" = set"; then 9775 if eval "test \"\${$as_ac_var+set}\" = set"; then
9773 echo $ECHO_N "(cached) $ECHO_C" >&6 9776 echo $ECHO_N "(cached) $ECHO_C" >&6
9774 else 9777 else
9775 cat >conftest.$ac_ext <<_ACEOF 9778 cat >conftest.$ac_ext <<_ACEOF
9776 #line 9776 "configure" 9779 #line 9779 "configure"
9777 #include "confdefs.h" 9780 #include "confdefs.h"
9778 /* System header to define __stub macros and hopefully few prototypes, 9781 /* System header to define __stub macros and hopefully few prototypes,
9779 which can conflict with char $ac_func (); below. */ 9782 which can conflict with char $ac_func (); below. */
9780 #include <assert.h> 9783 #include <assert.h>
9781 /* Override any gcc2 internal prototype to avoid an error. */ 9784 /* Override any gcc2 internal prototype to avoid an error. */
9802 ; 9805 ;
9803 return 0; 9806 return 0;
9804 } 9807 }
9805 _ACEOF 9808 _ACEOF
9806 rm -f conftest.$ac_objext conftest$ac_exeext 9809 rm -f conftest.$ac_objext conftest$ac_exeext
9807 if { (eval echo "$as_me:9807: \"$ac_link\"") >&5 9810 if { (eval echo "$as_me:9810: \"$ac_link\"") >&5
9808 (eval $ac_link) 2>&5 9811 (eval $ac_link) 2>&5
9809 ac_status=$? 9812 ac_status=$?
9810 echo "$as_me:9810: \$? = $ac_status" >&5 9813 echo "$as_me:9813: \$? = $ac_status" >&5
9811 (exit $ac_status); } && 9814 (exit $ac_status); } &&
9812 { ac_try='test -s conftest$ac_exeext' 9815 { ac_try='test -s conftest$ac_exeext'
9813 { (eval echo "$as_me:9813: \"$ac_try\"") >&5 9816 { (eval echo "$as_me:9816: \"$ac_try\"") >&5
9814 (eval $ac_try) 2>&5 9817 (eval $ac_try) 2>&5
9815 ac_status=$? 9818 ac_status=$?
9816 echo "$as_me:9816: \$? = $ac_status" >&5 9819 echo "$as_me:9819: \$? = $ac_status" >&5
9817 (exit $ac_status); }; }; then 9820 (exit $ac_status); }; }; then
9818 eval "$as_ac_var=yes" 9821 eval "$as_ac_var=yes"
9819 else 9822 else
9820 echo "$as_me: failed program was:" >&5 9823 echo "$as_me: failed program was:" >&5
9821 cat conftest.$ac_ext >&5 9824 cat conftest.$ac_ext >&5
9822 eval "$as_ac_var=no" 9825 eval "$as_ac_var=no"
9823 fi 9826 fi
9824 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9827 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9825 fi 9828 fi
9826 echo "$as_me:9826: result: `eval echo '${'$as_ac_var'}'`" >&5 9829 echo "$as_me:9829: result: `eval echo '${'$as_ac_var'}'`" >&5
9827 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 9830 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9828 if test `eval echo '${'$as_ac_var'}'` = yes; then 9831 if test `eval echo '${'$as_ac_var'}'` = yes; then
9829 cat >>confdefs.h <<EOF 9832 cat >>confdefs.h <<EOF
9830 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 9833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9831 EOF 9834 EOF
9836 # PTY-related GNU extensions. 9839 # PTY-related GNU extensions.
9837 9840
9838 for ac_func in getpt 9841 for ac_func in getpt
9839 do 9842 do
9840 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9841 echo "$as_me:9841: checking for $ac_func" >&5 9844 echo "$as_me:9844: checking for $ac_func" >&5
9842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9843 if eval "test \"\${$as_ac_var+set}\" = set"; then 9846 if eval "test \"\${$as_ac_var+set}\" = set"; then
9844 echo $ECHO_N "(cached) $ECHO_C" >&6 9847 echo $ECHO_N "(cached) $ECHO_C" >&6
9845 else 9848 else
9846 cat >conftest.$ac_ext <<_ACEOF 9849 cat >conftest.$ac_ext <<_ACEOF
9847 #line 9847 "configure" 9850 #line 9850 "configure"
9848 #include "confdefs.h" 9851 #include "confdefs.h"
9849 /* System header to define __stub macros and hopefully few prototypes, 9852 /* System header to define __stub macros and hopefully few prototypes,
9850 which can conflict with char $ac_func (); below. */ 9853 which can conflict with char $ac_func (); below. */
9851 #include <assert.h> 9854 #include <assert.h>
9852 /* Override any gcc2 internal prototype to avoid an error. */ 9855 /* Override any gcc2 internal prototype to avoid an error. */
9873 ; 9876 ;
9874 return 0; 9877 return 0;
9875 } 9878 }
9876 _ACEOF 9879 _ACEOF
9877 rm -f conftest.$ac_objext conftest$ac_exeext 9880 rm -f conftest.$ac_objext conftest$ac_exeext
9878 if { (eval echo "$as_me:9878: \"$ac_link\"") >&5 9881 if { (eval echo "$as_me:9881: \"$ac_link\"") >&5
9879 (eval $ac_link) 2>&5 9882 (eval $ac_link) 2>&5
9880 ac_status=$? 9883 ac_status=$?
9881 echo "$as_me:9881: \$? = $ac_status" >&5 9884 echo "$as_me:9884: \$? = $ac_status" >&5
9882 (exit $ac_status); } && 9885 (exit $ac_status); } &&
9883 { ac_try='test -s conftest$ac_exeext' 9886 { ac_try='test -s conftest$ac_exeext'
9884 { (eval echo "$as_me:9884: \"$ac_try\"") >&5 9887 { (eval echo "$as_me:9887: \"$ac_try\"") >&5
9885 (eval $ac_try) 2>&5 9888 (eval $ac_try) 2>&5
9886 ac_status=$? 9889 ac_status=$?
9887 echo "$as_me:9887: \$? = $ac_status" >&5 9890 echo "$as_me:9890: \$? = $ac_status" >&5
9888 (exit $ac_status); }; }; then 9891 (exit $ac_status); }; }; then
9889 eval "$as_ac_var=yes" 9892 eval "$as_ac_var=yes"
9890 else 9893 else
9891 echo "$as_me: failed program was:" >&5 9894 echo "$as_me: failed program was:" >&5
9892 cat conftest.$ac_ext >&5 9895 cat conftest.$ac_ext >&5
9893 eval "$as_ac_var=no" 9896 eval "$as_ac_var=no"
9894 fi 9897 fi
9895 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9898 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9896 fi 9899 fi
9897 echo "$as_me:9897: result: `eval echo '${'$as_ac_var'}'`" >&5 9900 echo "$as_me:9900: result: `eval echo '${'$as_ac_var'}'`" >&5
9898 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 9901 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9899 if test `eval echo '${'$as_ac_var'}'` = yes; then 9902 if test `eval echo '${'$as_ac_var'}'` = yes; then
9900 cat >>confdefs.h <<EOF 9903 cat >>confdefs.h <<EOF
9901 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 9904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9902 EOF 9905 EOF
9907 # Check this now, so that we will NOT find the above functions in ncurses. 9910 # Check this now, so that we will NOT find the above functions in ncurses.
9908 # That is because we have not set up to link ncurses in lib-src. 9911 # That is because we have not set up to link ncurses in lib-src.
9909 # It's better to believe a function is not available 9912 # It's better to believe a function is not available
9910 # than to expect to find it in ncurses. 9913 # than to expect to find it in ncurses.
9911 9914
9912 echo "$as_me:9912: checking for tparm in -lncurses" >&5 9915 echo "$as_me:9915: checking for tparm in -lncurses" >&5
9913 echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6 9916 echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6
9914 if test "${ac_cv_lib_ncurses_tparm+set}" = set; then 9917 if test "${ac_cv_lib_ncurses_tparm+set}" = set; then
9915 echo $ECHO_N "(cached) $ECHO_C" >&6 9918 echo $ECHO_N "(cached) $ECHO_C" >&6
9916 else 9919 else
9917 ac_check_lib_save_LIBS=$LIBS 9920 ac_check_lib_save_LIBS=$LIBS
9918 LIBS="-lncurses $LIBS" 9921 LIBS="-lncurses $LIBS"
9919 cat >conftest.$ac_ext <<_ACEOF 9922 cat >conftest.$ac_ext <<_ACEOF
9920 #line 9920 "configure" 9923 #line 9923 "configure"
9921 #include "confdefs.h" 9924 #include "confdefs.h"
9922 9925
9923 /* Override any gcc2 internal prototype to avoid an error. */ 9926 /* Override any gcc2 internal prototype to avoid an error. */
9924 #ifdef __cplusplus 9927 #ifdef __cplusplus
9925 extern "C" 9928 extern "C"
9934 ; 9937 ;
9935 return 0; 9938 return 0;
9936 } 9939 }
9937 _ACEOF 9940 _ACEOF
9938 rm -f conftest.$ac_objext conftest$ac_exeext 9941 rm -f conftest.$ac_objext conftest$ac_exeext
9939 if { (eval echo "$as_me:9939: \"$ac_link\"") >&5 9942 if { (eval echo "$as_me:9942: \"$ac_link\"") >&5
9940 (eval $ac_link) 2>&5 9943 (eval $ac_link) 2>&5
9941 ac_status=$? 9944 ac_status=$?
9942 echo "$as_me:9942: \$? = $ac_status" >&5 9945 echo "$as_me:9945: \$? = $ac_status" >&5
9943 (exit $ac_status); } && 9946 (exit $ac_status); } &&
9944 { ac_try='test -s conftest$ac_exeext' 9947 { ac_try='test -s conftest$ac_exeext'
9945 { (eval echo "$as_me:9945: \"$ac_try\"") >&5 9948 { (eval echo "$as_me:9948: \"$ac_try\"") >&5
9946 (eval $ac_try) 2>&5 9949 (eval $ac_try) 2>&5
9947 ac_status=$? 9950 ac_status=$?
9948 echo "$as_me:9948: \$? = $ac_status" >&5 9951 echo "$as_me:9951: \$? = $ac_status" >&5
9949 (exit $ac_status); }; }; then 9952 (exit $ac_status); }; }; then
9950 ac_cv_lib_ncurses_tparm=yes 9953 ac_cv_lib_ncurses_tparm=yes
9951 else 9954 else
9952 echo "$as_me: failed program was:" >&5 9955 echo "$as_me: failed program was:" >&5
9953 cat conftest.$ac_ext >&5 9956 cat conftest.$ac_ext >&5
9954 ac_cv_lib_ncurses_tparm=no 9957 ac_cv_lib_ncurses_tparm=no
9955 fi 9958 fi
9956 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9959 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9957 LIBS=$ac_check_lib_save_LIBS 9960 LIBS=$ac_check_lib_save_LIBS
9958 fi 9961 fi
9959 echo "$as_me:9959: result: $ac_cv_lib_ncurses_tparm" >&5 9962 echo "$as_me:9962: result: $ac_cv_lib_ncurses_tparm" >&5
9960 echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6 9963 echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6
9961 if test $ac_cv_lib_ncurses_tparm = yes; then 9964 if test $ac_cv_lib_ncurses_tparm = yes; then
9962 cat >>confdefs.h <<EOF 9965 cat >>confdefs.h <<EOF
9963 #define HAVE_LIBNCURSES 1 9966 #define HAVE_LIBNCURSES 1
9964 EOF 9967 EOF
9969 9972
9970 # Do we need the Hesiod library to provide the support routines? 9973 # Do we need the Hesiod library to provide the support routines?
9971 if test "$with_hesiod" = yes ; then 9974 if test "$with_hesiod" = yes ; then
9972 # Don't set $LIBS here -- see comments above. 9975 # Don't set $LIBS here -- see comments above.
9973 resolv=no 9976 resolv=no
9974 echo "$as_me:9974: checking for res_send" >&5 9977 echo "$as_me:9977: checking for res_send" >&5
9975 echo $ECHO_N "checking for res_send... $ECHO_C" >&6 9978 echo $ECHO_N "checking for res_send... $ECHO_C" >&6
9976 if test "${ac_cv_func_res_send+set}" = set; then 9979 if test "${ac_cv_func_res_send+set}" = set; then
9977 echo $ECHO_N "(cached) $ECHO_C" >&6 9980 echo $ECHO_N "(cached) $ECHO_C" >&6
9978 else 9981 else
9979 cat >conftest.$ac_ext <<_ACEOF 9982 cat >conftest.$ac_ext <<_ACEOF
9980 #line 9980 "configure" 9983 #line 9983 "configure"
9981 #include "confdefs.h" 9984 #include "confdefs.h"
9982 /* System header to define __stub macros and hopefully few prototypes, 9985 /* System header to define __stub macros and hopefully few prototypes,
9983 which can conflict with char res_send (); below. */ 9986 which can conflict with char res_send (); below. */
9984 #include <assert.h> 9987 #include <assert.h>
9985 /* Override any gcc2 internal prototype to avoid an error. */ 9988 /* Override any gcc2 internal prototype to avoid an error. */
10006 ; 10009 ;
10007 return 0; 10010 return 0;
10008 } 10011 }
10009 _ACEOF 10012 _ACEOF
10010 rm -f conftest.$ac_objext conftest$ac_exeext 10013 rm -f conftest.$ac_objext conftest$ac_exeext
10011 if { (eval echo "$as_me:10011: \"$ac_link\"") >&5 10014 if { (eval echo "$as_me:10014: \"$ac_link\"") >&5
10012 (eval $ac_link) 2>&5 10015 (eval $ac_link) 2>&5
10013 ac_status=$? 10016 ac_status=$?
10014 echo "$as_me:10014: \$? = $ac_status" >&5 10017 echo "$as_me:10017: \$? = $ac_status" >&5
10015 (exit $ac_status); } && 10018 (exit $ac_status); } &&
10016 { ac_try='test -s conftest$ac_exeext' 10019 { ac_try='test -s conftest$ac_exeext'
10017 { (eval echo "$as_me:10017: \"$ac_try\"") >&5 10020 { (eval echo "$as_me:10020: \"$ac_try\"") >&5
10018 (eval $ac_try) 2>&5 10021 (eval $ac_try) 2>&5
10019 ac_status=$? 10022 ac_status=$?
10020 echo "$as_me:10020: \$? = $ac_status" >&5 10023 echo "$as_me:10023: \$? = $ac_status" >&5
10021 (exit $ac_status); }; }; then 10024 (exit $ac_status); }; }; then
10022 ac_cv_func_res_send=yes 10025 ac_cv_func_res_send=yes
10023 else 10026 else
10024 echo "$as_me: failed program was:" >&5 10027 echo "$as_me: failed program was:" >&5
10025 cat conftest.$ac_ext >&5 10028 cat conftest.$ac_ext >&5
10026 ac_cv_func_res_send=no 10029 ac_cv_func_res_send=no
10027 fi 10030 fi
10028 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10031 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10029 fi 10032 fi
10030 echo "$as_me:10030: result: $ac_cv_func_res_send" >&5 10033 echo "$as_me:10033: result: $ac_cv_func_res_send" >&5
10031 echo "${ECHO_T}$ac_cv_func_res_send" >&6 10034 echo "${ECHO_T}$ac_cv_func_res_send" >&6
10032 if test $ac_cv_func_res_send = yes; then 10035 if test $ac_cv_func_res_send = yes; then
10033 : 10036 :
10034 else 10037 else
10035 echo "$as_me:10035: checking for __res_send" >&5 10038 echo "$as_me:10038: checking for __res_send" >&5
10036 echo $ECHO_N "checking for __res_send... $ECHO_C" >&6 10039 echo $ECHO_N "checking for __res_send... $ECHO_C" >&6
10037 if test "${ac_cv_func___res_send+set}" = set; then 10040 if test "${ac_cv_func___res_send+set}" = set; then
10038 echo $ECHO_N "(cached) $ECHO_C" >&6 10041 echo $ECHO_N "(cached) $ECHO_C" >&6
10039 else 10042 else
10040 cat >conftest.$ac_ext <<_ACEOF 10043 cat >conftest.$ac_ext <<_ACEOF
10041 #line 10041 "configure" 10044 #line 10044 "configure"
10042 #include "confdefs.h" 10045 #include "confdefs.h"
10043 /* System header to define __stub macros and hopefully few prototypes, 10046 /* System header to define __stub macros and hopefully few prototypes,
10044 which can conflict with char __res_send (); below. */ 10047 which can conflict with char __res_send (); below. */
10045 #include <assert.h> 10048 #include <assert.h>
10046 /* Override any gcc2 internal prototype to avoid an error. */ 10049 /* Override any gcc2 internal prototype to avoid an error. */
10067 ; 10070 ;
10068 return 0; 10071 return 0;
10069 } 10072 }
10070 _ACEOF 10073 _ACEOF
10071 rm -f conftest.$ac_objext conftest$ac_exeext 10074 rm -f conftest.$ac_objext conftest$ac_exeext
10072 if { (eval echo "$as_me:10072: \"$ac_link\"") >&5 10075 if { (eval echo "$as_me:10075: \"$ac_link\"") >&5
10073 (eval $ac_link) 2>&5 10076 (eval $ac_link) 2>&5
10074 ac_status=$? 10077 ac_status=$?
10075 echo "$as_me:10075: \$? = $ac_status" >&5 10078 echo "$as_me:10078: \$? = $ac_status" >&5
10076 (exit $ac_status); } && 10079 (exit $ac_status); } &&
10077 { ac_try='test -s conftest$ac_exeext' 10080 { ac_try='test -s conftest$ac_exeext'
10078 { (eval echo "$as_me:10078: \"$ac_try\"") >&5 10081 { (eval echo "$as_me:10081: \"$ac_try\"") >&5
10079 (eval $ac_try) 2>&5 10082 (eval $ac_try) 2>&5
10080 ac_status=$? 10083 ac_status=$?
10081 echo "$as_me:10081: \$? = $ac_status" >&5 10084 echo "$as_me:10084: \$? = $ac_status" >&5
10082 (exit $ac_status); }; }; then 10085 (exit $ac_status); }; }; then
10083 ac_cv_func___res_send=yes 10086 ac_cv_func___res_send=yes
10084 else 10087 else
10085 echo "$as_me: failed program was:" >&5 10088 echo "$as_me: failed program was:" >&5
10086 cat conftest.$ac_ext >&5 10089 cat conftest.$ac_ext >&5
10087 ac_cv_func___res_send=no 10090 ac_cv_func___res_send=no
10088 fi 10091 fi
10089 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10092 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10090 fi 10093 fi
10091 echo "$as_me:10091: result: $ac_cv_func___res_send" >&5 10094 echo "$as_me:10094: result: $ac_cv_func___res_send" >&5
10092 echo "${ECHO_T}$ac_cv_func___res_send" >&6 10095 echo "${ECHO_T}$ac_cv_func___res_send" >&6
10093 if test $ac_cv_func___res_send = yes; then 10096 if test $ac_cv_func___res_send = yes; then
10094 : 10097 :
10095 else 10098 else
10096 echo "$as_me:10096: checking for res_send in -lresolv" >&5 10099 echo "$as_me:10099: checking for res_send in -lresolv" >&5
10097 echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6 10100 echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6
10098 if test "${ac_cv_lib_resolv_res_send+set}" = set; then 10101 if test "${ac_cv_lib_resolv_res_send+set}" = set; then
10099 echo $ECHO_N "(cached) $ECHO_C" >&6 10102 echo $ECHO_N "(cached) $ECHO_C" >&6
10100 else 10103 else
10101 ac_check_lib_save_LIBS=$LIBS 10104 ac_check_lib_save_LIBS=$LIBS
10102 LIBS="-lresolv $LIBS" 10105 LIBS="-lresolv $LIBS"
10103 cat >conftest.$ac_ext <<_ACEOF 10106 cat >conftest.$ac_ext <<_ACEOF
10104 #line 10104 "configure" 10107 #line 10107 "configure"
10105 #include "confdefs.h" 10108 #include "confdefs.h"
10106 10109
10107 /* Override any gcc2 internal prototype to avoid an error. */ 10110 /* Override any gcc2 internal prototype to avoid an error. */
10108 #ifdef __cplusplus 10111 #ifdef __cplusplus
10109 extern "C" 10112 extern "C"
10118 ; 10121 ;
10119 return 0; 10122 return 0;
10120 } 10123 }
10121 _ACEOF 10124 _ACEOF
10122 rm -f conftest.$ac_objext conftest$ac_exeext 10125 rm -f conftest.$ac_objext conftest$ac_exeext
10123 if { (eval echo "$as_me:10123: \"$ac_link\"") >&5 10126 if { (eval echo "$as_me:10126: \"$ac_link\"") >&5
10124 (eval $ac_link) 2>&5 10127 (eval $ac_link) 2>&5
10125 ac_status=$? 10128 ac_status=$?
10126 echo "$as_me:10126: \$? = $ac_status" >&5 10129 echo "$as_me:10129: \$? = $ac_status" >&5
10127 (exit $ac_status); } && 10130 (exit $ac_status); } &&
10128 { ac_try='test -s conftest$ac_exeext' 10131 { ac_try='test -s conftest$ac_exeext'
10129 { (eval echo "$as_me:10129: \"$ac_try\"") >&5 10132 { (eval echo "$as_me:10132: \"$ac_try\"") >&5
10130 (eval $ac_try) 2>&5 10133 (eval $ac_try) 2>&5
10131 ac_status=$? 10134 ac_status=$?
10132 echo "$as_me:10132: \$? = $ac_status" >&5 10135 echo "$as_me:10135: \$? = $ac_status" >&5
10133 (exit $ac_status); }; }; then 10136 (exit $ac_status); }; }; then
10134 ac_cv_lib_resolv_res_send=yes 10137 ac_cv_lib_resolv_res_send=yes
10135 else 10138 else
10136 echo "$as_me: failed program was:" >&5 10139 echo "$as_me: failed program was:" >&5
10137 cat conftest.$ac_ext >&5 10140 cat conftest.$ac_ext >&5
10138 ac_cv_lib_resolv_res_send=no 10141 ac_cv_lib_resolv_res_send=no
10139 fi 10142 fi
10140 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10143 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10141 LIBS=$ac_check_lib_save_LIBS 10144 LIBS=$ac_check_lib_save_LIBS
10142 fi 10145 fi
10143 echo "$as_me:10143: result: $ac_cv_lib_resolv_res_send" >&5 10146 echo "$as_me:10146: result: $ac_cv_lib_resolv_res_send" >&5
10144 echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6 10147 echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6
10145 if test $ac_cv_lib_resolv_res_send = yes; then 10148 if test $ac_cv_lib_resolv_res_send = yes; then
10146 resolv=yes 10149 resolv=yes
10147 else 10150 else
10148 echo "$as_me:10148: checking for __res_send in -lresolv" >&5 10151 echo "$as_me:10151: checking for __res_send in -lresolv" >&5
10149 echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6 10152 echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6
10150 if test "${ac_cv_lib_resolv___res_send+set}" = set; then 10153 if test "${ac_cv_lib_resolv___res_send+set}" = set; then
10151 echo $ECHO_N "(cached) $ECHO_C" >&6 10154 echo $ECHO_N "(cached) $ECHO_C" >&6
10152 else 10155 else
10153 ac_check_lib_save_LIBS=$LIBS 10156 ac_check_lib_save_LIBS=$LIBS
10154 LIBS="-lresolv $LIBS" 10157 LIBS="-lresolv $LIBS"
10155 cat >conftest.$ac_ext <<_ACEOF 10158 cat >conftest.$ac_ext <<_ACEOF
10156 #line 10156 "configure" 10159 #line 10159 "configure"
10157 #include "confdefs.h" 10160 #include "confdefs.h"
10158 10161
10159 /* Override any gcc2 internal prototype to avoid an error. */ 10162 /* Override any gcc2 internal prototype to avoid an error. */
10160 #ifdef __cplusplus 10163 #ifdef __cplusplus
10161 extern "C" 10164 extern "C"
10170 ; 10173 ;
10171 return 0; 10174 return 0;
10172 } 10175 }
10173 _ACEOF 10176 _ACEOF
10174 rm -f conftest.$ac_objext conftest$ac_exeext 10177 rm -f conftest.$ac_objext conftest$ac_exeext
10175 if { (eval echo "$as_me:10175: \"$ac_link\"") >&5 10178 if { (eval echo "$as_me:10178: \"$ac_link\"") >&5
10176 (eval $ac_link) 2>&5 10179 (eval $ac_link) 2>&5
10177 ac_status=$? 10180 ac_status=$?
10178 echo "$as_me:10178: \$? = $ac_status" >&5 10181 echo "$as_me:10181: \$? = $ac_status" >&5
10179 (exit $ac_status); } && 10182 (exit $ac_status); } &&
10180 { ac_try='test -s conftest$ac_exeext' 10183 { ac_try='test -s conftest$ac_exeext'
10181 { (eval echo "$as_me:10181: \"$ac_try\"") >&5 10184 { (eval echo "$as_me:10184: \"$ac_try\"") >&5
10182 (eval $ac_try) 2>&5 10185 (eval $ac_try) 2>&5
10183 ac_status=$? 10186 ac_status=$?
10184 echo "$as_me:10184: \$? = $ac_status" >&5 10187 echo "$as_me:10187: \$? = $ac_status" >&5
10185 (exit $ac_status); }; }; then 10188 (exit $ac_status); }; }; then
10186 ac_cv_lib_resolv___res_send=yes 10189 ac_cv_lib_resolv___res_send=yes
10187 else 10190 else
10188 echo "$as_me: failed program was:" >&5 10191 echo "$as_me: failed program was:" >&5
10189 cat conftest.$ac_ext >&5 10192 cat conftest.$ac_ext >&5
10190 ac_cv_lib_resolv___res_send=no 10193 ac_cv_lib_resolv___res_send=no
10191 fi 10194 fi
10192 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10195 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10193 LIBS=$ac_check_lib_save_LIBS 10196 LIBS=$ac_check_lib_save_LIBS
10194 fi 10197 fi
10195 echo "$as_me:10195: result: $ac_cv_lib_resolv___res_send" >&5 10198 echo "$as_me:10198: result: $ac_cv_lib_resolv___res_send" >&5
10196 echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6 10199 echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6
10197 if test $ac_cv_lib_resolv___res_send = yes; then 10200 if test $ac_cv_lib_resolv___res_send = yes; then
10198 resolv=yes 10201 resolv=yes
10199 fi 10202 fi
10200 10203
10211 EOF 10214 EOF
10212 10215
10213 else 10216 else
10214 RESOLVLIB= 10217 RESOLVLIB=
10215 fi 10218 fi
10216 echo "$as_me:10216: checking for hes_getmailhost" >&5 10219 echo "$as_me:10219: checking for hes_getmailhost" >&5
10217 echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6 10220 echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6
10218 if test "${ac_cv_func_hes_getmailhost+set}" = set; then 10221 if test "${ac_cv_func_hes_getmailhost+set}" = set; then
10219 echo $ECHO_N "(cached) $ECHO_C" >&6 10222 echo $ECHO_N "(cached) $ECHO_C" >&6
10220 else 10223 else
10221 cat >conftest.$ac_ext <<_ACEOF 10224 cat >conftest.$ac_ext <<_ACEOF
10222 #line 10222 "configure" 10225 #line 10225 "configure"
10223 #include "confdefs.h" 10226 #include "confdefs.h"
10224 /* System header to define __stub macros and hopefully few prototypes, 10227 /* System header to define __stub macros and hopefully few prototypes,
10225 which can conflict with char hes_getmailhost (); below. */ 10228 which can conflict with char hes_getmailhost (); below. */
10226 #include <assert.h> 10229 #include <assert.h>
10227 /* Override any gcc2 internal prototype to avoid an error. */ 10230 /* Override any gcc2 internal prototype to avoid an error. */
10248 ; 10251 ;
10249 return 0; 10252 return 0;
10250 } 10253 }
10251 _ACEOF 10254 _ACEOF
10252 rm -f conftest.$ac_objext conftest$ac_exeext 10255 rm -f conftest.$ac_objext conftest$ac_exeext
10253 if { (eval echo "$as_me:10253: \"$ac_link\"") >&5 10256 if { (eval echo "$as_me:10256: \"$ac_link\"") >&5
10254 (eval $ac_link) 2>&5 10257 (eval $ac_link) 2>&5
10255 ac_status=$? 10258 ac_status=$?
10256 echo "$as_me:10256: \$? = $ac_status" >&5 10259 echo "$as_me:10259: \$? = $ac_status" >&5
10257 (exit $ac_status); } && 10260 (exit $ac_status); } &&
10258 { ac_try='test -s conftest$ac_exeext' 10261 { ac_try='test -s conftest$ac_exeext'
10259 { (eval echo "$as_me:10259: \"$ac_try\"") >&5 10262 { (eval echo "$as_me:10262: \"$ac_try\"") >&5
10260 (eval $ac_try) 2>&5 10263 (eval $ac_try) 2>&5
10261 ac_status=$? 10264 ac_status=$?
10262 echo "$as_me:10262: \$? = $ac_status" >&5 10265 echo "$as_me:10265: \$? = $ac_status" >&5
10263 (exit $ac_status); }; }; then 10266 (exit $ac_status); }; }; then
10264 ac_cv_func_hes_getmailhost=yes 10267 ac_cv_func_hes_getmailhost=yes
10265 else 10268 else
10266 echo "$as_me: failed program was:" >&5 10269 echo "$as_me: failed program was:" >&5
10267 cat conftest.$ac_ext >&5 10270 cat conftest.$ac_ext >&5
10268 ac_cv_func_hes_getmailhost=no 10271 ac_cv_func_hes_getmailhost=no
10269 fi 10272 fi
10270 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10273 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10271 fi 10274 fi
10272 echo "$as_me:10272: result: $ac_cv_func_hes_getmailhost" >&5 10275 echo "$as_me:10275: result: $ac_cv_func_hes_getmailhost" >&5
10273 echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6 10276 echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6
10274 if test $ac_cv_func_hes_getmailhost = yes; then 10277 if test $ac_cv_func_hes_getmailhost = yes; then
10275 : 10278 :
10276 else 10279 else
10277 echo "$as_me:10277: checking for hes_getmailhost in -lhesiod" >&5 10280 echo "$as_me:10280: checking for hes_getmailhost in -lhesiod" >&5
10278 echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6 10281 echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6
10279 if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then 10282 if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then
10280 echo $ECHO_N "(cached) $ECHO_C" >&6 10283 echo $ECHO_N "(cached) $ECHO_C" >&6
10281 else 10284 else
10282 ac_check_lib_save_LIBS=$LIBS 10285 ac_check_lib_save_LIBS=$LIBS
10283 LIBS="-lhesiod $RESOLVLIB $LIBS" 10286 LIBS="-lhesiod $RESOLVLIB $LIBS"
10284 cat >conftest.$ac_ext <<_ACEOF 10287 cat >conftest.$ac_ext <<_ACEOF
10285 #line 10285 "configure" 10288 #line 10288 "configure"
10286 #include "confdefs.h" 10289 #include "confdefs.h"
10287 10290
10288 /* Override any gcc2 internal prototype to avoid an error. */ 10291 /* Override any gcc2 internal prototype to avoid an error. */
10289 #ifdef __cplusplus 10292 #ifdef __cplusplus
10290 extern "C" 10293 extern "C"
10299 ; 10302 ;
10300 return 0; 10303 return 0;
10301 } 10304 }
10302 _ACEOF 10305 _ACEOF
10303 rm -f conftest.$ac_objext conftest$ac_exeext 10306 rm -f conftest.$ac_objext conftest$ac_exeext
10304 if { (eval echo "$as_me:10304: \"$ac_link\"") >&5 10307 if { (eval echo "$as_me:10307: \"$ac_link\"") >&5
10305 (eval $ac_link) 2>&5 10308 (eval $ac_link) 2>&5
10306 ac_status=$? 10309 ac_status=$?
10307 echo "$as_me:10307: \$? = $ac_status" >&5 10310 echo "$as_me:10310: \$? = $ac_status" >&5
10308 (exit $ac_status); } && 10311 (exit $ac_status); } &&
10309 { ac_try='test -s conftest$ac_exeext' 10312 { ac_try='test -s conftest$ac_exeext'
10310 { (eval echo "$as_me:10310: \"$ac_try\"") >&5 10313 { (eval echo "$as_me:10313: \"$ac_try\"") >&5
10311 (eval $ac_try) 2>&5 10314 (eval $ac_try) 2>&5
10312 ac_status=$? 10315 ac_status=$?
10313 echo "$as_me:10313: \$? = $ac_status" >&5 10316 echo "$as_me:10316: \$? = $ac_status" >&5
10314 (exit $ac_status); }; }; then 10317 (exit $ac_status); }; }; then
10315 ac_cv_lib_hesiod_hes_getmailhost=yes 10318 ac_cv_lib_hesiod_hes_getmailhost=yes
10316 else 10319 else
10317 echo "$as_me: failed program was:" >&5 10320 echo "$as_me: failed program was:" >&5
10318 cat conftest.$ac_ext >&5 10321 cat conftest.$ac_ext >&5
10319 ac_cv_lib_hesiod_hes_getmailhost=no 10322 ac_cv_lib_hesiod_hes_getmailhost=no
10320 fi 10323 fi
10321 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10324 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10322 LIBS=$ac_check_lib_save_LIBS 10325 LIBS=$ac_check_lib_save_LIBS
10323 fi 10326 fi
10324 echo "$as_me:10324: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 10327 echo "$as_me:10327: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5
10325 echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6 10328 echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6
10326 if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then 10329 if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then
10327 cat >>confdefs.h <<\EOF 10330 cat >>confdefs.h <<\EOF
10328 #define HAVE_LIBHESIOD 1 10331 #define HAVE_LIBHESIOD 1
10329 EOF 10332 EOF
10337 fi 10340 fi
10338 10341
10339 # These tell us which Kerberos-related libraries to use. 10342 # These tell us which Kerberos-related libraries to use.
10340 if test "${with_kerberos+set}" = set; then 10343 if test "${with_kerberos+set}" = set; then
10341 10344
10342 echo "$as_me:10342: checking for com_err in -lcom_err" >&5 10345 echo "$as_me:10345: checking for com_err in -lcom_err" >&5
10343 echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6 10346 echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6
10344 if test "${ac_cv_lib_com_err_com_err+set}" = set; then 10347 if test "${ac_cv_lib_com_err_com_err+set}" = set; then
10345 echo $ECHO_N "(cached) $ECHO_C" >&6 10348 echo $ECHO_N "(cached) $ECHO_C" >&6
10346 else 10349 else
10347 ac_check_lib_save_LIBS=$LIBS 10350 ac_check_lib_save_LIBS=$LIBS
10348 LIBS="-lcom_err $LIBS" 10351 LIBS="-lcom_err $LIBS"
10349 cat >conftest.$ac_ext <<_ACEOF 10352 cat >conftest.$ac_ext <<_ACEOF
10350 #line 10350 "configure" 10353 #line 10353 "configure"
10351 #include "confdefs.h" 10354 #include "confdefs.h"
10352 10355
10353 /* Override any gcc2 internal prototype to avoid an error. */ 10356 /* Override any gcc2 internal prototype to avoid an error. */
10354 #ifdef __cplusplus 10357 #ifdef __cplusplus
10355 extern "C" 10358 extern "C"
10364 ; 10367 ;
10365 return 0; 10368 return 0;
10366 } 10369 }
10367 _ACEOF 10370 _ACEOF
10368 rm -f conftest.$ac_objext conftest$ac_exeext 10371 rm -f conftest.$ac_objext conftest$ac_exeext
10369 if { (eval echo "$as_me:10369: \"$ac_link\"") >&5 10372 if { (eval echo "$as_me:10372: \"$ac_link\"") >&5
10370 (eval $ac_link) 2>&5 10373 (eval $ac_link) 2>&5
10371 ac_status=$? 10374 ac_status=$?
10372 echo "$as_me:10372: \$? = $ac_status" >&5 10375 echo "$as_me:10375: \$? = $ac_status" >&5
10373 (exit $ac_status); } && 10376 (exit $ac_status); } &&
10374 { ac_try='test -s conftest$ac_exeext' 10377 { ac_try='test -s conftest$ac_exeext'
10375 { (eval echo "$as_me:10375: \"$ac_try\"") >&5 10378 { (eval echo "$as_me:10378: \"$ac_try\"") >&5
10376 (eval $ac_try) 2>&5 10379 (eval $ac_try) 2>&5
10377 ac_status=$? 10380 ac_status=$?
10378 echo "$as_me:10378: \$? = $ac_status" >&5 10381 echo "$as_me:10381: \$? = $ac_status" >&5
10379 (exit $ac_status); }; }; then 10382 (exit $ac_status); }; }; then
10380 ac_cv_lib_com_err_com_err=yes 10383 ac_cv_lib_com_err_com_err=yes
10381 else 10384 else
10382 echo "$as_me: failed program was:" >&5 10385 echo "$as_me: failed program was:" >&5
10383 cat conftest.$ac_ext >&5 10386 cat conftest.$ac_ext >&5
10384 ac_cv_lib_com_err_com_err=no 10387 ac_cv_lib_com_err_com_err=no
10385 fi 10388 fi
10386 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10389 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10387 LIBS=$ac_check_lib_save_LIBS 10390 LIBS=$ac_check_lib_save_LIBS
10388 fi 10391 fi
10389 echo "$as_me:10389: result: $ac_cv_lib_com_err_com_err" >&5 10392 echo "$as_me:10392: result: $ac_cv_lib_com_err_com_err" >&5
10390 echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6 10393 echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6
10391 if test $ac_cv_lib_com_err_com_err = yes; then 10394 if test $ac_cv_lib_com_err_com_err = yes; then
10392 cat >>confdefs.h <<EOF 10395 cat >>confdefs.h <<EOF
10393 #define HAVE_LIBCOM_ERR 1 10396 #define HAVE_LIBCOM_ERR 1
10394 EOF 10397 EOF
10395 10398
10396 LIBS="-lcom_err $LIBS" 10399 LIBS="-lcom_err $LIBS"
10397 10400
10398 fi 10401 fi
10399 10402
10400 echo "$as_me:10400: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 10403 echo "$as_me:10403: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
10401 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6 10404 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6
10402 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then 10405 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then
10403 echo $ECHO_N "(cached) $ECHO_C" >&6 10406 echo $ECHO_N "(cached) $ECHO_C" >&6
10404 else 10407 else
10405 ac_check_lib_save_LIBS=$LIBS 10408 ac_check_lib_save_LIBS=$LIBS
10406 LIBS="-lk5crypto $LIBS" 10409 LIBS="-lk5crypto $LIBS"
10407 cat >conftest.$ac_ext <<_ACEOF 10410 cat >conftest.$ac_ext <<_ACEOF
10408 #line 10408 "configure" 10411 #line 10411 "configure"
10409 #include "confdefs.h" 10412 #include "confdefs.h"
10410 10413
10411 /* Override any gcc2 internal prototype to avoid an error. */ 10414 /* Override any gcc2 internal prototype to avoid an error. */
10412 #ifdef __cplusplus 10415 #ifdef __cplusplus
10413 extern "C" 10416 extern "C"
10422 ; 10425 ;
10423 return 0; 10426 return 0;
10424 } 10427 }
10425 _ACEOF 10428 _ACEOF
10426 rm -f conftest.$ac_objext conftest$ac_exeext 10429 rm -f conftest.$ac_objext conftest$ac_exeext
10427 if { (eval echo "$as_me:10427: \"$ac_link\"") >&5 10430 if { (eval echo "$as_me:10430: \"$ac_link\"") >&5
10428 (eval $ac_link) 2>&5 10431 (eval $ac_link) 2>&5
10429 ac_status=$? 10432 ac_status=$?
10430 echo "$as_me:10430: \$? = $ac_status" >&5 10433 echo "$as_me:10433: \$? = $ac_status" >&5
10431 (exit $ac_status); } && 10434 (exit $ac_status); } &&
10432 { ac_try='test -s conftest$ac_exeext' 10435 { ac_try='test -s conftest$ac_exeext'
10433 { (eval echo "$as_me:10433: \"$ac_try\"") >&5 10436 { (eval echo "$as_me:10436: \"$ac_try\"") >&5
10434 (eval $ac_try) 2>&5 10437 (eval $ac_try) 2>&5
10435 ac_status=$? 10438 ac_status=$?
10436 echo "$as_me:10436: \$? = $ac_status" >&5 10439 echo "$as_me:10439: \$? = $ac_status" >&5
10437 (exit $ac_status); }; }; then 10440 (exit $ac_status); }; }; then
10438 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes 10441 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes
10439 else 10442 else
10440 echo "$as_me: failed program was:" >&5 10443 echo "$as_me: failed program was:" >&5
10441 cat conftest.$ac_ext >&5 10444 cat conftest.$ac_ext >&5
10442 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no 10445 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no
10443 fi 10446 fi
10444 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10447 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10445 LIBS=$ac_check_lib_save_LIBS 10448 LIBS=$ac_check_lib_save_LIBS
10446 fi 10449 fi
10447 echo "$as_me:10447: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5 10450 echo "$as_me:10450: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5
10448 echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6 10451 echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6
10449 if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then 10452 if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then
10450 cat >>confdefs.h <<EOF 10453 cat >>confdefs.h <<EOF
10451 #define HAVE_LIBK5CRYPTO 1 10454 #define HAVE_LIBK5CRYPTO 1
10452 EOF 10455 EOF
10453 10456
10454 LIBS="-lk5crypto $LIBS" 10457 LIBS="-lk5crypto $LIBS"
10455 10458
10456 fi 10459 fi
10457 10460
10458 echo "$as_me:10458: checking for mit_des_cbc_encrypt in -lcrypto" >&5 10461 echo "$as_me:10461: checking for mit_des_cbc_encrypt in -lcrypto" >&5
10459 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6 10462 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6
10460 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then 10463 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then
10461 echo $ECHO_N "(cached) $ECHO_C" >&6 10464 echo $ECHO_N "(cached) $ECHO_C" >&6
10462 else 10465 else
10463 ac_check_lib_save_LIBS=$LIBS 10466 ac_check_lib_save_LIBS=$LIBS
10464 LIBS="-lcrypto $LIBS" 10467 LIBS="-lcrypto $LIBS"
10465 cat >conftest.$ac_ext <<_ACEOF 10468 cat >conftest.$ac_ext <<_ACEOF
10466 #line 10466 "configure" 10469 #line 10469 "configure"
10467 #include "confdefs.h" 10470 #include "confdefs.h"
10468 10471
10469 /* Override any gcc2 internal prototype to avoid an error. */ 10472 /* Override any gcc2 internal prototype to avoid an error. */
10470 #ifdef __cplusplus 10473 #ifdef __cplusplus
10471 extern "C" 10474 extern "C"
10480 ; 10483 ;
10481 return 0; 10484 return 0;
10482 } 10485 }
10483 _ACEOF 10486 _ACEOF
10484 rm -f conftest.$ac_objext conftest$ac_exeext 10487 rm -f conftest.$ac_objext conftest$ac_exeext
10485 if { (eval echo "$as_me:10485: \"$ac_link\"") >&5 10488 if { (eval echo "$as_me:10488: \"$ac_link\"") >&5
10486 (eval $ac_link) 2>&5 10489 (eval $ac_link) 2>&5
10487 ac_status=$? 10490 ac_status=$?
10488 echo "$as_me:10488: \$? = $ac_status" >&5 10491 echo "$as_me:10491: \$? = $ac_status" >&5
10489 (exit $ac_status); } && 10492 (exit $ac_status); } &&
10490 { ac_try='test -s conftest$ac_exeext' 10493 { ac_try='test -s conftest$ac_exeext'
10491 { (eval echo "$as_me:10491: \"$ac_try\"") >&5 10494 { (eval echo "$as_me:10494: \"$ac_try\"") >&5
10492 (eval $ac_try) 2>&5 10495 (eval $ac_try) 2>&5
10493 ac_status=$? 10496 ac_status=$?
10494 echo "$as_me:10494: \$? = $ac_status" >&5 10497 echo "$as_me:10497: \$? = $ac_status" >&5
10495 (exit $ac_status); }; }; then 10498 (exit $ac_status); }; }; then
10496 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes 10499 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes
10497 else 10500 else
10498 echo "$as_me: failed program was:" >&5 10501 echo "$as_me: failed program was:" >&5
10499 cat conftest.$ac_ext >&5 10502 cat conftest.$ac_ext >&5
10500 ac_cv_lib_crypto_mit_des_cbc_encrypt=no 10503 ac_cv_lib_crypto_mit_des_cbc_encrypt=no
10501 fi 10504 fi
10502 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10505 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10503 LIBS=$ac_check_lib_save_LIBS 10506 LIBS=$ac_check_lib_save_LIBS
10504 fi 10507 fi
10505 echo "$as_me:10505: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5 10508 echo "$as_me:10508: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5
10506 echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6 10509 echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6
10507 if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then 10510 if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then
10508 cat >>confdefs.h <<EOF 10511 cat >>confdefs.h <<EOF
10509 #define HAVE_LIBCRYPTO 1 10512 #define HAVE_LIBCRYPTO 1
10510 EOF 10513 EOF
10511 10514
10512 LIBS="-lcrypto $LIBS" 10515 LIBS="-lcrypto $LIBS"
10513 10516
10514 fi 10517 fi
10515 10518
10516 echo "$as_me:10516: checking for krb5_init_context in -lkrb5" >&5 10519 echo "$as_me:10519: checking for krb5_init_context in -lkrb5" >&5
10517 echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6 10520 echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6
10518 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then 10521 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then
10519 echo $ECHO_N "(cached) $ECHO_C" >&6 10522 echo $ECHO_N "(cached) $ECHO_C" >&6
10520 else 10523 else
10521 ac_check_lib_save_LIBS=$LIBS 10524 ac_check_lib_save_LIBS=$LIBS
10522 LIBS="-lkrb5 $LIBS" 10525 LIBS="-lkrb5 $LIBS"
10523 cat >conftest.$ac_ext <<_ACEOF 10526 cat >conftest.$ac_ext <<_ACEOF
10524 #line 10524 "configure" 10527 #line 10527 "configure"
10525 #include "confdefs.h" 10528 #include "confdefs.h"
10526 10529
10527 /* Override any gcc2 internal prototype to avoid an error. */ 10530 /* Override any gcc2 internal prototype to avoid an error. */
10528 #ifdef __cplusplus 10531 #ifdef __cplusplus
10529 extern "C" 10532 extern "C"
10538 ; 10541 ;
10539 return 0; 10542 return 0;
10540 } 10543 }
10541 _ACEOF 10544 _ACEOF
10542 rm -f conftest.$ac_objext conftest$ac_exeext 10545 rm -f conftest.$ac_objext conftest$ac_exeext
10543 if { (eval echo "$as_me:10543: \"$ac_link\"") >&5 10546 if { (eval echo "$as_me:10546: \"$ac_link\"") >&5
10544 (eval $ac_link) 2>&5 10547 (eval $ac_link) 2>&5
10545 ac_status=$? 10548 ac_status=$?
10546 echo "$as_me:10546: \$? = $ac_status" >&5 10549 echo "$as_me:10549: \$? = $ac_status" >&5
10547 (exit $ac_status); } && 10550 (exit $ac_status); } &&
10548 { ac_try='test -s conftest$ac_exeext' 10551 { ac_try='test -s conftest$ac_exeext'
10549 { (eval echo "$as_me:10549: \"$ac_try\"") >&5 10552 { (eval echo "$as_me:10552: \"$ac_try\"") >&5
10550 (eval $ac_try) 2>&5 10553 (eval $ac_try) 2>&5
10551 ac_status=$? 10554 ac_status=$?
10552 echo "$as_me:10552: \$? = $ac_status" >&5 10555 echo "$as_me:10555: \$? = $ac_status" >&5
10553 (exit $ac_status); }; }; then 10556 (exit $ac_status); }; }; then
10554 ac_cv_lib_krb5_krb5_init_context=yes 10557 ac_cv_lib_krb5_krb5_init_context=yes
10555 else 10558 else
10556 echo "$as_me: failed program was:" >&5 10559 echo "$as_me: failed program was:" >&5
10557 cat conftest.$ac_ext >&5 10560 cat conftest.$ac_ext >&5
10558 ac_cv_lib_krb5_krb5_init_context=no 10561 ac_cv_lib_krb5_krb5_init_context=no
10559 fi 10562 fi
10560 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10563 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10561 LIBS=$ac_check_lib_save_LIBS 10564 LIBS=$ac_check_lib_save_LIBS
10562 fi 10565 fi
10563 echo "$as_me:10563: result: $ac_cv_lib_krb5_krb5_init_context" >&5 10566 echo "$as_me:10566: result: $ac_cv_lib_krb5_krb5_init_context" >&5
10564 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6 10567 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6
10565 if test $ac_cv_lib_krb5_krb5_init_context = yes; then 10568 if test $ac_cv_lib_krb5_krb5_init_context = yes; then
10566 cat >>confdefs.h <<EOF 10569 cat >>confdefs.h <<EOF
10567 #define HAVE_LIBKRB5 1 10570 #define HAVE_LIBKRB5 1
10568 EOF 10571 EOF
10571 10574
10572 fi 10575 fi
10573 10576
10574 if test "${with_kerberos5+set}" != set; then 10577 if test "${with_kerberos5+set}" != set; then
10575 10578
10576 echo "$as_me:10576: checking for des_cbc_encrypt in -ldes425" >&5 10579 echo "$as_me:10579: checking for des_cbc_encrypt in -ldes425" >&5
10577 echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6 10580 echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6
10578 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then 10581 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then
10579 echo $ECHO_N "(cached) $ECHO_C" >&6 10582 echo $ECHO_N "(cached) $ECHO_C" >&6
10580 else 10583 else
10581 ac_check_lib_save_LIBS=$LIBS 10584 ac_check_lib_save_LIBS=$LIBS
10582 LIBS="-ldes425 $LIBS" 10585 LIBS="-ldes425 $LIBS"
10583 cat >conftest.$ac_ext <<_ACEOF 10586 cat >conftest.$ac_ext <<_ACEOF
10584 #line 10584 "configure" 10587 #line 10587 "configure"
10585 #include "confdefs.h" 10588 #include "confdefs.h"
10586 10589
10587 /* Override any gcc2 internal prototype to avoid an error. */ 10590 /* Override any gcc2 internal prototype to avoid an error. */
10588 #ifdef __cplusplus 10591 #ifdef __cplusplus
10589 extern "C" 10592 extern "C"
10598 ; 10601 ;
10599 return 0; 10602 return 0;
10600 } 10603 }
10601 _ACEOF 10604 _ACEOF
10602 rm -f conftest.$ac_objext conftest$ac_exeext 10605 rm -f conftest.$ac_objext conftest$ac_exeext
10603 if { (eval echo "$as_me:10603: \"$ac_link\"") >&5 10606 if { (eval echo "$as_me:10606: \"$ac_link\"") >&5
10604 (eval $ac_link) 2>&5 10607 (eval $ac_link) 2>&5
10605 ac_status=$? 10608 ac_status=$?
10606 echo "$as_me:10606: \$? = $ac_status" >&5 10609 echo "$as_me:10609: \$? = $ac_status" >&5
10607 (exit $ac_status); } && 10610 (exit $ac_status); } &&
10608 { ac_try='test -s conftest$ac_exeext' 10611 { ac_try='test -s conftest$ac_exeext'
10609 { (eval echo "$as_me:10609: \"$ac_try\"") >&5 10612 { (eval echo "$as_me:10612: \"$ac_try\"") >&5
10610 (eval $ac_try) 2>&5 10613 (eval $ac_try) 2>&5
10611 ac_status=$? 10614 ac_status=$?
10612 echo "$as_me:10612: \$? = $ac_status" >&5 10615 echo "$as_me:10615: \$? = $ac_status" >&5
10613 (exit $ac_status); }; }; then 10616 (exit $ac_status); }; }; then
10614 ac_cv_lib_des425_des_cbc_encrypt=yes 10617 ac_cv_lib_des425_des_cbc_encrypt=yes
10615 else 10618 else
10616 echo "$as_me: failed program was:" >&5 10619 echo "$as_me: failed program was:" >&5
10617 cat conftest.$ac_ext >&5 10620 cat conftest.$ac_ext >&5
10618 ac_cv_lib_des425_des_cbc_encrypt=no 10621 ac_cv_lib_des425_des_cbc_encrypt=no
10619 fi 10622 fi
10620 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10623 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10621 LIBS=$ac_check_lib_save_LIBS 10624 LIBS=$ac_check_lib_save_LIBS
10622 fi 10625 fi
10623 echo "$as_me:10623: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 10626 echo "$as_me:10626: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
10624 echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6 10627 echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6
10625 if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then 10628 if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then
10626 cat >>confdefs.h <<EOF 10629 cat >>confdefs.h <<EOF
10627 #define HAVE_LIBDES425 1 10630 #define HAVE_LIBDES425 1
10628 EOF 10631 EOF
10629 10632
10630 LIBS="-ldes425 $LIBS" 10633 LIBS="-ldes425 $LIBS"
10631 10634
10632 else 10635 else
10633 10636
10634 echo "$as_me:10634: checking for des_cbc_encrypt in -ldes" >&5 10637 echo "$as_me:10637: checking for des_cbc_encrypt in -ldes" >&5
10635 echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6 10638 echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6
10636 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then 10639 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then
10637 echo $ECHO_N "(cached) $ECHO_C" >&6 10640 echo $ECHO_N "(cached) $ECHO_C" >&6
10638 else 10641 else
10639 ac_check_lib_save_LIBS=$LIBS 10642 ac_check_lib_save_LIBS=$LIBS
10640 LIBS="-ldes $LIBS" 10643 LIBS="-ldes $LIBS"
10641 cat >conftest.$ac_ext <<_ACEOF 10644 cat >conftest.$ac_ext <<_ACEOF
10642 #line 10642 "configure" 10645 #line 10645 "configure"
10643 #include "confdefs.h" 10646 #include "confdefs.h"
10644 10647
10645 /* Override any gcc2 internal prototype to avoid an error. */ 10648 /* Override any gcc2 internal prototype to avoid an error. */
10646 #ifdef __cplusplus 10649 #ifdef __cplusplus
10647 extern "C" 10650 extern "C"
10656 ; 10659 ;
10657 return 0; 10660 return 0;
10658 } 10661 }
10659 _ACEOF 10662 _ACEOF
10660 rm -f conftest.$ac_objext conftest$ac_exeext 10663 rm -f conftest.$ac_objext conftest$ac_exeext
10661 if { (eval echo "$as_me:10661: \"$ac_link\"") >&5 10664 if { (eval echo "$as_me:10664: \"$ac_link\"") >&5
10662 (eval $ac_link) 2>&5 10665 (eval $ac_link) 2>&5
10663 ac_status=$? 10666 ac_status=$?
10664 echo "$as_me:10664: \$? = $ac_status" >&5 10667 echo "$as_me:10667: \$? = $ac_status" >&5
10665 (exit $ac_status); } && 10668 (exit $ac_status); } &&
10666 { ac_try='test -s conftest$ac_exeext' 10669 { ac_try='test -s conftest$ac_exeext'
10667 { (eval echo "$as_me:10667: \"$ac_try\"") >&5 10670 { (eval echo "$as_me:10670: \"$ac_try\"") >&5
10668 (eval $ac_try) 2>&5 10671 (eval $ac_try) 2>&5
10669 ac_status=$? 10672 ac_status=$?
10670 echo "$as_me:10670: \$? = $ac_status" >&5 10673 echo "$as_me:10673: \$? = $ac_status" >&5
10671 (exit $ac_status); }; }; then 10674 (exit $ac_status); }; }; then
10672 ac_cv_lib_des_des_cbc_encrypt=yes 10675 ac_cv_lib_des_des_cbc_encrypt=yes
10673 else 10676 else
10674 echo "$as_me: failed program was:" >&5 10677 echo "$as_me: failed program was:" >&5
10675 cat conftest.$ac_ext >&5 10678 cat conftest.$ac_ext >&5
10676 ac_cv_lib_des_des_cbc_encrypt=no 10679 ac_cv_lib_des_des_cbc_encrypt=no
10677 fi 10680 fi
10678 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10681 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10679 LIBS=$ac_check_lib_save_LIBS 10682 LIBS=$ac_check_lib_save_LIBS
10680 fi 10683 fi
10681 echo "$as_me:10681: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 10684 echo "$as_me:10684: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
10682 echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6 10685 echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6
10683 if test $ac_cv_lib_des_des_cbc_encrypt = yes; then 10686 if test $ac_cv_lib_des_des_cbc_encrypt = yes; then
10684 cat >>confdefs.h <<EOF 10687 cat >>confdefs.h <<EOF
10685 #define HAVE_LIBDES 1 10688 #define HAVE_LIBDES 1
10686 EOF 10689 EOF
10689 10692
10690 fi 10693 fi
10691 10694
10692 fi 10695 fi
10693 10696
10694 echo "$as_me:10694: checking for krb_get_cred in -lkrb4" >&5 10697 echo "$as_me:10697: checking for krb_get_cred in -lkrb4" >&5
10695 echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6 10698 echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6
10696 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then 10699 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then
10697 echo $ECHO_N "(cached) $ECHO_C" >&6 10700 echo $ECHO_N "(cached) $ECHO_C" >&6
10698 else 10701 else
10699 ac_check_lib_save_LIBS=$LIBS 10702 ac_check_lib_save_LIBS=$LIBS
10700 LIBS="-lkrb4 $LIBS" 10703 LIBS="-lkrb4 $LIBS"
10701 cat >conftest.$ac_ext <<_ACEOF 10704 cat >conftest.$ac_ext <<_ACEOF
10702 #line 10702 "configure" 10705 #line 10705 "configure"
10703 #include "confdefs.h" 10706 #include "confdefs.h"
10704 10707
10705 /* Override any gcc2 internal prototype to avoid an error. */ 10708 /* Override any gcc2 internal prototype to avoid an error. */
10706 #ifdef __cplusplus 10709 #ifdef __cplusplus
10707 extern "C" 10710 extern "C"
10716 ; 10719 ;
10717 return 0; 10720 return 0;
10718 } 10721 }
10719 _ACEOF 10722 _ACEOF
10720 rm -f conftest.$ac_objext conftest$ac_exeext 10723 rm -f conftest.$ac_objext conftest$ac_exeext
10721 if { (eval echo "$as_me:10721: \"$ac_link\"") >&5 10724 if { (eval echo "$as_me:10724: \"$ac_link\"") >&5
10722 (eval $ac_link) 2>&5 10725 (eval $ac_link) 2>&5
10723 ac_status=$? 10726 ac_status=$?
10724 echo "$as_me:10724: \$? = $ac_status" >&5 10727 echo "$as_me:10727: \$? = $ac_status" >&5
10725 (exit $ac_status); } && 10728 (exit $ac_status); } &&
10726 { ac_try='test -s conftest$ac_exeext' 10729 { ac_try='test -s conftest$ac_exeext'
10727 { (eval echo "$as_me:10727: \"$ac_try\"") >&5 10730 { (eval echo "$as_me:10730: \"$ac_try\"") >&5
10728 (eval $ac_try) 2>&5 10731 (eval $ac_try) 2>&5
10729 ac_status=$? 10732 ac_status=$?
10730 echo "$as_me:10730: \$? = $ac_status" >&5 10733 echo "$as_me:10733: \$? = $ac_status" >&5
10731 (exit $ac_status); }; }; then 10734 (exit $ac_status); }; }; then
10732 ac_cv_lib_krb4_krb_get_cred=yes 10735 ac_cv_lib_krb4_krb_get_cred=yes
10733 else 10736 else
10734 echo "$as_me: failed program was:" >&5 10737 echo "$as_me: failed program was:" >&5
10735 cat conftest.$ac_ext >&5 10738 cat conftest.$ac_ext >&5
10736 ac_cv_lib_krb4_krb_get_cred=no 10739 ac_cv_lib_krb4_krb_get_cred=no
10737 fi 10740 fi
10738 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10741 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10739 LIBS=$ac_check_lib_save_LIBS 10742 LIBS=$ac_check_lib_save_LIBS
10740 fi 10743 fi
10741 echo "$as_me:10741: result: $ac_cv_lib_krb4_krb_get_cred" >&5 10744 echo "$as_me:10744: result: $ac_cv_lib_krb4_krb_get_cred" >&5
10742 echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6 10745 echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6
10743 if test $ac_cv_lib_krb4_krb_get_cred = yes; then 10746 if test $ac_cv_lib_krb4_krb_get_cred = yes; then
10744 cat >>confdefs.h <<EOF 10747 cat >>confdefs.h <<EOF
10745 #define HAVE_LIBKRB4 1 10748 #define HAVE_LIBKRB4 1
10746 EOF 10749 EOF
10747 10750
10748 LIBS="-lkrb4 $LIBS" 10751 LIBS="-lkrb4 $LIBS"
10749 10752
10750 else 10753 else
10751 10754
10752 echo "$as_me:10752: checking for krb_get_cred in -lkrb" >&5 10755 echo "$as_me:10755: checking for krb_get_cred in -lkrb" >&5
10753 echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6 10756 echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6
10754 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then 10757 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then
10755 echo $ECHO_N "(cached) $ECHO_C" >&6 10758 echo $ECHO_N "(cached) $ECHO_C" >&6
10756 else 10759 else
10757 ac_check_lib_save_LIBS=$LIBS 10760 ac_check_lib_save_LIBS=$LIBS
10758 LIBS="-lkrb $LIBS" 10761 LIBS="-lkrb $LIBS"
10759 cat >conftest.$ac_ext <<_ACEOF 10762 cat >conftest.$ac_ext <<_ACEOF
10760 #line 10760 "configure" 10763 #line 10763 "configure"
10761 #include "confdefs.h" 10764 #include "confdefs.h"
10762 10765
10763 /* Override any gcc2 internal prototype to avoid an error. */ 10766 /* Override any gcc2 internal prototype to avoid an error. */
10764 #ifdef __cplusplus 10767 #ifdef __cplusplus
10765 extern "C" 10768 extern "C"
10774 ; 10777 ;
10775 return 0; 10778 return 0;
10776 } 10779 }
10777 _ACEOF 10780 _ACEOF
10778 rm -f conftest.$ac_objext conftest$ac_exeext 10781 rm -f conftest.$ac_objext conftest$ac_exeext
10779 if { (eval echo "$as_me:10779: \"$ac_link\"") >&5 10782 if { (eval echo "$as_me:10782: \"$ac_link\"") >&5
10780 (eval $ac_link) 2>&5 10783 (eval $ac_link) 2>&5
10781 ac_status=$? 10784 ac_status=$?
10782 echo "$as_me:10782: \$? = $ac_status" >&5 10785 echo "$as_me:10785: \$? = $ac_status" >&5
10783 (exit $ac_status); } && 10786 (exit $ac_status); } &&
10784 { ac_try='test -s conftest$ac_exeext' 10787 { ac_try='test -s conftest$ac_exeext'
10785 { (eval echo "$as_me:10785: \"$ac_try\"") >&5 10788 { (eval echo "$as_me:10788: \"$ac_try\"") >&5
10786 (eval $ac_try) 2>&5 10789 (eval $ac_try) 2>&5
10787 ac_status=$? 10790 ac_status=$?
10788 echo "$as_me:10788: \$? = $ac_status" >&5 10791 echo "$as_me:10791: \$? = $ac_status" >&5
10789 (exit $ac_status); }; }; then 10792 (exit $ac_status); }; }; then
10790 ac_cv_lib_krb_krb_get_cred=yes 10793 ac_cv_lib_krb_krb_get_cred=yes
10791 else 10794 else
10792 echo "$as_me: failed program was:" >&5 10795 echo "$as_me: failed program was:" >&5
10793 cat conftest.$ac_ext >&5 10796 cat conftest.$ac_ext >&5
10794 ac_cv_lib_krb_krb_get_cred=no 10797 ac_cv_lib_krb_krb_get_cred=no
10795 fi 10798 fi
10796 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10799 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10797 LIBS=$ac_check_lib_save_LIBS 10800 LIBS=$ac_check_lib_save_LIBS
10798 fi 10801 fi
10799 echo "$as_me:10799: result: $ac_cv_lib_krb_krb_get_cred" >&5 10802 echo "$as_me:10802: result: $ac_cv_lib_krb_krb_get_cred" >&5
10800 echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6 10803 echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6
10801 if test $ac_cv_lib_krb_krb_get_cred = yes; then 10804 if test $ac_cv_lib_krb_krb_get_cred = yes; then
10802 cat >>confdefs.h <<EOF 10805 cat >>confdefs.h <<EOF
10803 #define HAVE_LIBKRB 1 10806 #define HAVE_LIBKRB 1
10804 EOF 10807 EOF
10814 if test "${with_kerberos5+set}" = set; then 10817 if test "${with_kerberos5+set}" = set; then
10815 10818
10816 for ac_header in krb5.h 10819 for ac_header in krb5.h
10817 do 10820 do
10818 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 10821 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10819 echo "$as_me:10819: checking for $ac_header" >&5 10822 echo "$as_me:10822: checking for $ac_header" >&5
10820 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 10823 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10821 if eval "test \"\${$as_ac_Header+set}\" = set"; then 10824 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10822 echo $ECHO_N "(cached) $ECHO_C" >&6 10825 echo $ECHO_N "(cached) $ECHO_C" >&6
10823 else 10826 else
10824 cat >conftest.$ac_ext <<_ACEOF 10827 cat >conftest.$ac_ext <<_ACEOF
10825 #line 10825 "configure" 10828 #line 10828 "configure"
10826 #include "confdefs.h" 10829 #include "confdefs.h"
10827 #include <$ac_header> 10830 #include <$ac_header>
10828 _ACEOF 10831 _ACEOF
10829 if { (eval echo "$as_me:10829: \"$ac_cpp conftest.$ac_ext\"") >&5 10832 if { (eval echo "$as_me:10832: \"$ac_cpp conftest.$ac_ext\"") >&5
10830 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 10833 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10831 ac_status=$? 10834 ac_status=$?
10832 egrep -v '^ *\+' conftest.er1 >conftest.err 10835 egrep -v '^ *\+' conftest.er1 >conftest.err
10833 rm -f conftest.er1 10836 rm -f conftest.er1
10834 cat conftest.err >&5 10837 cat conftest.err >&5
10835 echo "$as_me:10835: \$? = $ac_status" >&5 10838 echo "$as_me:10838: \$? = $ac_status" >&5
10836 (exit $ac_status); } >/dev/null; then 10839 (exit $ac_status); } >/dev/null; then
10837 if test -s conftest.err; then 10840 if test -s conftest.err; then
10838 ac_cpp_err=$ac_c_preproc_warn_flag 10841 ac_cpp_err=$ac_c_preproc_warn_flag
10839 else 10842 else
10840 ac_cpp_err= 10843 ac_cpp_err=
10849 cat conftest.$ac_ext >&5 10852 cat conftest.$ac_ext >&5
10850 eval "$as_ac_Header=no" 10853 eval "$as_ac_Header=no"
10851 fi 10854 fi
10852 rm -f conftest.err conftest.$ac_ext 10855 rm -f conftest.err conftest.$ac_ext
10853 fi 10856 fi
10854 echo "$as_me:10854: result: `eval echo '${'$as_ac_Header'}'`" >&5 10857 echo "$as_me:10857: result: `eval echo '${'$as_ac_Header'}'`" >&5
10855 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 10858 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10856 if test `eval echo '${'$as_ac_Header'}'` = yes; then 10859 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10857 cat >>confdefs.h <<EOF 10860 cat >>confdefs.h <<EOF
10858 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 10861 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10859 EOF 10862 EOF
10864 else 10867 else
10865 10868
10866 for ac_header in des.h 10869 for ac_header in des.h
10867 do 10870 do
10868 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 10871 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10869 echo "$as_me:10869: checking for $ac_header" >&5 10872 echo "$as_me:10872: checking for $ac_header" >&5
10870 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 10873 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10871 if eval "test \"\${$as_ac_Header+set}\" = set"; then 10874 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10872 echo $ECHO_N "(cached) $ECHO_C" >&6 10875 echo $ECHO_N "(cached) $ECHO_C" >&6
10873 else 10876 else
10874 cat >conftest.$ac_ext <<_ACEOF 10877 cat >conftest.$ac_ext <<_ACEOF
10875 #line 10875 "configure" 10878 #line 10878 "configure"
10876 #include "confdefs.h" 10879 #include "confdefs.h"
10877 #include <$ac_header> 10880 #include <$ac_header>
10878 _ACEOF 10881 _ACEOF
10879 if { (eval echo "$as_me:10879: \"$ac_cpp conftest.$ac_ext\"") >&5 10882 if { (eval echo "$as_me:10882: \"$ac_cpp conftest.$ac_ext\"") >&5
10880 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 10883 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10881 ac_status=$? 10884 ac_status=$?
10882 egrep -v '^ *\+' conftest.er1 >conftest.err 10885 egrep -v '^ *\+' conftest.er1 >conftest.err
10883 rm -f conftest.er1 10886 rm -f conftest.er1
10884 cat conftest.err >&5 10887 cat conftest.err >&5
10885 echo "$as_me:10885: \$? = $ac_status" >&5 10888 echo "$as_me:10888: \$? = $ac_status" >&5
10886 (exit $ac_status); } >/dev/null; then 10889 (exit $ac_status); } >/dev/null; then
10887 if test -s conftest.err; then 10890 if test -s conftest.err; then
10888 ac_cpp_err=$ac_c_preproc_warn_flag 10891 ac_cpp_err=$ac_c_preproc_warn_flag
10889 else 10892 else
10890 ac_cpp_err= 10893 ac_cpp_err=
10899 cat conftest.$ac_ext >&5 10902 cat conftest.$ac_ext >&5
10900 eval "$as_ac_Header=no" 10903 eval "$as_ac_Header=no"
10901 fi 10904 fi
10902 rm -f conftest.err conftest.$ac_ext 10905 rm -f conftest.err conftest.$ac_ext
10903 fi 10906 fi
10904 echo "$as_me:10904: result: `eval echo '${'$as_ac_Header'}'`" >&5 10907 echo "$as_me:10907: result: `eval echo '${'$as_ac_Header'}'`" >&5
10905 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 10908 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10906 if test `eval echo '${'$as_ac_Header'}'` = yes; then 10909 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10907 cat >>confdefs.h <<EOF 10910 cat >>confdefs.h <<EOF
10908 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 10911 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10909 EOF 10912 EOF
10911 else 10914 else
10912 10915
10913 for ac_header in kerberosIV/des.h 10916 for ac_header in kerberosIV/des.h
10914 do 10917 do
10915 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 10918 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10916 echo "$as_me:10916: checking for $ac_header" >&5 10919 echo "$as_me:10919: checking for $ac_header" >&5
10917 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 10920 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10918 if eval "test \"\${$as_ac_Header+set}\" = set"; then 10921 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10919 echo $ECHO_N "(cached) $ECHO_C" >&6 10922 echo $ECHO_N "(cached) $ECHO_C" >&6
10920 else 10923 else
10921 cat >conftest.$ac_ext <<_ACEOF 10924 cat >conftest.$ac_ext <<_ACEOF
10922 #line 10922 "configure" 10925 #line 10925 "configure"
10923 #include "confdefs.h" 10926 #include "confdefs.h"
10924 #include <$ac_header> 10927 #include <$ac_header>
10925 _ACEOF 10928 _ACEOF
10926 if { (eval echo "$as_me:10926: \"$ac_cpp conftest.$ac_ext\"") >&5 10929 if { (eval echo "$as_me:10929: \"$ac_cpp conftest.$ac_ext\"") >&5
10927 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 10930 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10928 ac_status=$? 10931 ac_status=$?
10929 egrep -v '^ *\+' conftest.er1 >conftest.err 10932 egrep -v '^ *\+' conftest.er1 >conftest.err
10930 rm -f conftest.er1 10933 rm -f conftest.er1
10931 cat conftest.err >&5 10934 cat conftest.err >&5
10932 echo "$as_me:10932: \$? = $ac_status" >&5 10935 echo "$as_me:10935: \$? = $ac_status" >&5
10933 (exit $ac_status); } >/dev/null; then 10936 (exit $ac_status); } >/dev/null; then
10934 if test -s conftest.err; then 10937 if test -s conftest.err; then
10935 ac_cpp_err=$ac_c_preproc_warn_flag 10938 ac_cpp_err=$ac_c_preproc_warn_flag
10936 else 10939 else
10937 ac_cpp_err= 10940 ac_cpp_err=
10946 cat conftest.$ac_ext >&5 10949 cat conftest.$ac_ext >&5
10947 eval "$as_ac_Header=no" 10950 eval "$as_ac_Header=no"
10948 fi 10951 fi
10949 rm -f conftest.err conftest.$ac_ext 10952 rm -f conftest.err conftest.$ac_ext
10950 fi 10953 fi
10951 echo "$as_me:10951: result: `eval echo '${'$as_ac_Header'}'`" >&5 10954 echo "$as_me:10954: result: `eval echo '${'$as_ac_Header'}'`" >&5
10952 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 10955 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10953 if test `eval echo '${'$as_ac_Header'}'` = yes; then 10956 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10954 cat >>confdefs.h <<EOF 10957 cat >>confdefs.h <<EOF
10955 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 10958 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10956 EOF 10959 EOF
10958 else 10961 else
10959 10962
10960 for ac_header in kerberos/des.h 10963 for ac_header in kerberos/des.h
10961 do 10964 do
10962 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 10965 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10963 echo "$as_me:10963: checking for $ac_header" >&5 10966 echo "$as_me:10966: checking for $ac_header" >&5
10964 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 10967 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10965 if eval "test \"\${$as_ac_Header+set}\" = set"; then 10968 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10966 echo $ECHO_N "(cached) $ECHO_C" >&6 10969 echo $ECHO_N "(cached) $ECHO_C" >&6
10967 else 10970 else
10968 cat >conftest.$ac_ext <<_ACEOF 10971 cat >conftest.$ac_ext <<_ACEOF
10969 #line 10969 "configure" 10972 #line 10972 "configure"
10970 #include "confdefs.h" 10973 #include "confdefs.h"
10971 #include <$ac_header> 10974 #include <$ac_header>
10972 _ACEOF 10975 _ACEOF
10973 if { (eval echo "$as_me:10973: \"$ac_cpp conftest.$ac_ext\"") >&5 10976 if { (eval echo "$as_me:10976: \"$ac_cpp conftest.$ac_ext\"") >&5
10974 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 10977 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10975 ac_status=$? 10978 ac_status=$?
10976 egrep -v '^ *\+' conftest.er1 >conftest.err 10979 egrep -v '^ *\+' conftest.er1 >conftest.err
10977 rm -f conftest.er1 10980 rm -f conftest.er1
10978 cat conftest.err >&5 10981 cat conftest.err >&5
10979 echo "$as_me:10979: \$? = $ac_status" >&5 10982 echo "$as_me:10982: \$? = $ac_status" >&5
10980 (exit $ac_status); } >/dev/null; then 10983 (exit $ac_status); } >/dev/null; then
10981 if test -s conftest.err; then 10984 if test -s conftest.err; then
10982 ac_cpp_err=$ac_c_preproc_warn_flag 10985 ac_cpp_err=$ac_c_preproc_warn_flag
10983 else 10986 else
10984 ac_cpp_err= 10987 ac_cpp_err=
10993 cat conftest.$ac_ext >&5 10996 cat conftest.$ac_ext >&5
10994 eval "$as_ac_Header=no" 10997 eval "$as_ac_Header=no"
10995 fi 10998 fi
10996 rm -f conftest.err conftest.$ac_ext 10999 rm -f conftest.err conftest.$ac_ext
10997 fi 11000 fi
10998 echo "$as_me:10998: result: `eval echo '${'$as_ac_Header'}'`" >&5 11001 echo "$as_me:11001: result: `eval echo '${'$as_ac_Header'}'`" >&5
10999 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11002 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11000 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11003 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11001 cat >>confdefs.h <<EOF 11004 cat >>confdefs.h <<EOF
11002 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11005 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11003 EOF 11006 EOF
11012 done 11015 done
11013 11016
11014 for ac_header in krb.h 11017 for ac_header in krb.h
11015 do 11018 do
11016 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11019 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11017 echo "$as_me:11017: checking for $ac_header" >&5 11020 echo "$as_me:11020: checking for $ac_header" >&5
11018 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11021 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11019 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11022 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11020 echo $ECHO_N "(cached) $ECHO_C" >&6 11023 echo $ECHO_N "(cached) $ECHO_C" >&6
11021 else 11024 else
11022 cat >conftest.$ac_ext <<_ACEOF 11025 cat >conftest.$ac_ext <<_ACEOF
11023 #line 11023 "configure" 11026 #line 11026 "configure"
11024 #include "confdefs.h" 11027 #include "confdefs.h"
11025 #include <$ac_header> 11028 #include <$ac_header>
11026 _ACEOF 11029 _ACEOF
11027 if { (eval echo "$as_me:11027: \"$ac_cpp conftest.$ac_ext\"") >&5 11030 if { (eval echo "$as_me:11030: \"$ac_cpp conftest.$ac_ext\"") >&5
11028 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11031 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11029 ac_status=$? 11032 ac_status=$?
11030 egrep -v '^ *\+' conftest.er1 >conftest.err 11033 egrep -v '^ *\+' conftest.er1 >conftest.err
11031 rm -f conftest.er1 11034 rm -f conftest.er1
11032 cat conftest.err >&5 11035 cat conftest.err >&5
11033 echo "$as_me:11033: \$? = $ac_status" >&5 11036 echo "$as_me:11036: \$? = $ac_status" >&5
11034 (exit $ac_status); } >/dev/null; then 11037 (exit $ac_status); } >/dev/null; then
11035 if test -s conftest.err; then 11038 if test -s conftest.err; then
11036 ac_cpp_err=$ac_c_preproc_warn_flag 11039 ac_cpp_err=$ac_c_preproc_warn_flag
11037 else 11040 else
11038 ac_cpp_err= 11041 ac_cpp_err=
11047 cat conftest.$ac_ext >&5 11050 cat conftest.$ac_ext >&5
11048 eval "$as_ac_Header=no" 11051 eval "$as_ac_Header=no"
11049 fi 11052 fi
11050 rm -f conftest.err conftest.$ac_ext 11053 rm -f conftest.err conftest.$ac_ext
11051 fi 11054 fi
11052 echo "$as_me:11052: result: `eval echo '${'$as_ac_Header'}'`" >&5 11055 echo "$as_me:11055: result: `eval echo '${'$as_ac_Header'}'`" >&5
11053 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11056 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11054 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11057 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11055 cat >>confdefs.h <<EOF 11058 cat >>confdefs.h <<EOF
11056 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11059 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11057 EOF 11060 EOF
11059 else 11062 else
11060 11063
11061 for ac_header in kerberosIV/krb.h 11064 for ac_header in kerberosIV/krb.h
11062 do 11065 do
11063 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11066 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11064 echo "$as_me:11064: checking for $ac_header" >&5 11067 echo "$as_me:11067: checking for $ac_header" >&5
11065 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11068 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11066 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11069 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11067 echo $ECHO_N "(cached) $ECHO_C" >&6 11070 echo $ECHO_N "(cached) $ECHO_C" >&6
11068 else 11071 else
11069 cat >conftest.$ac_ext <<_ACEOF 11072 cat >conftest.$ac_ext <<_ACEOF
11070 #line 11070 "configure" 11073 #line 11073 "configure"
11071 #include "confdefs.h" 11074 #include "confdefs.h"
11072 #include <$ac_header> 11075 #include <$ac_header>
11073 _ACEOF 11076 _ACEOF
11074 if { (eval echo "$as_me:11074: \"$ac_cpp conftest.$ac_ext\"") >&5 11077 if { (eval echo "$as_me:11077: \"$ac_cpp conftest.$ac_ext\"") >&5
11075 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11078 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11076 ac_status=$? 11079 ac_status=$?
11077 egrep -v '^ *\+' conftest.er1 >conftest.err 11080 egrep -v '^ *\+' conftest.er1 >conftest.err
11078 rm -f conftest.er1 11081 rm -f conftest.er1
11079 cat conftest.err >&5 11082 cat conftest.err >&5
11080 echo "$as_me:11080: \$? = $ac_status" >&5 11083 echo "$as_me:11083: \$? = $ac_status" >&5
11081 (exit $ac_status); } >/dev/null; then 11084 (exit $ac_status); } >/dev/null; then
11082 if test -s conftest.err; then 11085 if test -s conftest.err; then
11083 ac_cpp_err=$ac_c_preproc_warn_flag 11086 ac_cpp_err=$ac_c_preproc_warn_flag
11084 else 11087 else
11085 ac_cpp_err= 11088 ac_cpp_err=
11094 cat conftest.$ac_ext >&5 11097 cat conftest.$ac_ext >&5
11095 eval "$as_ac_Header=no" 11098 eval "$as_ac_Header=no"
11096 fi 11099 fi
11097 rm -f conftest.err conftest.$ac_ext 11100 rm -f conftest.err conftest.$ac_ext
11098 fi 11101 fi
11099 echo "$as_me:11099: result: `eval echo '${'$as_ac_Header'}'`" >&5 11102 echo "$as_me:11102: result: `eval echo '${'$as_ac_Header'}'`" >&5
11100 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11103 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11101 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11104 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11102 cat >>confdefs.h <<EOF 11105 cat >>confdefs.h <<EOF
11103 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11106 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11104 EOF 11107 EOF
11106 else 11109 else
11107 11110
11108 for ac_header in kerberos/krb.h 11111 for ac_header in kerberos/krb.h
11109 do 11112 do
11110 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11113 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11111 echo "$as_me:11111: checking for $ac_header" >&5 11114 echo "$as_me:11114: checking for $ac_header" >&5
11112 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11115 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11113 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11116 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11114 echo $ECHO_N "(cached) $ECHO_C" >&6 11117 echo $ECHO_N "(cached) $ECHO_C" >&6
11115 else 11118 else
11116 cat >conftest.$ac_ext <<_ACEOF 11119 cat >conftest.$ac_ext <<_ACEOF
11117 #line 11117 "configure" 11120 #line 11120 "configure"
11118 #include "confdefs.h" 11121 #include "confdefs.h"
11119 #include <$ac_header> 11122 #include <$ac_header>
11120 _ACEOF 11123 _ACEOF
11121 if { (eval echo "$as_me:11121: \"$ac_cpp conftest.$ac_ext\"") >&5 11124 if { (eval echo "$as_me:11124: \"$ac_cpp conftest.$ac_ext\"") >&5
11122 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11125 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11123 ac_status=$? 11126 ac_status=$?
11124 egrep -v '^ *\+' conftest.er1 >conftest.err 11127 egrep -v '^ *\+' conftest.er1 >conftest.err
11125 rm -f conftest.er1 11128 rm -f conftest.er1
11126 cat conftest.err >&5 11129 cat conftest.err >&5
11127 echo "$as_me:11127: \$? = $ac_status" >&5 11130 echo "$as_me:11130: \$? = $ac_status" >&5
11128 (exit $ac_status); } >/dev/null; then 11131 (exit $ac_status); } >/dev/null; then
11129 if test -s conftest.err; then 11132 if test -s conftest.err; then
11130 ac_cpp_err=$ac_c_preproc_warn_flag 11133 ac_cpp_err=$ac_c_preproc_warn_flag
11131 else 11134 else
11132 ac_cpp_err= 11135 ac_cpp_err=
11141 cat conftest.$ac_ext >&5 11144 cat conftest.$ac_ext >&5
11142 eval "$as_ac_Header=no" 11145 eval "$as_ac_Header=no"
11143 fi 11146 fi
11144 rm -f conftest.err conftest.$ac_ext 11147 rm -f conftest.err conftest.$ac_ext
11145 fi 11148 fi
11146 echo "$as_me:11146: result: `eval echo '${'$as_ac_Header'}'`" >&5 11149 echo "$as_me:11149: result: `eval echo '${'$as_ac_Header'}'`" >&5
11147 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11150 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11148 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11151 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11149 cat >>confdefs.h <<EOF 11152 cat >>confdefs.h <<EOF
11150 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11153 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11151 EOF 11154 EOF
11162 fi 11165 fi
11163 11166
11164 for ac_header in com_err.h 11167 for ac_header in com_err.h
11165 do 11168 do
11166 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11169 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11167 echo "$as_me:11167: checking for $ac_header" >&5 11170 echo "$as_me:11170: checking for $ac_header" >&5
11168 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11171 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11169 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11172 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11170 echo $ECHO_N "(cached) $ECHO_C" >&6 11173 echo $ECHO_N "(cached) $ECHO_C" >&6
11171 else 11174 else
11172 cat >conftest.$ac_ext <<_ACEOF 11175 cat >conftest.$ac_ext <<_ACEOF
11173 #line 11173 "configure" 11176 #line 11176 "configure"
11174 #include "confdefs.h" 11177 #include "confdefs.h"
11175 #include <$ac_header> 11178 #include <$ac_header>
11176 _ACEOF 11179 _ACEOF
11177 if { (eval echo "$as_me:11177: \"$ac_cpp conftest.$ac_ext\"") >&5 11180 if { (eval echo "$as_me:11180: \"$ac_cpp conftest.$ac_ext\"") >&5
11178 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11181 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11179 ac_status=$? 11182 ac_status=$?
11180 egrep -v '^ *\+' conftest.er1 >conftest.err 11183 egrep -v '^ *\+' conftest.er1 >conftest.err
11181 rm -f conftest.er1 11184 rm -f conftest.er1
11182 cat conftest.err >&5 11185 cat conftest.err >&5
11183 echo "$as_me:11183: \$? = $ac_status" >&5 11186 echo "$as_me:11186: \$? = $ac_status" >&5
11184 (exit $ac_status); } >/dev/null; then 11187 (exit $ac_status); } >/dev/null; then
11185 if test -s conftest.err; then 11188 if test -s conftest.err; then
11186 ac_cpp_err=$ac_c_preproc_warn_flag 11189 ac_cpp_err=$ac_c_preproc_warn_flag
11187 else 11190 else
11188 ac_cpp_err= 11191 ac_cpp_err=
11197 cat conftest.$ac_ext >&5 11200 cat conftest.$ac_ext >&5
11198 eval "$as_ac_Header=no" 11201 eval "$as_ac_Header=no"
11199 fi 11202 fi
11200 rm -f conftest.err conftest.$ac_ext 11203 rm -f conftest.err conftest.$ac_ext
11201 fi 11204 fi
11202 echo "$as_me:11202: result: `eval echo '${'$as_ac_Header'}'`" >&5 11205 echo "$as_me:11205: result: `eval echo '${'$as_ac_Header'}'`" >&5
11203 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11206 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11204 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11207 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11205 cat >>confdefs.h <<EOF 11208 cat >>confdefs.h <<EOF
11206 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11209 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11207 EOF 11210 EOF
11212 fi 11215 fi
11213 11216
11214 # Solaris requires -lintl if you want strerror (which calls dgettext) 11217 # Solaris requires -lintl if you want strerror (which calls dgettext)
11215 # to return localized messages. 11218 # to return localized messages.
11216 11219
11217 echo "$as_me:11217: checking for dgettext in -lintl" >&5 11220 echo "$as_me:11220: checking for dgettext in -lintl" >&5
11218 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6 11221 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6
11219 if test "${ac_cv_lib_intl_dgettext+set}" = set; then 11222 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
11220 echo $ECHO_N "(cached) $ECHO_C" >&6 11223 echo $ECHO_N "(cached) $ECHO_C" >&6
11221 else 11224 else
11222 ac_check_lib_save_LIBS=$LIBS 11225 ac_check_lib_save_LIBS=$LIBS
11223 LIBS="-lintl $LIBS" 11226 LIBS="-lintl $LIBS"
11224 cat >conftest.$ac_ext <<_ACEOF 11227 cat >conftest.$ac_ext <<_ACEOF
11225 #line 11225 "configure" 11228 #line 11228 "configure"
11226 #include "confdefs.h" 11229 #include "confdefs.h"
11227 11230
11228 /* Override any gcc2 internal prototype to avoid an error. */ 11231 /* Override any gcc2 internal prototype to avoid an error. */
11229 #ifdef __cplusplus 11232 #ifdef __cplusplus
11230 extern "C" 11233 extern "C"
11239 ; 11242 ;
11240 return 0; 11243 return 0;
11241 } 11244 }
11242 _ACEOF 11245 _ACEOF
11243 rm -f conftest.$ac_objext conftest$ac_exeext 11246 rm -f conftest.$ac_objext conftest$ac_exeext
11244 if { (eval echo "$as_me:11244: \"$ac_link\"") >&5 11247 if { (eval echo "$as_me:11247: \"$ac_link\"") >&5
11245 (eval $ac_link) 2>&5 11248 (eval $ac_link) 2>&5
11246 ac_status=$? 11249 ac_status=$?
11247 echo "$as_me:11247: \$? = $ac_status" >&5 11250 echo "$as_me:11250: \$? = $ac_status" >&5
11248 (exit $ac_status); } && 11251 (exit $ac_status); } &&
11249 { ac_try='test -s conftest$ac_exeext' 11252 { ac_try='test -s conftest$ac_exeext'
11250 { (eval echo "$as_me:11250: \"$ac_try\"") >&5 11253 { (eval echo "$as_me:11253: \"$ac_try\"") >&5
11251 (eval $ac_try) 2>&5 11254 (eval $ac_try) 2>&5
11252 ac_status=$? 11255 ac_status=$?
11253 echo "$as_me:11253: \$? = $ac_status" >&5 11256 echo "$as_me:11256: \$? = $ac_status" >&5
11254 (exit $ac_status); }; }; then 11257 (exit $ac_status); }; }; then
11255 ac_cv_lib_intl_dgettext=yes 11258 ac_cv_lib_intl_dgettext=yes
11256 else 11259 else
11257 echo "$as_me: failed program was:" >&5 11260 echo "$as_me: failed program was:" >&5
11258 cat conftest.$ac_ext >&5 11261 cat conftest.$ac_ext >&5
11259 ac_cv_lib_intl_dgettext=no 11262 ac_cv_lib_intl_dgettext=no
11260 fi 11263 fi
11261 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11264 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11262 LIBS=$ac_check_lib_save_LIBS 11265 LIBS=$ac_check_lib_save_LIBS
11263 fi 11266 fi
11264 echo "$as_me:11264: result: $ac_cv_lib_intl_dgettext" >&5 11267 echo "$as_me:11267: result: $ac_cv_lib_intl_dgettext" >&5
11265 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6 11268 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6
11266 if test $ac_cv_lib_intl_dgettext = yes; then 11269 if test $ac_cv_lib_intl_dgettext = yes; then
11267 cat >>confdefs.h <<EOF 11270 cat >>confdefs.h <<EOF
11268 #define HAVE_LIBINTL 1 11271 #define HAVE_LIBINTL 1
11269 EOF 11272 EOF
11270 11273
11271 LIBS="-lintl $LIBS" 11274 LIBS="-lintl $LIBS"
11272 11275
11273 fi 11276 fi
11274 11277
11275 echo "$as_me:11275: checking whether localtime caches TZ" >&5 11278 echo "$as_me:11278: checking whether localtime caches TZ" >&5
11276 echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6 11279 echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6
11277 if test "${emacs_cv_localtime_cache+set}" = set; then 11280 if test "${emacs_cv_localtime_cache+set}" = set; then
11278 echo $ECHO_N "(cached) $ECHO_C" >&6 11281 echo $ECHO_N "(cached) $ECHO_C" >&6
11279 else 11282 else
11280 if test x$ac_cv_func_tzset = xyes; then 11283 if test x$ac_cv_func_tzset = xyes; then
11281 if test "$cross_compiling" = yes; then 11284 if test "$cross_compiling" = yes; then
11282 # If we have tzset, assume the worst when cross-compiling. 11285 # If we have tzset, assume the worst when cross-compiling.
11283 emacs_cv_localtime_cache=yes 11286 emacs_cv_localtime_cache=yes
11284 else 11287 else
11285 cat >conftest.$ac_ext <<_ACEOF 11288 cat >conftest.$ac_ext <<_ACEOF
11286 #line 11286 "configure" 11289 #line 11289 "configure"
11287 #include "confdefs.h" 11290 #include "confdefs.h"
11288 #include <time.h> 11291 #include <time.h>
11289 extern char **environ; 11292 extern char **environ;
11290 unset_TZ () 11293 unset_TZ ()
11291 { 11294 {
11314 exit (1); 11317 exit (1);
11315 exit (0); 11318 exit (0);
11316 } 11319 }
11317 _ACEOF 11320 _ACEOF
11318 rm -f conftest$ac_exeext 11321 rm -f conftest$ac_exeext
11319 if { (eval echo "$as_me:11319: \"$ac_link\"") >&5 11322 if { (eval echo "$as_me:11322: \"$ac_link\"") >&5
11320 (eval $ac_link) 2>&5 11323 (eval $ac_link) 2>&5
11321 ac_status=$? 11324 ac_status=$?
11322 echo "$as_me:11322: \$? = $ac_status" >&5 11325 echo "$as_me:11325: \$? = $ac_status" >&5
11323 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 11326 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11324 { (eval echo "$as_me:11324: \"$ac_try\"") >&5 11327 { (eval echo "$as_me:11327: \"$ac_try\"") >&5
11325 (eval $ac_try) 2>&5 11328 (eval $ac_try) 2>&5
11326 ac_status=$? 11329 ac_status=$?
11327 echo "$as_me:11327: \$? = $ac_status" >&5 11330 echo "$as_me:11330: \$? = $ac_status" >&5
11328 (exit $ac_status); }; }; then 11331 (exit $ac_status); }; }; then
11329 emacs_cv_localtime_cache=no 11332 emacs_cv_localtime_cache=no
11330 else 11333 else
11331 echo "$as_me: program exited with status $ac_status" >&5 11334 echo "$as_me: program exited with status $ac_status" >&5
11332 echo "$as_me: failed program was:" >&5 11335 echo "$as_me: failed program was:" >&5
11339 # If we lack tzset, report that localtime does not cache TZ, 11342 # If we lack tzset, report that localtime does not cache TZ,
11340 # since we can't invalidate the cache if we don't have tzset. 11343 # since we can't invalidate the cache if we don't have tzset.
11341 emacs_cv_localtime_cache=no 11344 emacs_cv_localtime_cache=no
11342 fi 11345 fi
11343 fi 11346 fi
11344 echo "$as_me:11344: result: $emacs_cv_localtime_cache" >&5 11347 echo "$as_me:11347: result: $emacs_cv_localtime_cache" >&5
11345 echo "${ECHO_T}$emacs_cv_localtime_cache" >&6 11348 echo "${ECHO_T}$emacs_cv_localtime_cache" >&6
11346 if test $emacs_cv_localtime_cache = yes; then 11349 if test $emacs_cv_localtime_cache = yes; then
11347 cat >>confdefs.h <<\EOF 11350 cat >>confdefs.h <<\EOF
11348 #define LOCALTIME_CACHE 1 11351 #define LOCALTIME_CACHE 1
11349 EOF 11352 EOF
11353 if test "x$HAVE_TIMEVAL" = xyes; then 11356 if test "x$HAVE_TIMEVAL" = xyes; then
11354 11357
11355 for ac_func in gettimeofday 11358 for ac_func in gettimeofday
11356 do 11359 do
11357 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 11360 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11358 echo "$as_me:11358: checking for $ac_func" >&5 11361 echo "$as_me:11361: checking for $ac_func" >&5
11359 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 11362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11360 if eval "test \"\${$as_ac_var+set}\" = set"; then 11363 if eval "test \"\${$as_ac_var+set}\" = set"; then
11361 echo $ECHO_N "(cached) $ECHO_C" >&6 11364 echo $ECHO_N "(cached) $ECHO_C" >&6
11362 else 11365 else
11363 cat >conftest.$ac_ext <<_ACEOF 11366 cat >conftest.$ac_ext <<_ACEOF
11364 #line 11364 "configure" 11367 #line 11367 "configure"
11365 #include "confdefs.h" 11368 #include "confdefs.h"
11366 /* System header to define __stub macros and hopefully few prototypes, 11369 /* System header to define __stub macros and hopefully few prototypes,
11367 which can conflict with char $ac_func (); below. */ 11370 which can conflict with char $ac_func (); below. */
11368 #include <assert.h> 11371 #include <assert.h>
11369 /* Override any gcc2 internal prototype to avoid an error. */ 11372 /* Override any gcc2 internal prototype to avoid an error. */
11390 ; 11393 ;
11391 return 0; 11394 return 0;
11392 } 11395 }
11393 _ACEOF 11396 _ACEOF
11394 rm -f conftest.$ac_objext conftest$ac_exeext 11397 rm -f conftest.$ac_objext conftest$ac_exeext
11395 if { (eval echo "$as_me:11395: \"$ac_link\"") >&5 11398 if { (eval echo "$as_me:11398: \"$ac_link\"") >&5
11396 (eval $ac_link) 2>&5 11399 (eval $ac_link) 2>&5
11397 ac_status=$? 11400 ac_status=$?
11398 echo "$as_me:11398: \$? = $ac_status" >&5 11401 echo "$as_me:11401: \$? = $ac_status" >&5
11399 (exit $ac_status); } && 11402 (exit $ac_status); } &&
11400 { ac_try='test -s conftest$ac_exeext' 11403 { ac_try='test -s conftest$ac_exeext'
11401 { (eval echo "$as_me:11401: \"$ac_try\"") >&5 11404 { (eval echo "$as_me:11404: \"$ac_try\"") >&5
11402 (eval $ac_try) 2>&5 11405 (eval $ac_try) 2>&5
11403 ac_status=$? 11406 ac_status=$?
11404 echo "$as_me:11404: \$? = $ac_status" >&5 11407 echo "$as_me:11407: \$? = $ac_status" >&5
11405 (exit $ac_status); }; }; then 11408 (exit $ac_status); }; }; then
11406 eval "$as_ac_var=yes" 11409 eval "$as_ac_var=yes"
11407 else 11410 else
11408 echo "$as_me: failed program was:" >&5 11411 echo "$as_me: failed program was:" >&5
11409 cat conftest.$ac_ext >&5 11412 cat conftest.$ac_ext >&5
11410 eval "$as_ac_var=no" 11413 eval "$as_ac_var=no"
11411 fi 11414 fi
11412 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11415 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11413 fi 11416 fi
11414 echo "$as_me:11414: result: `eval echo '${'$as_ac_var'}'`" >&5 11417 echo "$as_me:11417: result: `eval echo '${'$as_ac_var'}'`" >&5
11415 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 11418 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11416 if test `eval echo '${'$as_ac_var'}'` = yes; then 11419 if test `eval echo '${'$as_ac_var'}'` = yes; then
11417 cat >>confdefs.h <<EOF 11420 cat >>confdefs.h <<EOF
11418 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 11421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11419 EOF 11422 EOF
11420 11423
11421 fi 11424 fi
11422 done 11425 done
11423 11426
11424 echo "$as_me:11424: checking whether gettimeofday can accept two arguments" >&5 11427 echo "$as_me:11427: checking whether gettimeofday can accept two arguments" >&5
11425 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6 11428 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
11426 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then 11429 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
11427 echo $ECHO_N "(cached) $ECHO_C" >&6 11430 echo $ECHO_N "(cached) $ECHO_C" >&6
11428 else 11431 else
11429 cat >conftest.$ac_ext <<_ACEOF 11432 cat >conftest.$ac_ext <<_ACEOF
11430 #line 11430 "configure" 11433 #line 11433 "configure"
11431 #include "confdefs.h" 11434 #include "confdefs.h"
11432 11435
11433 #ifdef TIME_WITH_SYS_TIME 11436 #ifdef TIME_WITH_SYS_TIME
11434 #include <sys/time.h> 11437 #include <sys/time.h>
11435 #include <time.h> 11438 #include <time.h>
11448 ; 11451 ;
11449 return 0; 11452 return 0;
11450 } 11453 }
11451 _ACEOF 11454 _ACEOF
11452 rm -f conftest.$ac_objext 11455 rm -f conftest.$ac_objext
11453 if { (eval echo "$as_me:11453: \"$ac_compile\"") >&5 11456 if { (eval echo "$as_me:11456: \"$ac_compile\"") >&5
11454 (eval $ac_compile) 2>&5 11457 (eval $ac_compile) 2>&5
11455 ac_status=$? 11458 ac_status=$?
11456 echo "$as_me:11456: \$? = $ac_status" >&5 11459 echo "$as_me:11459: \$? = $ac_status" >&5
11457 (exit $ac_status); } && 11460 (exit $ac_status); } &&
11458 { ac_try='test -s conftest.$ac_objext' 11461 { ac_try='test -s conftest.$ac_objext'
11459 { (eval echo "$as_me:11459: \"$ac_try\"") >&5 11462 { (eval echo "$as_me:11462: \"$ac_try\"") >&5
11460 (eval $ac_try) 2>&5 11463 (eval $ac_try) 2>&5
11461 ac_status=$? 11464 ac_status=$?
11462 echo "$as_me:11462: \$? = $ac_status" >&5 11465 echo "$as_me:11465: \$? = $ac_status" >&5
11463 (exit $ac_status); }; }; then 11466 (exit $ac_status); }; }; then
11464 emacs_cv_gettimeofday_two_arguments=yes 11467 emacs_cv_gettimeofday_two_arguments=yes
11465 else 11468 else
11466 echo "$as_me: failed program was:" >&5 11469 echo "$as_me: failed program was:" >&5
11467 cat conftest.$ac_ext >&5 11470 cat conftest.$ac_ext >&5
11468 emacs_cv_gettimeofday_two_arguments=no 11471 emacs_cv_gettimeofday_two_arguments=no
11469 fi 11472 fi
11470 rm -f conftest.$ac_objext conftest.$ac_ext 11473 rm -f conftest.$ac_objext conftest.$ac_ext
11471 fi 11474 fi
11472 echo "$as_me:11472: result: $emacs_cv_gettimeofday_two_arguments" >&5 11475 echo "$as_me:11475: result: $emacs_cv_gettimeofday_two_arguments" >&5
11473 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6 11476 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
11474 if test $emacs_cv_gettimeofday_two_arguments = no; then 11477 if test $emacs_cv_gettimeofday_two_arguments = no; then
11475 cat >>confdefs.h <<\EOF 11478 cat >>confdefs.h <<\EOF
11476 #define GETTIMEOFDAY_ONE_ARGUMENT 1 11479 #define GETTIMEOFDAY_ONE_ARGUMENT 1
11477 EOF 11480 EOF
11478 11481
11479 fi 11482 fi
11480 fi 11483 fi
11481 11484
11482 if test "$ac_cv_func_gettimeofday" = yes; then 11485 if test "$ac_cv_func_gettimeofday" = yes; then
11483 echo "$as_me:11483: checking for struct timezone" >&5 11486 echo "$as_me:11486: checking for struct timezone" >&5
11484 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6 11487 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
11485 if test "${emacs_cv_struct_timezone+set}" = set; then 11488 if test "${emacs_cv_struct_timezone+set}" = set; then
11486 echo $ECHO_N "(cached) $ECHO_C" >&6 11489 echo $ECHO_N "(cached) $ECHO_C" >&6
11487 else 11490 else
11488 cat >conftest.$ac_ext <<_ACEOF 11491 cat >conftest.$ac_ext <<_ACEOF
11489 #line 11489 "configure" 11492 #line 11492 "configure"
11490 #include "confdefs.h" 11493 #include "confdefs.h"
11491 #include <sys/time.h> 11494 #include <sys/time.h>
11492 int 11495 int
11493 main () 11496 main ()
11494 { 11497 {
11496 ; 11499 ;
11497 return 0; 11500 return 0;
11498 } 11501 }
11499 _ACEOF 11502 _ACEOF
11500 rm -f conftest.$ac_objext 11503 rm -f conftest.$ac_objext
11501 if { (eval echo "$as_me:11501: \"$ac_compile\"") >&5 11504 if { (eval echo "$as_me:11504: \"$ac_compile\"") >&5
11502 (eval $ac_compile) 2>&5 11505 (eval $ac_compile) 2>&5
11503 ac_status=$? 11506 ac_status=$?
11504 echo "$as_me:11504: \$? = $ac_status" >&5 11507 echo "$as_me:11507: \$? = $ac_status" >&5
11505 (exit $ac_status); } && 11508 (exit $ac_status); } &&
11506 { ac_try='test -s conftest.$ac_objext' 11509 { ac_try='test -s conftest.$ac_objext'
11507 { (eval echo "$as_me:11507: \"$ac_try\"") >&5 11510 { (eval echo "$as_me:11510: \"$ac_try\"") >&5
11508 (eval $ac_try) 2>&5 11511 (eval $ac_try) 2>&5
11509 ac_status=$? 11512 ac_status=$?
11510 echo "$as_me:11510: \$? = $ac_status" >&5 11513 echo "$as_me:11513: \$? = $ac_status" >&5
11511 (exit $ac_status); }; }; then 11514 (exit $ac_status); }; }; then
11512 if test "$cross_compiling" = yes; then 11515 if test "$cross_compiling" = yes; then
11513 emacs_cv_struct_timezone=yes 11516 emacs_cv_struct_timezone=yes
11514 else 11517 else
11515 cat >conftest.$ac_ext <<_ACEOF 11518 cat >conftest.$ac_ext <<_ACEOF
11516 #line 11516 "configure" 11519 #line 11519 "configure"
11517 #include "confdefs.h" 11520 #include "confdefs.h"
11518 11521
11519 #ifdef TIME_WITH_SYS_TIME 11522 #ifdef TIME_WITH_SYS_TIME
11520 #include <sys/time.h> 11523 #include <sys/time.h>
11521 #include <time.h> 11524 #include <time.h>
11531 struct timezone dummy; 11534 struct timezone dummy;
11532 exit (gettimeofday (&time, &dummy)); 11535 exit (gettimeofday (&time, &dummy));
11533 } 11536 }
11534 _ACEOF 11537 _ACEOF
11535 rm -f conftest$ac_exeext 11538 rm -f conftest$ac_exeext
11536 if { (eval echo "$as_me:11536: \"$ac_link\"") >&5 11539 if { (eval echo "$as_me:11539: \"$ac_link\"") >&5
11537 (eval $ac_link) 2>&5 11540 (eval $ac_link) 2>&5
11538 ac_status=$? 11541 ac_status=$?
11539 echo "$as_me:11539: \$? = $ac_status" >&5 11542 echo "$as_me:11542: \$? = $ac_status" >&5
11540 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 11543 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11541 { (eval echo "$as_me:11541: \"$ac_try\"") >&5 11544 { (eval echo "$as_me:11544: \"$ac_try\"") >&5
11542 (eval $ac_try) 2>&5 11545 (eval $ac_try) 2>&5
11543 ac_status=$? 11546 ac_status=$?
11544 echo "$as_me:11544: \$? = $ac_status" >&5 11547 echo "$as_me:11547: \$? = $ac_status" >&5
11545 (exit $ac_status); }; }; then 11548 (exit $ac_status); }; }; then
11546 emacs_cv_struct_timezone=yes 11549 emacs_cv_struct_timezone=yes
11547 else 11550 else
11548 echo "$as_me: program exited with status $ac_status" >&5 11551 echo "$as_me: program exited with status $ac_status" >&5
11549 echo "$as_me: failed program was:" >&5 11552 echo "$as_me: failed program was:" >&5
11557 cat conftest.$ac_ext >&5 11560 cat conftest.$ac_ext >&5
11558 emacs_cv_struct_timezone=no 11561 emacs_cv_struct_timezone=no
11559 fi 11562 fi
11560 rm -f conftest.$ac_objext conftest.$ac_ext 11563 rm -f conftest.$ac_objext conftest.$ac_ext
11561 fi 11564 fi
11562 echo "$as_me:11562: result: $emacs_cv_struct_timezone" >&5 11565 echo "$as_me:11565: result: $emacs_cv_struct_timezone" >&5
11563 echo "${ECHO_T}$emacs_cv_struct_timezone" >&6 11566 echo "${ECHO_T}$emacs_cv_struct_timezone" >&6
11564 fi 11567 fi
11565 11568
11566 ok_so_far=yes 11569 ok_so_far=yes
11567 echo "$as_me:11567: checking for socket" >&5 11570 echo "$as_me:11570: checking for socket" >&5
11568 echo $ECHO_N "checking for socket... $ECHO_C" >&6 11571 echo $ECHO_N "checking for socket... $ECHO_C" >&6
11569 if test "${ac_cv_func_socket+set}" = set; then 11572 if test "${ac_cv_func_socket+set}" = set; then
11570 echo $ECHO_N "(cached) $ECHO_C" >&6 11573 echo $ECHO_N "(cached) $ECHO_C" >&6
11571 else 11574 else
11572 cat >conftest.$ac_ext <<_ACEOF 11575 cat >conftest.$ac_ext <<_ACEOF
11573 #line 11573 "configure" 11576 #line 11576 "configure"
11574 #include "confdefs.h" 11577 #include "confdefs.h"
11575 /* System header to define __stub macros and hopefully few prototypes, 11578 /* System header to define __stub macros and hopefully few prototypes,
11576 which can conflict with char socket (); below. */ 11579 which can conflict with char socket (); below. */
11577 #include <assert.h> 11580 #include <assert.h>
11578 /* Override any gcc2 internal prototype to avoid an error. */ 11581 /* Override any gcc2 internal prototype to avoid an error. */
11599 ; 11602 ;
11600 return 0; 11603 return 0;
11601 } 11604 }
11602 _ACEOF 11605 _ACEOF
11603 rm -f conftest.$ac_objext conftest$ac_exeext 11606 rm -f conftest.$ac_objext conftest$ac_exeext
11604 if { (eval echo "$as_me:11604: \"$ac_link\"") >&5 11607 if { (eval echo "$as_me:11607: \"$ac_link\"") >&5
11605 (eval $ac_link) 2>&5 11608 (eval $ac_link) 2>&5
11606 ac_status=$? 11609 ac_status=$?
11607 echo "$as_me:11607: \$? = $ac_status" >&5 11610 echo "$as_me:11610: \$? = $ac_status" >&5
11608 (exit $ac_status); } && 11611 (exit $ac_status); } &&
11609 { ac_try='test -s conftest$ac_exeext' 11612 { ac_try='test -s conftest$ac_exeext'
11610 { (eval echo "$as_me:11610: \"$ac_try\"") >&5 11613 { (eval echo "$as_me:11613: \"$ac_try\"") >&5
11611 (eval $ac_try) 2>&5 11614 (eval $ac_try) 2>&5
11612 ac_status=$? 11615 ac_status=$?
11613 echo "$as_me:11613: \$? = $ac_status" >&5 11616 echo "$as_me:11616: \$? = $ac_status" >&5
11614 (exit $ac_status); }; }; then 11617 (exit $ac_status); }; }; then
11615 ac_cv_func_socket=yes 11618 ac_cv_func_socket=yes
11616 else 11619 else
11617 echo "$as_me: failed program was:" >&5 11620 echo "$as_me: failed program was:" >&5
11618 cat conftest.$ac_ext >&5 11621 cat conftest.$ac_ext >&5
11619 ac_cv_func_socket=no 11622 ac_cv_func_socket=no
11620 fi 11623 fi
11621 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11624 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11622 fi 11625 fi
11623 echo "$as_me:11623: result: $ac_cv_func_socket" >&5 11626 echo "$as_me:11626: result: $ac_cv_func_socket" >&5
11624 echo "${ECHO_T}$ac_cv_func_socket" >&6 11627 echo "${ECHO_T}$ac_cv_func_socket" >&6
11625 if test $ac_cv_func_socket = yes; then 11628 if test $ac_cv_func_socket = yes; then
11626 : 11629 :
11627 else 11630 else
11628 ok_so_far=no 11631 ok_so_far=no
11629 fi 11632 fi
11630 11633
11631 if test $ok_so_far = yes; then 11634 if test $ok_so_far = yes; then
11632 echo "$as_me:11632: checking for netinet/in.h" >&5 11635 echo "$as_me:11635: checking for netinet/in.h" >&5
11633 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6 11636 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6
11634 if test "${ac_cv_header_netinet_in_h+set}" = set; then 11637 if test "${ac_cv_header_netinet_in_h+set}" = set; then
11635 echo $ECHO_N "(cached) $ECHO_C" >&6 11638 echo $ECHO_N "(cached) $ECHO_C" >&6
11636 else 11639 else
11637 cat >conftest.$ac_ext <<_ACEOF 11640 cat >conftest.$ac_ext <<_ACEOF
11638 #line 11638 "configure" 11641 #line 11641 "configure"
11639 #include "confdefs.h" 11642 #include "confdefs.h"
11640 #include <netinet/in.h> 11643 #include <netinet/in.h>
11641 _ACEOF 11644 _ACEOF
11642 if { (eval echo "$as_me:11642: \"$ac_cpp conftest.$ac_ext\"") >&5 11645 if { (eval echo "$as_me:11645: \"$ac_cpp conftest.$ac_ext\"") >&5
11643 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11646 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11644 ac_status=$? 11647 ac_status=$?
11645 egrep -v '^ *\+' conftest.er1 >conftest.err 11648 egrep -v '^ *\+' conftest.er1 >conftest.err
11646 rm -f conftest.er1 11649 rm -f conftest.er1
11647 cat conftest.err >&5 11650 cat conftest.err >&5
11648 echo "$as_me:11648: \$? = $ac_status" >&5 11651 echo "$as_me:11651: \$? = $ac_status" >&5
11649 (exit $ac_status); } >/dev/null; then 11652 (exit $ac_status); } >/dev/null; then
11650 if test -s conftest.err; then 11653 if test -s conftest.err; then
11651 ac_cpp_err=$ac_c_preproc_warn_flag 11654 ac_cpp_err=$ac_c_preproc_warn_flag
11652 else 11655 else
11653 ac_cpp_err= 11656 ac_cpp_err=
11662 cat conftest.$ac_ext >&5 11665 cat conftest.$ac_ext >&5
11663 ac_cv_header_netinet_in_h=no 11666 ac_cv_header_netinet_in_h=no
11664 fi 11667 fi
11665 rm -f conftest.err conftest.$ac_ext 11668 rm -f conftest.err conftest.$ac_ext
11666 fi 11669 fi
11667 echo "$as_me:11667: result: $ac_cv_header_netinet_in_h" >&5 11670 echo "$as_me:11670: result: $ac_cv_header_netinet_in_h" >&5
11668 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6 11671 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6
11669 if test $ac_cv_header_netinet_in_h = yes; then 11672 if test $ac_cv_header_netinet_in_h = yes; then
11670 : 11673 :
11671 else 11674 else
11672 ok_so_far=no 11675 ok_so_far=no
11673 fi 11676 fi
11674 11677
11675 fi 11678 fi
11676 if test $ok_so_far = yes; then 11679 if test $ok_so_far = yes; then
11677 echo "$as_me:11677: checking for arpa/inet.h" >&5 11680 echo "$as_me:11680: checking for arpa/inet.h" >&5
11678 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 11681 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6
11679 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 11682 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
11680 echo $ECHO_N "(cached) $ECHO_C" >&6 11683 echo $ECHO_N "(cached) $ECHO_C" >&6
11681 else 11684 else
11682 cat >conftest.$ac_ext <<_ACEOF 11685 cat >conftest.$ac_ext <<_ACEOF
11683 #line 11683 "configure" 11686 #line 11686 "configure"
11684 #include "confdefs.h" 11687 #include "confdefs.h"
11685 #include <arpa/inet.h> 11688 #include <arpa/inet.h>
11686 _ACEOF 11689 _ACEOF
11687 if { (eval echo "$as_me:11687: \"$ac_cpp conftest.$ac_ext\"") >&5 11690 if { (eval echo "$as_me:11690: \"$ac_cpp conftest.$ac_ext\"") >&5
11688 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11691 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11689 ac_status=$? 11692 ac_status=$?
11690 egrep -v '^ *\+' conftest.er1 >conftest.err 11693 egrep -v '^ *\+' conftest.er1 >conftest.err
11691 rm -f conftest.er1 11694 rm -f conftest.er1
11692 cat conftest.err >&5 11695 cat conftest.err >&5
11693 echo "$as_me:11693: \$? = $ac_status" >&5 11696 echo "$as_me:11696: \$? = $ac_status" >&5
11694 (exit $ac_status); } >/dev/null; then 11697 (exit $ac_status); } >/dev/null; then
11695 if test -s conftest.err; then 11698 if test -s conftest.err; then
11696 ac_cpp_err=$ac_c_preproc_warn_flag 11699 ac_cpp_err=$ac_c_preproc_warn_flag
11697 else 11700 else
11698 ac_cpp_err= 11701 ac_cpp_err=
11707 cat conftest.$ac_ext >&5 11710 cat conftest.$ac_ext >&5
11708 ac_cv_header_arpa_inet_h=no 11711 ac_cv_header_arpa_inet_h=no
11709 fi 11712 fi
11710 rm -f conftest.err conftest.$ac_ext 11713 rm -f conftest.err conftest.$ac_ext
11711 fi 11714 fi
11712 echo "$as_me:11712: result: $ac_cv_header_arpa_inet_h" >&5 11715 echo "$as_me:11715: result: $ac_cv_header_arpa_inet_h" >&5
11713 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 11716 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6
11714 if test $ac_cv_header_arpa_inet_h = yes; then 11717 if test $ac_cv_header_arpa_inet_h = yes; then
11715 : 11718 :
11716 else 11719 else
11717 ok_so_far=no 11720 ok_so_far=no
11730 #define HAVE_AIX_SMT_EXP 1 11733 #define HAVE_AIX_SMT_EXP 1
11731 EOF 11734 EOF
11732 11735
11733 fi 11736 fi
11734 11737
11735 echo "$as_me:11735: checking whether system supports dynamic ptys" >&5 11738 echo "$as_me:11738: checking whether system supports dynamic ptys" >&5
11736 echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6 11739 echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6
11737 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then 11740 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then
11738 echo "$as_me:11738: result: yes" >&5 11741 echo "$as_me:11741: result: yes" >&5
11739 echo "${ECHO_T}yes" >&6 11742 echo "${ECHO_T}yes" >&6
11740 cat >>confdefs.h <<\EOF 11743 cat >>confdefs.h <<\EOF
11741 #define HAVE_DEV_PTMX 1 11744 #define HAVE_DEV_PTMX 1
11742 EOF 11745 EOF
11743 11746
11744 else 11747 else
11745 echo "$as_me:11745: result: no" >&5 11748 echo "$as_me:11748: result: no" >&5
11746 echo "${ECHO_T}no" >&6 11749 echo "${ECHO_T}no" >&6
11747 fi 11750 fi
11748 11751
11749 echo "$as_me:11749: checking for pid_t" >&5 11752 echo "$as_me:11752: checking for pid_t" >&5
11750 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 11753 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
11751 if test "${ac_cv_type_pid_t+set}" = set; then 11754 if test "${ac_cv_type_pid_t+set}" = set; then
11752 echo $ECHO_N "(cached) $ECHO_C" >&6 11755 echo $ECHO_N "(cached) $ECHO_C" >&6
11753 else 11756 else
11754 cat >conftest.$ac_ext <<_ACEOF 11757 cat >conftest.$ac_ext <<_ACEOF
11755 #line 11755 "configure" 11758 #line 11758 "configure"
11756 #include "confdefs.h" 11759 #include "confdefs.h"
11757 $ac_includes_default 11760 $ac_includes_default
11758 int 11761 int
11759 main () 11762 main ()
11760 { 11763 {
11765 ; 11768 ;
11766 return 0; 11769 return 0;
11767 } 11770 }
11768 _ACEOF 11771 _ACEOF
11769 rm -f conftest.$ac_objext 11772 rm -f conftest.$ac_objext
11770 if { (eval echo "$as_me:11770: \"$ac_compile\"") >&5 11773 if { (eval echo "$as_me:11773: \"$ac_compile\"") >&5
11771 (eval $ac_compile) 2>&5 11774 (eval $ac_compile) 2>&5
11772 ac_status=$? 11775 ac_status=$?
11773 echo "$as_me:11773: \$? = $ac_status" >&5 11776 echo "$as_me:11776: \$? = $ac_status" >&5
11774 (exit $ac_status); } && 11777 (exit $ac_status); } &&
11775 { ac_try='test -s conftest.$ac_objext' 11778 { ac_try='test -s conftest.$ac_objext'
11776 { (eval echo "$as_me:11776: \"$ac_try\"") >&5 11779 { (eval echo "$as_me:11779: \"$ac_try\"") >&5
11777 (eval $ac_try) 2>&5 11780 (eval $ac_try) 2>&5
11778 ac_status=$? 11781 ac_status=$?
11779 echo "$as_me:11779: \$? = $ac_status" >&5 11782 echo "$as_me:11782: \$? = $ac_status" >&5
11780 (exit $ac_status); }; }; then 11783 (exit $ac_status); }; }; then
11781 ac_cv_type_pid_t=yes 11784 ac_cv_type_pid_t=yes
11782 else 11785 else
11783 echo "$as_me: failed program was:" >&5 11786 echo "$as_me: failed program was:" >&5
11784 cat conftest.$ac_ext >&5 11787 cat conftest.$ac_ext >&5
11785 ac_cv_type_pid_t=no 11788 ac_cv_type_pid_t=no
11786 fi 11789 fi
11787 rm -f conftest.$ac_objext conftest.$ac_ext 11790 rm -f conftest.$ac_objext conftest.$ac_ext
11788 fi 11791 fi
11789 echo "$as_me:11789: result: $ac_cv_type_pid_t" >&5 11792 echo "$as_me:11792: result: $ac_cv_type_pid_t" >&5
11790 echo "${ECHO_T}$ac_cv_type_pid_t" >&6 11793 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
11791 if test $ac_cv_type_pid_t = yes; then 11794 if test $ac_cv_type_pid_t = yes; then
11792 : 11795 :
11793 else 11796 else
11794 11797
11799 fi 11802 fi
11800 11803
11801 for ac_header in unistd.h vfork.h 11804 for ac_header in unistd.h vfork.h
11802 do 11805 do
11803 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11806 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11804 echo "$as_me:11804: checking for $ac_header" >&5 11807 echo "$as_me:11807: checking for $ac_header" >&5
11805 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11808 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11806 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11809 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11807 echo $ECHO_N "(cached) $ECHO_C" >&6 11810 echo $ECHO_N "(cached) $ECHO_C" >&6
11808 else 11811 else
11809 cat >conftest.$ac_ext <<_ACEOF 11812 cat >conftest.$ac_ext <<_ACEOF
11810 #line 11810 "configure" 11813 #line 11813 "configure"
11811 #include "confdefs.h" 11814 #include "confdefs.h"
11812 #include <$ac_header> 11815 #include <$ac_header>
11813 _ACEOF 11816 _ACEOF
11814 if { (eval echo "$as_me:11814: \"$ac_cpp conftest.$ac_ext\"") >&5 11817 if { (eval echo "$as_me:11817: \"$ac_cpp conftest.$ac_ext\"") >&5
11815 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11818 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11816 ac_status=$? 11819 ac_status=$?
11817 egrep -v '^ *\+' conftest.er1 >conftest.err 11820 egrep -v '^ *\+' conftest.er1 >conftest.err
11818 rm -f conftest.er1 11821 rm -f conftest.er1
11819 cat conftest.err >&5 11822 cat conftest.err >&5
11820 echo "$as_me:11820: \$? = $ac_status" >&5 11823 echo "$as_me:11823: \$? = $ac_status" >&5
11821 (exit $ac_status); } >/dev/null; then 11824 (exit $ac_status); } >/dev/null; then
11822 if test -s conftest.err; then 11825 if test -s conftest.err; then
11823 ac_cpp_err=$ac_c_preproc_warn_flag 11826 ac_cpp_err=$ac_c_preproc_warn_flag
11824 else 11827 else
11825 ac_cpp_err= 11828 ac_cpp_err=
11834 cat conftest.$ac_ext >&5 11837 cat conftest.$ac_ext >&5
11835 eval "$as_ac_Header=no" 11838 eval "$as_ac_Header=no"
11836 fi 11839 fi
11837 rm -f conftest.err conftest.$ac_ext 11840 rm -f conftest.err conftest.$ac_ext
11838 fi 11841 fi
11839 echo "$as_me:11839: result: `eval echo '${'$as_ac_Header'}'`" >&5 11842 echo "$as_me:11842: result: `eval echo '${'$as_ac_Header'}'`" >&5
11840 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11843 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11841 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11844 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11842 cat >>confdefs.h <<EOF 11845 cat >>confdefs.h <<EOF
11843 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11846 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11844 EOF 11847 EOF
11847 done 11850 done
11848 11851
11849 for ac_func in fork vfork 11852 for ac_func in fork vfork
11850 do 11853 do
11851 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 11854 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11852 echo "$as_me:11852: checking for $ac_func" >&5 11855 echo "$as_me:11855: checking for $ac_func" >&5
11853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 11856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11854 if eval "test \"\${$as_ac_var+set}\" = set"; then 11857 if eval "test \"\${$as_ac_var+set}\" = set"; then
11855 echo $ECHO_N "(cached) $ECHO_C" >&6 11858 echo $ECHO_N "(cached) $ECHO_C" >&6
11856 else 11859 else
11857 cat >conftest.$ac_ext <<_ACEOF 11860 cat >conftest.$ac_ext <<_ACEOF
11858 #line 11858 "configure" 11861 #line 11861 "configure"
11859 #include "confdefs.h" 11862 #include "confdefs.h"
11860 /* System header to define __stub macros and hopefully few prototypes, 11863 /* System header to define __stub macros and hopefully few prototypes,
11861 which can conflict with char $ac_func (); below. */ 11864 which can conflict with char $ac_func (); below. */
11862 #include <assert.h> 11865 #include <assert.h>
11863 /* Override any gcc2 internal prototype to avoid an error. */ 11866 /* Override any gcc2 internal prototype to avoid an error. */
11884 ; 11887 ;
11885 return 0; 11888 return 0;
11886 } 11889 }
11887 _ACEOF 11890 _ACEOF
11888 rm -f conftest.$ac_objext conftest$ac_exeext 11891 rm -f conftest.$ac_objext conftest$ac_exeext
11889 if { (eval echo "$as_me:11889: \"$ac_link\"") >&5 11892 if { (eval echo "$as_me:11892: \"$ac_link\"") >&5
11890 (eval $ac_link) 2>&5 11893 (eval $ac_link) 2>&5
11891 ac_status=$? 11894 ac_status=$?
11892 echo "$as_me:11892: \$? = $ac_status" >&5 11895 echo "$as_me:11895: \$? = $ac_status" >&5
11893 (exit $ac_status); } && 11896 (exit $ac_status); } &&
11894 { ac_try='test -s conftest$ac_exeext' 11897 { ac_try='test -s conftest$ac_exeext'
11895 { (eval echo "$as_me:11895: \"$ac_try\"") >&5 11898 { (eval echo "$as_me:11898: \"$ac_try\"") >&5
11896 (eval $ac_try) 2>&5 11899 (eval $ac_try) 2>&5
11897 ac_status=$? 11900 ac_status=$?
11898 echo "$as_me:11898: \$? = $ac_status" >&5 11901 echo "$as_me:11901: \$? = $ac_status" >&5
11899 (exit $ac_status); }; }; then 11902 (exit $ac_status); }; }; then
11900 eval "$as_ac_var=yes" 11903 eval "$as_ac_var=yes"
11901 else 11904 else
11902 echo "$as_me: failed program was:" >&5 11905 echo "$as_me: failed program was:" >&5
11903 cat conftest.$ac_ext >&5 11906 cat conftest.$ac_ext >&5
11904 eval "$as_ac_var=no" 11907 eval "$as_ac_var=no"
11905 fi 11908 fi
11906 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11909 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11907 fi 11910 fi
11908 echo "$as_me:11908: result: `eval echo '${'$as_ac_var'}'`" >&5 11911 echo "$as_me:11911: result: `eval echo '${'$as_ac_var'}'`" >&5
11909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 11912 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11910 if test `eval echo '${'$as_ac_var'}'` = yes; then 11913 if test `eval echo '${'$as_ac_var'}'` = yes; then
11911 cat >>confdefs.h <<EOF 11914 cat >>confdefs.h <<EOF
11912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 11915 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11913 EOF 11916 EOF
11915 fi 11918 fi
11916 done 11919 done
11917 11920
11918 ac_cv_func_fork_works=$ac_cv_func_fork 11921 ac_cv_func_fork_works=$ac_cv_func_fork
11919 if test "x$ac_cv_func_fork" = xyes; then 11922 if test "x$ac_cv_func_fork" = xyes; then
11920 echo "$as_me:11920: checking for working fork" >&5 11923 echo "$as_me:11923: checking for working fork" >&5
11921 echo $ECHO_N "checking for working fork... $ECHO_C" >&6 11924 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
11922 if test "${ac_cv_func_fork_works+set}" = set; then 11925 if test "${ac_cv_func_fork_works+set}" = set; then
11923 echo $ECHO_N "(cached) $ECHO_C" >&6 11926 echo $ECHO_N "(cached) $ECHO_C" >&6
11924 else 11927 else
11925 if test "$cross_compiling" = yes; then 11928 if test "$cross_compiling" = yes; then
11938 exit (1); 11941 exit (1);
11939 exit (0); 11942 exit (0);
11940 } 11943 }
11941 _ACEOF 11944 _ACEOF
11942 rm -f conftest$ac_exeext 11945 rm -f conftest$ac_exeext
11943 if { (eval echo "$as_me:11943: \"$ac_link\"") >&5 11946 if { (eval echo "$as_me:11946: \"$ac_link\"") >&5
11944 (eval $ac_link) 2>&5 11947 (eval $ac_link) 2>&5
11945 ac_status=$? 11948 ac_status=$?
11946 echo "$as_me:11946: \$? = $ac_status" >&5 11949 echo "$as_me:11949: \$? = $ac_status" >&5
11947 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 11950 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11948 { (eval echo "$as_me:11948: \"$ac_try\"") >&5 11951 { (eval echo "$as_me:11951: \"$ac_try\"") >&5
11949 (eval $ac_try) 2>&5 11952 (eval $ac_try) 2>&5
11950 ac_status=$? 11953 ac_status=$?
11951 echo "$as_me:11951: \$? = $ac_status" >&5 11954 echo "$as_me:11954: \$? = $ac_status" >&5
11952 (exit $ac_status); }; }; then 11955 (exit $ac_status); }; }; then
11953 ac_cv_func_fork_works=yes 11956 ac_cv_func_fork_works=yes
11954 else 11957 else
11955 echo "$as_me: program exited with status $ac_status" >&5 11958 echo "$as_me: program exited with status $ac_status" >&5
11956 echo "$as_me: failed program was:" >&5 11959 echo "$as_me: failed program was:" >&5
11958 ac_cv_func_fork_works=no 11961 ac_cv_func_fork_works=no
11959 fi 11962 fi
11960 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11963 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11961 fi 11964 fi
11962 fi 11965 fi
11963 echo "$as_me:11963: result: $ac_cv_func_fork_works" >&5 11966 echo "$as_me:11966: result: $ac_cv_func_fork_works" >&5
11964 echo "${ECHO_T}$ac_cv_func_fork_works" >&6 11967 echo "${ECHO_T}$ac_cv_func_fork_works" >&6
11965 11968
11966 fi 11969 fi
11967 if test "x$ac_cv_func_fork_works" = xcross; then 11970 if test "x$ac_cv_func_fork_works" = xcross; then
11968 case $host in 11971 case $host in
11972 ;; 11975 ;;
11973 *) 11976 *)
11974 ac_cv_func_fork_works=yes 11977 ac_cv_func_fork_works=yes
11975 ;; 11978 ;;
11976 esac 11979 esac
11977 { echo "$as_me:11977: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5 11980 { echo "$as_me:11980: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5
11978 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&2;} 11981 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&2;}
11979 fi 11982 fi
11980 ac_cv_func_vfork_works=$ac_cv_func_vfork 11983 ac_cv_func_vfork_works=$ac_cv_func_vfork
11981 if test "x$ac_cv_func_vfork" = xyes; then 11984 if test "x$ac_cv_func_vfork" = xyes; then
11982 echo "$as_me:11982: checking for working vfork" >&5 11985 echo "$as_me:11985: checking for working vfork" >&5
11983 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6 11986 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
11984 if test "${ac_cv_func_vfork_works+set}" = set; then 11987 if test "${ac_cv_func_vfork_works+set}" = set; then
11985 echo $ECHO_N "(cached) $ECHO_C" >&6 11988 echo $ECHO_N "(cached) $ECHO_C" >&6
11986 else 11989 else
11987 if test "$cross_compiling" = yes; then 11990 if test "$cross_compiling" = yes; then
11988 ac_cv_func_vfork_works=cross 11991 ac_cv_func_vfork_works=cross
11989 else 11992 else
11990 cat >conftest.$ac_ext <<_ACEOF 11993 cat >conftest.$ac_ext <<_ACEOF
11991 #line 11991 "configure" 11994 #line 11994 "configure"
11992 #include "confdefs.h" 11995 #include "confdefs.h"
11993 /* Thanks to Paul Eggert for this test. */ 11996 /* Thanks to Paul Eggert for this test. */
11994 #include <stdio.h> 11997 #include <stdio.h>
11995 #include <sys/types.h> 11998 #include <sys/types.h>
11996 #include <sys/stat.h> 11999 #include <sys/stat.h>
12083 ); 12086 );
12084 } 12087 }
12085 } 12088 }
12086 _ACEOF 12089 _ACEOF
12087 rm -f conftest$ac_exeext 12090 rm -f conftest$ac_exeext
12088 if { (eval echo "$as_me:12088: \"$ac_link\"") >&5 12091 if { (eval echo "$as_me:12091: \"$ac_link\"") >&5
12089 (eval $ac_link) 2>&5 12092 (eval $ac_link) 2>&5
12090 ac_status=$? 12093 ac_status=$?
12091 echo "$as_me:12091: \$? = $ac_status" >&5 12094 echo "$as_me:12094: \$? = $ac_status" >&5
12092 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 12095 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12093 { (eval echo "$as_me:12093: \"$ac_try\"") >&5 12096 { (eval echo "$as_me:12096: \"$ac_try\"") >&5
12094 (eval $ac_try) 2>&5 12097 (eval $ac_try) 2>&5
12095 ac_status=$? 12098 ac_status=$?
12096 echo "$as_me:12096: \$? = $ac_status" >&5 12099 echo "$as_me:12099: \$? = $ac_status" >&5
12097 (exit $ac_status); }; }; then 12100 (exit $ac_status); }; }; then
12098 ac_cv_func_vfork_works=yes 12101 ac_cv_func_vfork_works=yes
12099 else 12102 else
12100 echo "$as_me: program exited with status $ac_status" >&5 12103 echo "$as_me: program exited with status $ac_status" >&5
12101 echo "$as_me: failed program was:" >&5 12104 echo "$as_me: failed program was:" >&5
12103 ac_cv_func_vfork_works=no 12106 ac_cv_func_vfork_works=no
12104 fi 12107 fi
12105 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 12108 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12106 fi 12109 fi
12107 fi 12110 fi
12108 echo "$as_me:12108: result: $ac_cv_func_vfork_works" >&5 12111 echo "$as_me:12111: result: $ac_cv_func_vfork_works" >&5
12109 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6 12112 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
12110 12113
12111 fi; 12114 fi;
12112 if test "x$ac_cv_func_fork_works" = xcross; then 12115 if test "x$ac_cv_func_fork_works" = xcross; then
12113 ac_cv_func_vfork_works=ac_cv_func_vfork 12116 ac_cv_func_vfork_works=ac_cv_func_vfork
12114 { echo "$as_me:12114: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5 12117 { echo "$as_me:12117: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5
12115 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&2;} 12118 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&2;}
12116 fi 12119 fi
12117 12120
12118 if test "x$ac_cv_func_vfork_works" = xyes; then 12121 if test "x$ac_cv_func_vfork_works" = xyes; then
12119 12122
12135 EOF 12138 EOF
12136 12139
12137 fi 12140 fi
12138 12141
12139 # Fixme: This should be replaced when we have autoconf 2.14. 12142 # Fixme: This should be replaced when we have autoconf 2.14.
12140 echo "$as_me:12140: checking for size_t" >&5 12143 echo "$as_me:12143: checking for size_t" >&5
12141 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 12144 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
12142 if test "${ac_cv_type_size_t+set}" = set; then 12145 if test "${ac_cv_type_size_t+set}" = set; then
12143 echo $ECHO_N "(cached) $ECHO_C" >&6 12146 echo $ECHO_N "(cached) $ECHO_C" >&6
12144 else 12147 else
12145 cat >conftest.$ac_ext <<_ACEOF 12148 cat >conftest.$ac_ext <<_ACEOF
12146 #line 12146 "configure" 12149 #line 12149 "configure"
12147 #include "confdefs.h" 12150 #include "confdefs.h"
12148 $ac_includes_default 12151 $ac_includes_default
12149 int 12152 int
12150 main () 12153 main ()
12151 { 12154 {
12156 ; 12159 ;
12157 return 0; 12160 return 0;
12158 } 12161 }
12159 _ACEOF 12162 _ACEOF
12160 rm -f conftest.$ac_objext 12163 rm -f conftest.$ac_objext
12161 if { (eval echo "$as_me:12161: \"$ac_compile\"") >&5 12164 if { (eval echo "$as_me:12164: \"$ac_compile\"") >&5
12162 (eval $ac_compile) 2>&5 12165 (eval $ac_compile) 2>&5
12163 ac_status=$? 12166 ac_status=$?
12164 echo "$as_me:12164: \$? = $ac_status" >&5 12167 echo "$as_me:12167: \$? = $ac_status" >&5
12165 (exit $ac_status); } && 12168 (exit $ac_status); } &&
12166 { ac_try='test -s conftest.$ac_objext' 12169 { ac_try='test -s conftest.$ac_objext'
12167 { (eval echo "$as_me:12167: \"$ac_try\"") >&5 12170 { (eval echo "$as_me:12170: \"$ac_try\"") >&5
12168 (eval $ac_try) 2>&5 12171 (eval $ac_try) 2>&5
12169 ac_status=$? 12172 ac_status=$?
12170 echo "$as_me:12170: \$? = $ac_status" >&5 12173 echo "$as_me:12173: \$? = $ac_status" >&5
12171 (exit $ac_status); }; }; then 12174 (exit $ac_status); }; }; then
12172 ac_cv_type_size_t=yes 12175 ac_cv_type_size_t=yes
12173 else 12176 else
12174 echo "$as_me: failed program was:" >&5 12177 echo "$as_me: failed program was:" >&5
12175 cat conftest.$ac_ext >&5 12178 cat conftest.$ac_ext >&5
12176 ac_cv_type_size_t=no 12179 ac_cv_type_size_t=no
12177 fi 12180 fi
12178 rm -f conftest.$ac_objext conftest.$ac_ext 12181 rm -f conftest.$ac_objext conftest.$ac_ext
12179 fi 12182 fi
12180 echo "$as_me:12180: result: $ac_cv_type_size_t" >&5 12183 echo "$as_me:12183: result: $ac_cv_type_size_t" >&5
12181 echo "${ECHO_T}$ac_cv_type_size_t" >&6 12184 echo "${ECHO_T}$ac_cv_type_size_t" >&6
12182 if test $ac_cv_type_size_t = yes; then 12185 if test $ac_cv_type_size_t = yes; then
12183 : 12186 :
12184 else 12187 else
12185 12188
12195 12198
12196 #### Find out which version of Emacs this is. 12199 #### Find out which version of Emacs this is.
12197 version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \ 12200 version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \
12198 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` 12201 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`
12199 if test x"${version}" = x; then 12202 if test x"${version}" = x; then
12200 { { echo "$as_me:12200: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5 12203 { { echo "$as_me:12203: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5
12201 echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;} 12204 echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;}
12202 { (exit 1); exit 1; }; } 12205 { (exit 1); exit 1; }; }
12203 fi 12206 fi
12204 12207
12205 ### Specify what sort of things we'll be editing into Makefile and config.h. 12208 ### Specify what sort of things we'll be editing into Makefile and config.h.
12324 ## CPP_NEED_TRADITIONAL to `yes' so that the code to generate Makefile 12327 ## CPP_NEED_TRADITIONAL to `yes' so that the code to generate Makefile
12325 ## from Makefile.c can correctly provide the arg `-traditional' to the 12328 ## from Makefile.c can correctly provide the arg `-traditional' to the
12326 ## C preprocessor. 12329 ## C preprocessor.
12327 12330
12328 cat >conftest.$ac_ext <<_ACEOF 12331 cat >conftest.$ac_ext <<_ACEOF
12329 #line 12329 "configure" 12332 #line 12332 "configure"
12330 #include "confdefs.h" 12333 #include "confdefs.h"
12331 yes..yes 12334 yes..yes
12332 _ACEOF 12335 _ACEOF
12333 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 12336 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12334 egrep "yes..yes" >/dev/null 2>&1; then 12337 egrep "yes..yes" >/dev/null 2>&1; then
12417 DEFS=-DHAVE_CONFIG_H 12420 DEFS=-DHAVE_CONFIG_H
12418 12421
12419 : ${CONFIG_STATUS=./config.status} 12422 : ${CONFIG_STATUS=./config.status}
12420 ac_clean_files_save=$ac_clean_files 12423 ac_clean_files_save=$ac_clean_files
12421 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 12424 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12422 { echo "$as_me:12422: creating $CONFIG_STATUS" >&5 12425 { echo "$as_me:12425: creating $CONFIG_STATUS" >&5
12423 echo "$as_me: creating $CONFIG_STATUS" >&6;} 12426 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12424 cat >$CONFIG_STATUS <<_ACEOF 12427 cat >$CONFIG_STATUS <<_ACEOF
12425 #! $SHELL 12428 #! $SHELL
12426 # Generated automatically by configure. 12429 # Generated automatically by configure.
12427 # Run this file to recreate the current configuration. 12430 # Run this file to recreate the current configuration.
12593 cat >>$CONFIG_STATUS <<\EOF 12596 cat >>$CONFIG_STATUS <<\EOF
12594 --version | --vers* | -V ) 12597 --version | --vers* | -V )
12595 echo "$ac_cs_version"; exit 0 ;; 12598 echo "$ac_cs_version"; exit 0 ;;
12596 --he | --h) 12599 --he | --h)
12597 # Conflict between --help and --header 12600 # Conflict between --help and --header
12598 { { echo "$as_me:12598: error: ambiguous option: $1 12601 { { echo "$as_me:12601: error: ambiguous option: $1
12599 Try \`$0 --help' for more information." >&5 12602 Try \`$0 --help' for more information." >&5
12600 echo "$as_me: error: ambiguous option: $1 12603 echo "$as_me: error: ambiguous option: $1
12601 Try \`$0 --help' for more information." >&2;} 12604 Try \`$0 --help' for more information." >&2;}
12602 { (exit 1); exit 1; }; };; 12605 { (exit 1); exit 1; }; };;
12603 --help | --hel | -h ) 12606 --help | --hel | -h )
12612 shift 12615 shift
12613 CONFIG_HEADERS="$CONFIG_HEADERS $1" 12616 CONFIG_HEADERS="$CONFIG_HEADERS $1"
12614 ac_need_defaults=false;; 12617 ac_need_defaults=false;;
12615 12618
12616 # This is an error. 12619 # This is an error.
12617 -*) { { echo "$as_me:12617: error: unrecognized option: $1 12620 -*) { { echo "$as_me:12620: error: unrecognized option: $1
12618 Try \`$0 --help' for more information." >&5 12621 Try \`$0 --help' for more information." >&5
12619 echo "$as_me: error: unrecognized option: $1 12622 echo "$as_me: error: unrecognized option: $1
12620 Try \`$0 --help' for more information." >&2;} 12623 Try \`$0 --help' for more information." >&2;}
12621 { (exit 1); exit 1; }; } ;; 12624 { (exit 1); exit 1; }; } ;;
12622 12625
12666 "src/Makefile.c" ) CONFIG_FILES="$CONFIG_FILES src/Makefile.c:src/Makefile.in" ;; 12669 "src/Makefile.c" ) CONFIG_FILES="$CONFIG_FILES src/Makefile.c:src/Makefile.in" ;;
12667 "lisp/Makefile" ) CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;; 12670 "lisp/Makefile" ) CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;;
12668 "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; 12671 "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;;
12669 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; 12672 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
12670 "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:src/config.in" ;; 12673 "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:src/config.in" ;;
12671 *) { { echo "$as_me:12671: error: invalid argument: $ac_config_target" >&5 12674 *) { { echo "$as_me:12674: error: invalid argument: $ac_config_target" >&5
12672 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 12675 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12673 { (exit 1); exit 1; }; };; 12676 { (exit 1); exit 1; }; };;
12674 esac 12677 esac
12675 done 12678 done
12676 12679
12913 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 12916 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12914 *) ac_INSTALL=$ac_dots$INSTALL ;; 12917 *) ac_INSTALL=$ac_dots$INSTALL ;;
12915 esac 12918 esac
12916 12919
12917 if test x"$ac_file" != x-; then 12920 if test x"$ac_file" != x-; then
12918 { echo "$as_me:12918: creating $ac_file" >&5 12921 { echo "$as_me:12921: creating $ac_file" >&5
12919 echo "$as_me: creating $ac_file" >&6;} 12922 echo "$as_me: creating $ac_file" >&6;}
12920 rm -f "$ac_file" 12923 rm -f "$ac_file"
12921 fi 12924 fi
12922 # Let's still pretend it is `configure' which instantiates (i.e., don't 12925 # Let's still pretend it is `configure' which instantiates (i.e., don't
12923 # use $as_me), people would be surprised to read: 12926 # use $as_me), people would be surprised to read:
12931 for f in $ac_file_in; do 12934 for f in $ac_file_in; do
12932 case $f in 12935 case $f in
12933 -) echo $tmp/stdin ;; 12936 -) echo $tmp/stdin ;;
12934 [\\/$]*) 12937 [\\/$]*)
12935 # Absolute (can't be DOS-style, as IFS=:) 12938 # Absolute (can't be DOS-style, as IFS=:)
12936 test -f "$f" || { { echo "$as_me:12936: error: cannot find input file: $f" >&5 12939 test -f "$f" || { { echo "$as_me:12939: error: cannot find input file: $f" >&5
12937 echo "$as_me: error: cannot find input file: $f" >&2;} 12940 echo "$as_me: error: cannot find input file: $f" >&2;}
12938 { (exit 1); exit 1; }; } 12941 { (exit 1); exit 1; }; }
12939 echo $f;; 12942 echo $f;;
12940 *) # Relative 12943 *) # Relative
12941 if test -f "$f"; then 12944 if test -f "$f"; then
12944 elif test -f "$srcdir/$f"; then 12947 elif test -f "$srcdir/$f"; then
12945 # Source tree 12948 # Source tree
12946 echo $srcdir/$f 12949 echo $srcdir/$f
12947 else 12950 else
12948 # /dev/null tree 12951 # /dev/null tree
12949 { { echo "$as_me:12949: error: cannot find input file: $f" >&5 12952 { { echo "$as_me:12952: error: cannot find input file: $f" >&5
12950 echo "$as_me: error: cannot find input file: $f" >&2;} 12953 echo "$as_me: error: cannot find input file: $f" >&2;}
12951 { (exit 1); exit 1; }; } 12954 { (exit 1); exit 1; }; }
12952 fi;; 12955 fi;;
12953 esac 12956 esac
12954 done` || { (exit 1); exit 1; } 12957 done` || { (exit 1); exit 1; }
13005 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 13008 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
13006 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 13009 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13007 * ) ac_file_in=$ac_file.in ;; 13010 * ) ac_file_in=$ac_file.in ;;
13008 esac 13011 esac
13009 13012
13010 test x"$ac_file" != x- && { echo "$as_me:13010: creating $ac_file" >&5 13013 test x"$ac_file" != x- && { echo "$as_me:13013: creating $ac_file" >&5
13011 echo "$as_me: creating $ac_file" >&6;} 13014 echo "$as_me: creating $ac_file" >&6;}
13012 13015
13013 # First look for the input files in the build tree, otherwise in the 13016 # First look for the input files in the build tree, otherwise in the
13014 # src tree. 13017 # src tree.
13015 ac_file_inputs=`IFS=: 13018 ac_file_inputs=`IFS=:
13016 for f in $ac_file_in; do 13019 for f in $ac_file_in; do
13017 case $f in 13020 case $f in
13018 -) echo $tmp/stdin ;; 13021 -) echo $tmp/stdin ;;
13019 [\\/$]*) 13022 [\\/$]*)
13020 # Absolute (can't be DOS-style, as IFS=:) 13023 # Absolute (can't be DOS-style, as IFS=:)
13021 test -f "$f" || { { echo "$as_me:13021: error: cannot find input file: $f" >&5 13024 test -f "$f" || { { echo "$as_me:13024: error: cannot find input file: $f" >&5
13022 echo "$as_me: error: cannot find input file: $f" >&2;} 13025 echo "$as_me: error: cannot find input file: $f" >&2;}
13023 { (exit 1); exit 1; }; } 13026 { (exit 1); exit 1; }; }
13024 echo $f;; 13027 echo $f;;
13025 *) # Relative 13028 *) # Relative
13026 if test -f "$f"; then 13029 if test -f "$f"; then
13029 elif test -f "$srcdir/$f"; then 13032 elif test -f "$srcdir/$f"; then
13030 # Source tree 13033 # Source tree
13031 echo $srcdir/$f 13034 echo $srcdir/$f
13032 else 13035 else
13033 # /dev/null tree 13036 # /dev/null tree
13034 { { echo "$as_me:13034: error: cannot find input file: $f" >&5 13037 { { echo "$as_me:13037: error: cannot find input file: $f" >&5
13035 echo "$as_me: error: cannot find input file: $f" >&2;} 13038 echo "$as_me: error: cannot find input file: $f" >&2;}
13036 { (exit 1); exit 1; }; } 13039 { (exit 1); exit 1; }; }
13037 fi;; 13040 fi;;
13038 esac 13041 esac
13039 done` || { (exit 1); exit 1; } 13042 done` || { (exit 1); exit 1; }
13146 fi 13149 fi
13147 cat $tmp/in >>$tmp/config.h 13150 cat $tmp/in >>$tmp/config.h
13148 rm -f $tmp/in 13151 rm -f $tmp/in
13149 if test x"$ac_file" != x-; then 13152 if test x"$ac_file" != x-; then
13150 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then 13153 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
13151 { echo "$as_me:13151: $ac_file is unchanged" >&5 13154 { echo "$as_me:13154: $ac_file is unchanged" >&5
13152 echo "$as_me: $ac_file is unchanged" >&6;} 13155 echo "$as_me: $ac_file is unchanged" >&6;}
13153 else 13156 else
13154 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13157 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13155 X"$ac_file" : 'X\(//\)[^/]' \| \ 13158 X"$ac_file" : 'X\(//\)[^/]' \| \
13156 X"$ac_file" : 'X\(//\)$' \| \ 13159 X"$ac_file" : 'X\(//\)$' \| \