comparison configure @ 41675:30f353761d6c

*** empty log message ***
author Gerd Moellmann <gerd@gnu.org>
date Thu, 29 Nov 2001 12:13:52 +0000
parents 33fd5b0cc93e
children 665e7cb4204b
comparison
equal deleted inserted replaced
41674:ea1354316d4f 41675:30f353761d6c
1293 ### "System V Release 4"; he writes, "The old convention encouraged 1293 ### "System V Release 4"; he writes, "The old convention encouraged
1294 ### confusion between `system' and `release' levels'." 1294 ### confusion between `system' and `release' levels'."
1295 1295
1296 machine='' opsys='' unported=no 1296 machine='' opsys='' unported=no
1297 case "${canonical}" in 1297 case "${canonical}" in
1298
1299 ## FreeBSD ports
1300 *-*-freebsd* )
1301 opsys=freebsd
1302 case "${canonical}" in
1303 alpha*-*-freebsd*) machine=alpha ;;
1304 i[3456]86-*-freebsd*) machine=intel386 ;;
1305 esac
1306 ;;
1298 1307
1299 ## NetBSD ports 1308 ## NetBSD ports
1300 *-*-netbsd* ) 1309 *-*-netbsd* )
1301 opsys=netbsd 1310 opsys=netbsd
1302 case "${canonical}" in 1311 case "${canonical}" in
2138 # /lib/cpp does not accept it. 2147 # /lib/cpp does not accept it.
2139 OVERRIDE_CPPFLAGS=" " 2148 OVERRIDE_CPPFLAGS=" "
2140 ;; 2149 ;;
2141 *-sysv4.2uw* ) opsys=unixware; NON_GNU_CPP=/lib/cpp ;; 2150 *-sysv4.2uw* ) opsys=unixware; NON_GNU_CPP=/lib/cpp ;;
2142 *-386bsd* ) opsys=386bsd ;; 2151 *-386bsd* ) opsys=386bsd ;;
2143 *-freebsd* ) opsys=freebsd ;;
2144 *-nextstep* ) opsys=nextstep ;; 2152 *-nextstep* ) opsys=nextstep ;;
2145 ## Otherwise, we'll fall through to the generic opsys code at the bottom. 2153 ## Otherwise, we'll fall through to the generic opsys code at the bottom.
2146 esac 2154 esac
2147 ;; 2155 ;;
2148 2156
2208 ;; 2216 ;;
2209 esac 2217 esac
2210 fi 2218 fi
2211 2219
2212 if test $unported = yes; then 2220 if test $unported = yes; then
2213 { { echo "$as_me:2213: error: Emacs hasn't been ported to \`${canonical}' systems. 2221 { { echo "$as_me:2221: error: Emacs hasn't been ported to \`${canonical}' systems.
2214 Check \`etc/MACHINES' for recognized configuration names." >&5 2222 Check \`etc/MACHINES' for recognized configuration names." >&5
2215 echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems. 2223 echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems.
2216 Check \`etc/MACHINES' for recognized configuration names." >&2;} 2224 Check \`etc/MACHINES' for recognized configuration names." >&2;}
2217 { (exit 1); exit 1; }; } 2225 { (exit 1); exit 1; }; }
2218 fi 2226 fi
2237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2238 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2239 if test -n "$ac_tool_prefix"; then 2247 if test -n "$ac_tool_prefix"; then
2240 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2248 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2241 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2249 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2242 echo "$as_me:2242: checking for $ac_word" >&5 2250 echo "$as_me:2250: checking for $ac_word" >&5
2243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2244 if test "${ac_cv_prog_CC+set}" = set; then 2252 if test "${ac_cv_prog_CC+set}" = set; then
2245 echo $ECHO_N "(cached) $ECHO_C" >&6 2253 echo $ECHO_N "(cached) $ECHO_C" >&6
2246 else 2254 else
2247 if test -n "$CC"; then 2255 if test -n "$CC"; then
2252 for ac_dir in $ac_dummy; do 2260 for ac_dir in $ac_dummy; do
2253 IFS=$ac_save_IFS 2261 IFS=$ac_save_IFS
2254 test -z "$ac_dir" && ac_dir=. 2262 test -z "$ac_dir" && ac_dir=.
2255 $as_executable_p "$ac_dir/$ac_word" || continue 2263 $as_executable_p "$ac_dir/$ac_word" || continue
2256 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2264 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2257 echo "$as_me:2257: found $ac_dir/$ac_word" >&5 2265 echo "$as_me:2265: found $ac_dir/$ac_word" >&5
2258 break 2266 break
2259 done 2267 done
2260 2268
2261 fi 2269 fi
2262 fi 2270 fi
2263 CC=$ac_cv_prog_CC 2271 CC=$ac_cv_prog_CC
2264 if test -n "$CC"; then 2272 if test -n "$CC"; then
2265 echo "$as_me:2265: result: $CC" >&5 2273 echo "$as_me:2273: result: $CC" >&5
2266 echo "${ECHO_T}$CC" >&6 2274 echo "${ECHO_T}$CC" >&6
2267 else 2275 else
2268 echo "$as_me:2268: result: no" >&5 2276 echo "$as_me:2276: result: no" >&5
2269 echo "${ECHO_T}no" >&6 2277 echo "${ECHO_T}no" >&6
2270 fi 2278 fi
2271 2279
2272 fi 2280 fi
2273 if test -z "$ac_cv_prog_CC"; then 2281 if test -z "$ac_cv_prog_CC"; then
2274 ac_ct_CC=$CC 2282 ac_ct_CC=$CC
2275 # Extract the first word of "gcc", so it can be a program name with args. 2283 # Extract the first word of "gcc", so it can be a program name with args.
2276 set dummy gcc; ac_word=$2 2284 set dummy gcc; ac_word=$2
2277 echo "$as_me:2277: checking for $ac_word" >&5 2285 echo "$as_me:2285: checking for $ac_word" >&5
2278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2279 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2287 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2280 echo $ECHO_N "(cached) $ECHO_C" >&6 2288 echo $ECHO_N "(cached) $ECHO_C" >&6
2281 else 2289 else
2282 if test -n "$ac_ct_CC"; then 2290 if test -n "$ac_ct_CC"; then
2287 for ac_dir in $ac_dummy; do 2295 for ac_dir in $ac_dummy; do
2288 IFS=$ac_save_IFS 2296 IFS=$ac_save_IFS
2289 test -z "$ac_dir" && ac_dir=. 2297 test -z "$ac_dir" && ac_dir=.
2290 $as_executable_p "$ac_dir/$ac_word" || continue 2298 $as_executable_p "$ac_dir/$ac_word" || continue
2291 ac_cv_prog_ac_ct_CC="gcc" 2299 ac_cv_prog_ac_ct_CC="gcc"
2292 echo "$as_me:2292: found $ac_dir/$ac_word" >&5 2300 echo "$as_me:2300: found $ac_dir/$ac_word" >&5
2293 break 2301 break
2294 done 2302 done
2295 2303
2296 fi 2304 fi
2297 fi 2305 fi
2298 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2306 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2299 if test -n "$ac_ct_CC"; then 2307 if test -n "$ac_ct_CC"; then
2300 echo "$as_me:2300: result: $ac_ct_CC" >&5 2308 echo "$as_me:2308: result: $ac_ct_CC" >&5
2301 echo "${ECHO_T}$ac_ct_CC" >&6 2309 echo "${ECHO_T}$ac_ct_CC" >&6
2302 else 2310 else
2303 echo "$as_me:2303: result: no" >&5 2311 echo "$as_me:2311: result: no" >&5
2304 echo "${ECHO_T}no" >&6 2312 echo "${ECHO_T}no" >&6
2305 fi 2313 fi
2306 2314
2307 CC=$ac_ct_CC 2315 CC=$ac_ct_CC
2308 else 2316 else
2311 2319
2312 if test -z "$CC"; then 2320 if test -z "$CC"; then
2313 if test -n "$ac_tool_prefix"; then 2321 if test -n "$ac_tool_prefix"; then
2314 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2322 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2315 set dummy ${ac_tool_prefix}cc; ac_word=$2 2323 set dummy ${ac_tool_prefix}cc; ac_word=$2
2316 echo "$as_me:2316: checking for $ac_word" >&5 2324 echo "$as_me:2324: checking for $ac_word" >&5
2317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2318 if test "${ac_cv_prog_CC+set}" = set; then 2326 if test "${ac_cv_prog_CC+set}" = set; then
2319 echo $ECHO_N "(cached) $ECHO_C" >&6 2327 echo $ECHO_N "(cached) $ECHO_C" >&6
2320 else 2328 else
2321 if test -n "$CC"; then 2329 if test -n "$CC"; then
2326 for ac_dir in $ac_dummy; do 2334 for ac_dir in $ac_dummy; do
2327 IFS=$ac_save_IFS 2335 IFS=$ac_save_IFS
2328 test -z "$ac_dir" && ac_dir=. 2336 test -z "$ac_dir" && ac_dir=.
2329 $as_executable_p "$ac_dir/$ac_word" || continue 2337 $as_executable_p "$ac_dir/$ac_word" || continue
2330 ac_cv_prog_CC="${ac_tool_prefix}cc" 2338 ac_cv_prog_CC="${ac_tool_prefix}cc"
2331 echo "$as_me:2331: found $ac_dir/$ac_word" >&5 2339 echo "$as_me:2339: found $ac_dir/$ac_word" >&5
2332 break 2340 break
2333 done 2341 done
2334 2342
2335 fi 2343 fi
2336 fi 2344 fi
2337 CC=$ac_cv_prog_CC 2345 CC=$ac_cv_prog_CC
2338 if test -n "$CC"; then 2346 if test -n "$CC"; then
2339 echo "$as_me:2339: result: $CC" >&5 2347 echo "$as_me:2347: result: $CC" >&5
2340 echo "${ECHO_T}$CC" >&6 2348 echo "${ECHO_T}$CC" >&6
2341 else 2349 else
2342 echo "$as_me:2342: result: no" >&5 2350 echo "$as_me:2350: result: no" >&5
2343 echo "${ECHO_T}no" >&6 2351 echo "${ECHO_T}no" >&6
2344 fi 2352 fi
2345 2353
2346 fi 2354 fi
2347 if test -z "$ac_cv_prog_CC"; then 2355 if test -z "$ac_cv_prog_CC"; then
2348 ac_ct_CC=$CC 2356 ac_ct_CC=$CC
2349 # Extract the first word of "cc", so it can be a program name with args. 2357 # Extract the first word of "cc", so it can be a program name with args.
2350 set dummy cc; ac_word=$2 2358 set dummy cc; ac_word=$2
2351 echo "$as_me:2351: checking for $ac_word" >&5 2359 echo "$as_me:2359: checking for $ac_word" >&5
2352 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2353 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2361 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2354 echo $ECHO_N "(cached) $ECHO_C" >&6 2362 echo $ECHO_N "(cached) $ECHO_C" >&6
2355 else 2363 else
2356 if test -n "$ac_ct_CC"; then 2364 if test -n "$ac_ct_CC"; then
2361 for ac_dir in $ac_dummy; do 2369 for ac_dir in $ac_dummy; do
2362 IFS=$ac_save_IFS 2370 IFS=$ac_save_IFS
2363 test -z "$ac_dir" && ac_dir=. 2371 test -z "$ac_dir" && ac_dir=.
2364 $as_executable_p "$ac_dir/$ac_word" || continue 2372 $as_executable_p "$ac_dir/$ac_word" || continue
2365 ac_cv_prog_ac_ct_CC="cc" 2373 ac_cv_prog_ac_ct_CC="cc"
2366 echo "$as_me:2366: found $ac_dir/$ac_word" >&5 2374 echo "$as_me:2374: found $ac_dir/$ac_word" >&5
2367 break 2375 break
2368 done 2376 done
2369 2377
2370 fi 2378 fi
2371 fi 2379 fi
2372 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2380 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2373 if test -n "$ac_ct_CC"; then 2381 if test -n "$ac_ct_CC"; then
2374 echo "$as_me:2374: result: $ac_ct_CC" >&5 2382 echo "$as_me:2382: result: $ac_ct_CC" >&5
2375 echo "${ECHO_T}$ac_ct_CC" >&6 2383 echo "${ECHO_T}$ac_ct_CC" >&6
2376 else 2384 else
2377 echo "$as_me:2377: result: no" >&5 2385 echo "$as_me:2385: result: no" >&5
2378 echo "${ECHO_T}no" >&6 2386 echo "${ECHO_T}no" >&6
2379 fi 2387 fi
2380 2388
2381 CC=$ac_ct_CC 2389 CC=$ac_ct_CC
2382 else 2390 else
2385 2393
2386 fi 2394 fi
2387 if test -z "$CC"; then 2395 if test -z "$CC"; then
2388 # Extract the first word of "cc", so it can be a program name with args. 2396 # Extract the first word of "cc", so it can be a program name with args.
2389 set dummy cc; ac_word=$2 2397 set dummy cc; ac_word=$2
2390 echo "$as_me:2390: checking for $ac_word" >&5 2398 echo "$as_me:2398: checking for $ac_word" >&5
2391 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2399 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2392 if test "${ac_cv_prog_CC+set}" = set; then 2400 if test "${ac_cv_prog_CC+set}" = set; then
2393 echo $ECHO_N "(cached) $ECHO_C" >&6 2401 echo $ECHO_N "(cached) $ECHO_C" >&6
2394 else 2402 else
2395 if test -n "$CC"; then 2403 if test -n "$CC"; then
2405 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then 2413 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
2406 ac_prog_rejected=yes 2414 ac_prog_rejected=yes
2407 continue 2415 continue
2408 fi 2416 fi
2409 ac_cv_prog_CC="cc" 2417 ac_cv_prog_CC="cc"
2410 echo "$as_me:2410: found $ac_dir/$ac_word" >&5 2418 echo "$as_me:2418: found $ac_dir/$ac_word" >&5
2411 break 2419 break
2412 done 2420 done
2413 2421
2414 if test $ac_prog_rejected = yes; then 2422 if test $ac_prog_rejected = yes; then
2415 # We found a bogon in the path, so make sure we never use it. 2423 # We found a bogon in the path, so make sure we never use it.
2427 fi 2435 fi
2428 fi 2436 fi
2429 fi 2437 fi
2430 CC=$ac_cv_prog_CC 2438 CC=$ac_cv_prog_CC
2431 if test -n "$CC"; then 2439 if test -n "$CC"; then
2432 echo "$as_me:2432: result: $CC" >&5 2440 echo "$as_me:2440: result: $CC" >&5
2433 echo "${ECHO_T}$CC" >&6 2441 echo "${ECHO_T}$CC" >&6
2434 else 2442 else
2435 echo "$as_me:2435: result: no" >&5 2443 echo "$as_me:2443: result: no" >&5
2436 echo "${ECHO_T}no" >&6 2444 echo "${ECHO_T}no" >&6
2437 fi 2445 fi
2438 2446
2439 fi 2447 fi
2440 if test -z "$CC"; then 2448 if test -z "$CC"; then
2441 if test -n "$ac_tool_prefix"; then 2449 if test -n "$ac_tool_prefix"; then
2442 for ac_prog in cl 2450 for ac_prog in cl
2443 do 2451 do
2444 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2452 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2445 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2453 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2446 echo "$as_me:2446: checking for $ac_word" >&5 2454 echo "$as_me:2454: checking for $ac_word" >&5
2447 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2455 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2448 if test "${ac_cv_prog_CC+set}" = set; then 2456 if test "${ac_cv_prog_CC+set}" = set; then
2449 echo $ECHO_N "(cached) $ECHO_C" >&6 2457 echo $ECHO_N "(cached) $ECHO_C" >&6
2450 else 2458 else
2451 if test -n "$CC"; then 2459 if test -n "$CC"; then
2456 for ac_dir in $ac_dummy; do 2464 for ac_dir in $ac_dummy; do
2457 IFS=$ac_save_IFS 2465 IFS=$ac_save_IFS
2458 test -z "$ac_dir" && ac_dir=. 2466 test -z "$ac_dir" && ac_dir=.
2459 $as_executable_p "$ac_dir/$ac_word" || continue 2467 $as_executable_p "$ac_dir/$ac_word" || continue
2460 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2468 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2461 echo "$as_me:2461: found $ac_dir/$ac_word" >&5 2469 echo "$as_me:2469: found $ac_dir/$ac_word" >&5
2462 break 2470 break
2463 done 2471 done
2464 2472
2465 fi 2473 fi
2466 fi 2474 fi
2467 CC=$ac_cv_prog_CC 2475 CC=$ac_cv_prog_CC
2468 if test -n "$CC"; then 2476 if test -n "$CC"; then
2469 echo "$as_me:2469: result: $CC" >&5 2477 echo "$as_me:2477: result: $CC" >&5
2470 echo "${ECHO_T}$CC" >&6 2478 echo "${ECHO_T}$CC" >&6
2471 else 2479 else
2472 echo "$as_me:2472: result: no" >&5 2480 echo "$as_me:2480: result: no" >&5
2473 echo "${ECHO_T}no" >&6 2481 echo "${ECHO_T}no" >&6
2474 fi 2482 fi
2475 2483
2476 test -n "$CC" && break 2484 test -n "$CC" && break
2477 done 2485 done
2480 ac_ct_CC=$CC 2488 ac_ct_CC=$CC
2481 for ac_prog in cl 2489 for ac_prog in cl
2482 do 2490 do
2483 # Extract the first word of "$ac_prog", so it can be a program name with args. 2491 # Extract the first word of "$ac_prog", so it can be a program name with args.
2484 set dummy $ac_prog; ac_word=$2 2492 set dummy $ac_prog; ac_word=$2
2485 echo "$as_me:2485: checking for $ac_word" >&5 2493 echo "$as_me:2493: checking for $ac_word" >&5
2486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2494 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2487 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2495 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2488 echo $ECHO_N "(cached) $ECHO_C" >&6 2496 echo $ECHO_N "(cached) $ECHO_C" >&6
2489 else 2497 else
2490 if test -n "$ac_ct_CC"; then 2498 if test -n "$ac_ct_CC"; then
2495 for ac_dir in $ac_dummy; do 2503 for ac_dir in $ac_dummy; do
2496 IFS=$ac_save_IFS 2504 IFS=$ac_save_IFS
2497 test -z "$ac_dir" && ac_dir=. 2505 test -z "$ac_dir" && ac_dir=.
2498 $as_executable_p "$ac_dir/$ac_word" || continue 2506 $as_executable_p "$ac_dir/$ac_word" || continue
2499 ac_cv_prog_ac_ct_CC="$ac_prog" 2507 ac_cv_prog_ac_ct_CC="$ac_prog"
2500 echo "$as_me:2500: found $ac_dir/$ac_word" >&5 2508 echo "$as_me:2508: found $ac_dir/$ac_word" >&5
2501 break 2509 break
2502 done 2510 done
2503 2511
2504 fi 2512 fi
2505 fi 2513 fi
2506 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2514 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2507 if test -n "$ac_ct_CC"; then 2515 if test -n "$ac_ct_CC"; then
2508 echo "$as_me:2508: result: $ac_ct_CC" >&5 2516 echo "$as_me:2516: result: $ac_ct_CC" >&5
2509 echo "${ECHO_T}$ac_ct_CC" >&6 2517 echo "${ECHO_T}$ac_ct_CC" >&6
2510 else 2518 else
2511 echo "$as_me:2511: result: no" >&5 2519 echo "$as_me:2519: result: no" >&5
2512 echo "${ECHO_T}no" >&6 2520 echo "${ECHO_T}no" >&6
2513 fi 2521 fi
2514 2522
2515 test -n "$ac_ct_CC" && break 2523 test -n "$ac_ct_CC" && break
2516 done 2524 done
2518 CC=$ac_ct_CC 2526 CC=$ac_ct_CC
2519 fi 2527 fi
2520 2528
2521 fi 2529 fi
2522 2530
2523 test -z "$CC" && { { echo "$as_me:2523: error: no acceptable cc found in \$PATH" >&5 2531 test -z "$CC" && { { echo "$as_me:2531: error: no acceptable cc found in \$PATH" >&5
2524 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} 2532 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2525 { (exit 1); exit 1; }; } 2533 { (exit 1); exit 1; }; }
2526 2534
2527 # Provide some information about the compiler. 2535 # Provide some information about the compiler.
2528 echo "$as_me:2528:" \ 2536 echo "$as_me:2536:" \
2529 "checking for C compiler version" >&5 2537 "checking for C compiler version" >&5
2530 ac_compiler=`set X $ac_compile; echo $2` 2538 ac_compiler=`set X $ac_compile; echo $2`
2531 { (eval echo "$as_me:2531: \"$ac_compiler --version </dev/null >&5\"") >&5 2539 { (eval echo "$as_me:2539: \"$ac_compiler --version </dev/null >&5\"") >&5
2532 (eval $ac_compiler --version </dev/null >&5) 2>&5 2540 (eval $ac_compiler --version </dev/null >&5) 2>&5
2533 ac_status=$? 2541 ac_status=$?
2534 echo "$as_me:2534: \$? = $ac_status" >&5 2542 echo "$as_me:2542: \$? = $ac_status" >&5
2535 (exit $ac_status); } 2543 (exit $ac_status); }
2536 { (eval echo "$as_me:2536: \"$ac_compiler -v </dev/null >&5\"") >&5 2544 { (eval echo "$as_me:2544: \"$ac_compiler -v </dev/null >&5\"") >&5
2537 (eval $ac_compiler -v </dev/null >&5) 2>&5 2545 (eval $ac_compiler -v </dev/null >&5) 2>&5
2538 ac_status=$? 2546 ac_status=$?
2539 echo "$as_me:2539: \$? = $ac_status" >&5 2547 echo "$as_me:2547: \$? = $ac_status" >&5
2540 (exit $ac_status); } 2548 (exit $ac_status); }
2541 { (eval echo "$as_me:2541: \"$ac_compiler -V </dev/null >&5\"") >&5 2549 { (eval echo "$as_me:2549: \"$ac_compiler -V </dev/null >&5\"") >&5
2542 (eval $ac_compiler -V </dev/null >&5) 2>&5 2550 (eval $ac_compiler -V </dev/null >&5) 2>&5
2543 ac_status=$? 2551 ac_status=$?
2544 echo "$as_me:2544: \$? = $ac_status" >&5 2552 echo "$as_me:2552: \$? = $ac_status" >&5
2545 (exit $ac_status); } 2553 (exit $ac_status); }
2546 2554
2547 cat >conftest.$ac_ext <<_ACEOF 2555 cat >conftest.$ac_ext <<_ACEOF
2548 #line 2548 "configure" 2556 #line 2556 "configure"
2549 #include "confdefs.h" 2557 #include "confdefs.h"
2550 2558
2551 int 2559 int
2552 main () 2560 main ()
2553 { 2561 {
2559 ac_clean_files_save=$ac_clean_files 2567 ac_clean_files_save=$ac_clean_files
2560 ac_clean_files="$ac_clean_files a.out a.exe" 2568 ac_clean_files="$ac_clean_files a.out a.exe"
2561 # Try to create an executable without -o first, disregard a.out. 2569 # Try to create an executable without -o first, disregard a.out.
2562 # It will help us diagnose broken compilers, and finding out an intuition 2570 # It will help us diagnose broken compilers, and finding out an intuition
2563 # of exeext. 2571 # of exeext.
2564 echo "$as_me:2564: checking for C compiler default output" >&5 2572 echo "$as_me:2572: checking for C compiler default output" >&5
2565 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 2573 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2566 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2574 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2567 if { (eval echo "$as_me:2567: \"$ac_link_default\"") >&5 2575 if { (eval echo "$as_me:2575: \"$ac_link_default\"") >&5
2568 (eval $ac_link_default) 2>&5 2576 (eval $ac_link_default) 2>&5
2569 ac_status=$? 2577 ac_status=$?
2570 echo "$as_me:2570: \$? = $ac_status" >&5 2578 echo "$as_me:2578: \$? = $ac_status" >&5
2571 (exit $ac_status); }; then 2579 (exit $ac_status); }; then
2572 # Find the output, starting from the most likely. This scheme is 2580 # Find the output, starting from the most likely. This scheme is
2573 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 2581 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2574 # resort. 2582 # resort.
2575 for ac_file in `ls a.exe conftest.exe 2>/dev/null; 2583 for ac_file in `ls a.exe conftest.exe 2>/dev/null;
2588 esac 2596 esac
2589 done 2597 done
2590 else 2598 else
2591 echo "$as_me: failed program was:" >&5 2599 echo "$as_me: failed program was:" >&5
2592 cat conftest.$ac_ext >&5 2600 cat conftest.$ac_ext >&5
2593 { { echo "$as_me:2593: error: C compiler cannot create executables" >&5 2601 { { echo "$as_me:2601: error: C compiler cannot create executables" >&5
2594 echo "$as_me: error: C compiler cannot create executables" >&2;} 2602 echo "$as_me: error: C compiler cannot create executables" >&2;}
2595 { (exit 77); exit 77; }; } 2603 { (exit 77); exit 77; }; }
2596 fi 2604 fi
2597 2605
2598 ac_exeext=$ac_cv_exeext 2606 ac_exeext=$ac_cv_exeext
2599 echo "$as_me:2599: result: $ac_file" >&5 2607 echo "$as_me:2607: result: $ac_file" >&5
2600 echo "${ECHO_T}$ac_file" >&6 2608 echo "${ECHO_T}$ac_file" >&6
2601 2609
2602 # Check the compiler produces executables we can run. If not, either 2610 # Check the compiler produces executables we can run. If not, either
2603 # the compiler is broken, or we cross compile. 2611 # the compiler is broken, or we cross compile.
2604 echo "$as_me:2604: checking whether the C compiler works" >&5 2612 echo "$as_me:2612: checking whether the C compiler works" >&5
2605 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2613 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2606 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2614 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2607 # If not cross compiling, check that we can run a simple program. 2615 # If not cross compiling, check that we can run a simple program.
2608 if test "$cross_compiling" != yes; then 2616 if test "$cross_compiling" != yes; then
2609 if { ac_try='./$ac_file' 2617 if { ac_try='./$ac_file'
2610 { (eval echo "$as_me:2610: \"$ac_try\"") >&5 2618 { (eval echo "$as_me:2618: \"$ac_try\"") >&5
2611 (eval $ac_try) 2>&5 2619 (eval $ac_try) 2>&5
2612 ac_status=$? 2620 ac_status=$?
2613 echo "$as_me:2613: \$? = $ac_status" >&5 2621 echo "$as_me:2621: \$? = $ac_status" >&5
2614 (exit $ac_status); }; }; then 2622 (exit $ac_status); }; }; then
2615 cross_compiling=no 2623 cross_compiling=no
2616 else 2624 else
2617 if test "$cross_compiling" = maybe; then 2625 if test "$cross_compiling" = maybe; then
2618 cross_compiling=yes 2626 cross_compiling=yes
2619 else 2627 else
2620 { { echo "$as_me:2620: error: cannot run C compiled programs. 2628 { { echo "$as_me:2628: error: cannot run C compiled programs.
2621 If you meant to cross compile, use \`--host'." >&5 2629 If you meant to cross compile, use \`--host'." >&5
2622 echo "$as_me: error: cannot run C compiled programs. 2630 echo "$as_me: error: cannot run C compiled programs.
2623 If you meant to cross compile, use \`--host'." >&2;} 2631 If you meant to cross compile, use \`--host'." >&2;}
2624 { (exit 1); exit 1; }; } 2632 { (exit 1); exit 1; }; }
2625 fi 2633 fi
2626 fi 2634 fi
2627 fi 2635 fi
2628 echo "$as_me:2628: result: yes" >&5 2636 echo "$as_me:2636: result: yes" >&5
2629 echo "${ECHO_T}yes" >&6 2637 echo "${ECHO_T}yes" >&6
2630 2638
2631 rm -f a.out a.exe conftest$ac_cv_exeext 2639 rm -f a.out a.exe conftest$ac_cv_exeext
2632 ac_clean_files=$ac_clean_files_save 2640 ac_clean_files=$ac_clean_files_save
2633 # Check the compiler produces executables we can run. If not, either 2641 # Check the compiler produces executables we can run. If not, either
2634 # the compiler is broken, or we cross compile. 2642 # the compiler is broken, or we cross compile.
2635 echo "$as_me:2635: checking whether we are cross compiling" >&5 2643 echo "$as_me:2643: checking whether we are cross compiling" >&5
2636 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 2644 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2637 echo "$as_me:2637: result: $cross_compiling" >&5 2645 echo "$as_me:2645: result: $cross_compiling" >&5
2638 echo "${ECHO_T}$cross_compiling" >&6 2646 echo "${ECHO_T}$cross_compiling" >&6
2639 2647
2640 echo "$as_me:2640: checking for executable suffix" >&5 2648 echo "$as_me:2648: checking for executable suffix" >&5
2641 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6 2649 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
2642 if { (eval echo "$as_me:2642: \"$ac_link\"") >&5 2650 if { (eval echo "$as_me:2650: \"$ac_link\"") >&5
2643 (eval $ac_link) 2>&5 2651 (eval $ac_link) 2>&5
2644 ac_status=$? 2652 ac_status=$?
2645 echo "$as_me:2645: \$? = $ac_status" >&5 2653 echo "$as_me:2653: \$? = $ac_status" >&5
2646 (exit $ac_status); }; then 2654 (exit $ac_status); }; then
2647 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2655 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2648 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2656 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2649 # work properly (i.e., refer to `conftest.exe'), while it won't with 2657 # work properly (i.e., refer to `conftest.exe'), while it won't with
2650 # `rm'. 2658 # `rm'.
2656 break;; 2664 break;;
2657 * ) break;; 2665 * ) break;;
2658 esac 2666 esac
2659 done 2667 done
2660 else 2668 else
2661 { { echo "$as_me:2661: error: cannot compute EXEEXT: cannot compile and link" >&5 2669 { { echo "$as_me:2669: error: cannot compute EXEEXT: cannot compile and link" >&5
2662 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} 2670 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
2663 { (exit 1); exit 1; }; } 2671 { (exit 1); exit 1; }; }
2664 fi 2672 fi
2665 2673
2666 rm -f conftest$ac_cv_exeext 2674 rm -f conftest$ac_cv_exeext
2667 echo "$as_me:2667: result: $ac_cv_exeext" >&5 2675 echo "$as_me:2675: result: $ac_cv_exeext" >&5
2668 echo "${ECHO_T}$ac_cv_exeext" >&6 2676 echo "${ECHO_T}$ac_cv_exeext" >&6
2669 2677
2670 rm -f conftest.$ac_ext 2678 rm -f conftest.$ac_ext
2671 EXEEXT=$ac_cv_exeext 2679 EXEEXT=$ac_cv_exeext
2672 ac_exeext=$EXEEXT 2680 ac_exeext=$EXEEXT
2673 echo "$as_me:2673: checking for object suffix" >&5 2681 echo "$as_me:2681: checking for object suffix" >&5
2674 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6 2682 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
2675 if test "${ac_cv_objext+set}" = set; then 2683 if test "${ac_cv_objext+set}" = set; then
2676 echo $ECHO_N "(cached) $ECHO_C" >&6 2684 echo $ECHO_N "(cached) $ECHO_C" >&6
2677 else 2685 else
2678 cat >conftest.$ac_ext <<_ACEOF 2686 cat >conftest.$ac_ext <<_ACEOF
2679 #line 2679 "configure" 2687 #line 2687 "configure"
2680 #include "confdefs.h" 2688 #include "confdefs.h"
2681 2689
2682 int 2690 int
2683 main () 2691 main ()
2684 { 2692 {
2686 ; 2694 ;
2687 return 0; 2695 return 0;
2688 } 2696 }
2689 _ACEOF 2697 _ACEOF
2690 rm -f conftest.o conftest.obj 2698 rm -f conftest.o conftest.obj
2691 if { (eval echo "$as_me:2691: \"$ac_compile\"") >&5 2699 if { (eval echo "$as_me:2699: \"$ac_compile\"") >&5
2692 (eval $ac_compile) 2>&5 2700 (eval $ac_compile) 2>&5
2693 ac_status=$? 2701 ac_status=$?
2694 echo "$as_me:2694: \$? = $ac_status" >&5 2702 echo "$as_me:2702: \$? = $ac_status" >&5
2695 (exit $ac_status); }; then 2703 (exit $ac_status); }; then
2696 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2704 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2697 case $ac_file in 2705 case $ac_file in
2698 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; 2706 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
2699 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2707 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2701 esac 2709 esac
2702 done 2710 done
2703 else 2711 else
2704 echo "$as_me: failed program was:" >&5 2712 echo "$as_me: failed program was:" >&5
2705 cat conftest.$ac_ext >&5 2713 cat conftest.$ac_ext >&5
2706 { { echo "$as_me:2706: error: cannot compute OBJEXT: cannot compile" >&5 2714 { { echo "$as_me:2714: error: cannot compute OBJEXT: cannot compile" >&5
2707 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} 2715 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
2708 { (exit 1); exit 1; }; } 2716 { (exit 1); exit 1; }; }
2709 fi 2717 fi
2710 2718
2711 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2719 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2712 fi 2720 fi
2713 echo "$as_me:2713: result: $ac_cv_objext" >&5 2721 echo "$as_me:2721: result: $ac_cv_objext" >&5
2714 echo "${ECHO_T}$ac_cv_objext" >&6 2722 echo "${ECHO_T}$ac_cv_objext" >&6
2715 OBJEXT=$ac_cv_objext 2723 OBJEXT=$ac_cv_objext
2716 ac_objext=$OBJEXT 2724 ac_objext=$OBJEXT
2717 echo "$as_me:2717: checking whether we are using the GNU C compiler" >&5 2725 echo "$as_me:2725: checking whether we are using the GNU C compiler" >&5
2718 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2726 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2719 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2727 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2720 echo $ECHO_N "(cached) $ECHO_C" >&6 2728 echo $ECHO_N "(cached) $ECHO_C" >&6
2721 else 2729 else
2722 cat >conftest.$ac_ext <<_ACEOF 2730 cat >conftest.$ac_ext <<_ACEOF
2723 #line 2723 "configure" 2731 #line 2731 "configure"
2724 #include "confdefs.h" 2732 #include "confdefs.h"
2725 2733
2726 int 2734 int
2727 main () 2735 main ()
2728 { 2736 {
2733 ; 2741 ;
2734 return 0; 2742 return 0;
2735 } 2743 }
2736 _ACEOF 2744 _ACEOF
2737 rm -f conftest.$ac_objext 2745 rm -f conftest.$ac_objext
2738 if { (eval echo "$as_me:2738: \"$ac_compile\"") >&5 2746 if { (eval echo "$as_me:2746: \"$ac_compile\"") >&5
2739 (eval $ac_compile) 2>&5 2747 (eval $ac_compile) 2>&5
2740 ac_status=$? 2748 ac_status=$?
2741 echo "$as_me:2741: \$? = $ac_status" >&5 2749 echo "$as_me:2749: \$? = $ac_status" >&5
2742 (exit $ac_status); } && 2750 (exit $ac_status); } &&
2743 { ac_try='test -s conftest.$ac_objext' 2751 { ac_try='test -s conftest.$ac_objext'
2744 { (eval echo "$as_me:2744: \"$ac_try\"") >&5 2752 { (eval echo "$as_me:2752: \"$ac_try\"") >&5
2745 (eval $ac_try) 2>&5 2753 (eval $ac_try) 2>&5
2746 ac_status=$? 2754 ac_status=$?
2747 echo "$as_me:2747: \$? = $ac_status" >&5 2755 echo "$as_me:2755: \$? = $ac_status" >&5
2748 (exit $ac_status); }; }; then 2756 (exit $ac_status); }; }; then
2749 ac_compiler_gnu=yes 2757 ac_compiler_gnu=yes
2750 else 2758 else
2751 echo "$as_me: failed program was:" >&5 2759 echo "$as_me: failed program was:" >&5
2752 cat conftest.$ac_ext >&5 2760 cat conftest.$ac_ext >&5
2754 fi 2762 fi
2755 rm -f conftest.$ac_objext conftest.$ac_ext 2763 rm -f conftest.$ac_objext conftest.$ac_ext
2756 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2764 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2757 2765
2758 fi 2766 fi
2759 echo "$as_me:2759: result: $ac_cv_c_compiler_gnu" >&5 2767 echo "$as_me:2767: result: $ac_cv_c_compiler_gnu" >&5
2760 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2768 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2761 GCC=`test $ac_compiler_gnu = yes && echo yes` 2769 GCC=`test $ac_compiler_gnu = yes && echo yes`
2762 ac_test_CFLAGS=${CFLAGS+set} 2770 ac_test_CFLAGS=${CFLAGS+set}
2763 ac_save_CFLAGS=$CFLAGS 2771 ac_save_CFLAGS=$CFLAGS
2764 CFLAGS="-g" 2772 CFLAGS="-g"
2765 echo "$as_me:2765: checking whether $CC accepts -g" >&5 2773 echo "$as_me:2773: checking whether $CC accepts -g" >&5
2766 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2774 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2767 if test "${ac_cv_prog_cc_g+set}" = set; then 2775 if test "${ac_cv_prog_cc_g+set}" = set; then
2768 echo $ECHO_N "(cached) $ECHO_C" >&6 2776 echo $ECHO_N "(cached) $ECHO_C" >&6
2769 else 2777 else
2770 cat >conftest.$ac_ext <<_ACEOF 2778 cat >conftest.$ac_ext <<_ACEOF
2771 #line 2771 "configure" 2779 #line 2779 "configure"
2772 #include "confdefs.h" 2780 #include "confdefs.h"
2773 2781
2774 int 2782 int
2775 main () 2783 main ()
2776 { 2784 {
2778 ; 2786 ;
2779 return 0; 2787 return 0;
2780 } 2788 }
2781 _ACEOF 2789 _ACEOF
2782 rm -f conftest.$ac_objext 2790 rm -f conftest.$ac_objext
2783 if { (eval echo "$as_me:2783: \"$ac_compile\"") >&5 2791 if { (eval echo "$as_me:2791: \"$ac_compile\"") >&5
2784 (eval $ac_compile) 2>&5 2792 (eval $ac_compile) 2>&5
2785 ac_status=$? 2793 ac_status=$?
2786 echo "$as_me:2786: \$? = $ac_status" >&5 2794 echo "$as_me:2794: \$? = $ac_status" >&5
2787 (exit $ac_status); } && 2795 (exit $ac_status); } &&
2788 { ac_try='test -s conftest.$ac_objext' 2796 { ac_try='test -s conftest.$ac_objext'
2789 { (eval echo "$as_me:2789: \"$ac_try\"") >&5 2797 { (eval echo "$as_me:2797: \"$ac_try\"") >&5
2790 (eval $ac_try) 2>&5 2798 (eval $ac_try) 2>&5
2791 ac_status=$? 2799 ac_status=$?
2792 echo "$as_me:2792: \$? = $ac_status" >&5 2800 echo "$as_me:2800: \$? = $ac_status" >&5
2793 (exit $ac_status); }; }; then 2801 (exit $ac_status); }; }; then
2794 ac_cv_prog_cc_g=yes 2802 ac_cv_prog_cc_g=yes
2795 else 2803 else
2796 echo "$as_me: failed program was:" >&5 2804 echo "$as_me: failed program was:" >&5
2797 cat conftest.$ac_ext >&5 2805 cat conftest.$ac_ext >&5
2798 ac_cv_prog_cc_g=no 2806 ac_cv_prog_cc_g=no
2799 fi 2807 fi
2800 rm -f conftest.$ac_objext conftest.$ac_ext 2808 rm -f conftest.$ac_objext conftest.$ac_ext
2801 fi 2809 fi
2802 echo "$as_me:2802: result: $ac_cv_prog_cc_g" >&5 2810 echo "$as_me:2810: result: $ac_cv_prog_cc_g" >&5
2803 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2811 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2804 if test "$ac_test_CFLAGS" = set; then 2812 if test "$ac_test_CFLAGS" = set; then
2805 CFLAGS=$ac_save_CFLAGS 2813 CFLAGS=$ac_save_CFLAGS
2806 elif test $ac_cv_prog_cc_g = yes; then 2814 elif test $ac_cv_prog_cc_g = yes; then
2807 if test "$GCC" = yes; then 2815 if test "$GCC" = yes; then
2824 #ifndef __cplusplus 2832 #ifndef __cplusplus
2825 choke me 2833 choke me
2826 #endif 2834 #endif
2827 _ACEOF 2835 _ACEOF
2828 rm -f conftest.$ac_objext 2836 rm -f conftest.$ac_objext
2829 if { (eval echo "$as_me:2829: \"$ac_compile\"") >&5 2837 if { (eval echo "$as_me:2837: \"$ac_compile\"") >&5
2830 (eval $ac_compile) 2>&5 2838 (eval $ac_compile) 2>&5
2831 ac_status=$? 2839 ac_status=$?
2832 echo "$as_me:2832: \$? = $ac_status" >&5 2840 echo "$as_me:2840: \$? = $ac_status" >&5
2833 (exit $ac_status); } && 2841 (exit $ac_status); } &&
2834 { ac_try='test -s conftest.$ac_objext' 2842 { ac_try='test -s conftest.$ac_objext'
2835 { (eval echo "$as_me:2835: \"$ac_try\"") >&5 2843 { (eval echo "$as_me:2843: \"$ac_try\"") >&5
2836 (eval $ac_try) 2>&5 2844 (eval $ac_try) 2>&5
2837 ac_status=$? 2845 ac_status=$?
2838 echo "$as_me:2838: \$? = $ac_status" >&5 2846 echo "$as_me:2846: \$? = $ac_status" >&5
2839 (exit $ac_status); }; }; then 2847 (exit $ac_status); }; }; then
2840 for ac_declaration in \ 2848 for ac_declaration in \
2841 ''\ 2849 ''\
2842 '#include <stdlib.h>' \ 2850 '#include <stdlib.h>' \
2843 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2851 'extern "C" void std::exit (int) throw (); using std::exit;' \
2845 'extern "C" void exit (int) throw ();' \ 2853 'extern "C" void exit (int) throw ();' \
2846 'extern "C" void exit (int);' \ 2854 'extern "C" void exit (int);' \
2847 'void exit (int);' 2855 'void exit (int);'
2848 do 2856 do
2849 cat >conftest.$ac_ext <<_ACEOF 2857 cat >conftest.$ac_ext <<_ACEOF
2850 #line 2850 "configure" 2858 #line 2858 "configure"
2851 #include "confdefs.h" 2859 #include "confdefs.h"
2852 #include <stdlib.h> 2860 #include <stdlib.h>
2853 $ac_declaration 2861 $ac_declaration
2854 int 2862 int
2855 main () 2863 main ()
2858 ; 2866 ;
2859 return 0; 2867 return 0;
2860 } 2868 }
2861 _ACEOF 2869 _ACEOF
2862 rm -f conftest.$ac_objext 2870 rm -f conftest.$ac_objext
2863 if { (eval echo "$as_me:2863: \"$ac_compile\"") >&5 2871 if { (eval echo "$as_me:2871: \"$ac_compile\"") >&5
2864 (eval $ac_compile) 2>&5 2872 (eval $ac_compile) 2>&5
2865 ac_status=$? 2873 ac_status=$?
2866 echo "$as_me:2866: \$? = $ac_status" >&5 2874 echo "$as_me:2874: \$? = $ac_status" >&5
2867 (exit $ac_status); } && 2875 (exit $ac_status); } &&
2868 { ac_try='test -s conftest.$ac_objext' 2876 { ac_try='test -s conftest.$ac_objext'
2869 { (eval echo "$as_me:2869: \"$ac_try\"") >&5 2877 { (eval echo "$as_me:2877: \"$ac_try\"") >&5
2870 (eval $ac_try) 2>&5 2878 (eval $ac_try) 2>&5
2871 ac_status=$? 2879 ac_status=$?
2872 echo "$as_me:2872: \$? = $ac_status" >&5 2880 echo "$as_me:2880: \$? = $ac_status" >&5
2873 (exit $ac_status); }; }; then 2881 (exit $ac_status); }; }; then
2874 : 2882 :
2875 else 2883 else
2876 echo "$as_me: failed program was:" >&5 2884 echo "$as_me: failed program was:" >&5
2877 cat conftest.$ac_ext >&5 2885 cat conftest.$ac_ext >&5
2878 continue 2886 continue
2879 fi 2887 fi
2880 rm -f conftest.$ac_objext conftest.$ac_ext 2888 rm -f conftest.$ac_objext conftest.$ac_ext
2881 cat >conftest.$ac_ext <<_ACEOF 2889 cat >conftest.$ac_ext <<_ACEOF
2882 #line 2882 "configure" 2890 #line 2890 "configure"
2883 #include "confdefs.h" 2891 #include "confdefs.h"
2884 $ac_declaration 2892 $ac_declaration
2885 int 2893 int
2886 main () 2894 main ()
2887 { 2895 {
2889 ; 2897 ;
2890 return 0; 2898 return 0;
2891 } 2899 }
2892 _ACEOF 2900 _ACEOF
2893 rm -f conftest.$ac_objext 2901 rm -f conftest.$ac_objext
2894 if { (eval echo "$as_me:2894: \"$ac_compile\"") >&5 2902 if { (eval echo "$as_me:2902: \"$ac_compile\"") >&5
2895 (eval $ac_compile) 2>&5 2903 (eval $ac_compile) 2>&5
2896 ac_status=$? 2904 ac_status=$?
2897 echo "$as_me:2897: \$? = $ac_status" >&5 2905 echo "$as_me:2905: \$? = $ac_status" >&5
2898 (exit $ac_status); } && 2906 (exit $ac_status); } &&
2899 { ac_try='test -s conftest.$ac_objext' 2907 { ac_try='test -s conftest.$ac_objext'
2900 { (eval echo "$as_me:2900: \"$ac_try\"") >&5 2908 { (eval echo "$as_me:2908: \"$ac_try\"") >&5
2901 (eval $ac_try) 2>&5 2909 (eval $ac_try) 2>&5
2902 ac_status=$? 2910 ac_status=$?
2903 echo "$as_me:2903: \$? = $ac_status" >&5 2911 echo "$as_me:2911: \$? = $ac_status" >&5
2904 (exit $ac_status); }; }; then 2912 (exit $ac_status); }; }; then
2905 break 2913 break
2906 else 2914 else
2907 echo "$as_me: failed program was:" >&5 2915 echo "$as_me: failed program was:" >&5
2908 cat conftest.$ac_ext >&5 2916 cat conftest.$ac_ext >&5
2971 2979
2972 #### Some other nice autoconf tests. If you add a test here which 2980 #### Some other nice autoconf tests. If you add a test here which
2973 #### should make an entry in src/config.h, don't forget to add an 2981 #### should make an entry in src/config.h, don't forget to add an
2974 #### #undef clause to src/config.h.in for autoconf to modify. 2982 #### #undef clause to src/config.h.in for autoconf to modify.
2975 2983
2976 echo "$as_me:2976: checking whether ln -s works" >&5 2984 echo "$as_me:2984: checking whether ln -s works" >&5
2977 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 2985 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2978 LN_S=$as_ln_s 2986 LN_S=$as_ln_s
2979 if test "$LN_S" = "ln -s"; then 2987 if test "$LN_S" = "ln -s"; then
2980 echo "$as_me:2980: result: yes" >&5 2988 echo "$as_me:2988: result: yes" >&5
2981 echo "${ECHO_T}yes" >&6 2989 echo "${ECHO_T}yes" >&6
2982 else 2990 else
2983 echo "$as_me:2983: result: no, using $LN_S" >&5 2991 echo "$as_me:2991: result: no, using $LN_S" >&5
2984 echo "${ECHO_T}no, using $LN_S" >&6 2992 echo "${ECHO_T}no, using $LN_S" >&6
2985 fi 2993 fi
2986 2994
2987 ac_ext=c 2995 ac_ext=c
2988 ac_cpp='$CPP $CPPFLAGS' 2996 ac_cpp='$CPP $CPPFLAGS'
2989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2991 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2992 echo "$as_me:2992: checking how to run the C preprocessor" >&5 3000 echo "$as_me:3000: checking how to run the C preprocessor" >&5
2993 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 3001 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2994 # On Suns, sometimes $CPP names a directory. 3002 # On Suns, sometimes $CPP names a directory.
2995 if test -n "$CPP" && test -d "$CPP"; then 3003 if test -n "$CPP" && test -d "$CPP"; then
2996 CPP= 3004 CPP=
2997 fi 3005 fi
3008 # Use a header file that comes with gcc, so configuring glibc 3016 # Use a header file that comes with gcc, so configuring glibc
3009 # with a fresh cross-compiler works. 3017 # with a fresh cross-compiler works.
3010 # On the NeXT, cc -E runs the code through the compiler's parser, 3018 # On the NeXT, cc -E runs the code through the compiler's parser,
3011 # not just through cpp. "Syntax error" is here to catch this case. 3019 # not just through cpp. "Syntax error" is here to catch this case.
3012 cat >conftest.$ac_ext <<_ACEOF 3020 cat >conftest.$ac_ext <<_ACEOF
3013 #line 3013 "configure" 3021 #line 3021 "configure"
3014 #include "confdefs.h" 3022 #include "confdefs.h"
3015 #include <assert.h> 3023 #include <assert.h>
3016 Syntax error 3024 Syntax error
3017 _ACEOF 3025 _ACEOF
3018 if { (eval echo "$as_me:3018: \"$ac_cpp conftest.$ac_ext\"") >&5 3026 if { (eval echo "$as_me:3026: \"$ac_cpp conftest.$ac_ext\"") >&5
3019 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3027 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3020 ac_status=$? 3028 ac_status=$?
3021 egrep -v '^ *\+' conftest.er1 >conftest.err 3029 egrep -v '^ *\+' conftest.er1 >conftest.err
3022 rm -f conftest.er1 3030 rm -f conftest.er1
3023 cat conftest.err >&5 3031 cat conftest.err >&5
3024 echo "$as_me:3024: \$? = $ac_status" >&5 3032 echo "$as_me:3032: \$? = $ac_status" >&5
3025 (exit $ac_status); } >/dev/null; then 3033 (exit $ac_status); } >/dev/null; then
3026 if test -s conftest.err; then 3034 if test -s conftest.err; then
3027 ac_cpp_err=$ac_c_preproc_warn_flag 3035 ac_cpp_err=$ac_c_preproc_warn_flag
3028 else 3036 else
3029 ac_cpp_err= 3037 ac_cpp_err=
3042 rm -f conftest.err conftest.$ac_ext 3050 rm -f conftest.err conftest.$ac_ext
3043 3051
3044 # OK, works on sane cases. Now check whether non-existent headers 3052 # OK, works on sane cases. Now check whether non-existent headers
3045 # can be detected and how. 3053 # can be detected and how.
3046 cat >conftest.$ac_ext <<_ACEOF 3054 cat >conftest.$ac_ext <<_ACEOF
3047 #line 3047 "configure" 3055 #line 3055 "configure"
3048 #include "confdefs.h" 3056 #include "confdefs.h"
3049 #include <ac_nonexistent.h> 3057 #include <ac_nonexistent.h>
3050 _ACEOF 3058 _ACEOF
3051 if { (eval echo "$as_me:3051: \"$ac_cpp conftest.$ac_ext\"") >&5 3059 if { (eval echo "$as_me:3059: \"$ac_cpp conftest.$ac_ext\"") >&5
3052 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3060 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3053 ac_status=$? 3061 ac_status=$?
3054 egrep -v '^ *\+' conftest.er1 >conftest.err 3062 egrep -v '^ *\+' conftest.er1 >conftest.err
3055 rm -f conftest.er1 3063 rm -f conftest.er1
3056 cat conftest.err >&5 3064 cat conftest.err >&5
3057 echo "$as_me:3057: \$? = $ac_status" >&5 3065 echo "$as_me:3065: \$? = $ac_status" >&5
3058 (exit $ac_status); } >/dev/null; then 3066 (exit $ac_status); } >/dev/null; then
3059 if test -s conftest.err; then 3067 if test -s conftest.err; then
3060 ac_cpp_err=$ac_c_preproc_warn_flag 3068 ac_cpp_err=$ac_c_preproc_warn_flag
3061 else 3069 else
3062 ac_cpp_err= 3070 ac_cpp_err=
3089 fi 3097 fi
3090 CPP=$ac_cv_prog_CPP 3098 CPP=$ac_cv_prog_CPP
3091 else 3099 else
3092 ac_cv_prog_CPP=$CPP 3100 ac_cv_prog_CPP=$CPP
3093 fi 3101 fi
3094 echo "$as_me:3094: result: $CPP" >&5 3102 echo "$as_me:3102: result: $CPP" >&5
3095 echo "${ECHO_T}$CPP" >&6 3103 echo "${ECHO_T}$CPP" >&6
3096 ac_preproc_ok=false 3104 ac_preproc_ok=false
3097 for ac_c_preproc_warn_flag in '' yes 3105 for ac_c_preproc_warn_flag in '' yes
3098 do 3106 do
3099 # Use a header file that comes with gcc, so configuring glibc 3107 # Use a header file that comes with gcc, so configuring glibc
3100 # with a fresh cross-compiler works. 3108 # with a fresh cross-compiler works.
3101 # On the NeXT, cc -E runs the code through the compiler's parser, 3109 # On the NeXT, cc -E runs the code through the compiler's parser,
3102 # not just through cpp. "Syntax error" is here to catch this case. 3110 # not just through cpp. "Syntax error" is here to catch this case.
3103 cat >conftest.$ac_ext <<_ACEOF 3111 cat >conftest.$ac_ext <<_ACEOF
3104 #line 3104 "configure" 3112 #line 3112 "configure"
3105 #include "confdefs.h" 3113 #include "confdefs.h"
3106 #include <assert.h> 3114 #include <assert.h>
3107 Syntax error 3115 Syntax error
3108 _ACEOF 3116 _ACEOF
3109 if { (eval echo "$as_me:3109: \"$ac_cpp conftest.$ac_ext\"") >&5 3117 if { (eval echo "$as_me:3117: \"$ac_cpp conftest.$ac_ext\"") >&5
3110 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3118 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3111 ac_status=$? 3119 ac_status=$?
3112 egrep -v '^ *\+' conftest.er1 >conftest.err 3120 egrep -v '^ *\+' conftest.er1 >conftest.err
3113 rm -f conftest.er1 3121 rm -f conftest.er1
3114 cat conftest.err >&5 3122 cat conftest.err >&5
3115 echo "$as_me:3115: \$? = $ac_status" >&5 3123 echo "$as_me:3123: \$? = $ac_status" >&5
3116 (exit $ac_status); } >/dev/null; then 3124 (exit $ac_status); } >/dev/null; then
3117 if test -s conftest.err; then 3125 if test -s conftest.err; then
3118 ac_cpp_err=$ac_c_preproc_warn_flag 3126 ac_cpp_err=$ac_c_preproc_warn_flag
3119 else 3127 else
3120 ac_cpp_err= 3128 ac_cpp_err=
3133 rm -f conftest.err conftest.$ac_ext 3141 rm -f conftest.err conftest.$ac_ext
3134 3142
3135 # OK, works on sane cases. Now check whether non-existent headers 3143 # OK, works on sane cases. Now check whether non-existent headers
3136 # can be detected and how. 3144 # can be detected and how.
3137 cat >conftest.$ac_ext <<_ACEOF 3145 cat >conftest.$ac_ext <<_ACEOF
3138 #line 3138 "configure" 3146 #line 3146 "configure"
3139 #include "confdefs.h" 3147 #include "confdefs.h"
3140 #include <ac_nonexistent.h> 3148 #include <ac_nonexistent.h>
3141 _ACEOF 3149 _ACEOF
3142 if { (eval echo "$as_me:3142: \"$ac_cpp conftest.$ac_ext\"") >&5 3150 if { (eval echo "$as_me:3150: \"$ac_cpp conftest.$ac_ext\"") >&5
3143 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3151 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3144 ac_status=$? 3152 ac_status=$?
3145 egrep -v '^ *\+' conftest.er1 >conftest.err 3153 egrep -v '^ *\+' conftest.er1 >conftest.err
3146 rm -f conftest.er1 3154 rm -f conftest.er1
3147 cat conftest.err >&5 3155 cat conftest.err >&5
3148 echo "$as_me:3148: \$? = $ac_status" >&5 3156 echo "$as_me:3156: \$? = $ac_status" >&5
3149 (exit $ac_status); } >/dev/null; then 3157 (exit $ac_status); } >/dev/null; then
3150 if test -s conftest.err; then 3158 if test -s conftest.err; then
3151 ac_cpp_err=$ac_c_preproc_warn_flag 3159 ac_cpp_err=$ac_c_preproc_warn_flag
3152 else 3160 else
3153 ac_cpp_err= 3161 ac_cpp_err=
3171 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3179 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3172 rm -f conftest.err conftest.$ac_ext 3180 rm -f conftest.err conftest.$ac_ext
3173 if $ac_preproc_ok; then 3181 if $ac_preproc_ok; then
3174 : 3182 :
3175 else 3183 else
3176 { { echo "$as_me:3176: error: C preprocessor \"$CPP\" fails sanity check" >&5 3184 { { echo "$as_me:3184: error: C preprocessor \"$CPP\" fails sanity check" >&5
3177 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} 3185 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
3178 { (exit 1); exit 1; }; } 3186 { (exit 1); exit 1; }; }
3179 fi 3187 fi
3180 3188
3181 ac_ext=c 3189 ac_ext=c
3194 # AmigaOS /C/install, which installs bootblocks on floppy discs 3202 # AmigaOS /C/install, which installs bootblocks on floppy discs
3195 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3203 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3196 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 3204 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3197 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3205 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3198 # ./install, which can be erroneously created by make from ./install.sh. 3206 # ./install, which can be erroneously created by make from ./install.sh.
3199 echo "$as_me:3199: checking for a BSD compatible install" >&5 3207 echo "$as_me:3207: checking for a BSD compatible install" >&5
3200 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6 3208 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
3201 if test -z "$INSTALL"; then 3209 if test -z "$INSTALL"; then
3202 if test "${ac_cv_path_install+set}" = set; then 3210 if test "${ac_cv_path_install+set}" = set; then
3203 echo $ECHO_N "(cached) $ECHO_C" >&6 3211 echo $ECHO_N "(cached) $ECHO_C" >&6
3204 else 3212 else
3243 # break other packages using the cache if that directory is 3251 # break other packages using the cache if that directory is
3244 # removed, or if the path is relative. 3252 # removed, or if the path is relative.
3245 INSTALL=$ac_install_sh 3253 INSTALL=$ac_install_sh
3246 fi 3254 fi
3247 fi 3255 fi
3248 echo "$as_me:3248: result: $INSTALL" >&5 3256 echo "$as_me:3256: result: $INSTALL" >&5
3249 echo "${ECHO_T}$INSTALL" >&6 3257 echo "${ECHO_T}$INSTALL" >&6
3250 3258
3251 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 3259 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3252 # It thinks the first close brace ends the variable substitution. 3260 # It thinks the first close brace ends the variable substitution.
3253 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 3261 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3258 3266
3259 for ac_prog in 'bison -y' byacc 3267 for ac_prog in 'bison -y' byacc
3260 do 3268 do
3261 # Extract the first word of "$ac_prog", so it can be a program name with args. 3269 # Extract the first word of "$ac_prog", so it can be a program name with args.
3262 set dummy $ac_prog; ac_word=$2 3270 set dummy $ac_prog; ac_word=$2
3263 echo "$as_me:3263: checking for $ac_word" >&5 3271 echo "$as_me:3271: checking for $ac_word" >&5
3264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3265 if test "${ac_cv_prog_YACC+set}" = set; then 3273 if test "${ac_cv_prog_YACC+set}" = set; then
3266 echo $ECHO_N "(cached) $ECHO_C" >&6 3274 echo $ECHO_N "(cached) $ECHO_C" >&6
3267 else 3275 else
3268 if test -n "$YACC"; then 3276 if test -n "$YACC"; then
3273 for ac_dir in $ac_dummy; do 3281 for ac_dir in $ac_dummy; do
3274 IFS=$ac_save_IFS 3282 IFS=$ac_save_IFS
3275 test -z "$ac_dir" && ac_dir=. 3283 test -z "$ac_dir" && ac_dir=.
3276 $as_executable_p "$ac_dir/$ac_word" || continue 3284 $as_executable_p "$ac_dir/$ac_word" || continue
3277 ac_cv_prog_YACC="$ac_prog" 3285 ac_cv_prog_YACC="$ac_prog"
3278 echo "$as_me:3278: found $ac_dir/$ac_word" >&5 3286 echo "$as_me:3286: found $ac_dir/$ac_word" >&5
3279 break 3287 break
3280 done 3288 done
3281 3289
3282 fi 3290 fi
3283 fi 3291 fi
3284 YACC=$ac_cv_prog_YACC 3292 YACC=$ac_cv_prog_YACC
3285 if test -n "$YACC"; then 3293 if test -n "$YACC"; then
3286 echo "$as_me:3286: result: $YACC" >&5 3294 echo "$as_me:3294: result: $YACC" >&5
3287 echo "${ECHO_T}$YACC" >&6 3295 echo "${ECHO_T}$YACC" >&6
3288 else 3296 else
3289 echo "$as_me:3289: result: no" >&5 3297 echo "$as_me:3297: result: no" >&5
3290 echo "${ECHO_T}no" >&6 3298 echo "${ECHO_T}no" >&6
3291 fi 3299 fi
3292 3300
3293 test -n "$YACC" && break 3301 test -n "$YACC" && break
3294 done 3302 done
3296 3304
3297 if test "x$RANLIB" = x; then 3305 if test "x$RANLIB" = x; then
3298 if test -n "$ac_tool_prefix"; then 3306 if test -n "$ac_tool_prefix"; then
3299 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3307 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3300 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3308 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3301 echo "$as_me:3301: checking for $ac_word" >&5 3309 echo "$as_me:3309: checking for $ac_word" >&5
3302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3303 if test "${ac_cv_prog_RANLIB+set}" = set; then 3311 if test "${ac_cv_prog_RANLIB+set}" = set; then
3304 echo $ECHO_N "(cached) $ECHO_C" >&6 3312 echo $ECHO_N "(cached) $ECHO_C" >&6
3305 else 3313 else
3306 if test -n "$RANLIB"; then 3314 if test -n "$RANLIB"; then
3311 for ac_dir in $ac_dummy; do 3319 for ac_dir in $ac_dummy; do
3312 IFS=$ac_save_IFS 3320 IFS=$ac_save_IFS
3313 test -z "$ac_dir" && ac_dir=. 3321 test -z "$ac_dir" && ac_dir=.
3314 $as_executable_p "$ac_dir/$ac_word" || continue 3322 $as_executable_p "$ac_dir/$ac_word" || continue
3315 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3323 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3316 echo "$as_me:3316: found $ac_dir/$ac_word" >&5 3324 echo "$as_me:3324: found $ac_dir/$ac_word" >&5
3317 break 3325 break
3318 done 3326 done
3319 3327
3320 fi 3328 fi
3321 fi 3329 fi
3322 RANLIB=$ac_cv_prog_RANLIB 3330 RANLIB=$ac_cv_prog_RANLIB
3323 if test -n "$RANLIB"; then 3331 if test -n "$RANLIB"; then
3324 echo "$as_me:3324: result: $RANLIB" >&5 3332 echo "$as_me:3332: result: $RANLIB" >&5
3325 echo "${ECHO_T}$RANLIB" >&6 3333 echo "${ECHO_T}$RANLIB" >&6
3326 else 3334 else
3327 echo "$as_me:3327: result: no" >&5 3335 echo "$as_me:3335: result: no" >&5
3328 echo "${ECHO_T}no" >&6 3336 echo "${ECHO_T}no" >&6
3329 fi 3337 fi
3330 3338
3331 fi 3339 fi
3332 if test -z "$ac_cv_prog_RANLIB"; then 3340 if test -z "$ac_cv_prog_RANLIB"; then
3333 ac_ct_RANLIB=$RANLIB 3341 ac_ct_RANLIB=$RANLIB
3334 # Extract the first word of "ranlib", so it can be a program name with args. 3342 # Extract the first word of "ranlib", so it can be a program name with args.
3335 set dummy ranlib; ac_word=$2 3343 set dummy ranlib; ac_word=$2
3336 echo "$as_me:3336: checking for $ac_word" >&5 3344 echo "$as_me:3344: checking for $ac_word" >&5
3337 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3338 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 3346 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3339 echo $ECHO_N "(cached) $ECHO_C" >&6 3347 echo $ECHO_N "(cached) $ECHO_C" >&6
3340 else 3348 else
3341 if test -n "$ac_ct_RANLIB"; then 3349 if test -n "$ac_ct_RANLIB"; then
3346 for ac_dir in $ac_dummy; do 3354 for ac_dir in $ac_dummy; do
3347 IFS=$ac_save_IFS 3355 IFS=$ac_save_IFS
3348 test -z "$ac_dir" && ac_dir=. 3356 test -z "$ac_dir" && ac_dir=.
3349 $as_executable_p "$ac_dir/$ac_word" || continue 3357 $as_executable_p "$ac_dir/$ac_word" || continue
3350 ac_cv_prog_ac_ct_RANLIB="ranlib" 3358 ac_cv_prog_ac_ct_RANLIB="ranlib"
3351 echo "$as_me:3351: found $ac_dir/$ac_word" >&5 3359 echo "$as_me:3359: found $ac_dir/$ac_word" >&5
3352 break 3360 break
3353 done 3361 done
3354 3362
3355 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 3363 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3356 fi 3364 fi
3357 fi 3365 fi
3358 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 3366 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3359 if test -n "$ac_ct_RANLIB"; then 3367 if test -n "$ac_ct_RANLIB"; then
3360 echo "$as_me:3360: result: $ac_ct_RANLIB" >&5 3368 echo "$as_me:3368: result: $ac_ct_RANLIB" >&5
3361 echo "${ECHO_T}$ac_ct_RANLIB" >&6 3369 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3362 else 3370 else
3363 echo "$as_me:3363: result: no" >&5 3371 echo "$as_me:3371: result: no" >&5
3364 echo "${ECHO_T}no" >&6 3372 echo "${ECHO_T}no" >&6
3365 fi 3373 fi
3366 3374
3367 RANLIB=$ac_ct_RANLIB 3375 RANLIB=$ac_ct_RANLIB
3368 else 3376 else
3369 RANLIB="$ac_cv_prog_RANLIB" 3377 RANLIB="$ac_cv_prog_RANLIB"
3370 fi 3378 fi
3371 3379
3372 fi 3380 fi
3373 3381
3374 echo "$as_me:3374: checking for AIX" >&5 3382 echo "$as_me:3382: checking for AIX" >&5
3375 echo $ECHO_N "checking for AIX... $ECHO_C" >&6 3383 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
3376 cat >conftest.$ac_ext <<_ACEOF 3384 cat >conftest.$ac_ext <<_ACEOF
3377 #line 3377 "configure" 3385 #line 3385 "configure"
3378 #include "confdefs.h" 3386 #include "confdefs.h"
3379 #ifdef _AIX 3387 #ifdef _AIX
3380 yes 3388 yes
3381 #endif 3389 #endif
3382 3390
3383 _ACEOF 3391 _ACEOF
3384 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3392 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3385 egrep "yes" >/dev/null 2>&1; then 3393 egrep "yes" >/dev/null 2>&1; then
3386 echo "$as_me:3386: result: yes" >&5 3394 echo "$as_me:3394: result: yes" >&5
3387 echo "${ECHO_T}yes" >&6 3395 echo "${ECHO_T}yes" >&6
3388 cat >>confdefs.h <<\EOF 3396 cat >>confdefs.h <<\EOF
3389 #define _ALL_SOURCE 1 3397 #define _ALL_SOURCE 1
3390 EOF 3398 EOF
3391 3399
3392 else 3400 else
3393 echo "$as_me:3393: result: no" >&5 3401 echo "$as_me:3401: result: no" >&5
3394 echo "${ECHO_T}no" >&6 3402 echo "${ECHO_T}no" >&6
3395 fi 3403 fi
3396 rm -f conftest* 3404 rm -f conftest*
3397 3405
3398 #### Extract some information from the operating system and machine files. 3406 #### Extract some information from the operating system and machine files.
3399 3407
3400 { echo "$as_me:3400: checking the machine- and system-dependent files to find out 3408 { echo "$as_me:3408: checking the machine- and system-dependent files to find out
3401 - which libraries the lib-src programs will want, and 3409 - which libraries the lib-src programs will want, and
3402 - whether the GNU malloc routines are usable..." >&5 3410 - whether the GNU malloc routines are usable..." >&5
3403 echo "$as_me: checking the machine- and system-dependent files to find out 3411 echo "$as_me: checking the machine- and system-dependent files to find out
3404 - which libraries the lib-src programs will want, and 3412 - which libraries the lib-src programs will want, and
3405 - whether the GNU malloc routines are usable..." >&6;} 3413 - whether the GNU malloc routines are usable..." >&6;}
3545 enableval="$enable_largefile" 3553 enableval="$enable_largefile"
3546 3554
3547 fi; 3555 fi;
3548 if test "$enable_largefile" != no; then 3556 if test "$enable_largefile" != no; then
3549 3557
3550 echo "$as_me:3550: checking for special C compiler options needed for large files" >&5 3558 echo "$as_me:3558: checking for special C compiler options needed for large files" >&5
3551 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6 3559 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
3552 if test "${ac_cv_sys_largefile_CC+set}" = set; then 3560 if test "${ac_cv_sys_largefile_CC+set}" = set; then
3553 echo $ECHO_N "(cached) $ECHO_C" >&6 3561 echo $ECHO_N "(cached) $ECHO_C" >&6
3554 else 3562 else
3555 ac_cv_sys_largefile_CC=no 3563 ac_cv_sys_largefile_CC=no
3557 ac_save_CC=$CC 3565 ac_save_CC=$CC
3558 while :; do 3566 while :; do
3559 # IRIX 6.2 and later do not support large files by default, 3567 # IRIX 6.2 and later do not support large files by default,
3560 # so use the C compiler's -n32 option if that helps. 3568 # so use the C compiler's -n32 option if that helps.
3561 cat >conftest.$ac_ext <<_ACEOF 3569 cat >conftest.$ac_ext <<_ACEOF
3562 #line 3562 "configure" 3570 #line 3570 "configure"
3563 #include "confdefs.h" 3571 #include "confdefs.h"
3564 #include <sys/types.h> 3572 #include <sys/types.h>
3565 /* Check that off_t can represent 2**63 - 1 correctly. 3573 /* Check that off_t can represent 2**63 - 1 correctly.
3566 We can't simply define LARGE_OFF_T to be 9223372036854775807, 3574 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3567 since some C++ compilers masquerading as C compilers 3575 since some C++ compilers masquerading as C compilers
3577 ; 3585 ;
3578 return 0; 3586 return 0;
3579 } 3587 }
3580 _ACEOF 3588 _ACEOF
3581 rm -f conftest.$ac_objext 3589 rm -f conftest.$ac_objext
3582 if { (eval echo "$as_me:3582: \"$ac_compile\"") >&5 3590 if { (eval echo "$as_me:3590: \"$ac_compile\"") >&5
3583 (eval $ac_compile) 2>&5 3591 (eval $ac_compile) 2>&5
3584 ac_status=$? 3592 ac_status=$?
3585 echo "$as_me:3585: \$? = $ac_status" >&5 3593 echo "$as_me:3593: \$? = $ac_status" >&5
3586 (exit $ac_status); } && 3594 (exit $ac_status); } &&
3587 { ac_try='test -s conftest.$ac_objext' 3595 { ac_try='test -s conftest.$ac_objext'
3588 { (eval echo "$as_me:3588: \"$ac_try\"") >&5 3596 { (eval echo "$as_me:3596: \"$ac_try\"") >&5
3589 (eval $ac_try) 2>&5 3597 (eval $ac_try) 2>&5
3590 ac_status=$? 3598 ac_status=$?
3591 echo "$as_me:3591: \$? = $ac_status" >&5 3599 echo "$as_me:3599: \$? = $ac_status" >&5
3592 (exit $ac_status); }; }; then 3600 (exit $ac_status); }; }; then
3593 break 3601 break
3594 else 3602 else
3595 echo "$as_me: failed program was:" >&5 3603 echo "$as_me: failed program was:" >&5
3596 cat conftest.$ac_ext >&5 3604 cat conftest.$ac_ext >&5
3597 fi 3605 fi
3598 rm -f conftest.$ac_objext 3606 rm -f conftest.$ac_objext
3599 CC="$CC -n32" 3607 CC="$CC -n32"
3600 rm -f conftest.$ac_objext 3608 rm -f conftest.$ac_objext
3601 if { (eval echo "$as_me:3601: \"$ac_compile\"") >&5 3609 if { (eval echo "$as_me:3609: \"$ac_compile\"") >&5
3602 (eval $ac_compile) 2>&5 3610 (eval $ac_compile) 2>&5
3603 ac_status=$? 3611 ac_status=$?
3604 echo "$as_me:3604: \$? = $ac_status" >&5 3612 echo "$as_me:3612: \$? = $ac_status" >&5
3605 (exit $ac_status); } && 3613 (exit $ac_status); } &&
3606 { ac_try='test -s conftest.$ac_objext' 3614 { ac_try='test -s conftest.$ac_objext'
3607 { (eval echo "$as_me:3607: \"$ac_try\"") >&5 3615 { (eval echo "$as_me:3615: \"$ac_try\"") >&5
3608 (eval $ac_try) 2>&5 3616 (eval $ac_try) 2>&5
3609 ac_status=$? 3617 ac_status=$?
3610 echo "$as_me:3610: \$? = $ac_status" >&5 3618 echo "$as_me:3618: \$? = $ac_status" >&5
3611 (exit $ac_status); }; }; then 3619 (exit $ac_status); }; }; then
3612 ac_cv_sys_largefile_CC=' -n32'; break 3620 ac_cv_sys_largefile_CC=' -n32'; break
3613 else 3621 else
3614 echo "$as_me: failed program was:" >&5 3622 echo "$as_me: failed program was:" >&5
3615 cat conftest.$ac_ext >&5 3623 cat conftest.$ac_ext >&5
3619 done 3627 done
3620 CC=$ac_save_CC 3628 CC=$ac_save_CC
3621 rm -f conftest.$ac_ext 3629 rm -f conftest.$ac_ext
3622 fi 3630 fi
3623 fi 3631 fi
3624 echo "$as_me:3624: result: $ac_cv_sys_largefile_CC" >&5 3632 echo "$as_me:3632: result: $ac_cv_sys_largefile_CC" >&5
3625 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6 3633 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
3626 if test "$ac_cv_sys_largefile_CC" != no; then 3634 if test "$ac_cv_sys_largefile_CC" != no; then
3627 CC=$CC$ac_cv_sys_largefile_CC 3635 CC=$CC$ac_cv_sys_largefile_CC
3628 fi 3636 fi
3629 3637
3630 echo "$as_me:3630: checking for _FILE_OFFSET_BITS value needed for large files" >&5 3638 echo "$as_me:3638: checking for _FILE_OFFSET_BITS value needed for large files" >&5
3631 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6 3639 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
3632 if test "${ac_cv_sys_file_offset_bits+set}" = set; then 3640 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
3633 echo $ECHO_N "(cached) $ECHO_C" >&6 3641 echo $ECHO_N "(cached) $ECHO_C" >&6
3634 else 3642 else
3635 while :; do 3643 while :; do
3636 ac_cv_sys_file_offset_bits=no 3644 ac_cv_sys_file_offset_bits=no
3637 cat >conftest.$ac_ext <<_ACEOF 3645 cat >conftest.$ac_ext <<_ACEOF
3638 #line 3638 "configure" 3646 #line 3646 "configure"
3639 #include "confdefs.h" 3647 #include "confdefs.h"
3640 #include <sys/types.h> 3648 #include <sys/types.h>
3641 /* Check that off_t can represent 2**63 - 1 correctly. 3649 /* Check that off_t can represent 2**63 - 1 correctly.
3642 We can't simply define LARGE_OFF_T to be 9223372036854775807, 3650 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3643 since some C++ compilers masquerading as C compilers 3651 since some C++ compilers masquerading as C compilers
3653 ; 3661 ;
3654 return 0; 3662 return 0;
3655 } 3663 }
3656 _ACEOF 3664 _ACEOF
3657 rm -f conftest.$ac_objext 3665 rm -f conftest.$ac_objext
3658 if { (eval echo "$as_me:3658: \"$ac_compile\"") >&5 3666 if { (eval echo "$as_me:3666: \"$ac_compile\"") >&5
3659 (eval $ac_compile) 2>&5 3667 (eval $ac_compile) 2>&5
3660 ac_status=$? 3668 ac_status=$?
3661 echo "$as_me:3661: \$? = $ac_status" >&5 3669 echo "$as_me:3669: \$? = $ac_status" >&5
3662 (exit $ac_status); } && 3670 (exit $ac_status); } &&
3663 { ac_try='test -s conftest.$ac_objext' 3671 { ac_try='test -s conftest.$ac_objext'
3664 { (eval echo "$as_me:3664: \"$ac_try\"") >&5 3672 { (eval echo "$as_me:3672: \"$ac_try\"") >&5
3665 (eval $ac_try) 2>&5 3673 (eval $ac_try) 2>&5
3666 ac_status=$? 3674 ac_status=$?
3667 echo "$as_me:3667: \$? = $ac_status" >&5 3675 echo "$as_me:3675: \$? = $ac_status" >&5
3668 (exit $ac_status); }; }; then 3676 (exit $ac_status); }; }; then
3669 break 3677 break
3670 else 3678 else
3671 echo "$as_me: failed program was:" >&5 3679 echo "$as_me: failed program was:" >&5
3672 cat conftest.$ac_ext >&5 3680 cat conftest.$ac_ext >&5
3673 fi 3681 fi
3674 rm -f conftest.$ac_objext conftest.$ac_ext 3682 rm -f conftest.$ac_objext conftest.$ac_ext
3675 cat >conftest.$ac_ext <<_ACEOF 3683 cat >conftest.$ac_ext <<_ACEOF
3676 #line 3676 "configure" 3684 #line 3684 "configure"
3677 #include "confdefs.h" 3685 #include "confdefs.h"
3678 #define _FILE_OFFSET_BITS 64 3686 #define _FILE_OFFSET_BITS 64
3679 #include <sys/types.h> 3687 #include <sys/types.h>
3680 /* Check that off_t can represent 2**63 - 1 correctly. 3688 /* Check that off_t can represent 2**63 - 1 correctly.
3681 We can't simply define LARGE_OFF_T to be 9223372036854775807, 3689 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3692 ; 3700 ;
3693 return 0; 3701 return 0;
3694 } 3702 }
3695 _ACEOF 3703 _ACEOF
3696 rm -f conftest.$ac_objext 3704 rm -f conftest.$ac_objext
3697 if { (eval echo "$as_me:3697: \"$ac_compile\"") >&5 3705 if { (eval echo "$as_me:3705: \"$ac_compile\"") >&5
3698 (eval $ac_compile) 2>&5 3706 (eval $ac_compile) 2>&5
3699 ac_status=$? 3707 ac_status=$?
3700 echo "$as_me:3700: \$? = $ac_status" >&5 3708 echo "$as_me:3708: \$? = $ac_status" >&5
3701 (exit $ac_status); } && 3709 (exit $ac_status); } &&
3702 { ac_try='test -s conftest.$ac_objext' 3710 { ac_try='test -s conftest.$ac_objext'
3703 { (eval echo "$as_me:3703: \"$ac_try\"") >&5 3711 { (eval echo "$as_me:3711: \"$ac_try\"") >&5
3704 (eval $ac_try) 2>&5 3712 (eval $ac_try) 2>&5
3705 ac_status=$? 3713 ac_status=$?
3706 echo "$as_me:3706: \$? = $ac_status" >&5 3714 echo "$as_me:3714: \$? = $ac_status" >&5
3707 (exit $ac_status); }; }; then 3715 (exit $ac_status); }; }; then
3708 ac_cv_sys_file_offset_bits=64; break 3716 ac_cv_sys_file_offset_bits=64; break
3709 else 3717 else
3710 echo "$as_me: failed program was:" >&5 3718 echo "$as_me: failed program was:" >&5
3711 cat conftest.$ac_ext >&5 3719 cat conftest.$ac_ext >&5
3712 fi 3720 fi
3713 rm -f conftest.$ac_objext conftest.$ac_ext 3721 rm -f conftest.$ac_objext conftest.$ac_ext
3714 break 3722 break
3715 done 3723 done
3716 fi 3724 fi
3717 echo "$as_me:3717: result: $ac_cv_sys_file_offset_bits" >&5 3725 echo "$as_me:3725: result: $ac_cv_sys_file_offset_bits" >&5
3718 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6 3726 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
3719 if test "$ac_cv_sys_file_offset_bits" != no; then 3727 if test "$ac_cv_sys_file_offset_bits" != no; then
3720 3728
3721 cat >>confdefs.h <<EOF 3729 cat >>confdefs.h <<EOF
3722 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 3730 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
3723 EOF 3731 EOF
3724 3732
3725 fi 3733 fi
3726 rm -f conftest* 3734 rm -f conftest*
3727 echo "$as_me:3727: checking for _LARGE_FILES value needed for large files" >&5 3735 echo "$as_me:3735: checking for _LARGE_FILES value needed for large files" >&5
3728 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6 3736 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
3729 if test "${ac_cv_sys_large_files+set}" = set; then 3737 if test "${ac_cv_sys_large_files+set}" = set; then
3730 echo $ECHO_N "(cached) $ECHO_C" >&6 3738 echo $ECHO_N "(cached) $ECHO_C" >&6
3731 else 3739 else
3732 while :; do 3740 while :; do
3733 ac_cv_sys_large_files=no 3741 ac_cv_sys_large_files=no
3734 cat >conftest.$ac_ext <<_ACEOF 3742 cat >conftest.$ac_ext <<_ACEOF
3735 #line 3735 "configure" 3743 #line 3743 "configure"
3736 #include "confdefs.h" 3744 #include "confdefs.h"
3737 #include <sys/types.h> 3745 #include <sys/types.h>
3738 /* Check that off_t can represent 2**63 - 1 correctly. 3746 /* Check that off_t can represent 2**63 - 1 correctly.
3739 We can't simply define LARGE_OFF_T to be 9223372036854775807, 3747 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3740 since some C++ compilers masquerading as C compilers 3748 since some C++ compilers masquerading as C compilers
3750 ; 3758 ;
3751 return 0; 3759 return 0;
3752 } 3760 }
3753 _ACEOF 3761 _ACEOF
3754 rm -f conftest.$ac_objext 3762 rm -f conftest.$ac_objext
3755 if { (eval echo "$as_me:3755: \"$ac_compile\"") >&5 3763 if { (eval echo "$as_me:3763: \"$ac_compile\"") >&5
3756 (eval $ac_compile) 2>&5 3764 (eval $ac_compile) 2>&5
3757 ac_status=$? 3765 ac_status=$?
3758 echo "$as_me:3758: \$? = $ac_status" >&5 3766 echo "$as_me:3766: \$? = $ac_status" >&5
3759 (exit $ac_status); } && 3767 (exit $ac_status); } &&
3760 { ac_try='test -s conftest.$ac_objext' 3768 { ac_try='test -s conftest.$ac_objext'
3761 { (eval echo "$as_me:3761: \"$ac_try\"") >&5 3769 { (eval echo "$as_me:3769: \"$ac_try\"") >&5
3762 (eval $ac_try) 2>&5 3770 (eval $ac_try) 2>&5
3763 ac_status=$? 3771 ac_status=$?
3764 echo "$as_me:3764: \$? = $ac_status" >&5 3772 echo "$as_me:3772: \$? = $ac_status" >&5
3765 (exit $ac_status); }; }; then 3773 (exit $ac_status); }; }; then
3766 break 3774 break
3767 else 3775 else
3768 echo "$as_me: failed program was:" >&5 3776 echo "$as_me: failed program was:" >&5
3769 cat conftest.$ac_ext >&5 3777 cat conftest.$ac_ext >&5
3770 fi 3778 fi
3771 rm -f conftest.$ac_objext conftest.$ac_ext 3779 rm -f conftest.$ac_objext conftest.$ac_ext
3772 cat >conftest.$ac_ext <<_ACEOF 3780 cat >conftest.$ac_ext <<_ACEOF
3773 #line 3773 "configure" 3781 #line 3781 "configure"
3774 #include "confdefs.h" 3782 #include "confdefs.h"
3775 #define _LARGE_FILES 1 3783 #define _LARGE_FILES 1
3776 #include <sys/types.h> 3784 #include <sys/types.h>
3777 /* Check that off_t can represent 2**63 - 1 correctly. 3785 /* Check that off_t can represent 2**63 - 1 correctly.
3778 We can't simply define LARGE_OFF_T to be 9223372036854775807, 3786 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3789 ; 3797 ;
3790 return 0; 3798 return 0;
3791 } 3799 }
3792 _ACEOF 3800 _ACEOF
3793 rm -f conftest.$ac_objext 3801 rm -f conftest.$ac_objext
3794 if { (eval echo "$as_me:3794: \"$ac_compile\"") >&5 3802 if { (eval echo "$as_me:3802: \"$ac_compile\"") >&5
3795 (eval $ac_compile) 2>&5 3803 (eval $ac_compile) 2>&5
3796 ac_status=$? 3804 ac_status=$?
3797 echo "$as_me:3797: \$? = $ac_status" >&5 3805 echo "$as_me:3805: \$? = $ac_status" >&5
3798 (exit $ac_status); } && 3806 (exit $ac_status); } &&
3799 { ac_try='test -s conftest.$ac_objext' 3807 { ac_try='test -s conftest.$ac_objext'
3800 { (eval echo "$as_me:3800: \"$ac_try\"") >&5 3808 { (eval echo "$as_me:3808: \"$ac_try\"") >&5
3801 (eval $ac_try) 2>&5 3809 (eval $ac_try) 2>&5
3802 ac_status=$? 3810 ac_status=$?
3803 echo "$as_me:3803: \$? = $ac_status" >&5 3811 echo "$as_me:3811: \$? = $ac_status" >&5
3804 (exit $ac_status); }; }; then 3812 (exit $ac_status); }; }; then
3805 ac_cv_sys_large_files=1; break 3813 ac_cv_sys_large_files=1; break
3806 else 3814 else
3807 echo "$as_me: failed program was:" >&5 3815 echo "$as_me: failed program was:" >&5
3808 cat conftest.$ac_ext >&5 3816 cat conftest.$ac_ext >&5
3809 fi 3817 fi
3810 rm -f conftest.$ac_objext conftest.$ac_ext 3818 rm -f conftest.$ac_objext conftest.$ac_ext
3811 break 3819 break
3812 done 3820 done
3813 fi 3821 fi
3814 echo "$as_me:3814: result: $ac_cv_sys_large_files" >&5 3822 echo "$as_me:3822: result: $ac_cv_sys_large_files" >&5
3815 echo "${ECHO_T}$ac_cv_sys_large_files" >&6 3823 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
3816 if test "$ac_cv_sys_large_files" != no; then 3824 if test "$ac_cv_sys_large_files" != no; then
3817 3825
3818 cat >>confdefs.h <<EOF 3826 cat >>confdefs.h <<EOF
3819 #define _LARGE_FILES $ac_cv_sys_large_files 3827 #define _LARGE_FILES $ac_cv_sys_large_files
3826 # Sound support for GNU/Linux and the free BSDs. 3834 # Sound support for GNU/Linux and the free BSDs.
3827 3835
3828 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h 3836 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h
3829 do 3837 do
3830 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3838 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3831 echo "$as_me:3831: checking for $ac_header" >&5 3839 echo "$as_me:3839: checking for $ac_header" >&5
3832 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3840 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3833 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3841 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3834 echo $ECHO_N "(cached) $ECHO_C" >&6 3842 echo $ECHO_N "(cached) $ECHO_C" >&6
3835 else 3843 else
3836 cat >conftest.$ac_ext <<_ACEOF 3844 cat >conftest.$ac_ext <<_ACEOF
3837 #line 3837 "configure" 3845 #line 3845 "configure"
3838 #include "confdefs.h" 3846 #include "confdefs.h"
3839 #include <$ac_header> 3847 #include <$ac_header>
3840 _ACEOF 3848 _ACEOF
3841 if { (eval echo "$as_me:3841: \"$ac_cpp conftest.$ac_ext\"") >&5 3849 if { (eval echo "$as_me:3849: \"$ac_cpp conftest.$ac_ext\"") >&5
3842 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3850 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3843 ac_status=$? 3851 ac_status=$?
3844 egrep -v '^ *\+' conftest.er1 >conftest.err 3852 egrep -v '^ *\+' conftest.er1 >conftest.err
3845 rm -f conftest.er1 3853 rm -f conftest.er1
3846 cat conftest.err >&5 3854 cat conftest.err >&5
3847 echo "$as_me:3847: \$? = $ac_status" >&5 3855 echo "$as_me:3855: \$? = $ac_status" >&5
3848 (exit $ac_status); } >/dev/null; then 3856 (exit $ac_status); } >/dev/null; then
3849 if test -s conftest.err; then 3857 if test -s conftest.err; then
3850 ac_cpp_err=$ac_c_preproc_warn_flag 3858 ac_cpp_err=$ac_c_preproc_warn_flag
3851 else 3859 else
3852 ac_cpp_err= 3860 ac_cpp_err=
3861 cat conftest.$ac_ext >&5 3869 cat conftest.$ac_ext >&5
3862 eval "$as_ac_Header=no" 3870 eval "$as_ac_Header=no"
3863 fi 3871 fi
3864 rm -f conftest.err conftest.$ac_ext 3872 rm -f conftest.err conftest.$ac_ext
3865 fi 3873 fi
3866 echo "$as_me:3866: result: `eval echo '${'$as_ac_Header'}'`" >&5 3874 echo "$as_me:3874: result: `eval echo '${'$as_ac_Header'}'`" >&5
3867 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3875 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3868 if test `eval echo '${'$as_ac_Header'}'` = yes; then 3876 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3869 cat >>confdefs.h <<EOF 3877 cat >>confdefs.h <<EOF
3870 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3878 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3871 EOF 3879 EOF
3872 3880
3873 fi 3881 fi
3874 done 3882 done
3875 3883
3876 # Emulation library used on NetBSD. 3884 # Emulation library used on NetBSD.
3877 echo "$as_me:3877: checking for _oss_ioctl in -lossaudio" >&5 3885 echo "$as_me:3885: checking for _oss_ioctl in -lossaudio" >&5
3878 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6 3886 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
3879 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then 3887 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
3880 echo $ECHO_N "(cached) $ECHO_C" >&6 3888 echo $ECHO_N "(cached) $ECHO_C" >&6
3881 else 3889 else
3882 ac_check_lib_save_LIBS=$LIBS 3890 ac_check_lib_save_LIBS=$LIBS
3883 LIBS="-lossaudio $LIBS" 3891 LIBS="-lossaudio $LIBS"
3884 cat >conftest.$ac_ext <<_ACEOF 3892 cat >conftest.$ac_ext <<_ACEOF
3885 #line 3885 "configure" 3893 #line 3893 "configure"
3886 #include "confdefs.h" 3894 #include "confdefs.h"
3887 3895
3888 /* Override any gcc2 internal prototype to avoid an error. */ 3896 /* Override any gcc2 internal prototype to avoid an error. */
3889 #ifdef __cplusplus 3897 #ifdef __cplusplus
3890 extern "C" 3898 extern "C"
3899 ; 3907 ;
3900 return 0; 3908 return 0;
3901 } 3909 }
3902 _ACEOF 3910 _ACEOF
3903 rm -f conftest.$ac_objext conftest$ac_exeext 3911 rm -f conftest.$ac_objext conftest$ac_exeext
3904 if { (eval echo "$as_me:3904: \"$ac_link\"") >&5 3912 if { (eval echo "$as_me:3912: \"$ac_link\"") >&5
3905 (eval $ac_link) 2>&5 3913 (eval $ac_link) 2>&5
3906 ac_status=$? 3914 ac_status=$?
3907 echo "$as_me:3907: \$? = $ac_status" >&5 3915 echo "$as_me:3915: \$? = $ac_status" >&5
3908 (exit $ac_status); } && 3916 (exit $ac_status); } &&
3909 { ac_try='test -s conftest$ac_exeext' 3917 { ac_try='test -s conftest$ac_exeext'
3910 { (eval echo "$as_me:3910: \"$ac_try\"") >&5 3918 { (eval echo "$as_me:3918: \"$ac_try\"") >&5
3911 (eval $ac_try) 2>&5 3919 (eval $ac_try) 2>&5
3912 ac_status=$? 3920 ac_status=$?
3913 echo "$as_me:3913: \$? = $ac_status" >&5 3921 echo "$as_me:3921: \$? = $ac_status" >&5
3914 (exit $ac_status); }; }; then 3922 (exit $ac_status); }; }; then
3915 ac_cv_lib_ossaudio__oss_ioctl=yes 3923 ac_cv_lib_ossaudio__oss_ioctl=yes
3916 else 3924 else
3917 echo "$as_me: failed program was:" >&5 3925 echo "$as_me: failed program was:" >&5
3918 cat conftest.$ac_ext >&5 3926 cat conftest.$ac_ext >&5
3919 ac_cv_lib_ossaudio__oss_ioctl=no 3927 ac_cv_lib_ossaudio__oss_ioctl=no
3920 fi 3928 fi
3921 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3929 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3922 LIBS=$ac_check_lib_save_LIBS 3930 LIBS=$ac_check_lib_save_LIBS
3923 fi 3931 fi
3924 echo "$as_me:3924: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5 3932 echo "$as_me:3932: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
3925 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6 3933 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
3926 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then 3934 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
3927 LIBSOUND=-lossaudio 3935 LIBSOUND=-lossaudio
3928 else 3936 else
3929 LIBSOUND= 3937 LIBSOUND=
3932 for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ 3940 for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \
3933 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ 3941 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \
3934 termcap.h stdio_ext.h fcntl.h term.h strings.h coff.h 3942 termcap.h stdio_ext.h fcntl.h term.h strings.h coff.h
3935 do 3943 do
3936 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3944 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3937 echo "$as_me:3937: checking for $ac_header" >&5 3945 echo "$as_me:3945: checking for $ac_header" >&5
3938 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3946 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3939 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3947 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3940 echo $ECHO_N "(cached) $ECHO_C" >&6 3948 echo $ECHO_N "(cached) $ECHO_C" >&6
3941 else 3949 else
3942 cat >conftest.$ac_ext <<_ACEOF 3950 cat >conftest.$ac_ext <<_ACEOF
3943 #line 3943 "configure" 3951 #line 3951 "configure"
3944 #include "confdefs.h" 3952 #include "confdefs.h"
3945 #include <$ac_header> 3953 #include <$ac_header>
3946 _ACEOF 3954 _ACEOF
3947 if { (eval echo "$as_me:3947: \"$ac_cpp conftest.$ac_ext\"") >&5 3955 if { (eval echo "$as_me:3955: \"$ac_cpp conftest.$ac_ext\"") >&5
3948 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3956 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3949 ac_status=$? 3957 ac_status=$?
3950 egrep -v '^ *\+' conftest.er1 >conftest.err 3958 egrep -v '^ *\+' conftest.er1 >conftest.err
3951 rm -f conftest.er1 3959 rm -f conftest.er1
3952 cat conftest.err >&5 3960 cat conftest.err >&5
3953 echo "$as_me:3953: \$? = $ac_status" >&5 3961 echo "$as_me:3961: \$? = $ac_status" >&5
3954 (exit $ac_status); } >/dev/null; then 3962 (exit $ac_status); } >/dev/null; then
3955 if test -s conftest.err; then 3963 if test -s conftest.err; then
3956 ac_cpp_err=$ac_c_preproc_warn_flag 3964 ac_cpp_err=$ac_c_preproc_warn_flag
3957 else 3965 else
3958 ac_cpp_err= 3966 ac_cpp_err=
3967 cat conftest.$ac_ext >&5 3975 cat conftest.$ac_ext >&5
3968 eval "$as_ac_Header=no" 3976 eval "$as_ac_Header=no"
3969 fi 3977 fi
3970 rm -f conftest.err conftest.$ac_ext 3978 rm -f conftest.err conftest.$ac_ext
3971 fi 3979 fi
3972 echo "$as_me:3972: result: `eval echo '${'$as_ac_Header'}'`" >&5 3980 echo "$as_me:3980: result: `eval echo '${'$as_ac_Header'}'`" >&5
3973 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3981 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3974 if test `eval echo '${'$as_ac_Header'}'` = yes; then 3982 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3975 cat >>confdefs.h <<EOF 3983 cat >>confdefs.h <<EOF
3976 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3984 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3977 EOF 3985 EOF
3978 3986
3979 fi 3987 fi
3980 done 3988 done
3981 3989
3982 echo "$as_me:3982: checking for ANSI C header files" >&5 3990 echo "$as_me:3990: checking for ANSI C header files" >&5
3983 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 3991 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3984 if test "${ac_cv_header_stdc+set}" = set; then 3992 if test "${ac_cv_header_stdc+set}" = set; then
3985 echo $ECHO_N "(cached) $ECHO_C" >&6 3993 echo $ECHO_N "(cached) $ECHO_C" >&6
3986 else 3994 else
3987 cat >conftest.$ac_ext <<_ACEOF 3995 cat >conftest.$ac_ext <<_ACEOF
3988 #line 3988 "configure" 3996 #line 3996 "configure"
3989 #include "confdefs.h" 3997 #include "confdefs.h"
3990 #include <stdlib.h> 3998 #include <stdlib.h>
3991 #include <stdarg.h> 3999 #include <stdarg.h>
3992 #include <string.h> 4000 #include <string.h>
3993 #include <float.h> 4001 #include <float.h>
3994 4002
3995 _ACEOF 4003 _ACEOF
3996 if { (eval echo "$as_me:3996: \"$ac_cpp conftest.$ac_ext\"") >&5 4004 if { (eval echo "$as_me:4004: \"$ac_cpp conftest.$ac_ext\"") >&5
3997 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4005 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3998 ac_status=$? 4006 ac_status=$?
3999 egrep -v '^ *\+' conftest.er1 >conftest.err 4007 egrep -v '^ *\+' conftest.er1 >conftest.err
4000 rm -f conftest.er1 4008 rm -f conftest.er1
4001 cat conftest.err >&5 4009 cat conftest.err >&5
4002 echo "$as_me:4002: \$? = $ac_status" >&5 4010 echo "$as_me:4010: \$? = $ac_status" >&5
4003 (exit $ac_status); } >/dev/null; then 4011 (exit $ac_status); } >/dev/null; then
4004 if test -s conftest.err; then 4012 if test -s conftest.err; then
4005 ac_cpp_err=$ac_c_preproc_warn_flag 4013 ac_cpp_err=$ac_c_preproc_warn_flag
4006 else 4014 else
4007 ac_cpp_err= 4015 ac_cpp_err=
4019 rm -f conftest.err conftest.$ac_ext 4027 rm -f conftest.err conftest.$ac_ext
4020 4028
4021 if test $ac_cv_header_stdc = yes; then 4029 if test $ac_cv_header_stdc = yes; then
4022 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4030 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4023 cat >conftest.$ac_ext <<_ACEOF 4031 cat >conftest.$ac_ext <<_ACEOF
4024 #line 4024 "configure" 4032 #line 4032 "configure"
4025 #include "confdefs.h" 4033 #include "confdefs.h"
4026 #include <string.h> 4034 #include <string.h>
4027 4035
4028 _ACEOF 4036 _ACEOF
4029 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4037 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4037 fi 4045 fi
4038 4046
4039 if test $ac_cv_header_stdc = yes; then 4047 if test $ac_cv_header_stdc = yes; then
4040 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4048 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4041 cat >conftest.$ac_ext <<_ACEOF 4049 cat >conftest.$ac_ext <<_ACEOF
4042 #line 4042 "configure" 4050 #line 4050 "configure"
4043 #include "confdefs.h" 4051 #include "confdefs.h"
4044 #include <stdlib.h> 4052 #include <stdlib.h>
4045 4053
4046 _ACEOF 4054 _ACEOF
4047 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4055 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4058 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4066 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4059 if test "$cross_compiling" = yes; then 4067 if test "$cross_compiling" = yes; then
4060 : 4068 :
4061 else 4069 else
4062 cat >conftest.$ac_ext <<_ACEOF 4070 cat >conftest.$ac_ext <<_ACEOF
4063 #line 4063 "configure" 4071 #line 4071 "configure"
4064 #include "confdefs.h" 4072 #include "confdefs.h"
4065 #include <ctype.h> 4073 #include <ctype.h>
4066 #if ((' ' & 0x0FF) == 0x020) 4074 #if ((' ' & 0x0FF) == 0x020)
4067 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4075 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4068 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4076 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4084 exit(2); 4092 exit(2);
4085 exit (0); 4093 exit (0);
4086 } 4094 }
4087 _ACEOF 4095 _ACEOF
4088 rm -f conftest$ac_exeext 4096 rm -f conftest$ac_exeext
4089 if { (eval echo "$as_me:4089: \"$ac_link\"") >&5 4097 if { (eval echo "$as_me:4097: \"$ac_link\"") >&5
4090 (eval $ac_link) 2>&5 4098 (eval $ac_link) 2>&5
4091 ac_status=$? 4099 ac_status=$?
4092 echo "$as_me:4092: \$? = $ac_status" >&5 4100 echo "$as_me:4100: \$? = $ac_status" >&5
4093 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4101 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4094 { (eval echo "$as_me:4094: \"$ac_try\"") >&5 4102 { (eval echo "$as_me:4102: \"$ac_try\"") >&5
4095 (eval $ac_try) 2>&5 4103 (eval $ac_try) 2>&5
4096 ac_status=$? 4104 ac_status=$?
4097 echo "$as_me:4097: \$? = $ac_status" >&5 4105 echo "$as_me:4105: \$? = $ac_status" >&5
4098 (exit $ac_status); }; }; then 4106 (exit $ac_status); }; }; then
4099 : 4107 :
4100 else 4108 else
4101 echo "$as_me: program exited with status $ac_status" >&5 4109 echo "$as_me: program exited with status $ac_status" >&5
4102 echo "$as_me: failed program was:" >&5 4110 echo "$as_me: failed program was:" >&5
4105 fi 4113 fi
4106 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4114 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4107 fi 4115 fi
4108 fi 4116 fi
4109 fi 4117 fi
4110 echo "$as_me:4110: result: $ac_cv_header_stdc" >&5 4118 echo "$as_me:4118: result: $ac_cv_header_stdc" >&5
4111 echo "${ECHO_T}$ac_cv_header_stdc" >&6 4119 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4112 if test $ac_cv_header_stdc = yes; then 4120 if test $ac_cv_header_stdc = yes; then
4113 4121
4114 cat >>confdefs.h <<\EOF 4122 cat >>confdefs.h <<\EOF
4115 #define STDC_HEADERS 1 4123 #define STDC_HEADERS 1
4116 EOF 4124 EOF
4117 4125
4118 fi 4126 fi
4119 4127
4120 echo "$as_me:4120: checking whether time.h and sys/time.h may both be included" >&5 4128 echo "$as_me:4128: checking whether time.h and sys/time.h may both be included" >&5
4121 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 4129 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
4122 if test "${ac_cv_header_time+set}" = set; then 4130 if test "${ac_cv_header_time+set}" = set; then
4123 echo $ECHO_N "(cached) $ECHO_C" >&6 4131 echo $ECHO_N "(cached) $ECHO_C" >&6
4124 else 4132 else
4125 cat >conftest.$ac_ext <<_ACEOF 4133 cat >conftest.$ac_ext <<_ACEOF
4126 #line 4126 "configure" 4134 #line 4134 "configure"
4127 #include "confdefs.h" 4135 #include "confdefs.h"
4128 #include <sys/types.h> 4136 #include <sys/types.h>
4129 #include <sys/time.h> 4137 #include <sys/time.h>
4130 #include <time.h> 4138 #include <time.h>
4131 4139
4137 ; 4145 ;
4138 return 0; 4146 return 0;
4139 } 4147 }
4140 _ACEOF 4148 _ACEOF
4141 rm -f conftest.$ac_objext 4149 rm -f conftest.$ac_objext
4142 if { (eval echo "$as_me:4142: \"$ac_compile\"") >&5 4150 if { (eval echo "$as_me:4150: \"$ac_compile\"") >&5
4143 (eval $ac_compile) 2>&5 4151 (eval $ac_compile) 2>&5
4144 ac_status=$? 4152 ac_status=$?
4145 echo "$as_me:4145: \$? = $ac_status" >&5 4153 echo "$as_me:4153: \$? = $ac_status" >&5
4146 (exit $ac_status); } && 4154 (exit $ac_status); } &&
4147 { ac_try='test -s conftest.$ac_objext' 4155 { ac_try='test -s conftest.$ac_objext'
4148 { (eval echo "$as_me:4148: \"$ac_try\"") >&5 4156 { (eval echo "$as_me:4156: \"$ac_try\"") >&5
4149 (eval $ac_try) 2>&5 4157 (eval $ac_try) 2>&5
4150 ac_status=$? 4158 ac_status=$?
4151 echo "$as_me:4151: \$? = $ac_status" >&5 4159 echo "$as_me:4159: \$? = $ac_status" >&5
4152 (exit $ac_status); }; }; then 4160 (exit $ac_status); }; }; then
4153 ac_cv_header_time=yes 4161 ac_cv_header_time=yes
4154 else 4162 else
4155 echo "$as_me: failed program was:" >&5 4163 echo "$as_me: failed program was:" >&5
4156 cat conftest.$ac_ext >&5 4164 cat conftest.$ac_ext >&5
4157 ac_cv_header_time=no 4165 ac_cv_header_time=no
4158 fi 4166 fi
4159 rm -f conftest.$ac_objext conftest.$ac_ext 4167 rm -f conftest.$ac_objext conftest.$ac_ext
4160 fi 4168 fi
4161 echo "$as_me:4161: result: $ac_cv_header_time" >&5 4169 echo "$as_me:4169: result: $ac_cv_header_time" >&5
4162 echo "${ECHO_T}$ac_cv_header_time" >&6 4170 echo "${ECHO_T}$ac_cv_header_time" >&6
4163 if test $ac_cv_header_time = yes; then 4171 if test $ac_cv_header_time = yes; then
4164 4172
4165 cat >>confdefs.h <<\EOF 4173 cat >>confdefs.h <<\EOF
4166 #define TIME_WITH_SYS_TIME 1 4174 #define TIME_WITH_SYS_TIME 1
4167 EOF 4175 EOF
4168 4176
4169 fi 4177 fi
4170 4178
4171 echo "$as_me:4171: checking for sys_siglist declaration in signal.h or unistd.h" >&5 4179 echo "$as_me:4179: checking for sys_siglist declaration in signal.h or unistd.h" >&5
4172 echo $ECHO_N "checking for sys_siglist declaration in signal.h or unistd.h... $ECHO_C" >&6 4180 echo $ECHO_N "checking for sys_siglist declaration in signal.h or unistd.h... $ECHO_C" >&6
4173 if test "${ac_cv_decl_sys_siglist+set}" = set; then 4181 if test "${ac_cv_decl_sys_siglist+set}" = set; then
4174 echo $ECHO_N "(cached) $ECHO_C" >&6 4182 echo $ECHO_N "(cached) $ECHO_C" >&6
4175 else 4183 else
4176 cat >conftest.$ac_ext <<_ACEOF 4184 cat >conftest.$ac_ext <<_ACEOF
4177 #line 4177 "configure" 4185 #line 4185 "configure"
4178 #include "confdefs.h" 4186 #include "confdefs.h"
4179 #include <sys/types.h> 4187 #include <sys/types.h>
4180 #include <signal.h> 4188 #include <signal.h>
4181 /* NetBSD declares sys_siglist in unistd.h. */ 4189 /* NetBSD declares sys_siglist in unistd.h. */
4182 #if HAVE_UNISTD_H 4190 #if HAVE_UNISTD_H
4190 ; 4198 ;
4191 return 0; 4199 return 0;
4192 } 4200 }
4193 _ACEOF 4201 _ACEOF
4194 rm -f conftest.$ac_objext 4202 rm -f conftest.$ac_objext
4195 if { (eval echo "$as_me:4195: \"$ac_compile\"") >&5 4203 if { (eval echo "$as_me:4203: \"$ac_compile\"") >&5
4196 (eval $ac_compile) 2>&5 4204 (eval $ac_compile) 2>&5
4197 ac_status=$? 4205 ac_status=$?
4198 echo "$as_me:4198: \$? = $ac_status" >&5 4206 echo "$as_me:4206: \$? = $ac_status" >&5
4199 (exit $ac_status); } && 4207 (exit $ac_status); } &&
4200 { ac_try='test -s conftest.$ac_objext' 4208 { ac_try='test -s conftest.$ac_objext'
4201 { (eval echo "$as_me:4201: \"$ac_try\"") >&5 4209 { (eval echo "$as_me:4209: \"$ac_try\"") >&5
4202 (eval $ac_try) 2>&5 4210 (eval $ac_try) 2>&5
4203 ac_status=$? 4211 ac_status=$?
4204 echo "$as_me:4204: \$? = $ac_status" >&5 4212 echo "$as_me:4212: \$? = $ac_status" >&5
4205 (exit $ac_status); }; }; then 4213 (exit $ac_status); }; }; then
4206 ac_cv_decl_sys_siglist=yes 4214 ac_cv_decl_sys_siglist=yes
4207 else 4215 else
4208 echo "$as_me: failed program was:" >&5 4216 echo "$as_me: failed program was:" >&5
4209 cat conftest.$ac_ext >&5 4217 cat conftest.$ac_ext >&5
4210 ac_cv_decl_sys_siglist=no 4218 ac_cv_decl_sys_siglist=no
4211 fi 4219 fi
4212 rm -f conftest.$ac_objext conftest.$ac_ext 4220 rm -f conftest.$ac_objext conftest.$ac_ext
4213 fi 4221 fi
4214 echo "$as_me:4214: result: $ac_cv_decl_sys_siglist" >&5 4222 echo "$as_me:4222: result: $ac_cv_decl_sys_siglist" >&5
4215 echo "${ECHO_T}$ac_cv_decl_sys_siglist" >&6 4223 echo "${ECHO_T}$ac_cv_decl_sys_siglist" >&6
4216 if test $ac_cv_decl_sys_siglist = yes; then 4224 if test $ac_cv_decl_sys_siglist = yes; then
4217 4225
4218 cat >>confdefs.h <<\EOF 4226 cat >>confdefs.h <<\EOF
4219 #define SYS_SIGLIST_DECLARED 1 4227 #define SYS_SIGLIST_DECLARED 1
4220 EOF 4228 EOF
4221 4229
4222 fi 4230 fi
4223 4231
4224 echo "$as_me:4224: checking for sys/wait.h that is POSIX.1 compatible" >&5 4232 echo "$as_me:4232: checking for sys/wait.h that is POSIX.1 compatible" >&5
4225 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6 4233 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
4226 if test "${ac_cv_header_sys_wait_h+set}" = set; then 4234 if test "${ac_cv_header_sys_wait_h+set}" = set; then
4227 echo $ECHO_N "(cached) $ECHO_C" >&6 4235 echo $ECHO_N "(cached) $ECHO_C" >&6
4228 else 4236 else
4229 cat >conftest.$ac_ext <<_ACEOF 4237 cat >conftest.$ac_ext <<_ACEOF
4230 #line 4230 "configure" 4238 #line 4238 "configure"
4231 #include "confdefs.h" 4239 #include "confdefs.h"
4232 #include <sys/types.h> 4240 #include <sys/types.h>
4233 #include <sys/wait.h> 4241 #include <sys/wait.h>
4234 #ifndef WEXITSTATUS 4242 #ifndef WEXITSTATUS
4235 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) 4243 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
4247 ; 4255 ;
4248 return 0; 4256 return 0;
4249 } 4257 }
4250 _ACEOF 4258 _ACEOF
4251 rm -f conftest.$ac_objext 4259 rm -f conftest.$ac_objext
4252 if { (eval echo "$as_me:4252: \"$ac_compile\"") >&5 4260 if { (eval echo "$as_me:4260: \"$ac_compile\"") >&5
4253 (eval $ac_compile) 2>&5 4261 (eval $ac_compile) 2>&5
4254 ac_status=$? 4262 ac_status=$?
4255 echo "$as_me:4255: \$? = $ac_status" >&5 4263 echo "$as_me:4263: \$? = $ac_status" >&5
4256 (exit $ac_status); } && 4264 (exit $ac_status); } &&
4257 { ac_try='test -s conftest.$ac_objext' 4265 { ac_try='test -s conftest.$ac_objext'
4258 { (eval echo "$as_me:4258: \"$ac_try\"") >&5 4266 { (eval echo "$as_me:4266: \"$ac_try\"") >&5
4259 (eval $ac_try) 2>&5 4267 (eval $ac_try) 2>&5
4260 ac_status=$? 4268 ac_status=$?
4261 echo "$as_me:4261: \$? = $ac_status" >&5 4269 echo "$as_me:4269: \$? = $ac_status" >&5
4262 (exit $ac_status); }; }; then 4270 (exit $ac_status); }; }; then
4263 ac_cv_header_sys_wait_h=yes 4271 ac_cv_header_sys_wait_h=yes
4264 else 4272 else
4265 echo "$as_me: failed program was:" >&5 4273 echo "$as_me: failed program was:" >&5
4266 cat conftest.$ac_ext >&5 4274 cat conftest.$ac_ext >&5
4267 ac_cv_header_sys_wait_h=no 4275 ac_cv_header_sys_wait_h=no
4268 fi 4276 fi
4269 rm -f conftest.$ac_objext conftest.$ac_ext 4277 rm -f conftest.$ac_objext conftest.$ac_ext
4270 fi 4278 fi
4271 echo "$as_me:4271: result: $ac_cv_header_sys_wait_h" >&5 4279 echo "$as_me:4279: result: $ac_cv_header_sys_wait_h" >&5
4272 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6 4280 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
4273 if test $ac_cv_header_sys_wait_h = yes; then 4281 if test $ac_cv_header_sys_wait_h = yes; then
4274 4282
4275 cat >>confdefs.h <<\EOF 4283 cat >>confdefs.h <<\EOF
4276 #define HAVE_SYS_WAIT_H 1 4284 #define HAVE_SYS_WAIT_H 1
4277 EOF 4285 EOF
4278 4286
4279 fi 4287 fi
4280 4288
4281 echo "$as_me:4281: checking for struct utimbuf" >&5 4289 echo "$as_me:4289: checking for struct utimbuf" >&5
4282 echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6 4290 echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6
4283 if test "${emacs_cv_struct_utimbuf+set}" = set; then 4291 if test "${emacs_cv_struct_utimbuf+set}" = set; then
4284 echo $ECHO_N "(cached) $ECHO_C" >&6 4292 echo $ECHO_N "(cached) $ECHO_C" >&6
4285 else 4293 else
4286 cat >conftest.$ac_ext <<_ACEOF 4294 cat >conftest.$ac_ext <<_ACEOF
4287 #line 4287 "configure" 4295 #line 4295 "configure"
4288 #include "confdefs.h" 4296 #include "confdefs.h"
4289 #ifdef TIME_WITH_SYS_TIME 4297 #ifdef TIME_WITH_SYS_TIME
4290 #include <sys/time.h> 4298 #include <sys/time.h>
4291 #include <time.h> 4299 #include <time.h>
4292 #else 4300 #else
4306 ; 4314 ;
4307 return 0; 4315 return 0;
4308 } 4316 }
4309 _ACEOF 4317 _ACEOF
4310 rm -f conftest.$ac_objext 4318 rm -f conftest.$ac_objext
4311 if { (eval echo "$as_me:4311: \"$ac_compile\"") >&5 4319 if { (eval echo "$as_me:4319: \"$ac_compile\"") >&5
4312 (eval $ac_compile) 2>&5 4320 (eval $ac_compile) 2>&5
4313 ac_status=$? 4321 ac_status=$?
4314 echo "$as_me:4314: \$? = $ac_status" >&5 4322 echo "$as_me:4322: \$? = $ac_status" >&5
4315 (exit $ac_status); } && 4323 (exit $ac_status); } &&
4316 { ac_try='test -s conftest.$ac_objext' 4324 { ac_try='test -s conftest.$ac_objext'
4317 { (eval echo "$as_me:4317: \"$ac_try\"") >&5 4325 { (eval echo "$as_me:4325: \"$ac_try\"") >&5
4318 (eval $ac_try) 2>&5 4326 (eval $ac_try) 2>&5
4319 ac_status=$? 4327 ac_status=$?
4320 echo "$as_me:4320: \$? = $ac_status" >&5 4328 echo "$as_me:4328: \$? = $ac_status" >&5
4321 (exit $ac_status); }; }; then 4329 (exit $ac_status); }; }; then
4322 emacs_cv_struct_utimbuf=yes 4330 emacs_cv_struct_utimbuf=yes
4323 else 4331 else
4324 echo "$as_me: failed program was:" >&5 4332 echo "$as_me: failed program was:" >&5
4325 cat conftest.$ac_ext >&5 4333 cat conftest.$ac_ext >&5
4326 emacs_cv_struct_utimbuf=no 4334 emacs_cv_struct_utimbuf=no
4327 fi 4335 fi
4328 rm -f conftest.$ac_objext conftest.$ac_ext 4336 rm -f conftest.$ac_objext conftest.$ac_ext
4329 fi 4337 fi
4330 echo "$as_me:4330: result: $emacs_cv_struct_utimbuf" >&5 4338 echo "$as_me:4338: result: $emacs_cv_struct_utimbuf" >&5
4331 echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6 4339 echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6
4332 if test $emacs_cv_struct_utimbuf = yes; then 4340 if test $emacs_cv_struct_utimbuf = yes; then
4333 cat >>confdefs.h <<\EOF 4341 cat >>confdefs.h <<\EOF
4334 #define HAVE_STRUCT_UTIMBUF 1 4342 #define HAVE_STRUCT_UTIMBUF 1
4335 EOF 4343 EOF
4336 4344
4337 fi 4345 fi
4338 4346
4339 echo "$as_me:4339: checking return type of signal handlers" >&5 4347 echo "$as_me:4347: checking return type of signal handlers" >&5
4340 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 4348 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
4341 if test "${ac_cv_type_signal+set}" = set; then 4349 if test "${ac_cv_type_signal+set}" = set; then
4342 echo $ECHO_N "(cached) $ECHO_C" >&6 4350 echo $ECHO_N "(cached) $ECHO_C" >&6
4343 else 4351 else
4344 cat >conftest.$ac_ext <<_ACEOF 4352 cat >conftest.$ac_ext <<_ACEOF
4345 #line 4345 "configure" 4353 #line 4353 "configure"
4346 #include "confdefs.h" 4354 #include "confdefs.h"
4347 #include <sys/types.h> 4355 #include <sys/types.h>
4348 #include <signal.h> 4356 #include <signal.h>
4349 #ifdef signal 4357 #ifdef signal
4350 # undef signal 4358 # undef signal
4362 ; 4370 ;
4363 return 0; 4371 return 0;
4364 } 4372 }
4365 _ACEOF 4373 _ACEOF
4366 rm -f conftest.$ac_objext 4374 rm -f conftest.$ac_objext
4367 if { (eval echo "$as_me:4367: \"$ac_compile\"") >&5 4375 if { (eval echo "$as_me:4375: \"$ac_compile\"") >&5
4368 (eval $ac_compile) 2>&5 4376 (eval $ac_compile) 2>&5
4369 ac_status=$? 4377 ac_status=$?
4370 echo "$as_me:4370: \$? = $ac_status" >&5 4378 echo "$as_me:4378: \$? = $ac_status" >&5
4371 (exit $ac_status); } && 4379 (exit $ac_status); } &&
4372 { ac_try='test -s conftest.$ac_objext' 4380 { ac_try='test -s conftest.$ac_objext'
4373 { (eval echo "$as_me:4373: \"$ac_try\"") >&5 4381 { (eval echo "$as_me:4381: \"$ac_try\"") >&5
4374 (eval $ac_try) 2>&5 4382 (eval $ac_try) 2>&5
4375 ac_status=$? 4383 ac_status=$?
4376 echo "$as_me:4376: \$? = $ac_status" >&5 4384 echo "$as_me:4384: \$? = $ac_status" >&5
4377 (exit $ac_status); }; }; then 4385 (exit $ac_status); }; }; then
4378 ac_cv_type_signal=void 4386 ac_cv_type_signal=void
4379 else 4387 else
4380 echo "$as_me: failed program was:" >&5 4388 echo "$as_me: failed program was:" >&5
4381 cat conftest.$ac_ext >&5 4389 cat conftest.$ac_ext >&5
4382 ac_cv_type_signal=int 4390 ac_cv_type_signal=int
4383 fi 4391 fi
4384 rm -f conftest.$ac_objext conftest.$ac_ext 4392 rm -f conftest.$ac_objext conftest.$ac_ext
4385 fi 4393 fi
4386 echo "$as_me:4386: result: $ac_cv_type_signal" >&5 4394 echo "$as_me:4394: result: $ac_cv_type_signal" >&5
4387 echo "${ECHO_T}$ac_cv_type_signal" >&6 4395 echo "${ECHO_T}$ac_cv_type_signal" >&6
4388 4396
4389 cat >>confdefs.h <<EOF 4397 cat >>confdefs.h <<EOF
4390 #define RETSIGTYPE $ac_cv_type_signal 4398 #define RETSIGTYPE $ac_cv_type_signal
4391 EOF 4399 EOF
4392 4400
4393 echo "$as_me:4393: checking for speed_t" >&5 4401 echo "$as_me:4401: checking for speed_t" >&5
4394 echo $ECHO_N "checking for speed_t... $ECHO_C" >&6 4402 echo $ECHO_N "checking for speed_t... $ECHO_C" >&6
4395 if test "${emacs_cv_speed_t+set}" = set; then 4403 if test "${emacs_cv_speed_t+set}" = set; then
4396 echo $ECHO_N "(cached) $ECHO_C" >&6 4404 echo $ECHO_N "(cached) $ECHO_C" >&6
4397 else 4405 else
4398 cat >conftest.$ac_ext <<_ACEOF 4406 cat >conftest.$ac_ext <<_ACEOF
4399 #line 4399 "configure" 4407 #line 4407 "configure"
4400 #include "confdefs.h" 4408 #include "confdefs.h"
4401 #include <termios.h> 4409 #include <termios.h>
4402 int 4410 int
4403 main () 4411 main ()
4404 { 4412 {
4406 ; 4414 ;
4407 return 0; 4415 return 0;
4408 } 4416 }
4409 _ACEOF 4417 _ACEOF
4410 rm -f conftest.$ac_objext 4418 rm -f conftest.$ac_objext
4411 if { (eval echo "$as_me:4411: \"$ac_compile\"") >&5 4419 if { (eval echo "$as_me:4419: \"$ac_compile\"") >&5
4412 (eval $ac_compile) 2>&5 4420 (eval $ac_compile) 2>&5
4413 ac_status=$? 4421 ac_status=$?
4414 echo "$as_me:4414: \$? = $ac_status" >&5 4422 echo "$as_me:4422: \$? = $ac_status" >&5
4415 (exit $ac_status); } && 4423 (exit $ac_status); } &&
4416 { ac_try='test -s conftest.$ac_objext' 4424 { ac_try='test -s conftest.$ac_objext'
4417 { (eval echo "$as_me:4417: \"$ac_try\"") >&5 4425 { (eval echo "$as_me:4425: \"$ac_try\"") >&5
4418 (eval $ac_try) 2>&5 4426 (eval $ac_try) 2>&5
4419 ac_status=$? 4427 ac_status=$?
4420 echo "$as_me:4420: \$? = $ac_status" >&5 4428 echo "$as_me:4428: \$? = $ac_status" >&5
4421 (exit $ac_status); }; }; then 4429 (exit $ac_status); }; }; then
4422 emacs_cv_speed_t=yes 4430 emacs_cv_speed_t=yes
4423 else 4431 else
4424 echo "$as_me: failed program was:" >&5 4432 echo "$as_me: failed program was:" >&5
4425 cat conftest.$ac_ext >&5 4433 cat conftest.$ac_ext >&5
4426 emacs_cv_speed_t=no 4434 emacs_cv_speed_t=no
4427 fi 4435 fi
4428 rm -f conftest.$ac_objext conftest.$ac_ext 4436 rm -f conftest.$ac_objext conftest.$ac_ext
4429 fi 4437 fi
4430 echo "$as_me:4430: result: $emacs_cv_speed_t" >&5 4438 echo "$as_me:4438: result: $emacs_cv_speed_t" >&5
4431 echo "${ECHO_T}$emacs_cv_speed_t" >&6 4439 echo "${ECHO_T}$emacs_cv_speed_t" >&6
4432 if test $emacs_cv_speed_t = yes; then 4440 if test $emacs_cv_speed_t = yes; then
4433 cat >>confdefs.h <<\EOF 4441 cat >>confdefs.h <<\EOF
4434 #define HAVE_SPEED_T 1 4442 #define HAVE_SPEED_T 1
4435 EOF 4443 EOF
4436 4444
4437 fi 4445 fi
4438 4446
4439 echo "$as_me:4439: checking for struct timeval" >&5 4447 echo "$as_me:4447: checking for struct timeval" >&5
4440 echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6 4448 echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6
4441 if test "${emacs_cv_struct_timeval+set}" = set; then 4449 if test "${emacs_cv_struct_timeval+set}" = set; then
4442 echo $ECHO_N "(cached) $ECHO_C" >&6 4450 echo $ECHO_N "(cached) $ECHO_C" >&6
4443 else 4451 else
4444 cat >conftest.$ac_ext <<_ACEOF 4452 cat >conftest.$ac_ext <<_ACEOF
4445 #line 4445 "configure" 4453 #line 4453 "configure"
4446 #include "confdefs.h" 4454 #include "confdefs.h"
4447 #ifdef TIME_WITH_SYS_TIME 4455 #ifdef TIME_WITH_SYS_TIME
4448 #include <sys/time.h> 4456 #include <sys/time.h>
4449 #include <time.h> 4457 #include <time.h>
4450 #else 4458 #else
4461 ; 4469 ;
4462 return 0; 4470 return 0;
4463 } 4471 }
4464 _ACEOF 4472 _ACEOF
4465 rm -f conftest.$ac_objext 4473 rm -f conftest.$ac_objext
4466 if { (eval echo "$as_me:4466: \"$ac_compile\"") >&5 4474 if { (eval echo "$as_me:4474: \"$ac_compile\"") >&5
4467 (eval $ac_compile) 2>&5 4475 (eval $ac_compile) 2>&5
4468 ac_status=$? 4476 ac_status=$?
4469 echo "$as_me:4469: \$? = $ac_status" >&5 4477 echo "$as_me:4477: \$? = $ac_status" >&5
4470 (exit $ac_status); } && 4478 (exit $ac_status); } &&
4471 { ac_try='test -s conftest.$ac_objext' 4479 { ac_try='test -s conftest.$ac_objext'
4472 { (eval echo "$as_me:4472: \"$ac_try\"") >&5 4480 { (eval echo "$as_me:4480: \"$ac_try\"") >&5
4473 (eval $ac_try) 2>&5 4481 (eval $ac_try) 2>&5
4474 ac_status=$? 4482 ac_status=$?
4475 echo "$as_me:4475: \$? = $ac_status" >&5 4483 echo "$as_me:4483: \$? = $ac_status" >&5
4476 (exit $ac_status); }; }; then 4484 (exit $ac_status); }; }; then
4477 emacs_cv_struct_timeval=yes 4485 emacs_cv_struct_timeval=yes
4478 else 4486 else
4479 echo "$as_me: failed program was:" >&5 4487 echo "$as_me: failed program was:" >&5
4480 cat conftest.$ac_ext >&5 4488 cat conftest.$ac_ext >&5
4481 emacs_cv_struct_timeval=no 4489 emacs_cv_struct_timeval=no
4482 fi 4490 fi
4483 rm -f conftest.$ac_objext conftest.$ac_ext 4491 rm -f conftest.$ac_objext conftest.$ac_ext
4484 fi 4492 fi
4485 echo "$as_me:4485: result: $emacs_cv_struct_timeval" >&5 4493 echo "$as_me:4493: result: $emacs_cv_struct_timeval" >&5
4486 echo "${ECHO_T}$emacs_cv_struct_timeval" >&6 4494 echo "${ECHO_T}$emacs_cv_struct_timeval" >&6
4487 HAVE_TIMEVAL=$emacs_cv_struct_timeval 4495 HAVE_TIMEVAL=$emacs_cv_struct_timeval
4488 if test $emacs_cv_struct_timeval = yes; then 4496 if test $emacs_cv_struct_timeval = yes; then
4489 cat >>confdefs.h <<\EOF 4497 cat >>confdefs.h <<\EOF
4490 #define HAVE_TIMEVAL 1 4498 #define HAVE_TIMEVAL 1
4491 EOF 4499 EOF
4492 4500
4493 fi 4501 fi
4494 4502
4495 echo "$as_me:4495: checking for struct exception" >&5 4503 echo "$as_me:4503: checking for struct exception" >&5
4496 echo $ECHO_N "checking for struct exception... $ECHO_C" >&6 4504 echo $ECHO_N "checking for struct exception... $ECHO_C" >&6
4497 if test "${emacs_cv_struct_exception+set}" = set; then 4505 if test "${emacs_cv_struct_exception+set}" = set; then
4498 echo $ECHO_N "(cached) $ECHO_C" >&6 4506 echo $ECHO_N "(cached) $ECHO_C" >&6
4499 else 4507 else
4500 cat >conftest.$ac_ext <<_ACEOF 4508 cat >conftest.$ac_ext <<_ACEOF
4501 #line 4501 "configure" 4509 #line 4509 "configure"
4502 #include "confdefs.h" 4510 #include "confdefs.h"
4503 #include <math.h> 4511 #include <math.h>
4504 int 4512 int
4505 main () 4513 main ()
4506 { 4514 {
4508 ; 4516 ;
4509 return 0; 4517 return 0;
4510 } 4518 }
4511 _ACEOF 4519 _ACEOF
4512 rm -f conftest.$ac_objext 4520 rm -f conftest.$ac_objext
4513 if { (eval echo "$as_me:4513: \"$ac_compile\"") >&5 4521 if { (eval echo "$as_me:4521: \"$ac_compile\"") >&5
4514 (eval $ac_compile) 2>&5 4522 (eval $ac_compile) 2>&5
4515 ac_status=$? 4523 ac_status=$?
4516 echo "$as_me:4516: \$? = $ac_status" >&5 4524 echo "$as_me:4524: \$? = $ac_status" >&5
4517 (exit $ac_status); } && 4525 (exit $ac_status); } &&
4518 { ac_try='test -s conftest.$ac_objext' 4526 { ac_try='test -s conftest.$ac_objext'
4519 { (eval echo "$as_me:4519: \"$ac_try\"") >&5 4527 { (eval echo "$as_me:4527: \"$ac_try\"") >&5
4520 (eval $ac_try) 2>&5 4528 (eval $ac_try) 2>&5
4521 ac_status=$? 4529 ac_status=$?
4522 echo "$as_me:4522: \$? = $ac_status" >&5 4530 echo "$as_me:4530: \$? = $ac_status" >&5
4523 (exit $ac_status); }; }; then 4531 (exit $ac_status); }; }; then
4524 emacs_cv_struct_exception=yes 4532 emacs_cv_struct_exception=yes
4525 else 4533 else
4526 echo "$as_me: failed program was:" >&5 4534 echo "$as_me: failed program was:" >&5
4527 cat conftest.$ac_ext >&5 4535 cat conftest.$ac_ext >&5
4528 emacs_cv_struct_exception=no 4536 emacs_cv_struct_exception=no
4529 fi 4537 fi
4530 rm -f conftest.$ac_objext conftest.$ac_ext 4538 rm -f conftest.$ac_objext conftest.$ac_ext
4531 fi 4539 fi
4532 echo "$as_me:4532: result: $emacs_cv_struct_exception" >&5 4540 echo "$as_me:4540: result: $emacs_cv_struct_exception" >&5
4533 echo "${ECHO_T}$emacs_cv_struct_exception" >&6 4541 echo "${ECHO_T}$emacs_cv_struct_exception" >&6
4534 HAVE_EXCEPTION=$emacs_cv_struct_exception 4542 HAVE_EXCEPTION=$emacs_cv_struct_exception
4535 if test $emacs_cv_struct_exception != yes; then 4543 if test $emacs_cv_struct_exception != yes; then
4536 cat >>confdefs.h <<\EOF 4544 cat >>confdefs.h <<\EOF
4537 #define NO_MATHERR 1 4545 #define NO_MATHERR 1
4538 EOF 4546 EOF
4539 4547
4540 fi 4548 fi
4541 4549
4542 echo "$as_me:4542: checking whether struct tm is in sys/time.h or time.h" >&5 4550 echo "$as_me:4550: checking whether struct tm is in sys/time.h or time.h" >&5
4543 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 4551 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
4544 if test "${ac_cv_struct_tm+set}" = set; then 4552 if test "${ac_cv_struct_tm+set}" = set; then
4545 echo $ECHO_N "(cached) $ECHO_C" >&6 4553 echo $ECHO_N "(cached) $ECHO_C" >&6
4546 else 4554 else
4547 cat >conftest.$ac_ext <<_ACEOF 4555 cat >conftest.$ac_ext <<_ACEOF
4548 #line 4548 "configure" 4556 #line 4556 "configure"
4549 #include "confdefs.h" 4557 #include "confdefs.h"
4550 #include <sys/types.h> 4558 #include <sys/types.h>
4551 #include <time.h> 4559 #include <time.h>
4552 4560
4553 int 4561 int
4557 ; 4565 ;
4558 return 0; 4566 return 0;
4559 } 4567 }
4560 _ACEOF 4568 _ACEOF
4561 rm -f conftest.$ac_objext 4569 rm -f conftest.$ac_objext
4562 if { (eval echo "$as_me:4562: \"$ac_compile\"") >&5 4570 if { (eval echo "$as_me:4570: \"$ac_compile\"") >&5
4563 (eval $ac_compile) 2>&5 4571 (eval $ac_compile) 2>&5
4564 ac_status=$? 4572 ac_status=$?
4565 echo "$as_me:4565: \$? = $ac_status" >&5 4573 echo "$as_me:4573: \$? = $ac_status" >&5
4566 (exit $ac_status); } && 4574 (exit $ac_status); } &&
4567 { ac_try='test -s conftest.$ac_objext' 4575 { ac_try='test -s conftest.$ac_objext'
4568 { (eval echo "$as_me:4568: \"$ac_try\"") >&5 4576 { (eval echo "$as_me:4576: \"$ac_try\"") >&5
4569 (eval $ac_try) 2>&5 4577 (eval $ac_try) 2>&5
4570 ac_status=$? 4578 ac_status=$?
4571 echo "$as_me:4571: \$? = $ac_status" >&5 4579 echo "$as_me:4579: \$? = $ac_status" >&5
4572 (exit $ac_status); }; }; then 4580 (exit $ac_status); }; }; then
4573 ac_cv_struct_tm=time.h 4581 ac_cv_struct_tm=time.h
4574 else 4582 else
4575 echo "$as_me: failed program was:" >&5 4583 echo "$as_me: failed program was:" >&5
4576 cat conftest.$ac_ext >&5 4584 cat conftest.$ac_ext >&5
4577 ac_cv_struct_tm=sys/time.h 4585 ac_cv_struct_tm=sys/time.h
4578 fi 4586 fi
4579 rm -f conftest.$ac_objext conftest.$ac_ext 4587 rm -f conftest.$ac_objext conftest.$ac_ext
4580 fi 4588 fi
4581 echo "$as_me:4581: result: $ac_cv_struct_tm" >&5 4589 echo "$as_me:4589: result: $ac_cv_struct_tm" >&5
4582 echo "${ECHO_T}$ac_cv_struct_tm" >&6 4590 echo "${ECHO_T}$ac_cv_struct_tm" >&6
4583 if test $ac_cv_struct_tm = sys/time.h; then 4591 if test $ac_cv_struct_tm = sys/time.h; then
4584 4592
4585 cat >>confdefs.h <<\EOF 4593 cat >>confdefs.h <<\EOF
4586 #define TM_IN_SYS_TIME 1 4594 #define TM_IN_SYS_TIME 1
4587 EOF 4595 EOF
4588 4596
4589 fi 4597 fi
4590 4598
4591 echo "$as_me:4591: checking for struct tm.tm_zone" >&5 4599 echo "$as_me:4599: checking for struct tm.tm_zone" >&5
4592 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6 4600 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
4593 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then 4601 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
4594 echo $ECHO_N "(cached) $ECHO_C" >&6 4602 echo $ECHO_N "(cached) $ECHO_C" >&6
4595 else 4603 else
4596 cat >conftest.$ac_ext <<_ACEOF 4604 cat >conftest.$ac_ext <<_ACEOF
4597 #line 4597 "configure" 4605 #line 4605 "configure"
4598 #include "confdefs.h" 4606 #include "confdefs.h"
4599 #include <sys/types.h> 4607 #include <sys/types.h>
4600 #include <$ac_cv_struct_tm> 4608 #include <$ac_cv_struct_tm>
4601 4609
4602 int 4610 int
4608 ; 4616 ;
4609 return 0; 4617 return 0;
4610 } 4618 }
4611 _ACEOF 4619 _ACEOF
4612 rm -f conftest.$ac_objext 4620 rm -f conftest.$ac_objext
4613 if { (eval echo "$as_me:4613: \"$ac_compile\"") >&5 4621 if { (eval echo "$as_me:4621: \"$ac_compile\"") >&5
4614 (eval $ac_compile) 2>&5 4622 (eval $ac_compile) 2>&5
4615 ac_status=$? 4623 ac_status=$?
4616 echo "$as_me:4616: \$? = $ac_status" >&5 4624 echo "$as_me:4624: \$? = $ac_status" >&5
4617 (exit $ac_status); } && 4625 (exit $ac_status); } &&
4618 { ac_try='test -s conftest.$ac_objext' 4626 { ac_try='test -s conftest.$ac_objext'
4619 { (eval echo "$as_me:4619: \"$ac_try\"") >&5 4627 { (eval echo "$as_me:4627: \"$ac_try\"") >&5
4620 (eval $ac_try) 2>&5 4628 (eval $ac_try) 2>&5
4621 ac_status=$? 4629 ac_status=$?
4622 echo "$as_me:4622: \$? = $ac_status" >&5 4630 echo "$as_me:4630: \$? = $ac_status" >&5
4623 (exit $ac_status); }; }; then 4631 (exit $ac_status); }; }; then
4624 ac_cv_member_struct_tm_tm_zone=yes 4632 ac_cv_member_struct_tm_tm_zone=yes
4625 else 4633 else
4626 echo "$as_me: failed program was:" >&5 4634 echo "$as_me: failed program was:" >&5
4627 cat conftest.$ac_ext >&5 4635 cat conftest.$ac_ext >&5
4628 ac_cv_member_struct_tm_tm_zone=no 4636 ac_cv_member_struct_tm_tm_zone=no
4629 fi 4637 fi
4630 rm -f conftest.$ac_objext conftest.$ac_ext 4638 rm -f conftest.$ac_objext conftest.$ac_ext
4631 fi 4639 fi
4632 echo "$as_me:4632: result: $ac_cv_member_struct_tm_tm_zone" >&5 4640 echo "$as_me:4640: result: $ac_cv_member_struct_tm_tm_zone" >&5
4633 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6 4641 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
4634 if test $ac_cv_member_struct_tm_tm_zone = yes; then 4642 if test $ac_cv_member_struct_tm_tm_zone = yes; then
4635 4643
4636 cat >>confdefs.h <<EOF 4644 cat >>confdefs.h <<EOF
4637 #define HAVE_STRUCT_TM_TM_ZONE 1 4645 #define HAVE_STRUCT_TM_TM_ZONE 1
4644 cat >>confdefs.h <<\EOF 4652 cat >>confdefs.h <<\EOF
4645 #define HAVE_TM_ZONE 1 4653 #define HAVE_TM_ZONE 1
4646 EOF 4654 EOF
4647 4655
4648 else 4656 else
4649 echo "$as_me:4649: checking for tzname" >&5 4657 echo "$as_me:4657: checking for tzname" >&5
4650 echo $ECHO_N "checking for tzname... $ECHO_C" >&6 4658 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
4651 if test "${ac_cv_var_tzname+set}" = set; then 4659 if test "${ac_cv_var_tzname+set}" = set; then
4652 echo $ECHO_N "(cached) $ECHO_C" >&6 4660 echo $ECHO_N "(cached) $ECHO_C" >&6
4653 else 4661 else
4654 cat >conftest.$ac_ext <<_ACEOF 4662 cat >conftest.$ac_ext <<_ACEOF
4655 #line 4655 "configure" 4663 #line 4663 "configure"
4656 #include "confdefs.h" 4664 #include "confdefs.h"
4657 #include <time.h> 4665 #include <time.h>
4658 #ifndef tzname /* For SGI. */ 4666 #ifndef tzname /* For SGI. */
4659 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ 4667 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
4660 #endif 4668 #endif
4666 ; 4674 ;
4667 return 0; 4675 return 0;
4668 } 4676 }
4669 _ACEOF 4677 _ACEOF
4670 rm -f conftest.$ac_objext conftest$ac_exeext 4678 rm -f conftest.$ac_objext conftest$ac_exeext
4671 if { (eval echo "$as_me:4671: \"$ac_link\"") >&5 4679 if { (eval echo "$as_me:4679: \"$ac_link\"") >&5
4672 (eval $ac_link) 2>&5 4680 (eval $ac_link) 2>&5
4673 ac_status=$? 4681 ac_status=$?
4674 echo "$as_me:4674: \$? = $ac_status" >&5 4682 echo "$as_me:4682: \$? = $ac_status" >&5
4675 (exit $ac_status); } && 4683 (exit $ac_status); } &&
4676 { ac_try='test -s conftest$ac_exeext' 4684 { ac_try='test -s conftest$ac_exeext'
4677 { (eval echo "$as_me:4677: \"$ac_try\"") >&5 4685 { (eval echo "$as_me:4685: \"$ac_try\"") >&5
4678 (eval $ac_try) 2>&5 4686 (eval $ac_try) 2>&5
4679 ac_status=$? 4687 ac_status=$?
4680 echo "$as_me:4680: \$? = $ac_status" >&5 4688 echo "$as_me:4688: \$? = $ac_status" >&5
4681 (exit $ac_status); }; }; then 4689 (exit $ac_status); }; }; then
4682 ac_cv_var_tzname=yes 4690 ac_cv_var_tzname=yes
4683 else 4691 else
4684 echo "$as_me: failed program was:" >&5 4692 echo "$as_me: failed program was:" >&5
4685 cat conftest.$ac_ext >&5 4693 cat conftest.$ac_ext >&5
4686 ac_cv_var_tzname=no 4694 ac_cv_var_tzname=no
4687 fi 4695 fi
4688 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4696 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4689 fi 4697 fi
4690 echo "$as_me:4690: result: $ac_cv_var_tzname" >&5 4698 echo "$as_me:4698: result: $ac_cv_var_tzname" >&5
4691 echo "${ECHO_T}$ac_cv_var_tzname" >&6 4699 echo "${ECHO_T}$ac_cv_var_tzname" >&6
4692 if test $ac_cv_var_tzname = yes; then 4700 if test $ac_cv_var_tzname = yes; then
4693 4701
4694 cat >>confdefs.h <<\EOF 4702 cat >>confdefs.h <<\EOF
4695 #define HAVE_TZNAME 1 4703 #define HAVE_TZNAME 1
4696 EOF 4704 EOF
4697 4705
4698 fi 4706 fi
4699 fi 4707 fi
4700 4708
4701 echo "$as_me:4701: checking for tm_gmtoff in struct tm" >&5 4709 echo "$as_me:4709: checking for tm_gmtoff in struct tm" >&5
4702 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6 4710 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
4703 if test "${emacs_cv_tm_gmtoff+set}" = set; then 4711 if test "${emacs_cv_tm_gmtoff+set}" = set; then
4704 echo $ECHO_N "(cached) $ECHO_C" >&6 4712 echo $ECHO_N "(cached) $ECHO_C" >&6
4705 else 4713 else
4706 cat >conftest.$ac_ext <<_ACEOF 4714 cat >conftest.$ac_ext <<_ACEOF
4707 #line 4707 "configure" 4715 #line 4715 "configure"
4708 #include "confdefs.h" 4716 #include "confdefs.h"
4709 #include <time.h> 4717 #include <time.h>
4710 int 4718 int
4711 main () 4719 main ()
4712 { 4720 {
4714 ; 4722 ;
4715 return 0; 4723 return 0;
4716 } 4724 }
4717 _ACEOF 4725 _ACEOF
4718 rm -f conftest.$ac_objext conftest$ac_exeext 4726 rm -f conftest.$ac_objext conftest$ac_exeext
4719 if { (eval echo "$as_me:4719: \"$ac_link\"") >&5 4727 if { (eval echo "$as_me:4727: \"$ac_link\"") >&5
4720 (eval $ac_link) 2>&5 4728 (eval $ac_link) 2>&5
4721 ac_status=$? 4729 ac_status=$?
4722 echo "$as_me:4722: \$? = $ac_status" >&5 4730 echo "$as_me:4730: \$? = $ac_status" >&5
4723 (exit $ac_status); } && 4731 (exit $ac_status); } &&
4724 { ac_try='test -s conftest$ac_exeext' 4732 { ac_try='test -s conftest$ac_exeext'
4725 { (eval echo "$as_me:4725: \"$ac_try\"") >&5 4733 { (eval echo "$as_me:4733: \"$ac_try\"") >&5
4726 (eval $ac_try) 2>&5 4734 (eval $ac_try) 2>&5
4727 ac_status=$? 4735 ac_status=$?
4728 echo "$as_me:4728: \$? = $ac_status" >&5 4736 echo "$as_me:4736: \$? = $ac_status" >&5
4729 (exit $ac_status); }; }; then 4737 (exit $ac_status); }; }; then
4730 emacs_cv_tm_gmtoff=yes 4738 emacs_cv_tm_gmtoff=yes
4731 else 4739 else
4732 echo "$as_me: failed program was:" >&5 4740 echo "$as_me: failed program was:" >&5
4733 cat conftest.$ac_ext >&5 4741 cat conftest.$ac_ext >&5
4734 emacs_cv_tm_gmtoff=no 4742 emacs_cv_tm_gmtoff=no
4735 fi 4743 fi
4736 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4744 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4737 fi 4745 fi
4738 echo "$as_me:4738: result: $emacs_cv_tm_gmtoff" >&5 4746 echo "$as_me:4746: result: $emacs_cv_tm_gmtoff" >&5
4739 echo "${ECHO_T}$emacs_cv_tm_gmtoff" >&6 4747 echo "${ECHO_T}$emacs_cv_tm_gmtoff" >&6
4740 if test $emacs_cv_tm_gmtoff = yes; then 4748 if test $emacs_cv_tm_gmtoff = yes; then
4741 cat >>confdefs.h <<\EOF 4749 cat >>confdefs.h <<\EOF
4742 #define HAVE_TM_GMTOFF 1 4750 #define HAVE_TM_GMTOFF 1
4743 EOF 4751 EOF
4744 4752
4745 fi 4753 fi
4746 4754
4747 echo "$as_me:4747: checking for $CC option to accept ANSI C" >&5 4755 echo "$as_me:4755: checking for $CC option to accept ANSI C" >&5
4748 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 4756 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
4749 if test "${ac_cv_prog_cc_stdc+set}" = set; then 4757 if test "${ac_cv_prog_cc_stdc+set}" = set; then
4750 echo $ECHO_N "(cached) $ECHO_C" >&6 4758 echo $ECHO_N "(cached) $ECHO_C" >&6
4751 else 4759 else
4752 ac_cv_prog_cc_stdc=no 4760 ac_cv_prog_cc_stdc=no
4753 ac_save_CC=$CC 4761 ac_save_CC=$CC
4754 cat >conftest.$ac_ext <<_ACEOF 4762 cat >conftest.$ac_ext <<_ACEOF
4755 #line 4755 "configure" 4763 #line 4763 "configure"
4756 #include "confdefs.h" 4764 #include "confdefs.h"
4757 #include <stdarg.h> 4765 #include <stdarg.h>
4758 #include <stdio.h> 4766 #include <stdio.h>
4759 #include <sys/types.h> 4767 #include <sys/types.h>
4760 #include <sys/stat.h> 4768 #include <sys/stat.h>
4799 # SVR4 -Xc -D__EXTENSIONS__ 4807 # SVR4 -Xc -D__EXTENSIONS__
4800 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4808 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4801 do 4809 do
4802 CC="$ac_save_CC $ac_arg" 4810 CC="$ac_save_CC $ac_arg"
4803 rm -f conftest.$ac_objext 4811 rm -f conftest.$ac_objext
4804 if { (eval echo "$as_me:4804: \"$ac_compile\"") >&5 4812 if { (eval echo "$as_me:4812: \"$ac_compile\"") >&5
4805 (eval $ac_compile) 2>&5 4813 (eval $ac_compile) 2>&5
4806 ac_status=$? 4814 ac_status=$?
4807 echo "$as_me:4807: \$? = $ac_status" >&5 4815 echo "$as_me:4815: \$? = $ac_status" >&5
4808 (exit $ac_status); } && 4816 (exit $ac_status); } &&
4809 { ac_try='test -s conftest.$ac_objext' 4817 { ac_try='test -s conftest.$ac_objext'
4810 { (eval echo "$as_me:4810: \"$ac_try\"") >&5 4818 { (eval echo "$as_me:4818: \"$ac_try\"") >&5
4811 (eval $ac_try) 2>&5 4819 (eval $ac_try) 2>&5
4812 ac_status=$? 4820 ac_status=$?
4813 echo "$as_me:4813: \$? = $ac_status" >&5 4821 echo "$as_me:4821: \$? = $ac_status" >&5
4814 (exit $ac_status); }; }; then 4822 (exit $ac_status); }; }; then
4815 ac_cv_prog_cc_stdc=$ac_arg 4823 ac_cv_prog_cc_stdc=$ac_arg
4816 break 4824 break
4817 else 4825 else
4818 echo "$as_me: failed program was:" >&5 4826 echo "$as_me: failed program was:" >&5
4825 4833
4826 fi 4834 fi
4827 4835
4828 case "x$ac_cv_prog_cc_stdc" in 4836 case "x$ac_cv_prog_cc_stdc" in
4829 x|xno) 4837 x|xno)
4830 echo "$as_me:4830: result: none needed" >&5 4838 echo "$as_me:4838: result: none needed" >&5
4831 echo "${ECHO_T}none needed" >&6 ;; 4839 echo "${ECHO_T}none needed" >&6 ;;
4832 *) 4840 *)
4833 echo "$as_me:4833: result: $ac_cv_prog_cc_stdc" >&5 4841 echo "$as_me:4841: result: $ac_cv_prog_cc_stdc" >&5
4834 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 4842 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4835 CC="$CC $ac_cv_prog_cc_stdc" ;; 4843 CC="$CC $ac_cv_prog_cc_stdc" ;;
4836 esac 4844 esac
4837 4845
4838 echo "$as_me:4838: checking for function prototypes" >&5 4846 echo "$as_me:4846: checking for function prototypes" >&5
4839 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6 4847 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
4840 if test "$ac_cv_prog_cc_stdc" != no; then 4848 if test "$ac_cv_prog_cc_stdc" != no; then
4841 echo "$as_me:4841: result: yes" >&5 4849 echo "$as_me:4849: result: yes" >&5
4842 echo "${ECHO_T}yes" >&6 4850 echo "${ECHO_T}yes" >&6
4843 4851
4844 cat >>confdefs.h <<\EOF 4852 cat >>confdefs.h <<\EOF
4845 #define PROTOTYPES 1 4853 #define PROTOTYPES 1
4846 EOF 4854 EOF
4847 4855
4848 else 4856 else
4849 echo "$as_me:4849: result: no" >&5 4857 echo "$as_me:4857: result: no" >&5
4850 echo "${ECHO_T}no" >&6 4858 echo "${ECHO_T}no" >&6
4851 fi 4859 fi
4852 4860
4853 echo "$as_me:4853: checking for working volatile" >&5 4861 echo "$as_me:4861: checking for working volatile" >&5
4854 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6 4862 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
4855 if test "${ac_cv_c_volatile+set}" = set; then 4863 if test "${ac_cv_c_volatile+set}" = set; then
4856 echo $ECHO_N "(cached) $ECHO_C" >&6 4864 echo $ECHO_N "(cached) $ECHO_C" >&6
4857 else 4865 else
4858 cat >conftest.$ac_ext <<_ACEOF 4866 cat >conftest.$ac_ext <<_ACEOF
4859 #line 4859 "configure" 4867 #line 4867 "configure"
4860 #include "confdefs.h" 4868 #include "confdefs.h"
4861 4869
4862 int 4870 int
4863 main () 4871 main ()
4864 { 4872 {
4868 ; 4876 ;
4869 return 0; 4877 return 0;
4870 } 4878 }
4871 _ACEOF 4879 _ACEOF
4872 rm -f conftest.$ac_objext 4880 rm -f conftest.$ac_objext
4873 if { (eval echo "$as_me:4873: \"$ac_compile\"") >&5 4881 if { (eval echo "$as_me:4881: \"$ac_compile\"") >&5
4874 (eval $ac_compile) 2>&5 4882 (eval $ac_compile) 2>&5
4875 ac_status=$? 4883 ac_status=$?
4876 echo "$as_me:4876: \$? = $ac_status" >&5 4884 echo "$as_me:4884: \$? = $ac_status" >&5
4877 (exit $ac_status); } && 4885 (exit $ac_status); } &&
4878 { ac_try='test -s conftest.$ac_objext' 4886 { ac_try='test -s conftest.$ac_objext'
4879 { (eval echo "$as_me:4879: \"$ac_try\"") >&5 4887 { (eval echo "$as_me:4887: \"$ac_try\"") >&5
4880 (eval $ac_try) 2>&5 4888 (eval $ac_try) 2>&5
4881 ac_status=$? 4889 ac_status=$?
4882 echo "$as_me:4882: \$? = $ac_status" >&5 4890 echo "$as_me:4890: \$? = $ac_status" >&5
4883 (exit $ac_status); }; }; then 4891 (exit $ac_status); }; }; then
4884 ac_cv_c_volatile=yes 4892 ac_cv_c_volatile=yes
4885 else 4893 else
4886 echo "$as_me: failed program was:" >&5 4894 echo "$as_me: failed program was:" >&5
4887 cat conftest.$ac_ext >&5 4895 cat conftest.$ac_ext >&5
4888 ac_cv_c_volatile=no 4896 ac_cv_c_volatile=no
4889 fi 4897 fi
4890 rm -f conftest.$ac_objext conftest.$ac_ext 4898 rm -f conftest.$ac_objext conftest.$ac_ext
4891 fi 4899 fi
4892 echo "$as_me:4892: result: $ac_cv_c_volatile" >&5 4900 echo "$as_me:4900: result: $ac_cv_c_volatile" >&5
4893 echo "${ECHO_T}$ac_cv_c_volatile" >&6 4901 echo "${ECHO_T}$ac_cv_c_volatile" >&6
4894 if test $ac_cv_c_volatile = no; then 4902 if test $ac_cv_c_volatile = no; then
4895 4903
4896 cat >>confdefs.h <<\EOF 4904 cat >>confdefs.h <<\EOF
4897 #define volatile 4905 #define volatile
4898 EOF 4906 EOF
4899 4907
4900 fi 4908 fi
4901 4909
4902 echo "$as_me:4902: checking for an ANSI C-conforming const" >&5 4910 echo "$as_me:4910: checking for an ANSI C-conforming const" >&5
4903 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 4911 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4904 if test "${ac_cv_c_const+set}" = set; then 4912 if test "${ac_cv_c_const+set}" = set; then
4905 echo $ECHO_N "(cached) $ECHO_C" >&6 4913 echo $ECHO_N "(cached) $ECHO_C" >&6
4906 else 4914 else
4907 cat >conftest.$ac_ext <<_ACEOF 4915 cat >conftest.$ac_ext <<_ACEOF
4908 #line 4908 "configure" 4916 #line 4916 "configure"
4909 #include "confdefs.h" 4917 #include "confdefs.h"
4910 4918
4911 int 4919 int
4912 main () 4920 main ()
4913 { 4921 {
4961 ; 4969 ;
4962 return 0; 4970 return 0;
4963 } 4971 }
4964 _ACEOF 4972 _ACEOF
4965 rm -f conftest.$ac_objext 4973 rm -f conftest.$ac_objext
4966 if { (eval echo "$as_me:4966: \"$ac_compile\"") >&5 4974 if { (eval echo "$as_me:4974: \"$ac_compile\"") >&5
4967 (eval $ac_compile) 2>&5 4975 (eval $ac_compile) 2>&5
4968 ac_status=$? 4976 ac_status=$?
4969 echo "$as_me:4969: \$? = $ac_status" >&5 4977 echo "$as_me:4977: \$? = $ac_status" >&5
4970 (exit $ac_status); } && 4978 (exit $ac_status); } &&
4971 { ac_try='test -s conftest.$ac_objext' 4979 { ac_try='test -s conftest.$ac_objext'
4972 { (eval echo "$as_me:4972: \"$ac_try\"") >&5 4980 { (eval echo "$as_me:4980: \"$ac_try\"") >&5
4973 (eval $ac_try) 2>&5 4981 (eval $ac_try) 2>&5
4974 ac_status=$? 4982 ac_status=$?
4975 echo "$as_me:4975: \$? = $ac_status" >&5 4983 echo "$as_me:4983: \$? = $ac_status" >&5
4976 (exit $ac_status); }; }; then 4984 (exit $ac_status); }; }; then
4977 ac_cv_c_const=yes 4985 ac_cv_c_const=yes
4978 else 4986 else
4979 echo "$as_me: failed program was:" >&5 4987 echo "$as_me: failed program was:" >&5
4980 cat conftest.$ac_ext >&5 4988 cat conftest.$ac_ext >&5
4981 ac_cv_c_const=no 4989 ac_cv_c_const=no
4982 fi 4990 fi
4983 rm -f conftest.$ac_objext conftest.$ac_ext 4991 rm -f conftest.$ac_objext conftest.$ac_ext
4984 fi 4992 fi
4985 echo "$as_me:4985: result: $ac_cv_c_const" >&5 4993 echo "$as_me:4993: result: $ac_cv_c_const" >&5
4986 echo "${ECHO_T}$ac_cv_c_const" >&6 4994 echo "${ECHO_T}$ac_cv_c_const" >&6
4987 if test $ac_cv_c_const = no; then 4995 if test $ac_cv_c_const = no; then
4988 4996
4989 cat >>confdefs.h <<\EOF 4997 cat >>confdefs.h <<\EOF
4990 #define const 4998 #define const
4991 EOF 4999 EOF
4992 5000
4993 fi 5001 fi
4994 5002
4995 echo "$as_me:4995: checking for void * support" >&5 5003 echo "$as_me:5003: checking for void * support" >&5
4996 echo $ECHO_N "checking for void * support... $ECHO_C" >&6 5004 echo $ECHO_N "checking for void * support... $ECHO_C" >&6
4997 if test "${emacs_cv_void_star+set}" = set; then 5005 if test "${emacs_cv_void_star+set}" = set; then
4998 echo $ECHO_N "(cached) $ECHO_C" >&6 5006 echo $ECHO_N "(cached) $ECHO_C" >&6
4999 else 5007 else
5000 cat >conftest.$ac_ext <<_ACEOF 5008 cat >conftest.$ac_ext <<_ACEOF
5001 #line 5001 "configure" 5009 #line 5009 "configure"
5002 #include "confdefs.h" 5010 #include "confdefs.h"
5003 5011
5004 int 5012 int
5005 main () 5013 main ()
5006 { 5014 {
5008 ; 5016 ;
5009 return 0; 5017 return 0;
5010 } 5018 }
5011 _ACEOF 5019 _ACEOF
5012 rm -f conftest.$ac_objext 5020 rm -f conftest.$ac_objext
5013 if { (eval echo "$as_me:5013: \"$ac_compile\"") >&5 5021 if { (eval echo "$as_me:5021: \"$ac_compile\"") >&5
5014 (eval $ac_compile) 2>&5 5022 (eval $ac_compile) 2>&5
5015 ac_status=$? 5023 ac_status=$?
5016 echo "$as_me:5016: \$? = $ac_status" >&5 5024 echo "$as_me:5024: \$? = $ac_status" >&5
5017 (exit $ac_status); } && 5025 (exit $ac_status); } &&
5018 { ac_try='test -s conftest.$ac_objext' 5026 { ac_try='test -s conftest.$ac_objext'
5019 { (eval echo "$as_me:5019: \"$ac_try\"") >&5 5027 { (eval echo "$as_me:5027: \"$ac_try\"") >&5
5020 (eval $ac_try) 2>&5 5028 (eval $ac_try) 2>&5
5021 ac_status=$? 5029 ac_status=$?
5022 echo "$as_me:5022: \$? = $ac_status" >&5 5030 echo "$as_me:5030: \$? = $ac_status" >&5
5023 (exit $ac_status); }; }; then 5031 (exit $ac_status); }; }; then
5024 emacs_cv_void_star=yes 5032 emacs_cv_void_star=yes
5025 else 5033 else
5026 echo "$as_me: failed program was:" >&5 5034 echo "$as_me: failed program was:" >&5
5027 cat conftest.$ac_ext >&5 5035 cat conftest.$ac_ext >&5
5028 emacs_cv_void_star=no 5036 emacs_cv_void_star=no
5029 fi 5037 fi
5030 rm -f conftest.$ac_objext conftest.$ac_ext 5038 rm -f conftest.$ac_objext conftest.$ac_ext
5031 fi 5039 fi
5032 echo "$as_me:5032: result: $emacs_cv_void_star" >&5 5040 echo "$as_me:5040: result: $emacs_cv_void_star" >&5
5033 echo "${ECHO_T}$emacs_cv_void_star" >&6 5041 echo "${ECHO_T}$emacs_cv_void_star" >&6
5034 if test $emacs_cv_void_star = yes; then 5042 if test $emacs_cv_void_star = yes; then
5035 cat >>confdefs.h <<\EOF 5043 cat >>confdefs.h <<\EOF
5036 #define POINTER_TYPE void 5044 #define POINTER_TYPE void
5037 EOF 5045 EOF
5041 #define POINTER_TYPE char 5049 #define POINTER_TYPE char
5042 EOF 5050 EOF
5043 5051
5044 fi 5052 fi
5045 5053
5046 echo "$as_me:5046: checking whether ${MAKE-make} sets \${MAKE}" >&5 5054 echo "$as_me:5054: checking whether ${MAKE-make} sets \${MAKE}" >&5
5047 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 5055 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
5048 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` 5056 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
5049 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 5057 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
5050 echo $ECHO_N "(cached) $ECHO_C" >&6 5058 echo $ECHO_N "(cached) $ECHO_C" >&6
5051 else 5059 else
5061 eval ac_cv_prog_make_${ac_make}_set=no 5069 eval ac_cv_prog_make_${ac_make}_set=no
5062 fi 5070 fi
5063 rm -f conftest.make 5071 rm -f conftest.make
5064 fi 5072 fi
5065 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 5073 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
5066 echo "$as_me:5066: result: yes" >&5 5074 echo "$as_me:5074: result: yes" >&5
5067 echo "${ECHO_T}yes" >&6 5075 echo "${ECHO_T}yes" >&6
5068 SET_MAKE= 5076 SET_MAKE=
5069 else 5077 else
5070 echo "$as_me:5070: result: no" >&5 5078 echo "$as_me:5078: result: no" >&5
5071 echo "${ECHO_T}no" >&6 5079 echo "${ECHO_T}no" >&6
5072 SET_MAKE="MAKE=${MAKE-make}" 5080 SET_MAKE="MAKE=${MAKE-make}"
5073 fi 5081 fi
5074 5082
5075 echo "$as_me:5075: checking for long file names" >&5 5083 echo "$as_me:5083: checking for long file names" >&5
5076 echo $ECHO_N "checking for long file names... $ECHO_C" >&6 5084 echo $ECHO_N "checking for long file names... $ECHO_C" >&6
5077 if test "${ac_cv_sys_long_file_names+set}" = set; then 5085 if test "${ac_cv_sys_long_file_names+set}" = set; then
5078 echo $ECHO_N "(cached) $ECHO_C" >&6 5086 echo $ECHO_N "(cached) $ECHO_C" >&6
5079 else 5087 else
5080 ac_cv_sys_long_file_names=yes 5088 ac_cv_sys_long_file_names=yes
5109 break 5117 break
5110 fi 5118 fi
5111 rm -rf $ac_xdir 2>/dev/null 5119 rm -rf $ac_xdir 2>/dev/null
5112 done 5120 done
5113 fi 5121 fi
5114 echo "$as_me:5114: result: $ac_cv_sys_long_file_names" >&5 5122 echo "$as_me:5122: result: $ac_cv_sys_long_file_names" >&5
5115 echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6 5123 echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6
5116 if test $ac_cv_sys_long_file_names = yes; then 5124 if test $ac_cv_sys_long_file_names = yes; then
5117 5125
5118 cat >>confdefs.h <<\EOF 5126 cat >>confdefs.h <<\EOF
5119 #define HAVE_LONG_FILE_NAMES 1 5127 #define HAVE_LONG_FILE_NAMES 1
5121 5129
5122 fi 5130 fi
5123 5131
5124 #### Choose a window system. 5132 #### Choose a window system.
5125 5133
5126 echo "$as_me:5126: checking for X" >&5 5134 echo "$as_me:5134: checking for X" >&5
5127 echo $ECHO_N "checking for X... $ECHO_C" >&6 5135 echo $ECHO_N "checking for X... $ECHO_C" >&6
5128 5136
5129 # Check whether --with-x or --without-x was given. 5137 # Check whether --with-x or --without-x was given.
5130 if test "${with_x+set}" = set; then 5138 if test "${with_x+set}" = set; then
5131 withval="$with_x" 5139 withval="$with_x"
5218 5226
5219 if test "$ac_x_includes" = no; then 5227 if test "$ac_x_includes" = no; then
5220 # Guess where to find include files, by looking for Intrinsic.h. 5228 # Guess where to find include files, by looking for Intrinsic.h.
5221 # First, try using that file with no special directory specified. 5229 # First, try using that file with no special directory specified.
5222 cat >conftest.$ac_ext <<_ACEOF 5230 cat >conftest.$ac_ext <<_ACEOF
5223 #line 5223 "configure" 5231 #line 5231 "configure"
5224 #include "confdefs.h" 5232 #include "confdefs.h"
5225 #include <X11/Intrinsic.h> 5233 #include <X11/Intrinsic.h>
5226 _ACEOF 5234 _ACEOF
5227 if { (eval echo "$as_me:5227: \"$ac_cpp conftest.$ac_ext\"") >&5 5235 if { (eval echo "$as_me:5235: \"$ac_cpp conftest.$ac_ext\"") >&5
5228 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5236 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5229 ac_status=$? 5237 ac_status=$?
5230 egrep -v '^ *\+' conftest.er1 >conftest.err 5238 egrep -v '^ *\+' conftest.er1 >conftest.err
5231 rm -f conftest.er1 5239 rm -f conftest.er1
5232 cat conftest.err >&5 5240 cat conftest.err >&5
5233 echo "$as_me:5233: \$? = $ac_status" >&5 5241 echo "$as_me:5241: \$? = $ac_status" >&5
5234 (exit $ac_status); } >/dev/null; then 5242 (exit $ac_status); } >/dev/null; then
5235 if test -s conftest.err; then 5243 if test -s conftest.err; then
5236 ac_cpp_err=$ac_c_preproc_warn_flag 5244 ac_cpp_err=$ac_c_preproc_warn_flag
5237 else 5245 else
5238 ac_cpp_err= 5246 ac_cpp_err=
5261 # See if we find them without any special options. 5269 # See if we find them without any special options.
5262 # Don't add to $LIBS permanently. 5270 # Don't add to $LIBS permanently.
5263 ac_save_LIBS=$LIBS 5271 ac_save_LIBS=$LIBS
5264 LIBS="-lXt $LIBS" 5272 LIBS="-lXt $LIBS"
5265 cat >conftest.$ac_ext <<_ACEOF 5273 cat >conftest.$ac_ext <<_ACEOF
5266 #line 5266 "configure" 5274 #line 5274 "configure"
5267 #include "confdefs.h" 5275 #include "confdefs.h"
5268 #include <X11/Intrinsic.h> 5276 #include <X11/Intrinsic.h>
5269 int 5277 int
5270 main () 5278 main ()
5271 { 5279 {
5273 ; 5281 ;
5274 return 0; 5282 return 0;
5275 } 5283 }
5276 _ACEOF 5284 _ACEOF
5277 rm -f conftest.$ac_objext conftest$ac_exeext 5285 rm -f conftest.$ac_objext conftest$ac_exeext
5278 if { (eval echo "$as_me:5278: \"$ac_link\"") >&5 5286 if { (eval echo "$as_me:5286: \"$ac_link\"") >&5
5279 (eval $ac_link) 2>&5 5287 (eval $ac_link) 2>&5
5280 ac_status=$? 5288 ac_status=$?
5281 echo "$as_me:5281: \$? = $ac_status" >&5 5289 echo "$as_me:5289: \$? = $ac_status" >&5
5282 (exit $ac_status); } && 5290 (exit $ac_status); } &&
5283 { ac_try='test -s conftest$ac_exeext' 5291 { ac_try='test -s conftest$ac_exeext'
5284 { (eval echo "$as_me:5284: \"$ac_try\"") >&5 5292 { (eval echo "$as_me:5292: \"$ac_try\"") >&5
5285 (eval $ac_try) 2>&5 5293 (eval $ac_try) 2>&5
5286 ac_status=$? 5294 ac_status=$?
5287 echo "$as_me:5287: \$? = $ac_status" >&5 5295 echo "$as_me:5295: \$? = $ac_status" >&5
5288 (exit $ac_status); }; }; then 5296 (exit $ac_status); }; }; then
5289 LIBS=$ac_save_LIBS 5297 LIBS=$ac_save_LIBS
5290 # We can link X programs with no special library path. 5298 # We can link X programs with no special library path.
5291 ac_x_libraries= 5299 ac_x_libraries=
5292 else 5300 else
5320 fi 5328 fi
5321 eval "$ac_cv_have_x" 5329 eval "$ac_cv_have_x"
5322 fi # $with_x != no 5330 fi # $with_x != no
5323 5331
5324 if test "$have_x" != yes; then 5332 if test "$have_x" != yes; then
5325 echo "$as_me:5325: result: $have_x" >&5 5333 echo "$as_me:5333: result: $have_x" >&5
5326 echo "${ECHO_T}$have_x" >&6 5334 echo "${ECHO_T}$have_x" >&6
5327 no_x=yes 5335 no_x=yes
5328 else 5336 else
5329 # If each of the values was on the command line, it overrides each guess. 5337 # If each of the values was on the command line, it overrides each guess.
5330 test "x$x_includes" = xNONE && x_includes=$ac_x_includes 5338 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
5331 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries 5339 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
5332 # Update the cache value to reflect the command line values. 5340 # Update the cache value to reflect the command line values.
5333 ac_cv_have_x="have_x=yes \ 5341 ac_cv_have_x="have_x=yes \
5334 ac_x_includes=$x_includes ac_x_libraries=$x_libraries" 5342 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
5335 echo "$as_me:5335: result: libraries $x_libraries, headers $x_includes" >&5 5343 echo "$as_me:5343: result: libraries $x_libraries, headers $x_includes" >&5
5336 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 5344 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
5337 fi 5345 fi
5338 5346
5339 if test "$no_x" = yes; then 5347 if test "$no_x" = yes; then
5340 window_system=none 5348 window_system=none
5428 5436
5429 # Do the opsystem or machine files prohibit the use of the GNU malloc? 5437 # Do the opsystem or machine files prohibit the use of the GNU malloc?
5430 # Assume not, until told otherwise. 5438 # Assume not, until told otherwise.
5431 GNU_MALLOC=yes 5439 GNU_MALLOC=yes
5432 doug_lea_malloc=yes 5440 doug_lea_malloc=yes
5433 echo "$as_me:5433: checking for malloc_get_state" >&5 5441 echo "$as_me:5441: checking for malloc_get_state" >&5
5434 echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6 5442 echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6
5435 if test "${ac_cv_func_malloc_get_state+set}" = set; then 5443 if test "${ac_cv_func_malloc_get_state+set}" = set; then
5436 echo $ECHO_N "(cached) $ECHO_C" >&6 5444 echo $ECHO_N "(cached) $ECHO_C" >&6
5437 else 5445 else
5438 cat >conftest.$ac_ext <<_ACEOF 5446 cat >conftest.$ac_ext <<_ACEOF
5439 #line 5439 "configure" 5447 #line 5447 "configure"
5440 #include "confdefs.h" 5448 #include "confdefs.h"
5441 /* System header to define __stub macros and hopefully few prototypes, 5449 /* System header to define __stub macros and hopefully few prototypes,
5442 which can conflict with char malloc_get_state (); below. */ 5450 which can conflict with char malloc_get_state (); below. */
5443 #include <assert.h> 5451 #include <assert.h>
5444 /* Override any gcc2 internal prototype to avoid an error. */ 5452 /* Override any gcc2 internal prototype to avoid an error. */
5465 ; 5473 ;
5466 return 0; 5474 return 0;
5467 } 5475 }
5468 _ACEOF 5476 _ACEOF
5469 rm -f conftest.$ac_objext conftest$ac_exeext 5477 rm -f conftest.$ac_objext conftest$ac_exeext
5470 if { (eval echo "$as_me:5470: \"$ac_link\"") >&5 5478 if { (eval echo "$as_me:5478: \"$ac_link\"") >&5
5471 (eval $ac_link) 2>&5 5479 (eval $ac_link) 2>&5
5472 ac_status=$? 5480 ac_status=$?
5473 echo "$as_me:5473: \$? = $ac_status" >&5 5481 echo "$as_me:5481: \$? = $ac_status" >&5
5474 (exit $ac_status); } && 5482 (exit $ac_status); } &&
5475 { ac_try='test -s conftest$ac_exeext' 5483 { ac_try='test -s conftest$ac_exeext'
5476 { (eval echo "$as_me:5476: \"$ac_try\"") >&5 5484 { (eval echo "$as_me:5484: \"$ac_try\"") >&5
5477 (eval $ac_try) 2>&5 5485 (eval $ac_try) 2>&5
5478 ac_status=$? 5486 ac_status=$?
5479 echo "$as_me:5479: \$? = $ac_status" >&5 5487 echo "$as_me:5487: \$? = $ac_status" >&5
5480 (exit $ac_status); }; }; then 5488 (exit $ac_status); }; }; then
5481 ac_cv_func_malloc_get_state=yes 5489 ac_cv_func_malloc_get_state=yes
5482 else 5490 else
5483 echo "$as_me: failed program was:" >&5 5491 echo "$as_me: failed program was:" >&5
5484 cat conftest.$ac_ext >&5 5492 cat conftest.$ac_ext >&5
5485 ac_cv_func_malloc_get_state=no 5493 ac_cv_func_malloc_get_state=no
5486 fi 5494 fi
5487 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5495 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5488 fi 5496 fi
5489 echo "$as_me:5489: result: $ac_cv_func_malloc_get_state" >&5 5497 echo "$as_me:5497: result: $ac_cv_func_malloc_get_state" >&5
5490 echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6 5498 echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6
5491 if test $ac_cv_func_malloc_get_state = yes; then 5499 if test $ac_cv_func_malloc_get_state = yes; then
5492 : 5500 :
5493 else 5501 else
5494 doug_lea_malloc=no 5502 doug_lea_malloc=no
5495 fi 5503 fi
5496 5504
5497 echo "$as_me:5497: checking for malloc_set_state" >&5 5505 echo "$as_me:5505: checking for malloc_set_state" >&5
5498 echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6 5506 echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6
5499 if test "${ac_cv_func_malloc_set_state+set}" = set; then 5507 if test "${ac_cv_func_malloc_set_state+set}" = set; then
5500 echo $ECHO_N "(cached) $ECHO_C" >&6 5508 echo $ECHO_N "(cached) $ECHO_C" >&6
5501 else 5509 else
5502 cat >conftest.$ac_ext <<_ACEOF 5510 cat >conftest.$ac_ext <<_ACEOF
5503 #line 5503 "configure" 5511 #line 5511 "configure"
5504 #include "confdefs.h" 5512 #include "confdefs.h"
5505 /* System header to define __stub macros and hopefully few prototypes, 5513 /* System header to define __stub macros and hopefully few prototypes,
5506 which can conflict with char malloc_set_state (); below. */ 5514 which can conflict with char malloc_set_state (); below. */
5507 #include <assert.h> 5515 #include <assert.h>
5508 /* Override any gcc2 internal prototype to avoid an error. */ 5516 /* Override any gcc2 internal prototype to avoid an error. */
5529 ; 5537 ;
5530 return 0; 5538 return 0;
5531 } 5539 }
5532 _ACEOF 5540 _ACEOF
5533 rm -f conftest.$ac_objext conftest$ac_exeext 5541 rm -f conftest.$ac_objext conftest$ac_exeext
5534 if { (eval echo "$as_me:5534: \"$ac_link\"") >&5 5542 if { (eval echo "$as_me:5542: \"$ac_link\"") >&5
5535 (eval $ac_link) 2>&5 5543 (eval $ac_link) 2>&5
5536 ac_status=$? 5544 ac_status=$?
5537 echo "$as_me:5537: \$? = $ac_status" >&5 5545 echo "$as_me:5545: \$? = $ac_status" >&5
5538 (exit $ac_status); } && 5546 (exit $ac_status); } &&
5539 { ac_try='test -s conftest$ac_exeext' 5547 { ac_try='test -s conftest$ac_exeext'
5540 { (eval echo "$as_me:5540: \"$ac_try\"") >&5 5548 { (eval echo "$as_me:5548: \"$ac_try\"") >&5
5541 (eval $ac_try) 2>&5 5549 (eval $ac_try) 2>&5
5542 ac_status=$? 5550 ac_status=$?
5543 echo "$as_me:5543: \$? = $ac_status" >&5 5551 echo "$as_me:5551: \$? = $ac_status" >&5
5544 (exit $ac_status); }; }; then 5552 (exit $ac_status); }; }; then
5545 ac_cv_func_malloc_set_state=yes 5553 ac_cv_func_malloc_set_state=yes
5546 else 5554 else
5547 echo "$as_me: failed program was:" >&5 5555 echo "$as_me: failed program was:" >&5
5548 cat conftest.$ac_ext >&5 5556 cat conftest.$ac_ext >&5
5549 ac_cv_func_malloc_set_state=no 5557 ac_cv_func_malloc_set_state=no
5550 fi 5558 fi
5551 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5559 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5552 fi 5560 fi
5553 echo "$as_me:5553: result: $ac_cv_func_malloc_set_state" >&5 5561 echo "$as_me:5561: result: $ac_cv_func_malloc_set_state" >&5
5554 echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6 5562 echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6
5555 if test $ac_cv_func_malloc_set_state = yes; then 5563 if test $ac_cv_func_malloc_set_state = yes; then
5556 : 5564 :
5557 else 5565 else
5558 doug_lea_malloc=no 5566 doug_lea_malloc=no
5559 fi 5567 fi
5560 5568
5561 echo "$as_me:5561: checking whether __after_morecore_hook exists" >&5 5569 echo "$as_me:5569: checking whether __after_morecore_hook exists" >&5
5562 echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6 5570 echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6
5563 if test "${emacs_cv_var___after_morecore_hook+set}" = set; then 5571 if test "${emacs_cv_var___after_morecore_hook+set}" = set; then
5564 echo $ECHO_N "(cached) $ECHO_C" >&6 5572 echo $ECHO_N "(cached) $ECHO_C" >&6
5565 else 5573 else
5566 cat >conftest.$ac_ext <<_ACEOF 5574 cat >conftest.$ac_ext <<_ACEOF
5567 #line 5567 "configure" 5575 #line 5575 "configure"
5568 #include "confdefs.h" 5576 #include "confdefs.h"
5569 extern void (* __after_morecore_hook)(); 5577 extern void (* __after_morecore_hook)();
5570 int 5578 int
5571 main () 5579 main ()
5572 { 5580 {
5574 ; 5582 ;
5575 return 0; 5583 return 0;
5576 } 5584 }
5577 _ACEOF 5585 _ACEOF
5578 rm -f conftest.$ac_objext conftest$ac_exeext 5586 rm -f conftest.$ac_objext conftest$ac_exeext
5579 if { (eval echo "$as_me:5579: \"$ac_link\"") >&5 5587 if { (eval echo "$as_me:5587: \"$ac_link\"") >&5
5580 (eval $ac_link) 2>&5 5588 (eval $ac_link) 2>&5
5581 ac_status=$? 5589 ac_status=$?
5582 echo "$as_me:5582: \$? = $ac_status" >&5 5590 echo "$as_me:5590: \$? = $ac_status" >&5
5583 (exit $ac_status); } && 5591 (exit $ac_status); } &&
5584 { ac_try='test -s conftest$ac_exeext' 5592 { ac_try='test -s conftest$ac_exeext'
5585 { (eval echo "$as_me:5585: \"$ac_try\"") >&5 5593 { (eval echo "$as_me:5593: \"$ac_try\"") >&5
5586 (eval $ac_try) 2>&5 5594 (eval $ac_try) 2>&5
5587 ac_status=$? 5595 ac_status=$?
5588 echo "$as_me:5588: \$? = $ac_status" >&5 5596 echo "$as_me:5596: \$? = $ac_status" >&5
5589 (exit $ac_status); }; }; then 5597 (exit $ac_status); }; }; then
5590 emacs_cv_var___after_morecore_hook=yes 5598 emacs_cv_var___after_morecore_hook=yes
5591 else 5599 else
5592 echo "$as_me: failed program was:" >&5 5600 echo "$as_me: failed program was:" >&5
5593 cat conftest.$ac_ext >&5 5601 cat conftest.$ac_ext >&5
5594 emacs_cv_var___after_morecore_hook=no 5602 emacs_cv_var___after_morecore_hook=no
5595 fi 5603 fi
5596 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5604 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5597 fi 5605 fi
5598 echo "$as_me:5598: result: $emacs_cv_var___after_morecore_hook" >&5 5606 echo "$as_me:5606: result: $emacs_cv_var___after_morecore_hook" >&5
5599 echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6 5607 echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6
5600 if test $emacs_cv_var___after_morecore_hook = no; then 5608 if test $emacs_cv_var___after_morecore_hook = no; then
5601 doug_lea_malloc=no 5609 doug_lea_malloc=no
5602 fi 5610 fi
5603 if test "${system_malloc}" = "yes"; then 5611 if test "${system_malloc}" = "yes"; then
5624 5632
5625 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 5633 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5626 inttypes.h stdint.h unistd.h 5634 inttypes.h stdint.h unistd.h
5627 do 5635 do
5628 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5636 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5629 echo "$as_me:5629: checking for $ac_header" >&5 5637 echo "$as_me:5637: checking for $ac_header" >&5
5630 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5638 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5631 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5639 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5632 echo $ECHO_N "(cached) $ECHO_C" >&6 5640 echo $ECHO_N "(cached) $ECHO_C" >&6
5633 else 5641 else
5634 cat >conftest.$ac_ext <<_ACEOF 5642 cat >conftest.$ac_ext <<_ACEOF
5635 #line 5635 "configure" 5643 #line 5643 "configure"
5636 #include "confdefs.h" 5644 #include "confdefs.h"
5637 $ac_includes_default 5645 $ac_includes_default
5638 #include <$ac_header> 5646 #include <$ac_header>
5639 _ACEOF 5647 _ACEOF
5640 rm -f conftest.$ac_objext 5648 rm -f conftest.$ac_objext
5641 if { (eval echo "$as_me:5641: \"$ac_compile\"") >&5 5649 if { (eval echo "$as_me:5649: \"$ac_compile\"") >&5
5642 (eval $ac_compile) 2>&5 5650 (eval $ac_compile) 2>&5
5643 ac_status=$? 5651 ac_status=$?
5644 echo "$as_me:5644: \$? = $ac_status" >&5 5652 echo "$as_me:5652: \$? = $ac_status" >&5
5645 (exit $ac_status); } && 5653 (exit $ac_status); } &&
5646 { ac_try='test -s conftest.$ac_objext' 5654 { ac_try='test -s conftest.$ac_objext'
5647 { (eval echo "$as_me:5647: \"$ac_try\"") >&5 5655 { (eval echo "$as_me:5655: \"$ac_try\"") >&5
5648 (eval $ac_try) 2>&5 5656 (eval $ac_try) 2>&5
5649 ac_status=$? 5657 ac_status=$?
5650 echo "$as_me:5650: \$? = $ac_status" >&5 5658 echo "$as_me:5658: \$? = $ac_status" >&5
5651 (exit $ac_status); }; }; then 5659 (exit $ac_status); }; }; then
5652 eval "$as_ac_Header=yes" 5660 eval "$as_ac_Header=yes"
5653 else 5661 else
5654 echo "$as_me: failed program was:" >&5 5662 echo "$as_me: failed program was:" >&5
5655 cat conftest.$ac_ext >&5 5663 cat conftest.$ac_ext >&5
5656 eval "$as_ac_Header=no" 5664 eval "$as_ac_Header=no"
5657 fi 5665 fi
5658 rm -f conftest.$ac_objext conftest.$ac_ext 5666 rm -f conftest.$ac_objext conftest.$ac_ext
5659 fi 5667 fi
5660 echo "$as_me:5660: result: `eval echo '${'$as_ac_Header'}'`" >&5 5668 echo "$as_me:5668: result: `eval echo '${'$as_ac_Header'}'`" >&5
5661 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5669 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5662 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5670 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5663 cat >>confdefs.h <<EOF 5671 cat >>confdefs.h <<EOF
5664 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5672 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5665 EOF 5673 EOF
5668 done 5676 done
5669 5677
5670 for ac_header in stdlib.h unistd.h 5678 for ac_header in stdlib.h unistd.h
5671 do 5679 do
5672 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5680 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5673 echo "$as_me:5673: checking for $ac_header" >&5 5681 echo "$as_me:5681: checking for $ac_header" >&5
5674 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5682 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5675 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5683 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5676 echo $ECHO_N "(cached) $ECHO_C" >&6 5684 echo $ECHO_N "(cached) $ECHO_C" >&6
5677 else 5685 else
5678 cat >conftest.$ac_ext <<_ACEOF 5686 cat >conftest.$ac_ext <<_ACEOF
5679 #line 5679 "configure" 5687 #line 5687 "configure"
5680 #include "confdefs.h" 5688 #include "confdefs.h"
5681 #include <$ac_header> 5689 #include <$ac_header>
5682 _ACEOF 5690 _ACEOF
5683 if { (eval echo "$as_me:5683: \"$ac_cpp conftest.$ac_ext\"") >&5 5691 if { (eval echo "$as_me:5691: \"$ac_cpp conftest.$ac_ext\"") >&5
5684 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5692 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5685 ac_status=$? 5693 ac_status=$?
5686 egrep -v '^ *\+' conftest.er1 >conftest.err 5694 egrep -v '^ *\+' conftest.er1 >conftest.err
5687 rm -f conftest.er1 5695 rm -f conftest.er1
5688 cat conftest.err >&5 5696 cat conftest.err >&5
5689 echo "$as_me:5689: \$? = $ac_status" >&5 5697 echo "$as_me:5697: \$? = $ac_status" >&5
5690 (exit $ac_status); } >/dev/null; then 5698 (exit $ac_status); } >/dev/null; then
5691 if test -s conftest.err; then 5699 if test -s conftest.err; then
5692 ac_cpp_err=$ac_c_preproc_warn_flag 5700 ac_cpp_err=$ac_c_preproc_warn_flag
5693 else 5701 else
5694 ac_cpp_err= 5702 ac_cpp_err=
5703 cat conftest.$ac_ext >&5 5711 cat conftest.$ac_ext >&5
5704 eval "$as_ac_Header=no" 5712 eval "$as_ac_Header=no"
5705 fi 5713 fi
5706 rm -f conftest.err conftest.$ac_ext 5714 rm -f conftest.err conftest.$ac_ext
5707 fi 5715 fi
5708 echo "$as_me:5708: result: `eval echo '${'$as_ac_Header'}'`" >&5 5716 echo "$as_me:5716: result: `eval echo '${'$as_ac_Header'}'`" >&5
5709 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5717 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5710 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5718 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5711 cat >>confdefs.h <<EOF 5719 cat >>confdefs.h <<EOF
5712 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5720 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5713 EOF 5721 EOF
5716 done 5724 done
5717 5725
5718 for ac_func in getpagesize 5726 for ac_func in getpagesize
5719 do 5727 do
5720 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 5728 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5721 echo "$as_me:5721: checking for $ac_func" >&5 5729 echo "$as_me:5729: checking for $ac_func" >&5
5722 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 5730 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5723 if eval "test \"\${$as_ac_var+set}\" = set"; then 5731 if eval "test \"\${$as_ac_var+set}\" = set"; then
5724 echo $ECHO_N "(cached) $ECHO_C" >&6 5732 echo $ECHO_N "(cached) $ECHO_C" >&6
5725 else 5733 else
5726 cat >conftest.$ac_ext <<_ACEOF 5734 cat >conftest.$ac_ext <<_ACEOF
5727 #line 5727 "configure" 5735 #line 5735 "configure"
5728 #include "confdefs.h" 5736 #include "confdefs.h"
5729 /* System header to define __stub macros and hopefully few prototypes, 5737 /* System header to define __stub macros and hopefully few prototypes,
5730 which can conflict with char $ac_func (); below. */ 5738 which can conflict with char $ac_func (); below. */
5731 #include <assert.h> 5739 #include <assert.h>
5732 /* Override any gcc2 internal prototype to avoid an error. */ 5740 /* Override any gcc2 internal prototype to avoid an error. */
5753 ; 5761 ;
5754 return 0; 5762 return 0;
5755 } 5763 }
5756 _ACEOF 5764 _ACEOF
5757 rm -f conftest.$ac_objext conftest$ac_exeext 5765 rm -f conftest.$ac_objext conftest$ac_exeext
5758 if { (eval echo "$as_me:5758: \"$ac_link\"") >&5 5766 if { (eval echo "$as_me:5766: \"$ac_link\"") >&5
5759 (eval $ac_link) 2>&5 5767 (eval $ac_link) 2>&5
5760 ac_status=$? 5768 ac_status=$?
5761 echo "$as_me:5761: \$? = $ac_status" >&5 5769 echo "$as_me:5769: \$? = $ac_status" >&5
5762 (exit $ac_status); } && 5770 (exit $ac_status); } &&
5763 { ac_try='test -s conftest$ac_exeext' 5771 { ac_try='test -s conftest$ac_exeext'
5764 { (eval echo "$as_me:5764: \"$ac_try\"") >&5 5772 { (eval echo "$as_me:5772: \"$ac_try\"") >&5
5765 (eval $ac_try) 2>&5 5773 (eval $ac_try) 2>&5
5766 ac_status=$? 5774 ac_status=$?
5767 echo "$as_me:5767: \$? = $ac_status" >&5 5775 echo "$as_me:5775: \$? = $ac_status" >&5
5768 (exit $ac_status); }; }; then 5776 (exit $ac_status); }; }; then
5769 eval "$as_ac_var=yes" 5777 eval "$as_ac_var=yes"
5770 else 5778 else
5771 echo "$as_me: failed program was:" >&5 5779 echo "$as_me: failed program was:" >&5
5772 cat conftest.$ac_ext >&5 5780 cat conftest.$ac_ext >&5
5773 eval "$as_ac_var=no" 5781 eval "$as_ac_var=no"
5774 fi 5782 fi
5775 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5783 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5776 fi 5784 fi
5777 echo "$as_me:5777: result: `eval echo '${'$as_ac_var'}'`" >&5 5785 echo "$as_me:5785: result: `eval echo '${'$as_ac_var'}'`" >&5
5778 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 5786 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5779 if test `eval echo '${'$as_ac_var'}'` = yes; then 5787 if test `eval echo '${'$as_ac_var'}'` = yes; then
5780 cat >>confdefs.h <<EOF 5788 cat >>confdefs.h <<EOF
5781 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 5789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5782 EOF 5790 EOF
5783 5791
5784 fi 5792 fi
5785 done 5793 done
5786 5794
5787 echo "$as_me:5787: checking for working mmap" >&5 5795 echo "$as_me:5795: checking for working mmap" >&5
5788 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6 5796 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
5789 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then 5797 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
5790 echo $ECHO_N "(cached) $ECHO_C" >&6 5798 echo $ECHO_N "(cached) $ECHO_C" >&6
5791 else 5799 else
5792 if test "$cross_compiling" = yes; then 5800 if test "$cross_compiling" = yes; then
5793 ac_cv_func_mmap_fixed_mapped=no 5801 ac_cv_func_mmap_fixed_mapped=no
5794 else 5802 else
5795 cat >conftest.$ac_ext <<_ACEOF 5803 cat >conftest.$ac_ext <<_ACEOF
5796 #line 5796 "configure" 5804 #line 5804 "configure"
5797 #include "confdefs.h" 5805 #include "confdefs.h"
5798 $ac_includes_default 5806 $ac_includes_default
5799 /* Thanks to Mike Haertel and Jim Avera for this test. 5807 /* Thanks to Mike Haertel and Jim Avera for this test.
5800 Here is a matrix of mmap possibilities: 5808 Here is a matrix of mmap possibilities:
5801 mmap private not fixed 5809 mmap private not fixed
5918 close (fd); 5926 close (fd);
5919 exit (0); 5927 exit (0);
5920 } 5928 }
5921 _ACEOF 5929 _ACEOF
5922 rm -f conftest$ac_exeext 5930 rm -f conftest$ac_exeext
5923 if { (eval echo "$as_me:5923: \"$ac_link\"") >&5 5931 if { (eval echo "$as_me:5931: \"$ac_link\"") >&5
5924 (eval $ac_link) 2>&5 5932 (eval $ac_link) 2>&5
5925 ac_status=$? 5933 ac_status=$?
5926 echo "$as_me:5926: \$? = $ac_status" >&5 5934 echo "$as_me:5934: \$? = $ac_status" >&5
5927 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 5935 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5928 { (eval echo "$as_me:5928: \"$ac_try\"") >&5 5936 { (eval echo "$as_me:5936: \"$ac_try\"") >&5
5929 (eval $ac_try) 2>&5 5937 (eval $ac_try) 2>&5
5930 ac_status=$? 5938 ac_status=$?
5931 echo "$as_me:5931: \$? = $ac_status" >&5 5939 echo "$as_me:5939: \$? = $ac_status" >&5
5932 (exit $ac_status); }; }; then 5940 (exit $ac_status); }; }; then
5933 ac_cv_func_mmap_fixed_mapped=yes 5941 ac_cv_func_mmap_fixed_mapped=yes
5934 else 5942 else
5935 echo "$as_me: program exited with status $ac_status" >&5 5943 echo "$as_me: program exited with status $ac_status" >&5
5936 echo "$as_me: failed program was:" >&5 5944 echo "$as_me: failed program was:" >&5
5938 ac_cv_func_mmap_fixed_mapped=no 5946 ac_cv_func_mmap_fixed_mapped=no
5939 fi 5947 fi
5940 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5948 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5941 fi 5949 fi
5942 fi 5950 fi
5943 echo "$as_me:5943: result: $ac_cv_func_mmap_fixed_mapped" >&5 5951 echo "$as_me:5951: result: $ac_cv_func_mmap_fixed_mapped" >&5
5944 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6 5952 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
5945 if test $ac_cv_func_mmap_fixed_mapped = yes; then 5953 if test $ac_cv_func_mmap_fixed_mapped = yes; then
5946 5954
5947 cat >>confdefs.h <<\EOF 5955 cat >>confdefs.h <<\EOF
5948 #define HAVE_MMAP 1 5956 #define HAVE_MMAP 1
5955 REL_ALLOC=no 5963 REL_ALLOC=no
5956 fi 5964 fi
5957 5965
5958 LIBS="$libsrc_libs $LIBS" 5966 LIBS="$libsrc_libs $LIBS"
5959 5967
5960 echo "$as_me:5960: checking for dnet_ntoa in -ldnet" >&5 5968 echo "$as_me:5968: checking for dnet_ntoa in -ldnet" >&5
5961 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6 5969 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
5962 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then 5970 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
5963 echo $ECHO_N "(cached) $ECHO_C" >&6 5971 echo $ECHO_N "(cached) $ECHO_C" >&6
5964 else 5972 else
5965 ac_check_lib_save_LIBS=$LIBS 5973 ac_check_lib_save_LIBS=$LIBS
5966 LIBS="-ldnet $LIBS" 5974 LIBS="-ldnet $LIBS"
5967 cat >conftest.$ac_ext <<_ACEOF 5975 cat >conftest.$ac_ext <<_ACEOF
5968 #line 5968 "configure" 5976 #line 5976 "configure"
5969 #include "confdefs.h" 5977 #include "confdefs.h"
5970 5978
5971 /* Override any gcc2 internal prototype to avoid an error. */ 5979 /* Override any gcc2 internal prototype to avoid an error. */
5972 #ifdef __cplusplus 5980 #ifdef __cplusplus
5973 extern "C" 5981 extern "C"
5982 ; 5990 ;
5983 return 0; 5991 return 0;
5984 } 5992 }
5985 _ACEOF 5993 _ACEOF
5986 rm -f conftest.$ac_objext conftest$ac_exeext 5994 rm -f conftest.$ac_objext conftest$ac_exeext
5987 if { (eval echo "$as_me:5987: \"$ac_link\"") >&5 5995 if { (eval echo "$as_me:5995: \"$ac_link\"") >&5
5988 (eval $ac_link) 2>&5 5996 (eval $ac_link) 2>&5
5989 ac_status=$? 5997 ac_status=$?
5990 echo "$as_me:5990: \$? = $ac_status" >&5 5998 echo "$as_me:5998: \$? = $ac_status" >&5
5991 (exit $ac_status); } && 5999 (exit $ac_status); } &&
5992 { ac_try='test -s conftest$ac_exeext' 6000 { ac_try='test -s conftest$ac_exeext'
5993 { (eval echo "$as_me:5993: \"$ac_try\"") >&5 6001 { (eval echo "$as_me:6001: \"$ac_try\"") >&5
5994 (eval $ac_try) 2>&5 6002 (eval $ac_try) 2>&5
5995 ac_status=$? 6003 ac_status=$?
5996 echo "$as_me:5996: \$? = $ac_status" >&5 6004 echo "$as_me:6004: \$? = $ac_status" >&5
5997 (exit $ac_status); }; }; then 6005 (exit $ac_status); }; }; then
5998 ac_cv_lib_dnet_dnet_ntoa=yes 6006 ac_cv_lib_dnet_dnet_ntoa=yes
5999 else 6007 else
6000 echo "$as_me: failed program was:" >&5 6008 echo "$as_me: failed program was:" >&5
6001 cat conftest.$ac_ext >&5 6009 cat conftest.$ac_ext >&5
6002 ac_cv_lib_dnet_dnet_ntoa=no 6010 ac_cv_lib_dnet_dnet_ntoa=no
6003 fi 6011 fi
6004 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6012 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6005 LIBS=$ac_check_lib_save_LIBS 6013 LIBS=$ac_check_lib_save_LIBS
6006 fi 6014 fi
6007 echo "$as_me:6007: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 6015 echo "$as_me:6015: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
6008 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6 6016 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
6009 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then 6017 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
6010 cat >>confdefs.h <<EOF 6018 cat >>confdefs.h <<EOF
6011 #define HAVE_LIBDNET 1 6019 #define HAVE_LIBDNET 1
6012 EOF 6020 EOF
6013 6021
6014 LIBS="-ldnet $LIBS" 6022 LIBS="-ldnet $LIBS"
6015 6023
6016 fi 6024 fi
6017 6025
6018 echo "$as_me:6018: checking for main in -lXbsd" >&5 6026 echo "$as_me:6026: checking for main in -lXbsd" >&5
6019 echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6 6027 echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6
6020 if test "${ac_cv_lib_Xbsd_main+set}" = set; then 6028 if test "${ac_cv_lib_Xbsd_main+set}" = set; then
6021 echo $ECHO_N "(cached) $ECHO_C" >&6 6029 echo $ECHO_N "(cached) $ECHO_C" >&6
6022 else 6030 else
6023 ac_check_lib_save_LIBS=$LIBS 6031 ac_check_lib_save_LIBS=$LIBS
6024 LIBS="-lXbsd $LIBS" 6032 LIBS="-lXbsd $LIBS"
6025 cat >conftest.$ac_ext <<_ACEOF 6033 cat >conftest.$ac_ext <<_ACEOF
6026 #line 6026 "configure" 6034 #line 6034 "configure"
6027 #include "confdefs.h" 6035 #include "confdefs.h"
6028 6036
6029 int 6037 int
6030 main () 6038 main ()
6031 { 6039 {
6033 ; 6041 ;
6034 return 0; 6042 return 0;
6035 } 6043 }
6036 _ACEOF 6044 _ACEOF
6037 rm -f conftest.$ac_objext conftest$ac_exeext 6045 rm -f conftest.$ac_objext conftest$ac_exeext
6038 if { (eval echo "$as_me:6038: \"$ac_link\"") >&5 6046 if { (eval echo "$as_me:6046: \"$ac_link\"") >&5
6039 (eval $ac_link) 2>&5 6047 (eval $ac_link) 2>&5
6040 ac_status=$? 6048 ac_status=$?
6041 echo "$as_me:6041: \$? = $ac_status" >&5 6049 echo "$as_me:6049: \$? = $ac_status" >&5
6042 (exit $ac_status); } && 6050 (exit $ac_status); } &&
6043 { ac_try='test -s conftest$ac_exeext' 6051 { ac_try='test -s conftest$ac_exeext'
6044 { (eval echo "$as_me:6044: \"$ac_try\"") >&5 6052 { (eval echo "$as_me:6052: \"$ac_try\"") >&5
6045 (eval $ac_try) 2>&5 6053 (eval $ac_try) 2>&5
6046 ac_status=$? 6054 ac_status=$?
6047 echo "$as_me:6047: \$? = $ac_status" >&5 6055 echo "$as_me:6055: \$? = $ac_status" >&5
6048 (exit $ac_status); }; }; then 6056 (exit $ac_status); }; }; then
6049 ac_cv_lib_Xbsd_main=yes 6057 ac_cv_lib_Xbsd_main=yes
6050 else 6058 else
6051 echo "$as_me: failed program was:" >&5 6059 echo "$as_me: failed program was:" >&5
6052 cat conftest.$ac_ext >&5 6060 cat conftest.$ac_ext >&5
6053 ac_cv_lib_Xbsd_main=no 6061 ac_cv_lib_Xbsd_main=no
6054 fi 6062 fi
6055 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6063 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6056 LIBS=$ac_check_lib_save_LIBS 6064 LIBS=$ac_check_lib_save_LIBS
6057 fi 6065 fi
6058 echo "$as_me:6058: result: $ac_cv_lib_Xbsd_main" >&5 6066 echo "$as_me:6066: result: $ac_cv_lib_Xbsd_main" >&5
6059 echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6 6067 echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6
6060 if test $ac_cv_lib_Xbsd_main = yes; then 6068 if test $ac_cv_lib_Xbsd_main = yes; then
6061 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd" 6069 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd"
6062 fi 6070 fi
6063 6071
6064 echo "$as_me:6064: checking for cma_open in -lpthreads" >&5 6072 echo "$as_me:6072: checking for cma_open in -lpthreads" >&5
6065 echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6 6073 echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6
6066 if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then 6074 if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then
6067 echo $ECHO_N "(cached) $ECHO_C" >&6 6075 echo $ECHO_N "(cached) $ECHO_C" >&6
6068 else 6076 else
6069 ac_check_lib_save_LIBS=$LIBS 6077 ac_check_lib_save_LIBS=$LIBS
6070 LIBS="-lpthreads $LIBS" 6078 LIBS="-lpthreads $LIBS"
6071 cat >conftest.$ac_ext <<_ACEOF 6079 cat >conftest.$ac_ext <<_ACEOF
6072 #line 6072 "configure" 6080 #line 6080 "configure"
6073 #include "confdefs.h" 6081 #include "confdefs.h"
6074 6082
6075 /* Override any gcc2 internal prototype to avoid an error. */ 6083 /* Override any gcc2 internal prototype to avoid an error. */
6076 #ifdef __cplusplus 6084 #ifdef __cplusplus
6077 extern "C" 6085 extern "C"
6086 ; 6094 ;
6087 return 0; 6095 return 0;
6088 } 6096 }
6089 _ACEOF 6097 _ACEOF
6090 rm -f conftest.$ac_objext conftest$ac_exeext 6098 rm -f conftest.$ac_objext conftest$ac_exeext
6091 if { (eval echo "$as_me:6091: \"$ac_link\"") >&5 6099 if { (eval echo "$as_me:6099: \"$ac_link\"") >&5
6092 (eval $ac_link) 2>&5 6100 (eval $ac_link) 2>&5
6093 ac_status=$? 6101 ac_status=$?
6094 echo "$as_me:6094: \$? = $ac_status" >&5 6102 echo "$as_me:6102: \$? = $ac_status" >&5
6095 (exit $ac_status); } && 6103 (exit $ac_status); } &&
6096 { ac_try='test -s conftest$ac_exeext' 6104 { ac_try='test -s conftest$ac_exeext'
6097 { (eval echo "$as_me:6097: \"$ac_try\"") >&5 6105 { (eval echo "$as_me:6105: \"$ac_try\"") >&5
6098 (eval $ac_try) 2>&5 6106 (eval $ac_try) 2>&5
6099 ac_status=$? 6107 ac_status=$?
6100 echo "$as_me:6100: \$? = $ac_status" >&5 6108 echo "$as_me:6108: \$? = $ac_status" >&5
6101 (exit $ac_status); }; }; then 6109 (exit $ac_status); }; }; then
6102 ac_cv_lib_pthreads_cma_open=yes 6110 ac_cv_lib_pthreads_cma_open=yes
6103 else 6111 else
6104 echo "$as_me: failed program was:" >&5 6112 echo "$as_me: failed program was:" >&5
6105 cat conftest.$ac_ext >&5 6113 cat conftest.$ac_ext >&5
6106 ac_cv_lib_pthreads_cma_open=no 6114 ac_cv_lib_pthreads_cma_open=no
6107 fi 6115 fi
6108 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6116 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6109 LIBS=$ac_check_lib_save_LIBS 6117 LIBS=$ac_check_lib_save_LIBS
6110 fi 6118 fi
6111 echo "$as_me:6111: result: $ac_cv_lib_pthreads_cma_open" >&5 6119 echo "$as_me:6119: result: $ac_cv_lib_pthreads_cma_open" >&5
6112 echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6 6120 echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6
6113 if test $ac_cv_lib_pthreads_cma_open = yes; then 6121 if test $ac_cv_lib_pthreads_cma_open = yes; then
6114 cat >>confdefs.h <<EOF 6122 cat >>confdefs.h <<EOF
6115 #define HAVE_LIBPTHREADS 1 6123 #define HAVE_LIBPTHREADS 1
6116 EOF 6124 EOF
6117 6125
6118 LIBS="-lpthreads $LIBS" 6126 LIBS="-lpthreads $LIBS"
6119 6127
6120 fi 6128 fi
6121 6129
6122 echo "$as_me:6122: checking for XFree86 in /usr/X386" >&5 6130 echo "$as_me:6130: checking for XFree86 in /usr/X386" >&5
6123 echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6 6131 echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6
6124 if test -d /usr/X386/include; then 6132 if test -d /usr/X386/include; then
6125 HAVE_XFREE386=yes 6133 HAVE_XFREE386=yes
6126 : ${C_SWITCH_X_SITE="-I/usr/X386/include"} 6134 : ${C_SWITCH_X_SITE="-I/usr/X386/include"}
6127 else 6135 else
6128 HAVE_XFREE386=no 6136 HAVE_XFREE386=no
6129 fi 6137 fi
6130 echo "$as_me:6130: result: $HAVE_XFREE386" >&5 6138 echo "$as_me:6138: result: $HAVE_XFREE386" >&5
6131 echo "${ECHO_T}$HAVE_XFREE386" >&6 6139 echo "${ECHO_T}$HAVE_XFREE386" >&6
6132 6140
6133 # Change CFLAGS temporarily so that C_SWITCH_X_SITE gets used 6141 # Change CFLAGS temporarily so that C_SWITCH_X_SITE gets used
6134 # for the tests that follow. We set it back to REAL_CFLAGS later on. 6142 # for the tests that follow. We set it back to REAL_CFLAGS later on.
6135 6143
6150 LD_RUN_PATH=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH 6158 LD_RUN_PATH=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH
6151 export LD_RUN_PATH 6159 export LD_RUN_PATH
6152 fi 6160 fi
6153 6161
6154 if test "${opsys}" = "gnu-linux"; then 6162 if test "${opsys}" = "gnu-linux"; then
6155 echo "$as_me:6155: checking whether X on GNU/Linux needs -b to link" >&5 6163 echo "$as_me:6163: checking whether X on GNU/Linux needs -b to link" >&5
6156 echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6 6164 echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6
6157 cat >conftest.$ac_ext <<_ACEOF 6165 cat >conftest.$ac_ext <<_ACEOF
6158 #line 6158 "configure" 6166 #line 6166 "configure"
6159 #include "confdefs.h" 6167 #include "confdefs.h"
6160 6168
6161 int 6169 int
6162 main () 6170 main ()
6163 { 6171 {
6165 ; 6173 ;
6166 return 0; 6174 return 0;
6167 } 6175 }
6168 _ACEOF 6176 _ACEOF
6169 rm -f conftest.$ac_objext conftest$ac_exeext 6177 rm -f conftest.$ac_objext conftest$ac_exeext
6170 if { (eval echo "$as_me:6170: \"$ac_link\"") >&5 6178 if { (eval echo "$as_me:6178: \"$ac_link\"") >&5
6171 (eval $ac_link) 2>&5 6179 (eval $ac_link) 2>&5
6172 ac_status=$? 6180 ac_status=$?
6173 echo "$as_me:6173: \$? = $ac_status" >&5 6181 echo "$as_me:6181: \$? = $ac_status" >&5
6174 (exit $ac_status); } && 6182 (exit $ac_status); } &&
6175 { ac_try='test -s conftest$ac_exeext' 6183 { ac_try='test -s conftest$ac_exeext'
6176 { (eval echo "$as_me:6176: \"$ac_try\"") >&5 6184 { (eval echo "$as_me:6184: \"$ac_try\"") >&5
6177 (eval $ac_try) 2>&5 6185 (eval $ac_try) 2>&5
6178 ac_status=$? 6186 ac_status=$?
6179 echo "$as_me:6179: \$? = $ac_status" >&5 6187 echo "$as_me:6187: \$? = $ac_status" >&5
6180 (exit $ac_status); }; }; then 6188 (exit $ac_status); }; }; then
6181 xlinux_first_failure=no 6189 xlinux_first_failure=no
6182 else 6190 else
6183 echo "$as_me: failed program was:" >&5 6191 echo "$as_me: failed program was:" >&5
6184 cat conftest.$ac_ext >&5 6192 cat conftest.$ac_ext >&5
6193 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -b i486-linuxaout" 6201 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -b i486-linuxaout"
6194 C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout" 6202 C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout"
6195 CPPFLAGS="$CPPFLAGS -b i486-linuxaout" 6203 CPPFLAGS="$CPPFLAGS -b i486-linuxaout"
6196 LIBS="$LIBS -b i486-linuxaout" 6204 LIBS="$LIBS -b i486-linuxaout"
6197 cat >conftest.$ac_ext <<_ACEOF 6205 cat >conftest.$ac_ext <<_ACEOF
6198 #line 6198 "configure" 6206 #line 6206 "configure"
6199 #include "confdefs.h" 6207 #include "confdefs.h"
6200 6208
6201 int 6209 int
6202 main () 6210 main ()
6203 { 6211 {
6205 ; 6213 ;
6206 return 0; 6214 return 0;
6207 } 6215 }
6208 _ACEOF 6216 _ACEOF
6209 rm -f conftest.$ac_objext conftest$ac_exeext 6217 rm -f conftest.$ac_objext conftest$ac_exeext
6210 if { (eval echo "$as_me:6210: \"$ac_link\"") >&5 6218 if { (eval echo "$as_me:6218: \"$ac_link\"") >&5
6211 (eval $ac_link) 2>&5 6219 (eval $ac_link) 2>&5
6212 ac_status=$? 6220 ac_status=$?
6213 echo "$as_me:6213: \$? = $ac_status" >&5 6221 echo "$as_me:6221: \$? = $ac_status" >&5
6214 (exit $ac_status); } && 6222 (exit $ac_status); } &&
6215 { ac_try='test -s conftest$ac_exeext' 6223 { ac_try='test -s conftest$ac_exeext'
6216 { (eval echo "$as_me:6216: \"$ac_try\"") >&5 6224 { (eval echo "$as_me:6224: \"$ac_try\"") >&5
6217 (eval $ac_try) 2>&5 6225 (eval $ac_try) 2>&5
6218 ac_status=$? 6226 ac_status=$?
6219 echo "$as_me:6219: \$? = $ac_status" >&5 6227 echo "$as_me:6227: \$? = $ac_status" >&5
6220 (exit $ac_status); }; }; then 6228 (exit $ac_status); }; }; then
6221 xlinux_second_failure=no 6229 xlinux_second_failure=no
6222 else 6230 else
6223 echo "$as_me: failed program was:" >&5 6231 echo "$as_me: failed program was:" >&5
6224 cat conftest.$ac_ext >&5 6232 cat conftest.$ac_ext >&5
6230 # So take it out. This plays safe. 6238 # So take it out. This plays safe.
6231 LD_SWITCH_X_SITE="$OLD_LD_SWITCH_X_SITE" 6239 LD_SWITCH_X_SITE="$OLD_LD_SWITCH_X_SITE"
6232 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE" 6240 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE"
6233 CPPFLAGS="$OLD_CPPFLAGS" 6241 CPPFLAGS="$OLD_CPPFLAGS"
6234 LIBS="$OLD_LIBS" 6242 LIBS="$OLD_LIBS"
6235 echo "$as_me:6235: result: no" >&5 6243 echo "$as_me:6243: result: no" >&5
6236 echo "${ECHO_T}no" >&6 6244 echo "${ECHO_T}no" >&6
6237 else 6245 else
6238 echo "$as_me:6238: result: yes" >&5 6246 echo "$as_me:6246: result: yes" >&5
6239 echo "${ECHO_T}yes" >&6 6247 echo "${ECHO_T}yes" >&6
6240 fi 6248 fi
6241 else 6249 else
6242 echo "$as_me:6242: result: no" >&5 6250 echo "$as_me:6250: result: no" >&5
6243 echo "${ECHO_T}no" >&6 6251 echo "${ECHO_T}no" >&6
6244 fi 6252 fi
6245 fi 6253 fi
6246 6254
6247 # Reportedly, some broken Solaris systems have XKBlib.h but are missing 6255 # Reportedly, some broken Solaris systems have XKBlib.h but are missing
6248 # header files included from there. 6256 # header files included from there.
6249 echo "$as_me:6249: checking for Xkb" >&5 6257 echo "$as_me:6257: checking for Xkb" >&5
6250 echo $ECHO_N "checking for Xkb... $ECHO_C" >&6 6258 echo $ECHO_N "checking for Xkb... $ECHO_C" >&6
6251 cat >conftest.$ac_ext <<_ACEOF 6259 cat >conftest.$ac_ext <<_ACEOF
6252 #line 6252 "configure" 6260 #line 6260 "configure"
6253 #include "confdefs.h" 6261 #include "confdefs.h"
6254 #include <X11/Xlib.h> 6262 #include <X11/Xlib.h>
6255 #include <X11/XKBlib.h> 6263 #include <X11/XKBlib.h>
6256 int 6264 int
6257 main () 6265 main ()
6260 ; 6268 ;
6261 return 0; 6269 return 0;
6262 } 6270 }
6263 _ACEOF 6271 _ACEOF
6264 rm -f conftest.$ac_objext conftest$ac_exeext 6272 rm -f conftest.$ac_objext conftest$ac_exeext
6265 if { (eval echo "$as_me:6265: \"$ac_link\"") >&5 6273 if { (eval echo "$as_me:6273: \"$ac_link\"") >&5
6266 (eval $ac_link) 2>&5 6274 (eval $ac_link) 2>&5
6267 ac_status=$? 6275 ac_status=$?
6268 echo "$as_me:6268: \$? = $ac_status" >&5 6276 echo "$as_me:6276: \$? = $ac_status" >&5
6269 (exit $ac_status); } && 6277 (exit $ac_status); } &&
6270 { ac_try='test -s conftest$ac_exeext' 6278 { ac_try='test -s conftest$ac_exeext'
6271 { (eval echo "$as_me:6271: \"$ac_try\"") >&5 6279 { (eval echo "$as_me:6279: \"$ac_try\"") >&5
6272 (eval $ac_try) 2>&5 6280 (eval $ac_try) 2>&5
6273 ac_status=$? 6281 ac_status=$?
6274 echo "$as_me:6274: \$? = $ac_status" >&5 6282 echo "$as_me:6282: \$? = $ac_status" >&5
6275 (exit $ac_status); }; }; then 6283 (exit $ac_status); }; }; then
6276 emacs_xkb=yes 6284 emacs_xkb=yes
6277 else 6285 else
6278 echo "$as_me: failed program was:" >&5 6286 echo "$as_me: failed program was:" >&5
6279 cat conftest.$ac_ext >&5 6287 cat conftest.$ac_ext >&5
6280 emacs_xkb=no 6288 emacs_xkb=no
6281 fi 6289 fi
6282 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6290 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6283 echo "$as_me:6283: result: $emacs_xkb" >&5 6291 echo "$as_me:6291: result: $emacs_xkb" >&5
6284 echo "${ECHO_T}$emacs_xkb" >&6 6292 echo "${ECHO_T}$emacs_xkb" >&6
6285 if test $emacs_xkb = yes; then 6293 if test $emacs_xkb = yes; then
6286 cat >>confdefs.h <<\EOF 6294 cat >>confdefs.h <<\EOF
6287 #define HAVE_XKBGETKEYBOARD 1 6295 #define HAVE_XKBGETKEYBOARD 1
6288 EOF 6296 EOF
6291 6299
6292 for ac_func in XrmSetDatabase XScreenResourceString \ 6300 for ac_func in XrmSetDatabase XScreenResourceString \
6293 XScreenNumberOfScreen XSetWMProtocols 6301 XScreenNumberOfScreen XSetWMProtocols
6294 do 6302 do
6295 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 6303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6296 echo "$as_me:6296: checking for $ac_func" >&5 6304 echo "$as_me:6304: checking for $ac_func" >&5
6297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6298 if eval "test \"\${$as_ac_var+set}\" = set"; then 6306 if eval "test \"\${$as_ac_var+set}\" = set"; then
6299 echo $ECHO_N "(cached) $ECHO_C" >&6 6307 echo $ECHO_N "(cached) $ECHO_C" >&6
6300 else 6308 else
6301 cat >conftest.$ac_ext <<_ACEOF 6309 cat >conftest.$ac_ext <<_ACEOF
6302 #line 6302 "configure" 6310 #line 6310 "configure"
6303 #include "confdefs.h" 6311 #include "confdefs.h"
6304 /* System header to define __stub macros and hopefully few prototypes, 6312 /* System header to define __stub macros and hopefully few prototypes,
6305 which can conflict with char $ac_func (); below. */ 6313 which can conflict with char $ac_func (); below. */
6306 #include <assert.h> 6314 #include <assert.h>
6307 /* Override any gcc2 internal prototype to avoid an error. */ 6315 /* Override any gcc2 internal prototype to avoid an error. */
6328 ; 6336 ;
6329 return 0; 6337 return 0;
6330 } 6338 }
6331 _ACEOF 6339 _ACEOF
6332 rm -f conftest.$ac_objext conftest$ac_exeext 6340 rm -f conftest.$ac_objext conftest$ac_exeext
6333 if { (eval echo "$as_me:6333: \"$ac_link\"") >&5 6341 if { (eval echo "$as_me:6341: \"$ac_link\"") >&5
6334 (eval $ac_link) 2>&5 6342 (eval $ac_link) 2>&5
6335 ac_status=$? 6343 ac_status=$?
6336 echo "$as_me:6336: \$? = $ac_status" >&5 6344 echo "$as_me:6344: \$? = $ac_status" >&5
6337 (exit $ac_status); } && 6345 (exit $ac_status); } &&
6338 { ac_try='test -s conftest$ac_exeext' 6346 { ac_try='test -s conftest$ac_exeext'
6339 { (eval echo "$as_me:6339: \"$ac_try\"") >&5 6347 { (eval echo "$as_me:6347: \"$ac_try\"") >&5
6340 (eval $ac_try) 2>&5 6348 (eval $ac_try) 2>&5
6341 ac_status=$? 6349 ac_status=$?
6342 echo "$as_me:6342: \$? = $ac_status" >&5 6350 echo "$as_me:6350: \$? = $ac_status" >&5
6343 (exit $ac_status); }; }; then 6351 (exit $ac_status); }; }; then
6344 eval "$as_ac_var=yes" 6352 eval "$as_ac_var=yes"
6345 else 6353 else
6346 echo "$as_me: failed program was:" >&5 6354 echo "$as_me: failed program was:" >&5
6347 cat conftest.$ac_ext >&5 6355 cat conftest.$ac_ext >&5
6348 eval "$as_ac_var=no" 6356 eval "$as_ac_var=no"
6349 fi 6357 fi
6350 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6358 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6351 fi 6359 fi
6352 echo "$as_me:6352: result: `eval echo '${'$as_ac_var'}'`" >&5 6360 echo "$as_me:6360: result: `eval echo '${'$as_ac_var'}'`" >&5
6353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6361 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6354 if test `eval echo '${'$as_ac_var'}'` = yes; then 6362 if test `eval echo '${'$as_ac_var'}'` = yes; then
6355 cat >>confdefs.h <<EOF 6363 cat >>confdefs.h <<EOF
6356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 6364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6357 EOF 6365 EOF
6360 done 6368 done
6361 6369
6362 fi 6370 fi
6363 6371
6364 if test "${window_system}" = "x11"; then 6372 if test "${window_system}" = "x11"; then
6365 echo "$as_me:6365: checking X11 version 6" >&5 6373 echo "$as_me:6373: checking X11 version 6" >&5
6366 echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6 6374 echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6
6367 if test "${emacs_cv_x11_version_6+set}" = set; then 6375 if test "${emacs_cv_x11_version_6+set}" = set; then
6368 echo $ECHO_N "(cached) $ECHO_C" >&6 6376 echo $ECHO_N "(cached) $ECHO_C" >&6
6369 else 6377 else
6370 cat >conftest.$ac_ext <<_ACEOF 6378 cat >conftest.$ac_ext <<_ACEOF
6371 #line 6371 "configure" 6379 #line 6379 "configure"
6372 #include "confdefs.h" 6380 #include "confdefs.h"
6373 #include <X11/Xlib.h> 6381 #include <X11/Xlib.h>
6374 int 6382 int
6375 main () 6383 main ()
6376 { 6384 {
6381 ; 6389 ;
6382 return 0; 6390 return 0;
6383 } 6391 }
6384 _ACEOF 6392 _ACEOF
6385 rm -f conftest.$ac_objext conftest$ac_exeext 6393 rm -f conftest.$ac_objext conftest$ac_exeext
6386 if { (eval echo "$as_me:6386: \"$ac_link\"") >&5 6394 if { (eval echo "$as_me:6394: \"$ac_link\"") >&5
6387 (eval $ac_link) 2>&5 6395 (eval $ac_link) 2>&5
6388 ac_status=$? 6396 ac_status=$?
6389 echo "$as_me:6389: \$? = $ac_status" >&5 6397 echo "$as_me:6397: \$? = $ac_status" >&5
6390 (exit $ac_status); } && 6398 (exit $ac_status); } &&
6391 { ac_try='test -s conftest$ac_exeext' 6399 { ac_try='test -s conftest$ac_exeext'
6392 { (eval echo "$as_me:6392: \"$ac_try\"") >&5 6400 { (eval echo "$as_me:6400: \"$ac_try\"") >&5
6393 (eval $ac_try) 2>&5 6401 (eval $ac_try) 2>&5
6394 ac_status=$? 6402 ac_status=$?
6395 echo "$as_me:6395: \$? = $ac_status" >&5 6403 echo "$as_me:6403: \$? = $ac_status" >&5
6396 (exit $ac_status); }; }; then 6404 (exit $ac_status); }; }; then
6397 emacs_cv_x11_version_6=yes 6405 emacs_cv_x11_version_6=yes
6398 else 6406 else
6399 echo "$as_me: failed program was:" >&5 6407 echo "$as_me: failed program was:" >&5
6400 cat conftest.$ac_ext >&5 6408 cat conftest.$ac_ext >&5
6402 fi 6410 fi
6403 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6411 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6404 fi 6412 fi
6405 6413
6406 if test $emacs_cv_x11_version_6 = yes; then 6414 if test $emacs_cv_x11_version_6 = yes; then
6407 echo "$as_me:6407: result: 6 or newer" >&5 6415 echo "$as_me:6415: result: 6 or newer" >&5
6408 echo "${ECHO_T}6 or newer" >&6 6416 echo "${ECHO_T}6 or newer" >&6
6409 cat >>confdefs.h <<\EOF 6417 cat >>confdefs.h <<\EOF
6410 #define HAVE_X11R6 1 6418 #define HAVE_X11R6 1
6411 EOF 6419 EOF
6412 6420
6413 else 6421 else
6414 echo "$as_me:6414: result: before 6" >&5 6422 echo "$as_me:6422: result: before 6" >&5
6415 echo "${ECHO_T}before 6" >&6 6423 echo "${ECHO_T}before 6" >&6
6416 fi 6424 fi
6417 fi 6425 fi
6418 6426
6419 if test "${window_system}" = "x11"; then 6427 if test "${window_system}" = "x11"; then
6420 echo "$as_me:6420: checking X11 version 5" >&5 6428 echo "$as_me:6428: checking X11 version 5" >&5
6421 echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6 6429 echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6
6422 if test "${emacs_cv_x11_version_5+set}" = set; then 6430 if test "${emacs_cv_x11_version_5+set}" = set; then
6423 echo $ECHO_N "(cached) $ECHO_C" >&6 6431 echo $ECHO_N "(cached) $ECHO_C" >&6
6424 else 6432 else
6425 cat >conftest.$ac_ext <<_ACEOF 6433 cat >conftest.$ac_ext <<_ACEOF
6426 #line 6426 "configure" 6434 #line 6434 "configure"
6427 #include "confdefs.h" 6435 #include "confdefs.h"
6428 #include <X11/Xlib.h> 6436 #include <X11/Xlib.h>
6429 int 6437 int
6430 main () 6438 main ()
6431 { 6439 {
6436 ; 6444 ;
6437 return 0; 6445 return 0;
6438 } 6446 }
6439 _ACEOF 6447 _ACEOF
6440 rm -f conftest.$ac_objext conftest$ac_exeext 6448 rm -f conftest.$ac_objext conftest$ac_exeext
6441 if { (eval echo "$as_me:6441: \"$ac_link\"") >&5 6449 if { (eval echo "$as_me:6449: \"$ac_link\"") >&5
6442 (eval $ac_link) 2>&5 6450 (eval $ac_link) 2>&5
6443 ac_status=$? 6451 ac_status=$?
6444 echo "$as_me:6444: \$? = $ac_status" >&5 6452 echo "$as_me:6452: \$? = $ac_status" >&5
6445 (exit $ac_status); } && 6453 (exit $ac_status); } &&
6446 { ac_try='test -s conftest$ac_exeext' 6454 { ac_try='test -s conftest$ac_exeext'
6447 { (eval echo "$as_me:6447: \"$ac_try\"") >&5 6455 { (eval echo "$as_me:6455: \"$ac_try\"") >&5
6448 (eval $ac_try) 2>&5 6456 (eval $ac_try) 2>&5
6449 ac_status=$? 6457 ac_status=$?
6450 echo "$as_me:6450: \$? = $ac_status" >&5 6458 echo "$as_me:6458: \$? = $ac_status" >&5
6451 (exit $ac_status); }; }; then 6459 (exit $ac_status); }; }; then
6452 emacs_cv_x11_version_5=yes 6460 emacs_cv_x11_version_5=yes
6453 else 6461 else
6454 echo "$as_me: failed program was:" >&5 6462 echo "$as_me: failed program was:" >&5
6455 cat conftest.$ac_ext >&5 6463 cat conftest.$ac_ext >&5
6457 fi 6465 fi
6458 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6466 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6459 fi 6467 fi
6460 6468
6461 if test $emacs_cv_x11_version_5 = yes; then 6469 if test $emacs_cv_x11_version_5 = yes; then
6462 echo "$as_me:6462: result: 5 or newer" >&5 6470 echo "$as_me:6470: result: 5 or newer" >&5
6463 echo "${ECHO_T}5 or newer" >&6 6471 echo "${ECHO_T}5 or newer" >&6
6464 HAVE_X11R5=yes 6472 HAVE_X11R5=yes
6465 cat >>confdefs.h <<\EOF 6473 cat >>confdefs.h <<\EOF
6466 #define HAVE_X11R5 1 6474 #define HAVE_X11R5 1
6467 EOF 6475 EOF
6468 6476
6469 else 6477 else
6470 HAVE_X11R5=no 6478 HAVE_X11R5=no
6471 echo "$as_me:6471: result: before 5" >&5 6479 echo "$as_me:6479: result: before 5" >&5
6472 echo "${ECHO_T}before 5" >&6 6480 echo "${ECHO_T}before 5" >&6
6473 fi 6481 fi
6474 fi 6482 fi
6475 6483
6476 if test x"${USE_X_TOOLKIT}" = xmaybe; then 6484 if test x"${USE_X_TOOLKIT}" = xmaybe; then
6477 if test x"${HAVE_X11R5}" = xyes; then 6485 if test x"${HAVE_X11R5}" = xyes; then
6478 echo "$as_me:6478: checking X11 version 5 with Xaw" >&5 6486 echo "$as_me:6486: checking X11 version 5 with Xaw" >&5
6479 echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6 6487 echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6
6480 if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then 6488 if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then
6481 echo $ECHO_N "(cached) $ECHO_C" >&6 6489 echo $ECHO_N "(cached) $ECHO_C" >&6
6482 else 6490 else
6483 cat >conftest.$ac_ext <<_ACEOF 6491 cat >conftest.$ac_ext <<_ACEOF
6484 #line 6484 "configure" 6492 #line 6492 "configure"
6485 #include "confdefs.h" 6493 #include "confdefs.h"
6486 6494
6487 #include <X11/Intrinsic.h> 6495 #include <X11/Intrinsic.h>
6488 #include <X11/Xaw/Simple.h> 6496 #include <X11/Xaw/Simple.h>
6489 int 6497 int
6493 ; 6501 ;
6494 return 0; 6502 return 0;
6495 } 6503 }
6496 _ACEOF 6504 _ACEOF
6497 rm -f conftest.$ac_objext conftest$ac_exeext 6505 rm -f conftest.$ac_objext conftest$ac_exeext
6498 if { (eval echo "$as_me:6498: \"$ac_link\"") >&5 6506 if { (eval echo "$as_me:6506: \"$ac_link\"") >&5
6499 (eval $ac_link) 2>&5 6507 (eval $ac_link) 2>&5
6500 ac_status=$? 6508 ac_status=$?
6501 echo "$as_me:6501: \$? = $ac_status" >&5 6509 echo "$as_me:6509: \$? = $ac_status" >&5
6502 (exit $ac_status); } && 6510 (exit $ac_status); } &&
6503 { ac_try='test -s conftest$ac_exeext' 6511 { ac_try='test -s conftest$ac_exeext'
6504 { (eval echo "$as_me:6504: \"$ac_try\"") >&5 6512 { (eval echo "$as_me:6512: \"$ac_try\"") >&5
6505 (eval $ac_try) 2>&5 6513 (eval $ac_try) 2>&5
6506 ac_status=$? 6514 ac_status=$?
6507 echo "$as_me:6507: \$? = $ac_status" >&5 6515 echo "$as_me:6515: \$? = $ac_status" >&5
6508 (exit $ac_status); }; }; then 6516 (exit $ac_status); }; }; then
6509 emacs_cv_x11_version_5_with_xaw=yes 6517 emacs_cv_x11_version_5_with_xaw=yes
6510 else 6518 else
6511 echo "$as_me: failed program was:" >&5 6519 echo "$as_me: failed program was:" >&5
6512 cat conftest.$ac_ext >&5 6520 cat conftest.$ac_ext >&5
6514 fi 6522 fi
6515 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6523 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6516 fi 6524 fi
6517 6525
6518 if test $emacs_cv_x11_version_5_with_xaw = yes; then 6526 if test $emacs_cv_x11_version_5_with_xaw = yes; then
6519 echo "$as_me:6519: result: 5 or newer, with Xaw; use toolkit by default" >&5 6527 echo "$as_me:6527: result: 5 or newer, with Xaw; use toolkit by default" >&5
6520 echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6 6528 echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6
6521 USE_X_TOOLKIT=LUCID 6529 USE_X_TOOLKIT=LUCID
6522 else 6530 else
6523 echo "$as_me:6523: result: before 5 or no Xaw; do not use toolkit by default" >&5 6531 echo "$as_me:6531: result: before 5 or no Xaw; do not use toolkit by default" >&5
6524 echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6 6532 echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6
6525 USE_X_TOOLKIT=none 6533 USE_X_TOOLKIT=none
6526 fi 6534 fi
6527 else 6535 else
6528 USE_X_TOOLKIT=none 6536 USE_X_TOOLKIT=none
6530 fi 6538 fi
6531 6539
6532 X_TOOLKIT_TYPE=$USE_X_TOOLKIT 6540 X_TOOLKIT_TYPE=$USE_X_TOOLKIT
6533 6541
6534 if test "${USE_X_TOOLKIT}" != "none"; then 6542 if test "${USE_X_TOOLKIT}" != "none"; then
6535 echo "$as_me:6535: checking X11 toolkit version" >&5 6543 echo "$as_me:6543: checking X11 toolkit version" >&5
6536 echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6 6544 echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6
6537 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then 6545 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then
6538 echo $ECHO_N "(cached) $ECHO_C" >&6 6546 echo $ECHO_N "(cached) $ECHO_C" >&6
6539 else 6547 else
6540 cat >conftest.$ac_ext <<_ACEOF 6548 cat >conftest.$ac_ext <<_ACEOF
6541 #line 6541 "configure" 6549 #line 6549 "configure"
6542 #include "confdefs.h" 6550 #include "confdefs.h"
6543 #include <X11/Intrinsic.h> 6551 #include <X11/Intrinsic.h>
6544 int 6552 int
6545 main () 6553 main ()
6546 { 6554 {
6551 ; 6559 ;
6552 return 0; 6560 return 0;
6553 } 6561 }
6554 _ACEOF 6562 _ACEOF
6555 rm -f conftest.$ac_objext conftest$ac_exeext 6563 rm -f conftest.$ac_objext conftest$ac_exeext
6556 if { (eval echo "$as_me:6556: \"$ac_link\"") >&5 6564 if { (eval echo "$as_me:6564: \"$ac_link\"") >&5
6557 (eval $ac_link) 2>&5 6565 (eval $ac_link) 2>&5
6558 ac_status=$? 6566 ac_status=$?
6559 echo "$as_me:6559: \$? = $ac_status" >&5 6567 echo "$as_me:6567: \$? = $ac_status" >&5
6560 (exit $ac_status); } && 6568 (exit $ac_status); } &&
6561 { ac_try='test -s conftest$ac_exeext' 6569 { ac_try='test -s conftest$ac_exeext'
6562 { (eval echo "$as_me:6562: \"$ac_try\"") >&5 6570 { (eval echo "$as_me:6570: \"$ac_try\"") >&5
6563 (eval $ac_try) 2>&5 6571 (eval $ac_try) 2>&5
6564 ac_status=$? 6572 ac_status=$?
6565 echo "$as_me:6565: \$? = $ac_status" >&5 6573 echo "$as_me:6573: \$? = $ac_status" >&5
6566 (exit $ac_status); }; }; then 6574 (exit $ac_status); }; }; then
6567 emacs_cv_x11_toolkit_version_6=yes 6575 emacs_cv_x11_toolkit_version_6=yes
6568 else 6576 else
6569 echo "$as_me: failed program was:" >&5 6577 echo "$as_me: failed program was:" >&5
6570 cat conftest.$ac_ext >&5 6578 cat conftest.$ac_ext >&5
6573 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6581 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6574 fi 6582 fi
6575 6583
6576 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6 6584 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6
6577 if test $emacs_cv_x11_toolkit_version_6 = yes; then 6585 if test $emacs_cv_x11_toolkit_version_6 = yes; then
6578 echo "$as_me:6578: result: 6 or newer" >&5 6586 echo "$as_me:6586: result: 6 or newer" >&5
6579 echo "${ECHO_T}6 or newer" >&6 6587 echo "${ECHO_T}6 or newer" >&6
6580 cat >>confdefs.h <<\EOF 6588 cat >>confdefs.h <<\EOF
6581 #define HAVE_X11XTR6 1 6589 #define HAVE_X11XTR6 1
6582 EOF 6590 EOF
6583 6591
6584 else 6592 else
6585 echo "$as_me:6585: result: before 6" >&5 6593 echo "$as_me:6593: result: before 6" >&5
6586 echo "${ECHO_T}before 6" >&6 6594 echo "${ECHO_T}before 6" >&6
6587 fi 6595 fi
6588 6596
6589 OLDLIBS="$LIBS" 6597 OLDLIBS="$LIBS"
6590 if test x$HAVE_X11XTR6 = xyes; then 6598 if test x$HAVE_X11XTR6 = xyes; then
6591 LIBS="-lXt -lSM -lICE $LIBS" 6599 LIBS="-lXt -lSM -lICE $LIBS"
6592 else 6600 else
6593 LIBS="-lXt $LIBS" 6601 LIBS="-lXt $LIBS"
6594 fi 6602 fi
6595 6603
6596 echo "$as_me:6596: checking for XmuConvertStandardSelection in -lXmu" >&5 6604 echo "$as_me:6604: checking for XmuConvertStandardSelection in -lXmu" >&5
6597 echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6 6605 echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6
6598 if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then 6606 if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then
6599 echo $ECHO_N "(cached) $ECHO_C" >&6 6607 echo $ECHO_N "(cached) $ECHO_C" >&6
6600 else 6608 else
6601 ac_check_lib_save_LIBS=$LIBS 6609 ac_check_lib_save_LIBS=$LIBS
6602 LIBS="-lXmu $LIBS" 6610 LIBS="-lXmu $LIBS"
6603 cat >conftest.$ac_ext <<_ACEOF 6611 cat >conftest.$ac_ext <<_ACEOF
6604 #line 6604 "configure" 6612 #line 6612 "configure"
6605 #include "confdefs.h" 6613 #include "confdefs.h"
6606 6614
6607 /* Override any gcc2 internal prototype to avoid an error. */ 6615 /* Override any gcc2 internal prototype to avoid an error. */
6608 #ifdef __cplusplus 6616 #ifdef __cplusplus
6609 extern "C" 6617 extern "C"
6618 ; 6626 ;
6619 return 0; 6627 return 0;
6620 } 6628 }
6621 _ACEOF 6629 _ACEOF
6622 rm -f conftest.$ac_objext conftest$ac_exeext 6630 rm -f conftest.$ac_objext conftest$ac_exeext
6623 if { (eval echo "$as_me:6623: \"$ac_link\"") >&5 6631 if { (eval echo "$as_me:6631: \"$ac_link\"") >&5
6624 (eval $ac_link) 2>&5 6632 (eval $ac_link) 2>&5
6625 ac_status=$? 6633 ac_status=$?
6626 echo "$as_me:6626: \$? = $ac_status" >&5 6634 echo "$as_me:6634: \$? = $ac_status" >&5
6627 (exit $ac_status); } && 6635 (exit $ac_status); } &&
6628 { ac_try='test -s conftest$ac_exeext' 6636 { ac_try='test -s conftest$ac_exeext'
6629 { (eval echo "$as_me:6629: \"$ac_try\"") >&5 6637 { (eval echo "$as_me:6637: \"$ac_try\"") >&5
6630 (eval $ac_try) 2>&5 6638 (eval $ac_try) 2>&5
6631 ac_status=$? 6639 ac_status=$?
6632 echo "$as_me:6632: \$? = $ac_status" >&5 6640 echo "$as_me:6640: \$? = $ac_status" >&5
6633 (exit $ac_status); }; }; then 6641 (exit $ac_status); }; }; then
6634 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes 6642 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes
6635 else 6643 else
6636 echo "$as_me: failed program was:" >&5 6644 echo "$as_me: failed program was:" >&5
6637 cat conftest.$ac_ext >&5 6645 cat conftest.$ac_ext >&5
6638 ac_cv_lib_Xmu_XmuConvertStandardSelection=no 6646 ac_cv_lib_Xmu_XmuConvertStandardSelection=no
6639 fi 6647 fi
6640 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6648 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6641 LIBS=$ac_check_lib_save_LIBS 6649 LIBS=$ac_check_lib_save_LIBS
6642 fi 6650 fi
6643 echo "$as_me:6643: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5 6651 echo "$as_me:6651: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5
6644 echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6 6652 echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6
6645 if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then 6653 if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then
6646 cat >>confdefs.h <<EOF 6654 cat >>confdefs.h <<EOF
6647 #define HAVE_LIBXMU 1 6655 #define HAVE_LIBXMU 1
6648 EOF 6656 EOF
6656 6664
6657 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D. 6665 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D.
6658 if test "${HAVE_X11}" = "yes"; then 6666 if test "${HAVE_X11}" = "yes"; then
6659 if test "${USE_X_TOOLKIT}" != "none"; then 6667 if test "${USE_X_TOOLKIT}" != "none"; then
6660 6668
6661 echo "$as_me:6661: checking for XShapeQueryExtension in -lXext" >&5 6669 echo "$as_me:6669: checking for XShapeQueryExtension in -lXext" >&5
6662 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6 6670 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
6663 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then 6671 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
6664 echo $ECHO_N "(cached) $ECHO_C" >&6 6672 echo $ECHO_N "(cached) $ECHO_C" >&6
6665 else 6673 else
6666 ac_check_lib_save_LIBS=$LIBS 6674 ac_check_lib_save_LIBS=$LIBS
6667 LIBS="-lXext $LIBS" 6675 LIBS="-lXext $LIBS"
6668 cat >conftest.$ac_ext <<_ACEOF 6676 cat >conftest.$ac_ext <<_ACEOF
6669 #line 6669 "configure" 6677 #line 6677 "configure"
6670 #include "confdefs.h" 6678 #include "confdefs.h"
6671 6679
6672 /* Override any gcc2 internal prototype to avoid an error. */ 6680 /* Override any gcc2 internal prototype to avoid an error. */
6673 #ifdef __cplusplus 6681 #ifdef __cplusplus
6674 extern "C" 6682 extern "C"
6683 ; 6691 ;
6684 return 0; 6692 return 0;
6685 } 6693 }
6686 _ACEOF 6694 _ACEOF
6687 rm -f conftest.$ac_objext conftest$ac_exeext 6695 rm -f conftest.$ac_objext conftest$ac_exeext
6688 if { (eval echo "$as_me:6688: \"$ac_link\"") >&5 6696 if { (eval echo "$as_me:6696: \"$ac_link\"") >&5
6689 (eval $ac_link) 2>&5 6697 (eval $ac_link) 2>&5
6690 ac_status=$? 6698 ac_status=$?
6691 echo "$as_me:6691: \$? = $ac_status" >&5 6699 echo "$as_me:6699: \$? = $ac_status" >&5
6692 (exit $ac_status); } && 6700 (exit $ac_status); } &&
6693 { ac_try='test -s conftest$ac_exeext' 6701 { ac_try='test -s conftest$ac_exeext'
6694 { (eval echo "$as_me:6694: \"$ac_try\"") >&5 6702 { (eval echo "$as_me:6702: \"$ac_try\"") >&5
6695 (eval $ac_try) 2>&5 6703 (eval $ac_try) 2>&5
6696 ac_status=$? 6704 ac_status=$?
6697 echo "$as_me:6697: \$? = $ac_status" >&5 6705 echo "$as_me:6705: \$? = $ac_status" >&5
6698 (exit $ac_status); }; }; then 6706 (exit $ac_status); }; }; then
6699 ac_cv_lib_Xext_XShapeQueryExtension=yes 6707 ac_cv_lib_Xext_XShapeQueryExtension=yes
6700 else 6708 else
6701 echo "$as_me: failed program was:" >&5 6709 echo "$as_me: failed program was:" >&5
6702 cat conftest.$ac_ext >&5 6710 cat conftest.$ac_ext >&5
6703 ac_cv_lib_Xext_XShapeQueryExtension=no 6711 ac_cv_lib_Xext_XShapeQueryExtension=no
6704 fi 6712 fi
6705 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6713 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6706 LIBS=$ac_check_lib_save_LIBS 6714 LIBS=$ac_check_lib_save_LIBS
6707 fi 6715 fi
6708 echo "$as_me:6708: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 6716 echo "$as_me:6716: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
6709 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6 6717 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
6710 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then 6718 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
6711 cat >>confdefs.h <<EOF 6719 cat >>confdefs.h <<EOF
6712 #define HAVE_LIBXEXT 1 6720 #define HAVE_LIBXEXT 1
6713 EOF 6721 EOF
6718 6726
6719 fi 6727 fi
6720 fi 6728 fi
6721 6729
6722 if test "${USE_X_TOOLKIT}" = "MOTIF"; then 6730 if test "${USE_X_TOOLKIT}" = "MOTIF"; then
6723 echo "$as_me:6723: checking for Motif version 2.1" >&5 6731 echo "$as_me:6731: checking for Motif version 2.1" >&5
6724 echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6 6732 echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6
6725 if test "${emacs_cv_motif_version_2_1+set}" = set; then 6733 if test "${emacs_cv_motif_version_2_1+set}" = set; then
6726 echo $ECHO_N "(cached) $ECHO_C" >&6 6734 echo $ECHO_N "(cached) $ECHO_C" >&6
6727 else 6735 else
6728 cat >conftest.$ac_ext <<_ACEOF 6736 cat >conftest.$ac_ext <<_ACEOF
6729 #line 6729 "configure" 6737 #line 6737 "configure"
6730 #include "confdefs.h" 6738 #include "confdefs.h"
6731 #include <Xm/Xm.h> 6739 #include <Xm/Xm.h>
6732 int 6740 int
6733 main () 6741 main ()
6734 { 6742 {
6740 ; 6748 ;
6741 return 0; 6749 return 0;
6742 } 6750 }
6743 _ACEOF 6751 _ACEOF
6744 rm -f conftest.$ac_objext 6752 rm -f conftest.$ac_objext
6745 if { (eval echo "$as_me:6745: \"$ac_compile\"") >&5 6753 if { (eval echo "$as_me:6753: \"$ac_compile\"") >&5
6746 (eval $ac_compile) 2>&5 6754 (eval $ac_compile) 2>&5
6747 ac_status=$? 6755 ac_status=$?
6748 echo "$as_me:6748: \$? = $ac_status" >&5 6756 echo "$as_me:6756: \$? = $ac_status" >&5
6749 (exit $ac_status); } && 6757 (exit $ac_status); } &&
6750 { ac_try='test -s conftest.$ac_objext' 6758 { ac_try='test -s conftest.$ac_objext'
6751 { (eval echo "$as_me:6751: \"$ac_try\"") >&5 6759 { (eval echo "$as_me:6759: \"$ac_try\"") >&5
6752 (eval $ac_try) 2>&5 6760 (eval $ac_try) 2>&5
6753 ac_status=$? 6761 ac_status=$?
6754 echo "$as_me:6754: \$? = $ac_status" >&5 6762 echo "$as_me:6762: \$? = $ac_status" >&5
6755 (exit $ac_status); }; }; then 6763 (exit $ac_status); }; }; then
6756 emacs_cv_motif_version_2_1=yes 6764 emacs_cv_motif_version_2_1=yes
6757 else 6765 else
6758 echo "$as_me: failed program was:" >&5 6766 echo "$as_me: failed program was:" >&5
6759 cat conftest.$ac_ext >&5 6767 cat conftest.$ac_ext >&5
6760 emacs_cv_motif_version_2_1=no 6768 emacs_cv_motif_version_2_1=no
6761 fi 6769 fi
6762 rm -f conftest.$ac_objext conftest.$ac_ext 6770 rm -f conftest.$ac_objext conftest.$ac_ext
6763 fi 6771 fi
6764 echo "$as_me:6764: result: $emacs_cv_motif_version_2_1" >&5 6772 echo "$as_me:6772: result: $emacs_cv_motif_version_2_1" >&5
6765 echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6 6773 echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6
6766 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1 6774 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1
6767 if test $emacs_cv_motif_version_2_1 = yes; then 6775 if test $emacs_cv_motif_version_2_1 = yes; then
6768 HAVE_LIBXP=no 6776 HAVE_LIBXP=no
6769 cat >>confdefs.h <<\EOF 6777 cat >>confdefs.h <<\EOF
6770 #define HAVE_MOTIF_2_1 1 6778 #define HAVE_MOTIF_2_1 1
6771 EOF 6779 EOF
6772 6780
6773 echo "$as_me:6773: checking for XpCreateContext in -lXp" >&5 6781 echo "$as_me:6781: checking for XpCreateContext in -lXp" >&5
6774 echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6 6782 echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6
6775 if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then 6783 if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then
6776 echo $ECHO_N "(cached) $ECHO_C" >&6 6784 echo $ECHO_N "(cached) $ECHO_C" >&6
6777 else 6785 else
6778 ac_check_lib_save_LIBS=$LIBS 6786 ac_check_lib_save_LIBS=$LIBS
6779 LIBS="-lXp $LIBS" 6787 LIBS="-lXp $LIBS"
6780 cat >conftest.$ac_ext <<_ACEOF 6788 cat >conftest.$ac_ext <<_ACEOF
6781 #line 6781 "configure" 6789 #line 6789 "configure"
6782 #include "confdefs.h" 6790 #include "confdefs.h"
6783 6791
6784 /* Override any gcc2 internal prototype to avoid an error. */ 6792 /* Override any gcc2 internal prototype to avoid an error. */
6785 #ifdef __cplusplus 6793 #ifdef __cplusplus
6786 extern "C" 6794 extern "C"
6795 ; 6803 ;
6796 return 0; 6804 return 0;
6797 } 6805 }
6798 _ACEOF 6806 _ACEOF
6799 rm -f conftest.$ac_objext conftest$ac_exeext 6807 rm -f conftest.$ac_objext conftest$ac_exeext
6800 if { (eval echo "$as_me:6800: \"$ac_link\"") >&5 6808 if { (eval echo "$as_me:6808: \"$ac_link\"") >&5
6801 (eval $ac_link) 2>&5 6809 (eval $ac_link) 2>&5
6802 ac_status=$? 6810 ac_status=$?
6803 echo "$as_me:6803: \$? = $ac_status" >&5 6811 echo "$as_me:6811: \$? = $ac_status" >&5
6804 (exit $ac_status); } && 6812 (exit $ac_status); } &&
6805 { ac_try='test -s conftest$ac_exeext' 6813 { ac_try='test -s conftest$ac_exeext'
6806 { (eval echo "$as_me:6806: \"$ac_try\"") >&5 6814 { (eval echo "$as_me:6814: \"$ac_try\"") >&5
6807 (eval $ac_try) 2>&5 6815 (eval $ac_try) 2>&5
6808 ac_status=$? 6816 ac_status=$?
6809 echo "$as_me:6809: \$? = $ac_status" >&5 6817 echo "$as_me:6817: \$? = $ac_status" >&5
6810 (exit $ac_status); }; }; then 6818 (exit $ac_status); }; }; then
6811 ac_cv_lib_Xp_XpCreateContext=yes 6819 ac_cv_lib_Xp_XpCreateContext=yes
6812 else 6820 else
6813 echo "$as_me: failed program was:" >&5 6821 echo "$as_me: failed program was:" >&5
6814 cat conftest.$ac_ext >&5 6822 cat conftest.$ac_ext >&5
6815 ac_cv_lib_Xp_XpCreateContext=no 6823 ac_cv_lib_Xp_XpCreateContext=no
6816 fi 6824 fi
6817 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6825 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6818 LIBS=$ac_check_lib_save_LIBS 6826 LIBS=$ac_check_lib_save_LIBS
6819 fi 6827 fi
6820 echo "$as_me:6820: result: $ac_cv_lib_Xp_XpCreateContext" >&5 6828 echo "$as_me:6828: result: $ac_cv_lib_Xp_XpCreateContext" >&5
6821 echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6 6829 echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6
6822 if test $ac_cv_lib_Xp_XpCreateContext = yes; then 6830 if test $ac_cv_lib_Xp_XpCreateContext = yes; then
6823 HAVE_LIBXP=yes 6831 HAVE_LIBXP=yes
6824 fi 6832 fi
6825 6833
6834 6842
6835 ### Is -lXaw3d available? 6843 ### Is -lXaw3d available?
6836 HAVE_XAW3D=no 6844 HAVE_XAW3D=no
6837 if test "${HAVE_X11}" = "yes"; then 6845 if test "${HAVE_X11}" = "yes"; then
6838 if test "${USE_X_TOOLKIT}" != "none"; then 6846 if test "${USE_X_TOOLKIT}" != "none"; then
6839 echo "$as_me:6839: checking for X11/Xaw3d/Scrollbar.h" >&5 6847 echo "$as_me:6847: checking for X11/Xaw3d/Scrollbar.h" >&5
6840 echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6 6848 echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6
6841 if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then 6849 if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then
6842 echo $ECHO_N "(cached) $ECHO_C" >&6 6850 echo $ECHO_N "(cached) $ECHO_C" >&6
6843 else 6851 else
6844 cat >conftest.$ac_ext <<_ACEOF 6852 cat >conftest.$ac_ext <<_ACEOF
6845 #line 6845 "configure" 6853 #line 6853 "configure"
6846 #include "confdefs.h" 6854 #include "confdefs.h"
6847 #include <X11/Xaw3d/Scrollbar.h> 6855 #include <X11/Xaw3d/Scrollbar.h>
6848 _ACEOF 6856 _ACEOF
6849 if { (eval echo "$as_me:6849: \"$ac_cpp conftest.$ac_ext\"") >&5 6857 if { (eval echo "$as_me:6857: \"$ac_cpp conftest.$ac_ext\"") >&5
6850 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6858 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6851 ac_status=$? 6859 ac_status=$?
6852 egrep -v '^ *\+' conftest.er1 >conftest.err 6860 egrep -v '^ *\+' conftest.er1 >conftest.err
6853 rm -f conftest.er1 6861 rm -f conftest.er1
6854 cat conftest.err >&5 6862 cat conftest.err >&5
6855 echo "$as_me:6855: \$? = $ac_status" >&5 6863 echo "$as_me:6863: \$? = $ac_status" >&5
6856 (exit $ac_status); } >/dev/null; then 6864 (exit $ac_status); } >/dev/null; then
6857 if test -s conftest.err; then 6865 if test -s conftest.err; then
6858 ac_cpp_err=$ac_c_preproc_warn_flag 6866 ac_cpp_err=$ac_c_preproc_warn_flag
6859 else 6867 else
6860 ac_cpp_err= 6868 ac_cpp_err=
6869 cat conftest.$ac_ext >&5 6877 cat conftest.$ac_ext >&5
6870 ac_cv_header_X11_Xaw3d_Scrollbar_h=no 6878 ac_cv_header_X11_Xaw3d_Scrollbar_h=no
6871 fi 6879 fi
6872 rm -f conftest.err conftest.$ac_ext 6880 rm -f conftest.err conftest.$ac_ext
6873 fi 6881 fi
6874 echo "$as_me:6874: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5 6882 echo "$as_me:6882: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5
6875 echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6 6883 echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6
6876 if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then 6884 if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then
6877 echo "$as_me:6877: checking for XawScrollbarSetThumb in -lXaw3d" >&5 6885 echo "$as_me:6885: checking for XawScrollbarSetThumb in -lXaw3d" >&5
6878 echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6 6886 echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6
6879 if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then 6887 if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then
6880 echo $ECHO_N "(cached) $ECHO_C" >&6 6888 echo $ECHO_N "(cached) $ECHO_C" >&6
6881 else 6889 else
6882 ac_check_lib_save_LIBS=$LIBS 6890 ac_check_lib_save_LIBS=$LIBS
6883 LIBS="-lXaw3d $LIBS" 6891 LIBS="-lXaw3d $LIBS"
6884 cat >conftest.$ac_ext <<_ACEOF 6892 cat >conftest.$ac_ext <<_ACEOF
6885 #line 6885 "configure" 6893 #line 6893 "configure"
6886 #include "confdefs.h" 6894 #include "confdefs.h"
6887 6895
6888 /* Override any gcc2 internal prototype to avoid an error. */ 6896 /* Override any gcc2 internal prototype to avoid an error. */
6889 #ifdef __cplusplus 6897 #ifdef __cplusplus
6890 extern "C" 6898 extern "C"
6899 ; 6907 ;
6900 return 0; 6908 return 0;
6901 } 6909 }
6902 _ACEOF 6910 _ACEOF
6903 rm -f conftest.$ac_objext conftest$ac_exeext 6911 rm -f conftest.$ac_objext conftest$ac_exeext
6904 if { (eval echo "$as_me:6904: \"$ac_link\"") >&5 6912 if { (eval echo "$as_me:6912: \"$ac_link\"") >&5
6905 (eval $ac_link) 2>&5 6913 (eval $ac_link) 2>&5
6906 ac_status=$? 6914 ac_status=$?
6907 echo "$as_me:6907: \$? = $ac_status" >&5 6915 echo "$as_me:6915: \$? = $ac_status" >&5
6908 (exit $ac_status); } && 6916 (exit $ac_status); } &&
6909 { ac_try='test -s conftest$ac_exeext' 6917 { ac_try='test -s conftest$ac_exeext'
6910 { (eval echo "$as_me:6910: \"$ac_try\"") >&5 6918 { (eval echo "$as_me:6918: \"$ac_try\"") >&5
6911 (eval $ac_try) 2>&5 6919 (eval $ac_try) 2>&5
6912 ac_status=$? 6920 ac_status=$?
6913 echo "$as_me:6913: \$? = $ac_status" >&5 6921 echo "$as_me:6921: \$? = $ac_status" >&5
6914 (exit $ac_status); }; }; then 6922 (exit $ac_status); }; }; then
6915 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes 6923 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes
6916 else 6924 else
6917 echo "$as_me: failed program was:" >&5 6925 echo "$as_me: failed program was:" >&5
6918 cat conftest.$ac_ext >&5 6926 cat conftest.$ac_ext >&5
6919 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=no 6927 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=no
6920 fi 6928 fi
6921 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6929 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6922 LIBS=$ac_check_lib_save_LIBS 6930 LIBS=$ac_check_lib_save_LIBS
6923 fi 6931 fi
6924 echo "$as_me:6924: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5 6932 echo "$as_me:6932: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5
6925 echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6 6933 echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6
6926 if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then 6934 if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then
6927 HAVE_XAW3D=yes 6935 HAVE_XAW3D=yes
6928 fi 6936 fi
6929 6937
6967 6975
6968 ### Use -lXpm if available, unless `--with-xpm=no'. 6976 ### Use -lXpm if available, unless `--with-xpm=no'.
6969 HAVE_XPM=no 6977 HAVE_XPM=no
6970 if test "${HAVE_X11}" = "yes"; then 6978 if test "${HAVE_X11}" = "yes"; then
6971 if test "${with_xpm}" != "no"; then 6979 if test "${with_xpm}" != "no"; then
6972 echo "$as_me:6972: checking for X11/xpm.h" >&5 6980 echo "$as_me:6980: checking for X11/xpm.h" >&5
6973 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6 6981 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
6974 if test "${ac_cv_header_X11_xpm_h+set}" = set; then 6982 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
6975 echo $ECHO_N "(cached) $ECHO_C" >&6 6983 echo $ECHO_N "(cached) $ECHO_C" >&6
6976 else 6984 else
6977 cat >conftest.$ac_ext <<_ACEOF 6985 cat >conftest.$ac_ext <<_ACEOF
6978 #line 6978 "configure" 6986 #line 6986 "configure"
6979 #include "confdefs.h" 6987 #include "confdefs.h"
6980 #include <X11/xpm.h> 6988 #include <X11/xpm.h>
6981 _ACEOF 6989 _ACEOF
6982 if { (eval echo "$as_me:6982: \"$ac_cpp conftest.$ac_ext\"") >&5 6990 if { (eval echo "$as_me:6990: \"$ac_cpp conftest.$ac_ext\"") >&5
6983 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6991 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6984 ac_status=$? 6992 ac_status=$?
6985 egrep -v '^ *\+' conftest.er1 >conftest.err 6993 egrep -v '^ *\+' conftest.er1 >conftest.err
6986 rm -f conftest.er1 6994 rm -f conftest.er1
6987 cat conftest.err >&5 6995 cat conftest.err >&5
6988 echo "$as_me:6988: \$? = $ac_status" >&5 6996 echo "$as_me:6996: \$? = $ac_status" >&5
6989 (exit $ac_status); } >/dev/null; then 6997 (exit $ac_status); } >/dev/null; then
6990 if test -s conftest.err; then 6998 if test -s conftest.err; then
6991 ac_cpp_err=$ac_c_preproc_warn_flag 6999 ac_cpp_err=$ac_c_preproc_warn_flag
6992 else 7000 else
6993 ac_cpp_err= 7001 ac_cpp_err=
7002 cat conftest.$ac_ext >&5 7010 cat conftest.$ac_ext >&5
7003 ac_cv_header_X11_xpm_h=no 7011 ac_cv_header_X11_xpm_h=no
7004 fi 7012 fi
7005 rm -f conftest.err conftest.$ac_ext 7013 rm -f conftest.err conftest.$ac_ext
7006 fi 7014 fi
7007 echo "$as_me:7007: result: $ac_cv_header_X11_xpm_h" >&5 7015 echo "$as_me:7015: result: $ac_cv_header_X11_xpm_h" >&5
7008 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6 7016 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6
7009 if test $ac_cv_header_X11_xpm_h = yes; then 7017 if test $ac_cv_header_X11_xpm_h = yes; then
7010 echo "$as_me:7010: checking for XpmReadFileToPixmap in -lXpm" >&5 7018 echo "$as_me:7018: checking for XpmReadFileToPixmap in -lXpm" >&5
7011 echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6 7019 echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6
7012 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then 7020 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then
7013 echo $ECHO_N "(cached) $ECHO_C" >&6 7021 echo $ECHO_N "(cached) $ECHO_C" >&6
7014 else 7022 else
7015 ac_check_lib_save_LIBS=$LIBS 7023 ac_check_lib_save_LIBS=$LIBS
7016 LIBS="-lXpm -lX11 $LIBS" 7024 LIBS="-lXpm -lX11 $LIBS"
7017 cat >conftest.$ac_ext <<_ACEOF 7025 cat >conftest.$ac_ext <<_ACEOF
7018 #line 7018 "configure" 7026 #line 7026 "configure"
7019 #include "confdefs.h" 7027 #include "confdefs.h"
7020 7028
7021 /* Override any gcc2 internal prototype to avoid an error. */ 7029 /* Override any gcc2 internal prototype to avoid an error. */
7022 #ifdef __cplusplus 7030 #ifdef __cplusplus
7023 extern "C" 7031 extern "C"
7032 ; 7040 ;
7033 return 0; 7041 return 0;
7034 } 7042 }
7035 _ACEOF 7043 _ACEOF
7036 rm -f conftest.$ac_objext conftest$ac_exeext 7044 rm -f conftest.$ac_objext conftest$ac_exeext
7037 if { (eval echo "$as_me:7037: \"$ac_link\"") >&5 7045 if { (eval echo "$as_me:7045: \"$ac_link\"") >&5
7038 (eval $ac_link) 2>&5 7046 (eval $ac_link) 2>&5
7039 ac_status=$? 7047 ac_status=$?
7040 echo "$as_me:7040: \$? = $ac_status" >&5 7048 echo "$as_me:7048: \$? = $ac_status" >&5
7041 (exit $ac_status); } && 7049 (exit $ac_status); } &&
7042 { ac_try='test -s conftest$ac_exeext' 7050 { ac_try='test -s conftest$ac_exeext'
7043 { (eval echo "$as_me:7043: \"$ac_try\"") >&5 7051 { (eval echo "$as_me:7051: \"$ac_try\"") >&5
7044 (eval $ac_try) 2>&5 7052 (eval $ac_try) 2>&5
7045 ac_status=$? 7053 ac_status=$?
7046 echo "$as_me:7046: \$? = $ac_status" >&5 7054 echo "$as_me:7054: \$? = $ac_status" >&5
7047 (exit $ac_status); }; }; then 7055 (exit $ac_status); }; }; then
7048 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes 7056 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes
7049 else 7057 else
7050 echo "$as_me: failed program was:" >&5 7058 echo "$as_me: failed program was:" >&5
7051 cat conftest.$ac_ext >&5 7059 cat conftest.$ac_ext >&5
7052 ac_cv_lib_Xpm_XpmReadFileToPixmap=no 7060 ac_cv_lib_Xpm_XpmReadFileToPixmap=no
7053 fi 7061 fi
7054 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7062 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7055 LIBS=$ac_check_lib_save_LIBS 7063 LIBS=$ac_check_lib_save_LIBS
7056 fi 7064 fi
7057 echo "$as_me:7057: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5 7065 echo "$as_me:7065: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
7058 echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6 7066 echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6
7059 if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then 7067 if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then
7060 HAVE_XPM=yes 7068 HAVE_XPM=yes
7061 fi 7069 fi
7062 7070
7063 fi 7071 fi
7064 7072
7065 if test "${HAVE_XPM}" = "yes"; then 7073 if test "${HAVE_XPM}" = "yes"; then
7066 echo "$as_me:7066: checking for XpmReturnAllocPixels preprocessor define" >&5 7074 echo "$as_me:7074: checking for XpmReturnAllocPixels preprocessor define" >&5
7067 echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6 7075 echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6
7068 cat >conftest.$ac_ext <<_ACEOF 7076 cat >conftest.$ac_ext <<_ACEOF
7069 #line 7069 "configure" 7077 #line 7077 "configure"
7070 #include "confdefs.h" 7078 #include "confdefs.h"
7071 #include "X11/xpm.h" 7079 #include "X11/xpm.h"
7072 #ifndef XpmReturnAllocPixels 7080 #ifndef XpmReturnAllocPixels
7073 no_return_alloc_pixels 7081 no_return_alloc_pixels
7074 #endif 7082 #endif
7081 HAVE_XPM=yes 7089 HAVE_XPM=yes
7082 fi 7090 fi
7083 rm -f conftest* 7091 rm -f conftest*
7084 7092
7085 if test "${HAVE_XPM}" = "yes"; then 7093 if test "${HAVE_XPM}" = "yes"; then
7086 echo "$as_me:7086: result: yes" >&5 7094 echo "$as_me:7094: result: yes" >&5
7087 echo "${ECHO_T}yes" >&6 7095 echo "${ECHO_T}yes" >&6
7088 else 7096 else
7089 echo "$as_me:7089: result: no" >&5 7097 echo "$as_me:7097: result: no" >&5
7090 echo "${ECHO_T}no" >&6 7098 echo "${ECHO_T}no" >&6
7091 fi 7099 fi
7092 fi 7100 fi
7093 fi 7101 fi
7094 7102
7102 7110
7103 ### Use -ljpeg if available, unless `--with-jpeg=no'. 7111 ### Use -ljpeg if available, unless `--with-jpeg=no'.
7104 HAVE_JPEG=no 7112 HAVE_JPEG=no
7105 if test "${HAVE_X11}" = "yes"; then 7113 if test "${HAVE_X11}" = "yes"; then
7106 if test "${with_jpeg}" != "no"; then 7114 if test "${with_jpeg}" != "no"; then
7107 echo "$as_me:7107: checking for jerror.h" >&5 7115 echo "$as_me:7115: checking for jerror.h" >&5
7108 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6 7116 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6
7109 if test "${ac_cv_header_jerror_h+set}" = set; then 7117 if test "${ac_cv_header_jerror_h+set}" = set; then
7110 echo $ECHO_N "(cached) $ECHO_C" >&6 7118 echo $ECHO_N "(cached) $ECHO_C" >&6
7111 else 7119 else
7112 cat >conftest.$ac_ext <<_ACEOF 7120 cat >conftest.$ac_ext <<_ACEOF
7113 #line 7113 "configure" 7121 #line 7121 "configure"
7114 #include "confdefs.h" 7122 #include "confdefs.h"
7115 #include <jerror.h> 7123 #include <jerror.h>
7116 _ACEOF 7124 _ACEOF
7117 if { (eval echo "$as_me:7117: \"$ac_cpp conftest.$ac_ext\"") >&5 7125 if { (eval echo "$as_me:7125: \"$ac_cpp conftest.$ac_ext\"") >&5
7118 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7126 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7119 ac_status=$? 7127 ac_status=$?
7120 egrep -v '^ *\+' conftest.er1 >conftest.err 7128 egrep -v '^ *\+' conftest.er1 >conftest.err
7121 rm -f conftest.er1 7129 rm -f conftest.er1
7122 cat conftest.err >&5 7130 cat conftest.err >&5
7123 echo "$as_me:7123: \$? = $ac_status" >&5 7131 echo "$as_me:7131: \$? = $ac_status" >&5
7124 (exit $ac_status); } >/dev/null; then 7132 (exit $ac_status); } >/dev/null; then
7125 if test -s conftest.err; then 7133 if test -s conftest.err; then
7126 ac_cpp_err=$ac_c_preproc_warn_flag 7134 ac_cpp_err=$ac_c_preproc_warn_flag
7127 else 7135 else
7128 ac_cpp_err= 7136 ac_cpp_err=
7137 cat conftest.$ac_ext >&5 7145 cat conftest.$ac_ext >&5
7138 ac_cv_header_jerror_h=no 7146 ac_cv_header_jerror_h=no
7139 fi 7147 fi
7140 rm -f conftest.err conftest.$ac_ext 7148 rm -f conftest.err conftest.$ac_ext
7141 fi 7149 fi
7142 echo "$as_me:7142: result: $ac_cv_header_jerror_h" >&5 7150 echo "$as_me:7150: result: $ac_cv_header_jerror_h" >&5
7143 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6 7151 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6
7144 if test $ac_cv_header_jerror_h = yes; then 7152 if test $ac_cv_header_jerror_h = yes; then
7145 echo "$as_me:7145: checking for jpeg_destroy_compress in -ljpeg" >&5 7153 echo "$as_me:7153: checking for jpeg_destroy_compress in -ljpeg" >&5
7146 echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6 7154 echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6
7147 if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then 7155 if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then
7148 echo $ECHO_N "(cached) $ECHO_C" >&6 7156 echo $ECHO_N "(cached) $ECHO_C" >&6
7149 else 7157 else
7150 ac_check_lib_save_LIBS=$LIBS 7158 ac_check_lib_save_LIBS=$LIBS
7151 LIBS="-ljpeg $LIBS" 7159 LIBS="-ljpeg $LIBS"
7152 cat >conftest.$ac_ext <<_ACEOF 7160 cat >conftest.$ac_ext <<_ACEOF
7153 #line 7153 "configure" 7161 #line 7161 "configure"
7154 #include "confdefs.h" 7162 #include "confdefs.h"
7155 7163
7156 /* Override any gcc2 internal prototype to avoid an error. */ 7164 /* Override any gcc2 internal prototype to avoid an error. */
7157 #ifdef __cplusplus 7165 #ifdef __cplusplus
7158 extern "C" 7166 extern "C"
7167 ; 7175 ;
7168 return 0; 7176 return 0;
7169 } 7177 }
7170 _ACEOF 7178 _ACEOF
7171 rm -f conftest.$ac_objext conftest$ac_exeext 7179 rm -f conftest.$ac_objext conftest$ac_exeext
7172 if { (eval echo "$as_me:7172: \"$ac_link\"") >&5 7180 if { (eval echo "$as_me:7180: \"$ac_link\"") >&5
7173 (eval $ac_link) 2>&5 7181 (eval $ac_link) 2>&5
7174 ac_status=$? 7182 ac_status=$?
7175 echo "$as_me:7175: \$? = $ac_status" >&5 7183 echo "$as_me:7183: \$? = $ac_status" >&5
7176 (exit $ac_status); } && 7184 (exit $ac_status); } &&
7177 { ac_try='test -s conftest$ac_exeext' 7185 { ac_try='test -s conftest$ac_exeext'
7178 { (eval echo "$as_me:7178: \"$ac_try\"") >&5 7186 { (eval echo "$as_me:7186: \"$ac_try\"") >&5
7179 (eval $ac_try) 2>&5 7187 (eval $ac_try) 2>&5
7180 ac_status=$? 7188 ac_status=$?
7181 echo "$as_me:7181: \$? = $ac_status" >&5 7189 echo "$as_me:7189: \$? = $ac_status" >&5
7182 (exit $ac_status); }; }; then 7190 (exit $ac_status); }; }; then
7183 ac_cv_lib_jpeg_jpeg_destroy_compress=yes 7191 ac_cv_lib_jpeg_jpeg_destroy_compress=yes
7184 else 7192 else
7185 echo "$as_me: failed program was:" >&5 7193 echo "$as_me: failed program was:" >&5
7186 cat conftest.$ac_ext >&5 7194 cat conftest.$ac_ext >&5
7187 ac_cv_lib_jpeg_jpeg_destroy_compress=no 7195 ac_cv_lib_jpeg_jpeg_destroy_compress=no
7188 fi 7196 fi
7189 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7197 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7190 LIBS=$ac_check_lib_save_LIBS 7198 LIBS=$ac_check_lib_save_LIBS
7191 fi 7199 fi
7192 echo "$as_me:7192: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5 7200 echo "$as_me:7200: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5
7193 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6 7201 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6
7194 if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then 7202 if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then
7195 HAVE_JPEG=yes 7203 HAVE_JPEG=yes
7196 fi 7204 fi
7197 7205
7209 7217
7210 ### Use -lpng if available, unless `--with-png=no'. 7218 ### Use -lpng if available, unless `--with-png=no'.
7211 HAVE_PNG=no 7219 HAVE_PNG=no
7212 if test "${HAVE_X11}" = "yes"; then 7220 if test "${HAVE_X11}" = "yes"; then
7213 if test "${with_png}" != "no"; then 7221 if test "${with_png}" != "no"; then
7214 echo "$as_me:7214: checking for png.h" >&5 7222 echo "$as_me:7222: checking for png.h" >&5
7215 echo $ECHO_N "checking for png.h... $ECHO_C" >&6 7223 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
7216 if test "${ac_cv_header_png_h+set}" = set; then 7224 if test "${ac_cv_header_png_h+set}" = set; then
7217 echo $ECHO_N "(cached) $ECHO_C" >&6 7225 echo $ECHO_N "(cached) $ECHO_C" >&6
7218 else 7226 else
7219 cat >conftest.$ac_ext <<_ACEOF 7227 cat >conftest.$ac_ext <<_ACEOF
7220 #line 7220 "configure" 7228 #line 7228 "configure"
7221 #include "confdefs.h" 7229 #include "confdefs.h"
7222 #include <png.h> 7230 #include <png.h>
7223 _ACEOF 7231 _ACEOF
7224 if { (eval echo "$as_me:7224: \"$ac_cpp conftest.$ac_ext\"") >&5 7232 if { (eval echo "$as_me:7232: \"$ac_cpp conftest.$ac_ext\"") >&5
7225 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7233 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7226 ac_status=$? 7234 ac_status=$?
7227 egrep -v '^ *\+' conftest.er1 >conftest.err 7235 egrep -v '^ *\+' conftest.er1 >conftest.err
7228 rm -f conftest.er1 7236 rm -f conftest.er1
7229 cat conftest.err >&5 7237 cat conftest.err >&5
7230 echo "$as_me:7230: \$? = $ac_status" >&5 7238 echo "$as_me:7238: \$? = $ac_status" >&5
7231 (exit $ac_status); } >/dev/null; then 7239 (exit $ac_status); } >/dev/null; then
7232 if test -s conftest.err; then 7240 if test -s conftest.err; then
7233 ac_cpp_err=$ac_c_preproc_warn_flag 7241 ac_cpp_err=$ac_c_preproc_warn_flag
7234 else 7242 else
7235 ac_cpp_err= 7243 ac_cpp_err=
7244 cat conftest.$ac_ext >&5 7252 cat conftest.$ac_ext >&5
7245 ac_cv_header_png_h=no 7253 ac_cv_header_png_h=no
7246 fi 7254 fi
7247 rm -f conftest.err conftest.$ac_ext 7255 rm -f conftest.err conftest.$ac_ext
7248 fi 7256 fi
7249 echo "$as_me:7249: result: $ac_cv_header_png_h" >&5 7257 echo "$as_me:7257: result: $ac_cv_header_png_h" >&5
7250 echo "${ECHO_T}$ac_cv_header_png_h" >&6 7258 echo "${ECHO_T}$ac_cv_header_png_h" >&6
7251 if test $ac_cv_header_png_h = yes; then 7259 if test $ac_cv_header_png_h = yes; then
7252 echo "$as_me:7252: checking for png_get_channels in -lpng" >&5 7260 echo "$as_me:7260: checking for png_get_channels in -lpng" >&5
7253 echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6 7261 echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6
7254 if test "${ac_cv_lib_png_png_get_channels+set}" = set; then 7262 if test "${ac_cv_lib_png_png_get_channels+set}" = set; then
7255 echo $ECHO_N "(cached) $ECHO_C" >&6 7263 echo $ECHO_N "(cached) $ECHO_C" >&6
7256 else 7264 else
7257 ac_check_lib_save_LIBS=$LIBS 7265 ac_check_lib_save_LIBS=$LIBS
7258 LIBS="-lpng -lz -lm $LIBS" 7266 LIBS="-lpng -lz -lm $LIBS"
7259 cat >conftest.$ac_ext <<_ACEOF 7267 cat >conftest.$ac_ext <<_ACEOF
7260 #line 7260 "configure" 7268 #line 7268 "configure"
7261 #include "confdefs.h" 7269 #include "confdefs.h"
7262 7270
7263 /* Override any gcc2 internal prototype to avoid an error. */ 7271 /* Override any gcc2 internal prototype to avoid an error. */
7264 #ifdef __cplusplus 7272 #ifdef __cplusplus
7265 extern "C" 7273 extern "C"
7274 ; 7282 ;
7275 return 0; 7283 return 0;
7276 } 7284 }
7277 _ACEOF 7285 _ACEOF
7278 rm -f conftest.$ac_objext conftest$ac_exeext 7286 rm -f conftest.$ac_objext conftest$ac_exeext
7279 if { (eval echo "$as_me:7279: \"$ac_link\"") >&5 7287 if { (eval echo "$as_me:7287: \"$ac_link\"") >&5
7280 (eval $ac_link) 2>&5 7288 (eval $ac_link) 2>&5
7281 ac_status=$? 7289 ac_status=$?
7282 echo "$as_me:7282: \$? = $ac_status" >&5 7290 echo "$as_me:7290: \$? = $ac_status" >&5
7283 (exit $ac_status); } && 7291 (exit $ac_status); } &&
7284 { ac_try='test -s conftest$ac_exeext' 7292 { ac_try='test -s conftest$ac_exeext'
7285 { (eval echo "$as_me:7285: \"$ac_try\"") >&5 7293 { (eval echo "$as_me:7293: \"$ac_try\"") >&5
7286 (eval $ac_try) 2>&5 7294 (eval $ac_try) 2>&5
7287 ac_status=$? 7295 ac_status=$?
7288 echo "$as_me:7288: \$? = $ac_status" >&5 7296 echo "$as_me:7296: \$? = $ac_status" >&5
7289 (exit $ac_status); }; }; then 7297 (exit $ac_status); }; }; then
7290 ac_cv_lib_png_png_get_channels=yes 7298 ac_cv_lib_png_png_get_channels=yes
7291 else 7299 else
7292 echo "$as_me: failed program was:" >&5 7300 echo "$as_me: failed program was:" >&5
7293 cat conftest.$ac_ext >&5 7301 cat conftest.$ac_ext >&5
7294 ac_cv_lib_png_png_get_channels=no 7302 ac_cv_lib_png_png_get_channels=no
7295 fi 7303 fi
7296 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7304 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7297 LIBS=$ac_check_lib_save_LIBS 7305 LIBS=$ac_check_lib_save_LIBS
7298 fi 7306 fi
7299 echo "$as_me:7299: result: $ac_cv_lib_png_png_get_channels" >&5 7307 echo "$as_me:7307: result: $ac_cv_lib_png_png_get_channels" >&5
7300 echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6 7308 echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6
7301 if test $ac_cv_lib_png_png_get_channels = yes; then 7309 if test $ac_cv_lib_png_png_get_channels = yes; then
7302 HAVE_PNG=yes 7310 HAVE_PNG=yes
7303 fi 7311 fi
7304 7312
7316 7324
7317 ### Use -ltiff if available, unless `--with-tiff=no'. 7325 ### Use -ltiff if available, unless `--with-tiff=no'.
7318 HAVE_TIFF=no 7326 HAVE_TIFF=no
7319 if test "${HAVE_X11}" = "yes"; then 7327 if test "${HAVE_X11}" = "yes"; then
7320 if test "${with_tiff}" != "no"; then 7328 if test "${with_tiff}" != "no"; then
7321 echo "$as_me:7321: checking for tiffio.h" >&5 7329 echo "$as_me:7329: checking for tiffio.h" >&5
7322 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6 7330 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
7323 if test "${ac_cv_header_tiffio_h+set}" = set; then 7331 if test "${ac_cv_header_tiffio_h+set}" = set; then
7324 echo $ECHO_N "(cached) $ECHO_C" >&6 7332 echo $ECHO_N "(cached) $ECHO_C" >&6
7325 else 7333 else
7326 cat >conftest.$ac_ext <<_ACEOF 7334 cat >conftest.$ac_ext <<_ACEOF
7327 #line 7327 "configure" 7335 #line 7335 "configure"
7328 #include "confdefs.h" 7336 #include "confdefs.h"
7329 #include <tiffio.h> 7337 #include <tiffio.h>
7330 _ACEOF 7338 _ACEOF
7331 if { (eval echo "$as_me:7331: \"$ac_cpp conftest.$ac_ext\"") >&5 7339 if { (eval echo "$as_me:7339: \"$ac_cpp conftest.$ac_ext\"") >&5
7332 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7340 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7333 ac_status=$? 7341 ac_status=$?
7334 egrep -v '^ *\+' conftest.er1 >conftest.err 7342 egrep -v '^ *\+' conftest.er1 >conftest.err
7335 rm -f conftest.er1 7343 rm -f conftest.er1
7336 cat conftest.err >&5 7344 cat conftest.err >&5
7337 echo "$as_me:7337: \$? = $ac_status" >&5 7345 echo "$as_me:7345: \$? = $ac_status" >&5
7338 (exit $ac_status); } >/dev/null; then 7346 (exit $ac_status); } >/dev/null; then
7339 if test -s conftest.err; then 7347 if test -s conftest.err; then
7340 ac_cpp_err=$ac_c_preproc_warn_flag 7348 ac_cpp_err=$ac_c_preproc_warn_flag
7341 else 7349 else
7342 ac_cpp_err= 7350 ac_cpp_err=
7351 cat conftest.$ac_ext >&5 7359 cat conftest.$ac_ext >&5
7352 ac_cv_header_tiffio_h=no 7360 ac_cv_header_tiffio_h=no
7353 fi 7361 fi
7354 rm -f conftest.err conftest.$ac_ext 7362 rm -f conftest.err conftest.$ac_ext
7355 fi 7363 fi
7356 echo "$as_me:7356: result: $ac_cv_header_tiffio_h" >&5 7364 echo "$as_me:7364: result: $ac_cv_header_tiffio_h" >&5
7357 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6 7365 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
7358 if test $ac_cv_header_tiffio_h = yes; then 7366 if test $ac_cv_header_tiffio_h = yes; then
7359 tifflibs="-lz -lm" 7367 tifflibs="-lz -lm"
7360 # At least one tiff package requires the jpeg library. 7368 # At least one tiff package requires the jpeg library.
7361 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi 7369 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
7362 echo "$as_me:7362: checking for TIFFGetVersion in -ltiff" >&5 7370 echo "$as_me:7370: checking for TIFFGetVersion in -ltiff" >&5
7363 echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6 7371 echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6
7364 if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then 7372 if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then
7365 echo $ECHO_N "(cached) $ECHO_C" >&6 7373 echo $ECHO_N "(cached) $ECHO_C" >&6
7366 else 7374 else
7367 ac_check_lib_save_LIBS=$LIBS 7375 ac_check_lib_save_LIBS=$LIBS
7368 LIBS="-ltiff $tifflibs $LIBS" 7376 LIBS="-ltiff $tifflibs $LIBS"
7369 cat >conftest.$ac_ext <<_ACEOF 7377 cat >conftest.$ac_ext <<_ACEOF
7370 #line 7370 "configure" 7378 #line 7378 "configure"
7371 #include "confdefs.h" 7379 #include "confdefs.h"
7372 7380
7373 /* Override any gcc2 internal prototype to avoid an error. */ 7381 /* Override any gcc2 internal prototype to avoid an error. */
7374 #ifdef __cplusplus 7382 #ifdef __cplusplus
7375 extern "C" 7383 extern "C"
7384 ; 7392 ;
7385 return 0; 7393 return 0;
7386 } 7394 }
7387 _ACEOF 7395 _ACEOF
7388 rm -f conftest.$ac_objext conftest$ac_exeext 7396 rm -f conftest.$ac_objext conftest$ac_exeext
7389 if { (eval echo "$as_me:7389: \"$ac_link\"") >&5 7397 if { (eval echo "$as_me:7397: \"$ac_link\"") >&5
7390 (eval $ac_link) 2>&5 7398 (eval $ac_link) 2>&5
7391 ac_status=$? 7399 ac_status=$?
7392 echo "$as_me:7392: \$? = $ac_status" >&5 7400 echo "$as_me:7400: \$? = $ac_status" >&5
7393 (exit $ac_status); } && 7401 (exit $ac_status); } &&
7394 { ac_try='test -s conftest$ac_exeext' 7402 { ac_try='test -s conftest$ac_exeext'
7395 { (eval echo "$as_me:7395: \"$ac_try\"") >&5 7403 { (eval echo "$as_me:7403: \"$ac_try\"") >&5
7396 (eval $ac_try) 2>&5 7404 (eval $ac_try) 2>&5
7397 ac_status=$? 7405 ac_status=$?
7398 echo "$as_me:7398: \$? = $ac_status" >&5 7406 echo "$as_me:7406: \$? = $ac_status" >&5
7399 (exit $ac_status); }; }; then 7407 (exit $ac_status); }; }; then
7400 ac_cv_lib_tiff_TIFFGetVersion=yes 7408 ac_cv_lib_tiff_TIFFGetVersion=yes
7401 else 7409 else
7402 echo "$as_me: failed program was:" >&5 7410 echo "$as_me: failed program was:" >&5
7403 cat conftest.$ac_ext >&5 7411 cat conftest.$ac_ext >&5
7404 ac_cv_lib_tiff_TIFFGetVersion=no 7412 ac_cv_lib_tiff_TIFFGetVersion=no
7405 fi 7413 fi
7406 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7414 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7407 LIBS=$ac_check_lib_save_LIBS 7415 LIBS=$ac_check_lib_save_LIBS
7408 fi 7416 fi
7409 echo "$as_me:7409: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5 7417 echo "$as_me:7417: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5
7410 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6 7418 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6
7411 if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then 7419 if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then
7412 HAVE_TIFF=yes 7420 HAVE_TIFF=yes
7413 fi 7421 fi
7414 7422
7426 7434
7427 ### Use -lgif if available, unless `--with-gif=no'. 7435 ### Use -lgif if available, unless `--with-gif=no'.
7428 HAVE_GIF=no 7436 HAVE_GIF=no
7429 if test "${HAVE_X11}" = "yes"; then 7437 if test "${HAVE_X11}" = "yes"; then
7430 if test "${with_gif}" != "no"; then 7438 if test "${with_gif}" != "no"; then
7431 echo "$as_me:7431: checking for gif_lib.h" >&5 7439 echo "$as_me:7439: checking for gif_lib.h" >&5
7432 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6 7440 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6
7433 if test "${ac_cv_header_gif_lib_h+set}" = set; then 7441 if test "${ac_cv_header_gif_lib_h+set}" = set; then
7434 echo $ECHO_N "(cached) $ECHO_C" >&6 7442 echo $ECHO_N "(cached) $ECHO_C" >&6
7435 else 7443 else
7436 cat >conftest.$ac_ext <<_ACEOF 7444 cat >conftest.$ac_ext <<_ACEOF
7437 #line 7437 "configure" 7445 #line 7445 "configure"
7438 #include "confdefs.h" 7446 #include "confdefs.h"
7439 #include <gif_lib.h> 7447 #include <gif_lib.h>
7440 _ACEOF 7448 _ACEOF
7441 if { (eval echo "$as_me:7441: \"$ac_cpp conftest.$ac_ext\"") >&5 7449 if { (eval echo "$as_me:7449: \"$ac_cpp conftest.$ac_ext\"") >&5
7442 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7450 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7443 ac_status=$? 7451 ac_status=$?
7444 egrep -v '^ *\+' conftest.er1 >conftest.err 7452 egrep -v '^ *\+' conftest.er1 >conftest.err
7445 rm -f conftest.er1 7453 rm -f conftest.er1
7446 cat conftest.err >&5 7454 cat conftest.err >&5
7447 echo "$as_me:7447: \$? = $ac_status" >&5 7455 echo "$as_me:7455: \$? = $ac_status" >&5
7448 (exit $ac_status); } >/dev/null; then 7456 (exit $ac_status); } >/dev/null; then
7449 if test -s conftest.err; then 7457 if test -s conftest.err; then
7450 ac_cpp_err=$ac_c_preproc_warn_flag 7458 ac_cpp_err=$ac_c_preproc_warn_flag
7451 else 7459 else
7452 ac_cpp_err= 7460 ac_cpp_err=
7461 cat conftest.$ac_ext >&5 7469 cat conftest.$ac_ext >&5
7462 ac_cv_header_gif_lib_h=no 7470 ac_cv_header_gif_lib_h=no
7463 fi 7471 fi
7464 rm -f conftest.err conftest.$ac_ext 7472 rm -f conftest.err conftest.$ac_ext
7465 fi 7473 fi
7466 echo "$as_me:7466: result: $ac_cv_header_gif_lib_h" >&5 7474 echo "$as_me:7474: result: $ac_cv_header_gif_lib_h" >&5
7467 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6 7475 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6
7468 if test $ac_cv_header_gif_lib_h = yes; then 7476 if test $ac_cv_header_gif_lib_h = yes; then
7469 echo "$as_me:7469: checking for DGifOpen in -lungif" >&5 7477 echo "$as_me:7477: checking for DGifOpen in -lungif" >&5
7470 echo $ECHO_N "checking for DGifOpen in -lungif... $ECHO_C" >&6 7478 echo $ECHO_N "checking for DGifOpen in -lungif... $ECHO_C" >&6
7471 if test "${ac_cv_lib_ungif_DGifOpen+set}" = set; then 7479 if test "${ac_cv_lib_ungif_DGifOpen+set}" = set; then
7472 echo $ECHO_N "(cached) $ECHO_C" >&6 7480 echo $ECHO_N "(cached) $ECHO_C" >&6
7473 else 7481 else
7474 ac_check_lib_save_LIBS=$LIBS 7482 ac_check_lib_save_LIBS=$LIBS
7475 LIBS="-lungif $LIBS" 7483 LIBS="-lungif $LIBS"
7476 cat >conftest.$ac_ext <<_ACEOF 7484 cat >conftest.$ac_ext <<_ACEOF
7477 #line 7477 "configure" 7485 #line 7485 "configure"
7478 #include "confdefs.h" 7486 #include "confdefs.h"
7479 7487
7480 /* Override any gcc2 internal prototype to avoid an error. */ 7488 /* Override any gcc2 internal prototype to avoid an error. */
7481 #ifdef __cplusplus 7489 #ifdef __cplusplus
7482 extern "C" 7490 extern "C"
7491 ; 7499 ;
7492 return 0; 7500 return 0;
7493 } 7501 }
7494 _ACEOF 7502 _ACEOF
7495 rm -f conftest.$ac_objext conftest$ac_exeext 7503 rm -f conftest.$ac_objext conftest$ac_exeext
7496 if { (eval echo "$as_me:7496: \"$ac_link\"") >&5 7504 if { (eval echo "$as_me:7504: \"$ac_link\"") >&5
7497 (eval $ac_link) 2>&5 7505 (eval $ac_link) 2>&5
7498 ac_status=$? 7506 ac_status=$?
7499 echo "$as_me:7499: \$? = $ac_status" >&5 7507 echo "$as_me:7507: \$? = $ac_status" >&5
7500 (exit $ac_status); } && 7508 (exit $ac_status); } &&
7501 { ac_try='test -s conftest$ac_exeext' 7509 { ac_try='test -s conftest$ac_exeext'
7502 { (eval echo "$as_me:7502: \"$ac_try\"") >&5 7510 { (eval echo "$as_me:7510: \"$ac_try\"") >&5
7503 (eval $ac_try) 2>&5 7511 (eval $ac_try) 2>&5
7504 ac_status=$? 7512 ac_status=$?
7505 echo "$as_me:7505: \$? = $ac_status" >&5 7513 echo "$as_me:7513: \$? = $ac_status" >&5
7506 (exit $ac_status); }; }; then 7514 (exit $ac_status); }; }; then
7507 ac_cv_lib_ungif_DGifOpen=yes 7515 ac_cv_lib_ungif_DGifOpen=yes
7508 else 7516 else
7509 echo "$as_me: failed program was:" >&5 7517 echo "$as_me: failed program was:" >&5
7510 cat conftest.$ac_ext >&5 7518 cat conftest.$ac_ext >&5
7511 ac_cv_lib_ungif_DGifOpen=no 7519 ac_cv_lib_ungif_DGifOpen=no
7512 fi 7520 fi
7513 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7521 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7514 LIBS=$ac_check_lib_save_LIBS 7522 LIBS=$ac_check_lib_save_LIBS
7515 fi 7523 fi
7516 echo "$as_me:7516: result: $ac_cv_lib_ungif_DGifOpen" >&5 7524 echo "$as_me:7524: result: $ac_cv_lib_ungif_DGifOpen" >&5
7517 echo "${ECHO_T}$ac_cv_lib_ungif_DGifOpen" >&6 7525 echo "${ECHO_T}$ac_cv_lib_ungif_DGifOpen" >&6
7518 if test $ac_cv_lib_ungif_DGifOpen = yes; then 7526 if test $ac_cv_lib_ungif_DGifOpen = yes; then
7519 HAVE_GIF=yes 7527 HAVE_GIF=yes
7520 fi 7528 fi
7521 7529
7530 7538
7531 fi 7539 fi
7532 fi 7540 fi
7533 7541
7534 # If netdb.h doesn't declare h_errno, we must declare it by hand. 7542 # If netdb.h doesn't declare h_errno, we must declare it by hand.
7535 echo "$as_me:7535: checking whether netdb declares h_errno" >&5 7543 echo "$as_me:7543: checking whether netdb declares h_errno" >&5
7536 echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6 7544 echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6
7537 if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then 7545 if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then
7538 echo $ECHO_N "(cached) $ECHO_C" >&6 7546 echo $ECHO_N "(cached) $ECHO_C" >&6
7539 else 7547 else
7540 cat >conftest.$ac_ext <<_ACEOF 7548 cat >conftest.$ac_ext <<_ACEOF
7541 #line 7541 "configure" 7549 #line 7549 "configure"
7542 #include "confdefs.h" 7550 #include "confdefs.h"
7543 #include <netdb.h> 7551 #include <netdb.h>
7544 int 7552 int
7545 main () 7553 main ()
7546 { 7554 {
7548 ; 7556 ;
7549 return 0; 7557 return 0;
7550 } 7558 }
7551 _ACEOF 7559 _ACEOF
7552 rm -f conftest.$ac_objext conftest$ac_exeext 7560 rm -f conftest.$ac_objext conftest$ac_exeext
7553 if { (eval echo "$as_me:7553: \"$ac_link\"") >&5 7561 if { (eval echo "$as_me:7561: \"$ac_link\"") >&5
7554 (eval $ac_link) 2>&5 7562 (eval $ac_link) 2>&5
7555 ac_status=$? 7563 ac_status=$?
7556 echo "$as_me:7556: \$? = $ac_status" >&5 7564 echo "$as_me:7564: \$? = $ac_status" >&5
7557 (exit $ac_status); } && 7565 (exit $ac_status); } &&
7558 { ac_try='test -s conftest$ac_exeext' 7566 { ac_try='test -s conftest$ac_exeext'
7559 { (eval echo "$as_me:7559: \"$ac_try\"") >&5 7567 { (eval echo "$as_me:7567: \"$ac_try\"") >&5
7560 (eval $ac_try) 2>&5 7568 (eval $ac_try) 2>&5
7561 ac_status=$? 7569 ac_status=$?
7562 echo "$as_me:7562: \$? = $ac_status" >&5 7570 echo "$as_me:7570: \$? = $ac_status" >&5
7563 (exit $ac_status); }; }; then 7571 (exit $ac_status); }; }; then
7564 emacs_cv_netdb_declares_h_errno=yes 7572 emacs_cv_netdb_declares_h_errno=yes
7565 else 7573 else
7566 echo "$as_me: failed program was:" >&5 7574 echo "$as_me: failed program was:" >&5
7567 cat conftest.$ac_ext >&5 7575 cat conftest.$ac_ext >&5
7568 emacs_cv_netdb_declares_h_errno=no 7576 emacs_cv_netdb_declares_h_errno=no
7569 fi 7577 fi
7570 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7578 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7571 fi 7579 fi
7572 echo "$as_me:7572: result: $emacs_cv_netdb_declares_h_errno" >&5 7580 echo "$as_me:7580: result: $emacs_cv_netdb_declares_h_errno" >&5
7573 echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6 7581 echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6
7574 if test $emacs_cv_netdb_declares_h_errno = yes; then 7582 if test $emacs_cv_netdb_declares_h_errno = yes; then
7575 cat >>confdefs.h <<\EOF 7583 cat >>confdefs.h <<\EOF
7576 #define HAVE_H_ERRNO 1 7584 #define HAVE_H_ERRNO 1
7577 EOF 7585 EOF
7578 7586
7579 fi 7587 fi
7580 7588
7581 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 7589 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
7582 # for constant arguments. Useless! 7590 # for constant arguments. Useless!
7583 echo "$as_me:7583: checking for working alloca.h" >&5 7591 echo "$as_me:7591: checking for working alloca.h" >&5
7584 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 7592 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
7585 if test "${ac_cv_working_alloca_h+set}" = set; then 7593 if test "${ac_cv_working_alloca_h+set}" = set; then
7586 echo $ECHO_N "(cached) $ECHO_C" >&6 7594 echo $ECHO_N "(cached) $ECHO_C" >&6
7587 else 7595 else
7588 cat >conftest.$ac_ext <<_ACEOF 7596 cat >conftest.$ac_ext <<_ACEOF
7589 #line 7589 "configure" 7597 #line 7597 "configure"
7590 #include "confdefs.h" 7598 #include "confdefs.h"
7591 #include <alloca.h> 7599 #include <alloca.h>
7592 int 7600 int
7593 main () 7601 main ()
7594 { 7602 {
7596 ; 7604 ;
7597 return 0; 7605 return 0;
7598 } 7606 }
7599 _ACEOF 7607 _ACEOF
7600 rm -f conftest.$ac_objext conftest$ac_exeext 7608 rm -f conftest.$ac_objext conftest$ac_exeext
7601 if { (eval echo "$as_me:7601: \"$ac_link\"") >&5 7609 if { (eval echo "$as_me:7609: \"$ac_link\"") >&5
7602 (eval $ac_link) 2>&5 7610 (eval $ac_link) 2>&5
7603 ac_status=$? 7611 ac_status=$?
7604 echo "$as_me:7604: \$? = $ac_status" >&5 7612 echo "$as_me:7612: \$? = $ac_status" >&5
7605 (exit $ac_status); } && 7613 (exit $ac_status); } &&
7606 { ac_try='test -s conftest$ac_exeext' 7614 { ac_try='test -s conftest$ac_exeext'
7607 { (eval echo "$as_me:7607: \"$ac_try\"") >&5 7615 { (eval echo "$as_me:7615: \"$ac_try\"") >&5
7608 (eval $ac_try) 2>&5 7616 (eval $ac_try) 2>&5
7609 ac_status=$? 7617 ac_status=$?
7610 echo "$as_me:7610: \$? = $ac_status" >&5 7618 echo "$as_me:7618: \$? = $ac_status" >&5
7611 (exit $ac_status); }; }; then 7619 (exit $ac_status); }; }; then
7612 ac_cv_working_alloca_h=yes 7620 ac_cv_working_alloca_h=yes
7613 else 7621 else
7614 echo "$as_me: failed program was:" >&5 7622 echo "$as_me: failed program was:" >&5
7615 cat conftest.$ac_ext >&5 7623 cat conftest.$ac_ext >&5
7616 ac_cv_working_alloca_h=no 7624 ac_cv_working_alloca_h=no
7617 fi 7625 fi
7618 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7626 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7619 fi 7627 fi
7620 echo "$as_me:7620: result: $ac_cv_working_alloca_h" >&5 7628 echo "$as_me:7628: result: $ac_cv_working_alloca_h" >&5
7621 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 7629 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
7622 if test $ac_cv_working_alloca_h = yes; then 7630 if test $ac_cv_working_alloca_h = yes; then
7623 7631
7624 cat >>confdefs.h <<\EOF 7632 cat >>confdefs.h <<\EOF
7625 #define HAVE_ALLOCA_H 1 7633 #define HAVE_ALLOCA_H 1
7626 EOF 7634 EOF
7627 7635
7628 fi 7636 fi
7629 7637
7630 echo "$as_me:7630: checking for alloca" >&5 7638 echo "$as_me:7638: checking for alloca" >&5
7631 echo $ECHO_N "checking for alloca... $ECHO_C" >&6 7639 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
7632 if test "${ac_cv_func_alloca_works+set}" = set; then 7640 if test "${ac_cv_func_alloca_works+set}" = set; then
7633 echo $ECHO_N "(cached) $ECHO_C" >&6 7641 echo $ECHO_N "(cached) $ECHO_C" >&6
7634 else 7642 else
7635 cat >conftest.$ac_ext <<_ACEOF 7643 cat >conftest.$ac_ext <<_ACEOF
7636 #line 7636 "configure" 7644 #line 7644 "configure"
7637 #include "confdefs.h" 7645 #include "confdefs.h"
7638 #ifdef __GNUC__ 7646 #ifdef __GNUC__
7639 # define alloca __builtin_alloca 7647 # define alloca __builtin_alloca
7640 #else 7648 #else
7641 # ifdef _MSC_VER 7649 # ifdef _MSC_VER
7663 ; 7671 ;
7664 return 0; 7672 return 0;
7665 } 7673 }
7666 _ACEOF 7674 _ACEOF
7667 rm -f conftest.$ac_objext conftest$ac_exeext 7675 rm -f conftest.$ac_objext conftest$ac_exeext
7668 if { (eval echo "$as_me:7668: \"$ac_link\"") >&5 7676 if { (eval echo "$as_me:7676: \"$ac_link\"") >&5
7669 (eval $ac_link) 2>&5 7677 (eval $ac_link) 2>&5
7670 ac_status=$? 7678 ac_status=$?
7671 echo "$as_me:7671: \$? = $ac_status" >&5 7679 echo "$as_me:7679: \$? = $ac_status" >&5
7672 (exit $ac_status); } && 7680 (exit $ac_status); } &&
7673 { ac_try='test -s conftest$ac_exeext' 7681 { ac_try='test -s conftest$ac_exeext'
7674 { (eval echo "$as_me:7674: \"$ac_try\"") >&5 7682 { (eval echo "$as_me:7682: \"$ac_try\"") >&5
7675 (eval $ac_try) 2>&5 7683 (eval $ac_try) 2>&5
7676 ac_status=$? 7684 ac_status=$?
7677 echo "$as_me:7677: \$? = $ac_status" >&5 7685 echo "$as_me:7685: \$? = $ac_status" >&5
7678 (exit $ac_status); }; }; then 7686 (exit $ac_status); }; }; then
7679 ac_cv_func_alloca_works=yes 7687 ac_cv_func_alloca_works=yes
7680 else 7688 else
7681 echo "$as_me: failed program was:" >&5 7689 echo "$as_me: failed program was:" >&5
7682 cat conftest.$ac_ext >&5 7690 cat conftest.$ac_ext >&5
7683 ac_cv_func_alloca_works=no 7691 ac_cv_func_alloca_works=no
7684 fi 7692 fi
7685 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7693 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7686 fi 7694 fi
7687 echo "$as_me:7687: result: $ac_cv_func_alloca_works" >&5 7695 echo "$as_me:7695: result: $ac_cv_func_alloca_works" >&5
7688 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 7696 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
7689 7697
7690 if test $ac_cv_func_alloca_works = yes; then 7698 if test $ac_cv_func_alloca_works = yes; then
7691 7699
7692 cat >>confdefs.h <<\EOF 7700 cat >>confdefs.h <<\EOF
7703 7711
7704 cat >>confdefs.h <<\EOF 7712 cat >>confdefs.h <<\EOF
7705 #define C_ALLOCA 1 7713 #define C_ALLOCA 1
7706 EOF 7714 EOF
7707 7715
7708 echo "$as_me:7708: checking whether \`alloca.c' needs Cray hooks" >&5 7716 echo "$as_me:7716: checking whether \`alloca.c' needs Cray hooks" >&5
7709 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 7717 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
7710 if test "${ac_cv_os_cray+set}" = set; then 7718 if test "${ac_cv_os_cray+set}" = set; then
7711 echo $ECHO_N "(cached) $ECHO_C" >&6 7719 echo $ECHO_N "(cached) $ECHO_C" >&6
7712 else 7720 else
7713 cat >conftest.$ac_ext <<_ACEOF 7721 cat >conftest.$ac_ext <<_ACEOF
7714 #line 7714 "configure" 7722 #line 7722 "configure"
7715 #include "confdefs.h" 7723 #include "confdefs.h"
7716 #if defined(CRAY) && ! defined(CRAY2) 7724 #if defined(CRAY) && ! defined(CRAY2)
7717 webecray 7725 webecray
7718 #else 7726 #else
7719 wenotbecray 7727 wenotbecray
7727 ac_cv_os_cray=no 7735 ac_cv_os_cray=no
7728 fi 7736 fi
7729 rm -f conftest* 7737 rm -f conftest*
7730 7738
7731 fi 7739 fi
7732 echo "$as_me:7732: result: $ac_cv_os_cray" >&5 7740 echo "$as_me:7740: result: $ac_cv_os_cray" >&5
7733 echo "${ECHO_T}$ac_cv_os_cray" >&6 7741 echo "${ECHO_T}$ac_cv_os_cray" >&6
7734 if test $ac_cv_os_cray = yes; then 7742 if test $ac_cv_os_cray = yes; then
7735 for ac_func in _getb67 GETB67 getb67; do 7743 for ac_func in _getb67 GETB67 getb67; do
7736 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 7744 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7737 echo "$as_me:7737: checking for $ac_func" >&5 7745 echo "$as_me:7745: checking for $ac_func" >&5
7738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 7746 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7739 if eval "test \"\${$as_ac_var+set}\" = set"; then 7747 if eval "test \"\${$as_ac_var+set}\" = set"; then
7740 echo $ECHO_N "(cached) $ECHO_C" >&6 7748 echo $ECHO_N "(cached) $ECHO_C" >&6
7741 else 7749 else
7742 cat >conftest.$ac_ext <<_ACEOF 7750 cat >conftest.$ac_ext <<_ACEOF
7743 #line 7743 "configure" 7751 #line 7751 "configure"
7744 #include "confdefs.h" 7752 #include "confdefs.h"
7745 /* System header to define __stub macros and hopefully few prototypes, 7753 /* System header to define __stub macros and hopefully few prototypes,
7746 which can conflict with char $ac_func (); below. */ 7754 which can conflict with char $ac_func (); below. */
7747 #include <assert.h> 7755 #include <assert.h>
7748 /* Override any gcc2 internal prototype to avoid an error. */ 7756 /* Override any gcc2 internal prototype to avoid an error. */
7769 ; 7777 ;
7770 return 0; 7778 return 0;
7771 } 7779 }
7772 _ACEOF 7780 _ACEOF
7773 rm -f conftest.$ac_objext conftest$ac_exeext 7781 rm -f conftest.$ac_objext conftest$ac_exeext
7774 if { (eval echo "$as_me:7774: \"$ac_link\"") >&5 7782 if { (eval echo "$as_me:7782: \"$ac_link\"") >&5
7775 (eval $ac_link) 2>&5 7783 (eval $ac_link) 2>&5
7776 ac_status=$? 7784 ac_status=$?
7777 echo "$as_me:7777: \$? = $ac_status" >&5 7785 echo "$as_me:7785: \$? = $ac_status" >&5
7778 (exit $ac_status); } && 7786 (exit $ac_status); } &&
7779 { ac_try='test -s conftest$ac_exeext' 7787 { ac_try='test -s conftest$ac_exeext'
7780 { (eval echo "$as_me:7780: \"$ac_try\"") >&5 7788 { (eval echo "$as_me:7788: \"$ac_try\"") >&5
7781 (eval $ac_try) 2>&5 7789 (eval $ac_try) 2>&5
7782 ac_status=$? 7790 ac_status=$?
7783 echo "$as_me:7783: \$? = $ac_status" >&5 7791 echo "$as_me:7791: \$? = $ac_status" >&5
7784 (exit $ac_status); }; }; then 7792 (exit $ac_status); }; }; then
7785 eval "$as_ac_var=yes" 7793 eval "$as_ac_var=yes"
7786 else 7794 else
7787 echo "$as_me: failed program was:" >&5 7795 echo "$as_me: failed program was:" >&5
7788 cat conftest.$ac_ext >&5 7796 cat conftest.$ac_ext >&5
7789 eval "$as_ac_var=no" 7797 eval "$as_ac_var=no"
7790 fi 7798 fi
7791 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7799 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7792 fi 7800 fi
7793 echo "$as_me:7793: result: `eval echo '${'$as_ac_var'}'`" >&5 7801 echo "$as_me:7801: result: `eval echo '${'$as_ac_var'}'`" >&5
7794 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 7802 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7795 if test `eval echo '${'$as_ac_var'}'` = yes; then 7803 if test `eval echo '${'$as_ac_var'}'` = yes; then
7796 7804
7797 cat >>confdefs.h <<EOF 7805 cat >>confdefs.h <<EOF
7798 #define CRAY_STACKSEG_END $ac_func 7806 #define CRAY_STACKSEG_END $ac_func
7802 fi 7810 fi
7803 7811
7804 done 7812 done
7805 fi 7813 fi
7806 7814
7807 echo "$as_me:7807: checking stack direction for C alloca" >&5 7815 echo "$as_me:7815: checking stack direction for C alloca" >&5
7808 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 7816 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
7809 if test "${ac_cv_c_stack_direction+set}" = set; then 7817 if test "${ac_cv_c_stack_direction+set}" = set; then
7810 echo $ECHO_N "(cached) $ECHO_C" >&6 7818 echo $ECHO_N "(cached) $ECHO_C" >&6
7811 else 7819 else
7812 if test "$cross_compiling" = yes; then 7820 if test "$cross_compiling" = yes; then
7813 ac_cv_c_stack_direction=0 7821 ac_cv_c_stack_direction=0
7814 else 7822 else
7815 cat >conftest.$ac_ext <<_ACEOF 7823 cat >conftest.$ac_ext <<_ACEOF
7816 #line 7816 "configure" 7824 #line 7824 "configure"
7817 #include "confdefs.h" 7825 #include "confdefs.h"
7818 int 7826 int
7819 find_stack_direction () 7827 find_stack_direction ()
7820 { 7828 {
7821 static char *addr = 0; 7829 static char *addr = 0;
7834 { 7842 {
7835 exit (find_stack_direction () < 0); 7843 exit (find_stack_direction () < 0);
7836 } 7844 }
7837 _ACEOF 7845 _ACEOF
7838 rm -f conftest$ac_exeext 7846 rm -f conftest$ac_exeext
7839 if { (eval echo "$as_me:7839: \"$ac_link\"") >&5 7847 if { (eval echo "$as_me:7847: \"$ac_link\"") >&5
7840 (eval $ac_link) 2>&5 7848 (eval $ac_link) 2>&5
7841 ac_status=$? 7849 ac_status=$?
7842 echo "$as_me:7842: \$? = $ac_status" >&5 7850 echo "$as_me:7850: \$? = $ac_status" >&5
7843 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7851 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7844 { (eval echo "$as_me:7844: \"$ac_try\"") >&5 7852 { (eval echo "$as_me:7852: \"$ac_try\"") >&5
7845 (eval $ac_try) 2>&5 7853 (eval $ac_try) 2>&5
7846 ac_status=$? 7854 ac_status=$?
7847 echo "$as_me:7847: \$? = $ac_status" >&5 7855 echo "$as_me:7855: \$? = $ac_status" >&5
7848 (exit $ac_status); }; }; then 7856 (exit $ac_status); }; }; then
7849 ac_cv_c_stack_direction=1 7857 ac_cv_c_stack_direction=1
7850 else 7858 else
7851 echo "$as_me: program exited with status $ac_status" >&5 7859 echo "$as_me: program exited with status $ac_status" >&5
7852 echo "$as_me: failed program was:" >&5 7860 echo "$as_me: failed program was:" >&5
7854 ac_cv_c_stack_direction=-1 7862 ac_cv_c_stack_direction=-1
7855 fi 7863 fi
7856 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7864 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7857 fi 7865 fi
7858 fi 7866 fi
7859 echo "$as_me:7859: result: $ac_cv_c_stack_direction" >&5 7867 echo "$as_me:7867: result: $ac_cv_c_stack_direction" >&5
7860 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 7868 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
7861 7869
7862 cat >>confdefs.h <<EOF 7870 cat >>confdefs.h <<EOF
7863 #define STACK_DIRECTION $ac_cv_c_stack_direction 7871 #define STACK_DIRECTION $ac_cv_c_stack_direction
7864 EOF 7872 EOF
7866 fi 7874 fi
7867 7875
7868 # fmod, logb, and frexp are found in -lm on most systems. 7876 # fmod, logb, and frexp are found in -lm on most systems.
7869 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. 7877 # On HPUX 9.01, -lm does not contain logb, so check for sqrt.
7870 7878
7871 echo "$as_me:7871: checking for sqrt in -lm" >&5 7879 echo "$as_me:7879: checking for sqrt in -lm" >&5
7872 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6 7880 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
7873 if test "${ac_cv_lib_m_sqrt+set}" = set; then 7881 if test "${ac_cv_lib_m_sqrt+set}" = set; then
7874 echo $ECHO_N "(cached) $ECHO_C" >&6 7882 echo $ECHO_N "(cached) $ECHO_C" >&6
7875 else 7883 else
7876 ac_check_lib_save_LIBS=$LIBS 7884 ac_check_lib_save_LIBS=$LIBS
7877 LIBS="-lm $LIBS" 7885 LIBS="-lm $LIBS"
7878 cat >conftest.$ac_ext <<_ACEOF 7886 cat >conftest.$ac_ext <<_ACEOF
7879 #line 7879 "configure" 7887 #line 7887 "configure"
7880 #include "confdefs.h" 7888 #include "confdefs.h"
7881 7889
7882 /* Override any gcc2 internal prototype to avoid an error. */ 7890 /* Override any gcc2 internal prototype to avoid an error. */
7883 #ifdef __cplusplus 7891 #ifdef __cplusplus
7884 extern "C" 7892 extern "C"
7893 ; 7901 ;
7894 return 0; 7902 return 0;
7895 } 7903 }
7896 _ACEOF 7904 _ACEOF
7897 rm -f conftest.$ac_objext conftest$ac_exeext 7905 rm -f conftest.$ac_objext conftest$ac_exeext
7898 if { (eval echo "$as_me:7898: \"$ac_link\"") >&5 7906 if { (eval echo "$as_me:7906: \"$ac_link\"") >&5
7899 (eval $ac_link) 2>&5 7907 (eval $ac_link) 2>&5
7900 ac_status=$? 7908 ac_status=$?
7901 echo "$as_me:7901: \$? = $ac_status" >&5 7909 echo "$as_me:7909: \$? = $ac_status" >&5
7902 (exit $ac_status); } && 7910 (exit $ac_status); } &&
7903 { ac_try='test -s conftest$ac_exeext' 7911 { ac_try='test -s conftest$ac_exeext'
7904 { (eval echo "$as_me:7904: \"$ac_try\"") >&5 7912 { (eval echo "$as_me:7912: \"$ac_try\"") >&5
7905 (eval $ac_try) 2>&5 7913 (eval $ac_try) 2>&5
7906 ac_status=$? 7914 ac_status=$?
7907 echo "$as_me:7907: \$? = $ac_status" >&5 7915 echo "$as_me:7915: \$? = $ac_status" >&5
7908 (exit $ac_status); }; }; then 7916 (exit $ac_status); }; }; then
7909 ac_cv_lib_m_sqrt=yes 7917 ac_cv_lib_m_sqrt=yes
7910 else 7918 else
7911 echo "$as_me: failed program was:" >&5 7919 echo "$as_me: failed program was:" >&5
7912 cat conftest.$ac_ext >&5 7920 cat conftest.$ac_ext >&5
7913 ac_cv_lib_m_sqrt=no 7921 ac_cv_lib_m_sqrt=no
7914 fi 7922 fi
7915 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7923 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7916 LIBS=$ac_check_lib_save_LIBS 7924 LIBS=$ac_check_lib_save_LIBS
7917 fi 7925 fi
7918 echo "$as_me:7918: result: $ac_cv_lib_m_sqrt" >&5 7926 echo "$as_me:7926: result: $ac_cv_lib_m_sqrt" >&5
7919 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6 7927 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
7920 if test $ac_cv_lib_m_sqrt = yes; then 7928 if test $ac_cv_lib_m_sqrt = yes; then
7921 cat >>confdefs.h <<EOF 7929 cat >>confdefs.h <<EOF
7922 #define HAVE_LIBM 1 7930 #define HAVE_LIBM 1
7923 EOF 7931 EOF
7926 7934
7927 fi 7935 fi
7928 7936
7929 # Check for mail-locking functions in a "mail" library 7937 # Check for mail-locking functions in a "mail" library
7930 7938
7931 echo "$as_me:7931: checking for maillock in -lmail" >&5 7939 echo "$as_me:7939: checking for maillock in -lmail" >&5
7932 echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6 7940 echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6
7933 if test "${ac_cv_lib_mail_maillock+set}" = set; then 7941 if test "${ac_cv_lib_mail_maillock+set}" = set; then
7934 echo $ECHO_N "(cached) $ECHO_C" >&6 7942 echo $ECHO_N "(cached) $ECHO_C" >&6
7935 else 7943 else
7936 ac_check_lib_save_LIBS=$LIBS 7944 ac_check_lib_save_LIBS=$LIBS
7937 LIBS="-lmail $LIBS" 7945 LIBS="-lmail $LIBS"
7938 cat >conftest.$ac_ext <<_ACEOF 7946 cat >conftest.$ac_ext <<_ACEOF
7939 #line 7939 "configure" 7947 #line 7947 "configure"
7940 #include "confdefs.h" 7948 #include "confdefs.h"
7941 7949
7942 /* Override any gcc2 internal prototype to avoid an error. */ 7950 /* Override any gcc2 internal prototype to avoid an error. */
7943 #ifdef __cplusplus 7951 #ifdef __cplusplus
7944 extern "C" 7952 extern "C"
7953 ; 7961 ;
7954 return 0; 7962 return 0;
7955 } 7963 }
7956 _ACEOF 7964 _ACEOF
7957 rm -f conftest.$ac_objext conftest$ac_exeext 7965 rm -f conftest.$ac_objext conftest$ac_exeext
7958 if { (eval echo "$as_me:7958: \"$ac_link\"") >&5 7966 if { (eval echo "$as_me:7966: \"$ac_link\"") >&5
7959 (eval $ac_link) 2>&5 7967 (eval $ac_link) 2>&5
7960 ac_status=$? 7968 ac_status=$?
7961 echo "$as_me:7961: \$? = $ac_status" >&5 7969 echo "$as_me:7969: \$? = $ac_status" >&5
7962 (exit $ac_status); } && 7970 (exit $ac_status); } &&
7963 { ac_try='test -s conftest$ac_exeext' 7971 { ac_try='test -s conftest$ac_exeext'
7964 { (eval echo "$as_me:7964: \"$ac_try\"") >&5 7972 { (eval echo "$as_me:7972: \"$ac_try\"") >&5
7965 (eval $ac_try) 2>&5 7973 (eval $ac_try) 2>&5
7966 ac_status=$? 7974 ac_status=$?
7967 echo "$as_me:7967: \$? = $ac_status" >&5 7975 echo "$as_me:7975: \$? = $ac_status" >&5
7968 (exit $ac_status); }; }; then 7976 (exit $ac_status); }; }; then
7969 ac_cv_lib_mail_maillock=yes 7977 ac_cv_lib_mail_maillock=yes
7970 else 7978 else
7971 echo "$as_me: failed program was:" >&5 7979 echo "$as_me: failed program was:" >&5
7972 cat conftest.$ac_ext >&5 7980 cat conftest.$ac_ext >&5
7973 ac_cv_lib_mail_maillock=no 7981 ac_cv_lib_mail_maillock=no
7974 fi 7982 fi
7975 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7983 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7976 LIBS=$ac_check_lib_save_LIBS 7984 LIBS=$ac_check_lib_save_LIBS
7977 fi 7985 fi
7978 echo "$as_me:7978: result: $ac_cv_lib_mail_maillock" >&5 7986 echo "$as_me:7986: result: $ac_cv_lib_mail_maillock" >&5
7979 echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6 7987 echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6
7980 if test $ac_cv_lib_mail_maillock = yes; then 7988 if test $ac_cv_lib_mail_maillock = yes; then
7981 cat >>confdefs.h <<EOF 7989 cat >>confdefs.h <<EOF
7982 #define HAVE_LIBMAIL 1 7990 #define HAVE_LIBMAIL 1
7983 EOF 7991 EOF
7984 7992
7985 LIBS="-lmail $LIBS" 7993 LIBS="-lmail $LIBS"
7986 7994
7987 fi 7995 fi
7988 7996
7989 echo "$as_me:7989: checking for maillock in -llockfile" >&5 7997 echo "$as_me:7997: checking for maillock in -llockfile" >&5
7990 echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6 7998 echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6
7991 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then 7999 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then
7992 echo $ECHO_N "(cached) $ECHO_C" >&6 8000 echo $ECHO_N "(cached) $ECHO_C" >&6
7993 else 8001 else
7994 ac_check_lib_save_LIBS=$LIBS 8002 ac_check_lib_save_LIBS=$LIBS
7995 LIBS="-llockfile $LIBS" 8003 LIBS="-llockfile $LIBS"
7996 cat >conftest.$ac_ext <<_ACEOF 8004 cat >conftest.$ac_ext <<_ACEOF
7997 #line 7997 "configure" 8005 #line 8005 "configure"
7998 #include "confdefs.h" 8006 #include "confdefs.h"
7999 8007
8000 /* Override any gcc2 internal prototype to avoid an error. */ 8008 /* Override any gcc2 internal prototype to avoid an error. */
8001 #ifdef __cplusplus 8009 #ifdef __cplusplus
8002 extern "C" 8010 extern "C"
8011 ; 8019 ;
8012 return 0; 8020 return 0;
8013 } 8021 }
8014 _ACEOF 8022 _ACEOF
8015 rm -f conftest.$ac_objext conftest$ac_exeext 8023 rm -f conftest.$ac_objext conftest$ac_exeext
8016 if { (eval echo "$as_me:8016: \"$ac_link\"") >&5 8024 if { (eval echo "$as_me:8024: \"$ac_link\"") >&5
8017 (eval $ac_link) 2>&5 8025 (eval $ac_link) 2>&5
8018 ac_status=$? 8026 ac_status=$?
8019 echo "$as_me:8019: \$? = $ac_status" >&5 8027 echo "$as_me:8027: \$? = $ac_status" >&5
8020 (exit $ac_status); } && 8028 (exit $ac_status); } &&
8021 { ac_try='test -s conftest$ac_exeext' 8029 { ac_try='test -s conftest$ac_exeext'
8022 { (eval echo "$as_me:8022: \"$ac_try\"") >&5 8030 { (eval echo "$as_me:8030: \"$ac_try\"") >&5
8023 (eval $ac_try) 2>&5 8031 (eval $ac_try) 2>&5
8024 ac_status=$? 8032 ac_status=$?
8025 echo "$as_me:8025: \$? = $ac_status" >&5 8033 echo "$as_me:8033: \$? = $ac_status" >&5
8026 (exit $ac_status); }; }; then 8034 (exit $ac_status); }; }; then
8027 ac_cv_lib_lockfile_maillock=yes 8035 ac_cv_lib_lockfile_maillock=yes
8028 else 8036 else
8029 echo "$as_me: failed program was:" >&5 8037 echo "$as_me: failed program was:" >&5
8030 cat conftest.$ac_ext >&5 8038 cat conftest.$ac_ext >&5
8031 ac_cv_lib_lockfile_maillock=no 8039 ac_cv_lib_lockfile_maillock=no
8032 fi 8040 fi
8033 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8041 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8034 LIBS=$ac_check_lib_save_LIBS 8042 LIBS=$ac_check_lib_save_LIBS
8035 fi 8043 fi
8036 echo "$as_me:8036: result: $ac_cv_lib_lockfile_maillock" >&5 8044 echo "$as_me:8044: result: $ac_cv_lib_lockfile_maillock" >&5
8037 echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6 8045 echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6
8038 if test $ac_cv_lib_lockfile_maillock = yes; then 8046 if test $ac_cv_lib_lockfile_maillock = yes; then
8039 cat >>confdefs.h <<EOF 8047 cat >>confdefs.h <<EOF
8040 #define HAVE_LIBLOCKFILE 1 8048 #define HAVE_LIBLOCKFILE 1
8041 EOF 8049 EOF
8048 # locking (e.g. Debian). If we couldn't link against liblockfile 8056 # locking (e.g. Debian). If we couldn't link against liblockfile
8049 # (no liblockfile.a installed), ensure that we don't need to. 8057 # (no liblockfile.a installed), ensure that we don't need to.
8050 if test "$ac_cv_lib_lockfile_maillock" = no; then 8058 if test "$ac_cv_lib_lockfile_maillock" = no; then
8051 # Extract the first word of "liblockfile.so", so it can be a program name with args. 8059 # Extract the first word of "liblockfile.so", so it can be a program name with args.
8052 set dummy liblockfile.so; ac_word=$2 8060 set dummy liblockfile.so; ac_word=$2
8053 echo "$as_me:8053: checking for $ac_word" >&5 8061 echo "$as_me:8061: checking for $ac_word" >&5
8054 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 8062 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8055 if test "${ac_cv_prog_liblockfile+set}" = set; then 8063 if test "${ac_cv_prog_liblockfile+set}" = set; then
8056 echo $ECHO_N "(cached) $ECHO_C" >&6 8064 echo $ECHO_N "(cached) $ECHO_C" >&6
8057 else 8065 else
8058 if test -n "$liblockfile"; then 8066 if test -n "$liblockfile"; then
8063 for ac_dir in $ac_dummy; do 8071 for ac_dir in $ac_dummy; do
8064 IFS=$ac_save_IFS 8072 IFS=$ac_save_IFS
8065 test -z "$ac_dir" && ac_dir=. 8073 test -z "$ac_dir" && ac_dir=.
8066 $as_executable_p "$ac_dir/$ac_word" || continue 8074 $as_executable_p "$ac_dir/$ac_word" || continue
8067 ac_cv_prog_liblockfile="yes" 8075 ac_cv_prog_liblockfile="yes"
8068 echo "$as_me:8068: found $ac_dir/$ac_word" >&5 8076 echo "$as_me:8076: found $ac_dir/$ac_word" >&5
8069 break 8077 break
8070 done 8078 done
8071 8079
8072 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no" 8080 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no"
8073 fi 8081 fi
8074 fi 8082 fi
8075 liblockfile=$ac_cv_prog_liblockfile 8083 liblockfile=$ac_cv_prog_liblockfile
8076 if test -n "$liblockfile"; then 8084 if test -n "$liblockfile"; then
8077 echo "$as_me:8077: result: $liblockfile" >&5 8085 echo "$as_me:8085: result: $liblockfile" >&5
8078 echo "${ECHO_T}$liblockfile" >&6 8086 echo "${ECHO_T}$liblockfile" >&6
8079 else 8087 else
8080 echo "$as_me:8080: result: no" >&5 8088 echo "$as_me:8088: result: no" >&5
8081 echo "${ECHO_T}no" >&6 8089 echo "${ECHO_T}no" >&6
8082 fi 8090 fi
8083 8091
8084 if test $ac_cv_prog_liblockfile = yes; then 8092 if test $ac_cv_prog_liblockfile = yes; then
8085 { { echo "$as_me:8085: error: Shared liblockfile found but can't link against it. 8093 { { echo "$as_me:8093: error: Shared liblockfile found but can't link against it.
8086 This probably means that movemail could lose mail. 8094 This probably means that movemail could lose mail.
8087 There may be a \`development' package to install containing liblockfile." >&5 8095 There may be a \`development' package to install containing liblockfile." >&5
8088 echo "$as_me: error: Shared liblockfile found but can't link against it. 8096 echo "$as_me: error: Shared liblockfile found but can't link against it.
8089 This probably means that movemail could lose mail. 8097 This probably means that movemail could lose mail.
8090 There may be a \`development' package to install containing liblockfile." >&2;} 8098 There may be a \`development' package to install containing liblockfile." >&2;}
8098 fi 8106 fi
8099 8107
8100 for ac_func in touchlock 8108 for ac_func in touchlock
8101 do 8109 do
8102 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8110 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8103 echo "$as_me:8103: checking for $ac_func" >&5 8111 echo "$as_me:8111: checking for $ac_func" >&5
8104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8112 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8105 if eval "test \"\${$as_ac_var+set}\" = set"; then 8113 if eval "test \"\${$as_ac_var+set}\" = set"; then
8106 echo $ECHO_N "(cached) $ECHO_C" >&6 8114 echo $ECHO_N "(cached) $ECHO_C" >&6
8107 else 8115 else
8108 cat >conftest.$ac_ext <<_ACEOF 8116 cat >conftest.$ac_ext <<_ACEOF
8109 #line 8109 "configure" 8117 #line 8117 "configure"
8110 #include "confdefs.h" 8118 #include "confdefs.h"
8111 /* System header to define __stub macros and hopefully few prototypes, 8119 /* System header to define __stub macros and hopefully few prototypes,
8112 which can conflict with char $ac_func (); below. */ 8120 which can conflict with char $ac_func (); below. */
8113 #include <assert.h> 8121 #include <assert.h>
8114 /* Override any gcc2 internal prototype to avoid an error. */ 8122 /* Override any gcc2 internal prototype to avoid an error. */
8135 ; 8143 ;
8136 return 0; 8144 return 0;
8137 } 8145 }
8138 _ACEOF 8146 _ACEOF
8139 rm -f conftest.$ac_objext conftest$ac_exeext 8147 rm -f conftest.$ac_objext conftest$ac_exeext
8140 if { (eval echo "$as_me:8140: \"$ac_link\"") >&5 8148 if { (eval echo "$as_me:8148: \"$ac_link\"") >&5
8141 (eval $ac_link) 2>&5 8149 (eval $ac_link) 2>&5
8142 ac_status=$? 8150 ac_status=$?
8143 echo "$as_me:8143: \$? = $ac_status" >&5 8151 echo "$as_me:8151: \$? = $ac_status" >&5
8144 (exit $ac_status); } && 8152 (exit $ac_status); } &&
8145 { ac_try='test -s conftest$ac_exeext' 8153 { ac_try='test -s conftest$ac_exeext'
8146 { (eval echo "$as_me:8146: \"$ac_try\"") >&5 8154 { (eval echo "$as_me:8154: \"$ac_try\"") >&5
8147 (eval $ac_try) 2>&5 8155 (eval $ac_try) 2>&5
8148 ac_status=$? 8156 ac_status=$?
8149 echo "$as_me:8149: \$? = $ac_status" >&5 8157 echo "$as_me:8157: \$? = $ac_status" >&5
8150 (exit $ac_status); }; }; then 8158 (exit $ac_status); }; }; then
8151 eval "$as_ac_var=yes" 8159 eval "$as_ac_var=yes"
8152 else 8160 else
8153 echo "$as_me: failed program was:" >&5 8161 echo "$as_me: failed program was:" >&5
8154 cat conftest.$ac_ext >&5 8162 cat conftest.$ac_ext >&5
8155 eval "$as_ac_var=no" 8163 eval "$as_ac_var=no"
8156 fi 8164 fi
8157 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8165 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8158 fi 8166 fi
8159 echo "$as_me:8159: result: `eval echo '${'$as_ac_var'}'`" >&5 8167 echo "$as_me:8167: result: `eval echo '${'$as_ac_var'}'`" >&5
8160 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8168 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8161 if test `eval echo '${'$as_ac_var'}'` = yes; then 8169 if test `eval echo '${'$as_ac_var'}'` = yes; then
8162 cat >>confdefs.h <<EOF 8170 cat >>confdefs.h <<EOF
8163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 8171 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8164 EOF 8172 EOF
8167 done 8175 done
8168 8176
8169 for ac_header in maillock.h 8177 for ac_header in maillock.h
8170 do 8178 do
8171 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8179 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8172 echo "$as_me:8172: checking for $ac_header" >&5 8180 echo "$as_me:8180: checking for $ac_header" >&5
8173 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 8181 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8174 if eval "test \"\${$as_ac_Header+set}\" = set"; then 8182 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8175 echo $ECHO_N "(cached) $ECHO_C" >&6 8183 echo $ECHO_N "(cached) $ECHO_C" >&6
8176 else 8184 else
8177 cat >conftest.$ac_ext <<_ACEOF 8185 cat >conftest.$ac_ext <<_ACEOF
8178 #line 8178 "configure" 8186 #line 8186 "configure"
8179 #include "confdefs.h" 8187 #include "confdefs.h"
8180 #include <$ac_header> 8188 #include <$ac_header>
8181 _ACEOF 8189 _ACEOF
8182 if { (eval echo "$as_me:8182: \"$ac_cpp conftest.$ac_ext\"") >&5 8190 if { (eval echo "$as_me:8190: \"$ac_cpp conftest.$ac_ext\"") >&5
8183 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8191 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8184 ac_status=$? 8192 ac_status=$?
8185 egrep -v '^ *\+' conftest.er1 >conftest.err 8193 egrep -v '^ *\+' conftest.er1 >conftest.err
8186 rm -f conftest.er1 8194 rm -f conftest.er1
8187 cat conftest.err >&5 8195 cat conftest.err >&5
8188 echo "$as_me:8188: \$? = $ac_status" >&5 8196 echo "$as_me:8196: \$? = $ac_status" >&5
8189 (exit $ac_status); } >/dev/null; then 8197 (exit $ac_status); } >/dev/null; then
8190 if test -s conftest.err; then 8198 if test -s conftest.err; then
8191 ac_cpp_err=$ac_c_preproc_warn_flag 8199 ac_cpp_err=$ac_c_preproc_warn_flag
8192 else 8200 else
8193 ac_cpp_err= 8201 ac_cpp_err=
8202 cat conftest.$ac_ext >&5 8210 cat conftest.$ac_ext >&5
8203 eval "$as_ac_Header=no" 8211 eval "$as_ac_Header=no"
8204 fi 8212 fi
8205 rm -f conftest.err conftest.$ac_ext 8213 rm -f conftest.err conftest.$ac_ext
8206 fi 8214 fi
8207 echo "$as_me:8207: result: `eval echo '${'$as_ac_Header'}'`" >&5 8215 echo "$as_me:8215: result: `eval echo '${'$as_ac_Header'}'`" >&5
8208 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 8216 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8209 if test `eval echo '${'$as_ac_Header'}'` = yes; then 8217 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8210 cat >>confdefs.h <<EOF 8218 cat >>confdefs.h <<EOF
8211 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8219 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8212 EOF 8220 EOF
8221 utimes setrlimit setpgid getcwd getwd shutdown strftime getaddrinfo \ 8229 utimes setrlimit setpgid getcwd getwd shutdown strftime getaddrinfo \
8222 __fpending mblen mbrlen strsignal setitimer ualarm index rindex \ 8230 __fpending mblen mbrlen strsignal setitimer ualarm index rindex \
8223 gai_strerror mkstemp 8231 gai_strerror mkstemp
8224 do 8232 do
8225 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8233 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8226 echo "$as_me:8226: checking for $ac_func" >&5 8234 echo "$as_me:8234: checking for $ac_func" >&5
8227 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8235 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8228 if eval "test \"\${$as_ac_var+set}\" = set"; then 8236 if eval "test \"\${$as_ac_var+set}\" = set"; then
8229 echo $ECHO_N "(cached) $ECHO_C" >&6 8237 echo $ECHO_N "(cached) $ECHO_C" >&6
8230 else 8238 else
8231 cat >conftest.$ac_ext <<_ACEOF 8239 cat >conftest.$ac_ext <<_ACEOF
8232 #line 8232 "configure" 8240 #line 8240 "configure"
8233 #include "confdefs.h" 8241 #include "confdefs.h"
8234 /* System header to define __stub macros and hopefully few prototypes, 8242 /* System header to define __stub macros and hopefully few prototypes,
8235 which can conflict with char $ac_func (); below. */ 8243 which can conflict with char $ac_func (); below. */
8236 #include <assert.h> 8244 #include <assert.h>
8237 /* Override any gcc2 internal prototype to avoid an error. */ 8245 /* Override any gcc2 internal prototype to avoid an error. */
8258 ; 8266 ;
8259 return 0; 8267 return 0;
8260 } 8268 }
8261 _ACEOF 8269 _ACEOF
8262 rm -f conftest.$ac_objext conftest$ac_exeext 8270 rm -f conftest.$ac_objext conftest$ac_exeext
8263 if { (eval echo "$as_me:8263: \"$ac_link\"") >&5 8271 if { (eval echo "$as_me:8271: \"$ac_link\"") >&5
8264 (eval $ac_link) 2>&5 8272 (eval $ac_link) 2>&5
8265 ac_status=$? 8273 ac_status=$?
8266 echo "$as_me:8266: \$? = $ac_status" >&5 8274 echo "$as_me:8274: \$? = $ac_status" >&5
8267 (exit $ac_status); } && 8275 (exit $ac_status); } &&
8268 { ac_try='test -s conftest$ac_exeext' 8276 { ac_try='test -s conftest$ac_exeext'
8269 { (eval echo "$as_me:8269: \"$ac_try\"") >&5 8277 { (eval echo "$as_me:8277: \"$ac_try\"") >&5
8270 (eval $ac_try) 2>&5 8278 (eval $ac_try) 2>&5
8271 ac_status=$? 8279 ac_status=$?
8272 echo "$as_me:8272: \$? = $ac_status" >&5 8280 echo "$as_me:8280: \$? = $ac_status" >&5
8273 (exit $ac_status); }; }; then 8281 (exit $ac_status); }; }; then
8274 eval "$as_ac_var=yes" 8282 eval "$as_ac_var=yes"
8275 else 8283 else
8276 echo "$as_me: failed program was:" >&5 8284 echo "$as_me: failed program was:" >&5
8277 cat conftest.$ac_ext >&5 8285 cat conftest.$ac_ext >&5
8278 eval "$as_ac_var=no" 8286 eval "$as_ac_var=no"
8279 fi 8287 fi
8280 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8288 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8281 fi 8289 fi
8282 echo "$as_me:8282: result: `eval echo '${'$as_ac_var'}'`" >&5 8290 echo "$as_me:8290: result: `eval echo '${'$as_ac_var'}'`" >&5
8283 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8291 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8284 if test `eval echo '${'$as_ac_var'}'` = yes; then 8292 if test `eval echo '${'$as_ac_var'}'` = yes; then
8285 cat >>confdefs.h <<EOF 8293 cat >>confdefs.h <<EOF
8286 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 8294 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8287 EOF 8295 EOF
8290 done 8298 done
8291 8299
8292 for ac_header in sys/time.h unistd.h 8300 for ac_header in sys/time.h unistd.h
8293 do 8301 do
8294 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8302 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8295 echo "$as_me:8295: checking for $ac_header" >&5 8303 echo "$as_me:8303: checking for $ac_header" >&5
8296 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 8304 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8297 if eval "test \"\${$as_ac_Header+set}\" = set"; then 8305 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8298 echo $ECHO_N "(cached) $ECHO_C" >&6 8306 echo $ECHO_N "(cached) $ECHO_C" >&6
8299 else 8307 else
8300 cat >conftest.$ac_ext <<_ACEOF 8308 cat >conftest.$ac_ext <<_ACEOF
8301 #line 8301 "configure" 8309 #line 8309 "configure"
8302 #include "confdefs.h" 8310 #include "confdefs.h"
8303 #include <$ac_header> 8311 #include <$ac_header>
8304 _ACEOF 8312 _ACEOF
8305 if { (eval echo "$as_me:8305: \"$ac_cpp conftest.$ac_ext\"") >&5 8313 if { (eval echo "$as_me:8313: \"$ac_cpp conftest.$ac_ext\"") >&5
8306 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8314 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8307 ac_status=$? 8315 ac_status=$?
8308 egrep -v '^ *\+' conftest.er1 >conftest.err 8316 egrep -v '^ *\+' conftest.er1 >conftest.err
8309 rm -f conftest.er1 8317 rm -f conftest.er1
8310 cat conftest.err >&5 8318 cat conftest.err >&5
8311 echo "$as_me:8311: \$? = $ac_status" >&5 8319 echo "$as_me:8319: \$? = $ac_status" >&5
8312 (exit $ac_status); } >/dev/null; then 8320 (exit $ac_status); } >/dev/null; then
8313 if test -s conftest.err; then 8321 if test -s conftest.err; then
8314 ac_cpp_err=$ac_c_preproc_warn_flag 8322 ac_cpp_err=$ac_c_preproc_warn_flag
8315 else 8323 else
8316 ac_cpp_err= 8324 ac_cpp_err=
8325 cat conftest.$ac_ext >&5 8333 cat conftest.$ac_ext >&5
8326 eval "$as_ac_Header=no" 8334 eval "$as_ac_Header=no"
8327 fi 8335 fi
8328 rm -f conftest.err conftest.$ac_ext 8336 rm -f conftest.err conftest.$ac_ext
8329 fi 8337 fi
8330 echo "$as_me:8330: result: `eval echo '${'$as_ac_Header'}'`" >&5 8338 echo "$as_me:8338: result: `eval echo '${'$as_ac_Header'}'`" >&5
8331 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 8339 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8332 if test `eval echo '${'$as_ac_Header'}'` = yes; then 8340 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8333 cat >>confdefs.h <<EOF 8341 cat >>confdefs.h <<EOF
8334 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8342 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8335 EOF 8343 EOF
8338 done 8346 done
8339 8347
8340 for ac_func in alarm 8348 for ac_func in alarm
8341 do 8349 do
8342 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8350 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8343 echo "$as_me:8343: checking for $ac_func" >&5 8351 echo "$as_me:8351: checking for $ac_func" >&5
8344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8345 if eval "test \"\${$as_ac_var+set}\" = set"; then 8353 if eval "test \"\${$as_ac_var+set}\" = set"; then
8346 echo $ECHO_N "(cached) $ECHO_C" >&6 8354 echo $ECHO_N "(cached) $ECHO_C" >&6
8347 else 8355 else
8348 cat >conftest.$ac_ext <<_ACEOF 8356 cat >conftest.$ac_ext <<_ACEOF
8349 #line 8349 "configure" 8357 #line 8357 "configure"
8350 #include "confdefs.h" 8358 #include "confdefs.h"
8351 /* System header to define __stub macros and hopefully few prototypes, 8359 /* System header to define __stub macros and hopefully few prototypes,
8352 which can conflict with char $ac_func (); below. */ 8360 which can conflict with char $ac_func (); below. */
8353 #include <assert.h> 8361 #include <assert.h>
8354 /* Override any gcc2 internal prototype to avoid an error. */ 8362 /* Override any gcc2 internal prototype to avoid an error. */
8375 ; 8383 ;
8376 return 0; 8384 return 0;
8377 } 8385 }
8378 _ACEOF 8386 _ACEOF
8379 rm -f conftest.$ac_objext conftest$ac_exeext 8387 rm -f conftest.$ac_objext conftest$ac_exeext
8380 if { (eval echo "$as_me:8380: \"$ac_link\"") >&5 8388 if { (eval echo "$as_me:8388: \"$ac_link\"") >&5
8381 (eval $ac_link) 2>&5 8389 (eval $ac_link) 2>&5
8382 ac_status=$? 8390 ac_status=$?
8383 echo "$as_me:8383: \$? = $ac_status" >&5 8391 echo "$as_me:8391: \$? = $ac_status" >&5
8384 (exit $ac_status); } && 8392 (exit $ac_status); } &&
8385 { ac_try='test -s conftest$ac_exeext' 8393 { ac_try='test -s conftest$ac_exeext'
8386 { (eval echo "$as_me:8386: \"$ac_try\"") >&5 8394 { (eval echo "$as_me:8394: \"$ac_try\"") >&5
8387 (eval $ac_try) 2>&5 8395 (eval $ac_try) 2>&5
8388 ac_status=$? 8396 ac_status=$?
8389 echo "$as_me:8389: \$? = $ac_status" >&5 8397 echo "$as_me:8397: \$? = $ac_status" >&5
8390 (exit $ac_status); }; }; then 8398 (exit $ac_status); }; }; then
8391 eval "$as_ac_var=yes" 8399 eval "$as_ac_var=yes"
8392 else 8400 else
8393 echo "$as_me: failed program was:" >&5 8401 echo "$as_me: failed program was:" >&5
8394 cat conftest.$ac_ext >&5 8402 cat conftest.$ac_ext >&5
8395 eval "$as_ac_var=no" 8403 eval "$as_ac_var=no"
8396 fi 8404 fi
8397 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8405 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8398 fi 8406 fi
8399 echo "$as_me:8399: result: `eval echo '${'$as_ac_var'}'`" >&5 8407 echo "$as_me:8407: result: `eval echo '${'$as_ac_var'}'`" >&5
8400 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8408 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8401 if test `eval echo '${'$as_ac_var'}'` = yes; then 8409 if test `eval echo '${'$as_ac_var'}'` = yes; then
8402 cat >>confdefs.h <<EOF 8410 cat >>confdefs.h <<EOF
8403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 8411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8404 EOF 8412 EOF
8405 8413
8406 fi 8414 fi
8407 done 8415 done
8408 8416
8409 echo "$as_me:8409: checking for working mktime" >&5 8417 echo "$as_me:8417: checking for working mktime" >&5
8410 echo $ECHO_N "checking for working mktime... $ECHO_C" >&6 8418 echo $ECHO_N "checking for working mktime... $ECHO_C" >&6
8411 if test "${ac_cv_func_working_mktime+set}" = set; then 8419 if test "${ac_cv_func_working_mktime+set}" = set; then
8412 echo $ECHO_N "(cached) $ECHO_C" >&6 8420 echo $ECHO_N "(cached) $ECHO_C" >&6
8413 else 8421 else
8414 if test "$cross_compiling" = yes; then 8422 if test "$cross_compiling" = yes; then
8415 ac_cv_func_working_mktime=no 8423 ac_cv_func_working_mktime=no
8416 else 8424 else
8417 cat >conftest.$ac_ext <<_ACEOF 8425 cat >conftest.$ac_ext <<_ACEOF
8418 #line 8418 "configure" 8426 #line 8426 "configure"
8419 #include "confdefs.h" 8427 #include "confdefs.h"
8420 /* Test program from Paul Eggert and Tony Leneis. */ 8428 /* Test program from Paul Eggert and Tony Leneis. */
8421 #if TIME_WITH_SYS_TIME 8429 #if TIME_WITH_SYS_TIME
8422 # include <sys/time.h> 8430 # include <sys/time.h>
8423 # include <time.h> 8431 # include <time.h>
8562 spring_forward_gap (); 8570 spring_forward_gap ();
8563 exit (0); 8571 exit (0);
8564 } 8572 }
8565 _ACEOF 8573 _ACEOF
8566 rm -f conftest$ac_exeext 8574 rm -f conftest$ac_exeext
8567 if { (eval echo "$as_me:8567: \"$ac_link\"") >&5 8575 if { (eval echo "$as_me:8575: \"$ac_link\"") >&5
8568 (eval $ac_link) 2>&5 8576 (eval $ac_link) 2>&5
8569 ac_status=$? 8577 ac_status=$?
8570 echo "$as_me:8570: \$? = $ac_status" >&5 8578 echo "$as_me:8578: \$? = $ac_status" >&5
8571 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 8579 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8572 { (eval echo "$as_me:8572: \"$ac_try\"") >&5 8580 { (eval echo "$as_me:8580: \"$ac_try\"") >&5
8573 (eval $ac_try) 2>&5 8581 (eval $ac_try) 2>&5
8574 ac_status=$? 8582 ac_status=$?
8575 echo "$as_me:8575: \$? = $ac_status" >&5 8583 echo "$as_me:8583: \$? = $ac_status" >&5
8576 (exit $ac_status); }; }; then 8584 (exit $ac_status); }; }; then
8577 ac_cv_func_working_mktime=yes 8585 ac_cv_func_working_mktime=yes
8578 else 8586 else
8579 echo "$as_me: program exited with status $ac_status" >&5 8587 echo "$as_me: program exited with status $ac_status" >&5
8580 echo "$as_me: failed program was:" >&5 8588 echo "$as_me: failed program was:" >&5
8582 ac_cv_func_working_mktime=no 8590 ac_cv_func_working_mktime=no
8583 fi 8591 fi
8584 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 8592 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8585 fi 8593 fi
8586 fi 8594 fi
8587 echo "$as_me:8587: result: $ac_cv_func_working_mktime" >&5 8595 echo "$as_me:8595: result: $ac_cv_func_working_mktime" >&5
8588 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6 8596 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6
8589 if test $ac_cv_func_working_mktime = no; then 8597 if test $ac_cv_func_working_mktime = no; then
8590 LIBOBJS="$LIBOBJS mktime.$ac_objext" 8598 LIBOBJS="$LIBOBJS mktime.$ac_objext"
8591 fi 8599 fi
8592 8600
8600 ac_have_func=no # yes means we've found a way to get the load average. 8608 ac_have_func=no # yes means we've found a way to get the load average.
8601 8609
8602 ac_save_LIBS=$LIBS 8610 ac_save_LIBS=$LIBS
8603 8611
8604 # Check for getloadavg, but be sure not to touch the cache variable. 8612 # Check for getloadavg, but be sure not to touch the cache variable.
8605 (echo "$as_me:8605: checking for getloadavg" >&5 8613 (echo "$as_me:8613: checking for getloadavg" >&5
8606 echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6 8614 echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6
8607 if test "${ac_cv_func_getloadavg+set}" = set; then 8615 if test "${ac_cv_func_getloadavg+set}" = set; then
8608 echo $ECHO_N "(cached) $ECHO_C" >&6 8616 echo $ECHO_N "(cached) $ECHO_C" >&6
8609 else 8617 else
8610 cat >conftest.$ac_ext <<_ACEOF 8618 cat >conftest.$ac_ext <<_ACEOF
8611 #line 8611 "configure" 8619 #line 8619 "configure"
8612 #include "confdefs.h" 8620 #include "confdefs.h"
8613 /* System header to define __stub macros and hopefully few prototypes, 8621 /* System header to define __stub macros and hopefully few prototypes,
8614 which can conflict with char getloadavg (); below. */ 8622 which can conflict with char getloadavg (); below. */
8615 #include <assert.h> 8623 #include <assert.h>
8616 /* Override any gcc2 internal prototype to avoid an error. */ 8624 /* Override any gcc2 internal prototype to avoid an error. */
8637 ; 8645 ;
8638 return 0; 8646 return 0;
8639 } 8647 }
8640 _ACEOF 8648 _ACEOF
8641 rm -f conftest.$ac_objext conftest$ac_exeext 8649 rm -f conftest.$ac_objext conftest$ac_exeext
8642 if { (eval echo "$as_me:8642: \"$ac_link\"") >&5 8650 if { (eval echo "$as_me:8650: \"$ac_link\"") >&5
8643 (eval $ac_link) 2>&5 8651 (eval $ac_link) 2>&5
8644 ac_status=$? 8652 ac_status=$?
8645 echo "$as_me:8645: \$? = $ac_status" >&5 8653 echo "$as_me:8653: \$? = $ac_status" >&5
8646 (exit $ac_status); } && 8654 (exit $ac_status); } &&
8647 { ac_try='test -s conftest$ac_exeext' 8655 { ac_try='test -s conftest$ac_exeext'
8648 { (eval echo "$as_me:8648: \"$ac_try\"") >&5 8656 { (eval echo "$as_me:8656: \"$ac_try\"") >&5
8649 (eval $ac_try) 2>&5 8657 (eval $ac_try) 2>&5
8650 ac_status=$? 8658 ac_status=$?
8651 echo "$as_me:8651: \$? = $ac_status" >&5 8659 echo "$as_me:8659: \$? = $ac_status" >&5
8652 (exit $ac_status); }; }; then 8660 (exit $ac_status); }; }; then
8653 ac_cv_func_getloadavg=yes 8661 ac_cv_func_getloadavg=yes
8654 else 8662 else
8655 echo "$as_me: failed program was:" >&5 8663 echo "$as_me: failed program was:" >&5
8656 cat conftest.$ac_ext >&5 8664 cat conftest.$ac_ext >&5
8657 ac_cv_func_getloadavg=no 8665 ac_cv_func_getloadavg=no
8658 fi 8666 fi
8659 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8667 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8660 fi 8668 fi
8661 echo "$as_me:8661: result: $ac_cv_func_getloadavg" >&5 8669 echo "$as_me:8669: result: $ac_cv_func_getloadavg" >&5
8662 echo "${ECHO_T}$ac_cv_func_getloadavg" >&6 8670 echo "${ECHO_T}$ac_cv_func_getloadavg" >&6
8663 if test $ac_cv_func_getloadavg = yes; then 8671 if test $ac_cv_func_getloadavg = yes; then
8664 exit 0 8672 exit 0
8665 else 8673 else
8666 exit 1 8674 exit 1
8670 # On HPUX9, an unprivileged user can get load averages through this function. 8678 # On HPUX9, an unprivileged user can get load averages through this function.
8671 8679
8672 for ac_func in pstat_getdynamic 8680 for ac_func in pstat_getdynamic
8673 do 8681 do
8674 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8682 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8675 echo "$as_me:8675: checking for $ac_func" >&5 8683 echo "$as_me:8683: checking for $ac_func" >&5
8676 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8684 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8677 if eval "test \"\${$as_ac_var+set}\" = set"; then 8685 if eval "test \"\${$as_ac_var+set}\" = set"; then
8678 echo $ECHO_N "(cached) $ECHO_C" >&6 8686 echo $ECHO_N "(cached) $ECHO_C" >&6
8679 else 8687 else
8680 cat >conftest.$ac_ext <<_ACEOF 8688 cat >conftest.$ac_ext <<_ACEOF
8681 #line 8681 "configure" 8689 #line 8689 "configure"
8682 #include "confdefs.h" 8690 #include "confdefs.h"
8683 /* System header to define __stub macros and hopefully few prototypes, 8691 /* System header to define __stub macros and hopefully few prototypes,
8684 which can conflict with char $ac_func (); below. */ 8692 which can conflict with char $ac_func (); below. */
8685 #include <assert.h> 8693 #include <assert.h>
8686 /* Override any gcc2 internal prototype to avoid an error. */ 8694 /* Override any gcc2 internal prototype to avoid an error. */
8707 ; 8715 ;
8708 return 0; 8716 return 0;
8709 } 8717 }
8710 _ACEOF 8718 _ACEOF
8711 rm -f conftest.$ac_objext conftest$ac_exeext 8719 rm -f conftest.$ac_objext conftest$ac_exeext
8712 if { (eval echo "$as_me:8712: \"$ac_link\"") >&5 8720 if { (eval echo "$as_me:8720: \"$ac_link\"") >&5
8713 (eval $ac_link) 2>&5 8721 (eval $ac_link) 2>&5
8714 ac_status=$? 8722 ac_status=$?
8715 echo "$as_me:8715: \$? = $ac_status" >&5 8723 echo "$as_me:8723: \$? = $ac_status" >&5
8716 (exit $ac_status); } && 8724 (exit $ac_status); } &&
8717 { ac_try='test -s conftest$ac_exeext' 8725 { ac_try='test -s conftest$ac_exeext'
8718 { (eval echo "$as_me:8718: \"$ac_try\"") >&5 8726 { (eval echo "$as_me:8726: \"$ac_try\"") >&5
8719 (eval $ac_try) 2>&5 8727 (eval $ac_try) 2>&5
8720 ac_status=$? 8728 ac_status=$?
8721 echo "$as_me:8721: \$? = $ac_status" >&5 8729 echo "$as_me:8729: \$? = $ac_status" >&5
8722 (exit $ac_status); }; }; then 8730 (exit $ac_status); }; }; then
8723 eval "$as_ac_var=yes" 8731 eval "$as_ac_var=yes"
8724 else 8732 else
8725 echo "$as_me: failed program was:" >&5 8733 echo "$as_me: failed program was:" >&5
8726 cat conftest.$ac_ext >&5 8734 cat conftest.$ac_ext >&5
8727 eval "$as_ac_var=no" 8735 eval "$as_ac_var=no"
8728 fi 8736 fi
8729 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8737 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8730 fi 8738 fi
8731 echo "$as_me:8731: result: `eval echo '${'$as_ac_var'}'`" >&5 8739 echo "$as_me:8739: result: `eval echo '${'$as_ac_var'}'`" >&5
8732 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8740 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8733 if test `eval echo '${'$as_ac_var'}'` = yes; then 8741 if test `eval echo '${'$as_ac_var'}'` = yes; then
8734 cat >>confdefs.h <<EOF 8742 cat >>confdefs.h <<EOF
8735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 8743 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8736 EOF 8744 EOF
8738 fi 8746 fi
8739 done 8747 done
8740 8748
8741 # Solaris has libkstat which does not require root. 8749 # Solaris has libkstat which does not require root.
8742 8750
8743 echo "$as_me:8743: checking for kstat_open in -lkstat" >&5 8751 echo "$as_me:8751: checking for kstat_open in -lkstat" >&5
8744 echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6 8752 echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6
8745 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then 8753 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then
8746 echo $ECHO_N "(cached) $ECHO_C" >&6 8754 echo $ECHO_N "(cached) $ECHO_C" >&6
8747 else 8755 else
8748 ac_check_lib_save_LIBS=$LIBS 8756 ac_check_lib_save_LIBS=$LIBS
8749 LIBS="-lkstat $LIBS" 8757 LIBS="-lkstat $LIBS"
8750 cat >conftest.$ac_ext <<_ACEOF 8758 cat >conftest.$ac_ext <<_ACEOF
8751 #line 8751 "configure" 8759 #line 8759 "configure"
8752 #include "confdefs.h" 8760 #include "confdefs.h"
8753 8761
8754 /* Override any gcc2 internal prototype to avoid an error. */ 8762 /* Override any gcc2 internal prototype to avoid an error. */
8755 #ifdef __cplusplus 8763 #ifdef __cplusplus
8756 extern "C" 8764 extern "C"
8765 ; 8773 ;
8766 return 0; 8774 return 0;
8767 } 8775 }
8768 _ACEOF 8776 _ACEOF
8769 rm -f conftest.$ac_objext conftest$ac_exeext 8777 rm -f conftest.$ac_objext conftest$ac_exeext
8770 if { (eval echo "$as_me:8770: \"$ac_link\"") >&5 8778 if { (eval echo "$as_me:8778: \"$ac_link\"") >&5
8771 (eval $ac_link) 2>&5 8779 (eval $ac_link) 2>&5
8772 ac_status=$? 8780 ac_status=$?
8773 echo "$as_me:8773: \$? = $ac_status" >&5 8781 echo "$as_me:8781: \$? = $ac_status" >&5
8774 (exit $ac_status); } && 8782 (exit $ac_status); } &&
8775 { ac_try='test -s conftest$ac_exeext' 8783 { ac_try='test -s conftest$ac_exeext'
8776 { (eval echo "$as_me:8776: \"$ac_try\"") >&5 8784 { (eval echo "$as_me:8784: \"$ac_try\"") >&5
8777 (eval $ac_try) 2>&5 8785 (eval $ac_try) 2>&5
8778 ac_status=$? 8786 ac_status=$?
8779 echo "$as_me:8779: \$? = $ac_status" >&5 8787 echo "$as_me:8787: \$? = $ac_status" >&5
8780 (exit $ac_status); }; }; then 8788 (exit $ac_status); }; }; then
8781 ac_cv_lib_kstat_kstat_open=yes 8789 ac_cv_lib_kstat_kstat_open=yes
8782 else 8790 else
8783 echo "$as_me: failed program was:" >&5 8791 echo "$as_me: failed program was:" >&5
8784 cat conftest.$ac_ext >&5 8792 cat conftest.$ac_ext >&5
8785 ac_cv_lib_kstat_kstat_open=no 8793 ac_cv_lib_kstat_kstat_open=no
8786 fi 8794 fi
8787 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8795 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8788 LIBS=$ac_check_lib_save_LIBS 8796 LIBS=$ac_check_lib_save_LIBS
8789 fi 8797 fi
8790 echo "$as_me:8790: result: $ac_cv_lib_kstat_kstat_open" >&5 8798 echo "$as_me:8798: result: $ac_cv_lib_kstat_kstat_open" >&5
8791 echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6 8799 echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6
8792 if test $ac_cv_lib_kstat_kstat_open = yes; then 8800 if test $ac_cv_lib_kstat_kstat_open = yes; then
8793 cat >>confdefs.h <<EOF 8801 cat >>confdefs.h <<EOF
8794 #define HAVE_LIBKSTAT 1 8802 #define HAVE_LIBKSTAT 1
8795 EOF 8803 EOF
8803 # Some systems with -lutil have (and need) -lkvm as well, some do not. 8811 # Some systems with -lutil have (and need) -lkvm as well, some do not.
8804 # On Solaris, -lkvm requires nlist from -lelf, so check that first 8812 # On Solaris, -lkvm requires nlist from -lelf, so check that first
8805 # to get the right answer into the cache. 8813 # to get the right answer into the cache.
8806 # For kstat on solaris, we need libelf to force the definition of SVR4 below. 8814 # For kstat on solaris, we need libelf to force the definition of SVR4 below.
8807 if test $ac_have_func = no; then 8815 if test $ac_have_func = no; then
8808 echo "$as_me:8808: checking for elf_begin in -lelf" >&5 8816 echo "$as_me:8816: checking for elf_begin in -lelf" >&5
8809 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6 8817 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
8810 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then 8818 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
8811 echo $ECHO_N "(cached) $ECHO_C" >&6 8819 echo $ECHO_N "(cached) $ECHO_C" >&6
8812 else 8820 else
8813 ac_check_lib_save_LIBS=$LIBS 8821 ac_check_lib_save_LIBS=$LIBS
8814 LIBS="-lelf $LIBS" 8822 LIBS="-lelf $LIBS"
8815 cat >conftest.$ac_ext <<_ACEOF 8823 cat >conftest.$ac_ext <<_ACEOF
8816 #line 8816 "configure" 8824 #line 8824 "configure"
8817 #include "confdefs.h" 8825 #include "confdefs.h"
8818 8826
8819 /* Override any gcc2 internal prototype to avoid an error. */ 8827 /* Override any gcc2 internal prototype to avoid an error. */
8820 #ifdef __cplusplus 8828 #ifdef __cplusplus
8821 extern "C" 8829 extern "C"
8830 ; 8838 ;
8831 return 0; 8839 return 0;
8832 } 8840 }
8833 _ACEOF 8841 _ACEOF
8834 rm -f conftest.$ac_objext conftest$ac_exeext 8842 rm -f conftest.$ac_objext conftest$ac_exeext
8835 if { (eval echo "$as_me:8835: \"$ac_link\"") >&5 8843 if { (eval echo "$as_me:8843: \"$ac_link\"") >&5
8836 (eval $ac_link) 2>&5 8844 (eval $ac_link) 2>&5
8837 ac_status=$? 8845 ac_status=$?
8838 echo "$as_me:8838: \$? = $ac_status" >&5 8846 echo "$as_me:8846: \$? = $ac_status" >&5
8839 (exit $ac_status); } && 8847 (exit $ac_status); } &&
8840 { ac_try='test -s conftest$ac_exeext' 8848 { ac_try='test -s conftest$ac_exeext'
8841 { (eval echo "$as_me:8841: \"$ac_try\"") >&5 8849 { (eval echo "$as_me:8849: \"$ac_try\"") >&5
8842 (eval $ac_try) 2>&5 8850 (eval $ac_try) 2>&5
8843 ac_status=$? 8851 ac_status=$?
8844 echo "$as_me:8844: \$? = $ac_status" >&5 8852 echo "$as_me:8852: \$? = $ac_status" >&5
8845 (exit $ac_status); }; }; then 8853 (exit $ac_status); }; }; then
8846 ac_cv_lib_elf_elf_begin=yes 8854 ac_cv_lib_elf_elf_begin=yes
8847 else 8855 else
8848 echo "$as_me: failed program was:" >&5 8856 echo "$as_me: failed program was:" >&5
8849 cat conftest.$ac_ext >&5 8857 cat conftest.$ac_ext >&5
8850 ac_cv_lib_elf_elf_begin=no 8858 ac_cv_lib_elf_elf_begin=no
8851 fi 8859 fi
8852 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8860 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8853 LIBS=$ac_check_lib_save_LIBS 8861 LIBS=$ac_check_lib_save_LIBS
8854 fi 8862 fi
8855 echo "$as_me:8855: result: $ac_cv_lib_elf_elf_begin" >&5 8863 echo "$as_me:8863: result: $ac_cv_lib_elf_elf_begin" >&5
8856 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6 8864 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
8857 if test $ac_cv_lib_elf_elf_begin = yes; then 8865 if test $ac_cv_lib_elf_elf_begin = yes; then
8858 LIBS="-lelf $LIBS" 8866 LIBS="-lelf $LIBS"
8859 fi 8867 fi
8860 8868
8861 fi 8869 fi
8862 if test $ac_have_func = no; then 8870 if test $ac_have_func = no; then
8863 echo "$as_me:8863: checking for kvm_open in -lkvm" >&5 8871 echo "$as_me:8871: checking for kvm_open in -lkvm" >&5
8864 echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6 8872 echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6
8865 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then 8873 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then
8866 echo $ECHO_N "(cached) $ECHO_C" >&6 8874 echo $ECHO_N "(cached) $ECHO_C" >&6
8867 else 8875 else
8868 ac_check_lib_save_LIBS=$LIBS 8876 ac_check_lib_save_LIBS=$LIBS
8869 LIBS="-lkvm $LIBS" 8877 LIBS="-lkvm $LIBS"
8870 cat >conftest.$ac_ext <<_ACEOF 8878 cat >conftest.$ac_ext <<_ACEOF
8871 #line 8871 "configure" 8879 #line 8879 "configure"
8872 #include "confdefs.h" 8880 #include "confdefs.h"
8873 8881
8874 /* Override any gcc2 internal prototype to avoid an error. */ 8882 /* Override any gcc2 internal prototype to avoid an error. */
8875 #ifdef __cplusplus 8883 #ifdef __cplusplus
8876 extern "C" 8884 extern "C"
8885 ; 8893 ;
8886 return 0; 8894 return 0;
8887 } 8895 }
8888 _ACEOF 8896 _ACEOF
8889 rm -f conftest.$ac_objext conftest$ac_exeext 8897 rm -f conftest.$ac_objext conftest$ac_exeext
8890 if { (eval echo "$as_me:8890: \"$ac_link\"") >&5 8898 if { (eval echo "$as_me:8898: \"$ac_link\"") >&5
8891 (eval $ac_link) 2>&5 8899 (eval $ac_link) 2>&5
8892 ac_status=$? 8900 ac_status=$?
8893 echo "$as_me:8893: \$? = $ac_status" >&5 8901 echo "$as_me:8901: \$? = $ac_status" >&5
8894 (exit $ac_status); } && 8902 (exit $ac_status); } &&
8895 { ac_try='test -s conftest$ac_exeext' 8903 { ac_try='test -s conftest$ac_exeext'
8896 { (eval echo "$as_me:8896: \"$ac_try\"") >&5 8904 { (eval echo "$as_me:8904: \"$ac_try\"") >&5
8897 (eval $ac_try) 2>&5 8905 (eval $ac_try) 2>&5
8898 ac_status=$? 8906 ac_status=$?
8899 echo "$as_me:8899: \$? = $ac_status" >&5 8907 echo "$as_me:8907: \$? = $ac_status" >&5
8900 (exit $ac_status); }; }; then 8908 (exit $ac_status); }; }; then
8901 ac_cv_lib_kvm_kvm_open=yes 8909 ac_cv_lib_kvm_kvm_open=yes
8902 else 8910 else
8903 echo "$as_me: failed program was:" >&5 8911 echo "$as_me: failed program was:" >&5
8904 cat conftest.$ac_ext >&5 8912 cat conftest.$ac_ext >&5
8905 ac_cv_lib_kvm_kvm_open=no 8913 ac_cv_lib_kvm_kvm_open=no
8906 fi 8914 fi
8907 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8915 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8908 LIBS=$ac_check_lib_save_LIBS 8916 LIBS=$ac_check_lib_save_LIBS
8909 fi 8917 fi
8910 echo "$as_me:8910: result: $ac_cv_lib_kvm_kvm_open" >&5 8918 echo "$as_me:8918: result: $ac_cv_lib_kvm_kvm_open" >&5
8911 echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6 8919 echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6
8912 if test $ac_cv_lib_kvm_kvm_open = yes; then 8920 if test $ac_cv_lib_kvm_kvm_open = yes; then
8913 LIBS="-lkvm $LIBS" 8921 LIBS="-lkvm $LIBS"
8914 fi 8922 fi
8915 8923
8916 # Check for the 4.4BSD definition of getloadavg. 8924 # Check for the 4.4BSD definition of getloadavg.
8917 echo "$as_me:8917: checking for getloadavg in -lutil" >&5 8925 echo "$as_me:8925: checking for getloadavg in -lutil" >&5
8918 echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6 8926 echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6
8919 if test "${ac_cv_lib_util_getloadavg+set}" = set; then 8927 if test "${ac_cv_lib_util_getloadavg+set}" = set; then
8920 echo $ECHO_N "(cached) $ECHO_C" >&6 8928 echo $ECHO_N "(cached) $ECHO_C" >&6
8921 else 8929 else
8922 ac_check_lib_save_LIBS=$LIBS 8930 ac_check_lib_save_LIBS=$LIBS
8923 LIBS="-lutil $LIBS" 8931 LIBS="-lutil $LIBS"
8924 cat >conftest.$ac_ext <<_ACEOF 8932 cat >conftest.$ac_ext <<_ACEOF
8925 #line 8925 "configure" 8933 #line 8933 "configure"
8926 #include "confdefs.h" 8934 #include "confdefs.h"
8927 8935
8928 /* Override any gcc2 internal prototype to avoid an error. */ 8936 /* Override any gcc2 internal prototype to avoid an error. */
8929 #ifdef __cplusplus 8937 #ifdef __cplusplus
8930 extern "C" 8938 extern "C"
8939 ; 8947 ;
8940 return 0; 8948 return 0;
8941 } 8949 }
8942 _ACEOF 8950 _ACEOF
8943 rm -f conftest.$ac_objext conftest$ac_exeext 8951 rm -f conftest.$ac_objext conftest$ac_exeext
8944 if { (eval echo "$as_me:8944: \"$ac_link\"") >&5 8952 if { (eval echo "$as_me:8952: \"$ac_link\"") >&5
8945 (eval $ac_link) 2>&5 8953 (eval $ac_link) 2>&5
8946 ac_status=$? 8954 ac_status=$?
8947 echo "$as_me:8947: \$? = $ac_status" >&5 8955 echo "$as_me:8955: \$? = $ac_status" >&5
8948 (exit $ac_status); } && 8956 (exit $ac_status); } &&
8949 { ac_try='test -s conftest$ac_exeext' 8957 { ac_try='test -s conftest$ac_exeext'
8950 { (eval echo "$as_me:8950: \"$ac_try\"") >&5 8958 { (eval echo "$as_me:8958: \"$ac_try\"") >&5
8951 (eval $ac_try) 2>&5 8959 (eval $ac_try) 2>&5
8952 ac_status=$? 8960 ac_status=$?
8953 echo "$as_me:8953: \$? = $ac_status" >&5 8961 echo "$as_me:8961: \$? = $ac_status" >&5
8954 (exit $ac_status); }; }; then 8962 (exit $ac_status); }; }; then
8955 ac_cv_lib_util_getloadavg=yes 8963 ac_cv_lib_util_getloadavg=yes
8956 else 8964 else
8957 echo "$as_me: failed program was:" >&5 8965 echo "$as_me: failed program was:" >&5
8958 cat conftest.$ac_ext >&5 8966 cat conftest.$ac_ext >&5
8959 ac_cv_lib_util_getloadavg=no 8967 ac_cv_lib_util_getloadavg=no
8960 fi 8968 fi
8961 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8969 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8962 LIBS=$ac_check_lib_save_LIBS 8970 LIBS=$ac_check_lib_save_LIBS
8963 fi 8971 fi
8964 echo "$as_me:8964: result: $ac_cv_lib_util_getloadavg" >&5 8972 echo "$as_me:8972: result: $ac_cv_lib_util_getloadavg" >&5
8965 echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6 8973 echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6
8966 if test $ac_cv_lib_util_getloadavg = yes; then 8974 if test $ac_cv_lib_util_getloadavg = yes; then
8967 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes 8975 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes
8968 fi 8976 fi
8969 8977
8972 if test $ac_have_func = no; then 8980 if test $ac_have_func = no; then
8973 # There is a commonly available library for RS/6000 AIX. 8981 # There is a commonly available library for RS/6000 AIX.
8974 # Since it is not a standard part of AIX, it might be installed locally. 8982 # Since it is not a standard part of AIX, it might be installed locally.
8975 ac_getloadavg_LIBS=$LIBS 8983 ac_getloadavg_LIBS=$LIBS
8976 LIBS="-L/usr/local/lib $LIBS" 8984 LIBS="-L/usr/local/lib $LIBS"
8977 echo "$as_me:8977: checking for getloadavg in -lgetloadavg" >&5 8985 echo "$as_me:8985: checking for getloadavg in -lgetloadavg" >&5
8978 echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6 8986 echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6
8979 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then 8987 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then
8980 echo $ECHO_N "(cached) $ECHO_C" >&6 8988 echo $ECHO_N "(cached) $ECHO_C" >&6
8981 else 8989 else
8982 ac_check_lib_save_LIBS=$LIBS 8990 ac_check_lib_save_LIBS=$LIBS
8983 LIBS="-lgetloadavg $LIBS" 8991 LIBS="-lgetloadavg $LIBS"
8984 cat >conftest.$ac_ext <<_ACEOF 8992 cat >conftest.$ac_ext <<_ACEOF
8985 #line 8985 "configure" 8993 #line 8993 "configure"
8986 #include "confdefs.h" 8994 #include "confdefs.h"
8987 8995
8988 /* Override any gcc2 internal prototype to avoid an error. */ 8996 /* Override any gcc2 internal prototype to avoid an error. */
8989 #ifdef __cplusplus 8997 #ifdef __cplusplus
8990 extern "C" 8998 extern "C"
8999 ; 9007 ;
9000 return 0; 9008 return 0;
9001 } 9009 }
9002 _ACEOF 9010 _ACEOF
9003 rm -f conftest.$ac_objext conftest$ac_exeext 9011 rm -f conftest.$ac_objext conftest$ac_exeext
9004 if { (eval echo "$as_me:9004: \"$ac_link\"") >&5 9012 if { (eval echo "$as_me:9012: \"$ac_link\"") >&5
9005 (eval $ac_link) 2>&5 9013 (eval $ac_link) 2>&5
9006 ac_status=$? 9014 ac_status=$?
9007 echo "$as_me:9007: \$? = $ac_status" >&5 9015 echo "$as_me:9015: \$? = $ac_status" >&5
9008 (exit $ac_status); } && 9016 (exit $ac_status); } &&
9009 { ac_try='test -s conftest$ac_exeext' 9017 { ac_try='test -s conftest$ac_exeext'
9010 { (eval echo "$as_me:9010: \"$ac_try\"") >&5 9018 { (eval echo "$as_me:9018: \"$ac_try\"") >&5
9011 (eval $ac_try) 2>&5 9019 (eval $ac_try) 2>&5
9012 ac_status=$? 9020 ac_status=$?
9013 echo "$as_me:9013: \$? = $ac_status" >&5 9021 echo "$as_me:9021: \$? = $ac_status" >&5
9014 (exit $ac_status); }; }; then 9022 (exit $ac_status); }; }; then
9015 ac_cv_lib_getloadavg_getloadavg=yes 9023 ac_cv_lib_getloadavg_getloadavg=yes
9016 else 9024 else
9017 echo "$as_me: failed program was:" >&5 9025 echo "$as_me: failed program was:" >&5
9018 cat conftest.$ac_ext >&5 9026 cat conftest.$ac_ext >&5
9019 ac_cv_lib_getloadavg_getloadavg=no 9027 ac_cv_lib_getloadavg_getloadavg=no
9020 fi 9028 fi
9021 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9029 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9022 LIBS=$ac_check_lib_save_LIBS 9030 LIBS=$ac_check_lib_save_LIBS
9023 fi 9031 fi
9024 echo "$as_me:9024: result: $ac_cv_lib_getloadavg_getloadavg" >&5 9032 echo "$as_me:9032: result: $ac_cv_lib_getloadavg_getloadavg" >&5
9025 echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6 9033 echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6
9026 if test $ac_cv_lib_getloadavg_getloadavg = yes; then 9034 if test $ac_cv_lib_getloadavg_getloadavg = yes; then
9027 LIBS="-lgetloadavg $LIBS" 9035 LIBS="-lgetloadavg $LIBS"
9028 else 9036 else
9029 LIBS=$ac_getloadavg_LIBS 9037 LIBS=$ac_getloadavg_LIBS
9035 # otherwise set up the replacement function. 9043 # otherwise set up the replacement function.
9036 9044
9037 for ac_func in getloadavg 9045 for ac_func in getloadavg
9038 do 9046 do
9039 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9040 echo "$as_me:9040: checking for $ac_func" >&5 9048 echo "$as_me:9048: checking for $ac_func" >&5
9041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9042 if eval "test \"\${$as_ac_var+set}\" = set"; then 9050 if eval "test \"\${$as_ac_var+set}\" = set"; then
9043 echo $ECHO_N "(cached) $ECHO_C" >&6 9051 echo $ECHO_N "(cached) $ECHO_C" >&6
9044 else 9052 else
9045 cat >conftest.$ac_ext <<_ACEOF 9053 cat >conftest.$ac_ext <<_ACEOF
9046 #line 9046 "configure" 9054 #line 9054 "configure"
9047 #include "confdefs.h" 9055 #include "confdefs.h"
9048 /* System header to define __stub macros and hopefully few prototypes, 9056 /* System header to define __stub macros and hopefully few prototypes,
9049 which can conflict with char $ac_func (); below. */ 9057 which can conflict with char $ac_func (); below. */
9050 #include <assert.h> 9058 #include <assert.h>
9051 /* Override any gcc2 internal prototype to avoid an error. */ 9059 /* Override any gcc2 internal prototype to avoid an error. */
9072 ; 9080 ;
9073 return 0; 9081 return 0;
9074 } 9082 }
9075 _ACEOF 9083 _ACEOF
9076 rm -f conftest.$ac_objext conftest$ac_exeext 9084 rm -f conftest.$ac_objext conftest$ac_exeext
9077 if { (eval echo "$as_me:9077: \"$ac_link\"") >&5 9085 if { (eval echo "$as_me:9085: \"$ac_link\"") >&5
9078 (eval $ac_link) 2>&5 9086 (eval $ac_link) 2>&5
9079 ac_status=$? 9087 ac_status=$?
9080 echo "$as_me:9080: \$? = $ac_status" >&5 9088 echo "$as_me:9088: \$? = $ac_status" >&5
9081 (exit $ac_status); } && 9089 (exit $ac_status); } &&
9082 { ac_try='test -s conftest$ac_exeext' 9090 { ac_try='test -s conftest$ac_exeext'
9083 { (eval echo "$as_me:9083: \"$ac_try\"") >&5 9091 { (eval echo "$as_me:9091: \"$ac_try\"") >&5
9084 (eval $ac_try) 2>&5 9092 (eval $ac_try) 2>&5
9085 ac_status=$? 9093 ac_status=$?
9086 echo "$as_me:9086: \$? = $ac_status" >&5 9094 echo "$as_me:9094: \$? = $ac_status" >&5
9087 (exit $ac_status); }; }; then 9095 (exit $ac_status); }; }; then
9088 eval "$as_ac_var=yes" 9096 eval "$as_ac_var=yes"
9089 else 9097 else
9090 echo "$as_me: failed program was:" >&5 9098 echo "$as_me: failed program was:" >&5
9091 cat conftest.$ac_ext >&5 9099 cat conftest.$ac_ext >&5
9092 eval "$as_ac_var=no" 9100 eval "$as_ac_var=no"
9093 fi 9101 fi
9094 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9102 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9095 fi 9103 fi
9096 echo "$as_me:9096: result: `eval echo '${'$as_ac_var'}'`" >&5 9104 echo "$as_me:9104: result: `eval echo '${'$as_ac_var'}'`" >&5
9097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 9105 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9098 if test `eval echo '${'$as_ac_var'}'` = yes; then 9106 if test `eval echo '${'$as_ac_var'}'` = yes; then
9099 cat >>confdefs.h <<EOF 9107 cat >>confdefs.h <<EOF
9100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 9108 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9101 EOF 9109 EOF
9107 #define C_GETLOADAVG 1 9115 #define C_GETLOADAVG 1
9108 EOF 9116 EOF
9109 9117
9110 # Figure out what our getloadavg.c needs. 9118 # Figure out what our getloadavg.c needs.
9111 ac_have_func=no 9119 ac_have_func=no
9112 echo "$as_me:9112: checking for sys/dg_sys_info.h" >&5 9120 echo "$as_me:9120: checking for sys/dg_sys_info.h" >&5
9113 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6 9121 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
9114 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then 9122 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
9115 echo $ECHO_N "(cached) $ECHO_C" >&6 9123 echo $ECHO_N "(cached) $ECHO_C" >&6
9116 else 9124 else
9117 cat >conftest.$ac_ext <<_ACEOF 9125 cat >conftest.$ac_ext <<_ACEOF
9118 #line 9118 "configure" 9126 #line 9126 "configure"
9119 #include "confdefs.h" 9127 #include "confdefs.h"
9120 #include <sys/dg_sys_info.h> 9128 #include <sys/dg_sys_info.h>
9121 _ACEOF 9129 _ACEOF
9122 if { (eval echo "$as_me:9122: \"$ac_cpp conftest.$ac_ext\"") >&5 9130 if { (eval echo "$as_me:9130: \"$ac_cpp conftest.$ac_ext\"") >&5
9123 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9131 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9124 ac_status=$? 9132 ac_status=$?
9125 egrep -v '^ *\+' conftest.er1 >conftest.err 9133 egrep -v '^ *\+' conftest.er1 >conftest.err
9126 rm -f conftest.er1 9134 rm -f conftest.er1
9127 cat conftest.err >&5 9135 cat conftest.err >&5
9128 echo "$as_me:9128: \$? = $ac_status" >&5 9136 echo "$as_me:9136: \$? = $ac_status" >&5
9129 (exit $ac_status); } >/dev/null; then 9137 (exit $ac_status); } >/dev/null; then
9130 if test -s conftest.err; then 9138 if test -s conftest.err; then
9131 ac_cpp_err=$ac_c_preproc_warn_flag 9139 ac_cpp_err=$ac_c_preproc_warn_flag
9132 else 9140 else
9133 ac_cpp_err= 9141 ac_cpp_err=
9142 cat conftest.$ac_ext >&5 9150 cat conftest.$ac_ext >&5
9143 ac_cv_header_sys_dg_sys_info_h=no 9151 ac_cv_header_sys_dg_sys_info_h=no
9144 fi 9152 fi
9145 rm -f conftest.err conftest.$ac_ext 9153 rm -f conftest.err conftest.$ac_ext
9146 fi 9154 fi
9147 echo "$as_me:9147: result: $ac_cv_header_sys_dg_sys_info_h" >&5 9155 echo "$as_me:9155: result: $ac_cv_header_sys_dg_sys_info_h" >&5
9148 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6 9156 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
9149 if test $ac_cv_header_sys_dg_sys_info_h = yes; then 9157 if test $ac_cv_header_sys_dg_sys_info_h = yes; then
9150 ac_have_func=yes 9158 ac_have_func=yes
9151 9159
9152 cat >>confdefs.h <<\EOF 9160 cat >>confdefs.h <<\EOF
9153 #define DGUX 1 9161 #define DGUX 1
9154 EOF 9162 EOF
9155 9163
9156 echo "$as_me:9156: checking for dg_sys_info in -ldgc" >&5 9164 echo "$as_me:9164: checking for dg_sys_info in -ldgc" >&5
9157 echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6 9165 echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6
9158 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then 9166 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then
9159 echo $ECHO_N "(cached) $ECHO_C" >&6 9167 echo $ECHO_N "(cached) $ECHO_C" >&6
9160 else 9168 else
9161 ac_check_lib_save_LIBS=$LIBS 9169 ac_check_lib_save_LIBS=$LIBS
9162 LIBS="-ldgc $LIBS" 9170 LIBS="-ldgc $LIBS"
9163 cat >conftest.$ac_ext <<_ACEOF 9171 cat >conftest.$ac_ext <<_ACEOF
9164 #line 9164 "configure" 9172 #line 9172 "configure"
9165 #include "confdefs.h" 9173 #include "confdefs.h"
9166 9174
9167 /* Override any gcc2 internal prototype to avoid an error. */ 9175 /* Override any gcc2 internal prototype to avoid an error. */
9168 #ifdef __cplusplus 9176 #ifdef __cplusplus
9169 extern "C" 9177 extern "C"
9178 ; 9186 ;
9179 return 0; 9187 return 0;
9180 } 9188 }
9181 _ACEOF 9189 _ACEOF
9182 rm -f conftest.$ac_objext conftest$ac_exeext 9190 rm -f conftest.$ac_objext conftest$ac_exeext
9183 if { (eval echo "$as_me:9183: \"$ac_link\"") >&5 9191 if { (eval echo "$as_me:9191: \"$ac_link\"") >&5
9184 (eval $ac_link) 2>&5 9192 (eval $ac_link) 2>&5
9185 ac_status=$? 9193 ac_status=$?
9186 echo "$as_me:9186: \$? = $ac_status" >&5 9194 echo "$as_me:9194: \$? = $ac_status" >&5
9187 (exit $ac_status); } && 9195 (exit $ac_status); } &&
9188 { ac_try='test -s conftest$ac_exeext' 9196 { ac_try='test -s conftest$ac_exeext'
9189 { (eval echo "$as_me:9189: \"$ac_try\"") >&5 9197 { (eval echo "$as_me:9197: \"$ac_try\"") >&5
9190 (eval $ac_try) 2>&5 9198 (eval $ac_try) 2>&5
9191 ac_status=$? 9199 ac_status=$?
9192 echo "$as_me:9192: \$? = $ac_status" >&5 9200 echo "$as_me:9200: \$? = $ac_status" >&5
9193 (exit $ac_status); }; }; then 9201 (exit $ac_status); }; }; then
9194 ac_cv_lib_dgc_dg_sys_info=yes 9202 ac_cv_lib_dgc_dg_sys_info=yes
9195 else 9203 else
9196 echo "$as_me: failed program was:" >&5 9204 echo "$as_me: failed program was:" >&5
9197 cat conftest.$ac_ext >&5 9205 cat conftest.$ac_ext >&5
9198 ac_cv_lib_dgc_dg_sys_info=no 9206 ac_cv_lib_dgc_dg_sys_info=no
9199 fi 9207 fi
9200 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9208 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9201 LIBS=$ac_check_lib_save_LIBS 9209 LIBS=$ac_check_lib_save_LIBS
9202 fi 9210 fi
9203 echo "$as_me:9203: result: $ac_cv_lib_dgc_dg_sys_info" >&5 9211 echo "$as_me:9211: result: $ac_cv_lib_dgc_dg_sys_info" >&5
9204 echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6 9212 echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6
9205 if test $ac_cv_lib_dgc_dg_sys_info = yes; then 9213 if test $ac_cv_lib_dgc_dg_sys_info = yes; then
9206 cat >>confdefs.h <<EOF 9214 cat >>confdefs.h <<EOF
9207 #define HAVE_LIBDGC 1 9215 #define HAVE_LIBDGC 1
9208 EOF 9216 EOF
9211 9219
9212 fi 9220 fi
9213 9221
9214 fi 9222 fi
9215 9223
9216 echo "$as_me:9216: checking for locale.h" >&5 9224 echo "$as_me:9224: checking for locale.h" >&5
9217 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6 9225 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
9218 if test "${ac_cv_header_locale_h+set}" = set; then 9226 if test "${ac_cv_header_locale_h+set}" = set; then
9219 echo $ECHO_N "(cached) $ECHO_C" >&6 9227 echo $ECHO_N "(cached) $ECHO_C" >&6
9220 else 9228 else
9221 cat >conftest.$ac_ext <<_ACEOF 9229 cat >conftest.$ac_ext <<_ACEOF
9222 #line 9222 "configure" 9230 #line 9230 "configure"
9223 #include "confdefs.h" 9231 #include "confdefs.h"
9224 #include <locale.h> 9232 #include <locale.h>
9225 _ACEOF 9233 _ACEOF
9226 if { (eval echo "$as_me:9226: \"$ac_cpp conftest.$ac_ext\"") >&5 9234 if { (eval echo "$as_me:9234: \"$ac_cpp conftest.$ac_ext\"") >&5
9227 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9235 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9228 ac_status=$? 9236 ac_status=$?
9229 egrep -v '^ *\+' conftest.er1 >conftest.err 9237 egrep -v '^ *\+' conftest.er1 >conftest.err
9230 rm -f conftest.er1 9238 rm -f conftest.er1
9231 cat conftest.err >&5 9239 cat conftest.err >&5
9232 echo "$as_me:9232: \$? = $ac_status" >&5 9240 echo "$as_me:9240: \$? = $ac_status" >&5
9233 (exit $ac_status); } >/dev/null; then 9241 (exit $ac_status); } >/dev/null; then
9234 if test -s conftest.err; then 9242 if test -s conftest.err; then
9235 ac_cpp_err=$ac_c_preproc_warn_flag 9243 ac_cpp_err=$ac_c_preproc_warn_flag
9236 else 9244 else
9237 ac_cpp_err= 9245 ac_cpp_err=
9246 cat conftest.$ac_ext >&5 9254 cat conftest.$ac_ext >&5
9247 ac_cv_header_locale_h=no 9255 ac_cv_header_locale_h=no
9248 fi 9256 fi
9249 rm -f conftest.err conftest.$ac_ext 9257 rm -f conftest.err conftest.$ac_ext
9250 fi 9258 fi
9251 echo "$as_me:9251: result: $ac_cv_header_locale_h" >&5 9259 echo "$as_me:9259: result: $ac_cv_header_locale_h" >&5
9252 echo "${ECHO_T}$ac_cv_header_locale_h" >&6 9260 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
9253 9261
9254 for ac_func in setlocale 9262 for ac_func in setlocale
9255 do 9263 do
9256 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9264 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9257 echo "$as_me:9257: checking for $ac_func" >&5 9265 echo "$as_me:9265: checking for $ac_func" >&5
9258 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9259 if eval "test \"\${$as_ac_var+set}\" = set"; then 9267 if eval "test \"\${$as_ac_var+set}\" = set"; then
9260 echo $ECHO_N "(cached) $ECHO_C" >&6 9268 echo $ECHO_N "(cached) $ECHO_C" >&6
9261 else 9269 else
9262 cat >conftest.$ac_ext <<_ACEOF 9270 cat >conftest.$ac_ext <<_ACEOF
9263 #line 9263 "configure" 9271 #line 9271 "configure"
9264 #include "confdefs.h" 9272 #include "confdefs.h"
9265 /* System header to define __stub macros and hopefully few prototypes, 9273 /* System header to define __stub macros and hopefully few prototypes,
9266 which can conflict with char $ac_func (); below. */ 9274 which can conflict with char $ac_func (); below. */
9267 #include <assert.h> 9275 #include <assert.h>
9268 /* Override any gcc2 internal prototype to avoid an error. */ 9276 /* Override any gcc2 internal prototype to avoid an error. */
9289 ; 9297 ;
9290 return 0; 9298 return 0;
9291 } 9299 }
9292 _ACEOF 9300 _ACEOF
9293 rm -f conftest.$ac_objext conftest$ac_exeext 9301 rm -f conftest.$ac_objext conftest$ac_exeext
9294 if { (eval echo "$as_me:9294: \"$ac_link\"") >&5 9302 if { (eval echo "$as_me:9302: \"$ac_link\"") >&5
9295 (eval $ac_link) 2>&5 9303 (eval $ac_link) 2>&5
9296 ac_status=$? 9304 ac_status=$?
9297 echo "$as_me:9297: \$? = $ac_status" >&5 9305 echo "$as_me:9305: \$? = $ac_status" >&5
9298 (exit $ac_status); } && 9306 (exit $ac_status); } &&
9299 { ac_try='test -s conftest$ac_exeext' 9307 { ac_try='test -s conftest$ac_exeext'
9300 { (eval echo "$as_me:9300: \"$ac_try\"") >&5 9308 { (eval echo "$as_me:9308: \"$ac_try\"") >&5
9301 (eval $ac_try) 2>&5 9309 (eval $ac_try) 2>&5
9302 ac_status=$? 9310 ac_status=$?
9303 echo "$as_me:9303: \$? = $ac_status" >&5 9311 echo "$as_me:9311: \$? = $ac_status" >&5
9304 (exit $ac_status); }; }; then 9312 (exit $ac_status); }; }; then
9305 eval "$as_ac_var=yes" 9313 eval "$as_ac_var=yes"
9306 else 9314 else
9307 echo "$as_me: failed program was:" >&5 9315 echo "$as_me: failed program was:" >&5
9308 cat conftest.$ac_ext >&5 9316 cat conftest.$ac_ext >&5
9309 eval "$as_ac_var=no" 9317 eval "$as_ac_var=no"
9310 fi 9318 fi
9311 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9319 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9312 fi 9320 fi
9313 echo "$as_me:9313: result: `eval echo '${'$as_ac_var'}'`" >&5 9321 echo "$as_me:9321: result: `eval echo '${'$as_ac_var'}'`" >&5
9314 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 9322 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9315 if test `eval echo '${'$as_ac_var'}'` = yes; then 9323 if test `eval echo '${'$as_ac_var'}'` = yes; then
9316 cat >>confdefs.h <<EOF 9324 cat >>confdefs.h <<EOF
9317 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 9325 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9318 EOF 9326 EOF
9331 EOF 9339 EOF
9332 9340
9333 fi 9341 fi
9334 9342
9335 if test $ac_have_func = no; then 9343 if test $ac_have_func = no; then
9336 echo "$as_me:9336: checking for inq_stats/cpustats.h" >&5 9344 echo "$as_me:9344: checking for inq_stats/cpustats.h" >&5
9337 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6 9345 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
9338 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then 9346 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
9339 echo $ECHO_N "(cached) $ECHO_C" >&6 9347 echo $ECHO_N "(cached) $ECHO_C" >&6
9340 else 9348 else
9341 cat >conftest.$ac_ext <<_ACEOF 9349 cat >conftest.$ac_ext <<_ACEOF
9342 #line 9342 "configure" 9350 #line 9350 "configure"
9343 #include "confdefs.h" 9351 #include "confdefs.h"
9344 #include <inq_stats/cpustats.h> 9352 #include <inq_stats/cpustats.h>
9345 _ACEOF 9353 _ACEOF
9346 if { (eval echo "$as_me:9346: \"$ac_cpp conftest.$ac_ext\"") >&5 9354 if { (eval echo "$as_me:9354: \"$ac_cpp conftest.$ac_ext\"") >&5
9347 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9355 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9348 ac_status=$? 9356 ac_status=$?
9349 egrep -v '^ *\+' conftest.er1 >conftest.err 9357 egrep -v '^ *\+' conftest.er1 >conftest.err
9350 rm -f conftest.er1 9358 rm -f conftest.er1
9351 cat conftest.err >&5 9359 cat conftest.err >&5
9352 echo "$as_me:9352: \$? = $ac_status" >&5 9360 echo "$as_me:9360: \$? = $ac_status" >&5
9353 (exit $ac_status); } >/dev/null; then 9361 (exit $ac_status); } >/dev/null; then
9354 if test -s conftest.err; then 9362 if test -s conftest.err; then
9355 ac_cpp_err=$ac_c_preproc_warn_flag 9363 ac_cpp_err=$ac_c_preproc_warn_flag
9356 else 9364 else
9357 ac_cpp_err= 9365 ac_cpp_err=
9366 cat conftest.$ac_ext >&5 9374 cat conftest.$ac_ext >&5
9367 ac_cv_header_inq_stats_cpustats_h=no 9375 ac_cv_header_inq_stats_cpustats_h=no
9368 fi 9376 fi
9369 rm -f conftest.err conftest.$ac_ext 9377 rm -f conftest.err conftest.$ac_ext
9370 fi 9378 fi
9371 echo "$as_me:9371: result: $ac_cv_header_inq_stats_cpustats_h" >&5 9379 echo "$as_me:9379: result: $ac_cv_header_inq_stats_cpustats_h" >&5
9372 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6 9380 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
9373 if test $ac_cv_header_inq_stats_cpustats_h = yes; then 9381 if test $ac_cv_header_inq_stats_cpustats_h = yes; then
9374 ac_have_func=yes 9382 ac_have_func=yes
9375 9383
9376 cat >>confdefs.h <<\EOF 9384 cat >>confdefs.h <<\EOF
9384 fi 9392 fi
9385 9393
9386 fi 9394 fi
9387 9395
9388 if test $ac_have_func = no; then 9396 if test $ac_have_func = no; then
9389 echo "$as_me:9389: checking for sys/cpustats.h" >&5 9397 echo "$as_me:9397: checking for sys/cpustats.h" >&5
9390 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6 9398 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
9391 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then 9399 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
9392 echo $ECHO_N "(cached) $ECHO_C" >&6 9400 echo $ECHO_N "(cached) $ECHO_C" >&6
9393 else 9401 else
9394 cat >conftest.$ac_ext <<_ACEOF 9402 cat >conftest.$ac_ext <<_ACEOF
9395 #line 9395 "configure" 9403 #line 9403 "configure"
9396 #include "confdefs.h" 9404 #include "confdefs.h"
9397 #include <sys/cpustats.h> 9405 #include <sys/cpustats.h>
9398 _ACEOF 9406 _ACEOF
9399 if { (eval echo "$as_me:9399: \"$ac_cpp conftest.$ac_ext\"") >&5 9407 if { (eval echo "$as_me:9407: \"$ac_cpp conftest.$ac_ext\"") >&5
9400 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9408 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9401 ac_status=$? 9409 ac_status=$?
9402 egrep -v '^ *\+' conftest.er1 >conftest.err 9410 egrep -v '^ *\+' conftest.er1 >conftest.err
9403 rm -f conftest.er1 9411 rm -f conftest.er1
9404 cat conftest.err >&5 9412 cat conftest.err >&5
9405 echo "$as_me:9405: \$? = $ac_status" >&5 9413 echo "$as_me:9413: \$? = $ac_status" >&5
9406 (exit $ac_status); } >/dev/null; then 9414 (exit $ac_status); } >/dev/null; then
9407 if test -s conftest.err; then 9415 if test -s conftest.err; then
9408 ac_cpp_err=$ac_c_preproc_warn_flag 9416 ac_cpp_err=$ac_c_preproc_warn_flag
9409 else 9417 else
9410 ac_cpp_err= 9418 ac_cpp_err=
9419 cat conftest.$ac_ext >&5 9427 cat conftest.$ac_ext >&5
9420 ac_cv_header_sys_cpustats_h=no 9428 ac_cv_header_sys_cpustats_h=no
9421 fi 9429 fi
9422 rm -f conftest.err conftest.$ac_ext 9430 rm -f conftest.err conftest.$ac_ext
9423 fi 9431 fi
9424 echo "$as_me:9424: result: $ac_cv_header_sys_cpustats_h" >&5 9432 echo "$as_me:9432: result: $ac_cv_header_sys_cpustats_h" >&5
9425 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6 9433 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
9426 if test $ac_cv_header_sys_cpustats_h = yes; then 9434 if test $ac_cv_header_sys_cpustats_h = yes; then
9427 ac_have_func=yes; cat >>confdefs.h <<\EOF 9435 ac_have_func=yes; cat >>confdefs.h <<\EOF
9428 #define UMAX 1 9436 #define UMAX 1
9429 EOF 9437 EOF
9435 if test $ac_have_func = no; then 9443 if test $ac_have_func = no; then
9436 9444
9437 for ac_header in mach/mach.h 9445 for ac_header in mach/mach.h
9438 do 9446 do
9439 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 9447 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9440 echo "$as_me:9440: checking for $ac_header" >&5 9448 echo "$as_me:9448: checking for $ac_header" >&5
9441 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 9449 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9442 if eval "test \"\${$as_ac_Header+set}\" = set"; then 9450 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9443 echo $ECHO_N "(cached) $ECHO_C" >&6 9451 echo $ECHO_N "(cached) $ECHO_C" >&6
9444 else 9452 else
9445 cat >conftest.$ac_ext <<_ACEOF 9453 cat >conftest.$ac_ext <<_ACEOF
9446 #line 9446 "configure" 9454 #line 9454 "configure"
9447 #include "confdefs.h" 9455 #include "confdefs.h"
9448 #include <$ac_header> 9456 #include <$ac_header>
9449 _ACEOF 9457 _ACEOF
9450 if { (eval echo "$as_me:9450: \"$ac_cpp conftest.$ac_ext\"") >&5 9458 if { (eval echo "$as_me:9458: \"$ac_cpp conftest.$ac_ext\"") >&5
9451 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9459 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9452 ac_status=$? 9460 ac_status=$?
9453 egrep -v '^ *\+' conftest.er1 >conftest.err 9461 egrep -v '^ *\+' conftest.er1 >conftest.err
9454 rm -f conftest.er1 9462 rm -f conftest.er1
9455 cat conftest.err >&5 9463 cat conftest.err >&5
9456 echo "$as_me:9456: \$? = $ac_status" >&5 9464 echo "$as_me:9464: \$? = $ac_status" >&5
9457 (exit $ac_status); } >/dev/null; then 9465 (exit $ac_status); } >/dev/null; then
9458 if test -s conftest.err; then 9466 if test -s conftest.err; then
9459 ac_cpp_err=$ac_c_preproc_warn_flag 9467 ac_cpp_err=$ac_c_preproc_warn_flag
9460 else 9468 else
9461 ac_cpp_err= 9469 ac_cpp_err=
9470 cat conftest.$ac_ext >&5 9478 cat conftest.$ac_ext >&5
9471 eval "$as_ac_Header=no" 9479 eval "$as_ac_Header=no"
9472 fi 9480 fi
9473 rm -f conftest.err conftest.$ac_ext 9481 rm -f conftest.err conftest.$ac_ext
9474 fi 9482 fi
9475 echo "$as_me:9475: result: `eval echo '${'$as_ac_Header'}'`" >&5 9483 echo "$as_me:9483: result: `eval echo '${'$as_ac_Header'}'`" >&5
9476 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 9484 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9477 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9485 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9478 cat >>confdefs.h <<EOF 9486 cat >>confdefs.h <<EOF
9479 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 9487 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9480 EOF 9488 EOF
9485 fi 9493 fi
9486 9494
9487 for ac_header in nlist.h 9495 for ac_header in nlist.h
9488 do 9496 do
9489 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 9497 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9490 echo "$as_me:9490: checking for $ac_header" >&5 9498 echo "$as_me:9498: checking for $ac_header" >&5
9491 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 9499 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9492 if eval "test \"\${$as_ac_Header+set}\" = set"; then 9500 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9493 echo $ECHO_N "(cached) $ECHO_C" >&6 9501 echo $ECHO_N "(cached) $ECHO_C" >&6
9494 else 9502 else
9495 cat >conftest.$ac_ext <<_ACEOF 9503 cat >conftest.$ac_ext <<_ACEOF
9496 #line 9496 "configure" 9504 #line 9504 "configure"
9497 #include "confdefs.h" 9505 #include "confdefs.h"
9498 #include <$ac_header> 9506 #include <$ac_header>
9499 _ACEOF 9507 _ACEOF
9500 if { (eval echo "$as_me:9500: \"$ac_cpp conftest.$ac_ext\"") >&5 9508 if { (eval echo "$as_me:9508: \"$ac_cpp conftest.$ac_ext\"") >&5
9501 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9509 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9502 ac_status=$? 9510 ac_status=$?
9503 egrep -v '^ *\+' conftest.er1 >conftest.err 9511 egrep -v '^ *\+' conftest.er1 >conftest.err
9504 rm -f conftest.er1 9512 rm -f conftest.er1
9505 cat conftest.err >&5 9513 cat conftest.err >&5
9506 echo "$as_me:9506: \$? = $ac_status" >&5 9514 echo "$as_me:9514: \$? = $ac_status" >&5
9507 (exit $ac_status); } >/dev/null; then 9515 (exit $ac_status); } >/dev/null; then
9508 if test -s conftest.err; then 9516 if test -s conftest.err; then
9509 ac_cpp_err=$ac_c_preproc_warn_flag 9517 ac_cpp_err=$ac_c_preproc_warn_flag
9510 else 9518 else
9511 ac_cpp_err= 9519 ac_cpp_err=
9520 cat conftest.$ac_ext >&5 9528 cat conftest.$ac_ext >&5
9521 eval "$as_ac_Header=no" 9529 eval "$as_ac_Header=no"
9522 fi 9530 fi
9523 rm -f conftest.err conftest.$ac_ext 9531 rm -f conftest.err conftest.$ac_ext
9524 fi 9532 fi
9525 echo "$as_me:9525: result: `eval echo '${'$as_ac_Header'}'`" >&5 9533 echo "$as_me:9533: result: `eval echo '${'$as_ac_Header'}'`" >&5
9526 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 9534 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9527 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9535 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9528 cat >>confdefs.h <<EOF 9536 cat >>confdefs.h <<EOF
9529 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 9537 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9530 EOF 9538 EOF
9531 echo "$as_me:9531: checking for struct nlist.n_un.n_name" >&5 9539 echo "$as_me:9539: checking for struct nlist.n_un.n_name" >&5
9532 echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6 9540 echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6
9533 if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then 9541 if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then
9534 echo $ECHO_N "(cached) $ECHO_C" >&6 9542 echo $ECHO_N "(cached) $ECHO_C" >&6
9535 else 9543 else
9536 cat >conftest.$ac_ext <<_ACEOF 9544 cat >conftest.$ac_ext <<_ACEOF
9537 #line 9537 "configure" 9545 #line 9545 "configure"
9538 #include "confdefs.h" 9546 #include "confdefs.h"
9539 #include <nlist.h> 9547 #include <nlist.h>
9540 9548
9541 int 9549 int
9542 main () 9550 main ()
9547 ; 9555 ;
9548 return 0; 9556 return 0;
9549 } 9557 }
9550 _ACEOF 9558 _ACEOF
9551 rm -f conftest.$ac_objext 9559 rm -f conftest.$ac_objext
9552 if { (eval echo "$as_me:9552: \"$ac_compile\"") >&5 9560 if { (eval echo "$as_me:9560: \"$ac_compile\"") >&5
9553 (eval $ac_compile) 2>&5 9561 (eval $ac_compile) 2>&5
9554 ac_status=$? 9562 ac_status=$?
9555 echo "$as_me:9555: \$? = $ac_status" >&5 9563 echo "$as_me:9563: \$? = $ac_status" >&5
9556 (exit $ac_status); } && 9564 (exit $ac_status); } &&
9557 { ac_try='test -s conftest.$ac_objext' 9565 { ac_try='test -s conftest.$ac_objext'
9558 { (eval echo "$as_me:9558: \"$ac_try\"") >&5 9566 { (eval echo "$as_me:9566: \"$ac_try\"") >&5
9559 (eval $ac_try) 2>&5 9567 (eval $ac_try) 2>&5
9560 ac_status=$? 9568 ac_status=$?
9561 echo "$as_me:9561: \$? = $ac_status" >&5 9569 echo "$as_me:9569: \$? = $ac_status" >&5
9562 (exit $ac_status); }; }; then 9570 (exit $ac_status); }; }; then
9563 ac_cv_member_struct_nlist_n_un_n_name=yes 9571 ac_cv_member_struct_nlist_n_un_n_name=yes
9564 else 9572 else
9565 echo "$as_me: failed program was:" >&5 9573 echo "$as_me: failed program was:" >&5
9566 cat conftest.$ac_ext >&5 9574 cat conftest.$ac_ext >&5
9567 ac_cv_member_struct_nlist_n_un_n_name=no 9575 ac_cv_member_struct_nlist_n_un_n_name=no
9568 fi 9576 fi
9569 rm -f conftest.$ac_objext conftest.$ac_ext 9577 rm -f conftest.$ac_objext conftest.$ac_ext
9570 fi 9578 fi
9571 echo "$as_me:9571: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5 9579 echo "$as_me:9579: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5
9572 echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6 9580 echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6
9573 if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then 9581 if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then
9574 9582
9575 cat >>confdefs.h <<EOF 9583 cat >>confdefs.h <<EOF
9576 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1 9584 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1
9587 9595
9588 fi 9596 fi
9589 done 9597 done
9590 9598
9591 # Some definitions of getloadavg require that the program be installed setgid. 9599 # Some definitions of getloadavg require that the program be installed setgid.
9592 echo "$as_me:9592: checking whether getloadavg requires setgid" >&5 9600 echo "$as_me:9600: checking whether getloadavg requires setgid" >&5
9593 echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6 9601 echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6
9594 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then 9602 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then
9595 echo $ECHO_N "(cached) $ECHO_C" >&6 9603 echo $ECHO_N "(cached) $ECHO_C" >&6
9596 else 9604 else
9597 cat >conftest.$ac_ext <<_ACEOF 9605 cat >conftest.$ac_ext <<_ACEOF
9598 #line 9598 "configure" 9606 #line 9606 "configure"
9599 #include "confdefs.h" 9607 #include "confdefs.h"
9600 #include "$srcdir/getloadavg.c" 9608 #include "$srcdir/getloadavg.c"
9601 #ifdef LDAV_PRIVILEGED 9609 #ifdef LDAV_PRIVILEGED
9602 Yowza Am I SETGID yet 9610 Yowza Am I SETGID yet
9603 #endif 9611 #endif
9609 ac_cv_func_getloadavg_setgid=no 9617 ac_cv_func_getloadavg_setgid=no
9610 fi 9618 fi
9611 rm -f conftest* 9619 rm -f conftest*
9612 9620
9613 fi 9621 fi
9614 echo "$as_me:9614: result: $ac_cv_func_getloadavg_setgid" >&5 9622 echo "$as_me:9622: result: $ac_cv_func_getloadavg_setgid" >&5
9615 echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6 9623 echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6
9616 if test $ac_cv_func_getloadavg_setgid = yes; then 9624 if test $ac_cv_func_getloadavg_setgid = yes; then
9617 NEED_SETGID=true 9625 NEED_SETGID=true
9618 9626
9619 cat >>confdefs.h <<\EOF 9627 cat >>confdefs.h <<\EOF
9623 else 9631 else
9624 NEED_SETGID=false 9632 NEED_SETGID=false
9625 fi 9633 fi
9626 9634
9627 if test $ac_cv_func_getloadavg_setgid = yes; then 9635 if test $ac_cv_func_getloadavg_setgid = yes; then
9628 echo "$as_me:9628: checking group of /dev/kmem" >&5 9636 echo "$as_me:9636: checking group of /dev/kmem" >&5
9629 echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6 9637 echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6
9630 if test "${ac_cv_group_kmem+set}" = set; then 9638 if test "${ac_cv_group_kmem+set}" = set; then
9631 echo $ECHO_N "(cached) $ECHO_C" >&6 9639 echo $ECHO_N "(cached) $ECHO_C" >&6
9632 else 9640 else
9633 # On Solaris, /dev/kmem is a symlink. Get info on the real file. 9641 # On Solaris, /dev/kmem is a symlink. Get info on the real file.
9638 | sed -ne 's/[ ][ ]*/ /g; 9646 | sed -ne 's/[ ][ ]*/ /g;
9639 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/; 9647 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/;
9640 / /s/.* //;p;'` 9648 / /s/.* //;p;'`
9641 9649
9642 fi 9650 fi
9643 echo "$as_me:9643: result: $ac_cv_group_kmem" >&5 9651 echo "$as_me:9651: result: $ac_cv_group_kmem" >&5
9644 echo "${ECHO_T}$ac_cv_group_kmem" >&6 9652 echo "${ECHO_T}$ac_cv_group_kmem" >&6
9645 KMEM_GROUP=$ac_cv_group_kmem 9653 KMEM_GROUP=$ac_cv_group_kmem
9646 fi 9654 fi
9647 if test "x$ac_save_LIBS" = x; then 9655 if test "x$ac_save_LIBS" = x; then
9648 GETLOADAVG_LIBS=$LIBS 9656 GETLOADAVG_LIBS=$LIBS
9649 else 9657 else
9650 GETLOADAVG_LIBS=`echo "$LIBS" | sed "s!$ac_save_LIBS!!"` 9658 GETLOADAVG_LIBS=`echo "$LIBS" | sed "s!$ac_save_LIBS!!"`
9651 fi 9659 fi
9652 LIBS=$ac_save_LIBS 9660 LIBS=$ac_save_LIBS
9653 9661
9654 echo "$as_me:9654: checking for _LARGEFILE_SOURCE value needed for large files" >&5 9662 echo "$as_me:9662: checking for _LARGEFILE_SOURCE value needed for large files" >&5
9655 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6 9663 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
9656 if test "${ac_cv_sys_largefile_source+set}" = set; then 9664 if test "${ac_cv_sys_largefile_source+set}" = set; then
9657 echo $ECHO_N "(cached) $ECHO_C" >&6 9665 echo $ECHO_N "(cached) $ECHO_C" >&6
9658 else 9666 else
9659 while :; do 9667 while :; do
9660 ac_cv_sys_largefile_source=no 9668 ac_cv_sys_largefile_source=no
9661 cat >conftest.$ac_ext <<_ACEOF 9669 cat >conftest.$ac_ext <<_ACEOF
9662 #line 9662 "configure" 9670 #line 9670 "configure"
9663 #include "confdefs.h" 9671 #include "confdefs.h"
9664 #include <stdio.h> 9672 #include <stdio.h>
9665 int 9673 int
9666 main () 9674 main ()
9667 { 9675 {
9669 ; 9677 ;
9670 return 0; 9678 return 0;
9671 } 9679 }
9672 _ACEOF 9680 _ACEOF
9673 rm -f conftest.$ac_objext 9681 rm -f conftest.$ac_objext
9674 if { (eval echo "$as_me:9674: \"$ac_compile\"") >&5 9682 if { (eval echo "$as_me:9682: \"$ac_compile\"") >&5
9675 (eval $ac_compile) 2>&5 9683 (eval $ac_compile) 2>&5
9676 ac_status=$? 9684 ac_status=$?
9677 echo "$as_me:9677: \$? = $ac_status" >&5 9685 echo "$as_me:9685: \$? = $ac_status" >&5
9678 (exit $ac_status); } && 9686 (exit $ac_status); } &&
9679 { ac_try='test -s conftest.$ac_objext' 9687 { ac_try='test -s conftest.$ac_objext'
9680 { (eval echo "$as_me:9680: \"$ac_try\"") >&5 9688 { (eval echo "$as_me:9688: \"$ac_try\"") >&5
9681 (eval $ac_try) 2>&5 9689 (eval $ac_try) 2>&5
9682 ac_status=$? 9690 ac_status=$?
9683 echo "$as_me:9683: \$? = $ac_status" >&5 9691 echo "$as_me:9691: \$? = $ac_status" >&5
9684 (exit $ac_status); }; }; then 9692 (exit $ac_status); }; }; then
9685 break 9693 break
9686 else 9694 else
9687 echo "$as_me: failed program was:" >&5 9695 echo "$as_me: failed program was:" >&5
9688 cat conftest.$ac_ext >&5 9696 cat conftest.$ac_ext >&5
9689 fi 9697 fi
9690 rm -f conftest.$ac_objext conftest.$ac_ext 9698 rm -f conftest.$ac_objext conftest.$ac_ext
9691 cat >conftest.$ac_ext <<_ACEOF 9699 cat >conftest.$ac_ext <<_ACEOF
9692 #line 9692 "configure" 9700 #line 9700 "configure"
9693 #include "confdefs.h" 9701 #include "confdefs.h"
9694 #define _LARGEFILE_SOURCE 1 9702 #define _LARGEFILE_SOURCE 1
9695 #include <stdio.h> 9703 #include <stdio.h>
9696 int 9704 int
9697 main () 9705 main ()
9700 ; 9708 ;
9701 return 0; 9709 return 0;
9702 } 9710 }
9703 _ACEOF 9711 _ACEOF
9704 rm -f conftest.$ac_objext 9712 rm -f conftest.$ac_objext
9705 if { (eval echo "$as_me:9705: \"$ac_compile\"") >&5 9713 if { (eval echo "$as_me:9713: \"$ac_compile\"") >&5
9706 (eval $ac_compile) 2>&5 9714 (eval $ac_compile) 2>&5
9707 ac_status=$? 9715 ac_status=$?
9708 echo "$as_me:9708: \$? = $ac_status" >&5 9716 echo "$as_me:9716: \$? = $ac_status" >&5
9709 (exit $ac_status); } && 9717 (exit $ac_status); } &&
9710 { ac_try='test -s conftest.$ac_objext' 9718 { ac_try='test -s conftest.$ac_objext'
9711 { (eval echo "$as_me:9711: \"$ac_try\"") >&5 9719 { (eval echo "$as_me:9719: \"$ac_try\"") >&5
9712 (eval $ac_try) 2>&5 9720 (eval $ac_try) 2>&5
9713 ac_status=$? 9721 ac_status=$?
9714 echo "$as_me:9714: \$? = $ac_status" >&5 9722 echo "$as_me:9722: \$? = $ac_status" >&5
9715 (exit $ac_status); }; }; then 9723 (exit $ac_status); }; }; then
9716 ac_cv_sys_largefile_source=1; break 9724 ac_cv_sys_largefile_source=1; break
9717 else 9725 else
9718 echo "$as_me: failed program was:" >&5 9726 echo "$as_me: failed program was:" >&5
9719 cat conftest.$ac_ext >&5 9727 cat conftest.$ac_ext >&5
9720 fi 9728 fi
9721 rm -f conftest.$ac_objext conftest.$ac_ext 9729 rm -f conftest.$ac_objext conftest.$ac_ext
9722 break 9730 break
9723 done 9731 done
9724 fi 9732 fi
9725 echo "$as_me:9725: result: $ac_cv_sys_largefile_source" >&5 9733 echo "$as_me:9733: result: $ac_cv_sys_largefile_source" >&5
9726 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6 9734 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
9727 if test "$ac_cv_sys_largefile_source" != no; then 9735 if test "$ac_cv_sys_largefile_source" != no; then
9728 9736
9729 cat >>confdefs.h <<EOF 9737 cat >>confdefs.h <<EOF
9730 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source 9738 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
9734 rm -f conftest* 9742 rm -f conftest*
9735 9743
9736 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug 9744 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
9737 # in glibc 2.1.3, but that breaks too many other things. 9745 # in glibc 2.1.3, but that breaks too many other things.
9738 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. 9746 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
9739 echo "$as_me:9739: checking for fseeko" >&5 9747 echo "$as_me:9747: checking for fseeko" >&5
9740 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6 9748 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
9741 if test "${ac_cv_func_fseeko+set}" = set; then 9749 if test "${ac_cv_func_fseeko+set}" = set; then
9742 echo $ECHO_N "(cached) $ECHO_C" >&6 9750 echo $ECHO_N "(cached) $ECHO_C" >&6
9743 else 9751 else
9744 cat >conftest.$ac_ext <<_ACEOF 9752 cat >conftest.$ac_ext <<_ACEOF
9745 #line 9745 "configure" 9753 #line 9753 "configure"
9746 #include "confdefs.h" 9754 #include "confdefs.h"
9747 #include <stdio.h> 9755 #include <stdio.h>
9748 int 9756 int
9749 main () 9757 main ()
9750 { 9758 {
9752 ; 9760 ;
9753 return 0; 9761 return 0;
9754 } 9762 }
9755 _ACEOF 9763 _ACEOF
9756 rm -f conftest.$ac_objext conftest$ac_exeext 9764 rm -f conftest.$ac_objext conftest$ac_exeext
9757 if { (eval echo "$as_me:9757: \"$ac_link\"") >&5 9765 if { (eval echo "$as_me:9765: \"$ac_link\"") >&5
9758 (eval $ac_link) 2>&5 9766 (eval $ac_link) 2>&5
9759 ac_status=$? 9767 ac_status=$?
9760 echo "$as_me:9760: \$? = $ac_status" >&5 9768 echo "$as_me:9768: \$? = $ac_status" >&5
9761 (exit $ac_status); } && 9769 (exit $ac_status); } &&
9762 { ac_try='test -s conftest$ac_exeext' 9770 { ac_try='test -s conftest$ac_exeext'
9763 { (eval echo "$as_me:9763: \"$ac_try\"") >&5 9771 { (eval echo "$as_me:9771: \"$ac_try\"") >&5
9764 (eval $ac_try) 2>&5 9772 (eval $ac_try) 2>&5
9765 ac_status=$? 9773 ac_status=$?
9766 echo "$as_me:9766: \$? = $ac_status" >&5 9774 echo "$as_me:9774: \$? = $ac_status" >&5
9767 (exit $ac_status); }; }; then 9775 (exit $ac_status); }; }; then
9768 ac_cv_func_fseeko=yes 9776 ac_cv_func_fseeko=yes
9769 else 9777 else
9770 echo "$as_me: failed program was:" >&5 9778 echo "$as_me: failed program was:" >&5
9771 cat conftest.$ac_ext >&5 9779 cat conftest.$ac_ext >&5
9772 ac_cv_func_fseeko=no 9780 ac_cv_func_fseeko=no
9773 fi 9781 fi
9774 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9782 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9775 fi 9783 fi
9776 echo "$as_me:9776: result: $ac_cv_func_fseeko" >&5 9784 echo "$as_me:9784: result: $ac_cv_func_fseeko" >&5
9777 echo "${ECHO_T}$ac_cv_func_fseeko" >&6 9785 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
9778 if test $ac_cv_func_fseeko = yes; then 9786 if test $ac_cv_func_fseeko = yes; then
9779 9787
9780 cat >>confdefs.h <<\EOF 9788 cat >>confdefs.h <<\EOF
9781 #define HAVE_FSEEKO 1 9789 #define HAVE_FSEEKO 1
9786 # UNIX98 PTYs. 9794 # UNIX98 PTYs.
9787 9795
9788 for ac_func in grantpt 9796 for ac_func in grantpt
9789 do 9797 do
9790 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9798 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9791 echo "$as_me:9791: checking for $ac_func" >&5 9799 echo "$as_me:9799: checking for $ac_func" >&5
9792 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9793 if eval "test \"\${$as_ac_var+set}\" = set"; then 9801 if eval "test \"\${$as_ac_var+set}\" = set"; then
9794 echo $ECHO_N "(cached) $ECHO_C" >&6 9802 echo $ECHO_N "(cached) $ECHO_C" >&6
9795 else 9803 else
9796 cat >conftest.$ac_ext <<_ACEOF 9804 cat >conftest.$ac_ext <<_ACEOF
9797 #line 9797 "configure" 9805 #line 9805 "configure"
9798 #include "confdefs.h" 9806 #include "confdefs.h"
9799 /* System header to define __stub macros and hopefully few prototypes, 9807 /* System header to define __stub macros and hopefully few prototypes,
9800 which can conflict with char $ac_func (); below. */ 9808 which can conflict with char $ac_func (); below. */
9801 #include <assert.h> 9809 #include <assert.h>
9802 /* Override any gcc2 internal prototype to avoid an error. */ 9810 /* Override any gcc2 internal prototype to avoid an error. */
9823 ; 9831 ;
9824 return 0; 9832 return 0;
9825 } 9833 }
9826 _ACEOF 9834 _ACEOF
9827 rm -f conftest.$ac_objext conftest$ac_exeext 9835 rm -f conftest.$ac_objext conftest$ac_exeext
9828 if { (eval echo "$as_me:9828: \"$ac_link\"") >&5 9836 if { (eval echo "$as_me:9836: \"$ac_link\"") >&5
9829 (eval $ac_link) 2>&5 9837 (eval $ac_link) 2>&5
9830 ac_status=$? 9838 ac_status=$?
9831 echo "$as_me:9831: \$? = $ac_status" >&5 9839 echo "$as_me:9839: \$? = $ac_status" >&5
9832 (exit $ac_status); } && 9840 (exit $ac_status); } &&
9833 { ac_try='test -s conftest$ac_exeext' 9841 { ac_try='test -s conftest$ac_exeext'
9834 { (eval echo "$as_me:9834: \"$ac_try\"") >&5 9842 { (eval echo "$as_me:9842: \"$ac_try\"") >&5
9835 (eval $ac_try) 2>&5 9843 (eval $ac_try) 2>&5
9836 ac_status=$? 9844 ac_status=$?
9837 echo "$as_me:9837: \$? = $ac_status" >&5 9845 echo "$as_me:9845: \$? = $ac_status" >&5
9838 (exit $ac_status); }; }; then 9846 (exit $ac_status); }; }; then
9839 eval "$as_ac_var=yes" 9847 eval "$as_ac_var=yes"
9840 else 9848 else
9841 echo "$as_me: failed program was:" >&5 9849 echo "$as_me: failed program was:" >&5
9842 cat conftest.$ac_ext >&5 9850 cat conftest.$ac_ext >&5
9843 eval "$as_ac_var=no" 9851 eval "$as_ac_var=no"
9844 fi 9852 fi
9845 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9853 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9846 fi 9854 fi
9847 echo "$as_me:9847: result: `eval echo '${'$as_ac_var'}'`" >&5 9855 echo "$as_me:9855: result: `eval echo '${'$as_ac_var'}'`" >&5
9848 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 9856 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9849 if test `eval echo '${'$as_ac_var'}'` = yes; then 9857 if test `eval echo '${'$as_ac_var'}'` = yes; then
9850 cat >>confdefs.h <<EOF 9858 cat >>confdefs.h <<EOF
9851 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 9859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9852 EOF 9860 EOF
9857 # PTY-related GNU extensions. 9865 # PTY-related GNU extensions.
9858 9866
9859 for ac_func in getpt 9867 for ac_func in getpt
9860 do 9868 do
9861 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9869 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9862 echo "$as_me:9862: checking for $ac_func" >&5 9870 echo "$as_me:9870: checking for $ac_func" >&5
9863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9871 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9864 if eval "test \"\${$as_ac_var+set}\" = set"; then 9872 if eval "test \"\${$as_ac_var+set}\" = set"; then
9865 echo $ECHO_N "(cached) $ECHO_C" >&6 9873 echo $ECHO_N "(cached) $ECHO_C" >&6
9866 else 9874 else
9867 cat >conftest.$ac_ext <<_ACEOF 9875 cat >conftest.$ac_ext <<_ACEOF
9868 #line 9868 "configure" 9876 #line 9876 "configure"
9869 #include "confdefs.h" 9877 #include "confdefs.h"
9870 /* System header to define __stub macros and hopefully few prototypes, 9878 /* System header to define __stub macros and hopefully few prototypes,
9871 which can conflict with char $ac_func (); below. */ 9879 which can conflict with char $ac_func (); below. */
9872 #include <assert.h> 9880 #include <assert.h>
9873 /* Override any gcc2 internal prototype to avoid an error. */ 9881 /* Override any gcc2 internal prototype to avoid an error. */
9894 ; 9902 ;
9895 return 0; 9903 return 0;
9896 } 9904 }
9897 _ACEOF 9905 _ACEOF
9898 rm -f conftest.$ac_objext conftest$ac_exeext 9906 rm -f conftest.$ac_objext conftest$ac_exeext
9899 if { (eval echo "$as_me:9899: \"$ac_link\"") >&5 9907 if { (eval echo "$as_me:9907: \"$ac_link\"") >&5
9900 (eval $ac_link) 2>&5 9908 (eval $ac_link) 2>&5
9901 ac_status=$? 9909 ac_status=$?
9902 echo "$as_me:9902: \$? = $ac_status" >&5 9910 echo "$as_me:9910: \$? = $ac_status" >&5
9903 (exit $ac_status); } && 9911 (exit $ac_status); } &&
9904 { ac_try='test -s conftest$ac_exeext' 9912 { ac_try='test -s conftest$ac_exeext'
9905 { (eval echo "$as_me:9905: \"$ac_try\"") >&5 9913 { (eval echo "$as_me:9913: \"$ac_try\"") >&5
9906 (eval $ac_try) 2>&5 9914 (eval $ac_try) 2>&5
9907 ac_status=$? 9915 ac_status=$?
9908 echo "$as_me:9908: \$? = $ac_status" >&5 9916 echo "$as_me:9916: \$? = $ac_status" >&5
9909 (exit $ac_status); }; }; then 9917 (exit $ac_status); }; }; then
9910 eval "$as_ac_var=yes" 9918 eval "$as_ac_var=yes"
9911 else 9919 else
9912 echo "$as_me: failed program was:" >&5 9920 echo "$as_me: failed program was:" >&5
9913 cat conftest.$ac_ext >&5 9921 cat conftest.$ac_ext >&5
9914 eval "$as_ac_var=no" 9922 eval "$as_ac_var=no"
9915 fi 9923 fi
9916 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9924 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9917 fi 9925 fi
9918 echo "$as_me:9918: result: `eval echo '${'$as_ac_var'}'`" >&5 9926 echo "$as_me:9926: result: `eval echo '${'$as_ac_var'}'`" >&5
9919 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 9927 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9920 if test `eval echo '${'$as_ac_var'}'` = yes; then 9928 if test `eval echo '${'$as_ac_var'}'` = yes; then
9921 cat >>confdefs.h <<EOF 9929 cat >>confdefs.h <<EOF
9922 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 9930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9923 EOF 9931 EOF
9928 # Check this now, so that we will NOT find the above functions in ncurses. 9936 # Check this now, so that we will NOT find the above functions in ncurses.
9929 # That is because we have not set up to link ncurses in lib-src. 9937 # That is because we have not set up to link ncurses in lib-src.
9930 # It's better to believe a function is not available 9938 # It's better to believe a function is not available
9931 # than to expect to find it in ncurses. 9939 # than to expect to find it in ncurses.
9932 9940
9933 echo "$as_me:9933: checking for tparm in -lncurses" >&5 9941 echo "$as_me:9941: checking for tparm in -lncurses" >&5
9934 echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6 9942 echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6
9935 if test "${ac_cv_lib_ncurses_tparm+set}" = set; then 9943 if test "${ac_cv_lib_ncurses_tparm+set}" = set; then
9936 echo $ECHO_N "(cached) $ECHO_C" >&6 9944 echo $ECHO_N "(cached) $ECHO_C" >&6
9937 else 9945 else
9938 ac_check_lib_save_LIBS=$LIBS 9946 ac_check_lib_save_LIBS=$LIBS
9939 LIBS="-lncurses $LIBS" 9947 LIBS="-lncurses $LIBS"
9940 cat >conftest.$ac_ext <<_ACEOF 9948 cat >conftest.$ac_ext <<_ACEOF
9941 #line 9941 "configure" 9949 #line 9949 "configure"
9942 #include "confdefs.h" 9950 #include "confdefs.h"
9943 9951
9944 /* Override any gcc2 internal prototype to avoid an error. */ 9952 /* Override any gcc2 internal prototype to avoid an error. */
9945 #ifdef __cplusplus 9953 #ifdef __cplusplus
9946 extern "C" 9954 extern "C"
9955 ; 9963 ;
9956 return 0; 9964 return 0;
9957 } 9965 }
9958 _ACEOF 9966 _ACEOF
9959 rm -f conftest.$ac_objext conftest$ac_exeext 9967 rm -f conftest.$ac_objext conftest$ac_exeext
9960 if { (eval echo "$as_me:9960: \"$ac_link\"") >&5 9968 if { (eval echo "$as_me:9968: \"$ac_link\"") >&5
9961 (eval $ac_link) 2>&5 9969 (eval $ac_link) 2>&5
9962 ac_status=$? 9970 ac_status=$?
9963 echo "$as_me:9963: \$? = $ac_status" >&5 9971 echo "$as_me:9971: \$? = $ac_status" >&5
9964 (exit $ac_status); } && 9972 (exit $ac_status); } &&
9965 { ac_try='test -s conftest$ac_exeext' 9973 { ac_try='test -s conftest$ac_exeext'
9966 { (eval echo "$as_me:9966: \"$ac_try\"") >&5 9974 { (eval echo "$as_me:9974: \"$ac_try\"") >&5
9967 (eval $ac_try) 2>&5 9975 (eval $ac_try) 2>&5
9968 ac_status=$? 9976 ac_status=$?
9969 echo "$as_me:9969: \$? = $ac_status" >&5 9977 echo "$as_me:9977: \$? = $ac_status" >&5
9970 (exit $ac_status); }; }; then 9978 (exit $ac_status); }; }; then
9971 ac_cv_lib_ncurses_tparm=yes 9979 ac_cv_lib_ncurses_tparm=yes
9972 else 9980 else
9973 echo "$as_me: failed program was:" >&5 9981 echo "$as_me: failed program was:" >&5
9974 cat conftest.$ac_ext >&5 9982 cat conftest.$ac_ext >&5
9975 ac_cv_lib_ncurses_tparm=no 9983 ac_cv_lib_ncurses_tparm=no
9976 fi 9984 fi
9977 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9985 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9978 LIBS=$ac_check_lib_save_LIBS 9986 LIBS=$ac_check_lib_save_LIBS
9979 fi 9987 fi
9980 echo "$as_me:9980: result: $ac_cv_lib_ncurses_tparm" >&5 9988 echo "$as_me:9988: result: $ac_cv_lib_ncurses_tparm" >&5
9981 echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6 9989 echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6
9982 if test $ac_cv_lib_ncurses_tparm = yes; then 9990 if test $ac_cv_lib_ncurses_tparm = yes; then
9983 cat >>confdefs.h <<EOF 9991 cat >>confdefs.h <<EOF
9984 #define HAVE_LIBNCURSES 1 9992 #define HAVE_LIBNCURSES 1
9985 EOF 9993 EOF
9990 9998
9991 # Do we need the Hesiod library to provide the support routines? 9999 # Do we need the Hesiod library to provide the support routines?
9992 if test "$with_hesiod" = yes ; then 10000 if test "$with_hesiod" = yes ; then
9993 # Don't set $LIBS here -- see comments above. 10001 # Don't set $LIBS here -- see comments above.
9994 resolv=no 10002 resolv=no
9995 echo "$as_me:9995: checking for res_send" >&5 10003 echo "$as_me:10003: checking for res_send" >&5
9996 echo $ECHO_N "checking for res_send... $ECHO_C" >&6 10004 echo $ECHO_N "checking for res_send... $ECHO_C" >&6
9997 if test "${ac_cv_func_res_send+set}" = set; then 10005 if test "${ac_cv_func_res_send+set}" = set; then
9998 echo $ECHO_N "(cached) $ECHO_C" >&6 10006 echo $ECHO_N "(cached) $ECHO_C" >&6
9999 else 10007 else
10000 cat >conftest.$ac_ext <<_ACEOF 10008 cat >conftest.$ac_ext <<_ACEOF
10001 #line 10001 "configure" 10009 #line 10009 "configure"
10002 #include "confdefs.h" 10010 #include "confdefs.h"
10003 /* System header to define __stub macros and hopefully few prototypes, 10011 /* System header to define __stub macros and hopefully few prototypes,
10004 which can conflict with char res_send (); below. */ 10012 which can conflict with char res_send (); below. */
10005 #include <assert.h> 10013 #include <assert.h>
10006 /* Override any gcc2 internal prototype to avoid an error. */ 10014 /* Override any gcc2 internal prototype to avoid an error. */
10027 ; 10035 ;
10028 return 0; 10036 return 0;
10029 } 10037 }
10030 _ACEOF 10038 _ACEOF
10031 rm -f conftest.$ac_objext conftest$ac_exeext 10039 rm -f conftest.$ac_objext conftest$ac_exeext
10032 if { (eval echo "$as_me:10032: \"$ac_link\"") >&5 10040 if { (eval echo "$as_me:10040: \"$ac_link\"") >&5
10033 (eval $ac_link) 2>&5 10041 (eval $ac_link) 2>&5
10034 ac_status=$? 10042 ac_status=$?
10035 echo "$as_me:10035: \$? = $ac_status" >&5 10043 echo "$as_me:10043: \$? = $ac_status" >&5
10036 (exit $ac_status); } && 10044 (exit $ac_status); } &&
10037 { ac_try='test -s conftest$ac_exeext' 10045 { ac_try='test -s conftest$ac_exeext'
10038 { (eval echo "$as_me:10038: \"$ac_try\"") >&5 10046 { (eval echo "$as_me:10046: \"$ac_try\"") >&5
10039 (eval $ac_try) 2>&5 10047 (eval $ac_try) 2>&5
10040 ac_status=$? 10048 ac_status=$?
10041 echo "$as_me:10041: \$? = $ac_status" >&5 10049 echo "$as_me:10049: \$? = $ac_status" >&5
10042 (exit $ac_status); }; }; then 10050 (exit $ac_status); }; }; then
10043 ac_cv_func_res_send=yes 10051 ac_cv_func_res_send=yes
10044 else 10052 else
10045 echo "$as_me: failed program was:" >&5 10053 echo "$as_me: failed program was:" >&5
10046 cat conftest.$ac_ext >&5 10054 cat conftest.$ac_ext >&5
10047 ac_cv_func_res_send=no 10055 ac_cv_func_res_send=no
10048 fi 10056 fi
10049 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10057 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10050 fi 10058 fi
10051 echo "$as_me:10051: result: $ac_cv_func_res_send" >&5 10059 echo "$as_me:10059: result: $ac_cv_func_res_send" >&5
10052 echo "${ECHO_T}$ac_cv_func_res_send" >&6 10060 echo "${ECHO_T}$ac_cv_func_res_send" >&6
10053 if test $ac_cv_func_res_send = yes; then 10061 if test $ac_cv_func_res_send = yes; then
10054 : 10062 :
10055 else 10063 else
10056 echo "$as_me:10056: checking for __res_send" >&5 10064 echo "$as_me:10064: checking for __res_send" >&5
10057 echo $ECHO_N "checking for __res_send... $ECHO_C" >&6 10065 echo $ECHO_N "checking for __res_send... $ECHO_C" >&6
10058 if test "${ac_cv_func___res_send+set}" = set; then 10066 if test "${ac_cv_func___res_send+set}" = set; then
10059 echo $ECHO_N "(cached) $ECHO_C" >&6 10067 echo $ECHO_N "(cached) $ECHO_C" >&6
10060 else 10068 else
10061 cat >conftest.$ac_ext <<_ACEOF 10069 cat >conftest.$ac_ext <<_ACEOF
10062 #line 10062 "configure" 10070 #line 10070 "configure"
10063 #include "confdefs.h" 10071 #include "confdefs.h"
10064 /* System header to define __stub macros and hopefully few prototypes, 10072 /* System header to define __stub macros and hopefully few prototypes,
10065 which can conflict with char __res_send (); below. */ 10073 which can conflict with char __res_send (); below. */
10066 #include <assert.h> 10074 #include <assert.h>
10067 /* Override any gcc2 internal prototype to avoid an error. */ 10075 /* Override any gcc2 internal prototype to avoid an error. */
10088 ; 10096 ;
10089 return 0; 10097 return 0;
10090 } 10098 }
10091 _ACEOF 10099 _ACEOF
10092 rm -f conftest.$ac_objext conftest$ac_exeext 10100 rm -f conftest.$ac_objext conftest$ac_exeext
10093 if { (eval echo "$as_me:10093: \"$ac_link\"") >&5 10101 if { (eval echo "$as_me:10101: \"$ac_link\"") >&5
10094 (eval $ac_link) 2>&5 10102 (eval $ac_link) 2>&5
10095 ac_status=$? 10103 ac_status=$?
10096 echo "$as_me:10096: \$? = $ac_status" >&5 10104 echo "$as_me:10104: \$? = $ac_status" >&5
10097 (exit $ac_status); } && 10105 (exit $ac_status); } &&
10098 { ac_try='test -s conftest$ac_exeext' 10106 { ac_try='test -s conftest$ac_exeext'
10099 { (eval echo "$as_me:10099: \"$ac_try\"") >&5 10107 { (eval echo "$as_me:10107: \"$ac_try\"") >&5
10100 (eval $ac_try) 2>&5 10108 (eval $ac_try) 2>&5
10101 ac_status=$? 10109 ac_status=$?
10102 echo "$as_me:10102: \$? = $ac_status" >&5 10110 echo "$as_me:10110: \$? = $ac_status" >&5
10103 (exit $ac_status); }; }; then 10111 (exit $ac_status); }; }; then
10104 ac_cv_func___res_send=yes 10112 ac_cv_func___res_send=yes
10105 else 10113 else
10106 echo "$as_me: failed program was:" >&5 10114 echo "$as_me: failed program was:" >&5
10107 cat conftest.$ac_ext >&5 10115 cat conftest.$ac_ext >&5
10108 ac_cv_func___res_send=no 10116 ac_cv_func___res_send=no
10109 fi 10117 fi
10110 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10118 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10111 fi 10119 fi
10112 echo "$as_me:10112: result: $ac_cv_func___res_send" >&5 10120 echo "$as_me:10120: result: $ac_cv_func___res_send" >&5
10113 echo "${ECHO_T}$ac_cv_func___res_send" >&6 10121 echo "${ECHO_T}$ac_cv_func___res_send" >&6
10114 if test $ac_cv_func___res_send = yes; then 10122 if test $ac_cv_func___res_send = yes; then
10115 : 10123 :
10116 else 10124 else
10117 echo "$as_me:10117: checking for res_send in -lresolv" >&5 10125 echo "$as_me:10125: checking for res_send in -lresolv" >&5
10118 echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6 10126 echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6
10119 if test "${ac_cv_lib_resolv_res_send+set}" = set; then 10127 if test "${ac_cv_lib_resolv_res_send+set}" = set; then
10120 echo $ECHO_N "(cached) $ECHO_C" >&6 10128 echo $ECHO_N "(cached) $ECHO_C" >&6
10121 else 10129 else
10122 ac_check_lib_save_LIBS=$LIBS 10130 ac_check_lib_save_LIBS=$LIBS
10123 LIBS="-lresolv $LIBS" 10131 LIBS="-lresolv $LIBS"
10124 cat >conftest.$ac_ext <<_ACEOF 10132 cat >conftest.$ac_ext <<_ACEOF
10125 #line 10125 "configure" 10133 #line 10133 "configure"
10126 #include "confdefs.h" 10134 #include "confdefs.h"
10127 10135
10128 /* Override any gcc2 internal prototype to avoid an error. */ 10136 /* Override any gcc2 internal prototype to avoid an error. */
10129 #ifdef __cplusplus 10137 #ifdef __cplusplus
10130 extern "C" 10138 extern "C"
10139 ; 10147 ;
10140 return 0; 10148 return 0;
10141 } 10149 }
10142 _ACEOF 10150 _ACEOF
10143 rm -f conftest.$ac_objext conftest$ac_exeext 10151 rm -f conftest.$ac_objext conftest$ac_exeext
10144 if { (eval echo "$as_me:10144: \"$ac_link\"") >&5 10152 if { (eval echo "$as_me:10152: \"$ac_link\"") >&5
10145 (eval $ac_link) 2>&5 10153 (eval $ac_link) 2>&5
10146 ac_status=$? 10154 ac_status=$?
10147 echo "$as_me:10147: \$? = $ac_status" >&5 10155 echo "$as_me:10155: \$? = $ac_status" >&5
10148 (exit $ac_status); } && 10156 (exit $ac_status); } &&
10149 { ac_try='test -s conftest$ac_exeext' 10157 { ac_try='test -s conftest$ac_exeext'
10150 { (eval echo "$as_me:10150: \"$ac_try\"") >&5 10158 { (eval echo "$as_me:10158: \"$ac_try\"") >&5
10151 (eval $ac_try) 2>&5 10159 (eval $ac_try) 2>&5
10152 ac_status=$? 10160 ac_status=$?
10153 echo "$as_me:10153: \$? = $ac_status" >&5 10161 echo "$as_me:10161: \$? = $ac_status" >&5
10154 (exit $ac_status); }; }; then 10162 (exit $ac_status); }; }; then
10155 ac_cv_lib_resolv_res_send=yes 10163 ac_cv_lib_resolv_res_send=yes
10156 else 10164 else
10157 echo "$as_me: failed program was:" >&5 10165 echo "$as_me: failed program was:" >&5
10158 cat conftest.$ac_ext >&5 10166 cat conftest.$ac_ext >&5
10159 ac_cv_lib_resolv_res_send=no 10167 ac_cv_lib_resolv_res_send=no
10160 fi 10168 fi
10161 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10169 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10162 LIBS=$ac_check_lib_save_LIBS 10170 LIBS=$ac_check_lib_save_LIBS
10163 fi 10171 fi
10164 echo "$as_me:10164: result: $ac_cv_lib_resolv_res_send" >&5 10172 echo "$as_me:10172: result: $ac_cv_lib_resolv_res_send" >&5
10165 echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6 10173 echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6
10166 if test $ac_cv_lib_resolv_res_send = yes; then 10174 if test $ac_cv_lib_resolv_res_send = yes; then
10167 resolv=yes 10175 resolv=yes
10168 else 10176 else
10169 echo "$as_me:10169: checking for __res_send in -lresolv" >&5 10177 echo "$as_me:10177: checking for __res_send in -lresolv" >&5
10170 echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6 10178 echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6
10171 if test "${ac_cv_lib_resolv___res_send+set}" = set; then 10179 if test "${ac_cv_lib_resolv___res_send+set}" = set; then
10172 echo $ECHO_N "(cached) $ECHO_C" >&6 10180 echo $ECHO_N "(cached) $ECHO_C" >&6
10173 else 10181 else
10174 ac_check_lib_save_LIBS=$LIBS 10182 ac_check_lib_save_LIBS=$LIBS
10175 LIBS="-lresolv $LIBS" 10183 LIBS="-lresolv $LIBS"
10176 cat >conftest.$ac_ext <<_ACEOF 10184 cat >conftest.$ac_ext <<_ACEOF
10177 #line 10177 "configure" 10185 #line 10185 "configure"
10178 #include "confdefs.h" 10186 #include "confdefs.h"
10179 10187
10180 /* Override any gcc2 internal prototype to avoid an error. */ 10188 /* Override any gcc2 internal prototype to avoid an error. */
10181 #ifdef __cplusplus 10189 #ifdef __cplusplus
10182 extern "C" 10190 extern "C"
10191 ; 10199 ;
10192 return 0; 10200 return 0;
10193 } 10201 }
10194 _ACEOF 10202 _ACEOF
10195 rm -f conftest.$ac_objext conftest$ac_exeext 10203 rm -f conftest.$ac_objext conftest$ac_exeext
10196 if { (eval echo "$as_me:10196: \"$ac_link\"") >&5 10204 if { (eval echo "$as_me:10204: \"$ac_link\"") >&5
10197 (eval $ac_link) 2>&5 10205 (eval $ac_link) 2>&5
10198 ac_status=$? 10206 ac_status=$?
10199 echo "$as_me:10199: \$? = $ac_status" >&5 10207 echo "$as_me:10207: \$? = $ac_status" >&5
10200 (exit $ac_status); } && 10208 (exit $ac_status); } &&
10201 { ac_try='test -s conftest$ac_exeext' 10209 { ac_try='test -s conftest$ac_exeext'
10202 { (eval echo "$as_me:10202: \"$ac_try\"") >&5 10210 { (eval echo "$as_me:10210: \"$ac_try\"") >&5
10203 (eval $ac_try) 2>&5 10211 (eval $ac_try) 2>&5
10204 ac_status=$? 10212 ac_status=$?
10205 echo "$as_me:10205: \$? = $ac_status" >&5 10213 echo "$as_me:10213: \$? = $ac_status" >&5
10206 (exit $ac_status); }; }; then 10214 (exit $ac_status); }; }; then
10207 ac_cv_lib_resolv___res_send=yes 10215 ac_cv_lib_resolv___res_send=yes
10208 else 10216 else
10209 echo "$as_me: failed program was:" >&5 10217 echo "$as_me: failed program was:" >&5
10210 cat conftest.$ac_ext >&5 10218 cat conftest.$ac_ext >&5
10211 ac_cv_lib_resolv___res_send=no 10219 ac_cv_lib_resolv___res_send=no
10212 fi 10220 fi
10213 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10221 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10214 LIBS=$ac_check_lib_save_LIBS 10222 LIBS=$ac_check_lib_save_LIBS
10215 fi 10223 fi
10216 echo "$as_me:10216: result: $ac_cv_lib_resolv___res_send" >&5 10224 echo "$as_me:10224: result: $ac_cv_lib_resolv___res_send" >&5
10217 echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6 10225 echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6
10218 if test $ac_cv_lib_resolv___res_send = yes; then 10226 if test $ac_cv_lib_resolv___res_send = yes; then
10219 resolv=yes 10227 resolv=yes
10220 fi 10228 fi
10221 10229
10232 EOF 10240 EOF
10233 10241
10234 else 10242 else
10235 RESOLVLIB= 10243 RESOLVLIB=
10236 fi 10244 fi
10237 echo "$as_me:10237: checking for hes_getmailhost" >&5 10245 echo "$as_me:10245: checking for hes_getmailhost" >&5
10238 echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6 10246 echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6
10239 if test "${ac_cv_func_hes_getmailhost+set}" = set; then 10247 if test "${ac_cv_func_hes_getmailhost+set}" = set; then
10240 echo $ECHO_N "(cached) $ECHO_C" >&6 10248 echo $ECHO_N "(cached) $ECHO_C" >&6
10241 else 10249 else
10242 cat >conftest.$ac_ext <<_ACEOF 10250 cat >conftest.$ac_ext <<_ACEOF
10243 #line 10243 "configure" 10251 #line 10251 "configure"
10244 #include "confdefs.h" 10252 #include "confdefs.h"
10245 /* System header to define __stub macros and hopefully few prototypes, 10253 /* System header to define __stub macros and hopefully few prototypes,
10246 which can conflict with char hes_getmailhost (); below. */ 10254 which can conflict with char hes_getmailhost (); below. */
10247 #include <assert.h> 10255 #include <assert.h>
10248 /* Override any gcc2 internal prototype to avoid an error. */ 10256 /* Override any gcc2 internal prototype to avoid an error. */
10269 ; 10277 ;
10270 return 0; 10278 return 0;
10271 } 10279 }
10272 _ACEOF 10280 _ACEOF
10273 rm -f conftest.$ac_objext conftest$ac_exeext 10281 rm -f conftest.$ac_objext conftest$ac_exeext
10274 if { (eval echo "$as_me:10274: \"$ac_link\"") >&5 10282 if { (eval echo "$as_me:10282: \"$ac_link\"") >&5
10275 (eval $ac_link) 2>&5 10283 (eval $ac_link) 2>&5
10276 ac_status=$? 10284 ac_status=$?
10277 echo "$as_me:10277: \$? = $ac_status" >&5 10285 echo "$as_me:10285: \$? = $ac_status" >&5
10278 (exit $ac_status); } && 10286 (exit $ac_status); } &&
10279 { ac_try='test -s conftest$ac_exeext' 10287 { ac_try='test -s conftest$ac_exeext'
10280 { (eval echo "$as_me:10280: \"$ac_try\"") >&5 10288 { (eval echo "$as_me:10288: \"$ac_try\"") >&5
10281 (eval $ac_try) 2>&5 10289 (eval $ac_try) 2>&5
10282 ac_status=$? 10290 ac_status=$?
10283 echo "$as_me:10283: \$? = $ac_status" >&5 10291 echo "$as_me:10291: \$? = $ac_status" >&5
10284 (exit $ac_status); }; }; then 10292 (exit $ac_status); }; }; then
10285 ac_cv_func_hes_getmailhost=yes 10293 ac_cv_func_hes_getmailhost=yes
10286 else 10294 else
10287 echo "$as_me: failed program was:" >&5 10295 echo "$as_me: failed program was:" >&5
10288 cat conftest.$ac_ext >&5 10296 cat conftest.$ac_ext >&5
10289 ac_cv_func_hes_getmailhost=no 10297 ac_cv_func_hes_getmailhost=no
10290 fi 10298 fi
10291 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10299 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10292 fi 10300 fi
10293 echo "$as_me:10293: result: $ac_cv_func_hes_getmailhost" >&5 10301 echo "$as_me:10301: result: $ac_cv_func_hes_getmailhost" >&5
10294 echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6 10302 echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6
10295 if test $ac_cv_func_hes_getmailhost = yes; then 10303 if test $ac_cv_func_hes_getmailhost = yes; then
10296 : 10304 :
10297 else 10305 else
10298 echo "$as_me:10298: checking for hes_getmailhost in -lhesiod" >&5 10306 echo "$as_me:10306: checking for hes_getmailhost in -lhesiod" >&5
10299 echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6 10307 echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6
10300 if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then 10308 if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then
10301 echo $ECHO_N "(cached) $ECHO_C" >&6 10309 echo $ECHO_N "(cached) $ECHO_C" >&6
10302 else 10310 else
10303 ac_check_lib_save_LIBS=$LIBS 10311 ac_check_lib_save_LIBS=$LIBS
10304 LIBS="-lhesiod $RESOLVLIB $LIBS" 10312 LIBS="-lhesiod $RESOLVLIB $LIBS"
10305 cat >conftest.$ac_ext <<_ACEOF 10313 cat >conftest.$ac_ext <<_ACEOF
10306 #line 10306 "configure" 10314 #line 10314 "configure"
10307 #include "confdefs.h" 10315 #include "confdefs.h"
10308 10316
10309 /* Override any gcc2 internal prototype to avoid an error. */ 10317 /* Override any gcc2 internal prototype to avoid an error. */
10310 #ifdef __cplusplus 10318 #ifdef __cplusplus
10311 extern "C" 10319 extern "C"
10320 ; 10328 ;
10321 return 0; 10329 return 0;
10322 } 10330 }
10323 _ACEOF 10331 _ACEOF
10324 rm -f conftest.$ac_objext conftest$ac_exeext 10332 rm -f conftest.$ac_objext conftest$ac_exeext
10325 if { (eval echo "$as_me:10325: \"$ac_link\"") >&5 10333 if { (eval echo "$as_me:10333: \"$ac_link\"") >&5
10326 (eval $ac_link) 2>&5 10334 (eval $ac_link) 2>&5
10327 ac_status=$? 10335 ac_status=$?
10328 echo "$as_me:10328: \$? = $ac_status" >&5 10336 echo "$as_me:10336: \$? = $ac_status" >&5
10329 (exit $ac_status); } && 10337 (exit $ac_status); } &&
10330 { ac_try='test -s conftest$ac_exeext' 10338 { ac_try='test -s conftest$ac_exeext'
10331 { (eval echo "$as_me:10331: \"$ac_try\"") >&5 10339 { (eval echo "$as_me:10339: \"$ac_try\"") >&5
10332 (eval $ac_try) 2>&5 10340 (eval $ac_try) 2>&5
10333 ac_status=$? 10341 ac_status=$?
10334 echo "$as_me:10334: \$? = $ac_status" >&5 10342 echo "$as_me:10342: \$? = $ac_status" >&5
10335 (exit $ac_status); }; }; then 10343 (exit $ac_status); }; }; then
10336 ac_cv_lib_hesiod_hes_getmailhost=yes 10344 ac_cv_lib_hesiod_hes_getmailhost=yes
10337 else 10345 else
10338 echo "$as_me: failed program was:" >&5 10346 echo "$as_me: failed program was:" >&5
10339 cat conftest.$ac_ext >&5 10347 cat conftest.$ac_ext >&5
10340 ac_cv_lib_hesiod_hes_getmailhost=no 10348 ac_cv_lib_hesiod_hes_getmailhost=no
10341 fi 10349 fi
10342 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10350 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10343 LIBS=$ac_check_lib_save_LIBS 10351 LIBS=$ac_check_lib_save_LIBS
10344 fi 10352 fi
10345 echo "$as_me:10345: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 10353 echo "$as_me:10353: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5
10346 echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6 10354 echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6
10347 if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then 10355 if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then
10348 cat >>confdefs.h <<\EOF 10356 cat >>confdefs.h <<\EOF
10349 #define HAVE_LIBHESIOD 1 10357 #define HAVE_LIBHESIOD 1
10350 EOF 10358 EOF
10358 fi 10366 fi
10359 10367
10360 # These tell us which Kerberos-related libraries to use. 10368 # These tell us which Kerberos-related libraries to use.
10361 if test "${with_kerberos+set}" = set; then 10369 if test "${with_kerberos+set}" = set; then
10362 10370
10363 echo "$as_me:10363: checking for com_err in -lcom_err" >&5 10371 echo "$as_me:10371: checking for com_err in -lcom_err" >&5
10364 echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6 10372 echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6
10365 if test "${ac_cv_lib_com_err_com_err+set}" = set; then 10373 if test "${ac_cv_lib_com_err_com_err+set}" = set; then
10366 echo $ECHO_N "(cached) $ECHO_C" >&6 10374 echo $ECHO_N "(cached) $ECHO_C" >&6
10367 else 10375 else
10368 ac_check_lib_save_LIBS=$LIBS 10376 ac_check_lib_save_LIBS=$LIBS
10369 LIBS="-lcom_err $LIBS" 10377 LIBS="-lcom_err $LIBS"
10370 cat >conftest.$ac_ext <<_ACEOF 10378 cat >conftest.$ac_ext <<_ACEOF
10371 #line 10371 "configure" 10379 #line 10379 "configure"
10372 #include "confdefs.h" 10380 #include "confdefs.h"
10373 10381
10374 /* Override any gcc2 internal prototype to avoid an error. */ 10382 /* Override any gcc2 internal prototype to avoid an error. */
10375 #ifdef __cplusplus 10383 #ifdef __cplusplus
10376 extern "C" 10384 extern "C"
10385 ; 10393 ;
10386 return 0; 10394 return 0;
10387 } 10395 }
10388 _ACEOF 10396 _ACEOF
10389 rm -f conftest.$ac_objext conftest$ac_exeext 10397 rm -f conftest.$ac_objext conftest$ac_exeext
10390 if { (eval echo "$as_me:10390: \"$ac_link\"") >&5 10398 if { (eval echo "$as_me:10398: \"$ac_link\"") >&5
10391 (eval $ac_link) 2>&5 10399 (eval $ac_link) 2>&5
10392 ac_status=$? 10400 ac_status=$?
10393 echo "$as_me:10393: \$? = $ac_status" >&5 10401 echo "$as_me:10401: \$? = $ac_status" >&5
10394 (exit $ac_status); } && 10402 (exit $ac_status); } &&
10395 { ac_try='test -s conftest$ac_exeext' 10403 { ac_try='test -s conftest$ac_exeext'
10396 { (eval echo "$as_me:10396: \"$ac_try\"") >&5 10404 { (eval echo "$as_me:10404: \"$ac_try\"") >&5
10397 (eval $ac_try) 2>&5 10405 (eval $ac_try) 2>&5
10398 ac_status=$? 10406 ac_status=$?
10399 echo "$as_me:10399: \$? = $ac_status" >&5 10407 echo "$as_me:10407: \$? = $ac_status" >&5
10400 (exit $ac_status); }; }; then 10408 (exit $ac_status); }; }; then
10401 ac_cv_lib_com_err_com_err=yes 10409 ac_cv_lib_com_err_com_err=yes
10402 else 10410 else
10403 echo "$as_me: failed program was:" >&5 10411 echo "$as_me: failed program was:" >&5
10404 cat conftest.$ac_ext >&5 10412 cat conftest.$ac_ext >&5
10405 ac_cv_lib_com_err_com_err=no 10413 ac_cv_lib_com_err_com_err=no
10406 fi 10414 fi
10407 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10415 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10408 LIBS=$ac_check_lib_save_LIBS 10416 LIBS=$ac_check_lib_save_LIBS
10409 fi 10417 fi
10410 echo "$as_me:10410: result: $ac_cv_lib_com_err_com_err" >&5 10418 echo "$as_me:10418: result: $ac_cv_lib_com_err_com_err" >&5
10411 echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6 10419 echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6
10412 if test $ac_cv_lib_com_err_com_err = yes; then 10420 if test $ac_cv_lib_com_err_com_err = yes; then
10413 cat >>confdefs.h <<EOF 10421 cat >>confdefs.h <<EOF
10414 #define HAVE_LIBCOM_ERR 1 10422 #define HAVE_LIBCOM_ERR 1
10415 EOF 10423 EOF
10416 10424
10417 LIBS="-lcom_err $LIBS" 10425 LIBS="-lcom_err $LIBS"
10418 10426
10419 fi 10427 fi
10420 10428
10421 echo "$as_me:10421: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 10429 echo "$as_me:10429: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
10422 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6 10430 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6
10423 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then 10431 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then
10424 echo $ECHO_N "(cached) $ECHO_C" >&6 10432 echo $ECHO_N "(cached) $ECHO_C" >&6
10425 else 10433 else
10426 ac_check_lib_save_LIBS=$LIBS 10434 ac_check_lib_save_LIBS=$LIBS
10427 LIBS="-lk5crypto $LIBS" 10435 LIBS="-lk5crypto $LIBS"
10428 cat >conftest.$ac_ext <<_ACEOF 10436 cat >conftest.$ac_ext <<_ACEOF
10429 #line 10429 "configure" 10437 #line 10437 "configure"
10430 #include "confdefs.h" 10438 #include "confdefs.h"
10431 10439
10432 /* Override any gcc2 internal prototype to avoid an error. */ 10440 /* Override any gcc2 internal prototype to avoid an error. */
10433 #ifdef __cplusplus 10441 #ifdef __cplusplus
10434 extern "C" 10442 extern "C"
10443 ; 10451 ;
10444 return 0; 10452 return 0;
10445 } 10453 }
10446 _ACEOF 10454 _ACEOF
10447 rm -f conftest.$ac_objext conftest$ac_exeext 10455 rm -f conftest.$ac_objext conftest$ac_exeext
10448 if { (eval echo "$as_me:10448: \"$ac_link\"") >&5 10456 if { (eval echo "$as_me:10456: \"$ac_link\"") >&5
10449 (eval $ac_link) 2>&5 10457 (eval $ac_link) 2>&5
10450 ac_status=$? 10458 ac_status=$?
10451 echo "$as_me:10451: \$? = $ac_status" >&5 10459 echo "$as_me:10459: \$? = $ac_status" >&5
10452 (exit $ac_status); } && 10460 (exit $ac_status); } &&
10453 { ac_try='test -s conftest$ac_exeext' 10461 { ac_try='test -s conftest$ac_exeext'
10454 { (eval echo "$as_me:10454: \"$ac_try\"") >&5 10462 { (eval echo "$as_me:10462: \"$ac_try\"") >&5
10455 (eval $ac_try) 2>&5 10463 (eval $ac_try) 2>&5
10456 ac_status=$? 10464 ac_status=$?
10457 echo "$as_me:10457: \$? = $ac_status" >&5 10465 echo "$as_me:10465: \$? = $ac_status" >&5
10458 (exit $ac_status); }; }; then 10466 (exit $ac_status); }; }; then
10459 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes 10467 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes
10460 else 10468 else
10461 echo "$as_me: failed program was:" >&5 10469 echo "$as_me: failed program was:" >&5
10462 cat conftest.$ac_ext >&5 10470 cat conftest.$ac_ext >&5
10463 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no 10471 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no
10464 fi 10472 fi
10465 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10473 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10466 LIBS=$ac_check_lib_save_LIBS 10474 LIBS=$ac_check_lib_save_LIBS
10467 fi 10475 fi
10468 echo "$as_me:10468: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5 10476 echo "$as_me:10476: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5
10469 echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6 10477 echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6
10470 if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then 10478 if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then
10471 cat >>confdefs.h <<EOF 10479 cat >>confdefs.h <<EOF
10472 #define HAVE_LIBK5CRYPTO 1 10480 #define HAVE_LIBK5CRYPTO 1
10473 EOF 10481 EOF
10474 10482
10475 LIBS="-lk5crypto $LIBS" 10483 LIBS="-lk5crypto $LIBS"
10476 10484
10477 fi 10485 fi
10478 10486
10479 echo "$as_me:10479: checking for mit_des_cbc_encrypt in -lcrypto" >&5 10487 echo "$as_me:10487: checking for mit_des_cbc_encrypt in -lcrypto" >&5
10480 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6 10488 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6
10481 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then 10489 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then
10482 echo $ECHO_N "(cached) $ECHO_C" >&6 10490 echo $ECHO_N "(cached) $ECHO_C" >&6
10483 else 10491 else
10484 ac_check_lib_save_LIBS=$LIBS 10492 ac_check_lib_save_LIBS=$LIBS
10485 LIBS="-lcrypto $LIBS" 10493 LIBS="-lcrypto $LIBS"
10486 cat >conftest.$ac_ext <<_ACEOF 10494 cat >conftest.$ac_ext <<_ACEOF
10487 #line 10487 "configure" 10495 #line 10495 "configure"
10488 #include "confdefs.h" 10496 #include "confdefs.h"
10489 10497
10490 /* Override any gcc2 internal prototype to avoid an error. */ 10498 /* Override any gcc2 internal prototype to avoid an error. */
10491 #ifdef __cplusplus 10499 #ifdef __cplusplus
10492 extern "C" 10500 extern "C"
10501 ; 10509 ;
10502 return 0; 10510 return 0;
10503 } 10511 }
10504 _ACEOF 10512 _ACEOF
10505 rm -f conftest.$ac_objext conftest$ac_exeext 10513 rm -f conftest.$ac_objext conftest$ac_exeext
10506 if { (eval echo "$as_me:10506: \"$ac_link\"") >&5 10514 if { (eval echo "$as_me:10514: \"$ac_link\"") >&5
10507 (eval $ac_link) 2>&5 10515 (eval $ac_link) 2>&5
10508 ac_status=$? 10516 ac_status=$?
10509 echo "$as_me:10509: \$? = $ac_status" >&5 10517 echo "$as_me:10517: \$? = $ac_status" >&5
10510 (exit $ac_status); } && 10518 (exit $ac_status); } &&
10511 { ac_try='test -s conftest$ac_exeext' 10519 { ac_try='test -s conftest$ac_exeext'
10512 { (eval echo "$as_me:10512: \"$ac_try\"") >&5 10520 { (eval echo "$as_me:10520: \"$ac_try\"") >&5
10513 (eval $ac_try) 2>&5 10521 (eval $ac_try) 2>&5
10514 ac_status=$? 10522 ac_status=$?
10515 echo "$as_me:10515: \$? = $ac_status" >&5 10523 echo "$as_me:10523: \$? = $ac_status" >&5
10516 (exit $ac_status); }; }; then 10524 (exit $ac_status); }; }; then
10517 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes 10525 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes
10518 else 10526 else
10519 echo "$as_me: failed program was:" >&5 10527 echo "$as_me: failed program was:" >&5
10520 cat conftest.$ac_ext >&5 10528 cat conftest.$ac_ext >&5
10521 ac_cv_lib_crypto_mit_des_cbc_encrypt=no 10529 ac_cv_lib_crypto_mit_des_cbc_encrypt=no
10522 fi 10530 fi
10523 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10531 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10524 LIBS=$ac_check_lib_save_LIBS 10532 LIBS=$ac_check_lib_save_LIBS
10525 fi 10533 fi
10526 echo "$as_me:10526: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5 10534 echo "$as_me:10534: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5
10527 echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6 10535 echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6
10528 if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then 10536 if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then
10529 cat >>confdefs.h <<EOF 10537 cat >>confdefs.h <<EOF
10530 #define HAVE_LIBCRYPTO 1 10538 #define HAVE_LIBCRYPTO 1
10531 EOF 10539 EOF
10532 10540
10533 LIBS="-lcrypto $LIBS" 10541 LIBS="-lcrypto $LIBS"
10534 10542
10535 fi 10543 fi
10536 10544
10537 echo "$as_me:10537: checking for krb5_init_context in -lkrb5" >&5 10545 echo "$as_me:10545: checking for krb5_init_context in -lkrb5" >&5
10538 echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6 10546 echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6
10539 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then 10547 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then
10540 echo $ECHO_N "(cached) $ECHO_C" >&6 10548 echo $ECHO_N "(cached) $ECHO_C" >&6
10541 else 10549 else
10542 ac_check_lib_save_LIBS=$LIBS 10550 ac_check_lib_save_LIBS=$LIBS
10543 LIBS="-lkrb5 $LIBS" 10551 LIBS="-lkrb5 $LIBS"
10544 cat >conftest.$ac_ext <<_ACEOF 10552 cat >conftest.$ac_ext <<_ACEOF
10545 #line 10545 "configure" 10553 #line 10553 "configure"
10546 #include "confdefs.h" 10554 #include "confdefs.h"
10547 10555
10548 /* Override any gcc2 internal prototype to avoid an error. */ 10556 /* Override any gcc2 internal prototype to avoid an error. */
10549 #ifdef __cplusplus 10557 #ifdef __cplusplus
10550 extern "C" 10558 extern "C"
10559 ; 10567 ;
10560 return 0; 10568 return 0;
10561 } 10569 }
10562 _ACEOF 10570 _ACEOF
10563 rm -f conftest.$ac_objext conftest$ac_exeext 10571 rm -f conftest.$ac_objext conftest$ac_exeext
10564 if { (eval echo "$as_me:10564: \"$ac_link\"") >&5 10572 if { (eval echo "$as_me:10572: \"$ac_link\"") >&5
10565 (eval $ac_link) 2>&5 10573 (eval $ac_link) 2>&5
10566 ac_status=$? 10574 ac_status=$?
10567 echo "$as_me:10567: \$? = $ac_status" >&5 10575 echo "$as_me:10575: \$? = $ac_status" >&5
10568 (exit $ac_status); } && 10576 (exit $ac_status); } &&
10569 { ac_try='test -s conftest$ac_exeext' 10577 { ac_try='test -s conftest$ac_exeext'
10570 { (eval echo "$as_me:10570: \"$ac_try\"") >&5 10578 { (eval echo "$as_me:10578: \"$ac_try\"") >&5
10571 (eval $ac_try) 2>&5 10579 (eval $ac_try) 2>&5
10572 ac_status=$? 10580 ac_status=$?
10573 echo "$as_me:10573: \$? = $ac_status" >&5 10581 echo "$as_me:10581: \$? = $ac_status" >&5
10574 (exit $ac_status); }; }; then 10582 (exit $ac_status); }; }; then
10575 ac_cv_lib_krb5_krb5_init_context=yes 10583 ac_cv_lib_krb5_krb5_init_context=yes
10576 else 10584 else
10577 echo "$as_me: failed program was:" >&5 10585 echo "$as_me: failed program was:" >&5
10578 cat conftest.$ac_ext >&5 10586 cat conftest.$ac_ext >&5
10579 ac_cv_lib_krb5_krb5_init_context=no 10587 ac_cv_lib_krb5_krb5_init_context=no
10580 fi 10588 fi
10581 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10589 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10582 LIBS=$ac_check_lib_save_LIBS 10590 LIBS=$ac_check_lib_save_LIBS
10583 fi 10591 fi
10584 echo "$as_me:10584: result: $ac_cv_lib_krb5_krb5_init_context" >&5 10592 echo "$as_me:10592: result: $ac_cv_lib_krb5_krb5_init_context" >&5
10585 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6 10593 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6
10586 if test $ac_cv_lib_krb5_krb5_init_context = yes; then 10594 if test $ac_cv_lib_krb5_krb5_init_context = yes; then
10587 cat >>confdefs.h <<EOF 10595 cat >>confdefs.h <<EOF
10588 #define HAVE_LIBKRB5 1 10596 #define HAVE_LIBKRB5 1
10589 EOF 10597 EOF
10592 10600
10593 fi 10601 fi
10594 10602
10595 if test "${with_kerberos5+set}" != set; then 10603 if test "${with_kerberos5+set}" != set; then
10596 10604
10597 echo "$as_me:10597: checking for des_cbc_encrypt in -ldes425" >&5 10605 echo "$as_me:10605: checking for des_cbc_encrypt in -ldes425" >&5
10598 echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6 10606 echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6
10599 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then 10607 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then
10600 echo $ECHO_N "(cached) $ECHO_C" >&6 10608 echo $ECHO_N "(cached) $ECHO_C" >&6
10601 else 10609 else
10602 ac_check_lib_save_LIBS=$LIBS 10610 ac_check_lib_save_LIBS=$LIBS
10603 LIBS="-ldes425 $LIBS" 10611 LIBS="-ldes425 $LIBS"
10604 cat >conftest.$ac_ext <<_ACEOF 10612 cat >conftest.$ac_ext <<_ACEOF
10605 #line 10605 "configure" 10613 #line 10613 "configure"
10606 #include "confdefs.h" 10614 #include "confdefs.h"
10607 10615
10608 /* Override any gcc2 internal prototype to avoid an error. */ 10616 /* Override any gcc2 internal prototype to avoid an error. */
10609 #ifdef __cplusplus 10617 #ifdef __cplusplus
10610 extern "C" 10618 extern "C"
10619 ; 10627 ;
10620 return 0; 10628 return 0;
10621 } 10629 }
10622 _ACEOF 10630 _ACEOF
10623 rm -f conftest.$ac_objext conftest$ac_exeext 10631 rm -f conftest.$ac_objext conftest$ac_exeext
10624 if { (eval echo "$as_me:10624: \"$ac_link\"") >&5 10632 if { (eval echo "$as_me:10632: \"$ac_link\"") >&5
10625 (eval $ac_link) 2>&5 10633 (eval $ac_link) 2>&5
10626 ac_status=$? 10634 ac_status=$?
10627 echo "$as_me:10627: \$? = $ac_status" >&5 10635 echo "$as_me:10635: \$? = $ac_status" >&5
10628 (exit $ac_status); } && 10636 (exit $ac_status); } &&
10629 { ac_try='test -s conftest$ac_exeext' 10637 { ac_try='test -s conftest$ac_exeext'
10630 { (eval echo "$as_me:10630: \"$ac_try\"") >&5 10638 { (eval echo "$as_me:10638: \"$ac_try\"") >&5
10631 (eval $ac_try) 2>&5 10639 (eval $ac_try) 2>&5
10632 ac_status=$? 10640 ac_status=$?
10633 echo "$as_me:10633: \$? = $ac_status" >&5 10641 echo "$as_me:10641: \$? = $ac_status" >&5
10634 (exit $ac_status); }; }; then 10642 (exit $ac_status); }; }; then
10635 ac_cv_lib_des425_des_cbc_encrypt=yes 10643 ac_cv_lib_des425_des_cbc_encrypt=yes
10636 else 10644 else
10637 echo "$as_me: failed program was:" >&5 10645 echo "$as_me: failed program was:" >&5
10638 cat conftest.$ac_ext >&5 10646 cat conftest.$ac_ext >&5
10639 ac_cv_lib_des425_des_cbc_encrypt=no 10647 ac_cv_lib_des425_des_cbc_encrypt=no
10640 fi 10648 fi
10641 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10649 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10642 LIBS=$ac_check_lib_save_LIBS 10650 LIBS=$ac_check_lib_save_LIBS
10643 fi 10651 fi
10644 echo "$as_me:10644: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 10652 echo "$as_me:10652: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
10645 echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6 10653 echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6
10646 if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then 10654 if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then
10647 cat >>confdefs.h <<EOF 10655 cat >>confdefs.h <<EOF
10648 #define HAVE_LIBDES425 1 10656 #define HAVE_LIBDES425 1
10649 EOF 10657 EOF
10650 10658
10651 LIBS="-ldes425 $LIBS" 10659 LIBS="-ldes425 $LIBS"
10652 10660
10653 else 10661 else
10654 10662
10655 echo "$as_me:10655: checking for des_cbc_encrypt in -ldes" >&5 10663 echo "$as_me:10663: checking for des_cbc_encrypt in -ldes" >&5
10656 echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6 10664 echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6
10657 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then 10665 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then
10658 echo $ECHO_N "(cached) $ECHO_C" >&6 10666 echo $ECHO_N "(cached) $ECHO_C" >&6
10659 else 10667 else
10660 ac_check_lib_save_LIBS=$LIBS 10668 ac_check_lib_save_LIBS=$LIBS
10661 LIBS="-ldes $LIBS" 10669 LIBS="-ldes $LIBS"
10662 cat >conftest.$ac_ext <<_ACEOF 10670 cat >conftest.$ac_ext <<_ACEOF
10663 #line 10663 "configure" 10671 #line 10671 "configure"
10664 #include "confdefs.h" 10672 #include "confdefs.h"
10665 10673
10666 /* Override any gcc2 internal prototype to avoid an error. */ 10674 /* Override any gcc2 internal prototype to avoid an error. */
10667 #ifdef __cplusplus 10675 #ifdef __cplusplus
10668 extern "C" 10676 extern "C"
10677 ; 10685 ;
10678 return 0; 10686 return 0;
10679 } 10687 }
10680 _ACEOF 10688 _ACEOF
10681 rm -f conftest.$ac_objext conftest$ac_exeext 10689 rm -f conftest.$ac_objext conftest$ac_exeext
10682 if { (eval echo "$as_me:10682: \"$ac_link\"") >&5 10690 if { (eval echo "$as_me:10690: \"$ac_link\"") >&5
10683 (eval $ac_link) 2>&5 10691 (eval $ac_link) 2>&5
10684 ac_status=$? 10692 ac_status=$?
10685 echo "$as_me:10685: \$? = $ac_status" >&5 10693 echo "$as_me:10693: \$? = $ac_status" >&5
10686 (exit $ac_status); } && 10694 (exit $ac_status); } &&
10687 { ac_try='test -s conftest$ac_exeext' 10695 { ac_try='test -s conftest$ac_exeext'
10688 { (eval echo "$as_me:10688: \"$ac_try\"") >&5 10696 { (eval echo "$as_me:10696: \"$ac_try\"") >&5
10689 (eval $ac_try) 2>&5 10697 (eval $ac_try) 2>&5
10690 ac_status=$? 10698 ac_status=$?
10691 echo "$as_me:10691: \$? = $ac_status" >&5 10699 echo "$as_me:10699: \$? = $ac_status" >&5
10692 (exit $ac_status); }; }; then 10700 (exit $ac_status); }; }; then
10693 ac_cv_lib_des_des_cbc_encrypt=yes 10701 ac_cv_lib_des_des_cbc_encrypt=yes
10694 else 10702 else
10695 echo "$as_me: failed program was:" >&5 10703 echo "$as_me: failed program was:" >&5
10696 cat conftest.$ac_ext >&5 10704 cat conftest.$ac_ext >&5
10697 ac_cv_lib_des_des_cbc_encrypt=no 10705 ac_cv_lib_des_des_cbc_encrypt=no
10698 fi 10706 fi
10699 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10707 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10700 LIBS=$ac_check_lib_save_LIBS 10708 LIBS=$ac_check_lib_save_LIBS
10701 fi 10709 fi
10702 echo "$as_me:10702: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 10710 echo "$as_me:10710: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
10703 echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6 10711 echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6
10704 if test $ac_cv_lib_des_des_cbc_encrypt = yes; then 10712 if test $ac_cv_lib_des_des_cbc_encrypt = yes; then
10705 cat >>confdefs.h <<EOF 10713 cat >>confdefs.h <<EOF
10706 #define HAVE_LIBDES 1 10714 #define HAVE_LIBDES 1
10707 EOF 10715 EOF
10710 10718
10711 fi 10719 fi
10712 10720
10713 fi 10721 fi
10714 10722
10715 echo "$as_me:10715: checking for krb_get_cred in -lkrb4" >&5 10723 echo "$as_me:10723: checking for krb_get_cred in -lkrb4" >&5
10716 echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6 10724 echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6
10717 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then 10725 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then
10718 echo $ECHO_N "(cached) $ECHO_C" >&6 10726 echo $ECHO_N "(cached) $ECHO_C" >&6
10719 else 10727 else
10720 ac_check_lib_save_LIBS=$LIBS 10728 ac_check_lib_save_LIBS=$LIBS
10721 LIBS="-lkrb4 $LIBS" 10729 LIBS="-lkrb4 $LIBS"
10722 cat >conftest.$ac_ext <<_ACEOF 10730 cat >conftest.$ac_ext <<_ACEOF
10723 #line 10723 "configure" 10731 #line 10731 "configure"
10724 #include "confdefs.h" 10732 #include "confdefs.h"
10725 10733
10726 /* Override any gcc2 internal prototype to avoid an error. */ 10734 /* Override any gcc2 internal prototype to avoid an error. */
10727 #ifdef __cplusplus 10735 #ifdef __cplusplus
10728 extern "C" 10736 extern "C"
10737 ; 10745 ;
10738 return 0; 10746 return 0;
10739 } 10747 }
10740 _ACEOF 10748 _ACEOF
10741 rm -f conftest.$ac_objext conftest$ac_exeext 10749 rm -f conftest.$ac_objext conftest$ac_exeext
10742 if { (eval echo "$as_me:10742: \"$ac_link\"") >&5 10750 if { (eval echo "$as_me:10750: \"$ac_link\"") >&5
10743 (eval $ac_link) 2>&5 10751 (eval $ac_link) 2>&5
10744 ac_status=$? 10752 ac_status=$?
10745 echo "$as_me:10745: \$? = $ac_status" >&5 10753 echo "$as_me:10753: \$? = $ac_status" >&5
10746 (exit $ac_status); } && 10754 (exit $ac_status); } &&
10747 { ac_try='test -s conftest$ac_exeext' 10755 { ac_try='test -s conftest$ac_exeext'
10748 { (eval echo "$as_me:10748: \"$ac_try\"") >&5 10756 { (eval echo "$as_me:10756: \"$ac_try\"") >&5
10749 (eval $ac_try) 2>&5 10757 (eval $ac_try) 2>&5
10750 ac_status=$? 10758 ac_status=$?
10751 echo "$as_me:10751: \$? = $ac_status" >&5 10759 echo "$as_me:10759: \$? = $ac_status" >&5
10752 (exit $ac_status); }; }; then 10760 (exit $ac_status); }; }; then
10753 ac_cv_lib_krb4_krb_get_cred=yes 10761 ac_cv_lib_krb4_krb_get_cred=yes
10754 else 10762 else
10755 echo "$as_me: failed program was:" >&5 10763 echo "$as_me: failed program was:" >&5
10756 cat conftest.$ac_ext >&5 10764 cat conftest.$ac_ext >&5
10757 ac_cv_lib_krb4_krb_get_cred=no 10765 ac_cv_lib_krb4_krb_get_cred=no
10758 fi 10766 fi
10759 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10767 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10760 LIBS=$ac_check_lib_save_LIBS 10768 LIBS=$ac_check_lib_save_LIBS
10761 fi 10769 fi
10762 echo "$as_me:10762: result: $ac_cv_lib_krb4_krb_get_cred" >&5 10770 echo "$as_me:10770: result: $ac_cv_lib_krb4_krb_get_cred" >&5
10763 echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6 10771 echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6
10764 if test $ac_cv_lib_krb4_krb_get_cred = yes; then 10772 if test $ac_cv_lib_krb4_krb_get_cred = yes; then
10765 cat >>confdefs.h <<EOF 10773 cat >>confdefs.h <<EOF
10766 #define HAVE_LIBKRB4 1 10774 #define HAVE_LIBKRB4 1
10767 EOF 10775 EOF
10768 10776
10769 LIBS="-lkrb4 $LIBS" 10777 LIBS="-lkrb4 $LIBS"
10770 10778
10771 else 10779 else
10772 10780
10773 echo "$as_me:10773: checking for krb_get_cred in -lkrb" >&5 10781 echo "$as_me:10781: checking for krb_get_cred in -lkrb" >&5
10774 echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6 10782 echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6
10775 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then 10783 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then
10776 echo $ECHO_N "(cached) $ECHO_C" >&6 10784 echo $ECHO_N "(cached) $ECHO_C" >&6
10777 else 10785 else
10778 ac_check_lib_save_LIBS=$LIBS 10786 ac_check_lib_save_LIBS=$LIBS
10779 LIBS="-lkrb $LIBS" 10787 LIBS="-lkrb $LIBS"
10780 cat >conftest.$ac_ext <<_ACEOF 10788 cat >conftest.$ac_ext <<_ACEOF
10781 #line 10781 "configure" 10789 #line 10789 "configure"
10782 #include "confdefs.h" 10790 #include "confdefs.h"
10783 10791
10784 /* Override any gcc2 internal prototype to avoid an error. */ 10792 /* Override any gcc2 internal prototype to avoid an error. */
10785 #ifdef __cplusplus 10793 #ifdef __cplusplus
10786 extern "C" 10794 extern "C"
10795 ; 10803 ;
10796 return 0; 10804 return 0;
10797 } 10805 }
10798 _ACEOF 10806 _ACEOF
10799 rm -f conftest.$ac_objext conftest$ac_exeext 10807 rm -f conftest.$ac_objext conftest$ac_exeext
10800 if { (eval echo "$as_me:10800: \"$ac_link\"") >&5 10808 if { (eval echo "$as_me:10808: \"$ac_link\"") >&5
10801 (eval $ac_link) 2>&5 10809 (eval $ac_link) 2>&5
10802 ac_status=$? 10810 ac_status=$?
10803 echo "$as_me:10803: \$? = $ac_status" >&5 10811 echo "$as_me:10811: \$? = $ac_status" >&5
10804 (exit $ac_status); } && 10812 (exit $ac_status); } &&
10805 { ac_try='test -s conftest$ac_exeext' 10813 { ac_try='test -s conftest$ac_exeext'
10806 { (eval echo "$as_me:10806: \"$ac_try\"") >&5 10814 { (eval echo "$as_me:10814: \"$ac_try\"") >&5
10807 (eval $ac_try) 2>&5 10815 (eval $ac_try) 2>&5
10808 ac_status=$? 10816 ac_status=$?
10809 echo "$as_me:10809: \$? = $ac_status" >&5 10817 echo "$as_me:10817: \$? = $ac_status" >&5
10810 (exit $ac_status); }; }; then 10818 (exit $ac_status); }; }; then
10811 ac_cv_lib_krb_krb_get_cred=yes 10819 ac_cv_lib_krb_krb_get_cred=yes
10812 else 10820 else
10813 echo "$as_me: failed program was:" >&5 10821 echo "$as_me: failed program was:" >&5
10814 cat conftest.$ac_ext >&5 10822 cat conftest.$ac_ext >&5
10815 ac_cv_lib_krb_krb_get_cred=no 10823 ac_cv_lib_krb_krb_get_cred=no
10816 fi 10824 fi
10817 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10825 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10818 LIBS=$ac_check_lib_save_LIBS 10826 LIBS=$ac_check_lib_save_LIBS
10819 fi 10827 fi
10820 echo "$as_me:10820: result: $ac_cv_lib_krb_krb_get_cred" >&5 10828 echo "$as_me:10828: result: $ac_cv_lib_krb_krb_get_cred" >&5
10821 echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6 10829 echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6
10822 if test $ac_cv_lib_krb_krb_get_cred = yes; then 10830 if test $ac_cv_lib_krb_krb_get_cred = yes; then
10823 cat >>confdefs.h <<EOF 10831 cat >>confdefs.h <<EOF
10824 #define HAVE_LIBKRB 1 10832 #define HAVE_LIBKRB 1
10825 EOF 10833 EOF
10835 if test "${with_kerberos5+set}" = set; then 10843 if test "${with_kerberos5+set}" = set; then
10836 10844
10837 for ac_header in krb5.h 10845 for ac_header in krb5.h
10838 do 10846 do
10839 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 10847 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10840 echo "$as_me:10840: checking for $ac_header" >&5 10848 echo "$as_me:10848: checking for $ac_header" >&5
10841 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 10849 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10842 if eval "test \"\${$as_ac_Header+set}\" = set"; then 10850 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10843 echo $ECHO_N "(cached) $ECHO_C" >&6 10851 echo $ECHO_N "(cached) $ECHO_C" >&6
10844 else 10852 else
10845 cat >conftest.$ac_ext <<_ACEOF 10853 cat >conftest.$ac_ext <<_ACEOF
10846 #line 10846 "configure" 10854 #line 10854 "configure"
10847 #include "confdefs.h" 10855 #include "confdefs.h"
10848 #include <$ac_header> 10856 #include <$ac_header>
10849 _ACEOF 10857 _ACEOF
10850 if { (eval echo "$as_me:10850: \"$ac_cpp conftest.$ac_ext\"") >&5 10858 if { (eval echo "$as_me:10858: \"$ac_cpp conftest.$ac_ext\"") >&5
10851 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 10859 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10852 ac_status=$? 10860 ac_status=$?
10853 egrep -v '^ *\+' conftest.er1 >conftest.err 10861 egrep -v '^ *\+' conftest.er1 >conftest.err
10854 rm -f conftest.er1 10862 rm -f conftest.er1
10855 cat conftest.err >&5 10863 cat conftest.err >&5
10856 echo "$as_me:10856: \$? = $ac_status" >&5 10864 echo "$as_me:10864: \$? = $ac_status" >&5
10857 (exit $ac_status); } >/dev/null; then 10865 (exit $ac_status); } >/dev/null; then
10858 if test -s conftest.err; then 10866 if test -s conftest.err; then
10859 ac_cpp_err=$ac_c_preproc_warn_flag 10867 ac_cpp_err=$ac_c_preproc_warn_flag
10860 else 10868 else
10861 ac_cpp_err= 10869 ac_cpp_err=
10870 cat conftest.$ac_ext >&5 10878 cat conftest.$ac_ext >&5
10871 eval "$as_ac_Header=no" 10879 eval "$as_ac_Header=no"
10872 fi 10880 fi
10873 rm -f conftest.err conftest.$ac_ext 10881 rm -f conftest.err conftest.$ac_ext
10874 fi 10882 fi
10875 echo "$as_me:10875: result: `eval echo '${'$as_ac_Header'}'`" >&5 10883 echo "$as_me:10883: result: `eval echo '${'$as_ac_Header'}'`" >&5
10876 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 10884 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10877 if test `eval echo '${'$as_ac_Header'}'` = yes; then 10885 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10878 cat >>confdefs.h <<EOF 10886 cat >>confdefs.h <<EOF
10879 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 10887 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10880 EOF 10888 EOF
10885 else 10893 else
10886 10894
10887 for ac_header in des.h 10895 for ac_header in des.h
10888 do 10896 do
10889 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 10897 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10890 echo "$as_me:10890: checking for $ac_header" >&5 10898 echo "$as_me:10898: checking for $ac_header" >&5
10891 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 10899 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10892 if eval "test \"\${$as_ac_Header+set}\" = set"; then 10900 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10893 echo $ECHO_N "(cached) $ECHO_C" >&6 10901 echo $ECHO_N "(cached) $ECHO_C" >&6
10894 else 10902 else
10895 cat >conftest.$ac_ext <<_ACEOF 10903 cat >conftest.$ac_ext <<_ACEOF
10896 #line 10896 "configure" 10904 #line 10904 "configure"
10897 #include "confdefs.h" 10905 #include "confdefs.h"
10898 #include <$ac_header> 10906 #include <$ac_header>
10899 _ACEOF 10907 _ACEOF
10900 if { (eval echo "$as_me:10900: \"$ac_cpp conftest.$ac_ext\"") >&5 10908 if { (eval echo "$as_me:10908: \"$ac_cpp conftest.$ac_ext\"") >&5
10901 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 10909 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10902 ac_status=$? 10910 ac_status=$?
10903 egrep -v '^ *\+' conftest.er1 >conftest.err 10911 egrep -v '^ *\+' conftest.er1 >conftest.err
10904 rm -f conftest.er1 10912 rm -f conftest.er1
10905 cat conftest.err >&5 10913 cat conftest.err >&5
10906 echo "$as_me:10906: \$? = $ac_status" >&5 10914 echo "$as_me:10914: \$? = $ac_status" >&5
10907 (exit $ac_status); } >/dev/null; then 10915 (exit $ac_status); } >/dev/null; then
10908 if test -s conftest.err; then 10916 if test -s conftest.err; then
10909 ac_cpp_err=$ac_c_preproc_warn_flag 10917 ac_cpp_err=$ac_c_preproc_warn_flag
10910 else 10918 else
10911 ac_cpp_err= 10919 ac_cpp_err=
10920 cat conftest.$ac_ext >&5 10928 cat conftest.$ac_ext >&5
10921 eval "$as_ac_Header=no" 10929 eval "$as_ac_Header=no"
10922 fi 10930 fi
10923 rm -f conftest.err conftest.$ac_ext 10931 rm -f conftest.err conftest.$ac_ext
10924 fi 10932 fi
10925 echo "$as_me:10925: result: `eval echo '${'$as_ac_Header'}'`" >&5 10933 echo "$as_me:10933: result: `eval echo '${'$as_ac_Header'}'`" >&5
10926 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 10934 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10927 if test `eval echo '${'$as_ac_Header'}'` = yes; then 10935 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10928 cat >>confdefs.h <<EOF 10936 cat >>confdefs.h <<EOF
10929 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 10937 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10930 EOF 10938 EOF
10932 else 10940 else
10933 10941
10934 for ac_header in kerberosIV/des.h 10942 for ac_header in kerberosIV/des.h
10935 do 10943 do
10936 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 10944 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10937 echo "$as_me:10937: checking for $ac_header" >&5 10945 echo "$as_me:10945: checking for $ac_header" >&5
10938 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 10946 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10939 if eval "test \"\${$as_ac_Header+set}\" = set"; then 10947 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10940 echo $ECHO_N "(cached) $ECHO_C" >&6 10948 echo $ECHO_N "(cached) $ECHO_C" >&6
10941 else 10949 else
10942 cat >conftest.$ac_ext <<_ACEOF 10950 cat >conftest.$ac_ext <<_ACEOF
10943 #line 10943 "configure" 10951 #line 10951 "configure"
10944 #include "confdefs.h" 10952 #include "confdefs.h"
10945 #include <$ac_header> 10953 #include <$ac_header>
10946 _ACEOF 10954 _ACEOF
10947 if { (eval echo "$as_me:10947: \"$ac_cpp conftest.$ac_ext\"") >&5 10955 if { (eval echo "$as_me:10955: \"$ac_cpp conftest.$ac_ext\"") >&5
10948 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 10956 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10949 ac_status=$? 10957 ac_status=$?
10950 egrep -v '^ *\+' conftest.er1 >conftest.err 10958 egrep -v '^ *\+' conftest.er1 >conftest.err
10951 rm -f conftest.er1 10959 rm -f conftest.er1
10952 cat conftest.err >&5 10960 cat conftest.err >&5
10953 echo "$as_me:10953: \$? = $ac_status" >&5 10961 echo "$as_me:10961: \$? = $ac_status" >&5
10954 (exit $ac_status); } >/dev/null; then 10962 (exit $ac_status); } >/dev/null; then
10955 if test -s conftest.err; then 10963 if test -s conftest.err; then
10956 ac_cpp_err=$ac_c_preproc_warn_flag 10964 ac_cpp_err=$ac_c_preproc_warn_flag
10957 else 10965 else
10958 ac_cpp_err= 10966 ac_cpp_err=
10967 cat conftest.$ac_ext >&5 10975 cat conftest.$ac_ext >&5
10968 eval "$as_ac_Header=no" 10976 eval "$as_ac_Header=no"
10969 fi 10977 fi
10970 rm -f conftest.err conftest.$ac_ext 10978 rm -f conftest.err conftest.$ac_ext
10971 fi 10979 fi
10972 echo "$as_me:10972: result: `eval echo '${'$as_ac_Header'}'`" >&5 10980 echo "$as_me:10980: result: `eval echo '${'$as_ac_Header'}'`" >&5
10973 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 10981 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10974 if test `eval echo '${'$as_ac_Header'}'` = yes; then 10982 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10975 cat >>confdefs.h <<EOF 10983 cat >>confdefs.h <<EOF
10976 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 10984 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10977 EOF 10985 EOF
10979 else 10987 else
10980 10988
10981 for ac_header in kerberos/des.h 10989 for ac_header in kerberos/des.h
10982 do 10990 do
10983 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 10991 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10984 echo "$as_me:10984: checking for $ac_header" >&5 10992 echo "$as_me:10992: checking for $ac_header" >&5
10985 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 10993 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10986 if eval "test \"\${$as_ac_Header+set}\" = set"; then 10994 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10987 echo $ECHO_N "(cached) $ECHO_C" >&6 10995 echo $ECHO_N "(cached) $ECHO_C" >&6
10988 else 10996 else
10989 cat >conftest.$ac_ext <<_ACEOF 10997 cat >conftest.$ac_ext <<_ACEOF
10990 #line 10990 "configure" 10998 #line 10998 "configure"
10991 #include "confdefs.h" 10999 #include "confdefs.h"
10992 #include <$ac_header> 11000 #include <$ac_header>
10993 _ACEOF 11001 _ACEOF
10994 if { (eval echo "$as_me:10994: \"$ac_cpp conftest.$ac_ext\"") >&5 11002 if { (eval echo "$as_me:11002: \"$ac_cpp conftest.$ac_ext\"") >&5
10995 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11003 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10996 ac_status=$? 11004 ac_status=$?
10997 egrep -v '^ *\+' conftest.er1 >conftest.err 11005 egrep -v '^ *\+' conftest.er1 >conftest.err
10998 rm -f conftest.er1 11006 rm -f conftest.er1
10999 cat conftest.err >&5 11007 cat conftest.err >&5
11000 echo "$as_me:11000: \$? = $ac_status" >&5 11008 echo "$as_me:11008: \$? = $ac_status" >&5
11001 (exit $ac_status); } >/dev/null; then 11009 (exit $ac_status); } >/dev/null; then
11002 if test -s conftest.err; then 11010 if test -s conftest.err; then
11003 ac_cpp_err=$ac_c_preproc_warn_flag 11011 ac_cpp_err=$ac_c_preproc_warn_flag
11004 else 11012 else
11005 ac_cpp_err= 11013 ac_cpp_err=
11014 cat conftest.$ac_ext >&5 11022 cat conftest.$ac_ext >&5
11015 eval "$as_ac_Header=no" 11023 eval "$as_ac_Header=no"
11016 fi 11024 fi
11017 rm -f conftest.err conftest.$ac_ext 11025 rm -f conftest.err conftest.$ac_ext
11018 fi 11026 fi
11019 echo "$as_me:11019: result: `eval echo '${'$as_ac_Header'}'`" >&5 11027 echo "$as_me:11027: result: `eval echo '${'$as_ac_Header'}'`" >&5
11020 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11028 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11021 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11029 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11022 cat >>confdefs.h <<EOF 11030 cat >>confdefs.h <<EOF
11023 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11031 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11024 EOF 11032 EOF
11033 done 11041 done
11034 11042
11035 for ac_header in krb.h 11043 for ac_header in krb.h
11036 do 11044 do
11037 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11045 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11038 echo "$as_me:11038: checking for $ac_header" >&5 11046 echo "$as_me:11046: checking for $ac_header" >&5
11039 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11047 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11040 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11048 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11041 echo $ECHO_N "(cached) $ECHO_C" >&6 11049 echo $ECHO_N "(cached) $ECHO_C" >&6
11042 else 11050 else
11043 cat >conftest.$ac_ext <<_ACEOF 11051 cat >conftest.$ac_ext <<_ACEOF
11044 #line 11044 "configure" 11052 #line 11052 "configure"
11045 #include "confdefs.h" 11053 #include "confdefs.h"
11046 #include <$ac_header> 11054 #include <$ac_header>
11047 _ACEOF 11055 _ACEOF
11048 if { (eval echo "$as_me:11048: \"$ac_cpp conftest.$ac_ext\"") >&5 11056 if { (eval echo "$as_me:11056: \"$ac_cpp conftest.$ac_ext\"") >&5
11049 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11057 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11050 ac_status=$? 11058 ac_status=$?
11051 egrep -v '^ *\+' conftest.er1 >conftest.err 11059 egrep -v '^ *\+' conftest.er1 >conftest.err
11052 rm -f conftest.er1 11060 rm -f conftest.er1
11053 cat conftest.err >&5 11061 cat conftest.err >&5
11054 echo "$as_me:11054: \$? = $ac_status" >&5 11062 echo "$as_me:11062: \$? = $ac_status" >&5
11055 (exit $ac_status); } >/dev/null; then 11063 (exit $ac_status); } >/dev/null; then
11056 if test -s conftest.err; then 11064 if test -s conftest.err; then
11057 ac_cpp_err=$ac_c_preproc_warn_flag 11065 ac_cpp_err=$ac_c_preproc_warn_flag
11058 else 11066 else
11059 ac_cpp_err= 11067 ac_cpp_err=
11068 cat conftest.$ac_ext >&5 11076 cat conftest.$ac_ext >&5
11069 eval "$as_ac_Header=no" 11077 eval "$as_ac_Header=no"
11070 fi 11078 fi
11071 rm -f conftest.err conftest.$ac_ext 11079 rm -f conftest.err conftest.$ac_ext
11072 fi 11080 fi
11073 echo "$as_me:11073: result: `eval echo '${'$as_ac_Header'}'`" >&5 11081 echo "$as_me:11081: result: `eval echo '${'$as_ac_Header'}'`" >&5
11074 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11082 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11075 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11083 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11076 cat >>confdefs.h <<EOF 11084 cat >>confdefs.h <<EOF
11077 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11085 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11078 EOF 11086 EOF
11080 else 11088 else
11081 11089
11082 for ac_header in kerberosIV/krb.h 11090 for ac_header in kerberosIV/krb.h
11083 do 11091 do
11084 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11092 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11085 echo "$as_me:11085: checking for $ac_header" >&5 11093 echo "$as_me:11093: checking for $ac_header" >&5
11086 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11094 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11087 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11095 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11088 echo $ECHO_N "(cached) $ECHO_C" >&6 11096 echo $ECHO_N "(cached) $ECHO_C" >&6
11089 else 11097 else
11090 cat >conftest.$ac_ext <<_ACEOF 11098 cat >conftest.$ac_ext <<_ACEOF
11091 #line 11091 "configure" 11099 #line 11099 "configure"
11092 #include "confdefs.h" 11100 #include "confdefs.h"
11093 #include <$ac_header> 11101 #include <$ac_header>
11094 _ACEOF 11102 _ACEOF
11095 if { (eval echo "$as_me:11095: \"$ac_cpp conftest.$ac_ext\"") >&5 11103 if { (eval echo "$as_me:11103: \"$ac_cpp conftest.$ac_ext\"") >&5
11096 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11104 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11097 ac_status=$? 11105 ac_status=$?
11098 egrep -v '^ *\+' conftest.er1 >conftest.err 11106 egrep -v '^ *\+' conftest.er1 >conftest.err
11099 rm -f conftest.er1 11107 rm -f conftest.er1
11100 cat conftest.err >&5 11108 cat conftest.err >&5
11101 echo "$as_me:11101: \$? = $ac_status" >&5 11109 echo "$as_me:11109: \$? = $ac_status" >&5
11102 (exit $ac_status); } >/dev/null; then 11110 (exit $ac_status); } >/dev/null; then
11103 if test -s conftest.err; then 11111 if test -s conftest.err; then
11104 ac_cpp_err=$ac_c_preproc_warn_flag 11112 ac_cpp_err=$ac_c_preproc_warn_flag
11105 else 11113 else
11106 ac_cpp_err= 11114 ac_cpp_err=
11115 cat conftest.$ac_ext >&5 11123 cat conftest.$ac_ext >&5
11116 eval "$as_ac_Header=no" 11124 eval "$as_ac_Header=no"
11117 fi 11125 fi
11118 rm -f conftest.err conftest.$ac_ext 11126 rm -f conftest.err conftest.$ac_ext
11119 fi 11127 fi
11120 echo "$as_me:11120: result: `eval echo '${'$as_ac_Header'}'`" >&5 11128 echo "$as_me:11128: result: `eval echo '${'$as_ac_Header'}'`" >&5
11121 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11129 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11122 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11130 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11123 cat >>confdefs.h <<EOF 11131 cat >>confdefs.h <<EOF
11124 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11132 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11125 EOF 11133 EOF
11127 else 11135 else
11128 11136
11129 for ac_header in kerberos/krb.h 11137 for ac_header in kerberos/krb.h
11130 do 11138 do
11131 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11139 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11132 echo "$as_me:11132: checking for $ac_header" >&5 11140 echo "$as_me:11140: checking for $ac_header" >&5
11133 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11141 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11134 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11142 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11135 echo $ECHO_N "(cached) $ECHO_C" >&6 11143 echo $ECHO_N "(cached) $ECHO_C" >&6
11136 else 11144 else
11137 cat >conftest.$ac_ext <<_ACEOF 11145 cat >conftest.$ac_ext <<_ACEOF
11138 #line 11138 "configure" 11146 #line 11146 "configure"
11139 #include "confdefs.h" 11147 #include "confdefs.h"
11140 #include <$ac_header> 11148 #include <$ac_header>
11141 _ACEOF 11149 _ACEOF
11142 if { (eval echo "$as_me:11142: \"$ac_cpp conftest.$ac_ext\"") >&5 11150 if { (eval echo "$as_me:11150: \"$ac_cpp conftest.$ac_ext\"") >&5
11143 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11151 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11144 ac_status=$? 11152 ac_status=$?
11145 egrep -v '^ *\+' conftest.er1 >conftest.err 11153 egrep -v '^ *\+' conftest.er1 >conftest.err
11146 rm -f conftest.er1 11154 rm -f conftest.er1
11147 cat conftest.err >&5 11155 cat conftest.err >&5
11148 echo "$as_me:11148: \$? = $ac_status" >&5 11156 echo "$as_me:11156: \$? = $ac_status" >&5
11149 (exit $ac_status); } >/dev/null; then 11157 (exit $ac_status); } >/dev/null; then
11150 if test -s conftest.err; then 11158 if test -s conftest.err; then
11151 ac_cpp_err=$ac_c_preproc_warn_flag 11159 ac_cpp_err=$ac_c_preproc_warn_flag
11152 else 11160 else
11153 ac_cpp_err= 11161 ac_cpp_err=
11162 cat conftest.$ac_ext >&5 11170 cat conftest.$ac_ext >&5
11163 eval "$as_ac_Header=no" 11171 eval "$as_ac_Header=no"
11164 fi 11172 fi
11165 rm -f conftest.err conftest.$ac_ext 11173 rm -f conftest.err conftest.$ac_ext
11166 fi 11174 fi
11167 echo "$as_me:11167: result: `eval echo '${'$as_ac_Header'}'`" >&5 11175 echo "$as_me:11175: result: `eval echo '${'$as_ac_Header'}'`" >&5
11168 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11176 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11169 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11177 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11170 cat >>confdefs.h <<EOF 11178 cat >>confdefs.h <<EOF
11171 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11179 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11172 EOF 11180 EOF
11183 fi 11191 fi
11184 11192
11185 for ac_header in com_err.h 11193 for ac_header in com_err.h
11186 do 11194 do
11187 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11195 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11188 echo "$as_me:11188: checking for $ac_header" >&5 11196 echo "$as_me:11196: checking for $ac_header" >&5
11189 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11197 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11190 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11198 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11191 echo $ECHO_N "(cached) $ECHO_C" >&6 11199 echo $ECHO_N "(cached) $ECHO_C" >&6
11192 else 11200 else
11193 cat >conftest.$ac_ext <<_ACEOF 11201 cat >conftest.$ac_ext <<_ACEOF
11194 #line 11194 "configure" 11202 #line 11202 "configure"
11195 #include "confdefs.h" 11203 #include "confdefs.h"
11196 #include <$ac_header> 11204 #include <$ac_header>
11197 _ACEOF 11205 _ACEOF
11198 if { (eval echo "$as_me:11198: \"$ac_cpp conftest.$ac_ext\"") >&5 11206 if { (eval echo "$as_me:11206: \"$ac_cpp conftest.$ac_ext\"") >&5
11199 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11207 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11200 ac_status=$? 11208 ac_status=$?
11201 egrep -v '^ *\+' conftest.er1 >conftest.err 11209 egrep -v '^ *\+' conftest.er1 >conftest.err
11202 rm -f conftest.er1 11210 rm -f conftest.er1
11203 cat conftest.err >&5 11211 cat conftest.err >&5
11204 echo "$as_me:11204: \$? = $ac_status" >&5 11212 echo "$as_me:11212: \$? = $ac_status" >&5
11205 (exit $ac_status); } >/dev/null; then 11213 (exit $ac_status); } >/dev/null; then
11206 if test -s conftest.err; then 11214 if test -s conftest.err; then
11207 ac_cpp_err=$ac_c_preproc_warn_flag 11215 ac_cpp_err=$ac_c_preproc_warn_flag
11208 else 11216 else
11209 ac_cpp_err= 11217 ac_cpp_err=
11218 cat conftest.$ac_ext >&5 11226 cat conftest.$ac_ext >&5
11219 eval "$as_ac_Header=no" 11227 eval "$as_ac_Header=no"
11220 fi 11228 fi
11221 rm -f conftest.err conftest.$ac_ext 11229 rm -f conftest.err conftest.$ac_ext
11222 fi 11230 fi
11223 echo "$as_me:11223: result: `eval echo '${'$as_ac_Header'}'`" >&5 11231 echo "$as_me:11231: result: `eval echo '${'$as_ac_Header'}'`" >&5
11224 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11232 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11225 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11233 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11226 cat >>confdefs.h <<EOF 11234 cat >>confdefs.h <<EOF
11227 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11235 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11228 EOF 11236 EOF
11233 fi 11241 fi
11234 11242
11235 # Solaris requires -lintl if you want strerror (which calls dgettext) 11243 # Solaris requires -lintl if you want strerror (which calls dgettext)
11236 # to return localized messages. 11244 # to return localized messages.
11237 11245
11238 echo "$as_me:11238: checking for dgettext in -lintl" >&5 11246 echo "$as_me:11246: checking for dgettext in -lintl" >&5
11239 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6 11247 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6
11240 if test "${ac_cv_lib_intl_dgettext+set}" = set; then 11248 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
11241 echo $ECHO_N "(cached) $ECHO_C" >&6 11249 echo $ECHO_N "(cached) $ECHO_C" >&6
11242 else 11250 else
11243 ac_check_lib_save_LIBS=$LIBS 11251 ac_check_lib_save_LIBS=$LIBS
11244 LIBS="-lintl $LIBS" 11252 LIBS="-lintl $LIBS"
11245 cat >conftest.$ac_ext <<_ACEOF 11253 cat >conftest.$ac_ext <<_ACEOF
11246 #line 11246 "configure" 11254 #line 11254 "configure"
11247 #include "confdefs.h" 11255 #include "confdefs.h"
11248 11256
11249 /* Override any gcc2 internal prototype to avoid an error. */ 11257 /* Override any gcc2 internal prototype to avoid an error. */
11250 #ifdef __cplusplus 11258 #ifdef __cplusplus
11251 extern "C" 11259 extern "C"
11260 ; 11268 ;
11261 return 0; 11269 return 0;
11262 } 11270 }
11263 _ACEOF 11271 _ACEOF
11264 rm -f conftest.$ac_objext conftest$ac_exeext 11272 rm -f conftest.$ac_objext conftest$ac_exeext
11265 if { (eval echo "$as_me:11265: \"$ac_link\"") >&5 11273 if { (eval echo "$as_me:11273: \"$ac_link\"") >&5
11266 (eval $ac_link) 2>&5 11274 (eval $ac_link) 2>&5
11267 ac_status=$? 11275 ac_status=$?
11268 echo "$as_me:11268: \$? = $ac_status" >&5 11276 echo "$as_me:11276: \$? = $ac_status" >&5
11269 (exit $ac_status); } && 11277 (exit $ac_status); } &&
11270 { ac_try='test -s conftest$ac_exeext' 11278 { ac_try='test -s conftest$ac_exeext'
11271 { (eval echo "$as_me:11271: \"$ac_try\"") >&5 11279 { (eval echo "$as_me:11279: \"$ac_try\"") >&5
11272 (eval $ac_try) 2>&5 11280 (eval $ac_try) 2>&5
11273 ac_status=$? 11281 ac_status=$?
11274 echo "$as_me:11274: \$? = $ac_status" >&5 11282 echo "$as_me:11282: \$? = $ac_status" >&5
11275 (exit $ac_status); }; }; then 11283 (exit $ac_status); }; }; then
11276 ac_cv_lib_intl_dgettext=yes 11284 ac_cv_lib_intl_dgettext=yes
11277 else 11285 else
11278 echo "$as_me: failed program was:" >&5 11286 echo "$as_me: failed program was:" >&5
11279 cat conftest.$ac_ext >&5 11287 cat conftest.$ac_ext >&5
11280 ac_cv_lib_intl_dgettext=no 11288 ac_cv_lib_intl_dgettext=no
11281 fi 11289 fi
11282 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11290 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11283 LIBS=$ac_check_lib_save_LIBS 11291 LIBS=$ac_check_lib_save_LIBS
11284 fi 11292 fi
11285 echo "$as_me:11285: result: $ac_cv_lib_intl_dgettext" >&5 11293 echo "$as_me:11293: result: $ac_cv_lib_intl_dgettext" >&5
11286 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6 11294 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6
11287 if test $ac_cv_lib_intl_dgettext = yes; then 11295 if test $ac_cv_lib_intl_dgettext = yes; then
11288 cat >>confdefs.h <<EOF 11296 cat >>confdefs.h <<EOF
11289 #define HAVE_LIBINTL 1 11297 #define HAVE_LIBINTL 1
11290 EOF 11298 EOF
11291 11299
11292 LIBS="-lintl $LIBS" 11300 LIBS="-lintl $LIBS"
11293 11301
11294 fi 11302 fi
11295 11303
11296 echo "$as_me:11296: checking whether localtime caches TZ" >&5 11304 echo "$as_me:11304: checking whether localtime caches TZ" >&5
11297 echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6 11305 echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6
11298 if test "${emacs_cv_localtime_cache+set}" = set; then 11306 if test "${emacs_cv_localtime_cache+set}" = set; then
11299 echo $ECHO_N "(cached) $ECHO_C" >&6 11307 echo $ECHO_N "(cached) $ECHO_C" >&6
11300 else 11308 else
11301 if test x$ac_cv_func_tzset = xyes; then 11309 if test x$ac_cv_func_tzset = xyes; then
11302 if test "$cross_compiling" = yes; then 11310 if test "$cross_compiling" = yes; then
11303 # If we have tzset, assume the worst when cross-compiling. 11311 # If we have tzset, assume the worst when cross-compiling.
11304 emacs_cv_localtime_cache=yes 11312 emacs_cv_localtime_cache=yes
11305 else 11313 else
11306 cat >conftest.$ac_ext <<_ACEOF 11314 cat >conftest.$ac_ext <<_ACEOF
11307 #line 11307 "configure" 11315 #line 11315 "configure"
11308 #include "confdefs.h" 11316 #include "confdefs.h"
11309 #include <time.h> 11317 #include <time.h>
11310 extern char **environ; 11318 extern char **environ;
11311 unset_TZ () 11319 unset_TZ ()
11312 { 11320 {
11335 exit (1); 11343 exit (1);
11336 exit (0); 11344 exit (0);
11337 } 11345 }
11338 _ACEOF 11346 _ACEOF
11339 rm -f conftest$ac_exeext 11347 rm -f conftest$ac_exeext
11340 if { (eval echo "$as_me:11340: \"$ac_link\"") >&5 11348 if { (eval echo "$as_me:11348: \"$ac_link\"") >&5
11341 (eval $ac_link) 2>&5 11349 (eval $ac_link) 2>&5
11342 ac_status=$? 11350 ac_status=$?
11343 echo "$as_me:11343: \$? = $ac_status" >&5 11351 echo "$as_me:11351: \$? = $ac_status" >&5
11344 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 11352 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11345 { (eval echo "$as_me:11345: \"$ac_try\"") >&5 11353 { (eval echo "$as_me:11353: \"$ac_try\"") >&5
11346 (eval $ac_try) 2>&5 11354 (eval $ac_try) 2>&5
11347 ac_status=$? 11355 ac_status=$?
11348 echo "$as_me:11348: \$? = $ac_status" >&5 11356 echo "$as_me:11356: \$? = $ac_status" >&5
11349 (exit $ac_status); }; }; then 11357 (exit $ac_status); }; }; then
11350 emacs_cv_localtime_cache=no 11358 emacs_cv_localtime_cache=no
11351 else 11359 else
11352 echo "$as_me: program exited with status $ac_status" >&5 11360 echo "$as_me: program exited with status $ac_status" >&5
11353 echo "$as_me: failed program was:" >&5 11361 echo "$as_me: failed program was:" >&5
11360 # If we lack tzset, report that localtime does not cache TZ, 11368 # If we lack tzset, report that localtime does not cache TZ,
11361 # since we can't invalidate the cache if we don't have tzset. 11369 # since we can't invalidate the cache if we don't have tzset.
11362 emacs_cv_localtime_cache=no 11370 emacs_cv_localtime_cache=no
11363 fi 11371 fi
11364 fi 11372 fi
11365 echo "$as_me:11365: result: $emacs_cv_localtime_cache" >&5 11373 echo "$as_me:11373: result: $emacs_cv_localtime_cache" >&5
11366 echo "${ECHO_T}$emacs_cv_localtime_cache" >&6 11374 echo "${ECHO_T}$emacs_cv_localtime_cache" >&6
11367 if test $emacs_cv_localtime_cache = yes; then 11375 if test $emacs_cv_localtime_cache = yes; then
11368 cat >>confdefs.h <<\EOF 11376 cat >>confdefs.h <<\EOF
11369 #define LOCALTIME_CACHE 1 11377 #define LOCALTIME_CACHE 1
11370 EOF 11378 EOF
11374 if test "x$HAVE_TIMEVAL" = xyes; then 11382 if test "x$HAVE_TIMEVAL" = xyes; then
11375 11383
11376 for ac_func in gettimeofday 11384 for ac_func in gettimeofday
11377 do 11385 do
11378 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 11386 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11379 echo "$as_me:11379: checking for $ac_func" >&5 11387 echo "$as_me:11387: checking for $ac_func" >&5
11380 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 11388 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11381 if eval "test \"\${$as_ac_var+set}\" = set"; then 11389 if eval "test \"\${$as_ac_var+set}\" = set"; then
11382 echo $ECHO_N "(cached) $ECHO_C" >&6 11390 echo $ECHO_N "(cached) $ECHO_C" >&6
11383 else 11391 else
11384 cat >conftest.$ac_ext <<_ACEOF 11392 cat >conftest.$ac_ext <<_ACEOF
11385 #line 11385 "configure" 11393 #line 11393 "configure"
11386 #include "confdefs.h" 11394 #include "confdefs.h"
11387 /* System header to define __stub macros and hopefully few prototypes, 11395 /* System header to define __stub macros and hopefully few prototypes,
11388 which can conflict with char $ac_func (); below. */ 11396 which can conflict with char $ac_func (); below. */
11389 #include <assert.h> 11397 #include <assert.h>
11390 /* Override any gcc2 internal prototype to avoid an error. */ 11398 /* Override any gcc2 internal prototype to avoid an error. */
11411 ; 11419 ;
11412 return 0; 11420 return 0;
11413 } 11421 }
11414 _ACEOF 11422 _ACEOF
11415 rm -f conftest.$ac_objext conftest$ac_exeext 11423 rm -f conftest.$ac_objext conftest$ac_exeext
11416 if { (eval echo "$as_me:11416: \"$ac_link\"") >&5 11424 if { (eval echo "$as_me:11424: \"$ac_link\"") >&5
11417 (eval $ac_link) 2>&5 11425 (eval $ac_link) 2>&5
11418 ac_status=$? 11426 ac_status=$?
11419 echo "$as_me:11419: \$? = $ac_status" >&5 11427 echo "$as_me:11427: \$? = $ac_status" >&5
11420 (exit $ac_status); } && 11428 (exit $ac_status); } &&
11421 { ac_try='test -s conftest$ac_exeext' 11429 { ac_try='test -s conftest$ac_exeext'
11422 { (eval echo "$as_me:11422: \"$ac_try\"") >&5 11430 { (eval echo "$as_me:11430: \"$ac_try\"") >&5
11423 (eval $ac_try) 2>&5 11431 (eval $ac_try) 2>&5
11424 ac_status=$? 11432 ac_status=$?
11425 echo "$as_me:11425: \$? = $ac_status" >&5 11433 echo "$as_me:11433: \$? = $ac_status" >&5
11426 (exit $ac_status); }; }; then 11434 (exit $ac_status); }; }; then
11427 eval "$as_ac_var=yes" 11435 eval "$as_ac_var=yes"
11428 else 11436 else
11429 echo "$as_me: failed program was:" >&5 11437 echo "$as_me: failed program was:" >&5
11430 cat conftest.$ac_ext >&5 11438 cat conftest.$ac_ext >&5
11431 eval "$as_ac_var=no" 11439 eval "$as_ac_var=no"
11432 fi 11440 fi
11433 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11441 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11434 fi 11442 fi
11435 echo "$as_me:11435: result: `eval echo '${'$as_ac_var'}'`" >&5 11443 echo "$as_me:11443: result: `eval echo '${'$as_ac_var'}'`" >&5
11436 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 11444 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11437 if test `eval echo '${'$as_ac_var'}'` = yes; then 11445 if test `eval echo '${'$as_ac_var'}'` = yes; then
11438 cat >>confdefs.h <<EOF 11446 cat >>confdefs.h <<EOF
11439 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 11447 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11440 EOF 11448 EOF
11441 11449
11442 fi 11450 fi
11443 done 11451 done
11444 11452
11445 echo "$as_me:11445: checking whether gettimeofday can accept two arguments" >&5 11453 echo "$as_me:11453: checking whether gettimeofday can accept two arguments" >&5
11446 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6 11454 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
11447 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then 11455 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
11448 echo $ECHO_N "(cached) $ECHO_C" >&6 11456 echo $ECHO_N "(cached) $ECHO_C" >&6
11449 else 11457 else
11450 cat >conftest.$ac_ext <<_ACEOF 11458 cat >conftest.$ac_ext <<_ACEOF
11451 #line 11451 "configure" 11459 #line 11459 "configure"
11452 #include "confdefs.h" 11460 #include "confdefs.h"
11453 11461
11454 #ifdef TIME_WITH_SYS_TIME 11462 #ifdef TIME_WITH_SYS_TIME
11455 #include <sys/time.h> 11463 #include <sys/time.h>
11456 #include <time.h> 11464 #include <time.h>
11469 ; 11477 ;
11470 return 0; 11478 return 0;
11471 } 11479 }
11472 _ACEOF 11480 _ACEOF
11473 rm -f conftest.$ac_objext 11481 rm -f conftest.$ac_objext
11474 if { (eval echo "$as_me:11474: \"$ac_compile\"") >&5 11482 if { (eval echo "$as_me:11482: \"$ac_compile\"") >&5
11475 (eval $ac_compile) 2>&5 11483 (eval $ac_compile) 2>&5
11476 ac_status=$? 11484 ac_status=$?
11477 echo "$as_me:11477: \$? = $ac_status" >&5 11485 echo "$as_me:11485: \$? = $ac_status" >&5
11478 (exit $ac_status); } && 11486 (exit $ac_status); } &&
11479 { ac_try='test -s conftest.$ac_objext' 11487 { ac_try='test -s conftest.$ac_objext'
11480 { (eval echo "$as_me:11480: \"$ac_try\"") >&5 11488 { (eval echo "$as_me:11488: \"$ac_try\"") >&5
11481 (eval $ac_try) 2>&5 11489 (eval $ac_try) 2>&5
11482 ac_status=$? 11490 ac_status=$?
11483 echo "$as_me:11483: \$? = $ac_status" >&5 11491 echo "$as_me:11491: \$? = $ac_status" >&5
11484 (exit $ac_status); }; }; then 11492 (exit $ac_status); }; }; then
11485 emacs_cv_gettimeofday_two_arguments=yes 11493 emacs_cv_gettimeofday_two_arguments=yes
11486 else 11494 else
11487 echo "$as_me: failed program was:" >&5 11495 echo "$as_me: failed program was:" >&5
11488 cat conftest.$ac_ext >&5 11496 cat conftest.$ac_ext >&5
11489 emacs_cv_gettimeofday_two_arguments=no 11497 emacs_cv_gettimeofday_two_arguments=no
11490 fi 11498 fi
11491 rm -f conftest.$ac_objext conftest.$ac_ext 11499 rm -f conftest.$ac_objext conftest.$ac_ext
11492 fi 11500 fi
11493 echo "$as_me:11493: result: $emacs_cv_gettimeofday_two_arguments" >&5 11501 echo "$as_me:11501: result: $emacs_cv_gettimeofday_two_arguments" >&5
11494 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6 11502 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
11495 if test $emacs_cv_gettimeofday_two_arguments = no; then 11503 if test $emacs_cv_gettimeofday_two_arguments = no; then
11496 cat >>confdefs.h <<\EOF 11504 cat >>confdefs.h <<\EOF
11497 #define GETTIMEOFDAY_ONE_ARGUMENT 1 11505 #define GETTIMEOFDAY_ONE_ARGUMENT 1
11498 EOF 11506 EOF
11499 11507
11500 fi 11508 fi
11501 fi 11509 fi
11502 11510
11503 if test "$ac_cv_func_gettimeofday" = yes; then 11511 if test "$ac_cv_func_gettimeofday" = yes; then
11504 echo "$as_me:11504: checking for struct timezone" >&5 11512 echo "$as_me:11512: checking for struct timezone" >&5
11505 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6 11513 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
11506 if test "${emacs_cv_struct_timezone+set}" = set; then 11514 if test "${emacs_cv_struct_timezone+set}" = set; then
11507 echo $ECHO_N "(cached) $ECHO_C" >&6 11515 echo $ECHO_N "(cached) $ECHO_C" >&6
11508 else 11516 else
11509 cat >conftest.$ac_ext <<_ACEOF 11517 cat >conftest.$ac_ext <<_ACEOF
11510 #line 11510 "configure" 11518 #line 11518 "configure"
11511 #include "confdefs.h" 11519 #include "confdefs.h"
11512 #include <sys/time.h> 11520 #include <sys/time.h>
11513 int 11521 int
11514 main () 11522 main ()
11515 { 11523 {
11517 ; 11525 ;
11518 return 0; 11526 return 0;
11519 } 11527 }
11520 _ACEOF 11528 _ACEOF
11521 rm -f conftest.$ac_objext 11529 rm -f conftest.$ac_objext
11522 if { (eval echo "$as_me:11522: \"$ac_compile\"") >&5 11530 if { (eval echo "$as_me:11530: \"$ac_compile\"") >&5
11523 (eval $ac_compile) 2>&5 11531 (eval $ac_compile) 2>&5
11524 ac_status=$? 11532 ac_status=$?
11525 echo "$as_me:11525: \$? = $ac_status" >&5 11533 echo "$as_me:11533: \$? = $ac_status" >&5
11526 (exit $ac_status); } && 11534 (exit $ac_status); } &&
11527 { ac_try='test -s conftest.$ac_objext' 11535 { ac_try='test -s conftest.$ac_objext'
11528 { (eval echo "$as_me:11528: \"$ac_try\"") >&5 11536 { (eval echo "$as_me:11536: \"$ac_try\"") >&5
11529 (eval $ac_try) 2>&5 11537 (eval $ac_try) 2>&5
11530 ac_status=$? 11538 ac_status=$?
11531 echo "$as_me:11531: \$? = $ac_status" >&5 11539 echo "$as_me:11539: \$? = $ac_status" >&5
11532 (exit $ac_status); }; }; then 11540 (exit $ac_status); }; }; then
11533 if test "$cross_compiling" = yes; then 11541 if test "$cross_compiling" = yes; then
11534 emacs_cv_struct_timezone=yes 11542 emacs_cv_struct_timezone=yes
11535 else 11543 else
11536 cat >conftest.$ac_ext <<_ACEOF 11544 cat >conftest.$ac_ext <<_ACEOF
11537 #line 11537 "configure" 11545 #line 11545 "configure"
11538 #include "confdefs.h" 11546 #include "confdefs.h"
11539 11547
11540 #ifdef TIME_WITH_SYS_TIME 11548 #ifdef TIME_WITH_SYS_TIME
11541 #include <sys/time.h> 11549 #include <sys/time.h>
11542 #include <time.h> 11550 #include <time.h>
11552 struct timezone dummy; 11560 struct timezone dummy;
11553 exit (gettimeofday (&time, &dummy)); 11561 exit (gettimeofday (&time, &dummy));
11554 } 11562 }
11555 _ACEOF 11563 _ACEOF
11556 rm -f conftest$ac_exeext 11564 rm -f conftest$ac_exeext
11557 if { (eval echo "$as_me:11557: \"$ac_link\"") >&5 11565 if { (eval echo "$as_me:11565: \"$ac_link\"") >&5
11558 (eval $ac_link) 2>&5 11566 (eval $ac_link) 2>&5
11559 ac_status=$? 11567 ac_status=$?
11560 echo "$as_me:11560: \$? = $ac_status" >&5 11568 echo "$as_me:11568: \$? = $ac_status" >&5
11561 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 11569 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11562 { (eval echo "$as_me:11562: \"$ac_try\"") >&5 11570 { (eval echo "$as_me:11570: \"$ac_try\"") >&5
11563 (eval $ac_try) 2>&5 11571 (eval $ac_try) 2>&5
11564 ac_status=$? 11572 ac_status=$?
11565 echo "$as_me:11565: \$? = $ac_status" >&5 11573 echo "$as_me:11573: \$? = $ac_status" >&5
11566 (exit $ac_status); }; }; then 11574 (exit $ac_status); }; }; then
11567 emacs_cv_struct_timezone=yes 11575 emacs_cv_struct_timezone=yes
11568 else 11576 else
11569 echo "$as_me: program exited with status $ac_status" >&5 11577 echo "$as_me: program exited with status $ac_status" >&5
11570 echo "$as_me: failed program was:" >&5 11578 echo "$as_me: failed program was:" >&5
11578 cat conftest.$ac_ext >&5 11586 cat conftest.$ac_ext >&5
11579 emacs_cv_struct_timezone=no 11587 emacs_cv_struct_timezone=no
11580 fi 11588 fi
11581 rm -f conftest.$ac_objext conftest.$ac_ext 11589 rm -f conftest.$ac_objext conftest.$ac_ext
11582 fi 11590 fi
11583 echo "$as_me:11583: result: $emacs_cv_struct_timezone" >&5 11591 echo "$as_me:11591: result: $emacs_cv_struct_timezone" >&5
11584 echo "${ECHO_T}$emacs_cv_struct_timezone" >&6 11592 echo "${ECHO_T}$emacs_cv_struct_timezone" >&6
11585 fi 11593 fi
11586 11594
11587 ok_so_far=yes 11595 ok_so_far=yes
11588 echo "$as_me:11588: checking for socket" >&5 11596 echo "$as_me:11596: checking for socket" >&5
11589 echo $ECHO_N "checking for socket... $ECHO_C" >&6 11597 echo $ECHO_N "checking for socket... $ECHO_C" >&6
11590 if test "${ac_cv_func_socket+set}" = set; then 11598 if test "${ac_cv_func_socket+set}" = set; then
11591 echo $ECHO_N "(cached) $ECHO_C" >&6 11599 echo $ECHO_N "(cached) $ECHO_C" >&6
11592 else 11600 else
11593 cat >conftest.$ac_ext <<_ACEOF 11601 cat >conftest.$ac_ext <<_ACEOF
11594 #line 11594 "configure" 11602 #line 11602 "configure"
11595 #include "confdefs.h" 11603 #include "confdefs.h"
11596 /* System header to define __stub macros and hopefully few prototypes, 11604 /* System header to define __stub macros and hopefully few prototypes,
11597 which can conflict with char socket (); below. */ 11605 which can conflict with char socket (); below. */
11598 #include <assert.h> 11606 #include <assert.h>
11599 /* Override any gcc2 internal prototype to avoid an error. */ 11607 /* Override any gcc2 internal prototype to avoid an error. */
11620 ; 11628 ;
11621 return 0; 11629 return 0;
11622 } 11630 }
11623 _ACEOF 11631 _ACEOF
11624 rm -f conftest.$ac_objext conftest$ac_exeext 11632 rm -f conftest.$ac_objext conftest$ac_exeext
11625 if { (eval echo "$as_me:11625: \"$ac_link\"") >&5 11633 if { (eval echo "$as_me:11633: \"$ac_link\"") >&5
11626 (eval $ac_link) 2>&5 11634 (eval $ac_link) 2>&5
11627 ac_status=$? 11635 ac_status=$?
11628 echo "$as_me:11628: \$? = $ac_status" >&5 11636 echo "$as_me:11636: \$? = $ac_status" >&5
11629 (exit $ac_status); } && 11637 (exit $ac_status); } &&
11630 { ac_try='test -s conftest$ac_exeext' 11638 { ac_try='test -s conftest$ac_exeext'
11631 { (eval echo "$as_me:11631: \"$ac_try\"") >&5 11639 { (eval echo "$as_me:11639: \"$ac_try\"") >&5
11632 (eval $ac_try) 2>&5 11640 (eval $ac_try) 2>&5
11633 ac_status=$? 11641 ac_status=$?
11634 echo "$as_me:11634: \$? = $ac_status" >&5 11642 echo "$as_me:11642: \$? = $ac_status" >&5
11635 (exit $ac_status); }; }; then 11643 (exit $ac_status); }; }; then
11636 ac_cv_func_socket=yes 11644 ac_cv_func_socket=yes
11637 else 11645 else
11638 echo "$as_me: failed program was:" >&5 11646 echo "$as_me: failed program was:" >&5
11639 cat conftest.$ac_ext >&5 11647 cat conftest.$ac_ext >&5
11640 ac_cv_func_socket=no 11648 ac_cv_func_socket=no
11641 fi 11649 fi
11642 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11650 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11643 fi 11651 fi
11644 echo "$as_me:11644: result: $ac_cv_func_socket" >&5 11652 echo "$as_me:11652: result: $ac_cv_func_socket" >&5
11645 echo "${ECHO_T}$ac_cv_func_socket" >&6 11653 echo "${ECHO_T}$ac_cv_func_socket" >&6
11646 if test $ac_cv_func_socket = yes; then 11654 if test $ac_cv_func_socket = yes; then
11647 : 11655 :
11648 else 11656 else
11649 ok_so_far=no 11657 ok_so_far=no
11650 fi 11658 fi
11651 11659
11652 if test $ok_so_far = yes; then 11660 if test $ok_so_far = yes; then
11653 echo "$as_me:11653: checking for netinet/in.h" >&5 11661 echo "$as_me:11661: checking for netinet/in.h" >&5
11654 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6 11662 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6
11655 if test "${ac_cv_header_netinet_in_h+set}" = set; then 11663 if test "${ac_cv_header_netinet_in_h+set}" = set; then
11656 echo $ECHO_N "(cached) $ECHO_C" >&6 11664 echo $ECHO_N "(cached) $ECHO_C" >&6
11657 else 11665 else
11658 cat >conftest.$ac_ext <<_ACEOF 11666 cat >conftest.$ac_ext <<_ACEOF
11659 #line 11659 "configure" 11667 #line 11667 "configure"
11660 #include "confdefs.h" 11668 #include "confdefs.h"
11661 #include <netinet/in.h> 11669 #include <netinet/in.h>
11662 _ACEOF 11670 _ACEOF
11663 if { (eval echo "$as_me:11663: \"$ac_cpp conftest.$ac_ext\"") >&5 11671 if { (eval echo "$as_me:11671: \"$ac_cpp conftest.$ac_ext\"") >&5
11664 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11672 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11665 ac_status=$? 11673 ac_status=$?
11666 egrep -v '^ *\+' conftest.er1 >conftest.err 11674 egrep -v '^ *\+' conftest.er1 >conftest.err
11667 rm -f conftest.er1 11675 rm -f conftest.er1
11668 cat conftest.err >&5 11676 cat conftest.err >&5
11669 echo "$as_me:11669: \$? = $ac_status" >&5 11677 echo "$as_me:11677: \$? = $ac_status" >&5
11670 (exit $ac_status); } >/dev/null; then 11678 (exit $ac_status); } >/dev/null; then
11671 if test -s conftest.err; then 11679 if test -s conftest.err; then
11672 ac_cpp_err=$ac_c_preproc_warn_flag 11680 ac_cpp_err=$ac_c_preproc_warn_flag
11673 else 11681 else
11674 ac_cpp_err= 11682 ac_cpp_err=
11683 cat conftest.$ac_ext >&5 11691 cat conftest.$ac_ext >&5
11684 ac_cv_header_netinet_in_h=no 11692 ac_cv_header_netinet_in_h=no
11685 fi 11693 fi
11686 rm -f conftest.err conftest.$ac_ext 11694 rm -f conftest.err conftest.$ac_ext
11687 fi 11695 fi
11688 echo "$as_me:11688: result: $ac_cv_header_netinet_in_h" >&5 11696 echo "$as_me:11696: result: $ac_cv_header_netinet_in_h" >&5
11689 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6 11697 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6
11690 if test $ac_cv_header_netinet_in_h = yes; then 11698 if test $ac_cv_header_netinet_in_h = yes; then
11691 : 11699 :
11692 else 11700 else
11693 ok_so_far=no 11701 ok_so_far=no
11694 fi 11702 fi
11695 11703
11696 fi 11704 fi
11697 if test $ok_so_far = yes; then 11705 if test $ok_so_far = yes; then
11698 echo "$as_me:11698: checking for arpa/inet.h" >&5 11706 echo "$as_me:11706: checking for arpa/inet.h" >&5
11699 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 11707 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6
11700 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 11708 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
11701 echo $ECHO_N "(cached) $ECHO_C" >&6 11709 echo $ECHO_N "(cached) $ECHO_C" >&6
11702 else 11710 else
11703 cat >conftest.$ac_ext <<_ACEOF 11711 cat >conftest.$ac_ext <<_ACEOF
11704 #line 11704 "configure" 11712 #line 11712 "configure"
11705 #include "confdefs.h" 11713 #include "confdefs.h"
11706 #include <arpa/inet.h> 11714 #include <arpa/inet.h>
11707 _ACEOF 11715 _ACEOF
11708 if { (eval echo "$as_me:11708: \"$ac_cpp conftest.$ac_ext\"") >&5 11716 if { (eval echo "$as_me:11716: \"$ac_cpp conftest.$ac_ext\"") >&5
11709 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11717 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11710 ac_status=$? 11718 ac_status=$?
11711 egrep -v '^ *\+' conftest.er1 >conftest.err 11719 egrep -v '^ *\+' conftest.er1 >conftest.err
11712 rm -f conftest.er1 11720 rm -f conftest.er1
11713 cat conftest.err >&5 11721 cat conftest.err >&5
11714 echo "$as_me:11714: \$? = $ac_status" >&5 11722 echo "$as_me:11722: \$? = $ac_status" >&5
11715 (exit $ac_status); } >/dev/null; then 11723 (exit $ac_status); } >/dev/null; then
11716 if test -s conftest.err; then 11724 if test -s conftest.err; then
11717 ac_cpp_err=$ac_c_preproc_warn_flag 11725 ac_cpp_err=$ac_c_preproc_warn_flag
11718 else 11726 else
11719 ac_cpp_err= 11727 ac_cpp_err=
11728 cat conftest.$ac_ext >&5 11736 cat conftest.$ac_ext >&5
11729 ac_cv_header_arpa_inet_h=no 11737 ac_cv_header_arpa_inet_h=no
11730 fi 11738 fi
11731 rm -f conftest.err conftest.$ac_ext 11739 rm -f conftest.err conftest.$ac_ext
11732 fi 11740 fi
11733 echo "$as_me:11733: result: $ac_cv_header_arpa_inet_h" >&5 11741 echo "$as_me:11741: result: $ac_cv_header_arpa_inet_h" >&5
11734 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 11742 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6
11735 if test $ac_cv_header_arpa_inet_h = yes; then 11743 if test $ac_cv_header_arpa_inet_h = yes; then
11736 : 11744 :
11737 else 11745 else
11738 ok_so_far=no 11746 ok_so_far=no
11751 #define HAVE_AIX_SMT_EXP 1 11759 #define HAVE_AIX_SMT_EXP 1
11752 EOF 11760 EOF
11753 11761
11754 fi 11762 fi
11755 11763
11756 echo "$as_me:11756: checking whether system supports dynamic ptys" >&5 11764 echo "$as_me:11764: checking whether system supports dynamic ptys" >&5
11757 echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6 11765 echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6
11758 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then 11766 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then
11759 echo "$as_me:11759: result: yes" >&5 11767 echo "$as_me:11767: result: yes" >&5
11760 echo "${ECHO_T}yes" >&6 11768 echo "${ECHO_T}yes" >&6
11761 cat >>confdefs.h <<\EOF 11769 cat >>confdefs.h <<\EOF
11762 #define HAVE_DEV_PTMX 1 11770 #define HAVE_DEV_PTMX 1
11763 EOF 11771 EOF
11764 11772
11765 else 11773 else
11766 echo "$as_me:11766: result: no" >&5 11774 echo "$as_me:11774: result: no" >&5
11767 echo "${ECHO_T}no" >&6 11775 echo "${ECHO_T}no" >&6
11768 fi 11776 fi
11769 11777
11770 echo "$as_me:11770: checking for pid_t" >&5 11778 echo "$as_me:11778: checking for pid_t" >&5
11771 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 11779 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
11772 if test "${ac_cv_type_pid_t+set}" = set; then 11780 if test "${ac_cv_type_pid_t+set}" = set; then
11773 echo $ECHO_N "(cached) $ECHO_C" >&6 11781 echo $ECHO_N "(cached) $ECHO_C" >&6
11774 else 11782 else
11775 cat >conftest.$ac_ext <<_ACEOF 11783 cat >conftest.$ac_ext <<_ACEOF
11776 #line 11776 "configure" 11784 #line 11784 "configure"
11777 #include "confdefs.h" 11785 #include "confdefs.h"
11778 $ac_includes_default 11786 $ac_includes_default
11779 int 11787 int
11780 main () 11788 main ()
11781 { 11789 {
11786 ; 11794 ;
11787 return 0; 11795 return 0;
11788 } 11796 }
11789 _ACEOF 11797 _ACEOF
11790 rm -f conftest.$ac_objext 11798 rm -f conftest.$ac_objext
11791 if { (eval echo "$as_me:11791: \"$ac_compile\"") >&5 11799 if { (eval echo "$as_me:11799: \"$ac_compile\"") >&5
11792 (eval $ac_compile) 2>&5 11800 (eval $ac_compile) 2>&5
11793 ac_status=$? 11801 ac_status=$?
11794 echo "$as_me:11794: \$? = $ac_status" >&5 11802 echo "$as_me:11802: \$? = $ac_status" >&5
11795 (exit $ac_status); } && 11803 (exit $ac_status); } &&
11796 { ac_try='test -s conftest.$ac_objext' 11804 { ac_try='test -s conftest.$ac_objext'
11797 { (eval echo "$as_me:11797: \"$ac_try\"") >&5 11805 { (eval echo "$as_me:11805: \"$ac_try\"") >&5
11798 (eval $ac_try) 2>&5 11806 (eval $ac_try) 2>&5
11799 ac_status=$? 11807 ac_status=$?
11800 echo "$as_me:11800: \$? = $ac_status" >&5 11808 echo "$as_me:11808: \$? = $ac_status" >&5
11801 (exit $ac_status); }; }; then 11809 (exit $ac_status); }; }; then
11802 ac_cv_type_pid_t=yes 11810 ac_cv_type_pid_t=yes
11803 else 11811 else
11804 echo "$as_me: failed program was:" >&5 11812 echo "$as_me: failed program was:" >&5
11805 cat conftest.$ac_ext >&5 11813 cat conftest.$ac_ext >&5
11806 ac_cv_type_pid_t=no 11814 ac_cv_type_pid_t=no
11807 fi 11815 fi
11808 rm -f conftest.$ac_objext conftest.$ac_ext 11816 rm -f conftest.$ac_objext conftest.$ac_ext
11809 fi 11817 fi
11810 echo "$as_me:11810: result: $ac_cv_type_pid_t" >&5 11818 echo "$as_me:11818: result: $ac_cv_type_pid_t" >&5
11811 echo "${ECHO_T}$ac_cv_type_pid_t" >&6 11819 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
11812 if test $ac_cv_type_pid_t = yes; then 11820 if test $ac_cv_type_pid_t = yes; then
11813 : 11821 :
11814 else 11822 else
11815 11823
11820 fi 11828 fi
11821 11829
11822 for ac_header in unistd.h vfork.h 11830 for ac_header in unistd.h vfork.h
11823 do 11831 do
11824 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11832 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11825 echo "$as_me:11825: checking for $ac_header" >&5 11833 echo "$as_me:11833: checking for $ac_header" >&5
11826 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11834 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11827 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11835 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11828 echo $ECHO_N "(cached) $ECHO_C" >&6 11836 echo $ECHO_N "(cached) $ECHO_C" >&6
11829 else 11837 else
11830 cat >conftest.$ac_ext <<_ACEOF 11838 cat >conftest.$ac_ext <<_ACEOF
11831 #line 11831 "configure" 11839 #line 11839 "configure"
11832 #include "confdefs.h" 11840 #include "confdefs.h"
11833 #include <$ac_header> 11841 #include <$ac_header>
11834 _ACEOF 11842 _ACEOF
11835 if { (eval echo "$as_me:11835: \"$ac_cpp conftest.$ac_ext\"") >&5 11843 if { (eval echo "$as_me:11843: \"$ac_cpp conftest.$ac_ext\"") >&5
11836 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11844 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11837 ac_status=$? 11845 ac_status=$?
11838 egrep -v '^ *\+' conftest.er1 >conftest.err 11846 egrep -v '^ *\+' conftest.er1 >conftest.err
11839 rm -f conftest.er1 11847 rm -f conftest.er1
11840 cat conftest.err >&5 11848 cat conftest.err >&5
11841 echo "$as_me:11841: \$? = $ac_status" >&5 11849 echo "$as_me:11849: \$? = $ac_status" >&5
11842 (exit $ac_status); } >/dev/null; then 11850 (exit $ac_status); } >/dev/null; then
11843 if test -s conftest.err; then 11851 if test -s conftest.err; then
11844 ac_cpp_err=$ac_c_preproc_warn_flag 11852 ac_cpp_err=$ac_c_preproc_warn_flag
11845 else 11853 else
11846 ac_cpp_err= 11854 ac_cpp_err=
11855 cat conftest.$ac_ext >&5 11863 cat conftest.$ac_ext >&5
11856 eval "$as_ac_Header=no" 11864 eval "$as_ac_Header=no"
11857 fi 11865 fi
11858 rm -f conftest.err conftest.$ac_ext 11866 rm -f conftest.err conftest.$ac_ext
11859 fi 11867 fi
11860 echo "$as_me:11860: result: `eval echo '${'$as_ac_Header'}'`" >&5 11868 echo "$as_me:11868: result: `eval echo '${'$as_ac_Header'}'`" >&5
11861 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11869 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11862 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11870 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11863 cat >>confdefs.h <<EOF 11871 cat >>confdefs.h <<EOF
11864 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11872 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11865 EOF 11873 EOF
11868 done 11876 done
11869 11877
11870 for ac_func in fork vfork 11878 for ac_func in fork vfork
11871 do 11879 do
11872 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 11880 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11873 echo "$as_me:11873: checking for $ac_func" >&5 11881 echo "$as_me:11881: checking for $ac_func" >&5
11874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 11882 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11875 if eval "test \"\${$as_ac_var+set}\" = set"; then 11883 if eval "test \"\${$as_ac_var+set}\" = set"; then
11876 echo $ECHO_N "(cached) $ECHO_C" >&6 11884 echo $ECHO_N "(cached) $ECHO_C" >&6
11877 else 11885 else
11878 cat >conftest.$ac_ext <<_ACEOF 11886 cat >conftest.$ac_ext <<_ACEOF
11879 #line 11879 "configure" 11887 #line 11887 "configure"
11880 #include "confdefs.h" 11888 #include "confdefs.h"
11881 /* System header to define __stub macros and hopefully few prototypes, 11889 /* System header to define __stub macros and hopefully few prototypes,
11882 which can conflict with char $ac_func (); below. */ 11890 which can conflict with char $ac_func (); below. */
11883 #include <assert.h> 11891 #include <assert.h>
11884 /* Override any gcc2 internal prototype to avoid an error. */ 11892 /* Override any gcc2 internal prototype to avoid an error. */
11905 ; 11913 ;
11906 return 0; 11914 return 0;
11907 } 11915 }
11908 _ACEOF 11916 _ACEOF
11909 rm -f conftest.$ac_objext conftest$ac_exeext 11917 rm -f conftest.$ac_objext conftest$ac_exeext
11910 if { (eval echo "$as_me:11910: \"$ac_link\"") >&5 11918 if { (eval echo "$as_me:11918: \"$ac_link\"") >&5
11911 (eval $ac_link) 2>&5 11919 (eval $ac_link) 2>&5
11912 ac_status=$? 11920 ac_status=$?
11913 echo "$as_me:11913: \$? = $ac_status" >&5 11921 echo "$as_me:11921: \$? = $ac_status" >&5
11914 (exit $ac_status); } && 11922 (exit $ac_status); } &&
11915 { ac_try='test -s conftest$ac_exeext' 11923 { ac_try='test -s conftest$ac_exeext'
11916 { (eval echo "$as_me:11916: \"$ac_try\"") >&5 11924 { (eval echo "$as_me:11924: \"$ac_try\"") >&5
11917 (eval $ac_try) 2>&5 11925 (eval $ac_try) 2>&5
11918 ac_status=$? 11926 ac_status=$?
11919 echo "$as_me:11919: \$? = $ac_status" >&5 11927 echo "$as_me:11927: \$? = $ac_status" >&5
11920 (exit $ac_status); }; }; then 11928 (exit $ac_status); }; }; then
11921 eval "$as_ac_var=yes" 11929 eval "$as_ac_var=yes"
11922 else 11930 else
11923 echo "$as_me: failed program was:" >&5 11931 echo "$as_me: failed program was:" >&5
11924 cat conftest.$ac_ext >&5 11932 cat conftest.$ac_ext >&5
11925 eval "$as_ac_var=no" 11933 eval "$as_ac_var=no"
11926 fi 11934 fi
11927 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11935 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11928 fi 11936 fi
11929 echo "$as_me:11929: result: `eval echo '${'$as_ac_var'}'`" >&5 11937 echo "$as_me:11937: result: `eval echo '${'$as_ac_var'}'`" >&5
11930 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 11938 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11931 if test `eval echo '${'$as_ac_var'}'` = yes; then 11939 if test `eval echo '${'$as_ac_var'}'` = yes; then
11932 cat >>confdefs.h <<EOF 11940 cat >>confdefs.h <<EOF
11933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 11941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11934 EOF 11942 EOF
11936 fi 11944 fi
11937 done 11945 done
11938 11946
11939 ac_cv_func_fork_works=$ac_cv_func_fork 11947 ac_cv_func_fork_works=$ac_cv_func_fork
11940 if test "x$ac_cv_func_fork" = xyes; then 11948 if test "x$ac_cv_func_fork" = xyes; then
11941 echo "$as_me:11941: checking for working fork" >&5 11949 echo "$as_me:11949: checking for working fork" >&5
11942 echo $ECHO_N "checking for working fork... $ECHO_C" >&6 11950 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
11943 if test "${ac_cv_func_fork_works+set}" = set; then 11951 if test "${ac_cv_func_fork_works+set}" = set; then
11944 echo $ECHO_N "(cached) $ECHO_C" >&6 11952 echo $ECHO_N "(cached) $ECHO_C" >&6
11945 else 11953 else
11946 if test "$cross_compiling" = yes; then 11954 if test "$cross_compiling" = yes; then
11959 exit (1); 11967 exit (1);
11960 exit (0); 11968 exit (0);
11961 } 11969 }
11962 _ACEOF 11970 _ACEOF
11963 rm -f conftest$ac_exeext 11971 rm -f conftest$ac_exeext
11964 if { (eval echo "$as_me:11964: \"$ac_link\"") >&5 11972 if { (eval echo "$as_me:11972: \"$ac_link\"") >&5
11965 (eval $ac_link) 2>&5 11973 (eval $ac_link) 2>&5
11966 ac_status=$? 11974 ac_status=$?
11967 echo "$as_me:11967: \$? = $ac_status" >&5 11975 echo "$as_me:11975: \$? = $ac_status" >&5
11968 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 11976 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11969 { (eval echo "$as_me:11969: \"$ac_try\"") >&5 11977 { (eval echo "$as_me:11977: \"$ac_try\"") >&5
11970 (eval $ac_try) 2>&5 11978 (eval $ac_try) 2>&5
11971 ac_status=$? 11979 ac_status=$?
11972 echo "$as_me:11972: \$? = $ac_status" >&5 11980 echo "$as_me:11980: \$? = $ac_status" >&5
11973 (exit $ac_status); }; }; then 11981 (exit $ac_status); }; }; then
11974 ac_cv_func_fork_works=yes 11982 ac_cv_func_fork_works=yes
11975 else 11983 else
11976 echo "$as_me: program exited with status $ac_status" >&5 11984 echo "$as_me: program exited with status $ac_status" >&5
11977 echo "$as_me: failed program was:" >&5 11985 echo "$as_me: failed program was:" >&5
11979 ac_cv_func_fork_works=no 11987 ac_cv_func_fork_works=no
11980 fi 11988 fi
11981 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11989 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11982 fi 11990 fi
11983 fi 11991 fi
11984 echo "$as_me:11984: result: $ac_cv_func_fork_works" >&5 11992 echo "$as_me:11992: result: $ac_cv_func_fork_works" >&5
11985 echo "${ECHO_T}$ac_cv_func_fork_works" >&6 11993 echo "${ECHO_T}$ac_cv_func_fork_works" >&6
11986 11994
11987 fi 11995 fi
11988 if test "x$ac_cv_func_fork_works" = xcross; then 11996 if test "x$ac_cv_func_fork_works" = xcross; then
11989 case $host in 11997 case $host in
11993 ;; 12001 ;;
11994 *) 12002 *)
11995 ac_cv_func_fork_works=yes 12003 ac_cv_func_fork_works=yes
11996 ;; 12004 ;;
11997 esac 12005 esac
11998 { echo "$as_me:11998: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5 12006 { echo "$as_me:12006: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5
11999 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&2;} 12007 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&2;}
12000 fi 12008 fi
12001 ac_cv_func_vfork_works=$ac_cv_func_vfork 12009 ac_cv_func_vfork_works=$ac_cv_func_vfork
12002 if test "x$ac_cv_func_vfork" = xyes; then 12010 if test "x$ac_cv_func_vfork" = xyes; then
12003 echo "$as_me:12003: checking for working vfork" >&5 12011 echo "$as_me:12011: checking for working vfork" >&5
12004 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6 12012 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
12005 if test "${ac_cv_func_vfork_works+set}" = set; then 12013 if test "${ac_cv_func_vfork_works+set}" = set; then
12006 echo $ECHO_N "(cached) $ECHO_C" >&6 12014 echo $ECHO_N "(cached) $ECHO_C" >&6
12007 else 12015 else
12008 if test "$cross_compiling" = yes; then 12016 if test "$cross_compiling" = yes; then
12009 ac_cv_func_vfork_works=cross 12017 ac_cv_func_vfork_works=cross
12010 else 12018 else
12011 cat >conftest.$ac_ext <<_ACEOF 12019 cat >conftest.$ac_ext <<_ACEOF
12012 #line 12012 "configure" 12020 #line 12020 "configure"
12013 #include "confdefs.h" 12021 #include "confdefs.h"
12014 /* Thanks to Paul Eggert for this test. */ 12022 /* Thanks to Paul Eggert for this test. */
12015 #include <stdio.h> 12023 #include <stdio.h>
12016 #include <sys/types.h> 12024 #include <sys/types.h>
12017 #include <sys/stat.h> 12025 #include <sys/stat.h>
12104 ); 12112 );
12105 } 12113 }
12106 } 12114 }
12107 _ACEOF 12115 _ACEOF
12108 rm -f conftest$ac_exeext 12116 rm -f conftest$ac_exeext
12109 if { (eval echo "$as_me:12109: \"$ac_link\"") >&5 12117 if { (eval echo "$as_me:12117: \"$ac_link\"") >&5
12110 (eval $ac_link) 2>&5 12118 (eval $ac_link) 2>&5
12111 ac_status=$? 12119 ac_status=$?
12112 echo "$as_me:12112: \$? = $ac_status" >&5 12120 echo "$as_me:12120: \$? = $ac_status" >&5
12113 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 12121 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12114 { (eval echo "$as_me:12114: \"$ac_try\"") >&5 12122 { (eval echo "$as_me:12122: \"$ac_try\"") >&5
12115 (eval $ac_try) 2>&5 12123 (eval $ac_try) 2>&5
12116 ac_status=$? 12124 ac_status=$?
12117 echo "$as_me:12117: \$? = $ac_status" >&5 12125 echo "$as_me:12125: \$? = $ac_status" >&5
12118 (exit $ac_status); }; }; then 12126 (exit $ac_status); }; }; then
12119 ac_cv_func_vfork_works=yes 12127 ac_cv_func_vfork_works=yes
12120 else 12128 else
12121 echo "$as_me: program exited with status $ac_status" >&5 12129 echo "$as_me: program exited with status $ac_status" >&5
12122 echo "$as_me: failed program was:" >&5 12130 echo "$as_me: failed program was:" >&5
12124 ac_cv_func_vfork_works=no 12132 ac_cv_func_vfork_works=no
12125 fi 12133 fi
12126 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 12134 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12127 fi 12135 fi
12128 fi 12136 fi
12129 echo "$as_me:12129: result: $ac_cv_func_vfork_works" >&5 12137 echo "$as_me:12137: result: $ac_cv_func_vfork_works" >&5
12130 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6 12138 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
12131 12139
12132 fi; 12140 fi;
12133 if test "x$ac_cv_func_fork_works" = xcross; then 12141 if test "x$ac_cv_func_fork_works" = xcross; then
12134 ac_cv_func_vfork_works=ac_cv_func_vfork 12142 ac_cv_func_vfork_works=ac_cv_func_vfork
12135 { echo "$as_me:12135: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5 12143 { echo "$as_me:12143: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5
12136 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&2;} 12144 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&2;}
12137 fi 12145 fi
12138 12146
12139 if test "x$ac_cv_func_vfork_works" = xyes; then 12147 if test "x$ac_cv_func_vfork_works" = xyes; then
12140 12148
12156 EOF 12164 EOF
12157 12165
12158 fi 12166 fi
12159 12167
12160 # Fixme: This should be replaced when we have autoconf 2.14. 12168 # Fixme: This should be replaced when we have autoconf 2.14.
12161 echo "$as_me:12161: checking for size_t" >&5 12169 echo "$as_me:12169: checking for size_t" >&5
12162 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 12170 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
12163 if test "${ac_cv_type_size_t+set}" = set; then 12171 if test "${ac_cv_type_size_t+set}" = set; then
12164 echo $ECHO_N "(cached) $ECHO_C" >&6 12172 echo $ECHO_N "(cached) $ECHO_C" >&6
12165 else 12173 else
12166 cat >conftest.$ac_ext <<_ACEOF 12174 cat >conftest.$ac_ext <<_ACEOF
12167 #line 12167 "configure" 12175 #line 12175 "configure"
12168 #include "confdefs.h" 12176 #include "confdefs.h"
12169 $ac_includes_default 12177 $ac_includes_default
12170 int 12178 int
12171 main () 12179 main ()
12172 { 12180 {
12177 ; 12185 ;
12178 return 0; 12186 return 0;
12179 } 12187 }
12180 _ACEOF 12188 _ACEOF
12181 rm -f conftest.$ac_objext 12189 rm -f conftest.$ac_objext
12182 if { (eval echo "$as_me:12182: \"$ac_compile\"") >&5 12190 if { (eval echo "$as_me:12190: \"$ac_compile\"") >&5
12183 (eval $ac_compile) 2>&5 12191 (eval $ac_compile) 2>&5
12184 ac_status=$? 12192 ac_status=$?
12185 echo "$as_me:12185: \$? = $ac_status" >&5 12193 echo "$as_me:12193: \$? = $ac_status" >&5
12186 (exit $ac_status); } && 12194 (exit $ac_status); } &&
12187 { ac_try='test -s conftest.$ac_objext' 12195 { ac_try='test -s conftest.$ac_objext'
12188 { (eval echo "$as_me:12188: \"$ac_try\"") >&5 12196 { (eval echo "$as_me:12196: \"$ac_try\"") >&5
12189 (eval $ac_try) 2>&5 12197 (eval $ac_try) 2>&5
12190 ac_status=$? 12198 ac_status=$?
12191 echo "$as_me:12191: \$? = $ac_status" >&5 12199 echo "$as_me:12199: \$? = $ac_status" >&5
12192 (exit $ac_status); }; }; then 12200 (exit $ac_status); }; }; then
12193 ac_cv_type_size_t=yes 12201 ac_cv_type_size_t=yes
12194 else 12202 else
12195 echo "$as_me: failed program was:" >&5 12203 echo "$as_me: failed program was:" >&5
12196 cat conftest.$ac_ext >&5 12204 cat conftest.$ac_ext >&5
12197 ac_cv_type_size_t=no 12205 ac_cv_type_size_t=no
12198 fi 12206 fi
12199 rm -f conftest.$ac_objext conftest.$ac_ext 12207 rm -f conftest.$ac_objext conftest.$ac_ext
12200 fi 12208 fi
12201 echo "$as_me:12201: result: $ac_cv_type_size_t" >&5 12209 echo "$as_me:12209: result: $ac_cv_type_size_t" >&5
12202 echo "${ECHO_T}$ac_cv_type_size_t" >&6 12210 echo "${ECHO_T}$ac_cv_type_size_t" >&6
12203 if test $ac_cv_type_size_t = yes; then 12211 if test $ac_cv_type_size_t = yes; then
12204 : 12212 :
12205 else 12213 else
12206 12214
12216 12224
12217 #### Find out which version of Emacs this is. 12225 #### Find out which version of Emacs this is.
12218 version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \ 12226 version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \
12219 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` 12227 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`
12220 if test x"${version}" = x; then 12228 if test x"${version}" = x; then
12221 { { echo "$as_me:12221: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5 12229 { { echo "$as_me:12229: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5
12222 echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;} 12230 echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;}
12223 { (exit 1); exit 1; }; } 12231 { (exit 1); exit 1; }; }
12224 fi 12232 fi
12225 12233
12226 ### Specify what sort of things we'll be editing into Makefile and config.h. 12234 ### Specify what sort of things we'll be editing into Makefile and config.h.
12302 fi 12310 fi
12303 12311
12304 for ac_header in nlist.h 12312 for ac_header in nlist.h
12305 do 12313 do
12306 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 12314 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12307 echo "$as_me:12307: checking for $ac_header" >&5 12315 echo "$as_me:12315: checking for $ac_header" >&5
12308 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 12316 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12309 if eval "test \"\${$as_ac_Header+set}\" = set"; then 12317 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12310 echo $ECHO_N "(cached) $ECHO_C" >&6 12318 echo $ECHO_N "(cached) $ECHO_C" >&6
12311 else 12319 else
12312 cat >conftest.$ac_ext <<_ACEOF 12320 cat >conftest.$ac_ext <<_ACEOF
12313 #line 12313 "configure" 12321 #line 12321 "configure"
12314 #include "confdefs.h" 12322 #include "confdefs.h"
12315 #include <$ac_header> 12323 #include <$ac_header>
12316 _ACEOF 12324 _ACEOF
12317 if { (eval echo "$as_me:12317: \"$ac_cpp conftest.$ac_ext\"") >&5 12325 if { (eval echo "$as_me:12325: \"$ac_cpp conftest.$ac_ext\"") >&5
12318 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 12326 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12319 ac_status=$? 12327 ac_status=$?
12320 egrep -v '^ *\+' conftest.er1 >conftest.err 12328 egrep -v '^ *\+' conftest.er1 >conftest.err
12321 rm -f conftest.er1 12329 rm -f conftest.er1
12322 cat conftest.err >&5 12330 cat conftest.err >&5
12323 echo "$as_me:12323: \$? = $ac_status" >&5 12331 echo "$as_me:12331: \$? = $ac_status" >&5
12324 (exit $ac_status); } >/dev/null; then 12332 (exit $ac_status); } >/dev/null; then
12325 if test -s conftest.err; then 12333 if test -s conftest.err; then
12326 ac_cpp_err=$ac_c_preproc_warn_flag 12334 ac_cpp_err=$ac_c_preproc_warn_flag
12327 else 12335 else
12328 ac_cpp_err= 12336 ac_cpp_err=
12337 cat conftest.$ac_ext >&5 12345 cat conftest.$ac_ext >&5
12338 eval "$as_ac_Header=no" 12346 eval "$as_ac_Header=no"
12339 fi 12347 fi
12340 rm -f conftest.err conftest.$ac_ext 12348 rm -f conftest.err conftest.$ac_ext
12341 fi 12349 fi
12342 echo "$as_me:12342: result: `eval echo '${'$as_ac_Header'}'`" >&5 12350 echo "$as_me:12350: result: `eval echo '${'$as_ac_Header'}'`" >&5
12343 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 12351 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12344 if test `eval echo '${'$as_ac_Header'}'` = yes; then 12352 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12345 cat >>confdefs.h <<EOF 12353 cat >>confdefs.h <<EOF
12346 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 12354 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12347 EOF 12355 EOF
12397 ## CPP_NEED_TRADITIONAL to `yes' so that the code to generate Makefile 12405 ## CPP_NEED_TRADITIONAL to `yes' so that the code to generate Makefile
12398 ## from Makefile.c can correctly provide the arg `-traditional' to the 12406 ## from Makefile.c can correctly provide the arg `-traditional' to the
12399 ## C preprocessor. 12407 ## C preprocessor.
12400 12408
12401 cat >conftest.$ac_ext <<_ACEOF 12409 cat >conftest.$ac_ext <<_ACEOF
12402 #line 12402 "configure" 12410 #line 12410 "configure"
12403 #include "confdefs.h" 12411 #include "confdefs.h"
12404 yes..yes 12412 yes..yes
12405 _ACEOF 12413 _ACEOF
12406 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 12414 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12407 egrep "yes..yes" >/dev/null 2>&1; then 12415 egrep "yes..yes" >/dev/null 2>&1; then
12490 DEFS=-DHAVE_CONFIG_H 12498 DEFS=-DHAVE_CONFIG_H
12491 12499
12492 : ${CONFIG_STATUS=./config.status} 12500 : ${CONFIG_STATUS=./config.status}
12493 ac_clean_files_save=$ac_clean_files 12501 ac_clean_files_save=$ac_clean_files
12494 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 12502 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12495 { echo "$as_me:12495: creating $CONFIG_STATUS" >&5 12503 { echo "$as_me:12503: creating $CONFIG_STATUS" >&5
12496 echo "$as_me: creating $CONFIG_STATUS" >&6;} 12504 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12497 cat >$CONFIG_STATUS <<_ACEOF 12505 cat >$CONFIG_STATUS <<_ACEOF
12498 #! $SHELL 12506 #! $SHELL
12499 # Generated automatically by configure. 12507 # Generated automatically by configure.
12500 # Run this file to recreate the current configuration. 12508 # Run this file to recreate the current configuration.
12666 cat >>$CONFIG_STATUS <<\EOF 12674 cat >>$CONFIG_STATUS <<\EOF
12667 --version | --vers* | -V ) 12675 --version | --vers* | -V )
12668 echo "$ac_cs_version"; exit 0 ;; 12676 echo "$ac_cs_version"; exit 0 ;;
12669 --he | --h) 12677 --he | --h)
12670 # Conflict between --help and --header 12678 # Conflict between --help and --header
12671 { { echo "$as_me:12671: error: ambiguous option: $1 12679 { { echo "$as_me:12679: error: ambiguous option: $1
12672 Try \`$0 --help' for more information." >&5 12680 Try \`$0 --help' for more information." >&5
12673 echo "$as_me: error: ambiguous option: $1 12681 echo "$as_me: error: ambiguous option: $1
12674 Try \`$0 --help' for more information." >&2;} 12682 Try \`$0 --help' for more information." >&2;}
12675 { (exit 1); exit 1; }; };; 12683 { (exit 1); exit 1; }; };;
12676 --help | --hel | -h ) 12684 --help | --hel | -h )
12685 shift 12693 shift
12686 CONFIG_HEADERS="$CONFIG_HEADERS $1" 12694 CONFIG_HEADERS="$CONFIG_HEADERS $1"
12687 ac_need_defaults=false;; 12695 ac_need_defaults=false;;
12688 12696
12689 # This is an error. 12697 # This is an error.
12690 -*) { { echo "$as_me:12690: error: unrecognized option: $1 12698 -*) { { echo "$as_me:12698: error: unrecognized option: $1
12691 Try \`$0 --help' for more information." >&5 12699 Try \`$0 --help' for more information." >&5
12692 echo "$as_me: error: unrecognized option: $1 12700 echo "$as_me: error: unrecognized option: $1
12693 Try \`$0 --help' for more information." >&2;} 12701 Try \`$0 --help' for more information." >&2;}
12694 { (exit 1); exit 1; }; } ;; 12702 { (exit 1); exit 1; }; } ;;
12695 12703
12741 "lispref/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispref/Makefile" ;; 12749 "lispref/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispref/Makefile" ;;
12742 "lispintro/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispintro/Makefile" ;; 12750 "lispintro/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispintro/Makefile" ;;
12743 "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; 12751 "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;;
12744 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; 12752 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
12745 "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:src/config.in" ;; 12753 "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:src/config.in" ;;
12746 *) { { echo "$as_me:12746: error: invalid argument: $ac_config_target" >&5 12754 *) { { echo "$as_me:12754: error: invalid argument: $ac_config_target" >&5
12747 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 12755 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12748 { (exit 1); exit 1; }; };; 12756 { (exit 1); exit 1; }; };;
12749 esac 12757 esac
12750 done 12758 done
12751 12759
12988 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 12996 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12989 *) ac_INSTALL=$ac_dots$INSTALL ;; 12997 *) ac_INSTALL=$ac_dots$INSTALL ;;
12990 esac 12998 esac
12991 12999
12992 if test x"$ac_file" != x-; then 13000 if test x"$ac_file" != x-; then
12993 { echo "$as_me:12993: creating $ac_file" >&5 13001 { echo "$as_me:13001: creating $ac_file" >&5
12994 echo "$as_me: creating $ac_file" >&6;} 13002 echo "$as_me: creating $ac_file" >&6;}
12995 rm -f "$ac_file" 13003 rm -f "$ac_file"
12996 fi 13004 fi
12997 # Let's still pretend it is `configure' which instantiates (i.e., don't 13005 # Let's still pretend it is `configure' which instantiates (i.e., don't
12998 # use $as_me), people would be surprised to read: 13006 # use $as_me), people would be surprised to read:
13006 for f in $ac_file_in; do 13014 for f in $ac_file_in; do
13007 case $f in 13015 case $f in
13008 -) echo $tmp/stdin ;; 13016 -) echo $tmp/stdin ;;
13009 [\\/$]*) 13017 [\\/$]*)
13010 # Absolute (can't be DOS-style, as IFS=:) 13018 # Absolute (can't be DOS-style, as IFS=:)
13011 test -f "$f" || { { echo "$as_me:13011: error: cannot find input file: $f" >&5 13019 test -f "$f" || { { echo "$as_me:13019: error: cannot find input file: $f" >&5
13012 echo "$as_me: error: cannot find input file: $f" >&2;} 13020 echo "$as_me: error: cannot find input file: $f" >&2;}
13013 { (exit 1); exit 1; }; } 13021 { (exit 1); exit 1; }; }
13014 echo $f;; 13022 echo $f;;
13015 *) # Relative 13023 *) # Relative
13016 if test -f "$f"; then 13024 if test -f "$f"; then
13019 elif test -f "$srcdir/$f"; then 13027 elif test -f "$srcdir/$f"; then
13020 # Source tree 13028 # Source tree
13021 echo $srcdir/$f 13029 echo $srcdir/$f
13022 else 13030 else
13023 # /dev/null tree 13031 # /dev/null tree
13024 { { echo "$as_me:13024: error: cannot find input file: $f" >&5 13032 { { echo "$as_me:13032: error: cannot find input file: $f" >&5
13025 echo "$as_me: error: cannot find input file: $f" >&2;} 13033 echo "$as_me: error: cannot find input file: $f" >&2;}
13026 { (exit 1); exit 1; }; } 13034 { (exit 1); exit 1; }; }
13027 fi;; 13035 fi;;
13028 esac 13036 esac
13029 done` || { (exit 1); exit 1; } 13037 done` || { (exit 1); exit 1; }
13080 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 13088 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
13081 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 13089 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13082 * ) ac_file_in=$ac_file.in ;; 13090 * ) ac_file_in=$ac_file.in ;;
13083 esac 13091 esac
13084 13092
13085 test x"$ac_file" != x- && { echo "$as_me:13085: creating $ac_file" >&5 13093 test x"$ac_file" != x- && { echo "$as_me:13093: creating $ac_file" >&5
13086 echo "$as_me: creating $ac_file" >&6;} 13094 echo "$as_me: creating $ac_file" >&6;}
13087 13095
13088 # First look for the input files in the build tree, otherwise in the 13096 # First look for the input files in the build tree, otherwise in the
13089 # src tree. 13097 # src tree.
13090 ac_file_inputs=`IFS=: 13098 ac_file_inputs=`IFS=:
13091 for f in $ac_file_in; do 13099 for f in $ac_file_in; do
13092 case $f in 13100 case $f in
13093 -) echo $tmp/stdin ;; 13101 -) echo $tmp/stdin ;;
13094 [\\/$]*) 13102 [\\/$]*)
13095 # Absolute (can't be DOS-style, as IFS=:) 13103 # Absolute (can't be DOS-style, as IFS=:)
13096 test -f "$f" || { { echo "$as_me:13096: error: cannot find input file: $f" >&5 13104 test -f "$f" || { { echo "$as_me:13104: error: cannot find input file: $f" >&5
13097 echo "$as_me: error: cannot find input file: $f" >&2;} 13105 echo "$as_me: error: cannot find input file: $f" >&2;}
13098 { (exit 1); exit 1; }; } 13106 { (exit 1); exit 1; }; }
13099 echo $f;; 13107 echo $f;;
13100 *) # Relative 13108 *) # Relative
13101 if test -f "$f"; then 13109 if test -f "$f"; then
13104 elif test -f "$srcdir/$f"; then 13112 elif test -f "$srcdir/$f"; then
13105 # Source tree 13113 # Source tree
13106 echo $srcdir/$f 13114 echo $srcdir/$f
13107 else 13115 else
13108 # /dev/null tree 13116 # /dev/null tree
13109 { { echo "$as_me:13109: error: cannot find input file: $f" >&5 13117 { { echo "$as_me:13117: error: cannot find input file: $f" >&5
13110 echo "$as_me: error: cannot find input file: $f" >&2;} 13118 echo "$as_me: error: cannot find input file: $f" >&2;}
13111 { (exit 1); exit 1; }; } 13119 { (exit 1); exit 1; }; }
13112 fi;; 13120 fi;;
13113 esac 13121 esac
13114 done` || { (exit 1); exit 1; } 13122 done` || { (exit 1); exit 1; }
13221 fi 13229 fi
13222 cat $tmp/in >>$tmp/config.h 13230 cat $tmp/in >>$tmp/config.h
13223 rm -f $tmp/in 13231 rm -f $tmp/in
13224 if test x"$ac_file" != x-; then 13232 if test x"$ac_file" != x-; then
13225 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then 13233 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
13226 { echo "$as_me:13226: $ac_file is unchanged" >&5 13234 { echo "$as_me:13234: $ac_file is unchanged" >&5
13227 echo "$as_me: $ac_file is unchanged" >&6;} 13235 echo "$as_me: $ac_file is unchanged" >&6;}
13228 else 13236 else
13229 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13237 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13230 X"$ac_file" : 'X\(//\)[^/]' \| \ 13238 X"$ac_file" : 'X\(//\)[^/]' \| \
13231 X"$ac_file" : 'X\(//\)$' \| \ 13239 X"$ac_file" : 'X\(//\)$' \| \