comparison configure @ 41897:665e7cb4204b

Regenerated.
author Pavel Janík <Pavel@Janik.cz>
date Sat, 08 Dec 2001 21:08:03 +0000
parents 30f353761d6c
children 835df8cf4ef5
comparison
equal deleted inserted replaced
41896:eb2a8a88ee98 41897:665e7cb4204b
1244 build=$ac_cv_build 1244 build=$ac_cv_build
1245 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1245 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1246 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1246 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1247 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1247 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1248 1248
1249 echo "$as_me:1249: checking host system type" >&5 1249 test -z "$build_alias" &&
1250 build_alias=$ac_cv_build
1251
1252 echo "$as_me:1252: checking host system type" >&5
1250 echo $ECHO_N "checking host system type... $ECHO_C" >&6 1253 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1251 if test "${ac_cv_host+set}" = set; then 1254 if test "${ac_cv_host+set}" = set; then
1252 echo $ECHO_N "(cached) $ECHO_C" >&6 1255 echo $ECHO_N "(cached) $ECHO_C" >&6
1253 else 1256 else
1254 ac_cv_host_alias=$host_alias 1257 ac_cv_host_alias=$host_alias
1255 test -z "$ac_cv_host_alias" && 1258 test -z "$ac_cv_host_alias" &&
1256 ac_cv_host_alias=$ac_cv_build_alias 1259 ac_cv_host_alias=$ac_cv_build_alias
1257 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 1260 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1258 { { echo "$as_me:1258: error: $ac_config_sub $ac_cv_host_alias failed" >&5 1261 { { echo "$as_me:1261: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1259 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 1262 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1260 { (exit 1); exit 1; }; } 1263 { (exit 1); exit 1; }; }
1261 1264
1262 fi 1265 fi
1263 echo "$as_me:1263: result: $ac_cv_host" >&5 1266 echo "$as_me:1266: result: $ac_cv_host" >&5
1264 echo "${ECHO_T}$ac_cv_host" >&6 1267 echo "${ECHO_T}$ac_cv_host" >&6
1265 host=$ac_cv_host 1268 host=$ac_cv_host
1266 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1269 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1267 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1270 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1268 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1271 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1272
1273 test -z "$host_alias" &&
1274 host_alias=$ac_cv_host
1269 1275
1270 canonical=$host 1276 canonical=$host
1271 configuration=${host_alias-$host} 1277 configuration=${host_alias-$host}
1272 1278
1273 ### If you add support for a new configuration, add code to this 1279 ### If you add support for a new configuration, add code to this
2216 ;; 2222 ;;
2217 esac 2223 esac
2218 fi 2224 fi
2219 2225
2220 if test $unported = yes; then 2226 if test $unported = yes; then
2221 { { echo "$as_me:2221: error: Emacs hasn't been ported to \`${canonical}' systems. 2227 { { echo "$as_me:2227: error: Emacs hasn't been ported to \`${canonical}' systems.
2222 Check \`etc/MACHINES' for recognized configuration names." >&5 2228 Check \`etc/MACHINES' for recognized configuration names." >&5
2223 echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems. 2229 echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems.
2224 Check \`etc/MACHINES' for recognized configuration names." >&2;} 2230 Check \`etc/MACHINES' for recognized configuration names." >&2;}
2225 { (exit 1); exit 1; }; } 2231 { (exit 1); exit 1; }; }
2226 fi 2232 fi
2245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2246 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2247 if test -n "$ac_tool_prefix"; then 2253 if test -n "$ac_tool_prefix"; then
2248 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2254 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2249 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2255 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2250 echo "$as_me:2250: checking for $ac_word" >&5 2256 echo "$as_me:2256: checking for $ac_word" >&5
2251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2252 if test "${ac_cv_prog_CC+set}" = set; then 2258 if test "${ac_cv_prog_CC+set}" = set; then
2253 echo $ECHO_N "(cached) $ECHO_C" >&6 2259 echo $ECHO_N "(cached) $ECHO_C" >&6
2254 else 2260 else
2255 if test -n "$CC"; then 2261 if test -n "$CC"; then
2260 for ac_dir in $ac_dummy; do 2266 for ac_dir in $ac_dummy; do
2261 IFS=$ac_save_IFS 2267 IFS=$ac_save_IFS
2262 test -z "$ac_dir" && ac_dir=. 2268 test -z "$ac_dir" && ac_dir=.
2263 $as_executable_p "$ac_dir/$ac_word" || continue 2269 $as_executable_p "$ac_dir/$ac_word" || continue
2264 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2270 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2265 echo "$as_me:2265: found $ac_dir/$ac_word" >&5 2271 echo "$as_me:2271: found $ac_dir/$ac_word" >&5
2266 break 2272 break
2267 done 2273 done
2268 2274
2269 fi 2275 fi
2270 fi 2276 fi
2271 CC=$ac_cv_prog_CC 2277 CC=$ac_cv_prog_CC
2272 if test -n "$CC"; then 2278 if test -n "$CC"; then
2273 echo "$as_me:2273: result: $CC" >&5 2279 echo "$as_me:2279: result: $CC" >&5
2274 echo "${ECHO_T}$CC" >&6 2280 echo "${ECHO_T}$CC" >&6
2275 else 2281 else
2276 echo "$as_me:2276: result: no" >&5 2282 echo "$as_me:2282: result: no" >&5
2277 echo "${ECHO_T}no" >&6 2283 echo "${ECHO_T}no" >&6
2278 fi 2284 fi
2279 2285
2280 fi 2286 fi
2281 if test -z "$ac_cv_prog_CC"; then 2287 if test -z "$ac_cv_prog_CC"; then
2282 ac_ct_CC=$CC 2288 ac_ct_CC=$CC
2283 # Extract the first word of "gcc", so it can be a program name with args. 2289 # Extract the first word of "gcc", so it can be a program name with args.
2284 set dummy gcc; ac_word=$2 2290 set dummy gcc; ac_word=$2
2285 echo "$as_me:2285: checking for $ac_word" >&5 2291 echo "$as_me:2291: checking for $ac_word" >&5
2286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2287 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2293 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2288 echo $ECHO_N "(cached) $ECHO_C" >&6 2294 echo $ECHO_N "(cached) $ECHO_C" >&6
2289 else 2295 else
2290 if test -n "$ac_ct_CC"; then 2296 if test -n "$ac_ct_CC"; then
2295 for ac_dir in $ac_dummy; do 2301 for ac_dir in $ac_dummy; do
2296 IFS=$ac_save_IFS 2302 IFS=$ac_save_IFS
2297 test -z "$ac_dir" && ac_dir=. 2303 test -z "$ac_dir" && ac_dir=.
2298 $as_executable_p "$ac_dir/$ac_word" || continue 2304 $as_executable_p "$ac_dir/$ac_word" || continue
2299 ac_cv_prog_ac_ct_CC="gcc" 2305 ac_cv_prog_ac_ct_CC="gcc"
2300 echo "$as_me:2300: found $ac_dir/$ac_word" >&5 2306 echo "$as_me:2306: found $ac_dir/$ac_word" >&5
2301 break 2307 break
2302 done 2308 done
2303 2309
2304 fi 2310 fi
2305 fi 2311 fi
2306 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2312 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2307 if test -n "$ac_ct_CC"; then 2313 if test -n "$ac_ct_CC"; then
2308 echo "$as_me:2308: result: $ac_ct_CC" >&5 2314 echo "$as_me:2314: result: $ac_ct_CC" >&5
2309 echo "${ECHO_T}$ac_ct_CC" >&6 2315 echo "${ECHO_T}$ac_ct_CC" >&6
2310 else 2316 else
2311 echo "$as_me:2311: result: no" >&5 2317 echo "$as_me:2317: result: no" >&5
2312 echo "${ECHO_T}no" >&6 2318 echo "${ECHO_T}no" >&6
2313 fi 2319 fi
2314 2320
2315 CC=$ac_ct_CC 2321 CC=$ac_ct_CC
2316 else 2322 else
2319 2325
2320 if test -z "$CC"; then 2326 if test -z "$CC"; then
2321 if test -n "$ac_tool_prefix"; then 2327 if test -n "$ac_tool_prefix"; then
2322 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2328 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2323 set dummy ${ac_tool_prefix}cc; ac_word=$2 2329 set dummy ${ac_tool_prefix}cc; ac_word=$2
2324 echo "$as_me:2324: checking for $ac_word" >&5 2330 echo "$as_me:2330: checking for $ac_word" >&5
2325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2331 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2326 if test "${ac_cv_prog_CC+set}" = set; then 2332 if test "${ac_cv_prog_CC+set}" = set; then
2327 echo $ECHO_N "(cached) $ECHO_C" >&6 2333 echo $ECHO_N "(cached) $ECHO_C" >&6
2328 else 2334 else
2329 if test -n "$CC"; then 2335 if test -n "$CC"; then
2334 for ac_dir in $ac_dummy; do 2340 for ac_dir in $ac_dummy; do
2335 IFS=$ac_save_IFS 2341 IFS=$ac_save_IFS
2336 test -z "$ac_dir" && ac_dir=. 2342 test -z "$ac_dir" && ac_dir=.
2337 $as_executable_p "$ac_dir/$ac_word" || continue 2343 $as_executable_p "$ac_dir/$ac_word" || continue
2338 ac_cv_prog_CC="${ac_tool_prefix}cc" 2344 ac_cv_prog_CC="${ac_tool_prefix}cc"
2339 echo "$as_me:2339: found $ac_dir/$ac_word" >&5 2345 echo "$as_me:2345: found $ac_dir/$ac_word" >&5
2340 break 2346 break
2341 done 2347 done
2342 2348
2343 fi 2349 fi
2344 fi 2350 fi
2345 CC=$ac_cv_prog_CC 2351 CC=$ac_cv_prog_CC
2346 if test -n "$CC"; then 2352 if test -n "$CC"; then
2347 echo "$as_me:2347: result: $CC" >&5 2353 echo "$as_me:2353: result: $CC" >&5
2348 echo "${ECHO_T}$CC" >&6 2354 echo "${ECHO_T}$CC" >&6
2349 else 2355 else
2350 echo "$as_me:2350: result: no" >&5 2356 echo "$as_me:2356: result: no" >&5
2351 echo "${ECHO_T}no" >&6 2357 echo "${ECHO_T}no" >&6
2352 fi 2358 fi
2353 2359
2354 fi 2360 fi
2355 if test -z "$ac_cv_prog_CC"; then 2361 if test -z "$ac_cv_prog_CC"; then
2356 ac_ct_CC=$CC 2362 ac_ct_CC=$CC
2357 # Extract the first word of "cc", so it can be a program name with args. 2363 # Extract the first word of "cc", so it can be a program name with args.
2358 set dummy cc; ac_word=$2 2364 set dummy cc; ac_word=$2
2359 echo "$as_me:2359: checking for $ac_word" >&5 2365 echo "$as_me:2365: checking for $ac_word" >&5
2360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2361 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2367 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2362 echo $ECHO_N "(cached) $ECHO_C" >&6 2368 echo $ECHO_N "(cached) $ECHO_C" >&6
2363 else 2369 else
2364 if test -n "$ac_ct_CC"; then 2370 if test -n "$ac_ct_CC"; then
2369 for ac_dir in $ac_dummy; do 2375 for ac_dir in $ac_dummy; do
2370 IFS=$ac_save_IFS 2376 IFS=$ac_save_IFS
2371 test -z "$ac_dir" && ac_dir=. 2377 test -z "$ac_dir" && ac_dir=.
2372 $as_executable_p "$ac_dir/$ac_word" || continue 2378 $as_executable_p "$ac_dir/$ac_word" || continue
2373 ac_cv_prog_ac_ct_CC="cc" 2379 ac_cv_prog_ac_ct_CC="cc"
2374 echo "$as_me:2374: found $ac_dir/$ac_word" >&5 2380 echo "$as_me:2380: found $ac_dir/$ac_word" >&5
2375 break 2381 break
2376 done 2382 done
2377 2383
2378 fi 2384 fi
2379 fi 2385 fi
2380 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2386 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2381 if test -n "$ac_ct_CC"; then 2387 if test -n "$ac_ct_CC"; then
2382 echo "$as_me:2382: result: $ac_ct_CC" >&5 2388 echo "$as_me:2388: result: $ac_ct_CC" >&5
2383 echo "${ECHO_T}$ac_ct_CC" >&6 2389 echo "${ECHO_T}$ac_ct_CC" >&6
2384 else 2390 else
2385 echo "$as_me:2385: result: no" >&5 2391 echo "$as_me:2391: result: no" >&5
2386 echo "${ECHO_T}no" >&6 2392 echo "${ECHO_T}no" >&6
2387 fi 2393 fi
2388 2394
2389 CC=$ac_ct_CC 2395 CC=$ac_ct_CC
2390 else 2396 else
2393 2399
2394 fi 2400 fi
2395 if test -z "$CC"; then 2401 if test -z "$CC"; then
2396 # Extract the first word of "cc", so it can be a program name with args. 2402 # Extract the first word of "cc", so it can be a program name with args.
2397 set dummy cc; ac_word=$2 2403 set dummy cc; ac_word=$2
2398 echo "$as_me:2398: checking for $ac_word" >&5 2404 echo "$as_me:2404: checking for $ac_word" >&5
2399 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2405 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2400 if test "${ac_cv_prog_CC+set}" = set; then 2406 if test "${ac_cv_prog_CC+set}" = set; then
2401 echo $ECHO_N "(cached) $ECHO_C" >&6 2407 echo $ECHO_N "(cached) $ECHO_C" >&6
2402 else 2408 else
2403 if test -n "$CC"; then 2409 if test -n "$CC"; then
2413 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then 2419 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
2414 ac_prog_rejected=yes 2420 ac_prog_rejected=yes
2415 continue 2421 continue
2416 fi 2422 fi
2417 ac_cv_prog_CC="cc" 2423 ac_cv_prog_CC="cc"
2418 echo "$as_me:2418: found $ac_dir/$ac_word" >&5 2424 echo "$as_me:2424: found $ac_dir/$ac_word" >&5
2419 break 2425 break
2420 done 2426 done
2421 2427
2422 if test $ac_prog_rejected = yes; then 2428 if test $ac_prog_rejected = yes; then
2423 # We found a bogon in the path, so make sure we never use it. 2429 # We found a bogon in the path, so make sure we never use it.
2435 fi 2441 fi
2436 fi 2442 fi
2437 fi 2443 fi
2438 CC=$ac_cv_prog_CC 2444 CC=$ac_cv_prog_CC
2439 if test -n "$CC"; then 2445 if test -n "$CC"; then
2440 echo "$as_me:2440: result: $CC" >&5 2446 echo "$as_me:2446: result: $CC" >&5
2441 echo "${ECHO_T}$CC" >&6 2447 echo "${ECHO_T}$CC" >&6
2442 else 2448 else
2443 echo "$as_me:2443: result: no" >&5 2449 echo "$as_me:2449: result: no" >&5
2444 echo "${ECHO_T}no" >&6 2450 echo "${ECHO_T}no" >&6
2445 fi 2451 fi
2446 2452
2447 fi 2453 fi
2448 if test -z "$CC"; then 2454 if test -z "$CC"; then
2449 if test -n "$ac_tool_prefix"; then 2455 if test -n "$ac_tool_prefix"; then
2450 for ac_prog in cl 2456 for ac_prog in cl
2451 do 2457 do
2452 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2458 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2453 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2459 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2454 echo "$as_me:2454: checking for $ac_word" >&5 2460 echo "$as_me:2460: checking for $ac_word" >&5
2455 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2461 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2456 if test "${ac_cv_prog_CC+set}" = set; then 2462 if test "${ac_cv_prog_CC+set}" = set; then
2457 echo $ECHO_N "(cached) $ECHO_C" >&6 2463 echo $ECHO_N "(cached) $ECHO_C" >&6
2458 else 2464 else
2459 if test -n "$CC"; then 2465 if test -n "$CC"; then
2464 for ac_dir in $ac_dummy; do 2470 for ac_dir in $ac_dummy; do
2465 IFS=$ac_save_IFS 2471 IFS=$ac_save_IFS
2466 test -z "$ac_dir" && ac_dir=. 2472 test -z "$ac_dir" && ac_dir=.
2467 $as_executable_p "$ac_dir/$ac_word" || continue 2473 $as_executable_p "$ac_dir/$ac_word" || continue
2468 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2474 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2469 echo "$as_me:2469: found $ac_dir/$ac_word" >&5 2475 echo "$as_me:2475: found $ac_dir/$ac_word" >&5
2470 break 2476 break
2471 done 2477 done
2472 2478
2473 fi 2479 fi
2474 fi 2480 fi
2475 CC=$ac_cv_prog_CC 2481 CC=$ac_cv_prog_CC
2476 if test -n "$CC"; then 2482 if test -n "$CC"; then
2477 echo "$as_me:2477: result: $CC" >&5 2483 echo "$as_me:2483: result: $CC" >&5
2478 echo "${ECHO_T}$CC" >&6 2484 echo "${ECHO_T}$CC" >&6
2479 else 2485 else
2480 echo "$as_me:2480: result: no" >&5 2486 echo "$as_me:2486: result: no" >&5
2481 echo "${ECHO_T}no" >&6 2487 echo "${ECHO_T}no" >&6
2482 fi 2488 fi
2483 2489
2484 test -n "$CC" && break 2490 test -n "$CC" && break
2485 done 2491 done
2488 ac_ct_CC=$CC 2494 ac_ct_CC=$CC
2489 for ac_prog in cl 2495 for ac_prog in cl
2490 do 2496 do
2491 # Extract the first word of "$ac_prog", so it can be a program name with args. 2497 # Extract the first word of "$ac_prog", so it can be a program name with args.
2492 set dummy $ac_prog; ac_word=$2 2498 set dummy $ac_prog; ac_word=$2
2493 echo "$as_me:2493: checking for $ac_word" >&5 2499 echo "$as_me:2499: checking for $ac_word" >&5
2494 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2495 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2501 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2496 echo $ECHO_N "(cached) $ECHO_C" >&6 2502 echo $ECHO_N "(cached) $ECHO_C" >&6
2497 else 2503 else
2498 if test -n "$ac_ct_CC"; then 2504 if test -n "$ac_ct_CC"; then
2503 for ac_dir in $ac_dummy; do 2509 for ac_dir in $ac_dummy; do
2504 IFS=$ac_save_IFS 2510 IFS=$ac_save_IFS
2505 test -z "$ac_dir" && ac_dir=. 2511 test -z "$ac_dir" && ac_dir=.
2506 $as_executable_p "$ac_dir/$ac_word" || continue 2512 $as_executable_p "$ac_dir/$ac_word" || continue
2507 ac_cv_prog_ac_ct_CC="$ac_prog" 2513 ac_cv_prog_ac_ct_CC="$ac_prog"
2508 echo "$as_me:2508: found $ac_dir/$ac_word" >&5 2514 echo "$as_me:2514: found $ac_dir/$ac_word" >&5
2509 break 2515 break
2510 done 2516 done
2511 2517
2512 fi 2518 fi
2513 fi 2519 fi
2514 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2520 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2515 if test -n "$ac_ct_CC"; then 2521 if test -n "$ac_ct_CC"; then
2516 echo "$as_me:2516: result: $ac_ct_CC" >&5 2522 echo "$as_me:2522: result: $ac_ct_CC" >&5
2517 echo "${ECHO_T}$ac_ct_CC" >&6 2523 echo "${ECHO_T}$ac_ct_CC" >&6
2518 else 2524 else
2519 echo "$as_me:2519: result: no" >&5 2525 echo "$as_me:2525: result: no" >&5
2520 echo "${ECHO_T}no" >&6 2526 echo "${ECHO_T}no" >&6
2521 fi 2527 fi
2522 2528
2523 test -n "$ac_ct_CC" && break 2529 test -n "$ac_ct_CC" && break
2524 done 2530 done
2526 CC=$ac_ct_CC 2532 CC=$ac_ct_CC
2527 fi 2533 fi
2528 2534
2529 fi 2535 fi
2530 2536
2531 test -z "$CC" && { { echo "$as_me:2531: error: no acceptable cc found in \$PATH" >&5 2537 test -z "$CC" && { { echo "$as_me:2537: error: no acceptable cc found in \$PATH" >&5
2532 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} 2538 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2533 { (exit 1); exit 1; }; } 2539 { (exit 1); exit 1; }; }
2534 2540
2535 # Provide some information about the compiler. 2541 # Provide some information about the compiler.
2536 echo "$as_me:2536:" \ 2542 echo "$as_me:2542:" \
2537 "checking for C compiler version" >&5 2543 "checking for C compiler version" >&5
2538 ac_compiler=`set X $ac_compile; echo $2` 2544 ac_compiler=`set X $ac_compile; echo $2`
2539 { (eval echo "$as_me:2539: \"$ac_compiler --version </dev/null >&5\"") >&5 2545 { (eval echo "$as_me:2545: \"$ac_compiler --version </dev/null >&5\"") >&5
2540 (eval $ac_compiler --version </dev/null >&5) 2>&5 2546 (eval $ac_compiler --version </dev/null >&5) 2>&5
2541 ac_status=$? 2547 ac_status=$?
2542 echo "$as_me:2542: \$? = $ac_status" >&5 2548 echo "$as_me:2548: \$? = $ac_status" >&5
2543 (exit $ac_status); } 2549 (exit $ac_status); }
2544 { (eval echo "$as_me:2544: \"$ac_compiler -v </dev/null >&5\"") >&5 2550 { (eval echo "$as_me:2550: \"$ac_compiler -v </dev/null >&5\"") >&5
2545 (eval $ac_compiler -v </dev/null >&5) 2>&5 2551 (eval $ac_compiler -v </dev/null >&5) 2>&5
2546 ac_status=$? 2552 ac_status=$?
2547 echo "$as_me:2547: \$? = $ac_status" >&5 2553 echo "$as_me:2553: \$? = $ac_status" >&5
2548 (exit $ac_status); } 2554 (exit $ac_status); }
2549 { (eval echo "$as_me:2549: \"$ac_compiler -V </dev/null >&5\"") >&5 2555 { (eval echo "$as_me:2555: \"$ac_compiler -V </dev/null >&5\"") >&5
2550 (eval $ac_compiler -V </dev/null >&5) 2>&5 2556 (eval $ac_compiler -V </dev/null >&5) 2>&5
2551 ac_status=$? 2557 ac_status=$?
2552 echo "$as_me:2552: \$? = $ac_status" >&5 2558 echo "$as_me:2558: \$? = $ac_status" >&5
2553 (exit $ac_status); } 2559 (exit $ac_status); }
2554 2560
2555 cat >conftest.$ac_ext <<_ACEOF 2561 cat >conftest.$ac_ext <<_ACEOF
2556 #line 2556 "configure" 2562 #line 2562 "configure"
2557 #include "confdefs.h" 2563 #include "confdefs.h"
2558 2564
2559 int 2565 int
2560 main () 2566 main ()
2561 { 2567 {
2567 ac_clean_files_save=$ac_clean_files 2573 ac_clean_files_save=$ac_clean_files
2568 ac_clean_files="$ac_clean_files a.out a.exe" 2574 ac_clean_files="$ac_clean_files a.out a.exe"
2569 # Try to create an executable without -o first, disregard a.out. 2575 # Try to create an executable without -o first, disregard a.out.
2570 # It will help us diagnose broken compilers, and finding out an intuition 2576 # It will help us diagnose broken compilers, and finding out an intuition
2571 # of exeext. 2577 # of exeext.
2572 echo "$as_me:2572: checking for C compiler default output" >&5 2578 echo "$as_me:2578: checking for C compiler default output" >&5
2573 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 2579 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2574 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2580 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2575 if { (eval echo "$as_me:2575: \"$ac_link_default\"") >&5 2581 if { (eval echo "$as_me:2581: \"$ac_link_default\"") >&5
2576 (eval $ac_link_default) 2>&5 2582 (eval $ac_link_default) 2>&5
2577 ac_status=$? 2583 ac_status=$?
2578 echo "$as_me:2578: \$? = $ac_status" >&5 2584 echo "$as_me:2584: \$? = $ac_status" >&5
2579 (exit $ac_status); }; then 2585 (exit $ac_status); }; then
2580 # Find the output, starting from the most likely. This scheme is 2586 # Find the output, starting from the most likely. This scheme is
2581 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 2587 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2582 # resort. 2588 # resort.
2583 for ac_file in `ls a.exe conftest.exe 2>/dev/null; 2589 for ac_file in `ls a.exe conftest.exe 2>/dev/null;
2596 esac 2602 esac
2597 done 2603 done
2598 else 2604 else
2599 echo "$as_me: failed program was:" >&5 2605 echo "$as_me: failed program was:" >&5
2600 cat conftest.$ac_ext >&5 2606 cat conftest.$ac_ext >&5
2601 { { echo "$as_me:2601: error: C compiler cannot create executables" >&5 2607 { { echo "$as_me:2607: error: C compiler cannot create executables" >&5
2602 echo "$as_me: error: C compiler cannot create executables" >&2;} 2608 echo "$as_me: error: C compiler cannot create executables" >&2;}
2603 { (exit 77); exit 77; }; } 2609 { (exit 77); exit 77; }; }
2604 fi 2610 fi
2605 2611
2606 ac_exeext=$ac_cv_exeext 2612 ac_exeext=$ac_cv_exeext
2607 echo "$as_me:2607: result: $ac_file" >&5 2613 echo "$as_me:2613: result: $ac_file" >&5
2608 echo "${ECHO_T}$ac_file" >&6 2614 echo "${ECHO_T}$ac_file" >&6
2609 2615
2610 # Check the compiler produces executables we can run. If not, either 2616 # Check the compiler produces executables we can run. If not, either
2611 # the compiler is broken, or we cross compile. 2617 # the compiler is broken, or we cross compile.
2612 echo "$as_me:2612: checking whether the C compiler works" >&5 2618 echo "$as_me:2618: checking whether the C compiler works" >&5
2613 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2619 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2614 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2620 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2615 # If not cross compiling, check that we can run a simple program. 2621 # If not cross compiling, check that we can run a simple program.
2616 if test "$cross_compiling" != yes; then 2622 if test "$cross_compiling" != yes; then
2617 if { ac_try='./$ac_file' 2623 if { ac_try='./$ac_file'
2618 { (eval echo "$as_me:2618: \"$ac_try\"") >&5 2624 { (eval echo "$as_me:2624: \"$ac_try\"") >&5
2619 (eval $ac_try) 2>&5 2625 (eval $ac_try) 2>&5
2620 ac_status=$? 2626 ac_status=$?
2621 echo "$as_me:2621: \$? = $ac_status" >&5 2627 echo "$as_me:2627: \$? = $ac_status" >&5
2622 (exit $ac_status); }; }; then 2628 (exit $ac_status); }; }; then
2623 cross_compiling=no 2629 cross_compiling=no
2624 else 2630 else
2625 if test "$cross_compiling" = maybe; then 2631 if test "$cross_compiling" = maybe; then
2626 cross_compiling=yes 2632 cross_compiling=yes
2627 else 2633 else
2628 { { echo "$as_me:2628: error: cannot run C compiled programs. 2634 { { echo "$as_me:2634: error: cannot run C compiled programs.
2629 If you meant to cross compile, use \`--host'." >&5 2635 If you meant to cross compile, use \`--host'." >&5
2630 echo "$as_me: error: cannot run C compiled programs. 2636 echo "$as_me: error: cannot run C compiled programs.
2631 If you meant to cross compile, use \`--host'." >&2;} 2637 If you meant to cross compile, use \`--host'." >&2;}
2632 { (exit 1); exit 1; }; } 2638 { (exit 1); exit 1; }; }
2633 fi 2639 fi
2634 fi 2640 fi
2635 fi 2641 fi
2636 echo "$as_me:2636: result: yes" >&5 2642 echo "$as_me:2642: result: yes" >&5
2637 echo "${ECHO_T}yes" >&6 2643 echo "${ECHO_T}yes" >&6
2638 2644
2639 rm -f a.out a.exe conftest$ac_cv_exeext 2645 rm -f a.out a.exe conftest$ac_cv_exeext
2640 ac_clean_files=$ac_clean_files_save 2646 ac_clean_files=$ac_clean_files_save
2641 # Check the compiler produces executables we can run. If not, either 2647 # Check the compiler produces executables we can run. If not, either
2642 # the compiler is broken, or we cross compile. 2648 # the compiler is broken, or we cross compile.
2643 echo "$as_me:2643: checking whether we are cross compiling" >&5 2649 echo "$as_me:2649: checking whether we are cross compiling" >&5
2644 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 2650 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2645 echo "$as_me:2645: result: $cross_compiling" >&5 2651 echo "$as_me:2651: result: $cross_compiling" >&5
2646 echo "${ECHO_T}$cross_compiling" >&6 2652 echo "${ECHO_T}$cross_compiling" >&6
2647 2653
2648 echo "$as_me:2648: checking for executable suffix" >&5 2654 echo "$as_me:2654: checking for executable suffix" >&5
2649 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6 2655 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
2650 if { (eval echo "$as_me:2650: \"$ac_link\"") >&5 2656 if { (eval echo "$as_me:2656: \"$ac_link\"") >&5
2651 (eval $ac_link) 2>&5 2657 (eval $ac_link) 2>&5
2652 ac_status=$? 2658 ac_status=$?
2653 echo "$as_me:2653: \$? = $ac_status" >&5 2659 echo "$as_me:2659: \$? = $ac_status" >&5
2654 (exit $ac_status); }; then 2660 (exit $ac_status); }; then
2655 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2661 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2656 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2662 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2657 # work properly (i.e., refer to `conftest.exe'), while it won't with 2663 # work properly (i.e., refer to `conftest.exe'), while it won't with
2658 # `rm'. 2664 # `rm'.
2664 break;; 2670 break;;
2665 * ) break;; 2671 * ) break;;
2666 esac 2672 esac
2667 done 2673 done
2668 else 2674 else
2669 { { echo "$as_me:2669: error: cannot compute EXEEXT: cannot compile and link" >&5 2675 { { echo "$as_me:2675: error: cannot compute EXEEXT: cannot compile and link" >&5
2670 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} 2676 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
2671 { (exit 1); exit 1; }; } 2677 { (exit 1); exit 1; }; }
2672 fi 2678 fi
2673 2679
2674 rm -f conftest$ac_cv_exeext 2680 rm -f conftest$ac_cv_exeext
2675 echo "$as_me:2675: result: $ac_cv_exeext" >&5 2681 echo "$as_me:2681: result: $ac_cv_exeext" >&5
2676 echo "${ECHO_T}$ac_cv_exeext" >&6 2682 echo "${ECHO_T}$ac_cv_exeext" >&6
2677 2683
2678 rm -f conftest.$ac_ext 2684 rm -f conftest.$ac_ext
2679 EXEEXT=$ac_cv_exeext 2685 EXEEXT=$ac_cv_exeext
2680 ac_exeext=$EXEEXT 2686 ac_exeext=$EXEEXT
2681 echo "$as_me:2681: checking for object suffix" >&5 2687 echo "$as_me:2687: checking for object suffix" >&5
2682 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6 2688 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
2683 if test "${ac_cv_objext+set}" = set; then 2689 if test "${ac_cv_objext+set}" = set; then
2684 echo $ECHO_N "(cached) $ECHO_C" >&6 2690 echo $ECHO_N "(cached) $ECHO_C" >&6
2685 else 2691 else
2686 cat >conftest.$ac_ext <<_ACEOF 2692 cat >conftest.$ac_ext <<_ACEOF
2687 #line 2687 "configure" 2693 #line 2693 "configure"
2688 #include "confdefs.h" 2694 #include "confdefs.h"
2689 2695
2690 int 2696 int
2691 main () 2697 main ()
2692 { 2698 {
2694 ; 2700 ;
2695 return 0; 2701 return 0;
2696 } 2702 }
2697 _ACEOF 2703 _ACEOF
2698 rm -f conftest.o conftest.obj 2704 rm -f conftest.o conftest.obj
2699 if { (eval echo "$as_me:2699: \"$ac_compile\"") >&5 2705 if { (eval echo "$as_me:2705: \"$ac_compile\"") >&5
2700 (eval $ac_compile) 2>&5 2706 (eval $ac_compile) 2>&5
2701 ac_status=$? 2707 ac_status=$?
2702 echo "$as_me:2702: \$? = $ac_status" >&5 2708 echo "$as_me:2708: \$? = $ac_status" >&5
2703 (exit $ac_status); }; then 2709 (exit $ac_status); }; then
2704 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2710 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2705 case $ac_file in 2711 case $ac_file in
2706 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; 2712 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
2707 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2713 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2709 esac 2715 esac
2710 done 2716 done
2711 else 2717 else
2712 echo "$as_me: failed program was:" >&5 2718 echo "$as_me: failed program was:" >&5
2713 cat conftest.$ac_ext >&5 2719 cat conftest.$ac_ext >&5
2714 { { echo "$as_me:2714: error: cannot compute OBJEXT: cannot compile" >&5 2720 { { echo "$as_me:2720: error: cannot compute OBJEXT: cannot compile" >&5
2715 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} 2721 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
2716 { (exit 1); exit 1; }; } 2722 { (exit 1); exit 1; }; }
2717 fi 2723 fi
2718 2724
2719 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2725 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2720 fi 2726 fi
2721 echo "$as_me:2721: result: $ac_cv_objext" >&5 2727 echo "$as_me:2727: result: $ac_cv_objext" >&5
2722 echo "${ECHO_T}$ac_cv_objext" >&6 2728 echo "${ECHO_T}$ac_cv_objext" >&6
2723 OBJEXT=$ac_cv_objext 2729 OBJEXT=$ac_cv_objext
2724 ac_objext=$OBJEXT 2730 ac_objext=$OBJEXT
2725 echo "$as_me:2725: checking whether we are using the GNU C compiler" >&5 2731 echo "$as_me:2731: checking whether we are using the GNU C compiler" >&5
2726 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2732 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2727 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2733 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2728 echo $ECHO_N "(cached) $ECHO_C" >&6 2734 echo $ECHO_N "(cached) $ECHO_C" >&6
2729 else 2735 else
2730 cat >conftest.$ac_ext <<_ACEOF 2736 cat >conftest.$ac_ext <<_ACEOF
2731 #line 2731 "configure" 2737 #line 2737 "configure"
2732 #include "confdefs.h" 2738 #include "confdefs.h"
2733 2739
2734 int 2740 int
2735 main () 2741 main ()
2736 { 2742 {
2741 ; 2747 ;
2742 return 0; 2748 return 0;
2743 } 2749 }
2744 _ACEOF 2750 _ACEOF
2745 rm -f conftest.$ac_objext 2751 rm -f conftest.$ac_objext
2746 if { (eval echo "$as_me:2746: \"$ac_compile\"") >&5 2752 if { (eval echo "$as_me:2752: \"$ac_compile\"") >&5
2747 (eval $ac_compile) 2>&5 2753 (eval $ac_compile) 2>&5
2748 ac_status=$? 2754 ac_status=$?
2749 echo "$as_me:2749: \$? = $ac_status" >&5 2755 echo "$as_me:2755: \$? = $ac_status" >&5
2750 (exit $ac_status); } && 2756 (exit $ac_status); } &&
2751 { ac_try='test -s conftest.$ac_objext' 2757 { ac_try='test -s conftest.$ac_objext'
2752 { (eval echo "$as_me:2752: \"$ac_try\"") >&5 2758 { (eval echo "$as_me:2758: \"$ac_try\"") >&5
2753 (eval $ac_try) 2>&5 2759 (eval $ac_try) 2>&5
2754 ac_status=$? 2760 ac_status=$?
2755 echo "$as_me:2755: \$? = $ac_status" >&5 2761 echo "$as_me:2761: \$? = $ac_status" >&5
2756 (exit $ac_status); }; }; then 2762 (exit $ac_status); }; }; then
2757 ac_compiler_gnu=yes 2763 ac_compiler_gnu=yes
2758 else 2764 else
2759 echo "$as_me: failed program was:" >&5 2765 echo "$as_me: failed program was:" >&5
2760 cat conftest.$ac_ext >&5 2766 cat conftest.$ac_ext >&5
2762 fi 2768 fi
2763 rm -f conftest.$ac_objext conftest.$ac_ext 2769 rm -f conftest.$ac_objext conftest.$ac_ext
2764 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2770 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2765 2771
2766 fi 2772 fi
2767 echo "$as_me:2767: result: $ac_cv_c_compiler_gnu" >&5 2773 echo "$as_me:2773: result: $ac_cv_c_compiler_gnu" >&5
2768 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2774 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2769 GCC=`test $ac_compiler_gnu = yes && echo yes` 2775 GCC=`test $ac_compiler_gnu = yes && echo yes`
2770 ac_test_CFLAGS=${CFLAGS+set} 2776 ac_test_CFLAGS=${CFLAGS+set}
2771 ac_save_CFLAGS=$CFLAGS 2777 ac_save_CFLAGS=$CFLAGS
2772 CFLAGS="-g" 2778 CFLAGS="-g"
2773 echo "$as_me:2773: checking whether $CC accepts -g" >&5 2779 echo "$as_me:2779: checking whether $CC accepts -g" >&5
2774 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2780 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2775 if test "${ac_cv_prog_cc_g+set}" = set; then 2781 if test "${ac_cv_prog_cc_g+set}" = set; then
2776 echo $ECHO_N "(cached) $ECHO_C" >&6 2782 echo $ECHO_N "(cached) $ECHO_C" >&6
2777 else 2783 else
2778 cat >conftest.$ac_ext <<_ACEOF 2784 cat >conftest.$ac_ext <<_ACEOF
2779 #line 2779 "configure" 2785 #line 2785 "configure"
2780 #include "confdefs.h" 2786 #include "confdefs.h"
2781 2787
2782 int 2788 int
2783 main () 2789 main ()
2784 { 2790 {
2786 ; 2792 ;
2787 return 0; 2793 return 0;
2788 } 2794 }
2789 _ACEOF 2795 _ACEOF
2790 rm -f conftest.$ac_objext 2796 rm -f conftest.$ac_objext
2791 if { (eval echo "$as_me:2791: \"$ac_compile\"") >&5 2797 if { (eval echo "$as_me:2797: \"$ac_compile\"") >&5
2792 (eval $ac_compile) 2>&5 2798 (eval $ac_compile) 2>&5
2793 ac_status=$? 2799 ac_status=$?
2794 echo "$as_me:2794: \$? = $ac_status" >&5 2800 echo "$as_me:2800: \$? = $ac_status" >&5
2795 (exit $ac_status); } && 2801 (exit $ac_status); } &&
2796 { ac_try='test -s conftest.$ac_objext' 2802 { ac_try='test -s conftest.$ac_objext'
2797 { (eval echo "$as_me:2797: \"$ac_try\"") >&5 2803 { (eval echo "$as_me:2803: \"$ac_try\"") >&5
2798 (eval $ac_try) 2>&5 2804 (eval $ac_try) 2>&5
2799 ac_status=$? 2805 ac_status=$?
2800 echo "$as_me:2800: \$? = $ac_status" >&5 2806 echo "$as_me:2806: \$? = $ac_status" >&5
2801 (exit $ac_status); }; }; then 2807 (exit $ac_status); }; }; then
2802 ac_cv_prog_cc_g=yes 2808 ac_cv_prog_cc_g=yes
2803 else 2809 else
2804 echo "$as_me: failed program was:" >&5 2810 echo "$as_me: failed program was:" >&5
2805 cat conftest.$ac_ext >&5 2811 cat conftest.$ac_ext >&5
2806 ac_cv_prog_cc_g=no 2812 ac_cv_prog_cc_g=no
2807 fi 2813 fi
2808 rm -f conftest.$ac_objext conftest.$ac_ext 2814 rm -f conftest.$ac_objext conftest.$ac_ext
2809 fi 2815 fi
2810 echo "$as_me:2810: result: $ac_cv_prog_cc_g" >&5 2816 echo "$as_me:2816: result: $ac_cv_prog_cc_g" >&5
2811 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2817 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2812 if test "$ac_test_CFLAGS" = set; then 2818 if test "$ac_test_CFLAGS" = set; then
2813 CFLAGS=$ac_save_CFLAGS 2819 CFLAGS=$ac_save_CFLAGS
2814 elif test $ac_cv_prog_cc_g = yes; then 2820 elif test $ac_cv_prog_cc_g = yes; then
2815 if test "$GCC" = yes; then 2821 if test "$GCC" = yes; then
2832 #ifndef __cplusplus 2838 #ifndef __cplusplus
2833 choke me 2839 choke me
2834 #endif 2840 #endif
2835 _ACEOF 2841 _ACEOF
2836 rm -f conftest.$ac_objext 2842 rm -f conftest.$ac_objext
2837 if { (eval echo "$as_me:2837: \"$ac_compile\"") >&5 2843 if { (eval echo "$as_me:2843: \"$ac_compile\"") >&5
2838 (eval $ac_compile) 2>&5 2844 (eval $ac_compile) 2>&5
2839 ac_status=$? 2845 ac_status=$?
2840 echo "$as_me:2840: \$? = $ac_status" >&5 2846 echo "$as_me:2846: \$? = $ac_status" >&5
2841 (exit $ac_status); } && 2847 (exit $ac_status); } &&
2842 { ac_try='test -s conftest.$ac_objext' 2848 { ac_try='test -s conftest.$ac_objext'
2843 { (eval echo "$as_me:2843: \"$ac_try\"") >&5 2849 { (eval echo "$as_me:2849: \"$ac_try\"") >&5
2844 (eval $ac_try) 2>&5 2850 (eval $ac_try) 2>&5
2845 ac_status=$? 2851 ac_status=$?
2846 echo "$as_me:2846: \$? = $ac_status" >&5 2852 echo "$as_me:2852: \$? = $ac_status" >&5
2847 (exit $ac_status); }; }; then 2853 (exit $ac_status); }; }; then
2848 for ac_declaration in \ 2854 for ac_declaration in \
2849 ''\ 2855 ''\
2850 '#include <stdlib.h>' \ 2856 '#include <stdlib.h>' \
2851 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2857 'extern "C" void std::exit (int) throw (); using std::exit;' \
2853 'extern "C" void exit (int) throw ();' \ 2859 'extern "C" void exit (int) throw ();' \
2854 'extern "C" void exit (int);' \ 2860 'extern "C" void exit (int);' \
2855 'void exit (int);' 2861 'void exit (int);'
2856 do 2862 do
2857 cat >conftest.$ac_ext <<_ACEOF 2863 cat >conftest.$ac_ext <<_ACEOF
2858 #line 2858 "configure" 2864 #line 2864 "configure"
2859 #include "confdefs.h" 2865 #include "confdefs.h"
2860 #include <stdlib.h> 2866 #include <stdlib.h>
2861 $ac_declaration 2867 $ac_declaration
2862 int 2868 int
2863 main () 2869 main ()
2866 ; 2872 ;
2867 return 0; 2873 return 0;
2868 } 2874 }
2869 _ACEOF 2875 _ACEOF
2870 rm -f conftest.$ac_objext 2876 rm -f conftest.$ac_objext
2871 if { (eval echo "$as_me:2871: \"$ac_compile\"") >&5 2877 if { (eval echo "$as_me:2877: \"$ac_compile\"") >&5
2872 (eval $ac_compile) 2>&5 2878 (eval $ac_compile) 2>&5
2873 ac_status=$? 2879 ac_status=$?
2874 echo "$as_me:2874: \$? = $ac_status" >&5 2880 echo "$as_me:2880: \$? = $ac_status" >&5
2875 (exit $ac_status); } && 2881 (exit $ac_status); } &&
2876 { ac_try='test -s conftest.$ac_objext' 2882 { ac_try='test -s conftest.$ac_objext'
2877 { (eval echo "$as_me:2877: \"$ac_try\"") >&5 2883 { (eval echo "$as_me:2883: \"$ac_try\"") >&5
2878 (eval $ac_try) 2>&5 2884 (eval $ac_try) 2>&5
2879 ac_status=$? 2885 ac_status=$?
2880 echo "$as_me:2880: \$? = $ac_status" >&5 2886 echo "$as_me:2886: \$? = $ac_status" >&5
2881 (exit $ac_status); }; }; then 2887 (exit $ac_status); }; }; then
2882 : 2888 :
2883 else 2889 else
2884 echo "$as_me: failed program was:" >&5 2890 echo "$as_me: failed program was:" >&5
2885 cat conftest.$ac_ext >&5 2891 cat conftest.$ac_ext >&5
2886 continue 2892 continue
2887 fi 2893 fi
2888 rm -f conftest.$ac_objext conftest.$ac_ext 2894 rm -f conftest.$ac_objext conftest.$ac_ext
2889 cat >conftest.$ac_ext <<_ACEOF 2895 cat >conftest.$ac_ext <<_ACEOF
2890 #line 2890 "configure" 2896 #line 2896 "configure"
2891 #include "confdefs.h" 2897 #include "confdefs.h"
2892 $ac_declaration 2898 $ac_declaration
2893 int 2899 int
2894 main () 2900 main ()
2895 { 2901 {
2897 ; 2903 ;
2898 return 0; 2904 return 0;
2899 } 2905 }
2900 _ACEOF 2906 _ACEOF
2901 rm -f conftest.$ac_objext 2907 rm -f conftest.$ac_objext
2902 if { (eval echo "$as_me:2902: \"$ac_compile\"") >&5 2908 if { (eval echo "$as_me:2908: \"$ac_compile\"") >&5
2903 (eval $ac_compile) 2>&5 2909 (eval $ac_compile) 2>&5
2904 ac_status=$? 2910 ac_status=$?
2905 echo "$as_me:2905: \$? = $ac_status" >&5 2911 echo "$as_me:2911: \$? = $ac_status" >&5
2906 (exit $ac_status); } && 2912 (exit $ac_status); } &&
2907 { ac_try='test -s conftest.$ac_objext' 2913 { ac_try='test -s conftest.$ac_objext'
2908 { (eval echo "$as_me:2908: \"$ac_try\"") >&5 2914 { (eval echo "$as_me:2914: \"$ac_try\"") >&5
2909 (eval $ac_try) 2>&5 2915 (eval $ac_try) 2>&5
2910 ac_status=$? 2916 ac_status=$?
2911 echo "$as_me:2911: \$? = $ac_status" >&5 2917 echo "$as_me:2917: \$? = $ac_status" >&5
2912 (exit $ac_status); }; }; then 2918 (exit $ac_status); }; }; then
2913 break 2919 break
2914 else 2920 else
2915 echo "$as_me: failed program was:" >&5 2921 echo "$as_me: failed program was:" >&5
2916 cat conftest.$ac_ext >&5 2922 cat conftest.$ac_ext >&5
2979 2985
2980 #### Some other nice autoconf tests. If you add a test here which 2986 #### Some other nice autoconf tests. If you add a test here which
2981 #### should make an entry in src/config.h, don't forget to add an 2987 #### should make an entry in src/config.h, don't forget to add an
2982 #### #undef clause to src/config.h.in for autoconf to modify. 2988 #### #undef clause to src/config.h.in for autoconf to modify.
2983 2989
2984 echo "$as_me:2984: checking whether ln -s works" >&5 2990 echo "$as_me:2990: checking whether ln -s works" >&5
2985 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 2991 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2986 LN_S=$as_ln_s 2992 LN_S=$as_ln_s
2987 if test "$LN_S" = "ln -s"; then 2993 if test "$LN_S" = "ln -s"; then
2988 echo "$as_me:2988: result: yes" >&5 2994 echo "$as_me:2994: result: yes" >&5
2989 echo "${ECHO_T}yes" >&6 2995 echo "${ECHO_T}yes" >&6
2990 else 2996 else
2991 echo "$as_me:2991: result: no, using $LN_S" >&5 2997 echo "$as_me:2997: result: no, using $LN_S" >&5
2992 echo "${ECHO_T}no, using $LN_S" >&6 2998 echo "${ECHO_T}no, using $LN_S" >&6
2993 fi 2999 fi
2994 3000
2995 ac_ext=c 3001 ac_ext=c
2996 ac_cpp='$CPP $CPPFLAGS' 3002 ac_cpp='$CPP $CPPFLAGS'
2997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2999 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3000 echo "$as_me:3000: checking how to run the C preprocessor" >&5 3006 echo "$as_me:3006: checking how to run the C preprocessor" >&5
3001 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 3007 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3002 # On Suns, sometimes $CPP names a directory. 3008 # On Suns, sometimes $CPP names a directory.
3003 if test -n "$CPP" && test -d "$CPP"; then 3009 if test -n "$CPP" && test -d "$CPP"; then
3004 CPP= 3010 CPP=
3005 fi 3011 fi
3016 # Use a header file that comes with gcc, so configuring glibc 3022 # Use a header file that comes with gcc, so configuring glibc
3017 # with a fresh cross-compiler works. 3023 # with a fresh cross-compiler works.
3018 # On the NeXT, cc -E runs the code through the compiler's parser, 3024 # On the NeXT, cc -E runs the code through the compiler's parser,
3019 # not just through cpp. "Syntax error" is here to catch this case. 3025 # not just through cpp. "Syntax error" is here to catch this case.
3020 cat >conftest.$ac_ext <<_ACEOF 3026 cat >conftest.$ac_ext <<_ACEOF
3021 #line 3021 "configure" 3027 #line 3027 "configure"
3022 #include "confdefs.h" 3028 #include "confdefs.h"
3023 #include <assert.h> 3029 #include <assert.h>
3024 Syntax error 3030 Syntax error
3025 _ACEOF 3031 _ACEOF
3026 if { (eval echo "$as_me:3026: \"$ac_cpp conftest.$ac_ext\"") >&5 3032 if { (eval echo "$as_me:3032: \"$ac_cpp conftest.$ac_ext\"") >&5
3027 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3033 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3028 ac_status=$? 3034 ac_status=$?
3029 egrep -v '^ *\+' conftest.er1 >conftest.err 3035 egrep -v '^ *\+' conftest.er1 >conftest.err
3030 rm -f conftest.er1 3036 rm -f conftest.er1
3031 cat conftest.err >&5 3037 cat conftest.err >&5
3032 echo "$as_me:3032: \$? = $ac_status" >&5 3038 echo "$as_me:3038: \$? = $ac_status" >&5
3033 (exit $ac_status); } >/dev/null; then 3039 (exit $ac_status); } >/dev/null; then
3034 if test -s conftest.err; then 3040 if test -s conftest.err; then
3035 ac_cpp_err=$ac_c_preproc_warn_flag 3041 ac_cpp_err=$ac_c_preproc_warn_flag
3036 else 3042 else
3037 ac_cpp_err= 3043 ac_cpp_err=
3050 rm -f conftest.err conftest.$ac_ext 3056 rm -f conftest.err conftest.$ac_ext
3051 3057
3052 # OK, works on sane cases. Now check whether non-existent headers 3058 # OK, works on sane cases. Now check whether non-existent headers
3053 # can be detected and how. 3059 # can be detected and how.
3054 cat >conftest.$ac_ext <<_ACEOF 3060 cat >conftest.$ac_ext <<_ACEOF
3055 #line 3055 "configure" 3061 #line 3061 "configure"
3056 #include "confdefs.h" 3062 #include "confdefs.h"
3057 #include <ac_nonexistent.h> 3063 #include <ac_nonexistent.h>
3058 _ACEOF 3064 _ACEOF
3059 if { (eval echo "$as_me:3059: \"$ac_cpp conftest.$ac_ext\"") >&5 3065 if { (eval echo "$as_me:3065: \"$ac_cpp conftest.$ac_ext\"") >&5
3060 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3066 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3061 ac_status=$? 3067 ac_status=$?
3062 egrep -v '^ *\+' conftest.er1 >conftest.err 3068 egrep -v '^ *\+' conftest.er1 >conftest.err
3063 rm -f conftest.er1 3069 rm -f conftest.er1
3064 cat conftest.err >&5 3070 cat conftest.err >&5
3065 echo "$as_me:3065: \$? = $ac_status" >&5 3071 echo "$as_me:3071: \$? = $ac_status" >&5
3066 (exit $ac_status); } >/dev/null; then 3072 (exit $ac_status); } >/dev/null; then
3067 if test -s conftest.err; then 3073 if test -s conftest.err; then
3068 ac_cpp_err=$ac_c_preproc_warn_flag 3074 ac_cpp_err=$ac_c_preproc_warn_flag
3069 else 3075 else
3070 ac_cpp_err= 3076 ac_cpp_err=
3097 fi 3103 fi
3098 CPP=$ac_cv_prog_CPP 3104 CPP=$ac_cv_prog_CPP
3099 else 3105 else
3100 ac_cv_prog_CPP=$CPP 3106 ac_cv_prog_CPP=$CPP
3101 fi 3107 fi
3102 echo "$as_me:3102: result: $CPP" >&5 3108 echo "$as_me:3108: result: $CPP" >&5
3103 echo "${ECHO_T}$CPP" >&6 3109 echo "${ECHO_T}$CPP" >&6
3104 ac_preproc_ok=false 3110 ac_preproc_ok=false
3105 for ac_c_preproc_warn_flag in '' yes 3111 for ac_c_preproc_warn_flag in '' yes
3106 do 3112 do
3107 # Use a header file that comes with gcc, so configuring glibc 3113 # Use a header file that comes with gcc, so configuring glibc
3108 # with a fresh cross-compiler works. 3114 # with a fresh cross-compiler works.
3109 # On the NeXT, cc -E runs the code through the compiler's parser, 3115 # On the NeXT, cc -E runs the code through the compiler's parser,
3110 # not just through cpp. "Syntax error" is here to catch this case. 3116 # not just through cpp. "Syntax error" is here to catch this case.
3111 cat >conftest.$ac_ext <<_ACEOF 3117 cat >conftest.$ac_ext <<_ACEOF
3112 #line 3112 "configure" 3118 #line 3118 "configure"
3113 #include "confdefs.h" 3119 #include "confdefs.h"
3114 #include <assert.h> 3120 #include <assert.h>
3115 Syntax error 3121 Syntax error
3116 _ACEOF 3122 _ACEOF
3117 if { (eval echo "$as_me:3117: \"$ac_cpp conftest.$ac_ext\"") >&5 3123 if { (eval echo "$as_me:3123: \"$ac_cpp conftest.$ac_ext\"") >&5
3118 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3124 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3119 ac_status=$? 3125 ac_status=$?
3120 egrep -v '^ *\+' conftest.er1 >conftest.err 3126 egrep -v '^ *\+' conftest.er1 >conftest.err
3121 rm -f conftest.er1 3127 rm -f conftest.er1
3122 cat conftest.err >&5 3128 cat conftest.err >&5
3123 echo "$as_me:3123: \$? = $ac_status" >&5 3129 echo "$as_me:3129: \$? = $ac_status" >&5
3124 (exit $ac_status); } >/dev/null; then 3130 (exit $ac_status); } >/dev/null; then
3125 if test -s conftest.err; then 3131 if test -s conftest.err; then
3126 ac_cpp_err=$ac_c_preproc_warn_flag 3132 ac_cpp_err=$ac_c_preproc_warn_flag
3127 else 3133 else
3128 ac_cpp_err= 3134 ac_cpp_err=
3141 rm -f conftest.err conftest.$ac_ext 3147 rm -f conftest.err conftest.$ac_ext
3142 3148
3143 # OK, works on sane cases. Now check whether non-existent headers 3149 # OK, works on sane cases. Now check whether non-existent headers
3144 # can be detected and how. 3150 # can be detected and how.
3145 cat >conftest.$ac_ext <<_ACEOF 3151 cat >conftest.$ac_ext <<_ACEOF
3146 #line 3146 "configure" 3152 #line 3152 "configure"
3147 #include "confdefs.h" 3153 #include "confdefs.h"
3148 #include <ac_nonexistent.h> 3154 #include <ac_nonexistent.h>
3149 _ACEOF 3155 _ACEOF
3150 if { (eval echo "$as_me:3150: \"$ac_cpp conftest.$ac_ext\"") >&5 3156 if { (eval echo "$as_me:3156: \"$ac_cpp conftest.$ac_ext\"") >&5
3151 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3157 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3152 ac_status=$? 3158 ac_status=$?
3153 egrep -v '^ *\+' conftest.er1 >conftest.err 3159 egrep -v '^ *\+' conftest.er1 >conftest.err
3154 rm -f conftest.er1 3160 rm -f conftest.er1
3155 cat conftest.err >&5 3161 cat conftest.err >&5
3156 echo "$as_me:3156: \$? = $ac_status" >&5 3162 echo "$as_me:3162: \$? = $ac_status" >&5
3157 (exit $ac_status); } >/dev/null; then 3163 (exit $ac_status); } >/dev/null; then
3158 if test -s conftest.err; then 3164 if test -s conftest.err; then
3159 ac_cpp_err=$ac_c_preproc_warn_flag 3165 ac_cpp_err=$ac_c_preproc_warn_flag
3160 else 3166 else
3161 ac_cpp_err= 3167 ac_cpp_err=
3179 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3185 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3180 rm -f conftest.err conftest.$ac_ext 3186 rm -f conftest.err conftest.$ac_ext
3181 if $ac_preproc_ok; then 3187 if $ac_preproc_ok; then
3182 : 3188 :
3183 else 3189 else
3184 { { echo "$as_me:3184: error: C preprocessor \"$CPP\" fails sanity check" >&5 3190 { { echo "$as_me:3190: error: C preprocessor \"$CPP\" fails sanity check" >&5
3185 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} 3191 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
3186 { (exit 1); exit 1; }; } 3192 { (exit 1); exit 1; }; }
3187 fi 3193 fi
3188 3194
3189 ac_ext=c 3195 ac_ext=c
3202 # AmigaOS /C/install, which installs bootblocks on floppy discs 3208 # AmigaOS /C/install, which installs bootblocks on floppy discs
3203 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3209 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3204 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 3210 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3205 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3211 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3206 # ./install, which can be erroneously created by make from ./install.sh. 3212 # ./install, which can be erroneously created by make from ./install.sh.
3207 echo "$as_me:3207: checking for a BSD compatible install" >&5 3213 echo "$as_me:3213: checking for a BSD compatible install" >&5
3208 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6 3214 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
3209 if test -z "$INSTALL"; then 3215 if test -z "$INSTALL"; then
3210 if test "${ac_cv_path_install+set}" = set; then 3216 if test "${ac_cv_path_install+set}" = set; then
3211 echo $ECHO_N "(cached) $ECHO_C" >&6 3217 echo $ECHO_N "(cached) $ECHO_C" >&6
3212 else 3218 else
3251 # break other packages using the cache if that directory is 3257 # break other packages using the cache if that directory is
3252 # removed, or if the path is relative. 3258 # removed, or if the path is relative.
3253 INSTALL=$ac_install_sh 3259 INSTALL=$ac_install_sh
3254 fi 3260 fi
3255 fi 3261 fi
3256 echo "$as_me:3256: result: $INSTALL" >&5 3262 echo "$as_me:3262: result: $INSTALL" >&5
3257 echo "${ECHO_T}$INSTALL" >&6 3263 echo "${ECHO_T}$INSTALL" >&6
3258 3264
3259 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 3265 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3260 # It thinks the first close brace ends the variable substitution. 3266 # It thinks the first close brace ends the variable substitution.
3261 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 3267 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3266 3272
3267 for ac_prog in 'bison -y' byacc 3273 for ac_prog in 'bison -y' byacc
3268 do 3274 do
3269 # Extract the first word of "$ac_prog", so it can be a program name with args. 3275 # Extract the first word of "$ac_prog", so it can be a program name with args.
3270 set dummy $ac_prog; ac_word=$2 3276 set dummy $ac_prog; ac_word=$2
3271 echo "$as_me:3271: checking for $ac_word" >&5 3277 echo "$as_me:3277: checking for $ac_word" >&5
3272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3273 if test "${ac_cv_prog_YACC+set}" = set; then 3279 if test "${ac_cv_prog_YACC+set}" = set; then
3274 echo $ECHO_N "(cached) $ECHO_C" >&6 3280 echo $ECHO_N "(cached) $ECHO_C" >&6
3275 else 3281 else
3276 if test -n "$YACC"; then 3282 if test -n "$YACC"; then
3281 for ac_dir in $ac_dummy; do 3287 for ac_dir in $ac_dummy; do
3282 IFS=$ac_save_IFS 3288 IFS=$ac_save_IFS
3283 test -z "$ac_dir" && ac_dir=. 3289 test -z "$ac_dir" && ac_dir=.
3284 $as_executable_p "$ac_dir/$ac_word" || continue 3290 $as_executable_p "$ac_dir/$ac_word" || continue
3285 ac_cv_prog_YACC="$ac_prog" 3291 ac_cv_prog_YACC="$ac_prog"
3286 echo "$as_me:3286: found $ac_dir/$ac_word" >&5 3292 echo "$as_me:3292: found $ac_dir/$ac_word" >&5
3287 break 3293 break
3288 done 3294 done
3289 3295
3290 fi 3296 fi
3291 fi 3297 fi
3292 YACC=$ac_cv_prog_YACC 3298 YACC=$ac_cv_prog_YACC
3293 if test -n "$YACC"; then 3299 if test -n "$YACC"; then
3294 echo "$as_me:3294: result: $YACC" >&5 3300 echo "$as_me:3300: result: $YACC" >&5
3295 echo "${ECHO_T}$YACC" >&6 3301 echo "${ECHO_T}$YACC" >&6
3296 else 3302 else
3297 echo "$as_me:3297: result: no" >&5 3303 echo "$as_me:3303: result: no" >&5
3298 echo "${ECHO_T}no" >&6 3304 echo "${ECHO_T}no" >&6
3299 fi 3305 fi
3300 3306
3301 test -n "$YACC" && break 3307 test -n "$YACC" && break
3302 done 3308 done
3304 3310
3305 if test "x$RANLIB" = x; then 3311 if test "x$RANLIB" = x; then
3306 if test -n "$ac_tool_prefix"; then 3312 if test -n "$ac_tool_prefix"; then
3307 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3313 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3308 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3314 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3309 echo "$as_me:3309: checking for $ac_word" >&5 3315 echo "$as_me:3315: checking for $ac_word" >&5
3310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3311 if test "${ac_cv_prog_RANLIB+set}" = set; then 3317 if test "${ac_cv_prog_RANLIB+set}" = set; then
3312 echo $ECHO_N "(cached) $ECHO_C" >&6 3318 echo $ECHO_N "(cached) $ECHO_C" >&6
3313 else 3319 else
3314 if test -n "$RANLIB"; then 3320 if test -n "$RANLIB"; then
3319 for ac_dir in $ac_dummy; do 3325 for ac_dir in $ac_dummy; do
3320 IFS=$ac_save_IFS 3326 IFS=$ac_save_IFS
3321 test -z "$ac_dir" && ac_dir=. 3327 test -z "$ac_dir" && ac_dir=.
3322 $as_executable_p "$ac_dir/$ac_word" || continue 3328 $as_executable_p "$ac_dir/$ac_word" || continue
3323 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3329 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3324 echo "$as_me:3324: found $ac_dir/$ac_word" >&5 3330 echo "$as_me:3330: found $ac_dir/$ac_word" >&5
3325 break 3331 break
3326 done 3332 done
3327 3333
3328 fi 3334 fi
3329 fi 3335 fi
3330 RANLIB=$ac_cv_prog_RANLIB 3336 RANLIB=$ac_cv_prog_RANLIB
3331 if test -n "$RANLIB"; then 3337 if test -n "$RANLIB"; then
3332 echo "$as_me:3332: result: $RANLIB" >&5 3338 echo "$as_me:3338: result: $RANLIB" >&5
3333 echo "${ECHO_T}$RANLIB" >&6 3339 echo "${ECHO_T}$RANLIB" >&6
3334 else 3340 else
3335 echo "$as_me:3335: result: no" >&5 3341 echo "$as_me:3341: result: no" >&5
3336 echo "${ECHO_T}no" >&6 3342 echo "${ECHO_T}no" >&6
3337 fi 3343 fi
3338 3344
3339 fi 3345 fi
3340 if test -z "$ac_cv_prog_RANLIB"; then 3346 if test -z "$ac_cv_prog_RANLIB"; then
3341 ac_ct_RANLIB=$RANLIB 3347 ac_ct_RANLIB=$RANLIB
3342 # Extract the first word of "ranlib", so it can be a program name with args. 3348 # Extract the first word of "ranlib", so it can be a program name with args.
3343 set dummy ranlib; ac_word=$2 3349 set dummy ranlib; ac_word=$2
3344 echo "$as_me:3344: checking for $ac_word" >&5 3350 echo "$as_me:3350: checking for $ac_word" >&5
3345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3351 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3346 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 3352 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3347 echo $ECHO_N "(cached) $ECHO_C" >&6 3353 echo $ECHO_N "(cached) $ECHO_C" >&6
3348 else 3354 else
3349 if test -n "$ac_ct_RANLIB"; then 3355 if test -n "$ac_ct_RANLIB"; then
3354 for ac_dir in $ac_dummy; do 3360 for ac_dir in $ac_dummy; do
3355 IFS=$ac_save_IFS 3361 IFS=$ac_save_IFS
3356 test -z "$ac_dir" && ac_dir=. 3362 test -z "$ac_dir" && ac_dir=.
3357 $as_executable_p "$ac_dir/$ac_word" || continue 3363 $as_executable_p "$ac_dir/$ac_word" || continue
3358 ac_cv_prog_ac_ct_RANLIB="ranlib" 3364 ac_cv_prog_ac_ct_RANLIB="ranlib"
3359 echo "$as_me:3359: found $ac_dir/$ac_word" >&5 3365 echo "$as_me:3365: found $ac_dir/$ac_word" >&5
3360 break 3366 break
3361 done 3367 done
3362 3368
3363 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 3369 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3364 fi 3370 fi
3365 fi 3371 fi
3366 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 3372 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3367 if test -n "$ac_ct_RANLIB"; then 3373 if test -n "$ac_ct_RANLIB"; then
3368 echo "$as_me:3368: result: $ac_ct_RANLIB" >&5 3374 echo "$as_me:3374: result: $ac_ct_RANLIB" >&5
3369 echo "${ECHO_T}$ac_ct_RANLIB" >&6 3375 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3370 else 3376 else
3371 echo "$as_me:3371: result: no" >&5 3377 echo "$as_me:3377: result: no" >&5
3372 echo "${ECHO_T}no" >&6 3378 echo "${ECHO_T}no" >&6
3373 fi 3379 fi
3374 3380
3375 RANLIB=$ac_ct_RANLIB 3381 RANLIB=$ac_ct_RANLIB
3376 else 3382 else
3377 RANLIB="$ac_cv_prog_RANLIB" 3383 RANLIB="$ac_cv_prog_RANLIB"
3378 fi 3384 fi
3379 3385
3380 fi 3386 fi
3381 3387
3382 echo "$as_me:3382: checking for AIX" >&5 3388 echo "$as_me:3388: checking for AIX" >&5
3383 echo $ECHO_N "checking for AIX... $ECHO_C" >&6 3389 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
3384 cat >conftest.$ac_ext <<_ACEOF 3390 cat >conftest.$ac_ext <<_ACEOF
3385 #line 3385 "configure" 3391 #line 3391 "configure"
3386 #include "confdefs.h" 3392 #include "confdefs.h"
3387 #ifdef _AIX 3393 #ifdef _AIX
3388 yes 3394 yes
3389 #endif 3395 #endif
3390 3396
3391 _ACEOF 3397 _ACEOF
3392 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3398 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3393 egrep "yes" >/dev/null 2>&1; then 3399 egrep "yes" >/dev/null 2>&1; then
3394 echo "$as_me:3394: result: yes" >&5 3400 echo "$as_me:3400: result: yes" >&5
3395 echo "${ECHO_T}yes" >&6 3401 echo "${ECHO_T}yes" >&6
3396 cat >>confdefs.h <<\EOF 3402 cat >>confdefs.h <<\EOF
3397 #define _ALL_SOURCE 1 3403 #define _ALL_SOURCE 1
3398 EOF 3404 EOF
3399 3405
3400 else 3406 else
3401 echo "$as_me:3401: result: no" >&5 3407 echo "$as_me:3407: result: no" >&5
3402 echo "${ECHO_T}no" >&6 3408 echo "${ECHO_T}no" >&6
3403 fi 3409 fi
3404 rm -f conftest* 3410 rm -f conftest*
3405 3411
3406 #### Extract some information from the operating system and machine files. 3412 #### Extract some information from the operating system and machine files.
3407 3413
3408 { echo "$as_me:3408: checking the machine- and system-dependent files to find out 3414 { echo "$as_me:3414: checking the machine- and system-dependent files to find out
3409 - which libraries the lib-src programs will want, and 3415 - which libraries the lib-src programs will want, and
3410 - whether the GNU malloc routines are usable..." >&5 3416 - whether the GNU malloc routines are usable..." >&5
3411 echo "$as_me: checking the machine- and system-dependent files to find out 3417 echo "$as_me: checking the machine- and system-dependent files to find out
3412 - which libraries the lib-src programs will want, and 3418 - which libraries the lib-src programs will want, and
3413 - whether the GNU malloc routines are usable..." >&6;} 3419 - whether the GNU malloc routines are usable..." >&6;}
3553 enableval="$enable_largefile" 3559 enableval="$enable_largefile"
3554 3560
3555 fi; 3561 fi;
3556 if test "$enable_largefile" != no; then 3562 if test "$enable_largefile" != no; then
3557 3563
3558 echo "$as_me:3558: checking for special C compiler options needed for large files" >&5 3564 echo "$as_me:3564: checking for special C compiler options needed for large files" >&5
3559 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6 3565 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
3560 if test "${ac_cv_sys_largefile_CC+set}" = set; then 3566 if test "${ac_cv_sys_largefile_CC+set}" = set; then
3561 echo $ECHO_N "(cached) $ECHO_C" >&6 3567 echo $ECHO_N "(cached) $ECHO_C" >&6
3562 else 3568 else
3563 ac_cv_sys_largefile_CC=no 3569 ac_cv_sys_largefile_CC=no
3565 ac_save_CC=$CC 3571 ac_save_CC=$CC
3566 while :; do 3572 while :; do
3567 # IRIX 6.2 and later do not support large files by default, 3573 # IRIX 6.2 and later do not support large files by default,
3568 # so use the C compiler's -n32 option if that helps. 3574 # so use the C compiler's -n32 option if that helps.
3569 cat >conftest.$ac_ext <<_ACEOF 3575 cat >conftest.$ac_ext <<_ACEOF
3570 #line 3570 "configure" 3576 #line 3576 "configure"
3571 #include "confdefs.h" 3577 #include "confdefs.h"
3572 #include <sys/types.h> 3578 #include <sys/types.h>
3573 /* Check that off_t can represent 2**63 - 1 correctly. 3579 /* Check that off_t can represent 2**63 - 1 correctly.
3574 We can't simply define LARGE_OFF_T to be 9223372036854775807, 3580 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3575 since some C++ compilers masquerading as C compilers 3581 since some C++ compilers masquerading as C compilers
3585 ; 3591 ;
3586 return 0; 3592 return 0;
3587 } 3593 }
3588 _ACEOF 3594 _ACEOF
3589 rm -f conftest.$ac_objext 3595 rm -f conftest.$ac_objext
3590 if { (eval echo "$as_me:3590: \"$ac_compile\"") >&5 3596 if { (eval echo "$as_me:3596: \"$ac_compile\"") >&5
3591 (eval $ac_compile) 2>&5 3597 (eval $ac_compile) 2>&5
3592 ac_status=$? 3598 ac_status=$?
3593 echo "$as_me:3593: \$? = $ac_status" >&5 3599 echo "$as_me:3599: \$? = $ac_status" >&5
3594 (exit $ac_status); } && 3600 (exit $ac_status); } &&
3595 { ac_try='test -s conftest.$ac_objext' 3601 { ac_try='test -s conftest.$ac_objext'
3596 { (eval echo "$as_me:3596: \"$ac_try\"") >&5 3602 { (eval echo "$as_me:3602: \"$ac_try\"") >&5
3597 (eval $ac_try) 2>&5 3603 (eval $ac_try) 2>&5
3598 ac_status=$? 3604 ac_status=$?
3599 echo "$as_me:3599: \$? = $ac_status" >&5 3605 echo "$as_me:3605: \$? = $ac_status" >&5
3600 (exit $ac_status); }; }; then 3606 (exit $ac_status); }; }; then
3601 break 3607 break
3602 else 3608 else
3603 echo "$as_me: failed program was:" >&5 3609 echo "$as_me: failed program was:" >&5
3604 cat conftest.$ac_ext >&5 3610 cat conftest.$ac_ext >&5
3605 fi 3611 fi
3606 rm -f conftest.$ac_objext 3612 rm -f conftest.$ac_objext
3607 CC="$CC -n32" 3613 CC="$CC -n32"
3608 rm -f conftest.$ac_objext 3614 rm -f conftest.$ac_objext
3609 if { (eval echo "$as_me:3609: \"$ac_compile\"") >&5 3615 if { (eval echo "$as_me:3615: \"$ac_compile\"") >&5
3610 (eval $ac_compile) 2>&5 3616 (eval $ac_compile) 2>&5
3611 ac_status=$? 3617 ac_status=$?
3612 echo "$as_me:3612: \$? = $ac_status" >&5 3618 echo "$as_me:3618: \$? = $ac_status" >&5
3613 (exit $ac_status); } && 3619 (exit $ac_status); } &&
3614 { ac_try='test -s conftest.$ac_objext' 3620 { ac_try='test -s conftest.$ac_objext'
3615 { (eval echo "$as_me:3615: \"$ac_try\"") >&5 3621 { (eval echo "$as_me:3621: \"$ac_try\"") >&5
3616 (eval $ac_try) 2>&5 3622 (eval $ac_try) 2>&5
3617 ac_status=$? 3623 ac_status=$?
3618 echo "$as_me:3618: \$? = $ac_status" >&5 3624 echo "$as_me:3624: \$? = $ac_status" >&5
3619 (exit $ac_status); }; }; then 3625 (exit $ac_status); }; }; then
3620 ac_cv_sys_largefile_CC=' -n32'; break 3626 ac_cv_sys_largefile_CC=' -n32'; break
3621 else 3627 else
3622 echo "$as_me: failed program was:" >&5 3628 echo "$as_me: failed program was:" >&5
3623 cat conftest.$ac_ext >&5 3629 cat conftest.$ac_ext >&5
3627 done 3633 done
3628 CC=$ac_save_CC 3634 CC=$ac_save_CC
3629 rm -f conftest.$ac_ext 3635 rm -f conftest.$ac_ext
3630 fi 3636 fi
3631 fi 3637 fi
3632 echo "$as_me:3632: result: $ac_cv_sys_largefile_CC" >&5 3638 echo "$as_me:3638: result: $ac_cv_sys_largefile_CC" >&5
3633 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6 3639 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
3634 if test "$ac_cv_sys_largefile_CC" != no; then 3640 if test "$ac_cv_sys_largefile_CC" != no; then
3635 CC=$CC$ac_cv_sys_largefile_CC 3641 CC=$CC$ac_cv_sys_largefile_CC
3636 fi 3642 fi
3637 3643
3638 echo "$as_me:3638: checking for _FILE_OFFSET_BITS value needed for large files" >&5 3644 echo "$as_me:3644: checking for _FILE_OFFSET_BITS value needed for large files" >&5
3639 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6 3645 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
3640 if test "${ac_cv_sys_file_offset_bits+set}" = set; then 3646 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
3641 echo $ECHO_N "(cached) $ECHO_C" >&6 3647 echo $ECHO_N "(cached) $ECHO_C" >&6
3642 else 3648 else
3643 while :; do 3649 while :; do
3644 ac_cv_sys_file_offset_bits=no 3650 ac_cv_sys_file_offset_bits=no
3645 cat >conftest.$ac_ext <<_ACEOF 3651 cat >conftest.$ac_ext <<_ACEOF
3646 #line 3646 "configure" 3652 #line 3652 "configure"
3647 #include "confdefs.h" 3653 #include "confdefs.h"
3648 #include <sys/types.h> 3654 #include <sys/types.h>
3649 /* Check that off_t can represent 2**63 - 1 correctly. 3655 /* Check that off_t can represent 2**63 - 1 correctly.
3650 We can't simply define LARGE_OFF_T to be 9223372036854775807, 3656 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3651 since some C++ compilers masquerading as C compilers 3657 since some C++ compilers masquerading as C compilers
3661 ; 3667 ;
3662 return 0; 3668 return 0;
3663 } 3669 }
3664 _ACEOF 3670 _ACEOF
3665 rm -f conftest.$ac_objext 3671 rm -f conftest.$ac_objext
3666 if { (eval echo "$as_me:3666: \"$ac_compile\"") >&5 3672 if { (eval echo "$as_me:3672: \"$ac_compile\"") >&5
3667 (eval $ac_compile) 2>&5 3673 (eval $ac_compile) 2>&5
3668 ac_status=$? 3674 ac_status=$?
3669 echo "$as_me:3669: \$? = $ac_status" >&5 3675 echo "$as_me:3675: \$? = $ac_status" >&5
3670 (exit $ac_status); } && 3676 (exit $ac_status); } &&
3671 { ac_try='test -s conftest.$ac_objext' 3677 { ac_try='test -s conftest.$ac_objext'
3672 { (eval echo "$as_me:3672: \"$ac_try\"") >&5 3678 { (eval echo "$as_me:3678: \"$ac_try\"") >&5
3673 (eval $ac_try) 2>&5 3679 (eval $ac_try) 2>&5
3674 ac_status=$? 3680 ac_status=$?
3675 echo "$as_me:3675: \$? = $ac_status" >&5 3681 echo "$as_me:3681: \$? = $ac_status" >&5
3676 (exit $ac_status); }; }; then 3682 (exit $ac_status); }; }; then
3677 break 3683 break
3678 else 3684 else
3679 echo "$as_me: failed program was:" >&5 3685 echo "$as_me: failed program was:" >&5
3680 cat conftest.$ac_ext >&5 3686 cat conftest.$ac_ext >&5
3681 fi 3687 fi
3682 rm -f conftest.$ac_objext conftest.$ac_ext 3688 rm -f conftest.$ac_objext conftest.$ac_ext
3683 cat >conftest.$ac_ext <<_ACEOF 3689 cat >conftest.$ac_ext <<_ACEOF
3684 #line 3684 "configure" 3690 #line 3690 "configure"
3685 #include "confdefs.h" 3691 #include "confdefs.h"
3686 #define _FILE_OFFSET_BITS 64 3692 #define _FILE_OFFSET_BITS 64
3687 #include <sys/types.h> 3693 #include <sys/types.h>
3688 /* Check that off_t can represent 2**63 - 1 correctly. 3694 /* Check that off_t can represent 2**63 - 1 correctly.
3689 We can't simply define LARGE_OFF_T to be 9223372036854775807, 3695 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3700 ; 3706 ;
3701 return 0; 3707 return 0;
3702 } 3708 }
3703 _ACEOF 3709 _ACEOF
3704 rm -f conftest.$ac_objext 3710 rm -f conftest.$ac_objext
3705 if { (eval echo "$as_me:3705: \"$ac_compile\"") >&5 3711 if { (eval echo "$as_me:3711: \"$ac_compile\"") >&5
3706 (eval $ac_compile) 2>&5 3712 (eval $ac_compile) 2>&5
3707 ac_status=$? 3713 ac_status=$?
3708 echo "$as_me:3708: \$? = $ac_status" >&5 3714 echo "$as_me:3714: \$? = $ac_status" >&5
3709 (exit $ac_status); } && 3715 (exit $ac_status); } &&
3710 { ac_try='test -s conftest.$ac_objext' 3716 { ac_try='test -s conftest.$ac_objext'
3711 { (eval echo "$as_me:3711: \"$ac_try\"") >&5 3717 { (eval echo "$as_me:3717: \"$ac_try\"") >&5
3712 (eval $ac_try) 2>&5 3718 (eval $ac_try) 2>&5
3713 ac_status=$? 3719 ac_status=$?
3714 echo "$as_me:3714: \$? = $ac_status" >&5 3720 echo "$as_me:3720: \$? = $ac_status" >&5
3715 (exit $ac_status); }; }; then 3721 (exit $ac_status); }; }; then
3716 ac_cv_sys_file_offset_bits=64; break 3722 ac_cv_sys_file_offset_bits=64; break
3717 else 3723 else
3718 echo "$as_me: failed program was:" >&5 3724 echo "$as_me: failed program was:" >&5
3719 cat conftest.$ac_ext >&5 3725 cat conftest.$ac_ext >&5
3720 fi 3726 fi
3721 rm -f conftest.$ac_objext conftest.$ac_ext 3727 rm -f conftest.$ac_objext conftest.$ac_ext
3722 break 3728 break
3723 done 3729 done
3724 fi 3730 fi
3725 echo "$as_me:3725: result: $ac_cv_sys_file_offset_bits" >&5 3731 echo "$as_me:3731: result: $ac_cv_sys_file_offset_bits" >&5
3726 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6 3732 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
3727 if test "$ac_cv_sys_file_offset_bits" != no; then 3733 if test "$ac_cv_sys_file_offset_bits" != no; then
3728 3734
3729 cat >>confdefs.h <<EOF 3735 cat >>confdefs.h <<EOF
3730 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 3736 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
3731 EOF 3737 EOF
3732 3738
3733 fi 3739 fi
3734 rm -f conftest* 3740 rm -f conftest*
3735 echo "$as_me:3735: checking for _LARGE_FILES value needed for large files" >&5 3741 echo "$as_me:3741: checking for _LARGE_FILES value needed for large files" >&5
3736 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6 3742 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
3737 if test "${ac_cv_sys_large_files+set}" = set; then 3743 if test "${ac_cv_sys_large_files+set}" = set; then
3738 echo $ECHO_N "(cached) $ECHO_C" >&6 3744 echo $ECHO_N "(cached) $ECHO_C" >&6
3739 else 3745 else
3740 while :; do 3746 while :; do
3741 ac_cv_sys_large_files=no 3747 ac_cv_sys_large_files=no
3742 cat >conftest.$ac_ext <<_ACEOF 3748 cat >conftest.$ac_ext <<_ACEOF
3743 #line 3743 "configure" 3749 #line 3749 "configure"
3744 #include "confdefs.h" 3750 #include "confdefs.h"
3745 #include <sys/types.h> 3751 #include <sys/types.h>
3746 /* Check that off_t can represent 2**63 - 1 correctly. 3752 /* Check that off_t can represent 2**63 - 1 correctly.
3747 We can't simply define LARGE_OFF_T to be 9223372036854775807, 3753 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3748 since some C++ compilers masquerading as C compilers 3754 since some C++ compilers masquerading as C compilers
3758 ; 3764 ;
3759 return 0; 3765 return 0;
3760 } 3766 }
3761 _ACEOF 3767 _ACEOF
3762 rm -f conftest.$ac_objext 3768 rm -f conftest.$ac_objext
3763 if { (eval echo "$as_me:3763: \"$ac_compile\"") >&5 3769 if { (eval echo "$as_me:3769: \"$ac_compile\"") >&5
3764 (eval $ac_compile) 2>&5 3770 (eval $ac_compile) 2>&5
3765 ac_status=$? 3771 ac_status=$?
3766 echo "$as_me:3766: \$? = $ac_status" >&5 3772 echo "$as_me:3772: \$? = $ac_status" >&5
3767 (exit $ac_status); } && 3773 (exit $ac_status); } &&
3768 { ac_try='test -s conftest.$ac_objext' 3774 { ac_try='test -s conftest.$ac_objext'
3769 { (eval echo "$as_me:3769: \"$ac_try\"") >&5 3775 { (eval echo "$as_me:3775: \"$ac_try\"") >&5
3770 (eval $ac_try) 2>&5 3776 (eval $ac_try) 2>&5
3771 ac_status=$? 3777 ac_status=$?
3772 echo "$as_me:3772: \$? = $ac_status" >&5 3778 echo "$as_me:3778: \$? = $ac_status" >&5
3773 (exit $ac_status); }; }; then 3779 (exit $ac_status); }; }; then
3774 break 3780 break
3775 else 3781 else
3776 echo "$as_me: failed program was:" >&5 3782 echo "$as_me: failed program was:" >&5
3777 cat conftest.$ac_ext >&5 3783 cat conftest.$ac_ext >&5
3778 fi 3784 fi
3779 rm -f conftest.$ac_objext conftest.$ac_ext 3785 rm -f conftest.$ac_objext conftest.$ac_ext
3780 cat >conftest.$ac_ext <<_ACEOF 3786 cat >conftest.$ac_ext <<_ACEOF
3781 #line 3781 "configure" 3787 #line 3787 "configure"
3782 #include "confdefs.h" 3788 #include "confdefs.h"
3783 #define _LARGE_FILES 1 3789 #define _LARGE_FILES 1
3784 #include <sys/types.h> 3790 #include <sys/types.h>
3785 /* Check that off_t can represent 2**63 - 1 correctly. 3791 /* Check that off_t can represent 2**63 - 1 correctly.
3786 We can't simply define LARGE_OFF_T to be 9223372036854775807, 3792 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3797 ; 3803 ;
3798 return 0; 3804 return 0;
3799 } 3805 }
3800 _ACEOF 3806 _ACEOF
3801 rm -f conftest.$ac_objext 3807 rm -f conftest.$ac_objext
3802 if { (eval echo "$as_me:3802: \"$ac_compile\"") >&5 3808 if { (eval echo "$as_me:3808: \"$ac_compile\"") >&5
3803 (eval $ac_compile) 2>&5 3809 (eval $ac_compile) 2>&5
3804 ac_status=$? 3810 ac_status=$?
3805 echo "$as_me:3805: \$? = $ac_status" >&5 3811 echo "$as_me:3811: \$? = $ac_status" >&5
3806 (exit $ac_status); } && 3812 (exit $ac_status); } &&
3807 { ac_try='test -s conftest.$ac_objext' 3813 { ac_try='test -s conftest.$ac_objext'
3808 { (eval echo "$as_me:3808: \"$ac_try\"") >&5 3814 { (eval echo "$as_me:3814: \"$ac_try\"") >&5
3809 (eval $ac_try) 2>&5 3815 (eval $ac_try) 2>&5
3810 ac_status=$? 3816 ac_status=$?
3811 echo "$as_me:3811: \$? = $ac_status" >&5 3817 echo "$as_me:3817: \$? = $ac_status" >&5
3812 (exit $ac_status); }; }; then 3818 (exit $ac_status); }; }; then
3813 ac_cv_sys_large_files=1; break 3819 ac_cv_sys_large_files=1; break
3814 else 3820 else
3815 echo "$as_me: failed program was:" >&5 3821 echo "$as_me: failed program was:" >&5
3816 cat conftest.$ac_ext >&5 3822 cat conftest.$ac_ext >&5
3817 fi 3823 fi
3818 rm -f conftest.$ac_objext conftest.$ac_ext 3824 rm -f conftest.$ac_objext conftest.$ac_ext
3819 break 3825 break
3820 done 3826 done
3821 fi 3827 fi
3822 echo "$as_me:3822: result: $ac_cv_sys_large_files" >&5 3828 echo "$as_me:3828: result: $ac_cv_sys_large_files" >&5
3823 echo "${ECHO_T}$ac_cv_sys_large_files" >&6 3829 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
3824 if test "$ac_cv_sys_large_files" != no; then 3830 if test "$ac_cv_sys_large_files" != no; then
3825 3831
3826 cat >>confdefs.h <<EOF 3832 cat >>confdefs.h <<EOF
3827 #define _LARGE_FILES $ac_cv_sys_large_files 3833 #define _LARGE_FILES $ac_cv_sys_large_files
3834 # Sound support for GNU/Linux and the free BSDs. 3840 # Sound support for GNU/Linux and the free BSDs.
3835 3841
3836 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h 3842 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h
3837 do 3843 do
3838 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3844 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3839 echo "$as_me:3839: checking for $ac_header" >&5 3845 echo "$as_me:3845: checking for $ac_header" >&5
3840 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3846 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3841 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3847 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3842 echo $ECHO_N "(cached) $ECHO_C" >&6 3848 echo $ECHO_N "(cached) $ECHO_C" >&6
3843 else 3849 else
3844 cat >conftest.$ac_ext <<_ACEOF 3850 cat >conftest.$ac_ext <<_ACEOF
3845 #line 3845 "configure" 3851 #line 3851 "configure"
3846 #include "confdefs.h" 3852 #include "confdefs.h"
3847 #include <$ac_header> 3853 #include <$ac_header>
3848 _ACEOF 3854 _ACEOF
3849 if { (eval echo "$as_me:3849: \"$ac_cpp conftest.$ac_ext\"") >&5 3855 if { (eval echo "$as_me:3855: \"$ac_cpp conftest.$ac_ext\"") >&5
3850 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3856 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3851 ac_status=$? 3857 ac_status=$?
3852 egrep -v '^ *\+' conftest.er1 >conftest.err 3858 egrep -v '^ *\+' conftest.er1 >conftest.err
3853 rm -f conftest.er1 3859 rm -f conftest.er1
3854 cat conftest.err >&5 3860 cat conftest.err >&5
3855 echo "$as_me:3855: \$? = $ac_status" >&5 3861 echo "$as_me:3861: \$? = $ac_status" >&5
3856 (exit $ac_status); } >/dev/null; then 3862 (exit $ac_status); } >/dev/null; then
3857 if test -s conftest.err; then 3863 if test -s conftest.err; then
3858 ac_cpp_err=$ac_c_preproc_warn_flag 3864 ac_cpp_err=$ac_c_preproc_warn_flag
3859 else 3865 else
3860 ac_cpp_err= 3866 ac_cpp_err=
3869 cat conftest.$ac_ext >&5 3875 cat conftest.$ac_ext >&5
3870 eval "$as_ac_Header=no" 3876 eval "$as_ac_Header=no"
3871 fi 3877 fi
3872 rm -f conftest.err conftest.$ac_ext 3878 rm -f conftest.err conftest.$ac_ext
3873 fi 3879 fi
3874 echo "$as_me:3874: result: `eval echo '${'$as_ac_Header'}'`" >&5 3880 echo "$as_me:3880: result: `eval echo '${'$as_ac_Header'}'`" >&5
3875 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3881 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3876 if test `eval echo '${'$as_ac_Header'}'` = yes; then 3882 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3877 cat >>confdefs.h <<EOF 3883 cat >>confdefs.h <<EOF
3878 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3884 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3879 EOF 3885 EOF
3880 3886
3881 fi 3887 fi
3882 done 3888 done
3883 3889
3884 # Emulation library used on NetBSD. 3890 # Emulation library used on NetBSD.
3885 echo "$as_me:3885: checking for _oss_ioctl in -lossaudio" >&5 3891 echo "$as_me:3891: checking for _oss_ioctl in -lossaudio" >&5
3886 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6 3892 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
3887 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then 3893 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
3888 echo $ECHO_N "(cached) $ECHO_C" >&6 3894 echo $ECHO_N "(cached) $ECHO_C" >&6
3889 else 3895 else
3890 ac_check_lib_save_LIBS=$LIBS 3896 ac_check_lib_save_LIBS=$LIBS
3891 LIBS="-lossaudio $LIBS" 3897 LIBS="-lossaudio $LIBS"
3892 cat >conftest.$ac_ext <<_ACEOF 3898 cat >conftest.$ac_ext <<_ACEOF
3893 #line 3893 "configure" 3899 #line 3899 "configure"
3894 #include "confdefs.h" 3900 #include "confdefs.h"
3895 3901
3896 /* Override any gcc2 internal prototype to avoid an error. */ 3902 /* Override any gcc2 internal prototype to avoid an error. */
3897 #ifdef __cplusplus 3903 #ifdef __cplusplus
3898 extern "C" 3904 extern "C"
3907 ; 3913 ;
3908 return 0; 3914 return 0;
3909 } 3915 }
3910 _ACEOF 3916 _ACEOF
3911 rm -f conftest.$ac_objext conftest$ac_exeext 3917 rm -f conftest.$ac_objext conftest$ac_exeext
3912 if { (eval echo "$as_me:3912: \"$ac_link\"") >&5 3918 if { (eval echo "$as_me:3918: \"$ac_link\"") >&5
3913 (eval $ac_link) 2>&5 3919 (eval $ac_link) 2>&5
3914 ac_status=$? 3920 ac_status=$?
3915 echo "$as_me:3915: \$? = $ac_status" >&5 3921 echo "$as_me:3921: \$? = $ac_status" >&5
3916 (exit $ac_status); } && 3922 (exit $ac_status); } &&
3917 { ac_try='test -s conftest$ac_exeext' 3923 { ac_try='test -s conftest$ac_exeext'
3918 { (eval echo "$as_me:3918: \"$ac_try\"") >&5 3924 { (eval echo "$as_me:3924: \"$ac_try\"") >&5
3919 (eval $ac_try) 2>&5 3925 (eval $ac_try) 2>&5
3920 ac_status=$? 3926 ac_status=$?
3921 echo "$as_me:3921: \$? = $ac_status" >&5 3927 echo "$as_me:3927: \$? = $ac_status" >&5
3922 (exit $ac_status); }; }; then 3928 (exit $ac_status); }; }; then
3923 ac_cv_lib_ossaudio__oss_ioctl=yes 3929 ac_cv_lib_ossaudio__oss_ioctl=yes
3924 else 3930 else
3925 echo "$as_me: failed program was:" >&5 3931 echo "$as_me: failed program was:" >&5
3926 cat conftest.$ac_ext >&5 3932 cat conftest.$ac_ext >&5
3927 ac_cv_lib_ossaudio__oss_ioctl=no 3933 ac_cv_lib_ossaudio__oss_ioctl=no
3928 fi 3934 fi
3929 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3935 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3930 LIBS=$ac_check_lib_save_LIBS 3936 LIBS=$ac_check_lib_save_LIBS
3931 fi 3937 fi
3932 echo "$as_me:3932: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5 3938 echo "$as_me:3938: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
3933 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6 3939 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
3934 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then 3940 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
3935 LIBSOUND=-lossaudio 3941 LIBSOUND=-lossaudio
3936 else 3942 else
3937 LIBSOUND= 3943 LIBSOUND=
3940 for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ 3946 for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \
3941 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ 3947 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \
3942 termcap.h stdio_ext.h fcntl.h term.h strings.h coff.h 3948 termcap.h stdio_ext.h fcntl.h term.h strings.h coff.h
3943 do 3949 do
3944 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3950 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3945 echo "$as_me:3945: checking for $ac_header" >&5 3951 echo "$as_me:3951: checking for $ac_header" >&5
3946 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3952 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3947 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3953 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3948 echo $ECHO_N "(cached) $ECHO_C" >&6 3954 echo $ECHO_N "(cached) $ECHO_C" >&6
3949 else 3955 else
3950 cat >conftest.$ac_ext <<_ACEOF 3956 cat >conftest.$ac_ext <<_ACEOF
3951 #line 3951 "configure" 3957 #line 3957 "configure"
3952 #include "confdefs.h" 3958 #include "confdefs.h"
3953 #include <$ac_header> 3959 #include <$ac_header>
3954 _ACEOF 3960 _ACEOF
3955 if { (eval echo "$as_me:3955: \"$ac_cpp conftest.$ac_ext\"") >&5 3961 if { (eval echo "$as_me:3961: \"$ac_cpp conftest.$ac_ext\"") >&5
3956 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3962 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3957 ac_status=$? 3963 ac_status=$?
3958 egrep -v '^ *\+' conftest.er1 >conftest.err 3964 egrep -v '^ *\+' conftest.er1 >conftest.err
3959 rm -f conftest.er1 3965 rm -f conftest.er1
3960 cat conftest.err >&5 3966 cat conftest.err >&5
3961 echo "$as_me:3961: \$? = $ac_status" >&5 3967 echo "$as_me:3967: \$? = $ac_status" >&5
3962 (exit $ac_status); } >/dev/null; then 3968 (exit $ac_status); } >/dev/null; then
3963 if test -s conftest.err; then 3969 if test -s conftest.err; then
3964 ac_cpp_err=$ac_c_preproc_warn_flag 3970 ac_cpp_err=$ac_c_preproc_warn_flag
3965 else 3971 else
3966 ac_cpp_err= 3972 ac_cpp_err=
3975 cat conftest.$ac_ext >&5 3981 cat conftest.$ac_ext >&5
3976 eval "$as_ac_Header=no" 3982 eval "$as_ac_Header=no"
3977 fi 3983 fi
3978 rm -f conftest.err conftest.$ac_ext 3984 rm -f conftest.err conftest.$ac_ext
3979 fi 3985 fi
3980 echo "$as_me:3980: result: `eval echo '${'$as_ac_Header'}'`" >&5 3986 echo "$as_me:3986: result: `eval echo '${'$as_ac_Header'}'`" >&5
3981 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3987 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3982 if test `eval echo '${'$as_ac_Header'}'` = yes; then 3988 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3983 cat >>confdefs.h <<EOF 3989 cat >>confdefs.h <<EOF
3984 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3990 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3985 EOF 3991 EOF
3986 3992
3987 fi 3993 fi
3988 done 3994 done
3989 3995
3990 echo "$as_me:3990: checking for ANSI C header files" >&5 3996 echo "$as_me:3996: checking for ANSI C header files" >&5
3991 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 3997 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3992 if test "${ac_cv_header_stdc+set}" = set; then 3998 if test "${ac_cv_header_stdc+set}" = set; then
3993 echo $ECHO_N "(cached) $ECHO_C" >&6 3999 echo $ECHO_N "(cached) $ECHO_C" >&6
3994 else 4000 else
3995 cat >conftest.$ac_ext <<_ACEOF 4001 cat >conftest.$ac_ext <<_ACEOF
3996 #line 3996 "configure" 4002 #line 4002 "configure"
3997 #include "confdefs.h" 4003 #include "confdefs.h"
3998 #include <stdlib.h> 4004 #include <stdlib.h>
3999 #include <stdarg.h> 4005 #include <stdarg.h>
4000 #include <string.h> 4006 #include <string.h>
4001 #include <float.h> 4007 #include <float.h>
4002 4008
4003 _ACEOF 4009 _ACEOF
4004 if { (eval echo "$as_me:4004: \"$ac_cpp conftest.$ac_ext\"") >&5 4010 if { (eval echo "$as_me:4010: \"$ac_cpp conftest.$ac_ext\"") >&5
4005 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4011 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4006 ac_status=$? 4012 ac_status=$?
4007 egrep -v '^ *\+' conftest.er1 >conftest.err 4013 egrep -v '^ *\+' conftest.er1 >conftest.err
4008 rm -f conftest.er1 4014 rm -f conftest.er1
4009 cat conftest.err >&5 4015 cat conftest.err >&5
4010 echo "$as_me:4010: \$? = $ac_status" >&5 4016 echo "$as_me:4016: \$? = $ac_status" >&5
4011 (exit $ac_status); } >/dev/null; then 4017 (exit $ac_status); } >/dev/null; then
4012 if test -s conftest.err; then 4018 if test -s conftest.err; then
4013 ac_cpp_err=$ac_c_preproc_warn_flag 4019 ac_cpp_err=$ac_c_preproc_warn_flag
4014 else 4020 else
4015 ac_cpp_err= 4021 ac_cpp_err=
4027 rm -f conftest.err conftest.$ac_ext 4033 rm -f conftest.err conftest.$ac_ext
4028 4034
4029 if test $ac_cv_header_stdc = yes; then 4035 if test $ac_cv_header_stdc = yes; then
4030 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4036 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4031 cat >conftest.$ac_ext <<_ACEOF 4037 cat >conftest.$ac_ext <<_ACEOF
4032 #line 4032 "configure" 4038 #line 4038 "configure"
4033 #include "confdefs.h" 4039 #include "confdefs.h"
4034 #include <string.h> 4040 #include <string.h>
4035 4041
4036 _ACEOF 4042 _ACEOF
4037 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4043 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4045 fi 4051 fi
4046 4052
4047 if test $ac_cv_header_stdc = yes; then 4053 if test $ac_cv_header_stdc = yes; then
4048 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4054 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4049 cat >conftest.$ac_ext <<_ACEOF 4055 cat >conftest.$ac_ext <<_ACEOF
4050 #line 4050 "configure" 4056 #line 4056 "configure"
4051 #include "confdefs.h" 4057 #include "confdefs.h"
4052 #include <stdlib.h> 4058 #include <stdlib.h>
4053 4059
4054 _ACEOF 4060 _ACEOF
4055 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4061 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4066 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4072 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4067 if test "$cross_compiling" = yes; then 4073 if test "$cross_compiling" = yes; then
4068 : 4074 :
4069 else 4075 else
4070 cat >conftest.$ac_ext <<_ACEOF 4076 cat >conftest.$ac_ext <<_ACEOF
4071 #line 4071 "configure" 4077 #line 4077 "configure"
4072 #include "confdefs.h" 4078 #include "confdefs.h"
4073 #include <ctype.h> 4079 #include <ctype.h>
4074 #if ((' ' & 0x0FF) == 0x020) 4080 #if ((' ' & 0x0FF) == 0x020)
4075 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4081 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4076 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4082 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4092 exit(2); 4098 exit(2);
4093 exit (0); 4099 exit (0);
4094 } 4100 }
4095 _ACEOF 4101 _ACEOF
4096 rm -f conftest$ac_exeext 4102 rm -f conftest$ac_exeext
4097 if { (eval echo "$as_me:4097: \"$ac_link\"") >&5 4103 if { (eval echo "$as_me:4103: \"$ac_link\"") >&5
4098 (eval $ac_link) 2>&5 4104 (eval $ac_link) 2>&5
4099 ac_status=$? 4105 ac_status=$?
4100 echo "$as_me:4100: \$? = $ac_status" >&5 4106 echo "$as_me:4106: \$? = $ac_status" >&5
4101 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4107 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4102 { (eval echo "$as_me:4102: \"$ac_try\"") >&5 4108 { (eval echo "$as_me:4108: \"$ac_try\"") >&5
4103 (eval $ac_try) 2>&5 4109 (eval $ac_try) 2>&5
4104 ac_status=$? 4110 ac_status=$?
4105 echo "$as_me:4105: \$? = $ac_status" >&5 4111 echo "$as_me:4111: \$? = $ac_status" >&5
4106 (exit $ac_status); }; }; then 4112 (exit $ac_status); }; }; then
4107 : 4113 :
4108 else 4114 else
4109 echo "$as_me: program exited with status $ac_status" >&5 4115 echo "$as_me: program exited with status $ac_status" >&5
4110 echo "$as_me: failed program was:" >&5 4116 echo "$as_me: failed program was:" >&5
4113 fi 4119 fi
4114 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4120 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4115 fi 4121 fi
4116 fi 4122 fi
4117 fi 4123 fi
4118 echo "$as_me:4118: result: $ac_cv_header_stdc" >&5 4124 echo "$as_me:4124: result: $ac_cv_header_stdc" >&5
4119 echo "${ECHO_T}$ac_cv_header_stdc" >&6 4125 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4120 if test $ac_cv_header_stdc = yes; then 4126 if test $ac_cv_header_stdc = yes; then
4121 4127
4122 cat >>confdefs.h <<\EOF 4128 cat >>confdefs.h <<\EOF
4123 #define STDC_HEADERS 1 4129 #define STDC_HEADERS 1
4124 EOF 4130 EOF
4125 4131
4126 fi 4132 fi
4127 4133
4128 echo "$as_me:4128: checking whether time.h and sys/time.h may both be included" >&5 4134 echo "$as_me:4134: checking whether time.h and sys/time.h may both be included" >&5
4129 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 4135 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
4130 if test "${ac_cv_header_time+set}" = set; then 4136 if test "${ac_cv_header_time+set}" = set; then
4131 echo $ECHO_N "(cached) $ECHO_C" >&6 4137 echo $ECHO_N "(cached) $ECHO_C" >&6
4132 else 4138 else
4133 cat >conftest.$ac_ext <<_ACEOF 4139 cat >conftest.$ac_ext <<_ACEOF
4134 #line 4134 "configure" 4140 #line 4140 "configure"
4135 #include "confdefs.h" 4141 #include "confdefs.h"
4136 #include <sys/types.h> 4142 #include <sys/types.h>
4137 #include <sys/time.h> 4143 #include <sys/time.h>
4138 #include <time.h> 4144 #include <time.h>
4139 4145
4145 ; 4151 ;
4146 return 0; 4152 return 0;
4147 } 4153 }
4148 _ACEOF 4154 _ACEOF
4149 rm -f conftest.$ac_objext 4155 rm -f conftest.$ac_objext
4150 if { (eval echo "$as_me:4150: \"$ac_compile\"") >&5 4156 if { (eval echo "$as_me:4156: \"$ac_compile\"") >&5
4151 (eval $ac_compile) 2>&5 4157 (eval $ac_compile) 2>&5
4152 ac_status=$? 4158 ac_status=$?
4153 echo "$as_me:4153: \$? = $ac_status" >&5 4159 echo "$as_me:4159: \$? = $ac_status" >&5
4154 (exit $ac_status); } && 4160 (exit $ac_status); } &&
4155 { ac_try='test -s conftest.$ac_objext' 4161 { ac_try='test -s conftest.$ac_objext'
4156 { (eval echo "$as_me:4156: \"$ac_try\"") >&5 4162 { (eval echo "$as_me:4162: \"$ac_try\"") >&5
4157 (eval $ac_try) 2>&5 4163 (eval $ac_try) 2>&5
4158 ac_status=$? 4164 ac_status=$?
4159 echo "$as_me:4159: \$? = $ac_status" >&5 4165 echo "$as_me:4165: \$? = $ac_status" >&5
4160 (exit $ac_status); }; }; then 4166 (exit $ac_status); }; }; then
4161 ac_cv_header_time=yes 4167 ac_cv_header_time=yes
4162 else 4168 else
4163 echo "$as_me: failed program was:" >&5 4169 echo "$as_me: failed program was:" >&5
4164 cat conftest.$ac_ext >&5 4170 cat conftest.$ac_ext >&5
4165 ac_cv_header_time=no 4171 ac_cv_header_time=no
4166 fi 4172 fi
4167 rm -f conftest.$ac_objext conftest.$ac_ext 4173 rm -f conftest.$ac_objext conftest.$ac_ext
4168 fi 4174 fi
4169 echo "$as_me:4169: result: $ac_cv_header_time" >&5 4175 echo "$as_me:4175: result: $ac_cv_header_time" >&5
4170 echo "${ECHO_T}$ac_cv_header_time" >&6 4176 echo "${ECHO_T}$ac_cv_header_time" >&6
4171 if test $ac_cv_header_time = yes; then 4177 if test $ac_cv_header_time = yes; then
4172 4178
4173 cat >>confdefs.h <<\EOF 4179 cat >>confdefs.h <<\EOF
4174 #define TIME_WITH_SYS_TIME 1 4180 #define TIME_WITH_SYS_TIME 1
4175 EOF 4181 EOF
4176 4182
4177 fi 4183 fi
4178 4184
4179 echo "$as_me:4179: checking for sys_siglist declaration in signal.h or unistd.h" >&5 4185 echo "$as_me:4185: checking for sys_siglist declaration in signal.h or unistd.h" >&5
4180 echo $ECHO_N "checking for sys_siglist declaration in signal.h or unistd.h... $ECHO_C" >&6 4186 echo $ECHO_N "checking for sys_siglist declaration in signal.h or unistd.h... $ECHO_C" >&6
4181 if test "${ac_cv_decl_sys_siglist+set}" = set; then 4187 if test "${ac_cv_decl_sys_siglist+set}" = set; then
4182 echo $ECHO_N "(cached) $ECHO_C" >&6 4188 echo $ECHO_N "(cached) $ECHO_C" >&6
4183 else 4189 else
4184 cat >conftest.$ac_ext <<_ACEOF 4190 cat >conftest.$ac_ext <<_ACEOF
4185 #line 4185 "configure" 4191 #line 4191 "configure"
4186 #include "confdefs.h" 4192 #include "confdefs.h"
4187 #include <sys/types.h> 4193 #include <sys/types.h>
4188 #include <signal.h> 4194 #include <signal.h>
4189 /* NetBSD declares sys_siglist in unistd.h. */ 4195 /* NetBSD declares sys_siglist in unistd.h. */
4190 #if HAVE_UNISTD_H 4196 #if HAVE_UNISTD_H
4198 ; 4204 ;
4199 return 0; 4205 return 0;
4200 } 4206 }
4201 _ACEOF 4207 _ACEOF
4202 rm -f conftest.$ac_objext 4208 rm -f conftest.$ac_objext
4203 if { (eval echo "$as_me:4203: \"$ac_compile\"") >&5 4209 if { (eval echo "$as_me:4209: \"$ac_compile\"") >&5
4204 (eval $ac_compile) 2>&5 4210 (eval $ac_compile) 2>&5
4205 ac_status=$? 4211 ac_status=$?
4206 echo "$as_me:4206: \$? = $ac_status" >&5 4212 echo "$as_me:4212: \$? = $ac_status" >&5
4207 (exit $ac_status); } && 4213 (exit $ac_status); } &&
4208 { ac_try='test -s conftest.$ac_objext' 4214 { ac_try='test -s conftest.$ac_objext'
4209 { (eval echo "$as_me:4209: \"$ac_try\"") >&5 4215 { (eval echo "$as_me:4215: \"$ac_try\"") >&5
4210 (eval $ac_try) 2>&5 4216 (eval $ac_try) 2>&5
4211 ac_status=$? 4217 ac_status=$?
4212 echo "$as_me:4212: \$? = $ac_status" >&5 4218 echo "$as_me:4218: \$? = $ac_status" >&5
4213 (exit $ac_status); }; }; then 4219 (exit $ac_status); }; }; then
4214 ac_cv_decl_sys_siglist=yes 4220 ac_cv_decl_sys_siglist=yes
4215 else 4221 else
4216 echo "$as_me: failed program was:" >&5 4222 echo "$as_me: failed program was:" >&5
4217 cat conftest.$ac_ext >&5 4223 cat conftest.$ac_ext >&5
4218 ac_cv_decl_sys_siglist=no 4224 ac_cv_decl_sys_siglist=no
4219 fi 4225 fi
4220 rm -f conftest.$ac_objext conftest.$ac_ext 4226 rm -f conftest.$ac_objext conftest.$ac_ext
4221 fi 4227 fi
4222 echo "$as_me:4222: result: $ac_cv_decl_sys_siglist" >&5 4228 echo "$as_me:4228: result: $ac_cv_decl_sys_siglist" >&5
4223 echo "${ECHO_T}$ac_cv_decl_sys_siglist" >&6 4229 echo "${ECHO_T}$ac_cv_decl_sys_siglist" >&6
4224 if test $ac_cv_decl_sys_siglist = yes; then 4230 if test $ac_cv_decl_sys_siglist = yes; then
4225 4231
4226 cat >>confdefs.h <<\EOF 4232 cat >>confdefs.h <<\EOF
4227 #define SYS_SIGLIST_DECLARED 1 4233 #define SYS_SIGLIST_DECLARED 1
4228 EOF 4234 EOF
4229 4235
4230 fi 4236 fi
4231 4237
4232 echo "$as_me:4232: checking for sys/wait.h that is POSIX.1 compatible" >&5 4238 echo "$as_me:4238: checking for sys/wait.h that is POSIX.1 compatible" >&5
4233 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6 4239 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
4234 if test "${ac_cv_header_sys_wait_h+set}" = set; then 4240 if test "${ac_cv_header_sys_wait_h+set}" = set; then
4235 echo $ECHO_N "(cached) $ECHO_C" >&6 4241 echo $ECHO_N "(cached) $ECHO_C" >&6
4236 else 4242 else
4237 cat >conftest.$ac_ext <<_ACEOF 4243 cat >conftest.$ac_ext <<_ACEOF
4238 #line 4238 "configure" 4244 #line 4244 "configure"
4239 #include "confdefs.h" 4245 #include "confdefs.h"
4240 #include <sys/types.h> 4246 #include <sys/types.h>
4241 #include <sys/wait.h> 4247 #include <sys/wait.h>
4242 #ifndef WEXITSTATUS 4248 #ifndef WEXITSTATUS
4243 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) 4249 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
4255 ; 4261 ;
4256 return 0; 4262 return 0;
4257 } 4263 }
4258 _ACEOF 4264 _ACEOF
4259 rm -f conftest.$ac_objext 4265 rm -f conftest.$ac_objext
4260 if { (eval echo "$as_me:4260: \"$ac_compile\"") >&5 4266 if { (eval echo "$as_me:4266: \"$ac_compile\"") >&5
4261 (eval $ac_compile) 2>&5 4267 (eval $ac_compile) 2>&5
4262 ac_status=$? 4268 ac_status=$?
4263 echo "$as_me:4263: \$? = $ac_status" >&5 4269 echo "$as_me:4269: \$? = $ac_status" >&5
4264 (exit $ac_status); } && 4270 (exit $ac_status); } &&
4265 { ac_try='test -s conftest.$ac_objext' 4271 { ac_try='test -s conftest.$ac_objext'
4266 { (eval echo "$as_me:4266: \"$ac_try\"") >&5 4272 { (eval echo "$as_me:4272: \"$ac_try\"") >&5
4267 (eval $ac_try) 2>&5 4273 (eval $ac_try) 2>&5
4268 ac_status=$? 4274 ac_status=$?
4269 echo "$as_me:4269: \$? = $ac_status" >&5 4275 echo "$as_me:4275: \$? = $ac_status" >&5
4270 (exit $ac_status); }; }; then 4276 (exit $ac_status); }; }; then
4271 ac_cv_header_sys_wait_h=yes 4277 ac_cv_header_sys_wait_h=yes
4272 else 4278 else
4273 echo "$as_me: failed program was:" >&5 4279 echo "$as_me: failed program was:" >&5
4274 cat conftest.$ac_ext >&5 4280 cat conftest.$ac_ext >&5
4275 ac_cv_header_sys_wait_h=no 4281 ac_cv_header_sys_wait_h=no
4276 fi 4282 fi
4277 rm -f conftest.$ac_objext conftest.$ac_ext 4283 rm -f conftest.$ac_objext conftest.$ac_ext
4278 fi 4284 fi
4279 echo "$as_me:4279: result: $ac_cv_header_sys_wait_h" >&5 4285 echo "$as_me:4285: result: $ac_cv_header_sys_wait_h" >&5
4280 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6 4286 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
4281 if test $ac_cv_header_sys_wait_h = yes; then 4287 if test $ac_cv_header_sys_wait_h = yes; then
4282 4288
4283 cat >>confdefs.h <<\EOF 4289 cat >>confdefs.h <<\EOF
4284 #define HAVE_SYS_WAIT_H 1 4290 #define HAVE_SYS_WAIT_H 1
4285 EOF 4291 EOF
4286 4292
4287 fi 4293 fi
4288 4294
4289 echo "$as_me:4289: checking for struct utimbuf" >&5 4295 echo "$as_me:4295: checking for struct utimbuf" >&5
4290 echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6 4296 echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6
4291 if test "${emacs_cv_struct_utimbuf+set}" = set; then 4297 if test "${emacs_cv_struct_utimbuf+set}" = set; then
4292 echo $ECHO_N "(cached) $ECHO_C" >&6 4298 echo $ECHO_N "(cached) $ECHO_C" >&6
4293 else 4299 else
4294 cat >conftest.$ac_ext <<_ACEOF 4300 cat >conftest.$ac_ext <<_ACEOF
4295 #line 4295 "configure" 4301 #line 4301 "configure"
4296 #include "confdefs.h" 4302 #include "confdefs.h"
4297 #ifdef TIME_WITH_SYS_TIME 4303 #ifdef TIME_WITH_SYS_TIME
4298 #include <sys/time.h> 4304 #include <sys/time.h>
4299 #include <time.h> 4305 #include <time.h>
4300 #else 4306 #else
4314 ; 4320 ;
4315 return 0; 4321 return 0;
4316 } 4322 }
4317 _ACEOF 4323 _ACEOF
4318 rm -f conftest.$ac_objext 4324 rm -f conftest.$ac_objext
4319 if { (eval echo "$as_me:4319: \"$ac_compile\"") >&5 4325 if { (eval echo "$as_me:4325: \"$ac_compile\"") >&5
4320 (eval $ac_compile) 2>&5 4326 (eval $ac_compile) 2>&5
4321 ac_status=$? 4327 ac_status=$?
4322 echo "$as_me:4322: \$? = $ac_status" >&5 4328 echo "$as_me:4328: \$? = $ac_status" >&5
4323 (exit $ac_status); } && 4329 (exit $ac_status); } &&
4324 { ac_try='test -s conftest.$ac_objext' 4330 { ac_try='test -s conftest.$ac_objext'
4325 { (eval echo "$as_me:4325: \"$ac_try\"") >&5 4331 { (eval echo "$as_me:4331: \"$ac_try\"") >&5
4326 (eval $ac_try) 2>&5 4332 (eval $ac_try) 2>&5
4327 ac_status=$? 4333 ac_status=$?
4328 echo "$as_me:4328: \$? = $ac_status" >&5 4334 echo "$as_me:4334: \$? = $ac_status" >&5
4329 (exit $ac_status); }; }; then 4335 (exit $ac_status); }; }; then
4330 emacs_cv_struct_utimbuf=yes 4336 emacs_cv_struct_utimbuf=yes
4331 else 4337 else
4332 echo "$as_me: failed program was:" >&5 4338 echo "$as_me: failed program was:" >&5
4333 cat conftest.$ac_ext >&5 4339 cat conftest.$ac_ext >&5
4334 emacs_cv_struct_utimbuf=no 4340 emacs_cv_struct_utimbuf=no
4335 fi 4341 fi
4336 rm -f conftest.$ac_objext conftest.$ac_ext 4342 rm -f conftest.$ac_objext conftest.$ac_ext
4337 fi 4343 fi
4338 echo "$as_me:4338: result: $emacs_cv_struct_utimbuf" >&5 4344 echo "$as_me:4344: result: $emacs_cv_struct_utimbuf" >&5
4339 echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6 4345 echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6
4340 if test $emacs_cv_struct_utimbuf = yes; then 4346 if test $emacs_cv_struct_utimbuf = yes; then
4341 cat >>confdefs.h <<\EOF 4347 cat >>confdefs.h <<\EOF
4342 #define HAVE_STRUCT_UTIMBUF 1 4348 #define HAVE_STRUCT_UTIMBUF 1
4343 EOF 4349 EOF
4344 4350
4345 fi 4351 fi
4346 4352
4347 echo "$as_me:4347: checking return type of signal handlers" >&5 4353 echo "$as_me:4353: checking return type of signal handlers" >&5
4348 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 4354 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
4349 if test "${ac_cv_type_signal+set}" = set; then 4355 if test "${ac_cv_type_signal+set}" = set; then
4350 echo $ECHO_N "(cached) $ECHO_C" >&6 4356 echo $ECHO_N "(cached) $ECHO_C" >&6
4351 else 4357 else
4352 cat >conftest.$ac_ext <<_ACEOF 4358 cat >conftest.$ac_ext <<_ACEOF
4353 #line 4353 "configure" 4359 #line 4359 "configure"
4354 #include "confdefs.h" 4360 #include "confdefs.h"
4355 #include <sys/types.h> 4361 #include <sys/types.h>
4356 #include <signal.h> 4362 #include <signal.h>
4357 #ifdef signal 4363 #ifdef signal
4358 # undef signal 4364 # undef signal
4370 ; 4376 ;
4371 return 0; 4377 return 0;
4372 } 4378 }
4373 _ACEOF 4379 _ACEOF
4374 rm -f conftest.$ac_objext 4380 rm -f conftest.$ac_objext
4375 if { (eval echo "$as_me:4375: \"$ac_compile\"") >&5 4381 if { (eval echo "$as_me:4381: \"$ac_compile\"") >&5
4376 (eval $ac_compile) 2>&5 4382 (eval $ac_compile) 2>&5
4377 ac_status=$? 4383 ac_status=$?
4378 echo "$as_me:4378: \$? = $ac_status" >&5 4384 echo "$as_me:4384: \$? = $ac_status" >&5
4379 (exit $ac_status); } && 4385 (exit $ac_status); } &&
4380 { ac_try='test -s conftest.$ac_objext' 4386 { ac_try='test -s conftest.$ac_objext'
4381 { (eval echo "$as_me:4381: \"$ac_try\"") >&5 4387 { (eval echo "$as_me:4387: \"$ac_try\"") >&5
4382 (eval $ac_try) 2>&5 4388 (eval $ac_try) 2>&5
4383 ac_status=$? 4389 ac_status=$?
4384 echo "$as_me:4384: \$? = $ac_status" >&5 4390 echo "$as_me:4390: \$? = $ac_status" >&5
4385 (exit $ac_status); }; }; then 4391 (exit $ac_status); }; }; then
4386 ac_cv_type_signal=void 4392 ac_cv_type_signal=void
4387 else 4393 else
4388 echo "$as_me: failed program was:" >&5 4394 echo "$as_me: failed program was:" >&5
4389 cat conftest.$ac_ext >&5 4395 cat conftest.$ac_ext >&5
4390 ac_cv_type_signal=int 4396 ac_cv_type_signal=int
4391 fi 4397 fi
4392 rm -f conftest.$ac_objext conftest.$ac_ext 4398 rm -f conftest.$ac_objext conftest.$ac_ext
4393 fi 4399 fi
4394 echo "$as_me:4394: result: $ac_cv_type_signal" >&5 4400 echo "$as_me:4400: result: $ac_cv_type_signal" >&5
4395 echo "${ECHO_T}$ac_cv_type_signal" >&6 4401 echo "${ECHO_T}$ac_cv_type_signal" >&6
4396 4402
4397 cat >>confdefs.h <<EOF 4403 cat >>confdefs.h <<EOF
4398 #define RETSIGTYPE $ac_cv_type_signal 4404 #define RETSIGTYPE $ac_cv_type_signal
4399 EOF 4405 EOF
4400 4406
4401 echo "$as_me:4401: checking for speed_t" >&5 4407 echo "$as_me:4407: checking for speed_t" >&5
4402 echo $ECHO_N "checking for speed_t... $ECHO_C" >&6 4408 echo $ECHO_N "checking for speed_t... $ECHO_C" >&6
4403 if test "${emacs_cv_speed_t+set}" = set; then 4409 if test "${emacs_cv_speed_t+set}" = set; then
4404 echo $ECHO_N "(cached) $ECHO_C" >&6 4410 echo $ECHO_N "(cached) $ECHO_C" >&6
4405 else 4411 else
4406 cat >conftest.$ac_ext <<_ACEOF 4412 cat >conftest.$ac_ext <<_ACEOF
4407 #line 4407 "configure" 4413 #line 4413 "configure"
4408 #include "confdefs.h" 4414 #include "confdefs.h"
4409 #include <termios.h> 4415 #include <termios.h>
4410 int 4416 int
4411 main () 4417 main ()
4412 { 4418 {
4414 ; 4420 ;
4415 return 0; 4421 return 0;
4416 } 4422 }
4417 _ACEOF 4423 _ACEOF
4418 rm -f conftest.$ac_objext 4424 rm -f conftest.$ac_objext
4419 if { (eval echo "$as_me:4419: \"$ac_compile\"") >&5 4425 if { (eval echo "$as_me:4425: \"$ac_compile\"") >&5
4420 (eval $ac_compile) 2>&5 4426 (eval $ac_compile) 2>&5
4421 ac_status=$? 4427 ac_status=$?
4422 echo "$as_me:4422: \$? = $ac_status" >&5 4428 echo "$as_me:4428: \$? = $ac_status" >&5
4423 (exit $ac_status); } && 4429 (exit $ac_status); } &&
4424 { ac_try='test -s conftest.$ac_objext' 4430 { ac_try='test -s conftest.$ac_objext'
4425 { (eval echo "$as_me:4425: \"$ac_try\"") >&5 4431 { (eval echo "$as_me:4431: \"$ac_try\"") >&5
4426 (eval $ac_try) 2>&5 4432 (eval $ac_try) 2>&5
4427 ac_status=$? 4433 ac_status=$?
4428 echo "$as_me:4428: \$? = $ac_status" >&5 4434 echo "$as_me:4434: \$? = $ac_status" >&5
4429 (exit $ac_status); }; }; then 4435 (exit $ac_status); }; }; then
4430 emacs_cv_speed_t=yes 4436 emacs_cv_speed_t=yes
4431 else 4437 else
4432 echo "$as_me: failed program was:" >&5 4438 echo "$as_me: failed program was:" >&5
4433 cat conftest.$ac_ext >&5 4439 cat conftest.$ac_ext >&5
4434 emacs_cv_speed_t=no 4440 emacs_cv_speed_t=no
4435 fi 4441 fi
4436 rm -f conftest.$ac_objext conftest.$ac_ext 4442 rm -f conftest.$ac_objext conftest.$ac_ext
4437 fi 4443 fi
4438 echo "$as_me:4438: result: $emacs_cv_speed_t" >&5 4444 echo "$as_me:4444: result: $emacs_cv_speed_t" >&5
4439 echo "${ECHO_T}$emacs_cv_speed_t" >&6 4445 echo "${ECHO_T}$emacs_cv_speed_t" >&6
4440 if test $emacs_cv_speed_t = yes; then 4446 if test $emacs_cv_speed_t = yes; then
4441 cat >>confdefs.h <<\EOF 4447 cat >>confdefs.h <<\EOF
4442 #define HAVE_SPEED_T 1 4448 #define HAVE_SPEED_T 1
4443 EOF 4449 EOF
4444 4450
4445 fi 4451 fi
4446 4452
4447 echo "$as_me:4447: checking for struct timeval" >&5 4453 echo "$as_me:4453: checking for struct timeval" >&5
4448 echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6 4454 echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6
4449 if test "${emacs_cv_struct_timeval+set}" = set; then 4455 if test "${emacs_cv_struct_timeval+set}" = set; then
4450 echo $ECHO_N "(cached) $ECHO_C" >&6 4456 echo $ECHO_N "(cached) $ECHO_C" >&6
4451 else 4457 else
4452 cat >conftest.$ac_ext <<_ACEOF 4458 cat >conftest.$ac_ext <<_ACEOF
4453 #line 4453 "configure" 4459 #line 4459 "configure"
4454 #include "confdefs.h" 4460 #include "confdefs.h"
4455 #ifdef TIME_WITH_SYS_TIME 4461 #ifdef TIME_WITH_SYS_TIME
4456 #include <sys/time.h> 4462 #include <sys/time.h>
4457 #include <time.h> 4463 #include <time.h>
4458 #else 4464 #else
4469 ; 4475 ;
4470 return 0; 4476 return 0;
4471 } 4477 }
4472 _ACEOF 4478 _ACEOF
4473 rm -f conftest.$ac_objext 4479 rm -f conftest.$ac_objext
4474 if { (eval echo "$as_me:4474: \"$ac_compile\"") >&5 4480 if { (eval echo "$as_me:4480: \"$ac_compile\"") >&5
4475 (eval $ac_compile) 2>&5 4481 (eval $ac_compile) 2>&5
4476 ac_status=$? 4482 ac_status=$?
4477 echo "$as_me:4477: \$? = $ac_status" >&5 4483 echo "$as_me:4483: \$? = $ac_status" >&5
4478 (exit $ac_status); } && 4484 (exit $ac_status); } &&
4479 { ac_try='test -s conftest.$ac_objext' 4485 { ac_try='test -s conftest.$ac_objext'
4480 { (eval echo "$as_me:4480: \"$ac_try\"") >&5 4486 { (eval echo "$as_me:4486: \"$ac_try\"") >&5
4481 (eval $ac_try) 2>&5 4487 (eval $ac_try) 2>&5
4482 ac_status=$? 4488 ac_status=$?
4483 echo "$as_me:4483: \$? = $ac_status" >&5 4489 echo "$as_me:4489: \$? = $ac_status" >&5
4484 (exit $ac_status); }; }; then 4490 (exit $ac_status); }; }; then
4485 emacs_cv_struct_timeval=yes 4491 emacs_cv_struct_timeval=yes
4486 else 4492 else
4487 echo "$as_me: failed program was:" >&5 4493 echo "$as_me: failed program was:" >&5
4488 cat conftest.$ac_ext >&5 4494 cat conftest.$ac_ext >&5
4489 emacs_cv_struct_timeval=no 4495 emacs_cv_struct_timeval=no
4490 fi 4496 fi
4491 rm -f conftest.$ac_objext conftest.$ac_ext 4497 rm -f conftest.$ac_objext conftest.$ac_ext
4492 fi 4498 fi
4493 echo "$as_me:4493: result: $emacs_cv_struct_timeval" >&5 4499 echo "$as_me:4499: result: $emacs_cv_struct_timeval" >&5
4494 echo "${ECHO_T}$emacs_cv_struct_timeval" >&6 4500 echo "${ECHO_T}$emacs_cv_struct_timeval" >&6
4495 HAVE_TIMEVAL=$emacs_cv_struct_timeval 4501 HAVE_TIMEVAL=$emacs_cv_struct_timeval
4496 if test $emacs_cv_struct_timeval = yes; then 4502 if test $emacs_cv_struct_timeval = yes; then
4497 cat >>confdefs.h <<\EOF 4503 cat >>confdefs.h <<\EOF
4498 #define HAVE_TIMEVAL 1 4504 #define HAVE_TIMEVAL 1
4499 EOF 4505 EOF
4500 4506
4501 fi 4507 fi
4502 4508
4503 echo "$as_me:4503: checking for struct exception" >&5 4509 echo "$as_me:4509: checking for struct exception" >&5
4504 echo $ECHO_N "checking for struct exception... $ECHO_C" >&6 4510 echo $ECHO_N "checking for struct exception... $ECHO_C" >&6
4505 if test "${emacs_cv_struct_exception+set}" = set; then 4511 if test "${emacs_cv_struct_exception+set}" = set; then
4506 echo $ECHO_N "(cached) $ECHO_C" >&6 4512 echo $ECHO_N "(cached) $ECHO_C" >&6
4507 else 4513 else
4508 cat >conftest.$ac_ext <<_ACEOF 4514 cat >conftest.$ac_ext <<_ACEOF
4509 #line 4509 "configure" 4515 #line 4515 "configure"
4510 #include "confdefs.h" 4516 #include "confdefs.h"
4511 #include <math.h> 4517 #include <math.h>
4512 int 4518 int
4513 main () 4519 main ()
4514 { 4520 {
4516 ; 4522 ;
4517 return 0; 4523 return 0;
4518 } 4524 }
4519 _ACEOF 4525 _ACEOF
4520 rm -f conftest.$ac_objext 4526 rm -f conftest.$ac_objext
4521 if { (eval echo "$as_me:4521: \"$ac_compile\"") >&5 4527 if { (eval echo "$as_me:4527: \"$ac_compile\"") >&5
4522 (eval $ac_compile) 2>&5 4528 (eval $ac_compile) 2>&5
4523 ac_status=$? 4529 ac_status=$?
4524 echo "$as_me:4524: \$? = $ac_status" >&5 4530 echo "$as_me:4530: \$? = $ac_status" >&5
4525 (exit $ac_status); } && 4531 (exit $ac_status); } &&
4526 { ac_try='test -s conftest.$ac_objext' 4532 { ac_try='test -s conftest.$ac_objext'
4527 { (eval echo "$as_me:4527: \"$ac_try\"") >&5 4533 { (eval echo "$as_me:4533: \"$ac_try\"") >&5
4528 (eval $ac_try) 2>&5 4534 (eval $ac_try) 2>&5
4529 ac_status=$? 4535 ac_status=$?
4530 echo "$as_me:4530: \$? = $ac_status" >&5 4536 echo "$as_me:4536: \$? = $ac_status" >&5
4531 (exit $ac_status); }; }; then 4537 (exit $ac_status); }; }; then
4532 emacs_cv_struct_exception=yes 4538 emacs_cv_struct_exception=yes
4533 else 4539 else
4534 echo "$as_me: failed program was:" >&5 4540 echo "$as_me: failed program was:" >&5
4535 cat conftest.$ac_ext >&5 4541 cat conftest.$ac_ext >&5
4536 emacs_cv_struct_exception=no 4542 emacs_cv_struct_exception=no
4537 fi 4543 fi
4538 rm -f conftest.$ac_objext conftest.$ac_ext 4544 rm -f conftest.$ac_objext conftest.$ac_ext
4539 fi 4545 fi
4540 echo "$as_me:4540: result: $emacs_cv_struct_exception" >&5 4546 echo "$as_me:4546: result: $emacs_cv_struct_exception" >&5
4541 echo "${ECHO_T}$emacs_cv_struct_exception" >&6 4547 echo "${ECHO_T}$emacs_cv_struct_exception" >&6
4542 HAVE_EXCEPTION=$emacs_cv_struct_exception 4548 HAVE_EXCEPTION=$emacs_cv_struct_exception
4543 if test $emacs_cv_struct_exception != yes; then 4549 if test $emacs_cv_struct_exception != yes; then
4544 cat >>confdefs.h <<\EOF 4550 cat >>confdefs.h <<\EOF
4545 #define NO_MATHERR 1 4551 #define NO_MATHERR 1
4546 EOF 4552 EOF
4547 4553
4548 fi 4554 fi
4549 4555
4550 echo "$as_me:4550: checking whether struct tm is in sys/time.h or time.h" >&5 4556 echo "$as_me:4556: checking whether struct tm is in sys/time.h or time.h" >&5
4551 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 4557 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
4552 if test "${ac_cv_struct_tm+set}" = set; then 4558 if test "${ac_cv_struct_tm+set}" = set; then
4553 echo $ECHO_N "(cached) $ECHO_C" >&6 4559 echo $ECHO_N "(cached) $ECHO_C" >&6
4554 else 4560 else
4555 cat >conftest.$ac_ext <<_ACEOF 4561 cat >conftest.$ac_ext <<_ACEOF
4556 #line 4556 "configure" 4562 #line 4562 "configure"
4557 #include "confdefs.h" 4563 #include "confdefs.h"
4558 #include <sys/types.h> 4564 #include <sys/types.h>
4559 #include <time.h> 4565 #include <time.h>
4560 4566
4561 int 4567 int
4565 ; 4571 ;
4566 return 0; 4572 return 0;
4567 } 4573 }
4568 _ACEOF 4574 _ACEOF
4569 rm -f conftest.$ac_objext 4575 rm -f conftest.$ac_objext
4570 if { (eval echo "$as_me:4570: \"$ac_compile\"") >&5 4576 if { (eval echo "$as_me:4576: \"$ac_compile\"") >&5
4571 (eval $ac_compile) 2>&5 4577 (eval $ac_compile) 2>&5
4572 ac_status=$? 4578 ac_status=$?
4573 echo "$as_me:4573: \$? = $ac_status" >&5 4579 echo "$as_me:4579: \$? = $ac_status" >&5
4574 (exit $ac_status); } && 4580 (exit $ac_status); } &&
4575 { ac_try='test -s conftest.$ac_objext' 4581 { ac_try='test -s conftest.$ac_objext'
4576 { (eval echo "$as_me:4576: \"$ac_try\"") >&5 4582 { (eval echo "$as_me:4582: \"$ac_try\"") >&5
4577 (eval $ac_try) 2>&5 4583 (eval $ac_try) 2>&5
4578 ac_status=$? 4584 ac_status=$?
4579 echo "$as_me:4579: \$? = $ac_status" >&5 4585 echo "$as_me:4585: \$? = $ac_status" >&5
4580 (exit $ac_status); }; }; then 4586 (exit $ac_status); }; }; then
4581 ac_cv_struct_tm=time.h 4587 ac_cv_struct_tm=time.h
4582 else 4588 else
4583 echo "$as_me: failed program was:" >&5 4589 echo "$as_me: failed program was:" >&5
4584 cat conftest.$ac_ext >&5 4590 cat conftest.$ac_ext >&5
4585 ac_cv_struct_tm=sys/time.h 4591 ac_cv_struct_tm=sys/time.h
4586 fi 4592 fi
4587 rm -f conftest.$ac_objext conftest.$ac_ext 4593 rm -f conftest.$ac_objext conftest.$ac_ext
4588 fi 4594 fi
4589 echo "$as_me:4589: result: $ac_cv_struct_tm" >&5 4595 echo "$as_me:4595: result: $ac_cv_struct_tm" >&5
4590 echo "${ECHO_T}$ac_cv_struct_tm" >&6 4596 echo "${ECHO_T}$ac_cv_struct_tm" >&6
4591 if test $ac_cv_struct_tm = sys/time.h; then 4597 if test $ac_cv_struct_tm = sys/time.h; then
4592 4598
4593 cat >>confdefs.h <<\EOF 4599 cat >>confdefs.h <<\EOF
4594 #define TM_IN_SYS_TIME 1 4600 #define TM_IN_SYS_TIME 1
4595 EOF 4601 EOF
4596 4602
4597 fi 4603 fi
4598 4604
4599 echo "$as_me:4599: checking for struct tm.tm_zone" >&5 4605 echo "$as_me:4605: checking for struct tm.tm_zone" >&5
4600 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6 4606 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
4601 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then 4607 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
4602 echo $ECHO_N "(cached) $ECHO_C" >&6 4608 echo $ECHO_N "(cached) $ECHO_C" >&6
4603 else 4609 else
4604 cat >conftest.$ac_ext <<_ACEOF 4610 cat >conftest.$ac_ext <<_ACEOF
4605 #line 4605 "configure" 4611 #line 4611 "configure"
4606 #include "confdefs.h" 4612 #include "confdefs.h"
4607 #include <sys/types.h> 4613 #include <sys/types.h>
4608 #include <$ac_cv_struct_tm> 4614 #include <$ac_cv_struct_tm>
4609 4615
4610 int 4616 int
4616 ; 4622 ;
4617 return 0; 4623 return 0;
4618 } 4624 }
4619 _ACEOF 4625 _ACEOF
4620 rm -f conftest.$ac_objext 4626 rm -f conftest.$ac_objext
4621 if { (eval echo "$as_me:4621: \"$ac_compile\"") >&5 4627 if { (eval echo "$as_me:4627: \"$ac_compile\"") >&5
4622 (eval $ac_compile) 2>&5 4628 (eval $ac_compile) 2>&5
4623 ac_status=$? 4629 ac_status=$?
4624 echo "$as_me:4624: \$? = $ac_status" >&5 4630 echo "$as_me:4630: \$? = $ac_status" >&5
4625 (exit $ac_status); } && 4631 (exit $ac_status); } &&
4626 { ac_try='test -s conftest.$ac_objext' 4632 { ac_try='test -s conftest.$ac_objext'
4627 { (eval echo "$as_me:4627: \"$ac_try\"") >&5 4633 { (eval echo "$as_me:4633: \"$ac_try\"") >&5
4628 (eval $ac_try) 2>&5 4634 (eval $ac_try) 2>&5
4629 ac_status=$? 4635 ac_status=$?
4630 echo "$as_me:4630: \$? = $ac_status" >&5 4636 echo "$as_me:4636: \$? = $ac_status" >&5
4631 (exit $ac_status); }; }; then 4637 (exit $ac_status); }; }; then
4632 ac_cv_member_struct_tm_tm_zone=yes 4638 ac_cv_member_struct_tm_tm_zone=yes
4633 else 4639 else
4634 echo "$as_me: failed program was:" >&5 4640 echo "$as_me: failed program was:" >&5
4635 cat conftest.$ac_ext >&5 4641 cat conftest.$ac_ext >&5
4636 ac_cv_member_struct_tm_tm_zone=no 4642 ac_cv_member_struct_tm_tm_zone=no
4637 fi 4643 fi
4638 rm -f conftest.$ac_objext conftest.$ac_ext 4644 rm -f conftest.$ac_objext conftest.$ac_ext
4639 fi 4645 fi
4640 echo "$as_me:4640: result: $ac_cv_member_struct_tm_tm_zone" >&5 4646 echo "$as_me:4646: result: $ac_cv_member_struct_tm_tm_zone" >&5
4641 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6 4647 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
4642 if test $ac_cv_member_struct_tm_tm_zone = yes; then 4648 if test $ac_cv_member_struct_tm_tm_zone = yes; then
4643 4649
4644 cat >>confdefs.h <<EOF 4650 cat >>confdefs.h <<EOF
4645 #define HAVE_STRUCT_TM_TM_ZONE 1 4651 #define HAVE_STRUCT_TM_TM_ZONE 1
4652 cat >>confdefs.h <<\EOF 4658 cat >>confdefs.h <<\EOF
4653 #define HAVE_TM_ZONE 1 4659 #define HAVE_TM_ZONE 1
4654 EOF 4660 EOF
4655 4661
4656 else 4662 else
4657 echo "$as_me:4657: checking for tzname" >&5 4663 echo "$as_me:4663: checking for tzname" >&5
4658 echo $ECHO_N "checking for tzname... $ECHO_C" >&6 4664 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
4659 if test "${ac_cv_var_tzname+set}" = set; then 4665 if test "${ac_cv_var_tzname+set}" = set; then
4660 echo $ECHO_N "(cached) $ECHO_C" >&6 4666 echo $ECHO_N "(cached) $ECHO_C" >&6
4661 else 4667 else
4662 cat >conftest.$ac_ext <<_ACEOF 4668 cat >conftest.$ac_ext <<_ACEOF
4663 #line 4663 "configure" 4669 #line 4669 "configure"
4664 #include "confdefs.h" 4670 #include "confdefs.h"
4665 #include <time.h> 4671 #include <time.h>
4666 #ifndef tzname /* For SGI. */ 4672 #ifndef tzname /* For SGI. */
4667 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ 4673 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
4668 #endif 4674 #endif
4674 ; 4680 ;
4675 return 0; 4681 return 0;
4676 } 4682 }
4677 _ACEOF 4683 _ACEOF
4678 rm -f conftest.$ac_objext conftest$ac_exeext 4684 rm -f conftest.$ac_objext conftest$ac_exeext
4679 if { (eval echo "$as_me:4679: \"$ac_link\"") >&5 4685 if { (eval echo "$as_me:4685: \"$ac_link\"") >&5
4680 (eval $ac_link) 2>&5 4686 (eval $ac_link) 2>&5
4681 ac_status=$? 4687 ac_status=$?
4682 echo "$as_me:4682: \$? = $ac_status" >&5 4688 echo "$as_me:4688: \$? = $ac_status" >&5
4683 (exit $ac_status); } && 4689 (exit $ac_status); } &&
4684 { ac_try='test -s conftest$ac_exeext' 4690 { ac_try='test -s conftest$ac_exeext'
4685 { (eval echo "$as_me:4685: \"$ac_try\"") >&5 4691 { (eval echo "$as_me:4691: \"$ac_try\"") >&5
4686 (eval $ac_try) 2>&5 4692 (eval $ac_try) 2>&5
4687 ac_status=$? 4693 ac_status=$?
4688 echo "$as_me:4688: \$? = $ac_status" >&5 4694 echo "$as_me:4694: \$? = $ac_status" >&5
4689 (exit $ac_status); }; }; then 4695 (exit $ac_status); }; }; then
4690 ac_cv_var_tzname=yes 4696 ac_cv_var_tzname=yes
4691 else 4697 else
4692 echo "$as_me: failed program was:" >&5 4698 echo "$as_me: failed program was:" >&5
4693 cat conftest.$ac_ext >&5 4699 cat conftest.$ac_ext >&5
4694 ac_cv_var_tzname=no 4700 ac_cv_var_tzname=no
4695 fi 4701 fi
4696 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4702 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4697 fi 4703 fi
4698 echo "$as_me:4698: result: $ac_cv_var_tzname" >&5 4704 echo "$as_me:4704: result: $ac_cv_var_tzname" >&5
4699 echo "${ECHO_T}$ac_cv_var_tzname" >&6 4705 echo "${ECHO_T}$ac_cv_var_tzname" >&6
4700 if test $ac_cv_var_tzname = yes; then 4706 if test $ac_cv_var_tzname = yes; then
4701 4707
4702 cat >>confdefs.h <<\EOF 4708 cat >>confdefs.h <<\EOF
4703 #define HAVE_TZNAME 1 4709 #define HAVE_TZNAME 1
4704 EOF 4710 EOF
4705 4711
4706 fi 4712 fi
4707 fi 4713 fi
4708 4714
4709 echo "$as_me:4709: checking for tm_gmtoff in struct tm" >&5 4715 echo "$as_me:4715: checking for tm_gmtoff in struct tm" >&5
4710 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6 4716 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
4711 if test "${emacs_cv_tm_gmtoff+set}" = set; then 4717 if test "${emacs_cv_tm_gmtoff+set}" = set; then
4712 echo $ECHO_N "(cached) $ECHO_C" >&6 4718 echo $ECHO_N "(cached) $ECHO_C" >&6
4713 else 4719 else
4714 cat >conftest.$ac_ext <<_ACEOF 4720 cat >conftest.$ac_ext <<_ACEOF
4715 #line 4715 "configure" 4721 #line 4721 "configure"
4716 #include "confdefs.h" 4722 #include "confdefs.h"
4717 #include <time.h> 4723 #include <time.h>
4718 int 4724 int
4719 main () 4725 main ()
4720 { 4726 {
4722 ; 4728 ;
4723 return 0; 4729 return 0;
4724 } 4730 }
4725 _ACEOF 4731 _ACEOF
4726 rm -f conftest.$ac_objext conftest$ac_exeext 4732 rm -f conftest.$ac_objext conftest$ac_exeext
4727 if { (eval echo "$as_me:4727: \"$ac_link\"") >&5 4733 if { (eval echo "$as_me:4733: \"$ac_link\"") >&5
4728 (eval $ac_link) 2>&5 4734 (eval $ac_link) 2>&5
4729 ac_status=$? 4735 ac_status=$?
4730 echo "$as_me:4730: \$? = $ac_status" >&5 4736 echo "$as_me:4736: \$? = $ac_status" >&5
4731 (exit $ac_status); } && 4737 (exit $ac_status); } &&
4732 { ac_try='test -s conftest$ac_exeext' 4738 { ac_try='test -s conftest$ac_exeext'
4733 { (eval echo "$as_me:4733: \"$ac_try\"") >&5 4739 { (eval echo "$as_me:4739: \"$ac_try\"") >&5
4734 (eval $ac_try) 2>&5 4740 (eval $ac_try) 2>&5
4735 ac_status=$? 4741 ac_status=$?
4736 echo "$as_me:4736: \$? = $ac_status" >&5 4742 echo "$as_me:4742: \$? = $ac_status" >&5
4737 (exit $ac_status); }; }; then 4743 (exit $ac_status); }; }; then
4738 emacs_cv_tm_gmtoff=yes 4744 emacs_cv_tm_gmtoff=yes
4739 else 4745 else
4740 echo "$as_me: failed program was:" >&5 4746 echo "$as_me: failed program was:" >&5
4741 cat conftest.$ac_ext >&5 4747 cat conftest.$ac_ext >&5
4742 emacs_cv_tm_gmtoff=no 4748 emacs_cv_tm_gmtoff=no
4743 fi 4749 fi
4744 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4750 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4745 fi 4751 fi
4746 echo "$as_me:4746: result: $emacs_cv_tm_gmtoff" >&5 4752 echo "$as_me:4752: result: $emacs_cv_tm_gmtoff" >&5
4747 echo "${ECHO_T}$emacs_cv_tm_gmtoff" >&6 4753 echo "${ECHO_T}$emacs_cv_tm_gmtoff" >&6
4748 if test $emacs_cv_tm_gmtoff = yes; then 4754 if test $emacs_cv_tm_gmtoff = yes; then
4749 cat >>confdefs.h <<\EOF 4755 cat >>confdefs.h <<\EOF
4750 #define HAVE_TM_GMTOFF 1 4756 #define HAVE_TM_GMTOFF 1
4751 EOF 4757 EOF
4752 4758
4753 fi 4759 fi
4754 4760
4755 echo "$as_me:4755: checking for $CC option to accept ANSI C" >&5 4761 echo "$as_me:4761: checking for $CC option to accept ANSI C" >&5
4756 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 4762 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
4757 if test "${ac_cv_prog_cc_stdc+set}" = set; then 4763 if test "${ac_cv_prog_cc_stdc+set}" = set; then
4758 echo $ECHO_N "(cached) $ECHO_C" >&6 4764 echo $ECHO_N "(cached) $ECHO_C" >&6
4759 else 4765 else
4760 ac_cv_prog_cc_stdc=no 4766 ac_cv_prog_cc_stdc=no
4761 ac_save_CC=$CC 4767 ac_save_CC=$CC
4762 cat >conftest.$ac_ext <<_ACEOF 4768 cat >conftest.$ac_ext <<_ACEOF
4763 #line 4763 "configure" 4769 #line 4769 "configure"
4764 #include "confdefs.h" 4770 #include "confdefs.h"
4765 #include <stdarg.h> 4771 #include <stdarg.h>
4766 #include <stdio.h> 4772 #include <stdio.h>
4767 #include <sys/types.h> 4773 #include <sys/types.h>
4768 #include <sys/stat.h> 4774 #include <sys/stat.h>
4807 # SVR4 -Xc -D__EXTENSIONS__ 4813 # SVR4 -Xc -D__EXTENSIONS__
4808 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4814 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4809 do 4815 do
4810 CC="$ac_save_CC $ac_arg" 4816 CC="$ac_save_CC $ac_arg"
4811 rm -f conftest.$ac_objext 4817 rm -f conftest.$ac_objext
4812 if { (eval echo "$as_me:4812: \"$ac_compile\"") >&5 4818 if { (eval echo "$as_me:4818: \"$ac_compile\"") >&5
4813 (eval $ac_compile) 2>&5 4819 (eval $ac_compile) 2>&5
4814 ac_status=$? 4820 ac_status=$?
4815 echo "$as_me:4815: \$? = $ac_status" >&5 4821 echo "$as_me:4821: \$? = $ac_status" >&5
4816 (exit $ac_status); } && 4822 (exit $ac_status); } &&
4817 { ac_try='test -s conftest.$ac_objext' 4823 { ac_try='test -s conftest.$ac_objext'
4818 { (eval echo "$as_me:4818: \"$ac_try\"") >&5 4824 { (eval echo "$as_me:4824: \"$ac_try\"") >&5
4819 (eval $ac_try) 2>&5 4825 (eval $ac_try) 2>&5
4820 ac_status=$? 4826 ac_status=$?
4821 echo "$as_me:4821: \$? = $ac_status" >&5 4827 echo "$as_me:4827: \$? = $ac_status" >&5
4822 (exit $ac_status); }; }; then 4828 (exit $ac_status); }; }; then
4823 ac_cv_prog_cc_stdc=$ac_arg 4829 ac_cv_prog_cc_stdc=$ac_arg
4824 break 4830 break
4825 else 4831 else
4826 echo "$as_me: failed program was:" >&5 4832 echo "$as_me: failed program was:" >&5
4833 4839
4834 fi 4840 fi
4835 4841
4836 case "x$ac_cv_prog_cc_stdc" in 4842 case "x$ac_cv_prog_cc_stdc" in
4837 x|xno) 4843 x|xno)
4838 echo "$as_me:4838: result: none needed" >&5 4844 echo "$as_me:4844: result: none needed" >&5
4839 echo "${ECHO_T}none needed" >&6 ;; 4845 echo "${ECHO_T}none needed" >&6 ;;
4840 *) 4846 *)
4841 echo "$as_me:4841: result: $ac_cv_prog_cc_stdc" >&5 4847 echo "$as_me:4847: result: $ac_cv_prog_cc_stdc" >&5
4842 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 4848 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4843 CC="$CC $ac_cv_prog_cc_stdc" ;; 4849 CC="$CC $ac_cv_prog_cc_stdc" ;;
4844 esac 4850 esac
4845 4851
4846 echo "$as_me:4846: checking for function prototypes" >&5 4852 echo "$as_me:4852: checking for function prototypes" >&5
4847 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6 4853 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
4848 if test "$ac_cv_prog_cc_stdc" != no; then 4854 if test "$ac_cv_prog_cc_stdc" != no; then
4849 echo "$as_me:4849: result: yes" >&5 4855 echo "$as_me:4855: result: yes" >&5
4850 echo "${ECHO_T}yes" >&6 4856 echo "${ECHO_T}yes" >&6
4851 4857
4852 cat >>confdefs.h <<\EOF 4858 cat >>confdefs.h <<\EOF
4853 #define PROTOTYPES 1 4859 #define PROTOTYPES 1
4854 EOF 4860 EOF
4855 4861
4856 else 4862 else
4857 echo "$as_me:4857: result: no" >&5 4863 echo "$as_me:4863: result: no" >&5
4858 echo "${ECHO_T}no" >&6 4864 echo "${ECHO_T}no" >&6
4859 fi 4865 fi
4860 4866
4861 echo "$as_me:4861: checking for working volatile" >&5 4867 echo "$as_me:4867: checking for working volatile" >&5
4862 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6 4868 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
4863 if test "${ac_cv_c_volatile+set}" = set; then 4869 if test "${ac_cv_c_volatile+set}" = set; then
4864 echo $ECHO_N "(cached) $ECHO_C" >&6 4870 echo $ECHO_N "(cached) $ECHO_C" >&6
4865 else 4871 else
4866 cat >conftest.$ac_ext <<_ACEOF 4872 cat >conftest.$ac_ext <<_ACEOF
4867 #line 4867 "configure" 4873 #line 4873 "configure"
4868 #include "confdefs.h" 4874 #include "confdefs.h"
4869 4875
4870 int 4876 int
4871 main () 4877 main ()
4872 { 4878 {
4876 ; 4882 ;
4877 return 0; 4883 return 0;
4878 } 4884 }
4879 _ACEOF 4885 _ACEOF
4880 rm -f conftest.$ac_objext 4886 rm -f conftest.$ac_objext
4881 if { (eval echo "$as_me:4881: \"$ac_compile\"") >&5 4887 if { (eval echo "$as_me:4887: \"$ac_compile\"") >&5
4882 (eval $ac_compile) 2>&5 4888 (eval $ac_compile) 2>&5
4883 ac_status=$? 4889 ac_status=$?
4884 echo "$as_me:4884: \$? = $ac_status" >&5 4890 echo "$as_me:4890: \$? = $ac_status" >&5
4885 (exit $ac_status); } && 4891 (exit $ac_status); } &&
4886 { ac_try='test -s conftest.$ac_objext' 4892 { ac_try='test -s conftest.$ac_objext'
4887 { (eval echo "$as_me:4887: \"$ac_try\"") >&5 4893 { (eval echo "$as_me:4893: \"$ac_try\"") >&5
4888 (eval $ac_try) 2>&5 4894 (eval $ac_try) 2>&5
4889 ac_status=$? 4895 ac_status=$?
4890 echo "$as_me:4890: \$? = $ac_status" >&5 4896 echo "$as_me:4896: \$? = $ac_status" >&5
4891 (exit $ac_status); }; }; then 4897 (exit $ac_status); }; }; then
4892 ac_cv_c_volatile=yes 4898 ac_cv_c_volatile=yes
4893 else 4899 else
4894 echo "$as_me: failed program was:" >&5 4900 echo "$as_me: failed program was:" >&5
4895 cat conftest.$ac_ext >&5 4901 cat conftest.$ac_ext >&5
4896 ac_cv_c_volatile=no 4902 ac_cv_c_volatile=no
4897 fi 4903 fi
4898 rm -f conftest.$ac_objext conftest.$ac_ext 4904 rm -f conftest.$ac_objext conftest.$ac_ext
4899 fi 4905 fi
4900 echo "$as_me:4900: result: $ac_cv_c_volatile" >&5 4906 echo "$as_me:4906: result: $ac_cv_c_volatile" >&5
4901 echo "${ECHO_T}$ac_cv_c_volatile" >&6 4907 echo "${ECHO_T}$ac_cv_c_volatile" >&6
4902 if test $ac_cv_c_volatile = no; then 4908 if test $ac_cv_c_volatile = no; then
4903 4909
4904 cat >>confdefs.h <<\EOF 4910 cat >>confdefs.h <<\EOF
4905 #define volatile 4911 #define volatile
4906 EOF 4912 EOF
4907 4913
4908 fi 4914 fi
4909 4915
4910 echo "$as_me:4910: checking for an ANSI C-conforming const" >&5 4916 echo "$as_me:4916: checking for an ANSI C-conforming const" >&5
4911 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 4917 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4912 if test "${ac_cv_c_const+set}" = set; then 4918 if test "${ac_cv_c_const+set}" = set; then
4913 echo $ECHO_N "(cached) $ECHO_C" >&6 4919 echo $ECHO_N "(cached) $ECHO_C" >&6
4914 else 4920 else
4915 cat >conftest.$ac_ext <<_ACEOF 4921 cat >conftest.$ac_ext <<_ACEOF
4916 #line 4916 "configure" 4922 #line 4922 "configure"
4917 #include "confdefs.h" 4923 #include "confdefs.h"
4918 4924
4919 int 4925 int
4920 main () 4926 main ()
4921 { 4927 {
4969 ; 4975 ;
4970 return 0; 4976 return 0;
4971 } 4977 }
4972 _ACEOF 4978 _ACEOF
4973 rm -f conftest.$ac_objext 4979 rm -f conftest.$ac_objext
4974 if { (eval echo "$as_me:4974: \"$ac_compile\"") >&5 4980 if { (eval echo "$as_me:4980: \"$ac_compile\"") >&5
4975 (eval $ac_compile) 2>&5 4981 (eval $ac_compile) 2>&5
4976 ac_status=$? 4982 ac_status=$?
4977 echo "$as_me:4977: \$? = $ac_status" >&5 4983 echo "$as_me:4983: \$? = $ac_status" >&5
4978 (exit $ac_status); } && 4984 (exit $ac_status); } &&
4979 { ac_try='test -s conftest.$ac_objext' 4985 { ac_try='test -s conftest.$ac_objext'
4980 { (eval echo "$as_me:4980: \"$ac_try\"") >&5 4986 { (eval echo "$as_me:4986: \"$ac_try\"") >&5
4981 (eval $ac_try) 2>&5 4987 (eval $ac_try) 2>&5
4982 ac_status=$? 4988 ac_status=$?
4983 echo "$as_me:4983: \$? = $ac_status" >&5 4989 echo "$as_me:4989: \$? = $ac_status" >&5
4984 (exit $ac_status); }; }; then 4990 (exit $ac_status); }; }; then
4985 ac_cv_c_const=yes 4991 ac_cv_c_const=yes
4986 else 4992 else
4987 echo "$as_me: failed program was:" >&5 4993 echo "$as_me: failed program was:" >&5
4988 cat conftest.$ac_ext >&5 4994 cat conftest.$ac_ext >&5
4989 ac_cv_c_const=no 4995 ac_cv_c_const=no
4990 fi 4996 fi
4991 rm -f conftest.$ac_objext conftest.$ac_ext 4997 rm -f conftest.$ac_objext conftest.$ac_ext
4992 fi 4998 fi
4993 echo "$as_me:4993: result: $ac_cv_c_const" >&5 4999 echo "$as_me:4999: result: $ac_cv_c_const" >&5
4994 echo "${ECHO_T}$ac_cv_c_const" >&6 5000 echo "${ECHO_T}$ac_cv_c_const" >&6
4995 if test $ac_cv_c_const = no; then 5001 if test $ac_cv_c_const = no; then
4996 5002
4997 cat >>confdefs.h <<\EOF 5003 cat >>confdefs.h <<\EOF
4998 #define const 5004 #define const
4999 EOF 5005 EOF
5000 5006
5001 fi 5007 fi
5002 5008
5003 echo "$as_me:5003: checking for void * support" >&5 5009 echo "$as_me:5009: checking for void * support" >&5
5004 echo $ECHO_N "checking for void * support... $ECHO_C" >&6 5010 echo $ECHO_N "checking for void * support... $ECHO_C" >&6
5005 if test "${emacs_cv_void_star+set}" = set; then 5011 if test "${emacs_cv_void_star+set}" = set; then
5006 echo $ECHO_N "(cached) $ECHO_C" >&6 5012 echo $ECHO_N "(cached) $ECHO_C" >&6
5007 else 5013 else
5008 cat >conftest.$ac_ext <<_ACEOF 5014 cat >conftest.$ac_ext <<_ACEOF
5009 #line 5009 "configure" 5015 #line 5015 "configure"
5010 #include "confdefs.h" 5016 #include "confdefs.h"
5011 5017
5012 int 5018 int
5013 main () 5019 main ()
5014 { 5020 {
5016 ; 5022 ;
5017 return 0; 5023 return 0;
5018 } 5024 }
5019 _ACEOF 5025 _ACEOF
5020 rm -f conftest.$ac_objext 5026 rm -f conftest.$ac_objext
5021 if { (eval echo "$as_me:5021: \"$ac_compile\"") >&5 5027 if { (eval echo "$as_me:5027: \"$ac_compile\"") >&5
5022 (eval $ac_compile) 2>&5 5028 (eval $ac_compile) 2>&5
5023 ac_status=$? 5029 ac_status=$?
5024 echo "$as_me:5024: \$? = $ac_status" >&5 5030 echo "$as_me:5030: \$? = $ac_status" >&5
5025 (exit $ac_status); } && 5031 (exit $ac_status); } &&
5026 { ac_try='test -s conftest.$ac_objext' 5032 { ac_try='test -s conftest.$ac_objext'
5027 { (eval echo "$as_me:5027: \"$ac_try\"") >&5 5033 { (eval echo "$as_me:5033: \"$ac_try\"") >&5
5028 (eval $ac_try) 2>&5 5034 (eval $ac_try) 2>&5
5029 ac_status=$? 5035 ac_status=$?
5030 echo "$as_me:5030: \$? = $ac_status" >&5 5036 echo "$as_me:5036: \$? = $ac_status" >&5
5031 (exit $ac_status); }; }; then 5037 (exit $ac_status); }; }; then
5032 emacs_cv_void_star=yes 5038 emacs_cv_void_star=yes
5033 else 5039 else
5034 echo "$as_me: failed program was:" >&5 5040 echo "$as_me: failed program was:" >&5
5035 cat conftest.$ac_ext >&5 5041 cat conftest.$ac_ext >&5
5036 emacs_cv_void_star=no 5042 emacs_cv_void_star=no
5037 fi 5043 fi
5038 rm -f conftest.$ac_objext conftest.$ac_ext 5044 rm -f conftest.$ac_objext conftest.$ac_ext
5039 fi 5045 fi
5040 echo "$as_me:5040: result: $emacs_cv_void_star" >&5 5046 echo "$as_me:5046: result: $emacs_cv_void_star" >&5
5041 echo "${ECHO_T}$emacs_cv_void_star" >&6 5047 echo "${ECHO_T}$emacs_cv_void_star" >&6
5042 if test $emacs_cv_void_star = yes; then 5048 if test $emacs_cv_void_star = yes; then
5043 cat >>confdefs.h <<\EOF 5049 cat >>confdefs.h <<\EOF
5044 #define POINTER_TYPE void 5050 #define POINTER_TYPE void
5045 EOF 5051 EOF
5049 #define POINTER_TYPE char 5055 #define POINTER_TYPE char
5050 EOF 5056 EOF
5051 5057
5052 fi 5058 fi
5053 5059
5054 echo "$as_me:5054: checking whether ${MAKE-make} sets \${MAKE}" >&5 5060 echo "$as_me:5060: checking whether ${MAKE-make} sets \${MAKE}" >&5
5055 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 5061 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
5056 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` 5062 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
5057 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 5063 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
5058 echo $ECHO_N "(cached) $ECHO_C" >&6 5064 echo $ECHO_N "(cached) $ECHO_C" >&6
5059 else 5065 else
5069 eval ac_cv_prog_make_${ac_make}_set=no 5075 eval ac_cv_prog_make_${ac_make}_set=no
5070 fi 5076 fi
5071 rm -f conftest.make 5077 rm -f conftest.make
5072 fi 5078 fi
5073 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 5079 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
5074 echo "$as_me:5074: result: yes" >&5 5080 echo "$as_me:5080: result: yes" >&5
5075 echo "${ECHO_T}yes" >&6 5081 echo "${ECHO_T}yes" >&6
5076 SET_MAKE= 5082 SET_MAKE=
5077 else 5083 else
5078 echo "$as_me:5078: result: no" >&5 5084 echo "$as_me:5084: result: no" >&5
5079 echo "${ECHO_T}no" >&6 5085 echo "${ECHO_T}no" >&6
5080 SET_MAKE="MAKE=${MAKE-make}" 5086 SET_MAKE="MAKE=${MAKE-make}"
5081 fi 5087 fi
5082 5088
5083 echo "$as_me:5083: checking for long file names" >&5 5089 echo "$as_me:5089: checking for long file names" >&5
5084 echo $ECHO_N "checking for long file names... $ECHO_C" >&6 5090 echo $ECHO_N "checking for long file names... $ECHO_C" >&6
5085 if test "${ac_cv_sys_long_file_names+set}" = set; then 5091 if test "${ac_cv_sys_long_file_names+set}" = set; then
5086 echo $ECHO_N "(cached) $ECHO_C" >&6 5092 echo $ECHO_N "(cached) $ECHO_C" >&6
5087 else 5093 else
5088 ac_cv_sys_long_file_names=yes 5094 ac_cv_sys_long_file_names=yes
5117 break 5123 break
5118 fi 5124 fi
5119 rm -rf $ac_xdir 2>/dev/null 5125 rm -rf $ac_xdir 2>/dev/null
5120 done 5126 done
5121 fi 5127 fi
5122 echo "$as_me:5122: result: $ac_cv_sys_long_file_names" >&5 5128 echo "$as_me:5128: result: $ac_cv_sys_long_file_names" >&5
5123 echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6 5129 echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6
5124 if test $ac_cv_sys_long_file_names = yes; then 5130 if test $ac_cv_sys_long_file_names = yes; then
5125 5131
5126 cat >>confdefs.h <<\EOF 5132 cat >>confdefs.h <<\EOF
5127 #define HAVE_LONG_FILE_NAMES 1 5133 #define HAVE_LONG_FILE_NAMES 1
5129 5135
5130 fi 5136 fi
5131 5137
5132 #### Choose a window system. 5138 #### Choose a window system.
5133 5139
5134 echo "$as_me:5134: checking for X" >&5 5140 echo "$as_me:5140: checking for X" >&5
5135 echo $ECHO_N "checking for X... $ECHO_C" >&6 5141 echo $ECHO_N "checking for X... $ECHO_C" >&6
5136 5142
5137 # Check whether --with-x or --without-x was given. 5143 # Check whether --with-x or --without-x was given.
5138 if test "${with_x+set}" = set; then 5144 if test "${with_x+set}" = set; then
5139 withval="$with_x" 5145 withval="$with_x"
5226 5232
5227 if test "$ac_x_includes" = no; then 5233 if test "$ac_x_includes" = no; then
5228 # Guess where to find include files, by looking for Intrinsic.h. 5234 # Guess where to find include files, by looking for Intrinsic.h.
5229 # First, try using that file with no special directory specified. 5235 # First, try using that file with no special directory specified.
5230 cat >conftest.$ac_ext <<_ACEOF 5236 cat >conftest.$ac_ext <<_ACEOF
5231 #line 5231 "configure" 5237 #line 5237 "configure"
5232 #include "confdefs.h" 5238 #include "confdefs.h"
5233 #include <X11/Intrinsic.h> 5239 #include <X11/Intrinsic.h>
5234 _ACEOF 5240 _ACEOF
5235 if { (eval echo "$as_me:5235: \"$ac_cpp conftest.$ac_ext\"") >&5 5241 if { (eval echo "$as_me:5241: \"$ac_cpp conftest.$ac_ext\"") >&5
5236 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5242 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5237 ac_status=$? 5243 ac_status=$?
5238 egrep -v '^ *\+' conftest.er1 >conftest.err 5244 egrep -v '^ *\+' conftest.er1 >conftest.err
5239 rm -f conftest.er1 5245 rm -f conftest.er1
5240 cat conftest.err >&5 5246 cat conftest.err >&5
5241 echo "$as_me:5241: \$? = $ac_status" >&5 5247 echo "$as_me:5247: \$? = $ac_status" >&5
5242 (exit $ac_status); } >/dev/null; then 5248 (exit $ac_status); } >/dev/null; then
5243 if test -s conftest.err; then 5249 if test -s conftest.err; then
5244 ac_cpp_err=$ac_c_preproc_warn_flag 5250 ac_cpp_err=$ac_c_preproc_warn_flag
5245 else 5251 else
5246 ac_cpp_err= 5252 ac_cpp_err=
5269 # See if we find them without any special options. 5275 # See if we find them without any special options.
5270 # Don't add to $LIBS permanently. 5276 # Don't add to $LIBS permanently.
5271 ac_save_LIBS=$LIBS 5277 ac_save_LIBS=$LIBS
5272 LIBS="-lXt $LIBS" 5278 LIBS="-lXt $LIBS"
5273 cat >conftest.$ac_ext <<_ACEOF 5279 cat >conftest.$ac_ext <<_ACEOF
5274 #line 5274 "configure" 5280 #line 5280 "configure"
5275 #include "confdefs.h" 5281 #include "confdefs.h"
5276 #include <X11/Intrinsic.h> 5282 #include <X11/Intrinsic.h>
5277 int 5283 int
5278 main () 5284 main ()
5279 { 5285 {
5281 ; 5287 ;
5282 return 0; 5288 return 0;
5283 } 5289 }
5284 _ACEOF 5290 _ACEOF
5285 rm -f conftest.$ac_objext conftest$ac_exeext 5291 rm -f conftest.$ac_objext conftest$ac_exeext
5286 if { (eval echo "$as_me:5286: \"$ac_link\"") >&5 5292 if { (eval echo "$as_me:5292: \"$ac_link\"") >&5
5287 (eval $ac_link) 2>&5 5293 (eval $ac_link) 2>&5
5288 ac_status=$? 5294 ac_status=$?
5289 echo "$as_me:5289: \$? = $ac_status" >&5 5295 echo "$as_me:5295: \$? = $ac_status" >&5
5290 (exit $ac_status); } && 5296 (exit $ac_status); } &&
5291 { ac_try='test -s conftest$ac_exeext' 5297 { ac_try='test -s conftest$ac_exeext'
5292 { (eval echo "$as_me:5292: \"$ac_try\"") >&5 5298 { (eval echo "$as_me:5298: \"$ac_try\"") >&5
5293 (eval $ac_try) 2>&5 5299 (eval $ac_try) 2>&5
5294 ac_status=$? 5300 ac_status=$?
5295 echo "$as_me:5295: \$? = $ac_status" >&5 5301 echo "$as_me:5301: \$? = $ac_status" >&5
5296 (exit $ac_status); }; }; then 5302 (exit $ac_status); }; }; then
5297 LIBS=$ac_save_LIBS 5303 LIBS=$ac_save_LIBS
5298 # We can link X programs with no special library path. 5304 # We can link X programs with no special library path.
5299 ac_x_libraries= 5305 ac_x_libraries=
5300 else 5306 else
5328 fi 5334 fi
5329 eval "$ac_cv_have_x" 5335 eval "$ac_cv_have_x"
5330 fi # $with_x != no 5336 fi # $with_x != no
5331 5337
5332 if test "$have_x" != yes; then 5338 if test "$have_x" != yes; then
5333 echo "$as_me:5333: result: $have_x" >&5 5339 echo "$as_me:5339: result: $have_x" >&5
5334 echo "${ECHO_T}$have_x" >&6 5340 echo "${ECHO_T}$have_x" >&6
5335 no_x=yes 5341 no_x=yes
5336 else 5342 else
5337 # If each of the values was on the command line, it overrides each guess. 5343 # If each of the values was on the command line, it overrides each guess.
5338 test "x$x_includes" = xNONE && x_includes=$ac_x_includes 5344 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
5339 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries 5345 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
5340 # Update the cache value to reflect the command line values. 5346 # Update the cache value to reflect the command line values.
5341 ac_cv_have_x="have_x=yes \ 5347 ac_cv_have_x="have_x=yes \
5342 ac_x_includes=$x_includes ac_x_libraries=$x_libraries" 5348 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
5343 echo "$as_me:5343: result: libraries $x_libraries, headers $x_includes" >&5 5349 echo "$as_me:5349: result: libraries $x_libraries, headers $x_includes" >&5
5344 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 5350 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
5345 fi 5351 fi
5346 5352
5347 if test "$no_x" = yes; then 5353 if test "$no_x" = yes; then
5348 window_system=none 5354 window_system=none
5436 5442
5437 # Do the opsystem or machine files prohibit the use of the GNU malloc? 5443 # Do the opsystem or machine files prohibit the use of the GNU malloc?
5438 # Assume not, until told otherwise. 5444 # Assume not, until told otherwise.
5439 GNU_MALLOC=yes 5445 GNU_MALLOC=yes
5440 doug_lea_malloc=yes 5446 doug_lea_malloc=yes
5441 echo "$as_me:5441: checking for malloc_get_state" >&5 5447 echo "$as_me:5447: checking for malloc_get_state" >&5
5442 echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6 5448 echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6
5443 if test "${ac_cv_func_malloc_get_state+set}" = set; then 5449 if test "${ac_cv_func_malloc_get_state+set}" = set; then
5444 echo $ECHO_N "(cached) $ECHO_C" >&6 5450 echo $ECHO_N "(cached) $ECHO_C" >&6
5445 else 5451 else
5446 cat >conftest.$ac_ext <<_ACEOF 5452 cat >conftest.$ac_ext <<_ACEOF
5447 #line 5447 "configure" 5453 #line 5453 "configure"
5448 #include "confdefs.h" 5454 #include "confdefs.h"
5449 /* System header to define __stub macros and hopefully few prototypes, 5455 /* System header to define __stub macros and hopefully few prototypes,
5450 which can conflict with char malloc_get_state (); below. */ 5456 which can conflict with char malloc_get_state (); below. */
5451 #include <assert.h> 5457 #include <assert.h>
5452 /* Override any gcc2 internal prototype to avoid an error. */ 5458 /* Override any gcc2 internal prototype to avoid an error. */
5473 ; 5479 ;
5474 return 0; 5480 return 0;
5475 } 5481 }
5476 _ACEOF 5482 _ACEOF
5477 rm -f conftest.$ac_objext conftest$ac_exeext 5483 rm -f conftest.$ac_objext conftest$ac_exeext
5478 if { (eval echo "$as_me:5478: \"$ac_link\"") >&5 5484 if { (eval echo "$as_me:5484: \"$ac_link\"") >&5
5479 (eval $ac_link) 2>&5 5485 (eval $ac_link) 2>&5
5480 ac_status=$? 5486 ac_status=$?
5481 echo "$as_me:5481: \$? = $ac_status" >&5 5487 echo "$as_me:5487: \$? = $ac_status" >&5
5482 (exit $ac_status); } && 5488 (exit $ac_status); } &&
5483 { ac_try='test -s conftest$ac_exeext' 5489 { ac_try='test -s conftest$ac_exeext'
5484 { (eval echo "$as_me:5484: \"$ac_try\"") >&5 5490 { (eval echo "$as_me:5490: \"$ac_try\"") >&5
5485 (eval $ac_try) 2>&5 5491 (eval $ac_try) 2>&5
5486 ac_status=$? 5492 ac_status=$?
5487 echo "$as_me:5487: \$? = $ac_status" >&5 5493 echo "$as_me:5493: \$? = $ac_status" >&5
5488 (exit $ac_status); }; }; then 5494 (exit $ac_status); }; }; then
5489 ac_cv_func_malloc_get_state=yes 5495 ac_cv_func_malloc_get_state=yes
5490 else 5496 else
5491 echo "$as_me: failed program was:" >&5 5497 echo "$as_me: failed program was:" >&5
5492 cat conftest.$ac_ext >&5 5498 cat conftest.$ac_ext >&5
5493 ac_cv_func_malloc_get_state=no 5499 ac_cv_func_malloc_get_state=no
5494 fi 5500 fi
5495 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5501 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5496 fi 5502 fi
5497 echo "$as_me:5497: result: $ac_cv_func_malloc_get_state" >&5 5503 echo "$as_me:5503: result: $ac_cv_func_malloc_get_state" >&5
5498 echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6 5504 echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6
5499 if test $ac_cv_func_malloc_get_state = yes; then 5505 if test $ac_cv_func_malloc_get_state = yes; then
5500 : 5506 :
5501 else 5507 else
5502 doug_lea_malloc=no 5508 doug_lea_malloc=no
5503 fi 5509 fi
5504 5510
5505 echo "$as_me:5505: checking for malloc_set_state" >&5 5511 echo "$as_me:5511: checking for malloc_set_state" >&5
5506 echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6 5512 echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6
5507 if test "${ac_cv_func_malloc_set_state+set}" = set; then 5513 if test "${ac_cv_func_malloc_set_state+set}" = set; then
5508 echo $ECHO_N "(cached) $ECHO_C" >&6 5514 echo $ECHO_N "(cached) $ECHO_C" >&6
5509 else 5515 else
5510 cat >conftest.$ac_ext <<_ACEOF 5516 cat >conftest.$ac_ext <<_ACEOF
5511 #line 5511 "configure" 5517 #line 5517 "configure"
5512 #include "confdefs.h" 5518 #include "confdefs.h"
5513 /* System header to define __stub macros and hopefully few prototypes, 5519 /* System header to define __stub macros and hopefully few prototypes,
5514 which can conflict with char malloc_set_state (); below. */ 5520 which can conflict with char malloc_set_state (); below. */
5515 #include <assert.h> 5521 #include <assert.h>
5516 /* Override any gcc2 internal prototype to avoid an error. */ 5522 /* Override any gcc2 internal prototype to avoid an error. */
5537 ; 5543 ;
5538 return 0; 5544 return 0;
5539 } 5545 }
5540 _ACEOF 5546 _ACEOF
5541 rm -f conftest.$ac_objext conftest$ac_exeext 5547 rm -f conftest.$ac_objext conftest$ac_exeext
5542 if { (eval echo "$as_me:5542: \"$ac_link\"") >&5 5548 if { (eval echo "$as_me:5548: \"$ac_link\"") >&5
5543 (eval $ac_link) 2>&5 5549 (eval $ac_link) 2>&5
5544 ac_status=$? 5550 ac_status=$?
5545 echo "$as_me:5545: \$? = $ac_status" >&5 5551 echo "$as_me:5551: \$? = $ac_status" >&5
5546 (exit $ac_status); } && 5552 (exit $ac_status); } &&
5547 { ac_try='test -s conftest$ac_exeext' 5553 { ac_try='test -s conftest$ac_exeext'
5548 { (eval echo "$as_me:5548: \"$ac_try\"") >&5 5554 { (eval echo "$as_me:5554: \"$ac_try\"") >&5
5549 (eval $ac_try) 2>&5 5555 (eval $ac_try) 2>&5
5550 ac_status=$? 5556 ac_status=$?
5551 echo "$as_me:5551: \$? = $ac_status" >&5 5557 echo "$as_me:5557: \$? = $ac_status" >&5
5552 (exit $ac_status); }; }; then 5558 (exit $ac_status); }; }; then
5553 ac_cv_func_malloc_set_state=yes 5559 ac_cv_func_malloc_set_state=yes
5554 else 5560 else
5555 echo "$as_me: failed program was:" >&5 5561 echo "$as_me: failed program was:" >&5
5556 cat conftest.$ac_ext >&5 5562 cat conftest.$ac_ext >&5
5557 ac_cv_func_malloc_set_state=no 5563 ac_cv_func_malloc_set_state=no
5558 fi 5564 fi
5559 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5565 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5560 fi 5566 fi
5561 echo "$as_me:5561: result: $ac_cv_func_malloc_set_state" >&5 5567 echo "$as_me:5567: result: $ac_cv_func_malloc_set_state" >&5
5562 echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6 5568 echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6
5563 if test $ac_cv_func_malloc_set_state = yes; then 5569 if test $ac_cv_func_malloc_set_state = yes; then
5564 : 5570 :
5565 else 5571 else
5566 doug_lea_malloc=no 5572 doug_lea_malloc=no
5567 fi 5573 fi
5568 5574
5569 echo "$as_me:5569: checking whether __after_morecore_hook exists" >&5 5575 echo "$as_me:5575: checking whether __after_morecore_hook exists" >&5
5570 echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6 5576 echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6
5571 if test "${emacs_cv_var___after_morecore_hook+set}" = set; then 5577 if test "${emacs_cv_var___after_morecore_hook+set}" = set; then
5572 echo $ECHO_N "(cached) $ECHO_C" >&6 5578 echo $ECHO_N "(cached) $ECHO_C" >&6
5573 else 5579 else
5574 cat >conftest.$ac_ext <<_ACEOF 5580 cat >conftest.$ac_ext <<_ACEOF
5575 #line 5575 "configure" 5581 #line 5581 "configure"
5576 #include "confdefs.h" 5582 #include "confdefs.h"
5577 extern void (* __after_morecore_hook)(); 5583 extern void (* __after_morecore_hook)();
5578 int 5584 int
5579 main () 5585 main ()
5580 { 5586 {
5582 ; 5588 ;
5583 return 0; 5589 return 0;
5584 } 5590 }
5585 _ACEOF 5591 _ACEOF
5586 rm -f conftest.$ac_objext conftest$ac_exeext 5592 rm -f conftest.$ac_objext conftest$ac_exeext
5587 if { (eval echo "$as_me:5587: \"$ac_link\"") >&5 5593 if { (eval echo "$as_me:5593: \"$ac_link\"") >&5
5588 (eval $ac_link) 2>&5 5594 (eval $ac_link) 2>&5
5589 ac_status=$? 5595 ac_status=$?
5590 echo "$as_me:5590: \$? = $ac_status" >&5 5596 echo "$as_me:5596: \$? = $ac_status" >&5
5591 (exit $ac_status); } && 5597 (exit $ac_status); } &&
5592 { ac_try='test -s conftest$ac_exeext' 5598 { ac_try='test -s conftest$ac_exeext'
5593 { (eval echo "$as_me:5593: \"$ac_try\"") >&5 5599 { (eval echo "$as_me:5599: \"$ac_try\"") >&5
5594 (eval $ac_try) 2>&5 5600 (eval $ac_try) 2>&5
5595 ac_status=$? 5601 ac_status=$?
5596 echo "$as_me:5596: \$? = $ac_status" >&5 5602 echo "$as_me:5602: \$? = $ac_status" >&5
5597 (exit $ac_status); }; }; then 5603 (exit $ac_status); }; }; then
5598 emacs_cv_var___after_morecore_hook=yes 5604 emacs_cv_var___after_morecore_hook=yes
5599 else 5605 else
5600 echo "$as_me: failed program was:" >&5 5606 echo "$as_me: failed program was:" >&5
5601 cat conftest.$ac_ext >&5 5607 cat conftest.$ac_ext >&5
5602 emacs_cv_var___after_morecore_hook=no 5608 emacs_cv_var___after_morecore_hook=no
5603 fi 5609 fi
5604 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5610 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5605 fi 5611 fi
5606 echo "$as_me:5606: result: $emacs_cv_var___after_morecore_hook" >&5 5612 echo "$as_me:5612: result: $emacs_cv_var___after_morecore_hook" >&5
5607 echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6 5613 echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6
5608 if test $emacs_cv_var___after_morecore_hook = no; then 5614 if test $emacs_cv_var___after_morecore_hook = no; then
5609 doug_lea_malloc=no 5615 doug_lea_malloc=no
5610 fi 5616 fi
5611 if test "${system_malloc}" = "yes"; then 5617 if test "${system_malloc}" = "yes"; then
5632 5638
5633 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 5639 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5634 inttypes.h stdint.h unistd.h 5640 inttypes.h stdint.h unistd.h
5635 do 5641 do
5636 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5642 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5637 echo "$as_me:5637: checking for $ac_header" >&5 5643 echo "$as_me:5643: checking for $ac_header" >&5
5638 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5644 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5639 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5645 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5640 echo $ECHO_N "(cached) $ECHO_C" >&6 5646 echo $ECHO_N "(cached) $ECHO_C" >&6
5641 else 5647 else
5642 cat >conftest.$ac_ext <<_ACEOF 5648 cat >conftest.$ac_ext <<_ACEOF
5643 #line 5643 "configure" 5649 #line 5649 "configure"
5644 #include "confdefs.h" 5650 #include "confdefs.h"
5645 $ac_includes_default 5651 $ac_includes_default
5646 #include <$ac_header> 5652 #include <$ac_header>
5647 _ACEOF 5653 _ACEOF
5648 rm -f conftest.$ac_objext 5654 rm -f conftest.$ac_objext
5649 if { (eval echo "$as_me:5649: \"$ac_compile\"") >&5 5655 if { (eval echo "$as_me:5655: \"$ac_compile\"") >&5
5650 (eval $ac_compile) 2>&5 5656 (eval $ac_compile) 2>&5
5651 ac_status=$? 5657 ac_status=$?
5652 echo "$as_me:5652: \$? = $ac_status" >&5 5658 echo "$as_me:5658: \$? = $ac_status" >&5
5653 (exit $ac_status); } && 5659 (exit $ac_status); } &&
5654 { ac_try='test -s conftest.$ac_objext' 5660 { ac_try='test -s conftest.$ac_objext'
5655 { (eval echo "$as_me:5655: \"$ac_try\"") >&5 5661 { (eval echo "$as_me:5661: \"$ac_try\"") >&5
5656 (eval $ac_try) 2>&5 5662 (eval $ac_try) 2>&5
5657 ac_status=$? 5663 ac_status=$?
5658 echo "$as_me:5658: \$? = $ac_status" >&5 5664 echo "$as_me:5664: \$? = $ac_status" >&5
5659 (exit $ac_status); }; }; then 5665 (exit $ac_status); }; }; then
5660 eval "$as_ac_Header=yes" 5666 eval "$as_ac_Header=yes"
5661 else 5667 else
5662 echo "$as_me: failed program was:" >&5 5668 echo "$as_me: failed program was:" >&5
5663 cat conftest.$ac_ext >&5 5669 cat conftest.$ac_ext >&5
5664 eval "$as_ac_Header=no" 5670 eval "$as_ac_Header=no"
5665 fi 5671 fi
5666 rm -f conftest.$ac_objext conftest.$ac_ext 5672 rm -f conftest.$ac_objext conftest.$ac_ext
5667 fi 5673 fi
5668 echo "$as_me:5668: result: `eval echo '${'$as_ac_Header'}'`" >&5 5674 echo "$as_me:5674: result: `eval echo '${'$as_ac_Header'}'`" >&5
5669 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5675 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5670 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5676 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5671 cat >>confdefs.h <<EOF 5677 cat >>confdefs.h <<EOF
5672 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5678 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5673 EOF 5679 EOF
5676 done 5682 done
5677 5683
5678 for ac_header in stdlib.h unistd.h 5684 for ac_header in stdlib.h unistd.h
5679 do 5685 do
5680 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5686 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5681 echo "$as_me:5681: checking for $ac_header" >&5 5687 echo "$as_me:5687: checking for $ac_header" >&5
5682 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5688 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5683 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5689 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5684 echo $ECHO_N "(cached) $ECHO_C" >&6 5690 echo $ECHO_N "(cached) $ECHO_C" >&6
5685 else 5691 else
5686 cat >conftest.$ac_ext <<_ACEOF 5692 cat >conftest.$ac_ext <<_ACEOF
5687 #line 5687 "configure" 5693 #line 5693 "configure"
5688 #include "confdefs.h" 5694 #include "confdefs.h"
5689 #include <$ac_header> 5695 #include <$ac_header>
5690 _ACEOF 5696 _ACEOF
5691 if { (eval echo "$as_me:5691: \"$ac_cpp conftest.$ac_ext\"") >&5 5697 if { (eval echo "$as_me:5697: \"$ac_cpp conftest.$ac_ext\"") >&5
5692 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5698 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5693 ac_status=$? 5699 ac_status=$?
5694 egrep -v '^ *\+' conftest.er1 >conftest.err 5700 egrep -v '^ *\+' conftest.er1 >conftest.err
5695 rm -f conftest.er1 5701 rm -f conftest.er1
5696 cat conftest.err >&5 5702 cat conftest.err >&5
5697 echo "$as_me:5697: \$? = $ac_status" >&5 5703 echo "$as_me:5703: \$? = $ac_status" >&5
5698 (exit $ac_status); } >/dev/null; then 5704 (exit $ac_status); } >/dev/null; then
5699 if test -s conftest.err; then 5705 if test -s conftest.err; then
5700 ac_cpp_err=$ac_c_preproc_warn_flag 5706 ac_cpp_err=$ac_c_preproc_warn_flag
5701 else 5707 else
5702 ac_cpp_err= 5708 ac_cpp_err=
5711 cat conftest.$ac_ext >&5 5717 cat conftest.$ac_ext >&5
5712 eval "$as_ac_Header=no" 5718 eval "$as_ac_Header=no"
5713 fi 5719 fi
5714 rm -f conftest.err conftest.$ac_ext 5720 rm -f conftest.err conftest.$ac_ext
5715 fi 5721 fi
5716 echo "$as_me:5716: result: `eval echo '${'$as_ac_Header'}'`" >&5 5722 echo "$as_me:5722: result: `eval echo '${'$as_ac_Header'}'`" >&5
5717 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5723 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5718 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5724 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5719 cat >>confdefs.h <<EOF 5725 cat >>confdefs.h <<EOF
5720 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5726 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5721 EOF 5727 EOF
5724 done 5730 done
5725 5731
5726 for ac_func in getpagesize 5732 for ac_func in getpagesize
5727 do 5733 do
5728 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 5734 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5729 echo "$as_me:5729: checking for $ac_func" >&5 5735 echo "$as_me:5735: checking for $ac_func" >&5
5730 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 5736 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5731 if eval "test \"\${$as_ac_var+set}\" = set"; then 5737 if eval "test \"\${$as_ac_var+set}\" = set"; then
5732 echo $ECHO_N "(cached) $ECHO_C" >&6 5738 echo $ECHO_N "(cached) $ECHO_C" >&6
5733 else 5739 else
5734 cat >conftest.$ac_ext <<_ACEOF 5740 cat >conftest.$ac_ext <<_ACEOF
5735 #line 5735 "configure" 5741 #line 5741 "configure"
5736 #include "confdefs.h" 5742 #include "confdefs.h"
5737 /* System header to define __stub macros and hopefully few prototypes, 5743 /* System header to define __stub macros and hopefully few prototypes,
5738 which can conflict with char $ac_func (); below. */ 5744 which can conflict with char $ac_func (); below. */
5739 #include <assert.h> 5745 #include <assert.h>
5740 /* Override any gcc2 internal prototype to avoid an error. */ 5746 /* Override any gcc2 internal prototype to avoid an error. */
5761 ; 5767 ;
5762 return 0; 5768 return 0;
5763 } 5769 }
5764 _ACEOF 5770 _ACEOF
5765 rm -f conftest.$ac_objext conftest$ac_exeext 5771 rm -f conftest.$ac_objext conftest$ac_exeext
5766 if { (eval echo "$as_me:5766: \"$ac_link\"") >&5 5772 if { (eval echo "$as_me:5772: \"$ac_link\"") >&5
5767 (eval $ac_link) 2>&5 5773 (eval $ac_link) 2>&5
5768 ac_status=$? 5774 ac_status=$?
5769 echo "$as_me:5769: \$? = $ac_status" >&5 5775 echo "$as_me:5775: \$? = $ac_status" >&5
5770 (exit $ac_status); } && 5776 (exit $ac_status); } &&
5771 { ac_try='test -s conftest$ac_exeext' 5777 { ac_try='test -s conftest$ac_exeext'
5772 { (eval echo "$as_me:5772: \"$ac_try\"") >&5 5778 { (eval echo "$as_me:5778: \"$ac_try\"") >&5
5773 (eval $ac_try) 2>&5 5779 (eval $ac_try) 2>&5
5774 ac_status=$? 5780 ac_status=$?
5775 echo "$as_me:5775: \$? = $ac_status" >&5 5781 echo "$as_me:5781: \$? = $ac_status" >&5
5776 (exit $ac_status); }; }; then 5782 (exit $ac_status); }; }; then
5777 eval "$as_ac_var=yes" 5783 eval "$as_ac_var=yes"
5778 else 5784 else
5779 echo "$as_me: failed program was:" >&5 5785 echo "$as_me: failed program was:" >&5
5780 cat conftest.$ac_ext >&5 5786 cat conftest.$ac_ext >&5
5781 eval "$as_ac_var=no" 5787 eval "$as_ac_var=no"
5782 fi 5788 fi
5783 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5789 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5784 fi 5790 fi
5785 echo "$as_me:5785: result: `eval echo '${'$as_ac_var'}'`" >&5 5791 echo "$as_me:5791: result: `eval echo '${'$as_ac_var'}'`" >&5
5786 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 5792 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5787 if test `eval echo '${'$as_ac_var'}'` = yes; then 5793 if test `eval echo '${'$as_ac_var'}'` = yes; then
5788 cat >>confdefs.h <<EOF 5794 cat >>confdefs.h <<EOF
5789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 5795 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5790 EOF 5796 EOF
5791 5797
5792 fi 5798 fi
5793 done 5799 done
5794 5800
5795 echo "$as_me:5795: checking for working mmap" >&5 5801 echo "$as_me:5801: checking for working mmap" >&5
5796 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6 5802 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
5797 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then 5803 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
5798 echo $ECHO_N "(cached) $ECHO_C" >&6 5804 echo $ECHO_N "(cached) $ECHO_C" >&6
5799 else 5805 else
5800 if test "$cross_compiling" = yes; then 5806 if test "$cross_compiling" = yes; then
5801 ac_cv_func_mmap_fixed_mapped=no 5807 ac_cv_func_mmap_fixed_mapped=no
5802 else 5808 else
5803 cat >conftest.$ac_ext <<_ACEOF 5809 cat >conftest.$ac_ext <<_ACEOF
5804 #line 5804 "configure" 5810 #line 5810 "configure"
5805 #include "confdefs.h" 5811 #include "confdefs.h"
5806 $ac_includes_default 5812 $ac_includes_default
5807 /* Thanks to Mike Haertel and Jim Avera for this test. 5813 /* Thanks to Mike Haertel and Jim Avera for this test.
5808 Here is a matrix of mmap possibilities: 5814 Here is a matrix of mmap possibilities:
5809 mmap private not fixed 5815 mmap private not fixed
5926 close (fd); 5932 close (fd);
5927 exit (0); 5933 exit (0);
5928 } 5934 }
5929 _ACEOF 5935 _ACEOF
5930 rm -f conftest$ac_exeext 5936 rm -f conftest$ac_exeext
5931 if { (eval echo "$as_me:5931: \"$ac_link\"") >&5 5937 if { (eval echo "$as_me:5937: \"$ac_link\"") >&5
5932 (eval $ac_link) 2>&5 5938 (eval $ac_link) 2>&5
5933 ac_status=$? 5939 ac_status=$?
5934 echo "$as_me:5934: \$? = $ac_status" >&5 5940 echo "$as_me:5940: \$? = $ac_status" >&5
5935 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 5941 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5936 { (eval echo "$as_me:5936: \"$ac_try\"") >&5 5942 { (eval echo "$as_me:5942: \"$ac_try\"") >&5
5937 (eval $ac_try) 2>&5 5943 (eval $ac_try) 2>&5
5938 ac_status=$? 5944 ac_status=$?
5939 echo "$as_me:5939: \$? = $ac_status" >&5 5945 echo "$as_me:5945: \$? = $ac_status" >&5
5940 (exit $ac_status); }; }; then 5946 (exit $ac_status); }; }; then
5941 ac_cv_func_mmap_fixed_mapped=yes 5947 ac_cv_func_mmap_fixed_mapped=yes
5942 else 5948 else
5943 echo "$as_me: program exited with status $ac_status" >&5 5949 echo "$as_me: program exited with status $ac_status" >&5
5944 echo "$as_me: failed program was:" >&5 5950 echo "$as_me: failed program was:" >&5
5946 ac_cv_func_mmap_fixed_mapped=no 5952 ac_cv_func_mmap_fixed_mapped=no
5947 fi 5953 fi
5948 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5954 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5949 fi 5955 fi
5950 fi 5956 fi
5951 echo "$as_me:5951: result: $ac_cv_func_mmap_fixed_mapped" >&5 5957 echo "$as_me:5957: result: $ac_cv_func_mmap_fixed_mapped" >&5
5952 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6 5958 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
5953 if test $ac_cv_func_mmap_fixed_mapped = yes; then 5959 if test $ac_cv_func_mmap_fixed_mapped = yes; then
5954 5960
5955 cat >>confdefs.h <<\EOF 5961 cat >>confdefs.h <<\EOF
5956 #define HAVE_MMAP 1 5962 #define HAVE_MMAP 1
5963 REL_ALLOC=no 5969 REL_ALLOC=no
5964 fi 5970 fi
5965 5971
5966 LIBS="$libsrc_libs $LIBS" 5972 LIBS="$libsrc_libs $LIBS"
5967 5973
5968 echo "$as_me:5968: checking for dnet_ntoa in -ldnet" >&5 5974 echo "$as_me:5974: checking for dnet_ntoa in -ldnet" >&5
5969 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6 5975 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
5970 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then 5976 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
5971 echo $ECHO_N "(cached) $ECHO_C" >&6 5977 echo $ECHO_N "(cached) $ECHO_C" >&6
5972 else 5978 else
5973 ac_check_lib_save_LIBS=$LIBS 5979 ac_check_lib_save_LIBS=$LIBS
5974 LIBS="-ldnet $LIBS" 5980 LIBS="-ldnet $LIBS"
5975 cat >conftest.$ac_ext <<_ACEOF 5981 cat >conftest.$ac_ext <<_ACEOF
5976 #line 5976 "configure" 5982 #line 5982 "configure"
5977 #include "confdefs.h" 5983 #include "confdefs.h"
5978 5984
5979 /* Override any gcc2 internal prototype to avoid an error. */ 5985 /* Override any gcc2 internal prototype to avoid an error. */
5980 #ifdef __cplusplus 5986 #ifdef __cplusplus
5981 extern "C" 5987 extern "C"
5990 ; 5996 ;
5991 return 0; 5997 return 0;
5992 } 5998 }
5993 _ACEOF 5999 _ACEOF
5994 rm -f conftest.$ac_objext conftest$ac_exeext 6000 rm -f conftest.$ac_objext conftest$ac_exeext
5995 if { (eval echo "$as_me:5995: \"$ac_link\"") >&5 6001 if { (eval echo "$as_me:6001: \"$ac_link\"") >&5
5996 (eval $ac_link) 2>&5 6002 (eval $ac_link) 2>&5
5997 ac_status=$? 6003 ac_status=$?
5998 echo "$as_me:5998: \$? = $ac_status" >&5 6004 echo "$as_me:6004: \$? = $ac_status" >&5
5999 (exit $ac_status); } && 6005 (exit $ac_status); } &&
6000 { ac_try='test -s conftest$ac_exeext' 6006 { ac_try='test -s conftest$ac_exeext'
6001 { (eval echo "$as_me:6001: \"$ac_try\"") >&5 6007 { (eval echo "$as_me:6007: \"$ac_try\"") >&5
6002 (eval $ac_try) 2>&5 6008 (eval $ac_try) 2>&5
6003 ac_status=$? 6009 ac_status=$?
6004 echo "$as_me:6004: \$? = $ac_status" >&5 6010 echo "$as_me:6010: \$? = $ac_status" >&5
6005 (exit $ac_status); }; }; then 6011 (exit $ac_status); }; }; then
6006 ac_cv_lib_dnet_dnet_ntoa=yes 6012 ac_cv_lib_dnet_dnet_ntoa=yes
6007 else 6013 else
6008 echo "$as_me: failed program was:" >&5 6014 echo "$as_me: failed program was:" >&5
6009 cat conftest.$ac_ext >&5 6015 cat conftest.$ac_ext >&5
6010 ac_cv_lib_dnet_dnet_ntoa=no 6016 ac_cv_lib_dnet_dnet_ntoa=no
6011 fi 6017 fi
6012 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6018 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6013 LIBS=$ac_check_lib_save_LIBS 6019 LIBS=$ac_check_lib_save_LIBS
6014 fi 6020 fi
6015 echo "$as_me:6015: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 6021 echo "$as_me:6021: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
6016 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6 6022 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
6017 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then 6023 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
6018 cat >>confdefs.h <<EOF 6024 cat >>confdefs.h <<EOF
6019 #define HAVE_LIBDNET 1 6025 #define HAVE_LIBDNET 1
6020 EOF 6026 EOF
6021 6027
6022 LIBS="-ldnet $LIBS" 6028 LIBS="-ldnet $LIBS"
6023 6029
6024 fi 6030 fi
6025 6031
6026 echo "$as_me:6026: checking for main in -lXbsd" >&5 6032 echo "$as_me:6032: checking for main in -lXbsd" >&5
6027 echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6 6033 echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6
6028 if test "${ac_cv_lib_Xbsd_main+set}" = set; then 6034 if test "${ac_cv_lib_Xbsd_main+set}" = set; then
6029 echo $ECHO_N "(cached) $ECHO_C" >&6 6035 echo $ECHO_N "(cached) $ECHO_C" >&6
6030 else 6036 else
6031 ac_check_lib_save_LIBS=$LIBS 6037 ac_check_lib_save_LIBS=$LIBS
6032 LIBS="-lXbsd $LIBS" 6038 LIBS="-lXbsd $LIBS"
6033 cat >conftest.$ac_ext <<_ACEOF 6039 cat >conftest.$ac_ext <<_ACEOF
6034 #line 6034 "configure" 6040 #line 6040 "configure"
6035 #include "confdefs.h" 6041 #include "confdefs.h"
6036 6042
6037 int 6043 int
6038 main () 6044 main ()
6039 { 6045 {
6041 ; 6047 ;
6042 return 0; 6048 return 0;
6043 } 6049 }
6044 _ACEOF 6050 _ACEOF
6045 rm -f conftest.$ac_objext conftest$ac_exeext 6051 rm -f conftest.$ac_objext conftest$ac_exeext
6046 if { (eval echo "$as_me:6046: \"$ac_link\"") >&5 6052 if { (eval echo "$as_me:6052: \"$ac_link\"") >&5
6047 (eval $ac_link) 2>&5 6053 (eval $ac_link) 2>&5
6048 ac_status=$? 6054 ac_status=$?
6049 echo "$as_me:6049: \$? = $ac_status" >&5 6055 echo "$as_me:6055: \$? = $ac_status" >&5
6050 (exit $ac_status); } && 6056 (exit $ac_status); } &&
6051 { ac_try='test -s conftest$ac_exeext' 6057 { ac_try='test -s conftest$ac_exeext'
6052 { (eval echo "$as_me:6052: \"$ac_try\"") >&5 6058 { (eval echo "$as_me:6058: \"$ac_try\"") >&5
6053 (eval $ac_try) 2>&5 6059 (eval $ac_try) 2>&5
6054 ac_status=$? 6060 ac_status=$?
6055 echo "$as_me:6055: \$? = $ac_status" >&5 6061 echo "$as_me:6061: \$? = $ac_status" >&5
6056 (exit $ac_status); }; }; then 6062 (exit $ac_status); }; }; then
6057 ac_cv_lib_Xbsd_main=yes 6063 ac_cv_lib_Xbsd_main=yes
6058 else 6064 else
6059 echo "$as_me: failed program was:" >&5 6065 echo "$as_me: failed program was:" >&5
6060 cat conftest.$ac_ext >&5 6066 cat conftest.$ac_ext >&5
6061 ac_cv_lib_Xbsd_main=no 6067 ac_cv_lib_Xbsd_main=no
6062 fi 6068 fi
6063 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6069 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6064 LIBS=$ac_check_lib_save_LIBS 6070 LIBS=$ac_check_lib_save_LIBS
6065 fi 6071 fi
6066 echo "$as_me:6066: result: $ac_cv_lib_Xbsd_main" >&5 6072 echo "$as_me:6072: result: $ac_cv_lib_Xbsd_main" >&5
6067 echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6 6073 echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6
6068 if test $ac_cv_lib_Xbsd_main = yes; then 6074 if test $ac_cv_lib_Xbsd_main = yes; then
6069 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd" 6075 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd"
6070 fi 6076 fi
6071 6077
6072 echo "$as_me:6072: checking for cma_open in -lpthreads" >&5 6078 echo "$as_me:6078: checking for cma_open in -lpthreads" >&5
6073 echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6 6079 echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6
6074 if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then 6080 if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then
6075 echo $ECHO_N "(cached) $ECHO_C" >&6 6081 echo $ECHO_N "(cached) $ECHO_C" >&6
6076 else 6082 else
6077 ac_check_lib_save_LIBS=$LIBS 6083 ac_check_lib_save_LIBS=$LIBS
6078 LIBS="-lpthreads $LIBS" 6084 LIBS="-lpthreads $LIBS"
6079 cat >conftest.$ac_ext <<_ACEOF 6085 cat >conftest.$ac_ext <<_ACEOF
6080 #line 6080 "configure" 6086 #line 6086 "configure"
6081 #include "confdefs.h" 6087 #include "confdefs.h"
6082 6088
6083 /* Override any gcc2 internal prototype to avoid an error. */ 6089 /* Override any gcc2 internal prototype to avoid an error. */
6084 #ifdef __cplusplus 6090 #ifdef __cplusplus
6085 extern "C" 6091 extern "C"
6094 ; 6100 ;
6095 return 0; 6101 return 0;
6096 } 6102 }
6097 _ACEOF 6103 _ACEOF
6098 rm -f conftest.$ac_objext conftest$ac_exeext 6104 rm -f conftest.$ac_objext conftest$ac_exeext
6099 if { (eval echo "$as_me:6099: \"$ac_link\"") >&5 6105 if { (eval echo "$as_me:6105: \"$ac_link\"") >&5
6100 (eval $ac_link) 2>&5 6106 (eval $ac_link) 2>&5
6101 ac_status=$? 6107 ac_status=$?
6102 echo "$as_me:6102: \$? = $ac_status" >&5 6108 echo "$as_me:6108: \$? = $ac_status" >&5
6103 (exit $ac_status); } && 6109 (exit $ac_status); } &&
6104 { ac_try='test -s conftest$ac_exeext' 6110 { ac_try='test -s conftest$ac_exeext'
6105 { (eval echo "$as_me:6105: \"$ac_try\"") >&5 6111 { (eval echo "$as_me:6111: \"$ac_try\"") >&5
6106 (eval $ac_try) 2>&5 6112 (eval $ac_try) 2>&5
6107 ac_status=$? 6113 ac_status=$?
6108 echo "$as_me:6108: \$? = $ac_status" >&5 6114 echo "$as_me:6114: \$? = $ac_status" >&5
6109 (exit $ac_status); }; }; then 6115 (exit $ac_status); }; }; then
6110 ac_cv_lib_pthreads_cma_open=yes 6116 ac_cv_lib_pthreads_cma_open=yes
6111 else 6117 else
6112 echo "$as_me: failed program was:" >&5 6118 echo "$as_me: failed program was:" >&5
6113 cat conftest.$ac_ext >&5 6119 cat conftest.$ac_ext >&5
6114 ac_cv_lib_pthreads_cma_open=no 6120 ac_cv_lib_pthreads_cma_open=no
6115 fi 6121 fi
6116 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6122 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6117 LIBS=$ac_check_lib_save_LIBS 6123 LIBS=$ac_check_lib_save_LIBS
6118 fi 6124 fi
6119 echo "$as_me:6119: result: $ac_cv_lib_pthreads_cma_open" >&5 6125 echo "$as_me:6125: result: $ac_cv_lib_pthreads_cma_open" >&5
6120 echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6 6126 echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6
6121 if test $ac_cv_lib_pthreads_cma_open = yes; then 6127 if test $ac_cv_lib_pthreads_cma_open = yes; then
6122 cat >>confdefs.h <<EOF 6128 cat >>confdefs.h <<EOF
6123 #define HAVE_LIBPTHREADS 1 6129 #define HAVE_LIBPTHREADS 1
6124 EOF 6130 EOF
6125 6131
6126 LIBS="-lpthreads $LIBS" 6132 LIBS="-lpthreads $LIBS"
6127 6133
6128 fi 6134 fi
6129 6135
6130 echo "$as_me:6130: checking for XFree86 in /usr/X386" >&5 6136 echo "$as_me:6136: checking for XFree86 in /usr/X386" >&5
6131 echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6 6137 echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6
6132 if test -d /usr/X386/include; then 6138 if test -d /usr/X386/include; then
6133 HAVE_XFREE386=yes 6139 HAVE_XFREE386=yes
6134 : ${C_SWITCH_X_SITE="-I/usr/X386/include"} 6140 : ${C_SWITCH_X_SITE="-I/usr/X386/include"}
6135 else 6141 else
6136 HAVE_XFREE386=no 6142 HAVE_XFREE386=no
6137 fi 6143 fi
6138 echo "$as_me:6138: result: $HAVE_XFREE386" >&5 6144 echo "$as_me:6144: result: $HAVE_XFREE386" >&5
6139 echo "${ECHO_T}$HAVE_XFREE386" >&6 6145 echo "${ECHO_T}$HAVE_XFREE386" >&6
6140 6146
6141 # Change CFLAGS temporarily so that C_SWITCH_X_SITE gets used 6147 # Change CFLAGS temporarily so that C_SWITCH_X_SITE gets used
6142 # for the tests that follow. We set it back to REAL_CFLAGS later on. 6148 # for the tests that follow. We set it back to REAL_CFLAGS later on.
6143 6149
6158 LD_RUN_PATH=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH 6164 LD_RUN_PATH=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH
6159 export LD_RUN_PATH 6165 export LD_RUN_PATH
6160 fi 6166 fi
6161 6167
6162 if test "${opsys}" = "gnu-linux"; then 6168 if test "${opsys}" = "gnu-linux"; then
6163 echo "$as_me:6163: checking whether X on GNU/Linux needs -b to link" >&5 6169 echo "$as_me:6169: checking whether X on GNU/Linux needs -b to link" >&5
6164 echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6 6170 echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6
6165 cat >conftest.$ac_ext <<_ACEOF 6171 cat >conftest.$ac_ext <<_ACEOF
6166 #line 6166 "configure" 6172 #line 6172 "configure"
6167 #include "confdefs.h" 6173 #include "confdefs.h"
6168 6174
6169 int 6175 int
6170 main () 6176 main ()
6171 { 6177 {
6173 ; 6179 ;
6174 return 0; 6180 return 0;
6175 } 6181 }
6176 _ACEOF 6182 _ACEOF
6177 rm -f conftest.$ac_objext conftest$ac_exeext 6183 rm -f conftest.$ac_objext conftest$ac_exeext
6178 if { (eval echo "$as_me:6178: \"$ac_link\"") >&5 6184 if { (eval echo "$as_me:6184: \"$ac_link\"") >&5
6179 (eval $ac_link) 2>&5 6185 (eval $ac_link) 2>&5
6180 ac_status=$? 6186 ac_status=$?
6181 echo "$as_me:6181: \$? = $ac_status" >&5 6187 echo "$as_me:6187: \$? = $ac_status" >&5
6182 (exit $ac_status); } && 6188 (exit $ac_status); } &&
6183 { ac_try='test -s conftest$ac_exeext' 6189 { ac_try='test -s conftest$ac_exeext'
6184 { (eval echo "$as_me:6184: \"$ac_try\"") >&5 6190 { (eval echo "$as_me:6190: \"$ac_try\"") >&5
6185 (eval $ac_try) 2>&5 6191 (eval $ac_try) 2>&5
6186 ac_status=$? 6192 ac_status=$?
6187 echo "$as_me:6187: \$? = $ac_status" >&5 6193 echo "$as_me:6193: \$? = $ac_status" >&5
6188 (exit $ac_status); }; }; then 6194 (exit $ac_status); }; }; then
6189 xlinux_first_failure=no 6195 xlinux_first_failure=no
6190 else 6196 else
6191 echo "$as_me: failed program was:" >&5 6197 echo "$as_me: failed program was:" >&5
6192 cat conftest.$ac_ext >&5 6198 cat conftest.$ac_ext >&5
6201 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -b i486-linuxaout" 6207 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -b i486-linuxaout"
6202 C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout" 6208 C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout"
6203 CPPFLAGS="$CPPFLAGS -b i486-linuxaout" 6209 CPPFLAGS="$CPPFLAGS -b i486-linuxaout"
6204 LIBS="$LIBS -b i486-linuxaout" 6210 LIBS="$LIBS -b i486-linuxaout"
6205 cat >conftest.$ac_ext <<_ACEOF 6211 cat >conftest.$ac_ext <<_ACEOF
6206 #line 6206 "configure" 6212 #line 6212 "configure"
6207 #include "confdefs.h" 6213 #include "confdefs.h"
6208 6214
6209 int 6215 int
6210 main () 6216 main ()
6211 { 6217 {
6213 ; 6219 ;
6214 return 0; 6220 return 0;
6215 } 6221 }
6216 _ACEOF 6222 _ACEOF
6217 rm -f conftest.$ac_objext conftest$ac_exeext 6223 rm -f conftest.$ac_objext conftest$ac_exeext
6218 if { (eval echo "$as_me:6218: \"$ac_link\"") >&5 6224 if { (eval echo "$as_me:6224: \"$ac_link\"") >&5
6219 (eval $ac_link) 2>&5 6225 (eval $ac_link) 2>&5
6220 ac_status=$? 6226 ac_status=$?
6221 echo "$as_me:6221: \$? = $ac_status" >&5 6227 echo "$as_me:6227: \$? = $ac_status" >&5
6222 (exit $ac_status); } && 6228 (exit $ac_status); } &&
6223 { ac_try='test -s conftest$ac_exeext' 6229 { ac_try='test -s conftest$ac_exeext'
6224 { (eval echo "$as_me:6224: \"$ac_try\"") >&5 6230 { (eval echo "$as_me:6230: \"$ac_try\"") >&5
6225 (eval $ac_try) 2>&5 6231 (eval $ac_try) 2>&5
6226 ac_status=$? 6232 ac_status=$?
6227 echo "$as_me:6227: \$? = $ac_status" >&5 6233 echo "$as_me:6233: \$? = $ac_status" >&5
6228 (exit $ac_status); }; }; then 6234 (exit $ac_status); }; }; then
6229 xlinux_second_failure=no 6235 xlinux_second_failure=no
6230 else 6236 else
6231 echo "$as_me: failed program was:" >&5 6237 echo "$as_me: failed program was:" >&5
6232 cat conftest.$ac_ext >&5 6238 cat conftest.$ac_ext >&5
6238 # So take it out. This plays safe. 6244 # So take it out. This plays safe.
6239 LD_SWITCH_X_SITE="$OLD_LD_SWITCH_X_SITE" 6245 LD_SWITCH_X_SITE="$OLD_LD_SWITCH_X_SITE"
6240 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE" 6246 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE"
6241 CPPFLAGS="$OLD_CPPFLAGS" 6247 CPPFLAGS="$OLD_CPPFLAGS"
6242 LIBS="$OLD_LIBS" 6248 LIBS="$OLD_LIBS"
6243 echo "$as_me:6243: result: no" >&5 6249 echo "$as_me:6249: result: no" >&5
6244 echo "${ECHO_T}no" >&6 6250 echo "${ECHO_T}no" >&6
6245 else 6251 else
6246 echo "$as_me:6246: result: yes" >&5 6252 echo "$as_me:6252: result: yes" >&5
6247 echo "${ECHO_T}yes" >&6 6253 echo "${ECHO_T}yes" >&6
6248 fi 6254 fi
6249 else 6255 else
6250 echo "$as_me:6250: result: no" >&5 6256 echo "$as_me:6256: result: no" >&5
6251 echo "${ECHO_T}no" >&6 6257 echo "${ECHO_T}no" >&6
6252 fi 6258 fi
6253 fi 6259 fi
6254 6260
6255 # Reportedly, some broken Solaris systems have XKBlib.h but are missing 6261 # Reportedly, some broken Solaris systems have XKBlib.h but are missing
6256 # header files included from there. 6262 # header files included from there.
6257 echo "$as_me:6257: checking for Xkb" >&5 6263 echo "$as_me:6263: checking for Xkb" >&5
6258 echo $ECHO_N "checking for Xkb... $ECHO_C" >&6 6264 echo $ECHO_N "checking for Xkb... $ECHO_C" >&6
6259 cat >conftest.$ac_ext <<_ACEOF 6265 cat >conftest.$ac_ext <<_ACEOF
6260 #line 6260 "configure" 6266 #line 6266 "configure"
6261 #include "confdefs.h" 6267 #include "confdefs.h"
6262 #include <X11/Xlib.h> 6268 #include <X11/Xlib.h>
6263 #include <X11/XKBlib.h> 6269 #include <X11/XKBlib.h>
6264 int 6270 int
6265 main () 6271 main ()
6268 ; 6274 ;
6269 return 0; 6275 return 0;
6270 } 6276 }
6271 _ACEOF 6277 _ACEOF
6272 rm -f conftest.$ac_objext conftest$ac_exeext 6278 rm -f conftest.$ac_objext conftest$ac_exeext
6273 if { (eval echo "$as_me:6273: \"$ac_link\"") >&5 6279 if { (eval echo "$as_me:6279: \"$ac_link\"") >&5
6274 (eval $ac_link) 2>&5 6280 (eval $ac_link) 2>&5
6275 ac_status=$? 6281 ac_status=$?
6276 echo "$as_me:6276: \$? = $ac_status" >&5 6282 echo "$as_me:6282: \$? = $ac_status" >&5
6277 (exit $ac_status); } && 6283 (exit $ac_status); } &&
6278 { ac_try='test -s conftest$ac_exeext' 6284 { ac_try='test -s conftest$ac_exeext'
6279 { (eval echo "$as_me:6279: \"$ac_try\"") >&5 6285 { (eval echo "$as_me:6285: \"$ac_try\"") >&5
6280 (eval $ac_try) 2>&5 6286 (eval $ac_try) 2>&5
6281 ac_status=$? 6287 ac_status=$?
6282 echo "$as_me:6282: \$? = $ac_status" >&5 6288 echo "$as_me:6288: \$? = $ac_status" >&5
6283 (exit $ac_status); }; }; then 6289 (exit $ac_status); }; }; then
6284 emacs_xkb=yes 6290 emacs_xkb=yes
6285 else 6291 else
6286 echo "$as_me: failed program was:" >&5 6292 echo "$as_me: failed program was:" >&5
6287 cat conftest.$ac_ext >&5 6293 cat conftest.$ac_ext >&5
6288 emacs_xkb=no 6294 emacs_xkb=no
6289 fi 6295 fi
6290 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6296 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6291 echo "$as_me:6291: result: $emacs_xkb" >&5 6297 echo "$as_me:6297: result: $emacs_xkb" >&5
6292 echo "${ECHO_T}$emacs_xkb" >&6 6298 echo "${ECHO_T}$emacs_xkb" >&6
6293 if test $emacs_xkb = yes; then 6299 if test $emacs_xkb = yes; then
6294 cat >>confdefs.h <<\EOF 6300 cat >>confdefs.h <<\EOF
6295 #define HAVE_XKBGETKEYBOARD 1 6301 #define HAVE_XKBGETKEYBOARD 1
6296 EOF 6302 EOF
6299 6305
6300 for ac_func in XrmSetDatabase XScreenResourceString \ 6306 for ac_func in XrmSetDatabase XScreenResourceString \
6301 XScreenNumberOfScreen XSetWMProtocols 6307 XScreenNumberOfScreen XSetWMProtocols
6302 do 6308 do
6303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 6309 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6304 echo "$as_me:6304: checking for $ac_func" >&5 6310 echo "$as_me:6310: checking for $ac_func" >&5
6305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6311 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6306 if eval "test \"\${$as_ac_var+set}\" = set"; then 6312 if eval "test \"\${$as_ac_var+set}\" = set"; then
6307 echo $ECHO_N "(cached) $ECHO_C" >&6 6313 echo $ECHO_N "(cached) $ECHO_C" >&6
6308 else 6314 else
6309 cat >conftest.$ac_ext <<_ACEOF 6315 cat >conftest.$ac_ext <<_ACEOF
6310 #line 6310 "configure" 6316 #line 6316 "configure"
6311 #include "confdefs.h" 6317 #include "confdefs.h"
6312 /* System header to define __stub macros and hopefully few prototypes, 6318 /* System header to define __stub macros and hopefully few prototypes,
6313 which can conflict with char $ac_func (); below. */ 6319 which can conflict with char $ac_func (); below. */
6314 #include <assert.h> 6320 #include <assert.h>
6315 /* Override any gcc2 internal prototype to avoid an error. */ 6321 /* Override any gcc2 internal prototype to avoid an error. */
6336 ; 6342 ;
6337 return 0; 6343 return 0;
6338 } 6344 }
6339 _ACEOF 6345 _ACEOF
6340 rm -f conftest.$ac_objext conftest$ac_exeext 6346 rm -f conftest.$ac_objext conftest$ac_exeext
6341 if { (eval echo "$as_me:6341: \"$ac_link\"") >&5 6347 if { (eval echo "$as_me:6347: \"$ac_link\"") >&5
6342 (eval $ac_link) 2>&5 6348 (eval $ac_link) 2>&5
6343 ac_status=$? 6349 ac_status=$?
6344 echo "$as_me:6344: \$? = $ac_status" >&5 6350 echo "$as_me:6350: \$? = $ac_status" >&5
6345 (exit $ac_status); } && 6351 (exit $ac_status); } &&
6346 { ac_try='test -s conftest$ac_exeext' 6352 { ac_try='test -s conftest$ac_exeext'
6347 { (eval echo "$as_me:6347: \"$ac_try\"") >&5 6353 { (eval echo "$as_me:6353: \"$ac_try\"") >&5
6348 (eval $ac_try) 2>&5 6354 (eval $ac_try) 2>&5
6349 ac_status=$? 6355 ac_status=$?
6350 echo "$as_me:6350: \$? = $ac_status" >&5 6356 echo "$as_me:6356: \$? = $ac_status" >&5
6351 (exit $ac_status); }; }; then 6357 (exit $ac_status); }; }; then
6352 eval "$as_ac_var=yes" 6358 eval "$as_ac_var=yes"
6353 else 6359 else
6354 echo "$as_me: failed program was:" >&5 6360 echo "$as_me: failed program was:" >&5
6355 cat conftest.$ac_ext >&5 6361 cat conftest.$ac_ext >&5
6356 eval "$as_ac_var=no" 6362 eval "$as_ac_var=no"
6357 fi 6363 fi
6358 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6364 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6359 fi 6365 fi
6360 echo "$as_me:6360: result: `eval echo '${'$as_ac_var'}'`" >&5 6366 echo "$as_me:6366: result: `eval echo '${'$as_ac_var'}'`" >&5
6361 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6367 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6362 if test `eval echo '${'$as_ac_var'}'` = yes; then 6368 if test `eval echo '${'$as_ac_var'}'` = yes; then
6363 cat >>confdefs.h <<EOF 6369 cat >>confdefs.h <<EOF
6364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 6370 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6365 EOF 6371 EOF
6368 done 6374 done
6369 6375
6370 fi 6376 fi
6371 6377
6372 if test "${window_system}" = "x11"; then 6378 if test "${window_system}" = "x11"; then
6373 echo "$as_me:6373: checking X11 version 6" >&5 6379 echo "$as_me:6379: checking X11 version 6" >&5
6374 echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6 6380 echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6
6375 if test "${emacs_cv_x11_version_6+set}" = set; then 6381 if test "${emacs_cv_x11_version_6+set}" = set; then
6376 echo $ECHO_N "(cached) $ECHO_C" >&6 6382 echo $ECHO_N "(cached) $ECHO_C" >&6
6377 else 6383 else
6378 cat >conftest.$ac_ext <<_ACEOF 6384 cat >conftest.$ac_ext <<_ACEOF
6379 #line 6379 "configure" 6385 #line 6385 "configure"
6380 #include "confdefs.h" 6386 #include "confdefs.h"
6381 #include <X11/Xlib.h> 6387 #include <X11/Xlib.h>
6382 int 6388 int
6383 main () 6389 main ()
6384 { 6390 {
6389 ; 6395 ;
6390 return 0; 6396 return 0;
6391 } 6397 }
6392 _ACEOF 6398 _ACEOF
6393 rm -f conftest.$ac_objext conftest$ac_exeext 6399 rm -f conftest.$ac_objext conftest$ac_exeext
6394 if { (eval echo "$as_me:6394: \"$ac_link\"") >&5 6400 if { (eval echo "$as_me:6400: \"$ac_link\"") >&5
6395 (eval $ac_link) 2>&5 6401 (eval $ac_link) 2>&5
6396 ac_status=$? 6402 ac_status=$?
6397 echo "$as_me:6397: \$? = $ac_status" >&5 6403 echo "$as_me:6403: \$? = $ac_status" >&5
6398 (exit $ac_status); } && 6404 (exit $ac_status); } &&
6399 { ac_try='test -s conftest$ac_exeext' 6405 { ac_try='test -s conftest$ac_exeext'
6400 { (eval echo "$as_me:6400: \"$ac_try\"") >&5 6406 { (eval echo "$as_me:6406: \"$ac_try\"") >&5
6401 (eval $ac_try) 2>&5 6407 (eval $ac_try) 2>&5
6402 ac_status=$? 6408 ac_status=$?
6403 echo "$as_me:6403: \$? = $ac_status" >&5 6409 echo "$as_me:6409: \$? = $ac_status" >&5
6404 (exit $ac_status); }; }; then 6410 (exit $ac_status); }; }; then
6405 emacs_cv_x11_version_6=yes 6411 emacs_cv_x11_version_6=yes
6406 else 6412 else
6407 echo "$as_me: failed program was:" >&5 6413 echo "$as_me: failed program was:" >&5
6408 cat conftest.$ac_ext >&5 6414 cat conftest.$ac_ext >&5
6410 fi 6416 fi
6411 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6417 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6412 fi 6418 fi
6413 6419
6414 if test $emacs_cv_x11_version_6 = yes; then 6420 if test $emacs_cv_x11_version_6 = yes; then
6415 echo "$as_me:6415: result: 6 or newer" >&5 6421 echo "$as_me:6421: result: 6 or newer" >&5
6416 echo "${ECHO_T}6 or newer" >&6 6422 echo "${ECHO_T}6 or newer" >&6
6417 cat >>confdefs.h <<\EOF 6423 cat >>confdefs.h <<\EOF
6418 #define HAVE_X11R6 1 6424 #define HAVE_X11R6 1
6419 EOF 6425 EOF
6420 6426
6421 else 6427 else
6422 echo "$as_me:6422: result: before 6" >&5 6428 echo "$as_me:6428: result: before 6" >&5
6423 echo "${ECHO_T}before 6" >&6 6429 echo "${ECHO_T}before 6" >&6
6424 fi 6430 fi
6425 fi 6431 fi
6426 6432
6427 if test "${window_system}" = "x11"; then 6433 if test "${window_system}" = "x11"; then
6428 echo "$as_me:6428: checking X11 version 5" >&5 6434 echo "$as_me:6434: checking X11 version 5" >&5
6429 echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6 6435 echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6
6430 if test "${emacs_cv_x11_version_5+set}" = set; then 6436 if test "${emacs_cv_x11_version_5+set}" = set; then
6431 echo $ECHO_N "(cached) $ECHO_C" >&6 6437 echo $ECHO_N "(cached) $ECHO_C" >&6
6432 else 6438 else
6433 cat >conftest.$ac_ext <<_ACEOF 6439 cat >conftest.$ac_ext <<_ACEOF
6434 #line 6434 "configure" 6440 #line 6440 "configure"
6435 #include "confdefs.h" 6441 #include "confdefs.h"
6436 #include <X11/Xlib.h> 6442 #include <X11/Xlib.h>
6437 int 6443 int
6438 main () 6444 main ()
6439 { 6445 {
6444 ; 6450 ;
6445 return 0; 6451 return 0;
6446 } 6452 }
6447 _ACEOF 6453 _ACEOF
6448 rm -f conftest.$ac_objext conftest$ac_exeext 6454 rm -f conftest.$ac_objext conftest$ac_exeext
6449 if { (eval echo "$as_me:6449: \"$ac_link\"") >&5 6455 if { (eval echo "$as_me:6455: \"$ac_link\"") >&5
6450 (eval $ac_link) 2>&5 6456 (eval $ac_link) 2>&5
6451 ac_status=$? 6457 ac_status=$?
6452 echo "$as_me:6452: \$? = $ac_status" >&5 6458 echo "$as_me:6458: \$? = $ac_status" >&5
6453 (exit $ac_status); } && 6459 (exit $ac_status); } &&
6454 { ac_try='test -s conftest$ac_exeext' 6460 { ac_try='test -s conftest$ac_exeext'
6455 { (eval echo "$as_me:6455: \"$ac_try\"") >&5 6461 { (eval echo "$as_me:6461: \"$ac_try\"") >&5
6456 (eval $ac_try) 2>&5 6462 (eval $ac_try) 2>&5
6457 ac_status=$? 6463 ac_status=$?
6458 echo "$as_me:6458: \$? = $ac_status" >&5 6464 echo "$as_me:6464: \$? = $ac_status" >&5
6459 (exit $ac_status); }; }; then 6465 (exit $ac_status); }; }; then
6460 emacs_cv_x11_version_5=yes 6466 emacs_cv_x11_version_5=yes
6461 else 6467 else
6462 echo "$as_me: failed program was:" >&5 6468 echo "$as_me: failed program was:" >&5
6463 cat conftest.$ac_ext >&5 6469 cat conftest.$ac_ext >&5
6465 fi 6471 fi
6466 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6472 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6467 fi 6473 fi
6468 6474
6469 if test $emacs_cv_x11_version_5 = yes; then 6475 if test $emacs_cv_x11_version_5 = yes; then
6470 echo "$as_me:6470: result: 5 or newer" >&5 6476 echo "$as_me:6476: result: 5 or newer" >&5
6471 echo "${ECHO_T}5 or newer" >&6 6477 echo "${ECHO_T}5 or newer" >&6
6472 HAVE_X11R5=yes 6478 HAVE_X11R5=yes
6473 cat >>confdefs.h <<\EOF 6479 cat >>confdefs.h <<\EOF
6474 #define HAVE_X11R5 1 6480 #define HAVE_X11R5 1
6475 EOF 6481 EOF
6476 6482
6477 else 6483 else
6478 HAVE_X11R5=no 6484 HAVE_X11R5=no
6479 echo "$as_me:6479: result: before 5" >&5 6485 echo "$as_me:6485: result: before 5" >&5
6480 echo "${ECHO_T}before 5" >&6 6486 echo "${ECHO_T}before 5" >&6
6481 fi 6487 fi
6482 fi 6488 fi
6483 6489
6484 if test x"${USE_X_TOOLKIT}" = xmaybe; then 6490 if test x"${USE_X_TOOLKIT}" = xmaybe; then
6485 if test x"${HAVE_X11R5}" = xyes; then 6491 if test x"${HAVE_X11R5}" = xyes; then
6486 echo "$as_me:6486: checking X11 version 5 with Xaw" >&5 6492 echo "$as_me:6492: checking X11 version 5 with Xaw" >&5
6487 echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6 6493 echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6
6488 if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then 6494 if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then
6489 echo $ECHO_N "(cached) $ECHO_C" >&6 6495 echo $ECHO_N "(cached) $ECHO_C" >&6
6490 else 6496 else
6491 cat >conftest.$ac_ext <<_ACEOF 6497 cat >conftest.$ac_ext <<_ACEOF
6492 #line 6492 "configure" 6498 #line 6498 "configure"
6493 #include "confdefs.h" 6499 #include "confdefs.h"
6494 6500
6495 #include <X11/Intrinsic.h> 6501 #include <X11/Intrinsic.h>
6496 #include <X11/Xaw/Simple.h> 6502 #include <X11/Xaw/Simple.h>
6497 int 6503 int
6501 ; 6507 ;
6502 return 0; 6508 return 0;
6503 } 6509 }
6504 _ACEOF 6510 _ACEOF
6505 rm -f conftest.$ac_objext conftest$ac_exeext 6511 rm -f conftest.$ac_objext conftest$ac_exeext
6506 if { (eval echo "$as_me:6506: \"$ac_link\"") >&5 6512 if { (eval echo "$as_me:6512: \"$ac_link\"") >&5
6507 (eval $ac_link) 2>&5 6513 (eval $ac_link) 2>&5
6508 ac_status=$? 6514 ac_status=$?
6509 echo "$as_me:6509: \$? = $ac_status" >&5 6515 echo "$as_me:6515: \$? = $ac_status" >&5
6510 (exit $ac_status); } && 6516 (exit $ac_status); } &&
6511 { ac_try='test -s conftest$ac_exeext' 6517 { ac_try='test -s conftest$ac_exeext'
6512 { (eval echo "$as_me:6512: \"$ac_try\"") >&5 6518 { (eval echo "$as_me:6518: \"$ac_try\"") >&5
6513 (eval $ac_try) 2>&5 6519 (eval $ac_try) 2>&5
6514 ac_status=$? 6520 ac_status=$?
6515 echo "$as_me:6515: \$? = $ac_status" >&5 6521 echo "$as_me:6521: \$? = $ac_status" >&5
6516 (exit $ac_status); }; }; then 6522 (exit $ac_status); }; }; then
6517 emacs_cv_x11_version_5_with_xaw=yes 6523 emacs_cv_x11_version_5_with_xaw=yes
6518 else 6524 else
6519 echo "$as_me: failed program was:" >&5 6525 echo "$as_me: failed program was:" >&5
6520 cat conftest.$ac_ext >&5 6526 cat conftest.$ac_ext >&5
6522 fi 6528 fi
6523 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6529 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6524 fi 6530 fi
6525 6531
6526 if test $emacs_cv_x11_version_5_with_xaw = yes; then 6532 if test $emacs_cv_x11_version_5_with_xaw = yes; then
6527 echo "$as_me:6527: result: 5 or newer, with Xaw; use toolkit by default" >&5 6533 echo "$as_me:6533: result: 5 or newer, with Xaw; use toolkit by default" >&5
6528 echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6 6534 echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6
6529 USE_X_TOOLKIT=LUCID 6535 USE_X_TOOLKIT=LUCID
6530 else 6536 else
6531 echo "$as_me:6531: result: before 5 or no Xaw; do not use toolkit by default" >&5 6537 echo "$as_me:6537: result: before 5 or no Xaw; do not use toolkit by default" >&5
6532 echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6 6538 echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6
6533 USE_X_TOOLKIT=none 6539 USE_X_TOOLKIT=none
6534 fi 6540 fi
6535 else 6541 else
6536 USE_X_TOOLKIT=none 6542 USE_X_TOOLKIT=none
6538 fi 6544 fi
6539 6545
6540 X_TOOLKIT_TYPE=$USE_X_TOOLKIT 6546 X_TOOLKIT_TYPE=$USE_X_TOOLKIT
6541 6547
6542 if test "${USE_X_TOOLKIT}" != "none"; then 6548 if test "${USE_X_TOOLKIT}" != "none"; then
6543 echo "$as_me:6543: checking X11 toolkit version" >&5 6549 echo "$as_me:6549: checking X11 toolkit version" >&5
6544 echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6 6550 echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6
6545 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then 6551 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then
6546 echo $ECHO_N "(cached) $ECHO_C" >&6 6552 echo $ECHO_N "(cached) $ECHO_C" >&6
6547 else 6553 else
6548 cat >conftest.$ac_ext <<_ACEOF 6554 cat >conftest.$ac_ext <<_ACEOF
6549 #line 6549 "configure" 6555 #line 6555 "configure"
6550 #include "confdefs.h" 6556 #include "confdefs.h"
6551 #include <X11/Intrinsic.h> 6557 #include <X11/Intrinsic.h>
6552 int 6558 int
6553 main () 6559 main ()
6554 { 6560 {
6559 ; 6565 ;
6560 return 0; 6566 return 0;
6561 } 6567 }
6562 _ACEOF 6568 _ACEOF
6563 rm -f conftest.$ac_objext conftest$ac_exeext 6569 rm -f conftest.$ac_objext conftest$ac_exeext
6564 if { (eval echo "$as_me:6564: \"$ac_link\"") >&5 6570 if { (eval echo "$as_me:6570: \"$ac_link\"") >&5
6565 (eval $ac_link) 2>&5 6571 (eval $ac_link) 2>&5
6566 ac_status=$? 6572 ac_status=$?
6567 echo "$as_me:6567: \$? = $ac_status" >&5 6573 echo "$as_me:6573: \$? = $ac_status" >&5
6568 (exit $ac_status); } && 6574 (exit $ac_status); } &&
6569 { ac_try='test -s conftest$ac_exeext' 6575 { ac_try='test -s conftest$ac_exeext'
6570 { (eval echo "$as_me:6570: \"$ac_try\"") >&5 6576 { (eval echo "$as_me:6576: \"$ac_try\"") >&5
6571 (eval $ac_try) 2>&5 6577 (eval $ac_try) 2>&5
6572 ac_status=$? 6578 ac_status=$?
6573 echo "$as_me:6573: \$? = $ac_status" >&5 6579 echo "$as_me:6579: \$? = $ac_status" >&5
6574 (exit $ac_status); }; }; then 6580 (exit $ac_status); }; }; then
6575 emacs_cv_x11_toolkit_version_6=yes 6581 emacs_cv_x11_toolkit_version_6=yes
6576 else 6582 else
6577 echo "$as_me: failed program was:" >&5 6583 echo "$as_me: failed program was:" >&5
6578 cat conftest.$ac_ext >&5 6584 cat conftest.$ac_ext >&5
6581 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6587 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6582 fi 6588 fi
6583 6589
6584 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6 6590 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6
6585 if test $emacs_cv_x11_toolkit_version_6 = yes; then 6591 if test $emacs_cv_x11_toolkit_version_6 = yes; then
6586 echo "$as_me:6586: result: 6 or newer" >&5 6592 echo "$as_me:6592: result: 6 or newer" >&5
6587 echo "${ECHO_T}6 or newer" >&6 6593 echo "${ECHO_T}6 or newer" >&6
6588 cat >>confdefs.h <<\EOF 6594 cat >>confdefs.h <<\EOF
6589 #define HAVE_X11XTR6 1 6595 #define HAVE_X11XTR6 1
6590 EOF 6596 EOF
6591 6597
6592 else 6598 else
6593 echo "$as_me:6593: result: before 6" >&5 6599 echo "$as_me:6599: result: before 6" >&5
6594 echo "${ECHO_T}before 6" >&6 6600 echo "${ECHO_T}before 6" >&6
6595 fi 6601 fi
6596 6602
6597 OLDLIBS="$LIBS" 6603 OLDLIBS="$LIBS"
6598 if test x$HAVE_X11XTR6 = xyes; then 6604 if test x$HAVE_X11XTR6 = xyes; then
6599 LIBS="-lXt -lSM -lICE $LIBS" 6605 LIBS="-lXt -lSM -lICE $LIBS"
6600 else 6606 else
6601 LIBS="-lXt $LIBS" 6607 LIBS="-lXt $LIBS"
6602 fi 6608 fi
6603 6609
6604 echo "$as_me:6604: checking for XmuConvertStandardSelection in -lXmu" >&5 6610 echo "$as_me:6610: checking for XmuConvertStandardSelection in -lXmu" >&5
6605 echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6 6611 echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6
6606 if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then 6612 if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then
6607 echo $ECHO_N "(cached) $ECHO_C" >&6 6613 echo $ECHO_N "(cached) $ECHO_C" >&6
6608 else 6614 else
6609 ac_check_lib_save_LIBS=$LIBS 6615 ac_check_lib_save_LIBS=$LIBS
6610 LIBS="-lXmu $LIBS" 6616 LIBS="-lXmu $LIBS"
6611 cat >conftest.$ac_ext <<_ACEOF 6617 cat >conftest.$ac_ext <<_ACEOF
6612 #line 6612 "configure" 6618 #line 6618 "configure"
6613 #include "confdefs.h" 6619 #include "confdefs.h"
6614 6620
6615 /* Override any gcc2 internal prototype to avoid an error. */ 6621 /* Override any gcc2 internal prototype to avoid an error. */
6616 #ifdef __cplusplus 6622 #ifdef __cplusplus
6617 extern "C" 6623 extern "C"
6626 ; 6632 ;
6627 return 0; 6633 return 0;
6628 } 6634 }
6629 _ACEOF 6635 _ACEOF
6630 rm -f conftest.$ac_objext conftest$ac_exeext 6636 rm -f conftest.$ac_objext conftest$ac_exeext
6631 if { (eval echo "$as_me:6631: \"$ac_link\"") >&5 6637 if { (eval echo "$as_me:6637: \"$ac_link\"") >&5
6632 (eval $ac_link) 2>&5 6638 (eval $ac_link) 2>&5
6633 ac_status=$? 6639 ac_status=$?
6634 echo "$as_me:6634: \$? = $ac_status" >&5 6640 echo "$as_me:6640: \$? = $ac_status" >&5
6635 (exit $ac_status); } && 6641 (exit $ac_status); } &&
6636 { ac_try='test -s conftest$ac_exeext' 6642 { ac_try='test -s conftest$ac_exeext'
6637 { (eval echo "$as_me:6637: \"$ac_try\"") >&5 6643 { (eval echo "$as_me:6643: \"$ac_try\"") >&5
6638 (eval $ac_try) 2>&5 6644 (eval $ac_try) 2>&5
6639 ac_status=$? 6645 ac_status=$?
6640 echo "$as_me:6640: \$? = $ac_status" >&5 6646 echo "$as_me:6646: \$? = $ac_status" >&5
6641 (exit $ac_status); }; }; then 6647 (exit $ac_status); }; }; then
6642 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes 6648 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes
6643 else 6649 else
6644 echo "$as_me: failed program was:" >&5 6650 echo "$as_me: failed program was:" >&5
6645 cat conftest.$ac_ext >&5 6651 cat conftest.$ac_ext >&5
6646 ac_cv_lib_Xmu_XmuConvertStandardSelection=no 6652 ac_cv_lib_Xmu_XmuConvertStandardSelection=no
6647 fi 6653 fi
6648 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6654 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6649 LIBS=$ac_check_lib_save_LIBS 6655 LIBS=$ac_check_lib_save_LIBS
6650 fi 6656 fi
6651 echo "$as_me:6651: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5 6657 echo "$as_me:6657: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5
6652 echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6 6658 echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6
6653 if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then 6659 if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then
6654 cat >>confdefs.h <<EOF 6660 cat >>confdefs.h <<EOF
6655 #define HAVE_LIBXMU 1 6661 #define HAVE_LIBXMU 1
6656 EOF 6662 EOF
6664 6670
6665 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D. 6671 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D.
6666 if test "${HAVE_X11}" = "yes"; then 6672 if test "${HAVE_X11}" = "yes"; then
6667 if test "${USE_X_TOOLKIT}" != "none"; then 6673 if test "${USE_X_TOOLKIT}" != "none"; then
6668 6674
6669 echo "$as_me:6669: checking for XShapeQueryExtension in -lXext" >&5 6675 echo "$as_me:6675: checking for XShapeQueryExtension in -lXext" >&5
6670 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6 6676 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
6671 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then 6677 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
6672 echo $ECHO_N "(cached) $ECHO_C" >&6 6678 echo $ECHO_N "(cached) $ECHO_C" >&6
6673 else 6679 else
6674 ac_check_lib_save_LIBS=$LIBS 6680 ac_check_lib_save_LIBS=$LIBS
6675 LIBS="-lXext $LIBS" 6681 LIBS="-lXext $LIBS"
6676 cat >conftest.$ac_ext <<_ACEOF 6682 cat >conftest.$ac_ext <<_ACEOF
6677 #line 6677 "configure" 6683 #line 6683 "configure"
6678 #include "confdefs.h" 6684 #include "confdefs.h"
6679 6685
6680 /* Override any gcc2 internal prototype to avoid an error. */ 6686 /* Override any gcc2 internal prototype to avoid an error. */
6681 #ifdef __cplusplus 6687 #ifdef __cplusplus
6682 extern "C" 6688 extern "C"
6691 ; 6697 ;
6692 return 0; 6698 return 0;
6693 } 6699 }
6694 _ACEOF 6700 _ACEOF
6695 rm -f conftest.$ac_objext conftest$ac_exeext 6701 rm -f conftest.$ac_objext conftest$ac_exeext
6696 if { (eval echo "$as_me:6696: \"$ac_link\"") >&5 6702 if { (eval echo "$as_me:6702: \"$ac_link\"") >&5
6697 (eval $ac_link) 2>&5 6703 (eval $ac_link) 2>&5
6698 ac_status=$? 6704 ac_status=$?
6699 echo "$as_me:6699: \$? = $ac_status" >&5 6705 echo "$as_me:6705: \$? = $ac_status" >&5
6700 (exit $ac_status); } && 6706 (exit $ac_status); } &&
6701 { ac_try='test -s conftest$ac_exeext' 6707 { ac_try='test -s conftest$ac_exeext'
6702 { (eval echo "$as_me:6702: \"$ac_try\"") >&5 6708 { (eval echo "$as_me:6708: \"$ac_try\"") >&5
6703 (eval $ac_try) 2>&5 6709 (eval $ac_try) 2>&5
6704 ac_status=$? 6710 ac_status=$?
6705 echo "$as_me:6705: \$? = $ac_status" >&5 6711 echo "$as_me:6711: \$? = $ac_status" >&5
6706 (exit $ac_status); }; }; then 6712 (exit $ac_status); }; }; then
6707 ac_cv_lib_Xext_XShapeQueryExtension=yes 6713 ac_cv_lib_Xext_XShapeQueryExtension=yes
6708 else 6714 else
6709 echo "$as_me: failed program was:" >&5 6715 echo "$as_me: failed program was:" >&5
6710 cat conftest.$ac_ext >&5 6716 cat conftest.$ac_ext >&5
6711 ac_cv_lib_Xext_XShapeQueryExtension=no 6717 ac_cv_lib_Xext_XShapeQueryExtension=no
6712 fi 6718 fi
6713 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6719 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6714 LIBS=$ac_check_lib_save_LIBS 6720 LIBS=$ac_check_lib_save_LIBS
6715 fi 6721 fi
6716 echo "$as_me:6716: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 6722 echo "$as_me:6722: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
6717 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6 6723 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
6718 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then 6724 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
6719 cat >>confdefs.h <<EOF 6725 cat >>confdefs.h <<EOF
6720 #define HAVE_LIBXEXT 1 6726 #define HAVE_LIBXEXT 1
6721 EOF 6727 EOF
6726 6732
6727 fi 6733 fi
6728 fi 6734 fi
6729 6735
6730 if test "${USE_X_TOOLKIT}" = "MOTIF"; then 6736 if test "${USE_X_TOOLKIT}" = "MOTIF"; then
6731 echo "$as_me:6731: checking for Motif version 2.1" >&5 6737 echo "$as_me:6737: checking for Motif version 2.1" >&5
6732 echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6 6738 echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6
6733 if test "${emacs_cv_motif_version_2_1+set}" = set; then 6739 if test "${emacs_cv_motif_version_2_1+set}" = set; then
6734 echo $ECHO_N "(cached) $ECHO_C" >&6 6740 echo $ECHO_N "(cached) $ECHO_C" >&6
6735 else 6741 else
6736 cat >conftest.$ac_ext <<_ACEOF 6742 cat >conftest.$ac_ext <<_ACEOF
6737 #line 6737 "configure" 6743 #line 6743 "configure"
6738 #include "confdefs.h" 6744 #include "confdefs.h"
6739 #include <Xm/Xm.h> 6745 #include <Xm/Xm.h>
6740 int 6746 int
6741 main () 6747 main ()
6742 { 6748 {
6748 ; 6754 ;
6749 return 0; 6755 return 0;
6750 } 6756 }
6751 _ACEOF 6757 _ACEOF
6752 rm -f conftest.$ac_objext 6758 rm -f conftest.$ac_objext
6753 if { (eval echo "$as_me:6753: \"$ac_compile\"") >&5 6759 if { (eval echo "$as_me:6759: \"$ac_compile\"") >&5
6754 (eval $ac_compile) 2>&5 6760 (eval $ac_compile) 2>&5
6755 ac_status=$? 6761 ac_status=$?
6756 echo "$as_me:6756: \$? = $ac_status" >&5 6762 echo "$as_me:6762: \$? = $ac_status" >&5
6757 (exit $ac_status); } && 6763 (exit $ac_status); } &&
6758 { ac_try='test -s conftest.$ac_objext' 6764 { ac_try='test -s conftest.$ac_objext'
6759 { (eval echo "$as_me:6759: \"$ac_try\"") >&5 6765 { (eval echo "$as_me:6765: \"$ac_try\"") >&5
6760 (eval $ac_try) 2>&5 6766 (eval $ac_try) 2>&5
6761 ac_status=$? 6767 ac_status=$?
6762 echo "$as_me:6762: \$? = $ac_status" >&5 6768 echo "$as_me:6768: \$? = $ac_status" >&5
6763 (exit $ac_status); }; }; then 6769 (exit $ac_status); }; }; then
6764 emacs_cv_motif_version_2_1=yes 6770 emacs_cv_motif_version_2_1=yes
6765 else 6771 else
6766 echo "$as_me: failed program was:" >&5 6772 echo "$as_me: failed program was:" >&5
6767 cat conftest.$ac_ext >&5 6773 cat conftest.$ac_ext >&5
6768 emacs_cv_motif_version_2_1=no 6774 emacs_cv_motif_version_2_1=no
6769 fi 6775 fi
6770 rm -f conftest.$ac_objext conftest.$ac_ext 6776 rm -f conftest.$ac_objext conftest.$ac_ext
6771 fi 6777 fi
6772 echo "$as_me:6772: result: $emacs_cv_motif_version_2_1" >&5 6778 echo "$as_me:6778: result: $emacs_cv_motif_version_2_1" >&5
6773 echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6 6779 echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6
6774 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1 6780 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1
6775 if test $emacs_cv_motif_version_2_1 = yes; then 6781 if test $emacs_cv_motif_version_2_1 = yes; then
6776 HAVE_LIBXP=no 6782 HAVE_LIBXP=no
6777 cat >>confdefs.h <<\EOF 6783 cat >>confdefs.h <<\EOF
6778 #define HAVE_MOTIF_2_1 1 6784 #define HAVE_MOTIF_2_1 1
6779 EOF 6785 EOF
6780 6786
6781 echo "$as_me:6781: checking for XpCreateContext in -lXp" >&5 6787 echo "$as_me:6787: checking for XpCreateContext in -lXp" >&5
6782 echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6 6788 echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6
6783 if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then 6789 if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then
6784 echo $ECHO_N "(cached) $ECHO_C" >&6 6790 echo $ECHO_N "(cached) $ECHO_C" >&6
6785 else 6791 else
6786 ac_check_lib_save_LIBS=$LIBS 6792 ac_check_lib_save_LIBS=$LIBS
6787 LIBS="-lXp $LIBS" 6793 LIBS="-lXp $LIBS"
6788 cat >conftest.$ac_ext <<_ACEOF 6794 cat >conftest.$ac_ext <<_ACEOF
6789 #line 6789 "configure" 6795 #line 6795 "configure"
6790 #include "confdefs.h" 6796 #include "confdefs.h"
6791 6797
6792 /* Override any gcc2 internal prototype to avoid an error. */ 6798 /* Override any gcc2 internal prototype to avoid an error. */
6793 #ifdef __cplusplus 6799 #ifdef __cplusplus
6794 extern "C" 6800 extern "C"
6803 ; 6809 ;
6804 return 0; 6810 return 0;
6805 } 6811 }
6806 _ACEOF 6812 _ACEOF
6807 rm -f conftest.$ac_objext conftest$ac_exeext 6813 rm -f conftest.$ac_objext conftest$ac_exeext
6808 if { (eval echo "$as_me:6808: \"$ac_link\"") >&5 6814 if { (eval echo "$as_me:6814: \"$ac_link\"") >&5
6809 (eval $ac_link) 2>&5 6815 (eval $ac_link) 2>&5
6810 ac_status=$? 6816 ac_status=$?
6811 echo "$as_me:6811: \$? = $ac_status" >&5 6817 echo "$as_me:6817: \$? = $ac_status" >&5
6812 (exit $ac_status); } && 6818 (exit $ac_status); } &&
6813 { ac_try='test -s conftest$ac_exeext' 6819 { ac_try='test -s conftest$ac_exeext'
6814 { (eval echo "$as_me:6814: \"$ac_try\"") >&5 6820 { (eval echo "$as_me:6820: \"$ac_try\"") >&5
6815 (eval $ac_try) 2>&5 6821 (eval $ac_try) 2>&5
6816 ac_status=$? 6822 ac_status=$?
6817 echo "$as_me:6817: \$? = $ac_status" >&5 6823 echo "$as_me:6823: \$? = $ac_status" >&5
6818 (exit $ac_status); }; }; then 6824 (exit $ac_status); }; }; then
6819 ac_cv_lib_Xp_XpCreateContext=yes 6825 ac_cv_lib_Xp_XpCreateContext=yes
6820 else 6826 else
6821 echo "$as_me: failed program was:" >&5 6827 echo "$as_me: failed program was:" >&5
6822 cat conftest.$ac_ext >&5 6828 cat conftest.$ac_ext >&5
6823 ac_cv_lib_Xp_XpCreateContext=no 6829 ac_cv_lib_Xp_XpCreateContext=no
6824 fi 6830 fi
6825 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6831 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6826 LIBS=$ac_check_lib_save_LIBS 6832 LIBS=$ac_check_lib_save_LIBS
6827 fi 6833 fi
6828 echo "$as_me:6828: result: $ac_cv_lib_Xp_XpCreateContext" >&5 6834 echo "$as_me:6834: result: $ac_cv_lib_Xp_XpCreateContext" >&5
6829 echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6 6835 echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6
6830 if test $ac_cv_lib_Xp_XpCreateContext = yes; then 6836 if test $ac_cv_lib_Xp_XpCreateContext = yes; then
6831 HAVE_LIBXP=yes 6837 HAVE_LIBXP=yes
6832 fi 6838 fi
6833 6839
6842 6848
6843 ### Is -lXaw3d available? 6849 ### Is -lXaw3d available?
6844 HAVE_XAW3D=no 6850 HAVE_XAW3D=no
6845 if test "${HAVE_X11}" = "yes"; then 6851 if test "${HAVE_X11}" = "yes"; then
6846 if test "${USE_X_TOOLKIT}" != "none"; then 6852 if test "${USE_X_TOOLKIT}" != "none"; then
6847 echo "$as_me:6847: checking for X11/Xaw3d/Scrollbar.h" >&5 6853 echo "$as_me:6853: checking for X11/Xaw3d/Scrollbar.h" >&5
6848 echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6 6854 echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6
6849 if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then 6855 if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then
6850 echo $ECHO_N "(cached) $ECHO_C" >&6 6856 echo $ECHO_N "(cached) $ECHO_C" >&6
6851 else 6857 else
6852 cat >conftest.$ac_ext <<_ACEOF 6858 cat >conftest.$ac_ext <<_ACEOF
6853 #line 6853 "configure" 6859 #line 6859 "configure"
6854 #include "confdefs.h" 6860 #include "confdefs.h"
6855 #include <X11/Xaw3d/Scrollbar.h> 6861 #include <X11/Xaw3d/Scrollbar.h>
6856 _ACEOF 6862 _ACEOF
6857 if { (eval echo "$as_me:6857: \"$ac_cpp conftest.$ac_ext\"") >&5 6863 if { (eval echo "$as_me:6863: \"$ac_cpp conftest.$ac_ext\"") >&5
6858 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6864 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6859 ac_status=$? 6865 ac_status=$?
6860 egrep -v '^ *\+' conftest.er1 >conftest.err 6866 egrep -v '^ *\+' conftest.er1 >conftest.err
6861 rm -f conftest.er1 6867 rm -f conftest.er1
6862 cat conftest.err >&5 6868 cat conftest.err >&5
6863 echo "$as_me:6863: \$? = $ac_status" >&5 6869 echo "$as_me:6869: \$? = $ac_status" >&5
6864 (exit $ac_status); } >/dev/null; then 6870 (exit $ac_status); } >/dev/null; then
6865 if test -s conftest.err; then 6871 if test -s conftest.err; then
6866 ac_cpp_err=$ac_c_preproc_warn_flag 6872 ac_cpp_err=$ac_c_preproc_warn_flag
6867 else 6873 else
6868 ac_cpp_err= 6874 ac_cpp_err=
6877 cat conftest.$ac_ext >&5 6883 cat conftest.$ac_ext >&5
6878 ac_cv_header_X11_Xaw3d_Scrollbar_h=no 6884 ac_cv_header_X11_Xaw3d_Scrollbar_h=no
6879 fi 6885 fi
6880 rm -f conftest.err conftest.$ac_ext 6886 rm -f conftest.err conftest.$ac_ext
6881 fi 6887 fi
6882 echo "$as_me:6882: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5 6888 echo "$as_me:6888: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5
6883 echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6 6889 echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6
6884 if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then 6890 if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then
6885 echo "$as_me:6885: checking for XawScrollbarSetThumb in -lXaw3d" >&5 6891 echo "$as_me:6891: checking for XawScrollbarSetThumb in -lXaw3d" >&5
6886 echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6 6892 echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6
6887 if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then 6893 if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then
6888 echo $ECHO_N "(cached) $ECHO_C" >&6 6894 echo $ECHO_N "(cached) $ECHO_C" >&6
6889 else 6895 else
6890 ac_check_lib_save_LIBS=$LIBS 6896 ac_check_lib_save_LIBS=$LIBS
6891 LIBS="-lXaw3d $LIBS" 6897 LIBS="-lXaw3d $LIBS"
6892 cat >conftest.$ac_ext <<_ACEOF 6898 cat >conftest.$ac_ext <<_ACEOF
6893 #line 6893 "configure" 6899 #line 6899 "configure"
6894 #include "confdefs.h" 6900 #include "confdefs.h"
6895 6901
6896 /* Override any gcc2 internal prototype to avoid an error. */ 6902 /* Override any gcc2 internal prototype to avoid an error. */
6897 #ifdef __cplusplus 6903 #ifdef __cplusplus
6898 extern "C" 6904 extern "C"
6907 ; 6913 ;
6908 return 0; 6914 return 0;
6909 } 6915 }
6910 _ACEOF 6916 _ACEOF
6911 rm -f conftest.$ac_objext conftest$ac_exeext 6917 rm -f conftest.$ac_objext conftest$ac_exeext
6912 if { (eval echo "$as_me:6912: \"$ac_link\"") >&5 6918 if { (eval echo "$as_me:6918: \"$ac_link\"") >&5
6913 (eval $ac_link) 2>&5 6919 (eval $ac_link) 2>&5
6914 ac_status=$? 6920 ac_status=$?
6915 echo "$as_me:6915: \$? = $ac_status" >&5 6921 echo "$as_me:6921: \$? = $ac_status" >&5
6916 (exit $ac_status); } && 6922 (exit $ac_status); } &&
6917 { ac_try='test -s conftest$ac_exeext' 6923 { ac_try='test -s conftest$ac_exeext'
6918 { (eval echo "$as_me:6918: \"$ac_try\"") >&5 6924 { (eval echo "$as_me:6924: \"$ac_try\"") >&5
6919 (eval $ac_try) 2>&5 6925 (eval $ac_try) 2>&5
6920 ac_status=$? 6926 ac_status=$?
6921 echo "$as_me:6921: \$? = $ac_status" >&5 6927 echo "$as_me:6927: \$? = $ac_status" >&5
6922 (exit $ac_status); }; }; then 6928 (exit $ac_status); }; }; then
6923 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes 6929 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes
6924 else 6930 else
6925 echo "$as_me: failed program was:" >&5 6931 echo "$as_me: failed program was:" >&5
6926 cat conftest.$ac_ext >&5 6932 cat conftest.$ac_ext >&5
6927 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=no 6933 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=no
6928 fi 6934 fi
6929 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6935 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6930 LIBS=$ac_check_lib_save_LIBS 6936 LIBS=$ac_check_lib_save_LIBS
6931 fi 6937 fi
6932 echo "$as_me:6932: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5 6938 echo "$as_me:6938: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5
6933 echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6 6939 echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6
6934 if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then 6940 if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then
6935 HAVE_XAW3D=yes 6941 HAVE_XAW3D=yes
6936 fi 6942 fi
6937 6943
6975 6981
6976 ### Use -lXpm if available, unless `--with-xpm=no'. 6982 ### Use -lXpm if available, unless `--with-xpm=no'.
6977 HAVE_XPM=no 6983 HAVE_XPM=no
6978 if test "${HAVE_X11}" = "yes"; then 6984 if test "${HAVE_X11}" = "yes"; then
6979 if test "${with_xpm}" != "no"; then 6985 if test "${with_xpm}" != "no"; then
6980 echo "$as_me:6980: checking for X11/xpm.h" >&5 6986 echo "$as_me:6986: checking for X11/xpm.h" >&5
6981 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6 6987 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
6982 if test "${ac_cv_header_X11_xpm_h+set}" = set; then 6988 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
6983 echo $ECHO_N "(cached) $ECHO_C" >&6 6989 echo $ECHO_N "(cached) $ECHO_C" >&6
6984 else 6990 else
6985 cat >conftest.$ac_ext <<_ACEOF 6991 cat >conftest.$ac_ext <<_ACEOF
6986 #line 6986 "configure" 6992 #line 6992 "configure"
6987 #include "confdefs.h" 6993 #include "confdefs.h"
6988 #include <X11/xpm.h> 6994 #include <X11/xpm.h>
6989 _ACEOF 6995 _ACEOF
6990 if { (eval echo "$as_me:6990: \"$ac_cpp conftest.$ac_ext\"") >&5 6996 if { (eval echo "$as_me:6996: \"$ac_cpp conftest.$ac_ext\"") >&5
6991 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6997 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6992 ac_status=$? 6998 ac_status=$?
6993 egrep -v '^ *\+' conftest.er1 >conftest.err 6999 egrep -v '^ *\+' conftest.er1 >conftest.err
6994 rm -f conftest.er1 7000 rm -f conftest.er1
6995 cat conftest.err >&5 7001 cat conftest.err >&5
6996 echo "$as_me:6996: \$? = $ac_status" >&5 7002 echo "$as_me:7002: \$? = $ac_status" >&5
6997 (exit $ac_status); } >/dev/null; then 7003 (exit $ac_status); } >/dev/null; then
6998 if test -s conftest.err; then 7004 if test -s conftest.err; then
6999 ac_cpp_err=$ac_c_preproc_warn_flag 7005 ac_cpp_err=$ac_c_preproc_warn_flag
7000 else 7006 else
7001 ac_cpp_err= 7007 ac_cpp_err=
7010 cat conftest.$ac_ext >&5 7016 cat conftest.$ac_ext >&5
7011 ac_cv_header_X11_xpm_h=no 7017 ac_cv_header_X11_xpm_h=no
7012 fi 7018 fi
7013 rm -f conftest.err conftest.$ac_ext 7019 rm -f conftest.err conftest.$ac_ext
7014 fi 7020 fi
7015 echo "$as_me:7015: result: $ac_cv_header_X11_xpm_h" >&5 7021 echo "$as_me:7021: result: $ac_cv_header_X11_xpm_h" >&5
7016 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6 7022 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6
7017 if test $ac_cv_header_X11_xpm_h = yes; then 7023 if test $ac_cv_header_X11_xpm_h = yes; then
7018 echo "$as_me:7018: checking for XpmReadFileToPixmap in -lXpm" >&5 7024 echo "$as_me:7024: checking for XpmReadFileToPixmap in -lXpm" >&5
7019 echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6 7025 echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6
7020 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then 7026 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then
7021 echo $ECHO_N "(cached) $ECHO_C" >&6 7027 echo $ECHO_N "(cached) $ECHO_C" >&6
7022 else 7028 else
7023 ac_check_lib_save_LIBS=$LIBS 7029 ac_check_lib_save_LIBS=$LIBS
7024 LIBS="-lXpm -lX11 $LIBS" 7030 LIBS="-lXpm -lX11 $LIBS"
7025 cat >conftest.$ac_ext <<_ACEOF 7031 cat >conftest.$ac_ext <<_ACEOF
7026 #line 7026 "configure" 7032 #line 7032 "configure"
7027 #include "confdefs.h" 7033 #include "confdefs.h"
7028 7034
7029 /* Override any gcc2 internal prototype to avoid an error. */ 7035 /* Override any gcc2 internal prototype to avoid an error. */
7030 #ifdef __cplusplus 7036 #ifdef __cplusplus
7031 extern "C" 7037 extern "C"
7040 ; 7046 ;
7041 return 0; 7047 return 0;
7042 } 7048 }
7043 _ACEOF 7049 _ACEOF
7044 rm -f conftest.$ac_objext conftest$ac_exeext 7050 rm -f conftest.$ac_objext conftest$ac_exeext
7045 if { (eval echo "$as_me:7045: \"$ac_link\"") >&5 7051 if { (eval echo "$as_me:7051: \"$ac_link\"") >&5
7046 (eval $ac_link) 2>&5 7052 (eval $ac_link) 2>&5
7047 ac_status=$? 7053 ac_status=$?
7048 echo "$as_me:7048: \$? = $ac_status" >&5 7054 echo "$as_me:7054: \$? = $ac_status" >&5
7049 (exit $ac_status); } && 7055 (exit $ac_status); } &&
7050 { ac_try='test -s conftest$ac_exeext' 7056 { ac_try='test -s conftest$ac_exeext'
7051 { (eval echo "$as_me:7051: \"$ac_try\"") >&5 7057 { (eval echo "$as_me:7057: \"$ac_try\"") >&5
7052 (eval $ac_try) 2>&5 7058 (eval $ac_try) 2>&5
7053 ac_status=$? 7059 ac_status=$?
7054 echo "$as_me:7054: \$? = $ac_status" >&5 7060 echo "$as_me:7060: \$? = $ac_status" >&5
7055 (exit $ac_status); }; }; then 7061 (exit $ac_status); }; }; then
7056 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes 7062 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes
7057 else 7063 else
7058 echo "$as_me: failed program was:" >&5 7064 echo "$as_me: failed program was:" >&5
7059 cat conftest.$ac_ext >&5 7065 cat conftest.$ac_ext >&5
7060 ac_cv_lib_Xpm_XpmReadFileToPixmap=no 7066 ac_cv_lib_Xpm_XpmReadFileToPixmap=no
7061 fi 7067 fi
7062 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7068 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7063 LIBS=$ac_check_lib_save_LIBS 7069 LIBS=$ac_check_lib_save_LIBS
7064 fi 7070 fi
7065 echo "$as_me:7065: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5 7071 echo "$as_me:7071: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
7066 echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6 7072 echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6
7067 if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then 7073 if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then
7068 HAVE_XPM=yes 7074 HAVE_XPM=yes
7069 fi 7075 fi
7070 7076
7071 fi 7077 fi
7072 7078
7073 if test "${HAVE_XPM}" = "yes"; then 7079 if test "${HAVE_XPM}" = "yes"; then
7074 echo "$as_me:7074: checking for XpmReturnAllocPixels preprocessor define" >&5 7080 echo "$as_me:7080: checking for XpmReturnAllocPixels preprocessor define" >&5
7075 echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6 7081 echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6
7076 cat >conftest.$ac_ext <<_ACEOF 7082 cat >conftest.$ac_ext <<_ACEOF
7077 #line 7077 "configure" 7083 #line 7083 "configure"
7078 #include "confdefs.h" 7084 #include "confdefs.h"
7079 #include "X11/xpm.h" 7085 #include "X11/xpm.h"
7080 #ifndef XpmReturnAllocPixels 7086 #ifndef XpmReturnAllocPixels
7081 no_return_alloc_pixels 7087 no_return_alloc_pixels
7082 #endif 7088 #endif
7089 HAVE_XPM=yes 7095 HAVE_XPM=yes
7090 fi 7096 fi
7091 rm -f conftest* 7097 rm -f conftest*
7092 7098
7093 if test "${HAVE_XPM}" = "yes"; then 7099 if test "${HAVE_XPM}" = "yes"; then
7094 echo "$as_me:7094: result: yes" >&5 7100 echo "$as_me:7100: result: yes" >&5
7095 echo "${ECHO_T}yes" >&6 7101 echo "${ECHO_T}yes" >&6
7096 else 7102 else
7097 echo "$as_me:7097: result: no" >&5 7103 echo "$as_me:7103: result: no" >&5
7098 echo "${ECHO_T}no" >&6 7104 echo "${ECHO_T}no" >&6
7099 fi 7105 fi
7100 fi 7106 fi
7101 fi 7107 fi
7102 7108
7110 7116
7111 ### Use -ljpeg if available, unless `--with-jpeg=no'. 7117 ### Use -ljpeg if available, unless `--with-jpeg=no'.
7112 HAVE_JPEG=no 7118 HAVE_JPEG=no
7113 if test "${HAVE_X11}" = "yes"; then 7119 if test "${HAVE_X11}" = "yes"; then
7114 if test "${with_jpeg}" != "no"; then 7120 if test "${with_jpeg}" != "no"; then
7115 echo "$as_me:7115: checking for jerror.h" >&5 7121 echo "$as_me:7121: checking for jerror.h" >&5
7116 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6 7122 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6
7117 if test "${ac_cv_header_jerror_h+set}" = set; then 7123 if test "${ac_cv_header_jerror_h+set}" = set; then
7118 echo $ECHO_N "(cached) $ECHO_C" >&6 7124 echo $ECHO_N "(cached) $ECHO_C" >&6
7119 else 7125 else
7120 cat >conftest.$ac_ext <<_ACEOF 7126 cat >conftest.$ac_ext <<_ACEOF
7121 #line 7121 "configure" 7127 #line 7127 "configure"
7122 #include "confdefs.h" 7128 #include "confdefs.h"
7123 #include <jerror.h> 7129 #include <jerror.h>
7124 _ACEOF 7130 _ACEOF
7125 if { (eval echo "$as_me:7125: \"$ac_cpp conftest.$ac_ext\"") >&5 7131 if { (eval echo "$as_me:7131: \"$ac_cpp conftest.$ac_ext\"") >&5
7126 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7132 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7127 ac_status=$? 7133 ac_status=$?
7128 egrep -v '^ *\+' conftest.er1 >conftest.err 7134 egrep -v '^ *\+' conftest.er1 >conftest.err
7129 rm -f conftest.er1 7135 rm -f conftest.er1
7130 cat conftest.err >&5 7136 cat conftest.err >&5
7131 echo "$as_me:7131: \$? = $ac_status" >&5 7137 echo "$as_me:7137: \$? = $ac_status" >&5
7132 (exit $ac_status); } >/dev/null; then 7138 (exit $ac_status); } >/dev/null; then
7133 if test -s conftest.err; then 7139 if test -s conftest.err; then
7134 ac_cpp_err=$ac_c_preproc_warn_flag 7140 ac_cpp_err=$ac_c_preproc_warn_flag
7135 else 7141 else
7136 ac_cpp_err= 7142 ac_cpp_err=
7145 cat conftest.$ac_ext >&5 7151 cat conftest.$ac_ext >&5
7146 ac_cv_header_jerror_h=no 7152 ac_cv_header_jerror_h=no
7147 fi 7153 fi
7148 rm -f conftest.err conftest.$ac_ext 7154 rm -f conftest.err conftest.$ac_ext
7149 fi 7155 fi
7150 echo "$as_me:7150: result: $ac_cv_header_jerror_h" >&5 7156 echo "$as_me:7156: result: $ac_cv_header_jerror_h" >&5
7151 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6 7157 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6
7152 if test $ac_cv_header_jerror_h = yes; then 7158 if test $ac_cv_header_jerror_h = yes; then
7153 echo "$as_me:7153: checking for jpeg_destroy_compress in -ljpeg" >&5 7159 echo "$as_me:7159: checking for jpeg_destroy_compress in -ljpeg" >&5
7154 echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6 7160 echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6
7155 if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then 7161 if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then
7156 echo $ECHO_N "(cached) $ECHO_C" >&6 7162 echo $ECHO_N "(cached) $ECHO_C" >&6
7157 else 7163 else
7158 ac_check_lib_save_LIBS=$LIBS 7164 ac_check_lib_save_LIBS=$LIBS
7159 LIBS="-ljpeg $LIBS" 7165 LIBS="-ljpeg $LIBS"
7160 cat >conftest.$ac_ext <<_ACEOF 7166 cat >conftest.$ac_ext <<_ACEOF
7161 #line 7161 "configure" 7167 #line 7167 "configure"
7162 #include "confdefs.h" 7168 #include "confdefs.h"
7163 7169
7164 /* Override any gcc2 internal prototype to avoid an error. */ 7170 /* Override any gcc2 internal prototype to avoid an error. */
7165 #ifdef __cplusplus 7171 #ifdef __cplusplus
7166 extern "C" 7172 extern "C"
7175 ; 7181 ;
7176 return 0; 7182 return 0;
7177 } 7183 }
7178 _ACEOF 7184 _ACEOF
7179 rm -f conftest.$ac_objext conftest$ac_exeext 7185 rm -f conftest.$ac_objext conftest$ac_exeext
7180 if { (eval echo "$as_me:7180: \"$ac_link\"") >&5 7186 if { (eval echo "$as_me:7186: \"$ac_link\"") >&5
7181 (eval $ac_link) 2>&5 7187 (eval $ac_link) 2>&5
7182 ac_status=$? 7188 ac_status=$?
7183 echo "$as_me:7183: \$? = $ac_status" >&5 7189 echo "$as_me:7189: \$? = $ac_status" >&5
7184 (exit $ac_status); } && 7190 (exit $ac_status); } &&
7185 { ac_try='test -s conftest$ac_exeext' 7191 { ac_try='test -s conftest$ac_exeext'
7186 { (eval echo "$as_me:7186: \"$ac_try\"") >&5 7192 { (eval echo "$as_me:7192: \"$ac_try\"") >&5
7187 (eval $ac_try) 2>&5 7193 (eval $ac_try) 2>&5
7188 ac_status=$? 7194 ac_status=$?
7189 echo "$as_me:7189: \$? = $ac_status" >&5 7195 echo "$as_me:7195: \$? = $ac_status" >&5
7190 (exit $ac_status); }; }; then 7196 (exit $ac_status); }; }; then
7191 ac_cv_lib_jpeg_jpeg_destroy_compress=yes 7197 ac_cv_lib_jpeg_jpeg_destroy_compress=yes
7192 else 7198 else
7193 echo "$as_me: failed program was:" >&5 7199 echo "$as_me: failed program was:" >&5
7194 cat conftest.$ac_ext >&5 7200 cat conftest.$ac_ext >&5
7195 ac_cv_lib_jpeg_jpeg_destroy_compress=no 7201 ac_cv_lib_jpeg_jpeg_destroy_compress=no
7196 fi 7202 fi
7197 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7203 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7198 LIBS=$ac_check_lib_save_LIBS 7204 LIBS=$ac_check_lib_save_LIBS
7199 fi 7205 fi
7200 echo "$as_me:7200: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5 7206 echo "$as_me:7206: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5
7201 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6 7207 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6
7202 if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then 7208 if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then
7203 HAVE_JPEG=yes 7209 HAVE_JPEG=yes
7204 fi 7210 fi
7205 7211
7217 7223
7218 ### Use -lpng if available, unless `--with-png=no'. 7224 ### Use -lpng if available, unless `--with-png=no'.
7219 HAVE_PNG=no 7225 HAVE_PNG=no
7220 if test "${HAVE_X11}" = "yes"; then 7226 if test "${HAVE_X11}" = "yes"; then
7221 if test "${with_png}" != "no"; then 7227 if test "${with_png}" != "no"; then
7222 echo "$as_me:7222: checking for png.h" >&5 7228 echo "$as_me:7228: checking for png.h" >&5
7223 echo $ECHO_N "checking for png.h... $ECHO_C" >&6 7229 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
7224 if test "${ac_cv_header_png_h+set}" = set; then 7230 if test "${ac_cv_header_png_h+set}" = set; then
7225 echo $ECHO_N "(cached) $ECHO_C" >&6 7231 echo $ECHO_N "(cached) $ECHO_C" >&6
7226 else 7232 else
7227 cat >conftest.$ac_ext <<_ACEOF 7233 cat >conftest.$ac_ext <<_ACEOF
7228 #line 7228 "configure" 7234 #line 7234 "configure"
7229 #include "confdefs.h" 7235 #include "confdefs.h"
7230 #include <png.h> 7236 #include <png.h>
7231 _ACEOF 7237 _ACEOF
7232 if { (eval echo "$as_me:7232: \"$ac_cpp conftest.$ac_ext\"") >&5 7238 if { (eval echo "$as_me:7238: \"$ac_cpp conftest.$ac_ext\"") >&5
7233 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7239 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7234 ac_status=$? 7240 ac_status=$?
7235 egrep -v '^ *\+' conftest.er1 >conftest.err 7241 egrep -v '^ *\+' conftest.er1 >conftest.err
7236 rm -f conftest.er1 7242 rm -f conftest.er1
7237 cat conftest.err >&5 7243 cat conftest.err >&5
7238 echo "$as_me:7238: \$? = $ac_status" >&5 7244 echo "$as_me:7244: \$? = $ac_status" >&5
7239 (exit $ac_status); } >/dev/null; then 7245 (exit $ac_status); } >/dev/null; then
7240 if test -s conftest.err; then 7246 if test -s conftest.err; then
7241 ac_cpp_err=$ac_c_preproc_warn_flag 7247 ac_cpp_err=$ac_c_preproc_warn_flag
7242 else 7248 else
7243 ac_cpp_err= 7249 ac_cpp_err=
7252 cat conftest.$ac_ext >&5 7258 cat conftest.$ac_ext >&5
7253 ac_cv_header_png_h=no 7259 ac_cv_header_png_h=no
7254 fi 7260 fi
7255 rm -f conftest.err conftest.$ac_ext 7261 rm -f conftest.err conftest.$ac_ext
7256 fi 7262 fi
7257 echo "$as_me:7257: result: $ac_cv_header_png_h" >&5 7263 echo "$as_me:7263: result: $ac_cv_header_png_h" >&5
7258 echo "${ECHO_T}$ac_cv_header_png_h" >&6 7264 echo "${ECHO_T}$ac_cv_header_png_h" >&6
7259 if test $ac_cv_header_png_h = yes; then 7265 if test $ac_cv_header_png_h = yes; then
7260 echo "$as_me:7260: checking for png_get_channels in -lpng" >&5 7266 echo "$as_me:7266: checking for png_get_channels in -lpng" >&5
7261 echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6 7267 echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6
7262 if test "${ac_cv_lib_png_png_get_channels+set}" = set; then 7268 if test "${ac_cv_lib_png_png_get_channels+set}" = set; then
7263 echo $ECHO_N "(cached) $ECHO_C" >&6 7269 echo $ECHO_N "(cached) $ECHO_C" >&6
7264 else 7270 else
7265 ac_check_lib_save_LIBS=$LIBS 7271 ac_check_lib_save_LIBS=$LIBS
7266 LIBS="-lpng -lz -lm $LIBS" 7272 LIBS="-lpng -lz -lm $LIBS"
7267 cat >conftest.$ac_ext <<_ACEOF 7273 cat >conftest.$ac_ext <<_ACEOF
7268 #line 7268 "configure" 7274 #line 7274 "configure"
7269 #include "confdefs.h" 7275 #include "confdefs.h"
7270 7276
7271 /* Override any gcc2 internal prototype to avoid an error. */ 7277 /* Override any gcc2 internal prototype to avoid an error. */
7272 #ifdef __cplusplus 7278 #ifdef __cplusplus
7273 extern "C" 7279 extern "C"
7282 ; 7288 ;
7283 return 0; 7289 return 0;
7284 } 7290 }
7285 _ACEOF 7291 _ACEOF
7286 rm -f conftest.$ac_objext conftest$ac_exeext 7292 rm -f conftest.$ac_objext conftest$ac_exeext
7287 if { (eval echo "$as_me:7287: \"$ac_link\"") >&5 7293 if { (eval echo "$as_me:7293: \"$ac_link\"") >&5
7288 (eval $ac_link) 2>&5 7294 (eval $ac_link) 2>&5
7289 ac_status=$? 7295 ac_status=$?
7290 echo "$as_me:7290: \$? = $ac_status" >&5 7296 echo "$as_me:7296: \$? = $ac_status" >&5
7291 (exit $ac_status); } && 7297 (exit $ac_status); } &&
7292 { ac_try='test -s conftest$ac_exeext' 7298 { ac_try='test -s conftest$ac_exeext'
7293 { (eval echo "$as_me:7293: \"$ac_try\"") >&5 7299 { (eval echo "$as_me:7299: \"$ac_try\"") >&5
7294 (eval $ac_try) 2>&5 7300 (eval $ac_try) 2>&5
7295 ac_status=$? 7301 ac_status=$?
7296 echo "$as_me:7296: \$? = $ac_status" >&5 7302 echo "$as_me:7302: \$? = $ac_status" >&5
7297 (exit $ac_status); }; }; then 7303 (exit $ac_status); }; }; then
7298 ac_cv_lib_png_png_get_channels=yes 7304 ac_cv_lib_png_png_get_channels=yes
7299 else 7305 else
7300 echo "$as_me: failed program was:" >&5 7306 echo "$as_me: failed program was:" >&5
7301 cat conftest.$ac_ext >&5 7307 cat conftest.$ac_ext >&5
7302 ac_cv_lib_png_png_get_channels=no 7308 ac_cv_lib_png_png_get_channels=no
7303 fi 7309 fi
7304 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7310 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7305 LIBS=$ac_check_lib_save_LIBS 7311 LIBS=$ac_check_lib_save_LIBS
7306 fi 7312 fi
7307 echo "$as_me:7307: result: $ac_cv_lib_png_png_get_channels" >&5 7313 echo "$as_me:7313: result: $ac_cv_lib_png_png_get_channels" >&5
7308 echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6 7314 echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6
7309 if test $ac_cv_lib_png_png_get_channels = yes; then 7315 if test $ac_cv_lib_png_png_get_channels = yes; then
7310 HAVE_PNG=yes 7316 HAVE_PNG=yes
7311 fi 7317 fi
7312 7318
7324 7330
7325 ### Use -ltiff if available, unless `--with-tiff=no'. 7331 ### Use -ltiff if available, unless `--with-tiff=no'.
7326 HAVE_TIFF=no 7332 HAVE_TIFF=no
7327 if test "${HAVE_X11}" = "yes"; then 7333 if test "${HAVE_X11}" = "yes"; then
7328 if test "${with_tiff}" != "no"; then 7334 if test "${with_tiff}" != "no"; then
7329 echo "$as_me:7329: checking for tiffio.h" >&5 7335 echo "$as_me:7335: checking for tiffio.h" >&5
7330 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6 7336 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
7331 if test "${ac_cv_header_tiffio_h+set}" = set; then 7337 if test "${ac_cv_header_tiffio_h+set}" = set; then
7332 echo $ECHO_N "(cached) $ECHO_C" >&6 7338 echo $ECHO_N "(cached) $ECHO_C" >&6
7333 else 7339 else
7334 cat >conftest.$ac_ext <<_ACEOF 7340 cat >conftest.$ac_ext <<_ACEOF
7335 #line 7335 "configure" 7341 #line 7341 "configure"
7336 #include "confdefs.h" 7342 #include "confdefs.h"
7337 #include <tiffio.h> 7343 #include <tiffio.h>
7338 _ACEOF 7344 _ACEOF
7339 if { (eval echo "$as_me:7339: \"$ac_cpp conftest.$ac_ext\"") >&5 7345 if { (eval echo "$as_me:7345: \"$ac_cpp conftest.$ac_ext\"") >&5
7340 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7346 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7341 ac_status=$? 7347 ac_status=$?
7342 egrep -v '^ *\+' conftest.er1 >conftest.err 7348 egrep -v '^ *\+' conftest.er1 >conftest.err
7343 rm -f conftest.er1 7349 rm -f conftest.er1
7344 cat conftest.err >&5 7350 cat conftest.err >&5
7345 echo "$as_me:7345: \$? = $ac_status" >&5 7351 echo "$as_me:7351: \$? = $ac_status" >&5
7346 (exit $ac_status); } >/dev/null; then 7352 (exit $ac_status); } >/dev/null; then
7347 if test -s conftest.err; then 7353 if test -s conftest.err; then
7348 ac_cpp_err=$ac_c_preproc_warn_flag 7354 ac_cpp_err=$ac_c_preproc_warn_flag
7349 else 7355 else
7350 ac_cpp_err= 7356 ac_cpp_err=
7359 cat conftest.$ac_ext >&5 7365 cat conftest.$ac_ext >&5
7360 ac_cv_header_tiffio_h=no 7366 ac_cv_header_tiffio_h=no
7361 fi 7367 fi
7362 rm -f conftest.err conftest.$ac_ext 7368 rm -f conftest.err conftest.$ac_ext
7363 fi 7369 fi
7364 echo "$as_me:7364: result: $ac_cv_header_tiffio_h" >&5 7370 echo "$as_me:7370: result: $ac_cv_header_tiffio_h" >&5
7365 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6 7371 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
7366 if test $ac_cv_header_tiffio_h = yes; then 7372 if test $ac_cv_header_tiffio_h = yes; then
7367 tifflibs="-lz -lm" 7373 tifflibs="-lz -lm"
7368 # At least one tiff package requires the jpeg library. 7374 # At least one tiff package requires the jpeg library.
7369 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi 7375 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
7370 echo "$as_me:7370: checking for TIFFGetVersion in -ltiff" >&5 7376 echo "$as_me:7376: checking for TIFFGetVersion in -ltiff" >&5
7371 echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6 7377 echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6
7372 if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then 7378 if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then
7373 echo $ECHO_N "(cached) $ECHO_C" >&6 7379 echo $ECHO_N "(cached) $ECHO_C" >&6
7374 else 7380 else
7375 ac_check_lib_save_LIBS=$LIBS 7381 ac_check_lib_save_LIBS=$LIBS
7376 LIBS="-ltiff $tifflibs $LIBS" 7382 LIBS="-ltiff $tifflibs $LIBS"
7377 cat >conftest.$ac_ext <<_ACEOF 7383 cat >conftest.$ac_ext <<_ACEOF
7378 #line 7378 "configure" 7384 #line 7384 "configure"
7379 #include "confdefs.h" 7385 #include "confdefs.h"
7380 7386
7381 /* Override any gcc2 internal prototype to avoid an error. */ 7387 /* Override any gcc2 internal prototype to avoid an error. */
7382 #ifdef __cplusplus 7388 #ifdef __cplusplus
7383 extern "C" 7389 extern "C"
7392 ; 7398 ;
7393 return 0; 7399 return 0;
7394 } 7400 }
7395 _ACEOF 7401 _ACEOF
7396 rm -f conftest.$ac_objext conftest$ac_exeext 7402 rm -f conftest.$ac_objext conftest$ac_exeext
7397 if { (eval echo "$as_me:7397: \"$ac_link\"") >&5 7403 if { (eval echo "$as_me:7403: \"$ac_link\"") >&5
7398 (eval $ac_link) 2>&5 7404 (eval $ac_link) 2>&5
7399 ac_status=$? 7405 ac_status=$?
7400 echo "$as_me:7400: \$? = $ac_status" >&5 7406 echo "$as_me:7406: \$? = $ac_status" >&5
7401 (exit $ac_status); } && 7407 (exit $ac_status); } &&
7402 { ac_try='test -s conftest$ac_exeext' 7408 { ac_try='test -s conftest$ac_exeext'
7403 { (eval echo "$as_me:7403: \"$ac_try\"") >&5 7409 { (eval echo "$as_me:7409: \"$ac_try\"") >&5
7404 (eval $ac_try) 2>&5 7410 (eval $ac_try) 2>&5
7405 ac_status=$? 7411 ac_status=$?
7406 echo "$as_me:7406: \$? = $ac_status" >&5 7412 echo "$as_me:7412: \$? = $ac_status" >&5
7407 (exit $ac_status); }; }; then 7413 (exit $ac_status); }; }; then
7408 ac_cv_lib_tiff_TIFFGetVersion=yes 7414 ac_cv_lib_tiff_TIFFGetVersion=yes
7409 else 7415 else
7410 echo "$as_me: failed program was:" >&5 7416 echo "$as_me: failed program was:" >&5
7411 cat conftest.$ac_ext >&5 7417 cat conftest.$ac_ext >&5
7412 ac_cv_lib_tiff_TIFFGetVersion=no 7418 ac_cv_lib_tiff_TIFFGetVersion=no
7413 fi 7419 fi
7414 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7420 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7415 LIBS=$ac_check_lib_save_LIBS 7421 LIBS=$ac_check_lib_save_LIBS
7416 fi 7422 fi
7417 echo "$as_me:7417: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5 7423 echo "$as_me:7423: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5
7418 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6 7424 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6
7419 if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then 7425 if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then
7420 HAVE_TIFF=yes 7426 HAVE_TIFF=yes
7421 fi 7427 fi
7422 7428
7434 7440
7435 ### Use -lgif if available, unless `--with-gif=no'. 7441 ### Use -lgif if available, unless `--with-gif=no'.
7436 HAVE_GIF=no 7442 HAVE_GIF=no
7437 if test "${HAVE_X11}" = "yes"; then 7443 if test "${HAVE_X11}" = "yes"; then
7438 if test "${with_gif}" != "no"; then 7444 if test "${with_gif}" != "no"; then
7439 echo "$as_me:7439: checking for gif_lib.h" >&5 7445 echo "$as_me:7445: checking for gif_lib.h" >&5
7440 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6 7446 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6
7441 if test "${ac_cv_header_gif_lib_h+set}" = set; then 7447 if test "${ac_cv_header_gif_lib_h+set}" = set; then
7442 echo $ECHO_N "(cached) $ECHO_C" >&6 7448 echo $ECHO_N "(cached) $ECHO_C" >&6
7443 else 7449 else
7444 cat >conftest.$ac_ext <<_ACEOF 7450 cat >conftest.$ac_ext <<_ACEOF
7445 #line 7445 "configure" 7451 #line 7451 "configure"
7446 #include "confdefs.h" 7452 #include "confdefs.h"
7447 #include <gif_lib.h> 7453 #include <gif_lib.h>
7448 _ACEOF 7454 _ACEOF
7449 if { (eval echo "$as_me:7449: \"$ac_cpp conftest.$ac_ext\"") >&5 7455 if { (eval echo "$as_me:7455: \"$ac_cpp conftest.$ac_ext\"") >&5
7450 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7456 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7451 ac_status=$? 7457 ac_status=$?
7452 egrep -v '^ *\+' conftest.er1 >conftest.err 7458 egrep -v '^ *\+' conftest.er1 >conftest.err
7453 rm -f conftest.er1 7459 rm -f conftest.er1
7454 cat conftest.err >&5 7460 cat conftest.err >&5
7455 echo "$as_me:7455: \$? = $ac_status" >&5 7461 echo "$as_me:7461: \$? = $ac_status" >&5
7456 (exit $ac_status); } >/dev/null; then 7462 (exit $ac_status); } >/dev/null; then
7457 if test -s conftest.err; then 7463 if test -s conftest.err; then
7458 ac_cpp_err=$ac_c_preproc_warn_flag 7464 ac_cpp_err=$ac_c_preproc_warn_flag
7459 else 7465 else
7460 ac_cpp_err= 7466 ac_cpp_err=
7469 cat conftest.$ac_ext >&5 7475 cat conftest.$ac_ext >&5
7470 ac_cv_header_gif_lib_h=no 7476 ac_cv_header_gif_lib_h=no
7471 fi 7477 fi
7472 rm -f conftest.err conftest.$ac_ext 7478 rm -f conftest.err conftest.$ac_ext
7473 fi 7479 fi
7474 echo "$as_me:7474: result: $ac_cv_header_gif_lib_h" >&5 7480 echo "$as_me:7480: result: $ac_cv_header_gif_lib_h" >&5
7475 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6 7481 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6
7476 if test $ac_cv_header_gif_lib_h = yes; then 7482 if test $ac_cv_header_gif_lib_h = yes; then
7477 echo "$as_me:7477: checking for DGifOpen in -lungif" >&5 7483 echo "$as_me:7483: checking for DGifOpen in -lungif" >&5
7478 echo $ECHO_N "checking for DGifOpen in -lungif... $ECHO_C" >&6 7484 echo $ECHO_N "checking for DGifOpen in -lungif... $ECHO_C" >&6
7479 if test "${ac_cv_lib_ungif_DGifOpen+set}" = set; then 7485 if test "${ac_cv_lib_ungif_DGifOpen+set}" = set; then
7480 echo $ECHO_N "(cached) $ECHO_C" >&6 7486 echo $ECHO_N "(cached) $ECHO_C" >&6
7481 else 7487 else
7482 ac_check_lib_save_LIBS=$LIBS 7488 ac_check_lib_save_LIBS=$LIBS
7483 LIBS="-lungif $LIBS" 7489 LIBS="-lungif $LIBS"
7484 cat >conftest.$ac_ext <<_ACEOF 7490 cat >conftest.$ac_ext <<_ACEOF
7485 #line 7485 "configure" 7491 #line 7491 "configure"
7486 #include "confdefs.h" 7492 #include "confdefs.h"
7487 7493
7488 /* Override any gcc2 internal prototype to avoid an error. */ 7494 /* Override any gcc2 internal prototype to avoid an error. */
7489 #ifdef __cplusplus 7495 #ifdef __cplusplus
7490 extern "C" 7496 extern "C"
7499 ; 7505 ;
7500 return 0; 7506 return 0;
7501 } 7507 }
7502 _ACEOF 7508 _ACEOF
7503 rm -f conftest.$ac_objext conftest$ac_exeext 7509 rm -f conftest.$ac_objext conftest$ac_exeext
7504 if { (eval echo "$as_me:7504: \"$ac_link\"") >&5 7510 if { (eval echo "$as_me:7510: \"$ac_link\"") >&5
7505 (eval $ac_link) 2>&5 7511 (eval $ac_link) 2>&5
7506 ac_status=$? 7512 ac_status=$?
7507 echo "$as_me:7507: \$? = $ac_status" >&5 7513 echo "$as_me:7513: \$? = $ac_status" >&5
7508 (exit $ac_status); } && 7514 (exit $ac_status); } &&
7509 { ac_try='test -s conftest$ac_exeext' 7515 { ac_try='test -s conftest$ac_exeext'
7510 { (eval echo "$as_me:7510: \"$ac_try\"") >&5 7516 { (eval echo "$as_me:7516: \"$ac_try\"") >&5
7511 (eval $ac_try) 2>&5 7517 (eval $ac_try) 2>&5
7512 ac_status=$? 7518 ac_status=$?
7513 echo "$as_me:7513: \$? = $ac_status" >&5 7519 echo "$as_me:7519: \$? = $ac_status" >&5
7514 (exit $ac_status); }; }; then 7520 (exit $ac_status); }; }; then
7515 ac_cv_lib_ungif_DGifOpen=yes 7521 ac_cv_lib_ungif_DGifOpen=yes
7516 else 7522 else
7517 echo "$as_me: failed program was:" >&5 7523 echo "$as_me: failed program was:" >&5
7518 cat conftest.$ac_ext >&5 7524 cat conftest.$ac_ext >&5
7519 ac_cv_lib_ungif_DGifOpen=no 7525 ac_cv_lib_ungif_DGifOpen=no
7520 fi 7526 fi
7521 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7527 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7522 LIBS=$ac_check_lib_save_LIBS 7528 LIBS=$ac_check_lib_save_LIBS
7523 fi 7529 fi
7524 echo "$as_me:7524: result: $ac_cv_lib_ungif_DGifOpen" >&5 7530 echo "$as_me:7530: result: $ac_cv_lib_ungif_DGifOpen" >&5
7525 echo "${ECHO_T}$ac_cv_lib_ungif_DGifOpen" >&6 7531 echo "${ECHO_T}$ac_cv_lib_ungif_DGifOpen" >&6
7526 if test $ac_cv_lib_ungif_DGifOpen = yes; then 7532 if test $ac_cv_lib_ungif_DGifOpen = yes; then
7527 HAVE_GIF=yes 7533 HAVE_GIF=yes
7528 fi 7534 fi
7529 7535
7538 7544
7539 fi 7545 fi
7540 fi 7546 fi
7541 7547
7542 # If netdb.h doesn't declare h_errno, we must declare it by hand. 7548 # If netdb.h doesn't declare h_errno, we must declare it by hand.
7543 echo "$as_me:7543: checking whether netdb declares h_errno" >&5 7549 echo "$as_me:7549: checking whether netdb declares h_errno" >&5
7544 echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6 7550 echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6
7545 if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then 7551 if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then
7546 echo $ECHO_N "(cached) $ECHO_C" >&6 7552 echo $ECHO_N "(cached) $ECHO_C" >&6
7547 else 7553 else
7548 cat >conftest.$ac_ext <<_ACEOF 7554 cat >conftest.$ac_ext <<_ACEOF
7549 #line 7549 "configure" 7555 #line 7555 "configure"
7550 #include "confdefs.h" 7556 #include "confdefs.h"
7551 #include <netdb.h> 7557 #include <netdb.h>
7552 int 7558 int
7553 main () 7559 main ()
7554 { 7560 {
7556 ; 7562 ;
7557 return 0; 7563 return 0;
7558 } 7564 }
7559 _ACEOF 7565 _ACEOF
7560 rm -f conftest.$ac_objext conftest$ac_exeext 7566 rm -f conftest.$ac_objext conftest$ac_exeext
7561 if { (eval echo "$as_me:7561: \"$ac_link\"") >&5 7567 if { (eval echo "$as_me:7567: \"$ac_link\"") >&5
7562 (eval $ac_link) 2>&5 7568 (eval $ac_link) 2>&5
7563 ac_status=$? 7569 ac_status=$?
7564 echo "$as_me:7564: \$? = $ac_status" >&5 7570 echo "$as_me:7570: \$? = $ac_status" >&5
7565 (exit $ac_status); } && 7571 (exit $ac_status); } &&
7566 { ac_try='test -s conftest$ac_exeext' 7572 { ac_try='test -s conftest$ac_exeext'
7567 { (eval echo "$as_me:7567: \"$ac_try\"") >&5 7573 { (eval echo "$as_me:7573: \"$ac_try\"") >&5
7568 (eval $ac_try) 2>&5 7574 (eval $ac_try) 2>&5
7569 ac_status=$? 7575 ac_status=$?
7570 echo "$as_me:7570: \$? = $ac_status" >&5 7576 echo "$as_me:7576: \$? = $ac_status" >&5
7571 (exit $ac_status); }; }; then 7577 (exit $ac_status); }; }; then
7572 emacs_cv_netdb_declares_h_errno=yes 7578 emacs_cv_netdb_declares_h_errno=yes
7573 else 7579 else
7574 echo "$as_me: failed program was:" >&5 7580 echo "$as_me: failed program was:" >&5
7575 cat conftest.$ac_ext >&5 7581 cat conftest.$ac_ext >&5
7576 emacs_cv_netdb_declares_h_errno=no 7582 emacs_cv_netdb_declares_h_errno=no
7577 fi 7583 fi
7578 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7584 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7579 fi 7585 fi
7580 echo "$as_me:7580: result: $emacs_cv_netdb_declares_h_errno" >&5 7586 echo "$as_me:7586: result: $emacs_cv_netdb_declares_h_errno" >&5
7581 echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6 7587 echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6
7582 if test $emacs_cv_netdb_declares_h_errno = yes; then 7588 if test $emacs_cv_netdb_declares_h_errno = yes; then
7583 cat >>confdefs.h <<\EOF 7589 cat >>confdefs.h <<\EOF
7584 #define HAVE_H_ERRNO 1 7590 #define HAVE_H_ERRNO 1
7585 EOF 7591 EOF
7586 7592
7587 fi 7593 fi
7588 7594
7589 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 7595 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
7590 # for constant arguments. Useless! 7596 # for constant arguments. Useless!
7591 echo "$as_me:7591: checking for working alloca.h" >&5 7597 echo "$as_me:7597: checking for working alloca.h" >&5
7592 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 7598 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
7593 if test "${ac_cv_working_alloca_h+set}" = set; then 7599 if test "${ac_cv_working_alloca_h+set}" = set; then
7594 echo $ECHO_N "(cached) $ECHO_C" >&6 7600 echo $ECHO_N "(cached) $ECHO_C" >&6
7595 else 7601 else
7596 cat >conftest.$ac_ext <<_ACEOF 7602 cat >conftest.$ac_ext <<_ACEOF
7597 #line 7597 "configure" 7603 #line 7603 "configure"
7598 #include "confdefs.h" 7604 #include "confdefs.h"
7599 #include <alloca.h> 7605 #include <alloca.h>
7600 int 7606 int
7601 main () 7607 main ()
7602 { 7608 {
7604 ; 7610 ;
7605 return 0; 7611 return 0;
7606 } 7612 }
7607 _ACEOF 7613 _ACEOF
7608 rm -f conftest.$ac_objext conftest$ac_exeext 7614 rm -f conftest.$ac_objext conftest$ac_exeext
7609 if { (eval echo "$as_me:7609: \"$ac_link\"") >&5 7615 if { (eval echo "$as_me:7615: \"$ac_link\"") >&5
7610 (eval $ac_link) 2>&5 7616 (eval $ac_link) 2>&5
7611 ac_status=$? 7617 ac_status=$?
7612 echo "$as_me:7612: \$? = $ac_status" >&5 7618 echo "$as_me:7618: \$? = $ac_status" >&5
7613 (exit $ac_status); } && 7619 (exit $ac_status); } &&
7614 { ac_try='test -s conftest$ac_exeext' 7620 { ac_try='test -s conftest$ac_exeext'
7615 { (eval echo "$as_me:7615: \"$ac_try\"") >&5 7621 { (eval echo "$as_me:7621: \"$ac_try\"") >&5
7616 (eval $ac_try) 2>&5 7622 (eval $ac_try) 2>&5
7617 ac_status=$? 7623 ac_status=$?
7618 echo "$as_me:7618: \$? = $ac_status" >&5 7624 echo "$as_me:7624: \$? = $ac_status" >&5
7619 (exit $ac_status); }; }; then 7625 (exit $ac_status); }; }; then
7620 ac_cv_working_alloca_h=yes 7626 ac_cv_working_alloca_h=yes
7621 else 7627 else
7622 echo "$as_me: failed program was:" >&5 7628 echo "$as_me: failed program was:" >&5
7623 cat conftest.$ac_ext >&5 7629 cat conftest.$ac_ext >&5
7624 ac_cv_working_alloca_h=no 7630 ac_cv_working_alloca_h=no
7625 fi 7631 fi
7626 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7632 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7627 fi 7633 fi
7628 echo "$as_me:7628: result: $ac_cv_working_alloca_h" >&5 7634 echo "$as_me:7634: result: $ac_cv_working_alloca_h" >&5
7629 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 7635 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
7630 if test $ac_cv_working_alloca_h = yes; then 7636 if test $ac_cv_working_alloca_h = yes; then
7631 7637
7632 cat >>confdefs.h <<\EOF 7638 cat >>confdefs.h <<\EOF
7633 #define HAVE_ALLOCA_H 1 7639 #define HAVE_ALLOCA_H 1
7634 EOF 7640 EOF
7635 7641
7636 fi 7642 fi
7637 7643
7638 echo "$as_me:7638: checking for alloca" >&5 7644 echo "$as_me:7644: checking for alloca" >&5
7639 echo $ECHO_N "checking for alloca... $ECHO_C" >&6 7645 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
7640 if test "${ac_cv_func_alloca_works+set}" = set; then 7646 if test "${ac_cv_func_alloca_works+set}" = set; then
7641 echo $ECHO_N "(cached) $ECHO_C" >&6 7647 echo $ECHO_N "(cached) $ECHO_C" >&6
7642 else 7648 else
7643 cat >conftest.$ac_ext <<_ACEOF 7649 cat >conftest.$ac_ext <<_ACEOF
7644 #line 7644 "configure" 7650 #line 7650 "configure"
7645 #include "confdefs.h" 7651 #include "confdefs.h"
7646 #ifdef __GNUC__ 7652 #ifdef __GNUC__
7647 # define alloca __builtin_alloca 7653 # define alloca __builtin_alloca
7648 #else 7654 #else
7649 # ifdef _MSC_VER 7655 # ifdef _MSC_VER
7671 ; 7677 ;
7672 return 0; 7678 return 0;
7673 } 7679 }
7674 _ACEOF 7680 _ACEOF
7675 rm -f conftest.$ac_objext conftest$ac_exeext 7681 rm -f conftest.$ac_objext conftest$ac_exeext
7676 if { (eval echo "$as_me:7676: \"$ac_link\"") >&5 7682 if { (eval echo "$as_me:7682: \"$ac_link\"") >&5
7677 (eval $ac_link) 2>&5 7683 (eval $ac_link) 2>&5
7678 ac_status=$? 7684 ac_status=$?
7679 echo "$as_me:7679: \$? = $ac_status" >&5 7685 echo "$as_me:7685: \$? = $ac_status" >&5
7680 (exit $ac_status); } && 7686 (exit $ac_status); } &&
7681 { ac_try='test -s conftest$ac_exeext' 7687 { ac_try='test -s conftest$ac_exeext'
7682 { (eval echo "$as_me:7682: \"$ac_try\"") >&5 7688 { (eval echo "$as_me:7688: \"$ac_try\"") >&5
7683 (eval $ac_try) 2>&5 7689 (eval $ac_try) 2>&5
7684 ac_status=$? 7690 ac_status=$?
7685 echo "$as_me:7685: \$? = $ac_status" >&5 7691 echo "$as_me:7691: \$? = $ac_status" >&5
7686 (exit $ac_status); }; }; then 7692 (exit $ac_status); }; }; then
7687 ac_cv_func_alloca_works=yes 7693 ac_cv_func_alloca_works=yes
7688 else 7694 else
7689 echo "$as_me: failed program was:" >&5 7695 echo "$as_me: failed program was:" >&5
7690 cat conftest.$ac_ext >&5 7696 cat conftest.$ac_ext >&5
7691 ac_cv_func_alloca_works=no 7697 ac_cv_func_alloca_works=no
7692 fi 7698 fi
7693 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7699 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7694 fi 7700 fi
7695 echo "$as_me:7695: result: $ac_cv_func_alloca_works" >&5 7701 echo "$as_me:7701: result: $ac_cv_func_alloca_works" >&5
7696 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 7702 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
7697 7703
7698 if test $ac_cv_func_alloca_works = yes; then 7704 if test $ac_cv_func_alloca_works = yes; then
7699 7705
7700 cat >>confdefs.h <<\EOF 7706 cat >>confdefs.h <<\EOF
7711 7717
7712 cat >>confdefs.h <<\EOF 7718 cat >>confdefs.h <<\EOF
7713 #define C_ALLOCA 1 7719 #define C_ALLOCA 1
7714 EOF 7720 EOF
7715 7721
7716 echo "$as_me:7716: checking whether \`alloca.c' needs Cray hooks" >&5 7722 echo "$as_me:7722: checking whether \`alloca.c' needs Cray hooks" >&5
7717 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 7723 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
7718 if test "${ac_cv_os_cray+set}" = set; then 7724 if test "${ac_cv_os_cray+set}" = set; then
7719 echo $ECHO_N "(cached) $ECHO_C" >&6 7725 echo $ECHO_N "(cached) $ECHO_C" >&6
7720 else 7726 else
7721 cat >conftest.$ac_ext <<_ACEOF 7727 cat >conftest.$ac_ext <<_ACEOF
7722 #line 7722 "configure" 7728 #line 7728 "configure"
7723 #include "confdefs.h" 7729 #include "confdefs.h"
7724 #if defined(CRAY) && ! defined(CRAY2) 7730 #if defined(CRAY) && ! defined(CRAY2)
7725 webecray 7731 webecray
7726 #else 7732 #else
7727 wenotbecray 7733 wenotbecray
7735 ac_cv_os_cray=no 7741 ac_cv_os_cray=no
7736 fi 7742 fi
7737 rm -f conftest* 7743 rm -f conftest*
7738 7744
7739 fi 7745 fi
7740 echo "$as_me:7740: result: $ac_cv_os_cray" >&5 7746 echo "$as_me:7746: result: $ac_cv_os_cray" >&5
7741 echo "${ECHO_T}$ac_cv_os_cray" >&6 7747 echo "${ECHO_T}$ac_cv_os_cray" >&6
7742 if test $ac_cv_os_cray = yes; then 7748 if test $ac_cv_os_cray = yes; then
7743 for ac_func in _getb67 GETB67 getb67; do 7749 for ac_func in _getb67 GETB67 getb67; do
7744 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 7750 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7745 echo "$as_me:7745: checking for $ac_func" >&5 7751 echo "$as_me:7751: checking for $ac_func" >&5
7746 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 7752 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7747 if eval "test \"\${$as_ac_var+set}\" = set"; then 7753 if eval "test \"\${$as_ac_var+set}\" = set"; then
7748 echo $ECHO_N "(cached) $ECHO_C" >&6 7754 echo $ECHO_N "(cached) $ECHO_C" >&6
7749 else 7755 else
7750 cat >conftest.$ac_ext <<_ACEOF 7756 cat >conftest.$ac_ext <<_ACEOF
7751 #line 7751 "configure" 7757 #line 7757 "configure"
7752 #include "confdefs.h" 7758 #include "confdefs.h"
7753 /* System header to define __stub macros and hopefully few prototypes, 7759 /* System header to define __stub macros and hopefully few prototypes,
7754 which can conflict with char $ac_func (); below. */ 7760 which can conflict with char $ac_func (); below. */
7755 #include <assert.h> 7761 #include <assert.h>
7756 /* Override any gcc2 internal prototype to avoid an error. */ 7762 /* Override any gcc2 internal prototype to avoid an error. */
7777 ; 7783 ;
7778 return 0; 7784 return 0;
7779 } 7785 }
7780 _ACEOF 7786 _ACEOF
7781 rm -f conftest.$ac_objext conftest$ac_exeext 7787 rm -f conftest.$ac_objext conftest$ac_exeext
7782 if { (eval echo "$as_me:7782: \"$ac_link\"") >&5 7788 if { (eval echo "$as_me:7788: \"$ac_link\"") >&5
7783 (eval $ac_link) 2>&5 7789 (eval $ac_link) 2>&5
7784 ac_status=$? 7790 ac_status=$?
7785 echo "$as_me:7785: \$? = $ac_status" >&5 7791 echo "$as_me:7791: \$? = $ac_status" >&5
7786 (exit $ac_status); } && 7792 (exit $ac_status); } &&
7787 { ac_try='test -s conftest$ac_exeext' 7793 { ac_try='test -s conftest$ac_exeext'
7788 { (eval echo "$as_me:7788: \"$ac_try\"") >&5 7794 { (eval echo "$as_me:7794: \"$ac_try\"") >&5
7789 (eval $ac_try) 2>&5 7795 (eval $ac_try) 2>&5
7790 ac_status=$? 7796 ac_status=$?
7791 echo "$as_me:7791: \$? = $ac_status" >&5 7797 echo "$as_me:7797: \$? = $ac_status" >&5
7792 (exit $ac_status); }; }; then 7798 (exit $ac_status); }; }; then
7793 eval "$as_ac_var=yes" 7799 eval "$as_ac_var=yes"
7794 else 7800 else
7795 echo "$as_me: failed program was:" >&5 7801 echo "$as_me: failed program was:" >&5
7796 cat conftest.$ac_ext >&5 7802 cat conftest.$ac_ext >&5
7797 eval "$as_ac_var=no" 7803 eval "$as_ac_var=no"
7798 fi 7804 fi
7799 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7805 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7800 fi 7806 fi
7801 echo "$as_me:7801: result: `eval echo '${'$as_ac_var'}'`" >&5 7807 echo "$as_me:7807: result: `eval echo '${'$as_ac_var'}'`" >&5
7802 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 7808 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7803 if test `eval echo '${'$as_ac_var'}'` = yes; then 7809 if test `eval echo '${'$as_ac_var'}'` = yes; then
7804 7810
7805 cat >>confdefs.h <<EOF 7811 cat >>confdefs.h <<EOF
7806 #define CRAY_STACKSEG_END $ac_func 7812 #define CRAY_STACKSEG_END $ac_func
7810 fi 7816 fi
7811 7817
7812 done 7818 done
7813 fi 7819 fi
7814 7820
7815 echo "$as_me:7815: checking stack direction for C alloca" >&5 7821 echo "$as_me:7821: checking stack direction for C alloca" >&5
7816 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 7822 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
7817 if test "${ac_cv_c_stack_direction+set}" = set; then 7823 if test "${ac_cv_c_stack_direction+set}" = set; then
7818 echo $ECHO_N "(cached) $ECHO_C" >&6 7824 echo $ECHO_N "(cached) $ECHO_C" >&6
7819 else 7825 else
7820 if test "$cross_compiling" = yes; then 7826 if test "$cross_compiling" = yes; then
7821 ac_cv_c_stack_direction=0 7827 ac_cv_c_stack_direction=0
7822 else 7828 else
7823 cat >conftest.$ac_ext <<_ACEOF 7829 cat >conftest.$ac_ext <<_ACEOF
7824 #line 7824 "configure" 7830 #line 7830 "configure"
7825 #include "confdefs.h" 7831 #include "confdefs.h"
7826 int 7832 int
7827 find_stack_direction () 7833 find_stack_direction ()
7828 { 7834 {
7829 static char *addr = 0; 7835 static char *addr = 0;
7842 { 7848 {
7843 exit (find_stack_direction () < 0); 7849 exit (find_stack_direction () < 0);
7844 } 7850 }
7845 _ACEOF 7851 _ACEOF
7846 rm -f conftest$ac_exeext 7852 rm -f conftest$ac_exeext
7847 if { (eval echo "$as_me:7847: \"$ac_link\"") >&5 7853 if { (eval echo "$as_me:7853: \"$ac_link\"") >&5
7848 (eval $ac_link) 2>&5 7854 (eval $ac_link) 2>&5
7849 ac_status=$? 7855 ac_status=$?
7850 echo "$as_me:7850: \$? = $ac_status" >&5 7856 echo "$as_me:7856: \$? = $ac_status" >&5
7851 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7857 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7852 { (eval echo "$as_me:7852: \"$ac_try\"") >&5 7858 { (eval echo "$as_me:7858: \"$ac_try\"") >&5
7853 (eval $ac_try) 2>&5 7859 (eval $ac_try) 2>&5
7854 ac_status=$? 7860 ac_status=$?
7855 echo "$as_me:7855: \$? = $ac_status" >&5 7861 echo "$as_me:7861: \$? = $ac_status" >&5
7856 (exit $ac_status); }; }; then 7862 (exit $ac_status); }; }; then
7857 ac_cv_c_stack_direction=1 7863 ac_cv_c_stack_direction=1
7858 else 7864 else
7859 echo "$as_me: program exited with status $ac_status" >&5 7865 echo "$as_me: program exited with status $ac_status" >&5
7860 echo "$as_me: failed program was:" >&5 7866 echo "$as_me: failed program was:" >&5
7862 ac_cv_c_stack_direction=-1 7868 ac_cv_c_stack_direction=-1
7863 fi 7869 fi
7864 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7870 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7865 fi 7871 fi
7866 fi 7872 fi
7867 echo "$as_me:7867: result: $ac_cv_c_stack_direction" >&5 7873 echo "$as_me:7873: result: $ac_cv_c_stack_direction" >&5
7868 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 7874 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
7869 7875
7870 cat >>confdefs.h <<EOF 7876 cat >>confdefs.h <<EOF
7871 #define STACK_DIRECTION $ac_cv_c_stack_direction 7877 #define STACK_DIRECTION $ac_cv_c_stack_direction
7872 EOF 7878 EOF
7874 fi 7880 fi
7875 7881
7876 # fmod, logb, and frexp are found in -lm on most systems. 7882 # fmod, logb, and frexp are found in -lm on most systems.
7877 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. 7883 # On HPUX 9.01, -lm does not contain logb, so check for sqrt.
7878 7884
7879 echo "$as_me:7879: checking for sqrt in -lm" >&5 7885 echo "$as_me:7885: checking for sqrt in -lm" >&5
7880 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6 7886 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
7881 if test "${ac_cv_lib_m_sqrt+set}" = set; then 7887 if test "${ac_cv_lib_m_sqrt+set}" = set; then
7882 echo $ECHO_N "(cached) $ECHO_C" >&6 7888 echo $ECHO_N "(cached) $ECHO_C" >&6
7883 else 7889 else
7884 ac_check_lib_save_LIBS=$LIBS 7890 ac_check_lib_save_LIBS=$LIBS
7885 LIBS="-lm $LIBS" 7891 LIBS="-lm $LIBS"
7886 cat >conftest.$ac_ext <<_ACEOF 7892 cat >conftest.$ac_ext <<_ACEOF
7887 #line 7887 "configure" 7893 #line 7893 "configure"
7888 #include "confdefs.h" 7894 #include "confdefs.h"
7889 7895
7890 /* Override any gcc2 internal prototype to avoid an error. */ 7896 /* Override any gcc2 internal prototype to avoid an error. */
7891 #ifdef __cplusplus 7897 #ifdef __cplusplus
7892 extern "C" 7898 extern "C"
7901 ; 7907 ;
7902 return 0; 7908 return 0;
7903 } 7909 }
7904 _ACEOF 7910 _ACEOF
7905 rm -f conftest.$ac_objext conftest$ac_exeext 7911 rm -f conftest.$ac_objext conftest$ac_exeext
7906 if { (eval echo "$as_me:7906: \"$ac_link\"") >&5 7912 if { (eval echo "$as_me:7912: \"$ac_link\"") >&5
7907 (eval $ac_link) 2>&5 7913 (eval $ac_link) 2>&5
7908 ac_status=$? 7914 ac_status=$?
7909 echo "$as_me:7909: \$? = $ac_status" >&5 7915 echo "$as_me:7915: \$? = $ac_status" >&5
7910 (exit $ac_status); } && 7916 (exit $ac_status); } &&
7911 { ac_try='test -s conftest$ac_exeext' 7917 { ac_try='test -s conftest$ac_exeext'
7912 { (eval echo "$as_me:7912: \"$ac_try\"") >&5 7918 { (eval echo "$as_me:7918: \"$ac_try\"") >&5
7913 (eval $ac_try) 2>&5 7919 (eval $ac_try) 2>&5
7914 ac_status=$? 7920 ac_status=$?
7915 echo "$as_me:7915: \$? = $ac_status" >&5 7921 echo "$as_me:7921: \$? = $ac_status" >&5
7916 (exit $ac_status); }; }; then 7922 (exit $ac_status); }; }; then
7917 ac_cv_lib_m_sqrt=yes 7923 ac_cv_lib_m_sqrt=yes
7918 else 7924 else
7919 echo "$as_me: failed program was:" >&5 7925 echo "$as_me: failed program was:" >&5
7920 cat conftest.$ac_ext >&5 7926 cat conftest.$ac_ext >&5
7921 ac_cv_lib_m_sqrt=no 7927 ac_cv_lib_m_sqrt=no
7922 fi 7928 fi
7923 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7929 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7924 LIBS=$ac_check_lib_save_LIBS 7930 LIBS=$ac_check_lib_save_LIBS
7925 fi 7931 fi
7926 echo "$as_me:7926: result: $ac_cv_lib_m_sqrt" >&5 7932 echo "$as_me:7932: result: $ac_cv_lib_m_sqrt" >&5
7927 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6 7933 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
7928 if test $ac_cv_lib_m_sqrt = yes; then 7934 if test $ac_cv_lib_m_sqrt = yes; then
7929 cat >>confdefs.h <<EOF 7935 cat >>confdefs.h <<EOF
7930 #define HAVE_LIBM 1 7936 #define HAVE_LIBM 1
7931 EOF 7937 EOF
7934 7940
7935 fi 7941 fi
7936 7942
7937 # Check for mail-locking functions in a "mail" library 7943 # Check for mail-locking functions in a "mail" library
7938 7944
7939 echo "$as_me:7939: checking for maillock in -lmail" >&5 7945 echo "$as_me:7945: checking for maillock in -lmail" >&5
7940 echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6 7946 echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6
7941 if test "${ac_cv_lib_mail_maillock+set}" = set; then 7947 if test "${ac_cv_lib_mail_maillock+set}" = set; then
7942 echo $ECHO_N "(cached) $ECHO_C" >&6 7948 echo $ECHO_N "(cached) $ECHO_C" >&6
7943 else 7949 else
7944 ac_check_lib_save_LIBS=$LIBS 7950 ac_check_lib_save_LIBS=$LIBS
7945 LIBS="-lmail $LIBS" 7951 LIBS="-lmail $LIBS"
7946 cat >conftest.$ac_ext <<_ACEOF 7952 cat >conftest.$ac_ext <<_ACEOF
7947 #line 7947 "configure" 7953 #line 7953 "configure"
7948 #include "confdefs.h" 7954 #include "confdefs.h"
7949 7955
7950 /* Override any gcc2 internal prototype to avoid an error. */ 7956 /* Override any gcc2 internal prototype to avoid an error. */
7951 #ifdef __cplusplus 7957 #ifdef __cplusplus
7952 extern "C" 7958 extern "C"
7961 ; 7967 ;
7962 return 0; 7968 return 0;
7963 } 7969 }
7964 _ACEOF 7970 _ACEOF
7965 rm -f conftest.$ac_objext conftest$ac_exeext 7971 rm -f conftest.$ac_objext conftest$ac_exeext
7966 if { (eval echo "$as_me:7966: \"$ac_link\"") >&5 7972 if { (eval echo "$as_me:7972: \"$ac_link\"") >&5
7967 (eval $ac_link) 2>&5 7973 (eval $ac_link) 2>&5
7968 ac_status=$? 7974 ac_status=$?
7969 echo "$as_me:7969: \$? = $ac_status" >&5 7975 echo "$as_me:7975: \$? = $ac_status" >&5
7970 (exit $ac_status); } && 7976 (exit $ac_status); } &&
7971 { ac_try='test -s conftest$ac_exeext' 7977 { ac_try='test -s conftest$ac_exeext'
7972 { (eval echo "$as_me:7972: \"$ac_try\"") >&5 7978 { (eval echo "$as_me:7978: \"$ac_try\"") >&5
7973 (eval $ac_try) 2>&5 7979 (eval $ac_try) 2>&5
7974 ac_status=$? 7980 ac_status=$?
7975 echo "$as_me:7975: \$? = $ac_status" >&5 7981 echo "$as_me:7981: \$? = $ac_status" >&5
7976 (exit $ac_status); }; }; then 7982 (exit $ac_status); }; }; then
7977 ac_cv_lib_mail_maillock=yes 7983 ac_cv_lib_mail_maillock=yes
7978 else 7984 else
7979 echo "$as_me: failed program was:" >&5 7985 echo "$as_me: failed program was:" >&5
7980 cat conftest.$ac_ext >&5 7986 cat conftest.$ac_ext >&5
7981 ac_cv_lib_mail_maillock=no 7987 ac_cv_lib_mail_maillock=no
7982 fi 7988 fi
7983 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7989 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7984 LIBS=$ac_check_lib_save_LIBS 7990 LIBS=$ac_check_lib_save_LIBS
7985 fi 7991 fi
7986 echo "$as_me:7986: result: $ac_cv_lib_mail_maillock" >&5 7992 echo "$as_me:7992: result: $ac_cv_lib_mail_maillock" >&5
7987 echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6 7993 echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6
7988 if test $ac_cv_lib_mail_maillock = yes; then 7994 if test $ac_cv_lib_mail_maillock = yes; then
7989 cat >>confdefs.h <<EOF 7995 cat >>confdefs.h <<EOF
7990 #define HAVE_LIBMAIL 1 7996 #define HAVE_LIBMAIL 1
7991 EOF 7997 EOF
7992 7998
7993 LIBS="-lmail $LIBS" 7999 LIBS="-lmail $LIBS"
7994 8000
7995 fi 8001 fi
7996 8002
7997 echo "$as_me:7997: checking for maillock in -llockfile" >&5 8003 echo "$as_me:8003: checking for maillock in -llockfile" >&5
7998 echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6 8004 echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6
7999 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then 8005 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then
8000 echo $ECHO_N "(cached) $ECHO_C" >&6 8006 echo $ECHO_N "(cached) $ECHO_C" >&6
8001 else 8007 else
8002 ac_check_lib_save_LIBS=$LIBS 8008 ac_check_lib_save_LIBS=$LIBS
8003 LIBS="-llockfile $LIBS" 8009 LIBS="-llockfile $LIBS"
8004 cat >conftest.$ac_ext <<_ACEOF 8010 cat >conftest.$ac_ext <<_ACEOF
8005 #line 8005 "configure" 8011 #line 8011 "configure"
8006 #include "confdefs.h" 8012 #include "confdefs.h"
8007 8013
8008 /* Override any gcc2 internal prototype to avoid an error. */ 8014 /* Override any gcc2 internal prototype to avoid an error. */
8009 #ifdef __cplusplus 8015 #ifdef __cplusplus
8010 extern "C" 8016 extern "C"
8019 ; 8025 ;
8020 return 0; 8026 return 0;
8021 } 8027 }
8022 _ACEOF 8028 _ACEOF
8023 rm -f conftest.$ac_objext conftest$ac_exeext 8029 rm -f conftest.$ac_objext conftest$ac_exeext
8024 if { (eval echo "$as_me:8024: \"$ac_link\"") >&5 8030 if { (eval echo "$as_me:8030: \"$ac_link\"") >&5
8025 (eval $ac_link) 2>&5 8031 (eval $ac_link) 2>&5
8026 ac_status=$? 8032 ac_status=$?
8027 echo "$as_me:8027: \$? = $ac_status" >&5 8033 echo "$as_me:8033: \$? = $ac_status" >&5
8028 (exit $ac_status); } && 8034 (exit $ac_status); } &&
8029 { ac_try='test -s conftest$ac_exeext' 8035 { ac_try='test -s conftest$ac_exeext'
8030 { (eval echo "$as_me:8030: \"$ac_try\"") >&5 8036 { (eval echo "$as_me:8036: \"$ac_try\"") >&5
8031 (eval $ac_try) 2>&5 8037 (eval $ac_try) 2>&5
8032 ac_status=$? 8038 ac_status=$?
8033 echo "$as_me:8033: \$? = $ac_status" >&5 8039 echo "$as_me:8039: \$? = $ac_status" >&5
8034 (exit $ac_status); }; }; then 8040 (exit $ac_status); }; }; then
8035 ac_cv_lib_lockfile_maillock=yes 8041 ac_cv_lib_lockfile_maillock=yes
8036 else 8042 else
8037 echo "$as_me: failed program was:" >&5 8043 echo "$as_me: failed program was:" >&5
8038 cat conftest.$ac_ext >&5 8044 cat conftest.$ac_ext >&5
8039 ac_cv_lib_lockfile_maillock=no 8045 ac_cv_lib_lockfile_maillock=no
8040 fi 8046 fi
8041 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8047 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8042 LIBS=$ac_check_lib_save_LIBS 8048 LIBS=$ac_check_lib_save_LIBS
8043 fi 8049 fi
8044 echo "$as_me:8044: result: $ac_cv_lib_lockfile_maillock" >&5 8050 echo "$as_me:8050: result: $ac_cv_lib_lockfile_maillock" >&5
8045 echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6 8051 echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6
8046 if test $ac_cv_lib_lockfile_maillock = yes; then 8052 if test $ac_cv_lib_lockfile_maillock = yes; then
8047 cat >>confdefs.h <<EOF 8053 cat >>confdefs.h <<EOF
8048 #define HAVE_LIBLOCKFILE 1 8054 #define HAVE_LIBLOCKFILE 1
8049 EOF 8055 EOF
8056 # locking (e.g. Debian). If we couldn't link against liblockfile 8062 # locking (e.g. Debian). If we couldn't link against liblockfile
8057 # (no liblockfile.a installed), ensure that we don't need to. 8063 # (no liblockfile.a installed), ensure that we don't need to.
8058 if test "$ac_cv_lib_lockfile_maillock" = no; then 8064 if test "$ac_cv_lib_lockfile_maillock" = no; then
8059 # Extract the first word of "liblockfile.so", so it can be a program name with args. 8065 # Extract the first word of "liblockfile.so", so it can be a program name with args.
8060 set dummy liblockfile.so; ac_word=$2 8066 set dummy liblockfile.so; ac_word=$2
8061 echo "$as_me:8061: checking for $ac_word" >&5 8067 echo "$as_me:8067: checking for $ac_word" >&5
8062 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 8068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8063 if test "${ac_cv_prog_liblockfile+set}" = set; then 8069 if test "${ac_cv_prog_liblockfile+set}" = set; then
8064 echo $ECHO_N "(cached) $ECHO_C" >&6 8070 echo $ECHO_N "(cached) $ECHO_C" >&6
8065 else 8071 else
8066 if test -n "$liblockfile"; then 8072 if test -n "$liblockfile"; then
8071 for ac_dir in $ac_dummy; do 8077 for ac_dir in $ac_dummy; do
8072 IFS=$ac_save_IFS 8078 IFS=$ac_save_IFS
8073 test -z "$ac_dir" && ac_dir=. 8079 test -z "$ac_dir" && ac_dir=.
8074 $as_executable_p "$ac_dir/$ac_word" || continue 8080 $as_executable_p "$ac_dir/$ac_word" || continue
8075 ac_cv_prog_liblockfile="yes" 8081 ac_cv_prog_liblockfile="yes"
8076 echo "$as_me:8076: found $ac_dir/$ac_word" >&5 8082 echo "$as_me:8082: found $ac_dir/$ac_word" >&5
8077 break 8083 break
8078 done 8084 done
8079 8085
8080 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no" 8086 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no"
8081 fi 8087 fi
8082 fi 8088 fi
8083 liblockfile=$ac_cv_prog_liblockfile 8089 liblockfile=$ac_cv_prog_liblockfile
8084 if test -n "$liblockfile"; then 8090 if test -n "$liblockfile"; then
8085 echo "$as_me:8085: result: $liblockfile" >&5 8091 echo "$as_me:8091: result: $liblockfile" >&5
8086 echo "${ECHO_T}$liblockfile" >&6 8092 echo "${ECHO_T}$liblockfile" >&6
8087 else 8093 else
8088 echo "$as_me:8088: result: no" >&5 8094 echo "$as_me:8094: result: no" >&5
8089 echo "${ECHO_T}no" >&6 8095 echo "${ECHO_T}no" >&6
8090 fi 8096 fi
8091 8097
8092 if test $ac_cv_prog_liblockfile = yes; then 8098 if test $ac_cv_prog_liblockfile = yes; then
8093 { { echo "$as_me:8093: error: Shared liblockfile found but can't link against it. 8099 { { echo "$as_me:8099: error: Shared liblockfile found but can't link against it.
8094 This probably means that movemail could lose mail. 8100 This probably means that movemail could lose mail.
8095 There may be a \`development' package to install containing liblockfile." >&5 8101 There may be a \`development' package to install containing liblockfile." >&5
8096 echo "$as_me: error: Shared liblockfile found but can't link against it. 8102 echo "$as_me: error: Shared liblockfile found but can't link against it.
8097 This probably means that movemail could lose mail. 8103 This probably means that movemail could lose mail.
8098 There may be a \`development' package to install containing liblockfile." >&2;} 8104 There may be a \`development' package to install containing liblockfile." >&2;}
8106 fi 8112 fi
8107 8113
8108 for ac_func in touchlock 8114 for ac_func in touchlock
8109 do 8115 do
8110 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8116 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8111 echo "$as_me:8111: checking for $ac_func" >&5 8117 echo "$as_me:8117: checking for $ac_func" >&5
8112 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8118 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8113 if eval "test \"\${$as_ac_var+set}\" = set"; then 8119 if eval "test \"\${$as_ac_var+set}\" = set"; then
8114 echo $ECHO_N "(cached) $ECHO_C" >&6 8120 echo $ECHO_N "(cached) $ECHO_C" >&6
8115 else 8121 else
8116 cat >conftest.$ac_ext <<_ACEOF 8122 cat >conftest.$ac_ext <<_ACEOF
8117 #line 8117 "configure" 8123 #line 8123 "configure"
8118 #include "confdefs.h" 8124 #include "confdefs.h"
8119 /* System header to define __stub macros and hopefully few prototypes, 8125 /* System header to define __stub macros and hopefully few prototypes,
8120 which can conflict with char $ac_func (); below. */ 8126 which can conflict with char $ac_func (); below. */
8121 #include <assert.h> 8127 #include <assert.h>
8122 /* Override any gcc2 internal prototype to avoid an error. */ 8128 /* Override any gcc2 internal prototype to avoid an error. */
8143 ; 8149 ;
8144 return 0; 8150 return 0;
8145 } 8151 }
8146 _ACEOF 8152 _ACEOF
8147 rm -f conftest.$ac_objext conftest$ac_exeext 8153 rm -f conftest.$ac_objext conftest$ac_exeext
8148 if { (eval echo "$as_me:8148: \"$ac_link\"") >&5 8154 if { (eval echo "$as_me:8154: \"$ac_link\"") >&5
8149 (eval $ac_link) 2>&5 8155 (eval $ac_link) 2>&5
8150 ac_status=$? 8156 ac_status=$?
8151 echo "$as_me:8151: \$? = $ac_status" >&5 8157 echo "$as_me:8157: \$? = $ac_status" >&5
8152 (exit $ac_status); } && 8158 (exit $ac_status); } &&
8153 { ac_try='test -s conftest$ac_exeext' 8159 { ac_try='test -s conftest$ac_exeext'
8154 { (eval echo "$as_me:8154: \"$ac_try\"") >&5 8160 { (eval echo "$as_me:8160: \"$ac_try\"") >&5
8155 (eval $ac_try) 2>&5 8161 (eval $ac_try) 2>&5
8156 ac_status=$? 8162 ac_status=$?
8157 echo "$as_me:8157: \$? = $ac_status" >&5 8163 echo "$as_me:8163: \$? = $ac_status" >&5
8158 (exit $ac_status); }; }; then 8164 (exit $ac_status); }; }; then
8159 eval "$as_ac_var=yes" 8165 eval "$as_ac_var=yes"
8160 else 8166 else
8161 echo "$as_me: failed program was:" >&5 8167 echo "$as_me: failed program was:" >&5
8162 cat conftest.$ac_ext >&5 8168 cat conftest.$ac_ext >&5
8163 eval "$as_ac_var=no" 8169 eval "$as_ac_var=no"
8164 fi 8170 fi
8165 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8171 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8166 fi 8172 fi
8167 echo "$as_me:8167: result: `eval echo '${'$as_ac_var'}'`" >&5 8173 echo "$as_me:8173: result: `eval echo '${'$as_ac_var'}'`" >&5
8168 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8174 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8169 if test `eval echo '${'$as_ac_var'}'` = yes; then 8175 if test `eval echo '${'$as_ac_var'}'` = yes; then
8170 cat >>confdefs.h <<EOF 8176 cat >>confdefs.h <<EOF
8171 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 8177 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8172 EOF 8178 EOF
8175 done 8181 done
8176 8182
8177 for ac_header in maillock.h 8183 for ac_header in maillock.h
8178 do 8184 do
8179 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8185 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8180 echo "$as_me:8180: checking for $ac_header" >&5 8186 echo "$as_me:8186: checking for $ac_header" >&5
8181 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 8187 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8182 if eval "test \"\${$as_ac_Header+set}\" = set"; then 8188 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8183 echo $ECHO_N "(cached) $ECHO_C" >&6 8189 echo $ECHO_N "(cached) $ECHO_C" >&6
8184 else 8190 else
8185 cat >conftest.$ac_ext <<_ACEOF 8191 cat >conftest.$ac_ext <<_ACEOF
8186 #line 8186 "configure" 8192 #line 8192 "configure"
8187 #include "confdefs.h" 8193 #include "confdefs.h"
8188 #include <$ac_header> 8194 #include <$ac_header>
8189 _ACEOF 8195 _ACEOF
8190 if { (eval echo "$as_me:8190: \"$ac_cpp conftest.$ac_ext\"") >&5 8196 if { (eval echo "$as_me:8196: \"$ac_cpp conftest.$ac_ext\"") >&5
8191 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8197 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8192 ac_status=$? 8198 ac_status=$?
8193 egrep -v '^ *\+' conftest.er1 >conftest.err 8199 egrep -v '^ *\+' conftest.er1 >conftest.err
8194 rm -f conftest.er1 8200 rm -f conftest.er1
8195 cat conftest.err >&5 8201 cat conftest.err >&5
8196 echo "$as_me:8196: \$? = $ac_status" >&5 8202 echo "$as_me:8202: \$? = $ac_status" >&5
8197 (exit $ac_status); } >/dev/null; then 8203 (exit $ac_status); } >/dev/null; then
8198 if test -s conftest.err; then 8204 if test -s conftest.err; then
8199 ac_cpp_err=$ac_c_preproc_warn_flag 8205 ac_cpp_err=$ac_c_preproc_warn_flag
8200 else 8206 else
8201 ac_cpp_err= 8207 ac_cpp_err=
8210 cat conftest.$ac_ext >&5 8216 cat conftest.$ac_ext >&5
8211 eval "$as_ac_Header=no" 8217 eval "$as_ac_Header=no"
8212 fi 8218 fi
8213 rm -f conftest.err conftest.$ac_ext 8219 rm -f conftest.err conftest.$ac_ext
8214 fi 8220 fi
8215 echo "$as_me:8215: result: `eval echo '${'$as_ac_Header'}'`" >&5 8221 echo "$as_me:8221: result: `eval echo '${'$as_ac_Header'}'`" >&5
8216 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 8222 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8217 if test `eval echo '${'$as_ac_Header'}'` = yes; then 8223 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8218 cat >>confdefs.h <<EOF 8224 cat >>confdefs.h <<EOF
8219 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8225 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8220 EOF 8226 EOF
8229 utimes setrlimit setpgid getcwd getwd shutdown strftime getaddrinfo \ 8235 utimes setrlimit setpgid getcwd getwd shutdown strftime getaddrinfo \
8230 __fpending mblen mbrlen strsignal setitimer ualarm index rindex \ 8236 __fpending mblen mbrlen strsignal setitimer ualarm index rindex \
8231 gai_strerror mkstemp 8237 gai_strerror mkstemp
8232 do 8238 do
8233 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8239 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8234 echo "$as_me:8234: checking for $ac_func" >&5 8240 echo "$as_me:8240: checking for $ac_func" >&5
8235 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8236 if eval "test \"\${$as_ac_var+set}\" = set"; then 8242 if eval "test \"\${$as_ac_var+set}\" = set"; then
8237 echo $ECHO_N "(cached) $ECHO_C" >&6 8243 echo $ECHO_N "(cached) $ECHO_C" >&6
8238 else 8244 else
8239 cat >conftest.$ac_ext <<_ACEOF 8245 cat >conftest.$ac_ext <<_ACEOF
8240 #line 8240 "configure" 8246 #line 8246 "configure"
8241 #include "confdefs.h" 8247 #include "confdefs.h"
8242 /* System header to define __stub macros and hopefully few prototypes, 8248 /* System header to define __stub macros and hopefully few prototypes,
8243 which can conflict with char $ac_func (); below. */ 8249 which can conflict with char $ac_func (); below. */
8244 #include <assert.h> 8250 #include <assert.h>
8245 /* Override any gcc2 internal prototype to avoid an error. */ 8251 /* Override any gcc2 internal prototype to avoid an error. */
8266 ; 8272 ;
8267 return 0; 8273 return 0;
8268 } 8274 }
8269 _ACEOF 8275 _ACEOF
8270 rm -f conftest.$ac_objext conftest$ac_exeext 8276 rm -f conftest.$ac_objext conftest$ac_exeext
8271 if { (eval echo "$as_me:8271: \"$ac_link\"") >&5 8277 if { (eval echo "$as_me:8277: \"$ac_link\"") >&5
8272 (eval $ac_link) 2>&5 8278 (eval $ac_link) 2>&5
8273 ac_status=$? 8279 ac_status=$?
8274 echo "$as_me:8274: \$? = $ac_status" >&5 8280 echo "$as_me:8280: \$? = $ac_status" >&5
8275 (exit $ac_status); } && 8281 (exit $ac_status); } &&
8276 { ac_try='test -s conftest$ac_exeext' 8282 { ac_try='test -s conftest$ac_exeext'
8277 { (eval echo "$as_me:8277: \"$ac_try\"") >&5 8283 { (eval echo "$as_me:8283: \"$ac_try\"") >&5
8278 (eval $ac_try) 2>&5 8284 (eval $ac_try) 2>&5
8279 ac_status=$? 8285 ac_status=$?
8280 echo "$as_me:8280: \$? = $ac_status" >&5 8286 echo "$as_me:8286: \$? = $ac_status" >&5
8281 (exit $ac_status); }; }; then 8287 (exit $ac_status); }; }; then
8282 eval "$as_ac_var=yes" 8288 eval "$as_ac_var=yes"
8283 else 8289 else
8284 echo "$as_me: failed program was:" >&5 8290 echo "$as_me: failed program was:" >&5
8285 cat conftest.$ac_ext >&5 8291 cat conftest.$ac_ext >&5
8286 eval "$as_ac_var=no" 8292 eval "$as_ac_var=no"
8287 fi 8293 fi
8288 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8294 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8289 fi 8295 fi
8290 echo "$as_me:8290: result: `eval echo '${'$as_ac_var'}'`" >&5 8296 echo "$as_me:8296: result: `eval echo '${'$as_ac_var'}'`" >&5
8291 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8297 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8292 if test `eval echo '${'$as_ac_var'}'` = yes; then 8298 if test `eval echo '${'$as_ac_var'}'` = yes; then
8293 cat >>confdefs.h <<EOF 8299 cat >>confdefs.h <<EOF
8294 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 8300 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8295 EOF 8301 EOF
8298 done 8304 done
8299 8305
8300 for ac_header in sys/time.h unistd.h 8306 for ac_header in sys/time.h unistd.h
8301 do 8307 do
8302 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8308 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8303 echo "$as_me:8303: checking for $ac_header" >&5 8309 echo "$as_me:8309: checking for $ac_header" >&5
8304 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 8310 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8305 if eval "test \"\${$as_ac_Header+set}\" = set"; then 8311 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8306 echo $ECHO_N "(cached) $ECHO_C" >&6 8312 echo $ECHO_N "(cached) $ECHO_C" >&6
8307 else 8313 else
8308 cat >conftest.$ac_ext <<_ACEOF 8314 cat >conftest.$ac_ext <<_ACEOF
8309 #line 8309 "configure" 8315 #line 8315 "configure"
8310 #include "confdefs.h" 8316 #include "confdefs.h"
8311 #include <$ac_header> 8317 #include <$ac_header>
8312 _ACEOF 8318 _ACEOF
8313 if { (eval echo "$as_me:8313: \"$ac_cpp conftest.$ac_ext\"") >&5 8319 if { (eval echo "$as_me:8319: \"$ac_cpp conftest.$ac_ext\"") >&5
8314 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8320 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8315 ac_status=$? 8321 ac_status=$?
8316 egrep -v '^ *\+' conftest.er1 >conftest.err 8322 egrep -v '^ *\+' conftest.er1 >conftest.err
8317 rm -f conftest.er1 8323 rm -f conftest.er1
8318 cat conftest.err >&5 8324 cat conftest.err >&5
8319 echo "$as_me:8319: \$? = $ac_status" >&5 8325 echo "$as_me:8325: \$? = $ac_status" >&5
8320 (exit $ac_status); } >/dev/null; then 8326 (exit $ac_status); } >/dev/null; then
8321 if test -s conftest.err; then 8327 if test -s conftest.err; then
8322 ac_cpp_err=$ac_c_preproc_warn_flag 8328 ac_cpp_err=$ac_c_preproc_warn_flag
8323 else 8329 else
8324 ac_cpp_err= 8330 ac_cpp_err=
8333 cat conftest.$ac_ext >&5 8339 cat conftest.$ac_ext >&5
8334 eval "$as_ac_Header=no" 8340 eval "$as_ac_Header=no"
8335 fi 8341 fi
8336 rm -f conftest.err conftest.$ac_ext 8342 rm -f conftest.err conftest.$ac_ext
8337 fi 8343 fi
8338 echo "$as_me:8338: result: `eval echo '${'$as_ac_Header'}'`" >&5 8344 echo "$as_me:8344: result: `eval echo '${'$as_ac_Header'}'`" >&5
8339 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 8345 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8340 if test `eval echo '${'$as_ac_Header'}'` = yes; then 8346 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8341 cat >>confdefs.h <<EOF 8347 cat >>confdefs.h <<EOF
8342 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8348 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8343 EOF 8349 EOF
8346 done 8352 done
8347 8353
8348 for ac_func in alarm 8354 for ac_func in alarm
8349 do 8355 do
8350 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8356 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8351 echo "$as_me:8351: checking for $ac_func" >&5 8357 echo "$as_me:8357: checking for $ac_func" >&5
8352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8358 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8353 if eval "test \"\${$as_ac_var+set}\" = set"; then 8359 if eval "test \"\${$as_ac_var+set}\" = set"; then
8354 echo $ECHO_N "(cached) $ECHO_C" >&6 8360 echo $ECHO_N "(cached) $ECHO_C" >&6
8355 else 8361 else
8356 cat >conftest.$ac_ext <<_ACEOF 8362 cat >conftest.$ac_ext <<_ACEOF
8357 #line 8357 "configure" 8363 #line 8363 "configure"
8358 #include "confdefs.h" 8364 #include "confdefs.h"
8359 /* System header to define __stub macros and hopefully few prototypes, 8365 /* System header to define __stub macros and hopefully few prototypes,
8360 which can conflict with char $ac_func (); below. */ 8366 which can conflict with char $ac_func (); below. */
8361 #include <assert.h> 8367 #include <assert.h>
8362 /* Override any gcc2 internal prototype to avoid an error. */ 8368 /* Override any gcc2 internal prototype to avoid an error. */
8383 ; 8389 ;
8384 return 0; 8390 return 0;
8385 } 8391 }
8386 _ACEOF 8392 _ACEOF
8387 rm -f conftest.$ac_objext conftest$ac_exeext 8393 rm -f conftest.$ac_objext conftest$ac_exeext
8388 if { (eval echo "$as_me:8388: \"$ac_link\"") >&5 8394 if { (eval echo "$as_me:8394: \"$ac_link\"") >&5
8389 (eval $ac_link) 2>&5 8395 (eval $ac_link) 2>&5
8390 ac_status=$? 8396 ac_status=$?
8391 echo "$as_me:8391: \$? = $ac_status" >&5 8397 echo "$as_me:8397: \$? = $ac_status" >&5
8392 (exit $ac_status); } && 8398 (exit $ac_status); } &&
8393 { ac_try='test -s conftest$ac_exeext' 8399 { ac_try='test -s conftest$ac_exeext'
8394 { (eval echo "$as_me:8394: \"$ac_try\"") >&5 8400 { (eval echo "$as_me:8400: \"$ac_try\"") >&5
8395 (eval $ac_try) 2>&5 8401 (eval $ac_try) 2>&5
8396 ac_status=$? 8402 ac_status=$?
8397 echo "$as_me:8397: \$? = $ac_status" >&5 8403 echo "$as_me:8403: \$? = $ac_status" >&5
8398 (exit $ac_status); }; }; then 8404 (exit $ac_status); }; }; then
8399 eval "$as_ac_var=yes" 8405 eval "$as_ac_var=yes"
8400 else 8406 else
8401 echo "$as_me: failed program was:" >&5 8407 echo "$as_me: failed program was:" >&5
8402 cat conftest.$ac_ext >&5 8408 cat conftest.$ac_ext >&5
8403 eval "$as_ac_var=no" 8409 eval "$as_ac_var=no"
8404 fi 8410 fi
8405 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8411 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8406 fi 8412 fi
8407 echo "$as_me:8407: result: `eval echo '${'$as_ac_var'}'`" >&5 8413 echo "$as_me:8413: result: `eval echo '${'$as_ac_var'}'`" >&5
8408 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8414 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8409 if test `eval echo '${'$as_ac_var'}'` = yes; then 8415 if test `eval echo '${'$as_ac_var'}'` = yes; then
8410 cat >>confdefs.h <<EOF 8416 cat >>confdefs.h <<EOF
8411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 8417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8412 EOF 8418 EOF
8413 8419
8414 fi 8420 fi
8415 done 8421 done
8416 8422
8417 echo "$as_me:8417: checking for working mktime" >&5 8423 echo "$as_me:8423: checking for working mktime" >&5
8418 echo $ECHO_N "checking for working mktime... $ECHO_C" >&6 8424 echo $ECHO_N "checking for working mktime... $ECHO_C" >&6
8419 if test "${ac_cv_func_working_mktime+set}" = set; then 8425 if test "${ac_cv_func_working_mktime+set}" = set; then
8420 echo $ECHO_N "(cached) $ECHO_C" >&6 8426 echo $ECHO_N "(cached) $ECHO_C" >&6
8421 else 8427 else
8422 if test "$cross_compiling" = yes; then 8428 if test "$cross_compiling" = yes; then
8423 ac_cv_func_working_mktime=no 8429 ac_cv_func_working_mktime=no
8424 else 8430 else
8425 cat >conftest.$ac_ext <<_ACEOF 8431 cat >conftest.$ac_ext <<_ACEOF
8426 #line 8426 "configure" 8432 #line 8432 "configure"
8427 #include "confdefs.h" 8433 #include "confdefs.h"
8428 /* Test program from Paul Eggert and Tony Leneis. */ 8434 /* Test program from Paul Eggert and Tony Leneis. */
8429 #if TIME_WITH_SYS_TIME 8435 #if TIME_WITH_SYS_TIME
8430 # include <sys/time.h> 8436 # include <sys/time.h>
8431 # include <time.h> 8437 # include <time.h>
8570 spring_forward_gap (); 8576 spring_forward_gap ();
8571 exit (0); 8577 exit (0);
8572 } 8578 }
8573 _ACEOF 8579 _ACEOF
8574 rm -f conftest$ac_exeext 8580 rm -f conftest$ac_exeext
8575 if { (eval echo "$as_me:8575: \"$ac_link\"") >&5 8581 if { (eval echo "$as_me:8581: \"$ac_link\"") >&5
8576 (eval $ac_link) 2>&5 8582 (eval $ac_link) 2>&5
8577 ac_status=$? 8583 ac_status=$?
8578 echo "$as_me:8578: \$? = $ac_status" >&5 8584 echo "$as_me:8584: \$? = $ac_status" >&5
8579 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 8585 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8580 { (eval echo "$as_me:8580: \"$ac_try\"") >&5 8586 { (eval echo "$as_me:8586: \"$ac_try\"") >&5
8581 (eval $ac_try) 2>&5 8587 (eval $ac_try) 2>&5
8582 ac_status=$? 8588 ac_status=$?
8583 echo "$as_me:8583: \$? = $ac_status" >&5 8589 echo "$as_me:8589: \$? = $ac_status" >&5
8584 (exit $ac_status); }; }; then 8590 (exit $ac_status); }; }; then
8585 ac_cv_func_working_mktime=yes 8591 ac_cv_func_working_mktime=yes
8586 else 8592 else
8587 echo "$as_me: program exited with status $ac_status" >&5 8593 echo "$as_me: program exited with status $ac_status" >&5
8588 echo "$as_me: failed program was:" >&5 8594 echo "$as_me: failed program was:" >&5
8590 ac_cv_func_working_mktime=no 8596 ac_cv_func_working_mktime=no
8591 fi 8597 fi
8592 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 8598 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8593 fi 8599 fi
8594 fi 8600 fi
8595 echo "$as_me:8595: result: $ac_cv_func_working_mktime" >&5 8601 echo "$as_me:8601: result: $ac_cv_func_working_mktime" >&5
8596 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6 8602 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6
8597 if test $ac_cv_func_working_mktime = no; then 8603 if test $ac_cv_func_working_mktime = no; then
8598 LIBOBJS="$LIBOBJS mktime.$ac_objext" 8604 LIBOBJS="$LIBOBJS mktime.$ac_objext"
8599 fi 8605 fi
8600 8606
8608 ac_have_func=no # yes means we've found a way to get the load average. 8614 ac_have_func=no # yes means we've found a way to get the load average.
8609 8615
8610 ac_save_LIBS=$LIBS 8616 ac_save_LIBS=$LIBS
8611 8617
8612 # Check for getloadavg, but be sure not to touch the cache variable. 8618 # Check for getloadavg, but be sure not to touch the cache variable.
8613 (echo "$as_me:8613: checking for getloadavg" >&5 8619 (echo "$as_me:8619: checking for getloadavg" >&5
8614 echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6 8620 echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6
8615 if test "${ac_cv_func_getloadavg+set}" = set; then 8621 if test "${ac_cv_func_getloadavg+set}" = set; then
8616 echo $ECHO_N "(cached) $ECHO_C" >&6 8622 echo $ECHO_N "(cached) $ECHO_C" >&6
8617 else 8623 else
8618 cat >conftest.$ac_ext <<_ACEOF 8624 cat >conftest.$ac_ext <<_ACEOF
8619 #line 8619 "configure" 8625 #line 8625 "configure"
8620 #include "confdefs.h" 8626 #include "confdefs.h"
8621 /* System header to define __stub macros and hopefully few prototypes, 8627 /* System header to define __stub macros and hopefully few prototypes,
8622 which can conflict with char getloadavg (); below. */ 8628 which can conflict with char getloadavg (); below. */
8623 #include <assert.h> 8629 #include <assert.h>
8624 /* Override any gcc2 internal prototype to avoid an error. */ 8630 /* Override any gcc2 internal prototype to avoid an error. */
8645 ; 8651 ;
8646 return 0; 8652 return 0;
8647 } 8653 }
8648 _ACEOF 8654 _ACEOF
8649 rm -f conftest.$ac_objext conftest$ac_exeext 8655 rm -f conftest.$ac_objext conftest$ac_exeext
8650 if { (eval echo "$as_me:8650: \"$ac_link\"") >&5 8656 if { (eval echo "$as_me:8656: \"$ac_link\"") >&5
8651 (eval $ac_link) 2>&5 8657 (eval $ac_link) 2>&5
8652 ac_status=$? 8658 ac_status=$?
8653 echo "$as_me:8653: \$? = $ac_status" >&5 8659 echo "$as_me:8659: \$? = $ac_status" >&5
8654 (exit $ac_status); } && 8660 (exit $ac_status); } &&
8655 { ac_try='test -s conftest$ac_exeext' 8661 { ac_try='test -s conftest$ac_exeext'
8656 { (eval echo "$as_me:8656: \"$ac_try\"") >&5 8662 { (eval echo "$as_me:8662: \"$ac_try\"") >&5
8657 (eval $ac_try) 2>&5 8663 (eval $ac_try) 2>&5
8658 ac_status=$? 8664 ac_status=$?
8659 echo "$as_me:8659: \$? = $ac_status" >&5 8665 echo "$as_me:8665: \$? = $ac_status" >&5
8660 (exit $ac_status); }; }; then 8666 (exit $ac_status); }; }; then
8661 ac_cv_func_getloadavg=yes 8667 ac_cv_func_getloadavg=yes
8662 else 8668 else
8663 echo "$as_me: failed program was:" >&5 8669 echo "$as_me: failed program was:" >&5
8664 cat conftest.$ac_ext >&5 8670 cat conftest.$ac_ext >&5
8665 ac_cv_func_getloadavg=no 8671 ac_cv_func_getloadavg=no
8666 fi 8672 fi
8667 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8673 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8668 fi 8674 fi
8669 echo "$as_me:8669: result: $ac_cv_func_getloadavg" >&5 8675 echo "$as_me:8675: result: $ac_cv_func_getloadavg" >&5
8670 echo "${ECHO_T}$ac_cv_func_getloadavg" >&6 8676 echo "${ECHO_T}$ac_cv_func_getloadavg" >&6
8671 if test $ac_cv_func_getloadavg = yes; then 8677 if test $ac_cv_func_getloadavg = yes; then
8672 exit 0 8678 exit 0
8673 else 8679 else
8674 exit 1 8680 exit 1
8678 # On HPUX9, an unprivileged user can get load averages through this function. 8684 # On HPUX9, an unprivileged user can get load averages through this function.
8679 8685
8680 for ac_func in pstat_getdynamic 8686 for ac_func in pstat_getdynamic
8681 do 8687 do
8682 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8688 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8683 echo "$as_me:8683: checking for $ac_func" >&5 8689 echo "$as_me:8689: checking for $ac_func" >&5
8684 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8685 if eval "test \"\${$as_ac_var+set}\" = set"; then 8691 if eval "test \"\${$as_ac_var+set}\" = set"; then
8686 echo $ECHO_N "(cached) $ECHO_C" >&6 8692 echo $ECHO_N "(cached) $ECHO_C" >&6
8687 else 8693 else
8688 cat >conftest.$ac_ext <<_ACEOF 8694 cat >conftest.$ac_ext <<_ACEOF
8689 #line 8689 "configure" 8695 #line 8695 "configure"
8690 #include "confdefs.h" 8696 #include "confdefs.h"
8691 /* System header to define __stub macros and hopefully few prototypes, 8697 /* System header to define __stub macros and hopefully few prototypes,
8692 which can conflict with char $ac_func (); below. */ 8698 which can conflict with char $ac_func (); below. */
8693 #include <assert.h> 8699 #include <assert.h>
8694 /* Override any gcc2 internal prototype to avoid an error. */ 8700 /* Override any gcc2 internal prototype to avoid an error. */
8715 ; 8721 ;
8716 return 0; 8722 return 0;
8717 } 8723 }
8718 _ACEOF 8724 _ACEOF
8719 rm -f conftest.$ac_objext conftest$ac_exeext 8725 rm -f conftest.$ac_objext conftest$ac_exeext
8720 if { (eval echo "$as_me:8720: \"$ac_link\"") >&5 8726 if { (eval echo "$as_me:8726: \"$ac_link\"") >&5
8721 (eval $ac_link) 2>&5 8727 (eval $ac_link) 2>&5
8722 ac_status=$? 8728 ac_status=$?
8723 echo "$as_me:8723: \$? = $ac_status" >&5 8729 echo "$as_me:8729: \$? = $ac_status" >&5
8724 (exit $ac_status); } && 8730 (exit $ac_status); } &&
8725 { ac_try='test -s conftest$ac_exeext' 8731 { ac_try='test -s conftest$ac_exeext'
8726 { (eval echo "$as_me:8726: \"$ac_try\"") >&5 8732 { (eval echo "$as_me:8732: \"$ac_try\"") >&5
8727 (eval $ac_try) 2>&5 8733 (eval $ac_try) 2>&5
8728 ac_status=$? 8734 ac_status=$?
8729 echo "$as_me:8729: \$? = $ac_status" >&5 8735 echo "$as_me:8735: \$? = $ac_status" >&5
8730 (exit $ac_status); }; }; then 8736 (exit $ac_status); }; }; then
8731 eval "$as_ac_var=yes" 8737 eval "$as_ac_var=yes"
8732 else 8738 else
8733 echo "$as_me: failed program was:" >&5 8739 echo "$as_me: failed program was:" >&5
8734 cat conftest.$ac_ext >&5 8740 cat conftest.$ac_ext >&5
8735 eval "$as_ac_var=no" 8741 eval "$as_ac_var=no"
8736 fi 8742 fi
8737 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8743 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8738 fi 8744 fi
8739 echo "$as_me:8739: result: `eval echo '${'$as_ac_var'}'`" >&5 8745 echo "$as_me:8745: result: `eval echo '${'$as_ac_var'}'`" >&5
8740 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8746 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8741 if test `eval echo '${'$as_ac_var'}'` = yes; then 8747 if test `eval echo '${'$as_ac_var'}'` = yes; then
8742 cat >>confdefs.h <<EOF 8748 cat >>confdefs.h <<EOF
8743 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 8749 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8744 EOF 8750 EOF
8746 fi 8752 fi
8747 done 8753 done
8748 8754
8749 # Solaris has libkstat which does not require root. 8755 # Solaris has libkstat which does not require root.
8750 8756
8751 echo "$as_me:8751: checking for kstat_open in -lkstat" >&5 8757 echo "$as_me:8757: checking for kstat_open in -lkstat" >&5
8752 echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6 8758 echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6
8753 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then 8759 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then
8754 echo $ECHO_N "(cached) $ECHO_C" >&6 8760 echo $ECHO_N "(cached) $ECHO_C" >&6
8755 else 8761 else
8756 ac_check_lib_save_LIBS=$LIBS 8762 ac_check_lib_save_LIBS=$LIBS
8757 LIBS="-lkstat $LIBS" 8763 LIBS="-lkstat $LIBS"
8758 cat >conftest.$ac_ext <<_ACEOF 8764 cat >conftest.$ac_ext <<_ACEOF
8759 #line 8759 "configure" 8765 #line 8765 "configure"
8760 #include "confdefs.h" 8766 #include "confdefs.h"
8761 8767
8762 /* Override any gcc2 internal prototype to avoid an error. */ 8768 /* Override any gcc2 internal prototype to avoid an error. */
8763 #ifdef __cplusplus 8769 #ifdef __cplusplus
8764 extern "C" 8770 extern "C"
8773 ; 8779 ;
8774 return 0; 8780 return 0;
8775 } 8781 }
8776 _ACEOF 8782 _ACEOF
8777 rm -f conftest.$ac_objext conftest$ac_exeext 8783 rm -f conftest.$ac_objext conftest$ac_exeext
8778 if { (eval echo "$as_me:8778: \"$ac_link\"") >&5 8784 if { (eval echo "$as_me:8784: \"$ac_link\"") >&5
8779 (eval $ac_link) 2>&5 8785 (eval $ac_link) 2>&5
8780 ac_status=$? 8786 ac_status=$?
8781 echo "$as_me:8781: \$? = $ac_status" >&5 8787 echo "$as_me:8787: \$? = $ac_status" >&5
8782 (exit $ac_status); } && 8788 (exit $ac_status); } &&
8783 { ac_try='test -s conftest$ac_exeext' 8789 { ac_try='test -s conftest$ac_exeext'
8784 { (eval echo "$as_me:8784: \"$ac_try\"") >&5 8790 { (eval echo "$as_me:8790: \"$ac_try\"") >&5
8785 (eval $ac_try) 2>&5 8791 (eval $ac_try) 2>&5
8786 ac_status=$? 8792 ac_status=$?
8787 echo "$as_me:8787: \$? = $ac_status" >&5 8793 echo "$as_me:8793: \$? = $ac_status" >&5
8788 (exit $ac_status); }; }; then 8794 (exit $ac_status); }; }; then
8789 ac_cv_lib_kstat_kstat_open=yes 8795 ac_cv_lib_kstat_kstat_open=yes
8790 else 8796 else
8791 echo "$as_me: failed program was:" >&5 8797 echo "$as_me: failed program was:" >&5
8792 cat conftest.$ac_ext >&5 8798 cat conftest.$ac_ext >&5
8793 ac_cv_lib_kstat_kstat_open=no 8799 ac_cv_lib_kstat_kstat_open=no
8794 fi 8800 fi
8795 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8801 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8796 LIBS=$ac_check_lib_save_LIBS 8802 LIBS=$ac_check_lib_save_LIBS
8797 fi 8803 fi
8798 echo "$as_me:8798: result: $ac_cv_lib_kstat_kstat_open" >&5 8804 echo "$as_me:8804: result: $ac_cv_lib_kstat_kstat_open" >&5
8799 echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6 8805 echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6
8800 if test $ac_cv_lib_kstat_kstat_open = yes; then 8806 if test $ac_cv_lib_kstat_kstat_open = yes; then
8801 cat >>confdefs.h <<EOF 8807 cat >>confdefs.h <<EOF
8802 #define HAVE_LIBKSTAT 1 8808 #define HAVE_LIBKSTAT 1
8803 EOF 8809 EOF
8811 # Some systems with -lutil have (and need) -lkvm as well, some do not. 8817 # Some systems with -lutil have (and need) -lkvm as well, some do not.
8812 # On Solaris, -lkvm requires nlist from -lelf, so check that first 8818 # On Solaris, -lkvm requires nlist from -lelf, so check that first
8813 # to get the right answer into the cache. 8819 # to get the right answer into the cache.
8814 # For kstat on solaris, we need libelf to force the definition of SVR4 below. 8820 # For kstat on solaris, we need libelf to force the definition of SVR4 below.
8815 if test $ac_have_func = no; then 8821 if test $ac_have_func = no; then
8816 echo "$as_me:8816: checking for elf_begin in -lelf" >&5 8822 echo "$as_me:8822: checking for elf_begin in -lelf" >&5
8817 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6 8823 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
8818 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then 8824 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
8819 echo $ECHO_N "(cached) $ECHO_C" >&6 8825 echo $ECHO_N "(cached) $ECHO_C" >&6
8820 else 8826 else
8821 ac_check_lib_save_LIBS=$LIBS 8827 ac_check_lib_save_LIBS=$LIBS
8822 LIBS="-lelf $LIBS" 8828 LIBS="-lelf $LIBS"
8823 cat >conftest.$ac_ext <<_ACEOF 8829 cat >conftest.$ac_ext <<_ACEOF
8824 #line 8824 "configure" 8830 #line 8830 "configure"
8825 #include "confdefs.h" 8831 #include "confdefs.h"
8826 8832
8827 /* Override any gcc2 internal prototype to avoid an error. */ 8833 /* Override any gcc2 internal prototype to avoid an error. */
8828 #ifdef __cplusplus 8834 #ifdef __cplusplus
8829 extern "C" 8835 extern "C"
8838 ; 8844 ;
8839 return 0; 8845 return 0;
8840 } 8846 }
8841 _ACEOF 8847 _ACEOF
8842 rm -f conftest.$ac_objext conftest$ac_exeext 8848 rm -f conftest.$ac_objext conftest$ac_exeext
8843 if { (eval echo "$as_me:8843: \"$ac_link\"") >&5 8849 if { (eval echo "$as_me:8849: \"$ac_link\"") >&5
8844 (eval $ac_link) 2>&5 8850 (eval $ac_link) 2>&5
8845 ac_status=$? 8851 ac_status=$?
8846 echo "$as_me:8846: \$? = $ac_status" >&5 8852 echo "$as_me:8852: \$? = $ac_status" >&5
8847 (exit $ac_status); } && 8853 (exit $ac_status); } &&
8848 { ac_try='test -s conftest$ac_exeext' 8854 { ac_try='test -s conftest$ac_exeext'
8849 { (eval echo "$as_me:8849: \"$ac_try\"") >&5 8855 { (eval echo "$as_me:8855: \"$ac_try\"") >&5
8850 (eval $ac_try) 2>&5 8856 (eval $ac_try) 2>&5
8851 ac_status=$? 8857 ac_status=$?
8852 echo "$as_me:8852: \$? = $ac_status" >&5 8858 echo "$as_me:8858: \$? = $ac_status" >&5
8853 (exit $ac_status); }; }; then 8859 (exit $ac_status); }; }; then
8854 ac_cv_lib_elf_elf_begin=yes 8860 ac_cv_lib_elf_elf_begin=yes
8855 else 8861 else
8856 echo "$as_me: failed program was:" >&5 8862 echo "$as_me: failed program was:" >&5
8857 cat conftest.$ac_ext >&5 8863 cat conftest.$ac_ext >&5
8858 ac_cv_lib_elf_elf_begin=no 8864 ac_cv_lib_elf_elf_begin=no
8859 fi 8865 fi
8860 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8866 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8861 LIBS=$ac_check_lib_save_LIBS 8867 LIBS=$ac_check_lib_save_LIBS
8862 fi 8868 fi
8863 echo "$as_me:8863: result: $ac_cv_lib_elf_elf_begin" >&5 8869 echo "$as_me:8869: result: $ac_cv_lib_elf_elf_begin" >&5
8864 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6 8870 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
8865 if test $ac_cv_lib_elf_elf_begin = yes; then 8871 if test $ac_cv_lib_elf_elf_begin = yes; then
8866 LIBS="-lelf $LIBS" 8872 LIBS="-lelf $LIBS"
8867 fi 8873 fi
8868 8874
8869 fi 8875 fi
8870 if test $ac_have_func = no; then 8876 if test $ac_have_func = no; then
8871 echo "$as_me:8871: checking for kvm_open in -lkvm" >&5 8877 echo "$as_me:8877: checking for kvm_open in -lkvm" >&5
8872 echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6 8878 echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6
8873 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then 8879 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then
8874 echo $ECHO_N "(cached) $ECHO_C" >&6 8880 echo $ECHO_N "(cached) $ECHO_C" >&6
8875 else 8881 else
8876 ac_check_lib_save_LIBS=$LIBS 8882 ac_check_lib_save_LIBS=$LIBS
8877 LIBS="-lkvm $LIBS" 8883 LIBS="-lkvm $LIBS"
8878 cat >conftest.$ac_ext <<_ACEOF 8884 cat >conftest.$ac_ext <<_ACEOF
8879 #line 8879 "configure" 8885 #line 8885 "configure"
8880 #include "confdefs.h" 8886 #include "confdefs.h"
8881 8887
8882 /* Override any gcc2 internal prototype to avoid an error. */ 8888 /* Override any gcc2 internal prototype to avoid an error. */
8883 #ifdef __cplusplus 8889 #ifdef __cplusplus
8884 extern "C" 8890 extern "C"
8893 ; 8899 ;
8894 return 0; 8900 return 0;
8895 } 8901 }
8896 _ACEOF 8902 _ACEOF
8897 rm -f conftest.$ac_objext conftest$ac_exeext 8903 rm -f conftest.$ac_objext conftest$ac_exeext
8898 if { (eval echo "$as_me:8898: \"$ac_link\"") >&5 8904 if { (eval echo "$as_me:8904: \"$ac_link\"") >&5
8899 (eval $ac_link) 2>&5 8905 (eval $ac_link) 2>&5
8900 ac_status=$? 8906 ac_status=$?
8901 echo "$as_me:8901: \$? = $ac_status" >&5 8907 echo "$as_me:8907: \$? = $ac_status" >&5
8902 (exit $ac_status); } && 8908 (exit $ac_status); } &&
8903 { ac_try='test -s conftest$ac_exeext' 8909 { ac_try='test -s conftest$ac_exeext'
8904 { (eval echo "$as_me:8904: \"$ac_try\"") >&5 8910 { (eval echo "$as_me:8910: \"$ac_try\"") >&5
8905 (eval $ac_try) 2>&5 8911 (eval $ac_try) 2>&5
8906 ac_status=$? 8912 ac_status=$?
8907 echo "$as_me:8907: \$? = $ac_status" >&5 8913 echo "$as_me:8913: \$? = $ac_status" >&5
8908 (exit $ac_status); }; }; then 8914 (exit $ac_status); }; }; then
8909 ac_cv_lib_kvm_kvm_open=yes 8915 ac_cv_lib_kvm_kvm_open=yes
8910 else 8916 else
8911 echo "$as_me: failed program was:" >&5 8917 echo "$as_me: failed program was:" >&5
8912 cat conftest.$ac_ext >&5 8918 cat conftest.$ac_ext >&5
8913 ac_cv_lib_kvm_kvm_open=no 8919 ac_cv_lib_kvm_kvm_open=no
8914 fi 8920 fi
8915 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8921 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8916 LIBS=$ac_check_lib_save_LIBS 8922 LIBS=$ac_check_lib_save_LIBS
8917 fi 8923 fi
8918 echo "$as_me:8918: result: $ac_cv_lib_kvm_kvm_open" >&5 8924 echo "$as_me:8924: result: $ac_cv_lib_kvm_kvm_open" >&5
8919 echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6 8925 echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6
8920 if test $ac_cv_lib_kvm_kvm_open = yes; then 8926 if test $ac_cv_lib_kvm_kvm_open = yes; then
8921 LIBS="-lkvm $LIBS" 8927 LIBS="-lkvm $LIBS"
8922 fi 8928 fi
8923 8929
8924 # Check for the 4.4BSD definition of getloadavg. 8930 # Check for the 4.4BSD definition of getloadavg.
8925 echo "$as_me:8925: checking for getloadavg in -lutil" >&5 8931 echo "$as_me:8931: checking for getloadavg in -lutil" >&5
8926 echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6 8932 echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6
8927 if test "${ac_cv_lib_util_getloadavg+set}" = set; then 8933 if test "${ac_cv_lib_util_getloadavg+set}" = set; then
8928 echo $ECHO_N "(cached) $ECHO_C" >&6 8934 echo $ECHO_N "(cached) $ECHO_C" >&6
8929 else 8935 else
8930 ac_check_lib_save_LIBS=$LIBS 8936 ac_check_lib_save_LIBS=$LIBS
8931 LIBS="-lutil $LIBS" 8937 LIBS="-lutil $LIBS"
8932 cat >conftest.$ac_ext <<_ACEOF 8938 cat >conftest.$ac_ext <<_ACEOF
8933 #line 8933 "configure" 8939 #line 8939 "configure"
8934 #include "confdefs.h" 8940 #include "confdefs.h"
8935 8941
8936 /* Override any gcc2 internal prototype to avoid an error. */ 8942 /* Override any gcc2 internal prototype to avoid an error. */
8937 #ifdef __cplusplus 8943 #ifdef __cplusplus
8938 extern "C" 8944 extern "C"
8947 ; 8953 ;
8948 return 0; 8954 return 0;
8949 } 8955 }
8950 _ACEOF 8956 _ACEOF
8951 rm -f conftest.$ac_objext conftest$ac_exeext 8957 rm -f conftest.$ac_objext conftest$ac_exeext
8952 if { (eval echo "$as_me:8952: \"$ac_link\"") >&5 8958 if { (eval echo "$as_me:8958: \"$ac_link\"") >&5
8953 (eval $ac_link) 2>&5 8959 (eval $ac_link) 2>&5
8954 ac_status=$? 8960 ac_status=$?
8955 echo "$as_me:8955: \$? = $ac_status" >&5 8961 echo "$as_me:8961: \$? = $ac_status" >&5
8956 (exit $ac_status); } && 8962 (exit $ac_status); } &&
8957 { ac_try='test -s conftest$ac_exeext' 8963 { ac_try='test -s conftest$ac_exeext'
8958 { (eval echo "$as_me:8958: \"$ac_try\"") >&5 8964 { (eval echo "$as_me:8964: \"$ac_try\"") >&5
8959 (eval $ac_try) 2>&5 8965 (eval $ac_try) 2>&5
8960 ac_status=$? 8966 ac_status=$?
8961 echo "$as_me:8961: \$? = $ac_status" >&5 8967 echo "$as_me:8967: \$? = $ac_status" >&5
8962 (exit $ac_status); }; }; then 8968 (exit $ac_status); }; }; then
8963 ac_cv_lib_util_getloadavg=yes 8969 ac_cv_lib_util_getloadavg=yes
8964 else 8970 else
8965 echo "$as_me: failed program was:" >&5 8971 echo "$as_me: failed program was:" >&5
8966 cat conftest.$ac_ext >&5 8972 cat conftest.$ac_ext >&5
8967 ac_cv_lib_util_getloadavg=no 8973 ac_cv_lib_util_getloadavg=no
8968 fi 8974 fi
8969 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8975 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8970 LIBS=$ac_check_lib_save_LIBS 8976 LIBS=$ac_check_lib_save_LIBS
8971 fi 8977 fi
8972 echo "$as_me:8972: result: $ac_cv_lib_util_getloadavg" >&5 8978 echo "$as_me:8978: result: $ac_cv_lib_util_getloadavg" >&5
8973 echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6 8979 echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6
8974 if test $ac_cv_lib_util_getloadavg = yes; then 8980 if test $ac_cv_lib_util_getloadavg = yes; then
8975 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes 8981 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes
8976 fi 8982 fi
8977 8983
8980 if test $ac_have_func = no; then 8986 if test $ac_have_func = no; then
8981 # There is a commonly available library for RS/6000 AIX. 8987 # There is a commonly available library for RS/6000 AIX.
8982 # Since it is not a standard part of AIX, it might be installed locally. 8988 # Since it is not a standard part of AIX, it might be installed locally.
8983 ac_getloadavg_LIBS=$LIBS 8989 ac_getloadavg_LIBS=$LIBS
8984 LIBS="-L/usr/local/lib $LIBS" 8990 LIBS="-L/usr/local/lib $LIBS"
8985 echo "$as_me:8985: checking for getloadavg in -lgetloadavg" >&5 8991 echo "$as_me:8991: checking for getloadavg in -lgetloadavg" >&5
8986 echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6 8992 echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6
8987 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then 8993 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then
8988 echo $ECHO_N "(cached) $ECHO_C" >&6 8994 echo $ECHO_N "(cached) $ECHO_C" >&6
8989 else 8995 else
8990 ac_check_lib_save_LIBS=$LIBS 8996 ac_check_lib_save_LIBS=$LIBS
8991 LIBS="-lgetloadavg $LIBS" 8997 LIBS="-lgetloadavg $LIBS"
8992 cat >conftest.$ac_ext <<_ACEOF 8998 cat >conftest.$ac_ext <<_ACEOF
8993 #line 8993 "configure" 8999 #line 8999 "configure"
8994 #include "confdefs.h" 9000 #include "confdefs.h"
8995 9001
8996 /* Override any gcc2 internal prototype to avoid an error. */ 9002 /* Override any gcc2 internal prototype to avoid an error. */
8997 #ifdef __cplusplus 9003 #ifdef __cplusplus
8998 extern "C" 9004 extern "C"
9007 ; 9013 ;
9008 return 0; 9014 return 0;
9009 } 9015 }
9010 _ACEOF 9016 _ACEOF
9011 rm -f conftest.$ac_objext conftest$ac_exeext 9017 rm -f conftest.$ac_objext conftest$ac_exeext
9012 if { (eval echo "$as_me:9012: \"$ac_link\"") >&5 9018 if { (eval echo "$as_me:9018: \"$ac_link\"") >&5
9013 (eval $ac_link) 2>&5 9019 (eval $ac_link) 2>&5
9014 ac_status=$? 9020 ac_status=$?
9015 echo "$as_me:9015: \$? = $ac_status" >&5 9021 echo "$as_me:9021: \$? = $ac_status" >&5
9016 (exit $ac_status); } && 9022 (exit $ac_status); } &&
9017 { ac_try='test -s conftest$ac_exeext' 9023 { ac_try='test -s conftest$ac_exeext'
9018 { (eval echo "$as_me:9018: \"$ac_try\"") >&5 9024 { (eval echo "$as_me:9024: \"$ac_try\"") >&5
9019 (eval $ac_try) 2>&5 9025 (eval $ac_try) 2>&5
9020 ac_status=$? 9026 ac_status=$?
9021 echo "$as_me:9021: \$? = $ac_status" >&5 9027 echo "$as_me:9027: \$? = $ac_status" >&5
9022 (exit $ac_status); }; }; then 9028 (exit $ac_status); }; }; then
9023 ac_cv_lib_getloadavg_getloadavg=yes 9029 ac_cv_lib_getloadavg_getloadavg=yes
9024 else 9030 else
9025 echo "$as_me: failed program was:" >&5 9031 echo "$as_me: failed program was:" >&5
9026 cat conftest.$ac_ext >&5 9032 cat conftest.$ac_ext >&5
9027 ac_cv_lib_getloadavg_getloadavg=no 9033 ac_cv_lib_getloadavg_getloadavg=no
9028 fi 9034 fi
9029 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9035 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9030 LIBS=$ac_check_lib_save_LIBS 9036 LIBS=$ac_check_lib_save_LIBS
9031 fi 9037 fi
9032 echo "$as_me:9032: result: $ac_cv_lib_getloadavg_getloadavg" >&5 9038 echo "$as_me:9038: result: $ac_cv_lib_getloadavg_getloadavg" >&5
9033 echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6 9039 echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6
9034 if test $ac_cv_lib_getloadavg_getloadavg = yes; then 9040 if test $ac_cv_lib_getloadavg_getloadavg = yes; then
9035 LIBS="-lgetloadavg $LIBS" 9041 LIBS="-lgetloadavg $LIBS"
9036 else 9042 else
9037 LIBS=$ac_getloadavg_LIBS 9043 LIBS=$ac_getloadavg_LIBS
9043 # otherwise set up the replacement function. 9049 # otherwise set up the replacement function.
9044 9050
9045 for ac_func in getloadavg 9051 for ac_func in getloadavg
9046 do 9052 do
9047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9053 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9048 echo "$as_me:9048: checking for $ac_func" >&5 9054 echo "$as_me:9054: checking for $ac_func" >&5
9049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9055 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9050 if eval "test \"\${$as_ac_var+set}\" = set"; then 9056 if eval "test \"\${$as_ac_var+set}\" = set"; then
9051 echo $ECHO_N "(cached) $ECHO_C" >&6 9057 echo $ECHO_N "(cached) $ECHO_C" >&6
9052 else 9058 else
9053 cat >conftest.$ac_ext <<_ACEOF 9059 cat >conftest.$ac_ext <<_ACEOF
9054 #line 9054 "configure" 9060 #line 9060 "configure"
9055 #include "confdefs.h" 9061 #include "confdefs.h"
9056 /* System header to define __stub macros and hopefully few prototypes, 9062 /* System header to define __stub macros and hopefully few prototypes,
9057 which can conflict with char $ac_func (); below. */ 9063 which can conflict with char $ac_func (); below. */
9058 #include <assert.h> 9064 #include <assert.h>
9059 /* Override any gcc2 internal prototype to avoid an error. */ 9065 /* Override any gcc2 internal prototype to avoid an error. */
9080 ; 9086 ;
9081 return 0; 9087 return 0;
9082 } 9088 }
9083 _ACEOF 9089 _ACEOF
9084 rm -f conftest.$ac_objext conftest$ac_exeext 9090 rm -f conftest.$ac_objext conftest$ac_exeext
9085 if { (eval echo "$as_me:9085: \"$ac_link\"") >&5 9091 if { (eval echo "$as_me:9091: \"$ac_link\"") >&5
9086 (eval $ac_link) 2>&5 9092 (eval $ac_link) 2>&5
9087 ac_status=$? 9093 ac_status=$?
9088 echo "$as_me:9088: \$? = $ac_status" >&5 9094 echo "$as_me:9094: \$? = $ac_status" >&5
9089 (exit $ac_status); } && 9095 (exit $ac_status); } &&
9090 { ac_try='test -s conftest$ac_exeext' 9096 { ac_try='test -s conftest$ac_exeext'
9091 { (eval echo "$as_me:9091: \"$ac_try\"") >&5 9097 { (eval echo "$as_me:9097: \"$ac_try\"") >&5
9092 (eval $ac_try) 2>&5 9098 (eval $ac_try) 2>&5
9093 ac_status=$? 9099 ac_status=$?
9094 echo "$as_me:9094: \$? = $ac_status" >&5 9100 echo "$as_me:9100: \$? = $ac_status" >&5
9095 (exit $ac_status); }; }; then 9101 (exit $ac_status); }; }; then
9096 eval "$as_ac_var=yes" 9102 eval "$as_ac_var=yes"
9097 else 9103 else
9098 echo "$as_me: failed program was:" >&5 9104 echo "$as_me: failed program was:" >&5
9099 cat conftest.$ac_ext >&5 9105 cat conftest.$ac_ext >&5
9100 eval "$as_ac_var=no" 9106 eval "$as_ac_var=no"
9101 fi 9107 fi
9102 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9108 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9103 fi 9109 fi
9104 echo "$as_me:9104: result: `eval echo '${'$as_ac_var'}'`" >&5 9110 echo "$as_me:9110: result: `eval echo '${'$as_ac_var'}'`" >&5
9105 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 9111 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9106 if test `eval echo '${'$as_ac_var'}'` = yes; then 9112 if test `eval echo '${'$as_ac_var'}'` = yes; then
9107 cat >>confdefs.h <<EOF 9113 cat >>confdefs.h <<EOF
9108 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 9114 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9109 EOF 9115 EOF
9115 #define C_GETLOADAVG 1 9121 #define C_GETLOADAVG 1
9116 EOF 9122 EOF
9117 9123
9118 # Figure out what our getloadavg.c needs. 9124 # Figure out what our getloadavg.c needs.
9119 ac_have_func=no 9125 ac_have_func=no
9120 echo "$as_me:9120: checking for sys/dg_sys_info.h" >&5 9126 echo "$as_me:9126: checking for sys/dg_sys_info.h" >&5
9121 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6 9127 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
9122 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then 9128 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
9123 echo $ECHO_N "(cached) $ECHO_C" >&6 9129 echo $ECHO_N "(cached) $ECHO_C" >&6
9124 else 9130 else
9125 cat >conftest.$ac_ext <<_ACEOF 9131 cat >conftest.$ac_ext <<_ACEOF
9126 #line 9126 "configure" 9132 #line 9132 "configure"
9127 #include "confdefs.h" 9133 #include "confdefs.h"
9128 #include <sys/dg_sys_info.h> 9134 #include <sys/dg_sys_info.h>
9129 _ACEOF 9135 _ACEOF
9130 if { (eval echo "$as_me:9130: \"$ac_cpp conftest.$ac_ext\"") >&5 9136 if { (eval echo "$as_me:9136: \"$ac_cpp conftest.$ac_ext\"") >&5
9131 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9137 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9132 ac_status=$? 9138 ac_status=$?
9133 egrep -v '^ *\+' conftest.er1 >conftest.err 9139 egrep -v '^ *\+' conftest.er1 >conftest.err
9134 rm -f conftest.er1 9140 rm -f conftest.er1
9135 cat conftest.err >&5 9141 cat conftest.err >&5
9136 echo "$as_me:9136: \$? = $ac_status" >&5 9142 echo "$as_me:9142: \$? = $ac_status" >&5
9137 (exit $ac_status); } >/dev/null; then 9143 (exit $ac_status); } >/dev/null; then
9138 if test -s conftest.err; then 9144 if test -s conftest.err; then
9139 ac_cpp_err=$ac_c_preproc_warn_flag 9145 ac_cpp_err=$ac_c_preproc_warn_flag
9140 else 9146 else
9141 ac_cpp_err= 9147 ac_cpp_err=
9150 cat conftest.$ac_ext >&5 9156 cat conftest.$ac_ext >&5
9151 ac_cv_header_sys_dg_sys_info_h=no 9157 ac_cv_header_sys_dg_sys_info_h=no
9152 fi 9158 fi
9153 rm -f conftest.err conftest.$ac_ext 9159 rm -f conftest.err conftest.$ac_ext
9154 fi 9160 fi
9155 echo "$as_me:9155: result: $ac_cv_header_sys_dg_sys_info_h" >&5 9161 echo "$as_me:9161: result: $ac_cv_header_sys_dg_sys_info_h" >&5
9156 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6 9162 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
9157 if test $ac_cv_header_sys_dg_sys_info_h = yes; then 9163 if test $ac_cv_header_sys_dg_sys_info_h = yes; then
9158 ac_have_func=yes 9164 ac_have_func=yes
9159 9165
9160 cat >>confdefs.h <<\EOF 9166 cat >>confdefs.h <<\EOF
9161 #define DGUX 1 9167 #define DGUX 1
9162 EOF 9168 EOF
9163 9169
9164 echo "$as_me:9164: checking for dg_sys_info in -ldgc" >&5 9170 echo "$as_me:9170: checking for dg_sys_info in -ldgc" >&5
9165 echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6 9171 echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6
9166 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then 9172 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then
9167 echo $ECHO_N "(cached) $ECHO_C" >&6 9173 echo $ECHO_N "(cached) $ECHO_C" >&6
9168 else 9174 else
9169 ac_check_lib_save_LIBS=$LIBS 9175 ac_check_lib_save_LIBS=$LIBS
9170 LIBS="-ldgc $LIBS" 9176 LIBS="-ldgc $LIBS"
9171 cat >conftest.$ac_ext <<_ACEOF 9177 cat >conftest.$ac_ext <<_ACEOF
9172 #line 9172 "configure" 9178 #line 9178 "configure"
9173 #include "confdefs.h" 9179 #include "confdefs.h"
9174 9180
9175 /* Override any gcc2 internal prototype to avoid an error. */ 9181 /* Override any gcc2 internal prototype to avoid an error. */
9176 #ifdef __cplusplus 9182 #ifdef __cplusplus
9177 extern "C" 9183 extern "C"
9186 ; 9192 ;
9187 return 0; 9193 return 0;
9188 } 9194 }
9189 _ACEOF 9195 _ACEOF
9190 rm -f conftest.$ac_objext conftest$ac_exeext 9196 rm -f conftest.$ac_objext conftest$ac_exeext
9191 if { (eval echo "$as_me:9191: \"$ac_link\"") >&5 9197 if { (eval echo "$as_me:9197: \"$ac_link\"") >&5
9192 (eval $ac_link) 2>&5 9198 (eval $ac_link) 2>&5
9193 ac_status=$? 9199 ac_status=$?
9194 echo "$as_me:9194: \$? = $ac_status" >&5 9200 echo "$as_me:9200: \$? = $ac_status" >&5
9195 (exit $ac_status); } && 9201 (exit $ac_status); } &&
9196 { ac_try='test -s conftest$ac_exeext' 9202 { ac_try='test -s conftest$ac_exeext'
9197 { (eval echo "$as_me:9197: \"$ac_try\"") >&5 9203 { (eval echo "$as_me:9203: \"$ac_try\"") >&5
9198 (eval $ac_try) 2>&5 9204 (eval $ac_try) 2>&5
9199 ac_status=$? 9205 ac_status=$?
9200 echo "$as_me:9200: \$? = $ac_status" >&5 9206 echo "$as_me:9206: \$? = $ac_status" >&5
9201 (exit $ac_status); }; }; then 9207 (exit $ac_status); }; }; then
9202 ac_cv_lib_dgc_dg_sys_info=yes 9208 ac_cv_lib_dgc_dg_sys_info=yes
9203 else 9209 else
9204 echo "$as_me: failed program was:" >&5 9210 echo "$as_me: failed program was:" >&5
9205 cat conftest.$ac_ext >&5 9211 cat conftest.$ac_ext >&5
9206 ac_cv_lib_dgc_dg_sys_info=no 9212 ac_cv_lib_dgc_dg_sys_info=no
9207 fi 9213 fi
9208 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9214 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9209 LIBS=$ac_check_lib_save_LIBS 9215 LIBS=$ac_check_lib_save_LIBS
9210 fi 9216 fi
9211 echo "$as_me:9211: result: $ac_cv_lib_dgc_dg_sys_info" >&5 9217 echo "$as_me:9217: result: $ac_cv_lib_dgc_dg_sys_info" >&5
9212 echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6 9218 echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6
9213 if test $ac_cv_lib_dgc_dg_sys_info = yes; then 9219 if test $ac_cv_lib_dgc_dg_sys_info = yes; then
9214 cat >>confdefs.h <<EOF 9220 cat >>confdefs.h <<EOF
9215 #define HAVE_LIBDGC 1 9221 #define HAVE_LIBDGC 1
9216 EOF 9222 EOF
9219 9225
9220 fi 9226 fi
9221 9227
9222 fi 9228 fi
9223 9229
9224 echo "$as_me:9224: checking for locale.h" >&5 9230 echo "$as_me:9230: checking for locale.h" >&5
9225 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6 9231 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
9226 if test "${ac_cv_header_locale_h+set}" = set; then 9232 if test "${ac_cv_header_locale_h+set}" = set; then
9227 echo $ECHO_N "(cached) $ECHO_C" >&6 9233 echo $ECHO_N "(cached) $ECHO_C" >&6
9228 else 9234 else
9229 cat >conftest.$ac_ext <<_ACEOF 9235 cat >conftest.$ac_ext <<_ACEOF
9230 #line 9230 "configure" 9236 #line 9236 "configure"
9231 #include "confdefs.h" 9237 #include "confdefs.h"
9232 #include <locale.h> 9238 #include <locale.h>
9233 _ACEOF 9239 _ACEOF
9234 if { (eval echo "$as_me:9234: \"$ac_cpp conftest.$ac_ext\"") >&5 9240 if { (eval echo "$as_me:9240: \"$ac_cpp conftest.$ac_ext\"") >&5
9235 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9241 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9236 ac_status=$? 9242 ac_status=$?
9237 egrep -v '^ *\+' conftest.er1 >conftest.err 9243 egrep -v '^ *\+' conftest.er1 >conftest.err
9238 rm -f conftest.er1 9244 rm -f conftest.er1
9239 cat conftest.err >&5 9245 cat conftest.err >&5
9240 echo "$as_me:9240: \$? = $ac_status" >&5 9246 echo "$as_me:9246: \$? = $ac_status" >&5
9241 (exit $ac_status); } >/dev/null; then 9247 (exit $ac_status); } >/dev/null; then
9242 if test -s conftest.err; then 9248 if test -s conftest.err; then
9243 ac_cpp_err=$ac_c_preproc_warn_flag 9249 ac_cpp_err=$ac_c_preproc_warn_flag
9244 else 9250 else
9245 ac_cpp_err= 9251 ac_cpp_err=
9254 cat conftest.$ac_ext >&5 9260 cat conftest.$ac_ext >&5
9255 ac_cv_header_locale_h=no 9261 ac_cv_header_locale_h=no
9256 fi 9262 fi
9257 rm -f conftest.err conftest.$ac_ext 9263 rm -f conftest.err conftest.$ac_ext
9258 fi 9264 fi
9259 echo "$as_me:9259: result: $ac_cv_header_locale_h" >&5 9265 echo "$as_me:9265: result: $ac_cv_header_locale_h" >&5
9260 echo "${ECHO_T}$ac_cv_header_locale_h" >&6 9266 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
9261 9267
9262 for ac_func in setlocale 9268 for ac_func in setlocale
9263 do 9269 do
9264 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9270 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9265 echo "$as_me:9265: checking for $ac_func" >&5 9271 echo "$as_me:9271: checking for $ac_func" >&5
9266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9272 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9267 if eval "test \"\${$as_ac_var+set}\" = set"; then 9273 if eval "test \"\${$as_ac_var+set}\" = set"; then
9268 echo $ECHO_N "(cached) $ECHO_C" >&6 9274 echo $ECHO_N "(cached) $ECHO_C" >&6
9269 else 9275 else
9270 cat >conftest.$ac_ext <<_ACEOF 9276 cat >conftest.$ac_ext <<_ACEOF
9271 #line 9271 "configure" 9277 #line 9277 "configure"
9272 #include "confdefs.h" 9278 #include "confdefs.h"
9273 /* System header to define __stub macros and hopefully few prototypes, 9279 /* System header to define __stub macros and hopefully few prototypes,
9274 which can conflict with char $ac_func (); below. */ 9280 which can conflict with char $ac_func (); below. */
9275 #include <assert.h> 9281 #include <assert.h>
9276 /* Override any gcc2 internal prototype to avoid an error. */ 9282 /* Override any gcc2 internal prototype to avoid an error. */
9297 ; 9303 ;
9298 return 0; 9304 return 0;
9299 } 9305 }
9300 _ACEOF 9306 _ACEOF
9301 rm -f conftest.$ac_objext conftest$ac_exeext 9307 rm -f conftest.$ac_objext conftest$ac_exeext
9302 if { (eval echo "$as_me:9302: \"$ac_link\"") >&5 9308 if { (eval echo "$as_me:9308: \"$ac_link\"") >&5
9303 (eval $ac_link) 2>&5 9309 (eval $ac_link) 2>&5
9304 ac_status=$? 9310 ac_status=$?
9305 echo "$as_me:9305: \$? = $ac_status" >&5 9311 echo "$as_me:9311: \$? = $ac_status" >&5
9306 (exit $ac_status); } && 9312 (exit $ac_status); } &&
9307 { ac_try='test -s conftest$ac_exeext' 9313 { ac_try='test -s conftest$ac_exeext'
9308 { (eval echo "$as_me:9308: \"$ac_try\"") >&5 9314 { (eval echo "$as_me:9314: \"$ac_try\"") >&5
9309 (eval $ac_try) 2>&5 9315 (eval $ac_try) 2>&5
9310 ac_status=$? 9316 ac_status=$?
9311 echo "$as_me:9311: \$? = $ac_status" >&5 9317 echo "$as_me:9317: \$? = $ac_status" >&5
9312 (exit $ac_status); }; }; then 9318 (exit $ac_status); }; }; then
9313 eval "$as_ac_var=yes" 9319 eval "$as_ac_var=yes"
9314 else 9320 else
9315 echo "$as_me: failed program was:" >&5 9321 echo "$as_me: failed program was:" >&5
9316 cat conftest.$ac_ext >&5 9322 cat conftest.$ac_ext >&5
9317 eval "$as_ac_var=no" 9323 eval "$as_ac_var=no"
9318 fi 9324 fi
9319 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9325 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9320 fi 9326 fi
9321 echo "$as_me:9321: result: `eval echo '${'$as_ac_var'}'`" >&5 9327 echo "$as_me:9327: result: `eval echo '${'$as_ac_var'}'`" >&5
9322 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 9328 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9323 if test `eval echo '${'$as_ac_var'}'` = yes; then 9329 if test `eval echo '${'$as_ac_var'}'` = yes; then
9324 cat >>confdefs.h <<EOF 9330 cat >>confdefs.h <<EOF
9325 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 9331 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9326 EOF 9332 EOF
9339 EOF 9345 EOF
9340 9346
9341 fi 9347 fi
9342 9348
9343 if test $ac_have_func = no; then 9349 if test $ac_have_func = no; then
9344 echo "$as_me:9344: checking for inq_stats/cpustats.h" >&5 9350 echo "$as_me:9350: checking for inq_stats/cpustats.h" >&5
9345 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6 9351 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
9346 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then 9352 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
9347 echo $ECHO_N "(cached) $ECHO_C" >&6 9353 echo $ECHO_N "(cached) $ECHO_C" >&6
9348 else 9354 else
9349 cat >conftest.$ac_ext <<_ACEOF 9355 cat >conftest.$ac_ext <<_ACEOF
9350 #line 9350 "configure" 9356 #line 9356 "configure"
9351 #include "confdefs.h" 9357 #include "confdefs.h"
9352 #include <inq_stats/cpustats.h> 9358 #include <inq_stats/cpustats.h>
9353 _ACEOF 9359 _ACEOF
9354 if { (eval echo "$as_me:9354: \"$ac_cpp conftest.$ac_ext\"") >&5 9360 if { (eval echo "$as_me:9360: \"$ac_cpp conftest.$ac_ext\"") >&5
9355 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9361 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9356 ac_status=$? 9362 ac_status=$?
9357 egrep -v '^ *\+' conftest.er1 >conftest.err 9363 egrep -v '^ *\+' conftest.er1 >conftest.err
9358 rm -f conftest.er1 9364 rm -f conftest.er1
9359 cat conftest.err >&5 9365 cat conftest.err >&5
9360 echo "$as_me:9360: \$? = $ac_status" >&5 9366 echo "$as_me:9366: \$? = $ac_status" >&5
9361 (exit $ac_status); } >/dev/null; then 9367 (exit $ac_status); } >/dev/null; then
9362 if test -s conftest.err; then 9368 if test -s conftest.err; then
9363 ac_cpp_err=$ac_c_preproc_warn_flag 9369 ac_cpp_err=$ac_c_preproc_warn_flag
9364 else 9370 else
9365 ac_cpp_err= 9371 ac_cpp_err=
9374 cat conftest.$ac_ext >&5 9380 cat conftest.$ac_ext >&5
9375 ac_cv_header_inq_stats_cpustats_h=no 9381 ac_cv_header_inq_stats_cpustats_h=no
9376 fi 9382 fi
9377 rm -f conftest.err conftest.$ac_ext 9383 rm -f conftest.err conftest.$ac_ext
9378 fi 9384 fi
9379 echo "$as_me:9379: result: $ac_cv_header_inq_stats_cpustats_h" >&5 9385 echo "$as_me:9385: result: $ac_cv_header_inq_stats_cpustats_h" >&5
9380 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6 9386 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
9381 if test $ac_cv_header_inq_stats_cpustats_h = yes; then 9387 if test $ac_cv_header_inq_stats_cpustats_h = yes; then
9382 ac_have_func=yes 9388 ac_have_func=yes
9383 9389
9384 cat >>confdefs.h <<\EOF 9390 cat >>confdefs.h <<\EOF
9392 fi 9398 fi
9393 9399
9394 fi 9400 fi
9395 9401
9396 if test $ac_have_func = no; then 9402 if test $ac_have_func = no; then
9397 echo "$as_me:9397: checking for sys/cpustats.h" >&5 9403 echo "$as_me:9403: checking for sys/cpustats.h" >&5
9398 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6 9404 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
9399 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then 9405 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
9400 echo $ECHO_N "(cached) $ECHO_C" >&6 9406 echo $ECHO_N "(cached) $ECHO_C" >&6
9401 else 9407 else
9402 cat >conftest.$ac_ext <<_ACEOF 9408 cat >conftest.$ac_ext <<_ACEOF
9403 #line 9403 "configure" 9409 #line 9409 "configure"
9404 #include "confdefs.h" 9410 #include "confdefs.h"
9405 #include <sys/cpustats.h> 9411 #include <sys/cpustats.h>
9406 _ACEOF 9412 _ACEOF
9407 if { (eval echo "$as_me:9407: \"$ac_cpp conftest.$ac_ext\"") >&5 9413 if { (eval echo "$as_me:9413: \"$ac_cpp conftest.$ac_ext\"") >&5
9408 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9414 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9409 ac_status=$? 9415 ac_status=$?
9410 egrep -v '^ *\+' conftest.er1 >conftest.err 9416 egrep -v '^ *\+' conftest.er1 >conftest.err
9411 rm -f conftest.er1 9417 rm -f conftest.er1
9412 cat conftest.err >&5 9418 cat conftest.err >&5
9413 echo "$as_me:9413: \$? = $ac_status" >&5 9419 echo "$as_me:9419: \$? = $ac_status" >&5
9414 (exit $ac_status); } >/dev/null; then 9420 (exit $ac_status); } >/dev/null; then
9415 if test -s conftest.err; then 9421 if test -s conftest.err; then
9416 ac_cpp_err=$ac_c_preproc_warn_flag 9422 ac_cpp_err=$ac_c_preproc_warn_flag
9417 else 9423 else
9418 ac_cpp_err= 9424 ac_cpp_err=
9427 cat conftest.$ac_ext >&5 9433 cat conftest.$ac_ext >&5
9428 ac_cv_header_sys_cpustats_h=no 9434 ac_cv_header_sys_cpustats_h=no
9429 fi 9435 fi
9430 rm -f conftest.err conftest.$ac_ext 9436 rm -f conftest.err conftest.$ac_ext
9431 fi 9437 fi
9432 echo "$as_me:9432: result: $ac_cv_header_sys_cpustats_h" >&5 9438 echo "$as_me:9438: result: $ac_cv_header_sys_cpustats_h" >&5
9433 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6 9439 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
9434 if test $ac_cv_header_sys_cpustats_h = yes; then 9440 if test $ac_cv_header_sys_cpustats_h = yes; then
9435 ac_have_func=yes; cat >>confdefs.h <<\EOF 9441 ac_have_func=yes; cat >>confdefs.h <<\EOF
9436 #define UMAX 1 9442 #define UMAX 1
9437 EOF 9443 EOF
9443 if test $ac_have_func = no; then 9449 if test $ac_have_func = no; then
9444 9450
9445 for ac_header in mach/mach.h 9451 for ac_header in mach/mach.h
9446 do 9452 do
9447 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 9453 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9448 echo "$as_me:9448: checking for $ac_header" >&5 9454 echo "$as_me:9454: checking for $ac_header" >&5
9449 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 9455 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9450 if eval "test \"\${$as_ac_Header+set}\" = set"; then 9456 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9451 echo $ECHO_N "(cached) $ECHO_C" >&6 9457 echo $ECHO_N "(cached) $ECHO_C" >&6
9452 else 9458 else
9453 cat >conftest.$ac_ext <<_ACEOF 9459 cat >conftest.$ac_ext <<_ACEOF
9454 #line 9454 "configure" 9460 #line 9460 "configure"
9455 #include "confdefs.h" 9461 #include "confdefs.h"
9456 #include <$ac_header> 9462 #include <$ac_header>
9457 _ACEOF 9463 _ACEOF
9458 if { (eval echo "$as_me:9458: \"$ac_cpp conftest.$ac_ext\"") >&5 9464 if { (eval echo "$as_me:9464: \"$ac_cpp conftest.$ac_ext\"") >&5
9459 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9465 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9460 ac_status=$? 9466 ac_status=$?
9461 egrep -v '^ *\+' conftest.er1 >conftest.err 9467 egrep -v '^ *\+' conftest.er1 >conftest.err
9462 rm -f conftest.er1 9468 rm -f conftest.er1
9463 cat conftest.err >&5 9469 cat conftest.err >&5
9464 echo "$as_me:9464: \$? = $ac_status" >&5 9470 echo "$as_me:9470: \$? = $ac_status" >&5
9465 (exit $ac_status); } >/dev/null; then 9471 (exit $ac_status); } >/dev/null; then
9466 if test -s conftest.err; then 9472 if test -s conftest.err; then
9467 ac_cpp_err=$ac_c_preproc_warn_flag 9473 ac_cpp_err=$ac_c_preproc_warn_flag
9468 else 9474 else
9469 ac_cpp_err= 9475 ac_cpp_err=
9478 cat conftest.$ac_ext >&5 9484 cat conftest.$ac_ext >&5
9479 eval "$as_ac_Header=no" 9485 eval "$as_ac_Header=no"
9480 fi 9486 fi
9481 rm -f conftest.err conftest.$ac_ext 9487 rm -f conftest.err conftest.$ac_ext
9482 fi 9488 fi
9483 echo "$as_me:9483: result: `eval echo '${'$as_ac_Header'}'`" >&5 9489 echo "$as_me:9489: result: `eval echo '${'$as_ac_Header'}'`" >&5
9484 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 9490 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9485 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9491 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9486 cat >>confdefs.h <<EOF 9492 cat >>confdefs.h <<EOF
9487 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 9493 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9488 EOF 9494 EOF
9493 fi 9499 fi
9494 9500
9495 for ac_header in nlist.h 9501 for ac_header in nlist.h
9496 do 9502 do
9497 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 9503 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9498 echo "$as_me:9498: checking for $ac_header" >&5 9504 echo "$as_me:9504: checking for $ac_header" >&5
9499 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 9505 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9500 if eval "test \"\${$as_ac_Header+set}\" = set"; then 9506 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9501 echo $ECHO_N "(cached) $ECHO_C" >&6 9507 echo $ECHO_N "(cached) $ECHO_C" >&6
9502 else 9508 else
9503 cat >conftest.$ac_ext <<_ACEOF 9509 cat >conftest.$ac_ext <<_ACEOF
9504 #line 9504 "configure" 9510 #line 9510 "configure"
9505 #include "confdefs.h" 9511 #include "confdefs.h"
9506 #include <$ac_header> 9512 #include <$ac_header>
9507 _ACEOF 9513 _ACEOF
9508 if { (eval echo "$as_me:9508: \"$ac_cpp conftest.$ac_ext\"") >&5 9514 if { (eval echo "$as_me:9514: \"$ac_cpp conftest.$ac_ext\"") >&5
9509 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9515 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9510 ac_status=$? 9516 ac_status=$?
9511 egrep -v '^ *\+' conftest.er1 >conftest.err 9517 egrep -v '^ *\+' conftest.er1 >conftest.err
9512 rm -f conftest.er1 9518 rm -f conftest.er1
9513 cat conftest.err >&5 9519 cat conftest.err >&5
9514 echo "$as_me:9514: \$? = $ac_status" >&5 9520 echo "$as_me:9520: \$? = $ac_status" >&5
9515 (exit $ac_status); } >/dev/null; then 9521 (exit $ac_status); } >/dev/null; then
9516 if test -s conftest.err; then 9522 if test -s conftest.err; then
9517 ac_cpp_err=$ac_c_preproc_warn_flag 9523 ac_cpp_err=$ac_c_preproc_warn_flag
9518 else 9524 else
9519 ac_cpp_err= 9525 ac_cpp_err=
9528 cat conftest.$ac_ext >&5 9534 cat conftest.$ac_ext >&5
9529 eval "$as_ac_Header=no" 9535 eval "$as_ac_Header=no"
9530 fi 9536 fi
9531 rm -f conftest.err conftest.$ac_ext 9537 rm -f conftest.err conftest.$ac_ext
9532 fi 9538 fi
9533 echo "$as_me:9533: result: `eval echo '${'$as_ac_Header'}'`" >&5 9539 echo "$as_me:9539: result: `eval echo '${'$as_ac_Header'}'`" >&5
9534 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 9540 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9535 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9541 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9536 cat >>confdefs.h <<EOF 9542 cat >>confdefs.h <<EOF
9537 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 9543 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9538 EOF 9544 EOF
9539 echo "$as_me:9539: checking for struct nlist.n_un.n_name" >&5 9545 echo "$as_me:9545: checking for struct nlist.n_un.n_name" >&5
9540 echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6 9546 echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6
9541 if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then 9547 if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then
9542 echo $ECHO_N "(cached) $ECHO_C" >&6 9548 echo $ECHO_N "(cached) $ECHO_C" >&6
9543 else 9549 else
9544 cat >conftest.$ac_ext <<_ACEOF 9550 cat >conftest.$ac_ext <<_ACEOF
9545 #line 9545 "configure" 9551 #line 9551 "configure"
9546 #include "confdefs.h" 9552 #include "confdefs.h"
9547 #include <nlist.h> 9553 #include <nlist.h>
9548 9554
9549 int 9555 int
9550 main () 9556 main ()
9555 ; 9561 ;
9556 return 0; 9562 return 0;
9557 } 9563 }
9558 _ACEOF 9564 _ACEOF
9559 rm -f conftest.$ac_objext 9565 rm -f conftest.$ac_objext
9560 if { (eval echo "$as_me:9560: \"$ac_compile\"") >&5 9566 if { (eval echo "$as_me:9566: \"$ac_compile\"") >&5
9561 (eval $ac_compile) 2>&5 9567 (eval $ac_compile) 2>&5
9562 ac_status=$? 9568 ac_status=$?
9563 echo "$as_me:9563: \$? = $ac_status" >&5 9569 echo "$as_me:9569: \$? = $ac_status" >&5
9564 (exit $ac_status); } && 9570 (exit $ac_status); } &&
9565 { ac_try='test -s conftest.$ac_objext' 9571 { ac_try='test -s conftest.$ac_objext'
9566 { (eval echo "$as_me:9566: \"$ac_try\"") >&5 9572 { (eval echo "$as_me:9572: \"$ac_try\"") >&5
9567 (eval $ac_try) 2>&5 9573 (eval $ac_try) 2>&5
9568 ac_status=$? 9574 ac_status=$?
9569 echo "$as_me:9569: \$? = $ac_status" >&5 9575 echo "$as_me:9575: \$? = $ac_status" >&5
9570 (exit $ac_status); }; }; then 9576 (exit $ac_status); }; }; then
9571 ac_cv_member_struct_nlist_n_un_n_name=yes 9577 ac_cv_member_struct_nlist_n_un_n_name=yes
9572 else 9578 else
9573 echo "$as_me: failed program was:" >&5 9579 echo "$as_me: failed program was:" >&5
9574 cat conftest.$ac_ext >&5 9580 cat conftest.$ac_ext >&5
9575 ac_cv_member_struct_nlist_n_un_n_name=no 9581 ac_cv_member_struct_nlist_n_un_n_name=no
9576 fi 9582 fi
9577 rm -f conftest.$ac_objext conftest.$ac_ext 9583 rm -f conftest.$ac_objext conftest.$ac_ext
9578 fi 9584 fi
9579 echo "$as_me:9579: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5 9585 echo "$as_me:9585: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5
9580 echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6 9586 echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6
9581 if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then 9587 if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then
9582 9588
9583 cat >>confdefs.h <<EOF 9589 cat >>confdefs.h <<EOF
9584 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1 9590 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1
9595 9601
9596 fi 9602 fi
9597 done 9603 done
9598 9604
9599 # Some definitions of getloadavg require that the program be installed setgid. 9605 # Some definitions of getloadavg require that the program be installed setgid.
9600 echo "$as_me:9600: checking whether getloadavg requires setgid" >&5 9606 echo "$as_me:9606: checking whether getloadavg requires setgid" >&5
9601 echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6 9607 echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6
9602 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then 9608 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then
9603 echo $ECHO_N "(cached) $ECHO_C" >&6 9609 echo $ECHO_N "(cached) $ECHO_C" >&6
9604 else 9610 else
9605 cat >conftest.$ac_ext <<_ACEOF 9611 cat >conftest.$ac_ext <<_ACEOF
9606 #line 9606 "configure" 9612 #line 9612 "configure"
9607 #include "confdefs.h" 9613 #include "confdefs.h"
9608 #include "$srcdir/getloadavg.c" 9614 #include "$srcdir/getloadavg.c"
9609 #ifdef LDAV_PRIVILEGED 9615 #ifdef LDAV_PRIVILEGED
9610 Yowza Am I SETGID yet 9616 Yowza Am I SETGID yet
9611 #endif 9617 #endif
9617 ac_cv_func_getloadavg_setgid=no 9623 ac_cv_func_getloadavg_setgid=no
9618 fi 9624 fi
9619 rm -f conftest* 9625 rm -f conftest*
9620 9626
9621 fi 9627 fi
9622 echo "$as_me:9622: result: $ac_cv_func_getloadavg_setgid" >&5 9628 echo "$as_me:9628: result: $ac_cv_func_getloadavg_setgid" >&5
9623 echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6 9629 echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6
9624 if test $ac_cv_func_getloadavg_setgid = yes; then 9630 if test $ac_cv_func_getloadavg_setgid = yes; then
9625 NEED_SETGID=true 9631 NEED_SETGID=true
9626 9632
9627 cat >>confdefs.h <<\EOF 9633 cat >>confdefs.h <<\EOF
9631 else 9637 else
9632 NEED_SETGID=false 9638 NEED_SETGID=false
9633 fi 9639 fi
9634 9640
9635 if test $ac_cv_func_getloadavg_setgid = yes; then 9641 if test $ac_cv_func_getloadavg_setgid = yes; then
9636 echo "$as_me:9636: checking group of /dev/kmem" >&5 9642 echo "$as_me:9642: checking group of /dev/kmem" >&5
9637 echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6 9643 echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6
9638 if test "${ac_cv_group_kmem+set}" = set; then 9644 if test "${ac_cv_group_kmem+set}" = set; then
9639 echo $ECHO_N "(cached) $ECHO_C" >&6 9645 echo $ECHO_N "(cached) $ECHO_C" >&6
9640 else 9646 else
9641 # On Solaris, /dev/kmem is a symlink. Get info on the real file. 9647 # On Solaris, /dev/kmem is a symlink. Get info on the real file.
9646 | sed -ne 's/[ ][ ]*/ /g; 9652 | sed -ne 's/[ ][ ]*/ /g;
9647 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/; 9653 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/;
9648 / /s/.* //;p;'` 9654 / /s/.* //;p;'`
9649 9655
9650 fi 9656 fi
9651 echo "$as_me:9651: result: $ac_cv_group_kmem" >&5 9657 echo "$as_me:9657: result: $ac_cv_group_kmem" >&5
9652 echo "${ECHO_T}$ac_cv_group_kmem" >&6 9658 echo "${ECHO_T}$ac_cv_group_kmem" >&6
9653 KMEM_GROUP=$ac_cv_group_kmem 9659 KMEM_GROUP=$ac_cv_group_kmem
9654 fi 9660 fi
9655 if test "x$ac_save_LIBS" = x; then 9661 if test "x$ac_save_LIBS" = x; then
9656 GETLOADAVG_LIBS=$LIBS 9662 GETLOADAVG_LIBS=$LIBS
9657 else 9663 else
9658 GETLOADAVG_LIBS=`echo "$LIBS" | sed "s!$ac_save_LIBS!!"` 9664 GETLOADAVG_LIBS=`echo "$LIBS" | sed "s!$ac_save_LIBS!!"`
9659 fi 9665 fi
9660 LIBS=$ac_save_LIBS 9666 LIBS=$ac_save_LIBS
9661 9667
9662 echo "$as_me:9662: checking for _LARGEFILE_SOURCE value needed for large files" >&5 9668 echo "$as_me:9668: checking for _LARGEFILE_SOURCE value needed for large files" >&5
9663 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6 9669 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
9664 if test "${ac_cv_sys_largefile_source+set}" = set; then 9670 if test "${ac_cv_sys_largefile_source+set}" = set; then
9665 echo $ECHO_N "(cached) $ECHO_C" >&6 9671 echo $ECHO_N "(cached) $ECHO_C" >&6
9666 else 9672 else
9667 while :; do 9673 while :; do
9668 ac_cv_sys_largefile_source=no 9674 ac_cv_sys_largefile_source=no
9669 cat >conftest.$ac_ext <<_ACEOF 9675 cat >conftest.$ac_ext <<_ACEOF
9670 #line 9670 "configure" 9676 #line 9676 "configure"
9671 #include "confdefs.h" 9677 #include "confdefs.h"
9672 #include <stdio.h> 9678 #include <stdio.h>
9673 int 9679 int
9674 main () 9680 main ()
9675 { 9681 {
9677 ; 9683 ;
9678 return 0; 9684 return 0;
9679 } 9685 }
9680 _ACEOF 9686 _ACEOF
9681 rm -f conftest.$ac_objext 9687 rm -f conftest.$ac_objext
9682 if { (eval echo "$as_me:9682: \"$ac_compile\"") >&5 9688 if { (eval echo "$as_me:9688: \"$ac_compile\"") >&5
9683 (eval $ac_compile) 2>&5 9689 (eval $ac_compile) 2>&5
9684 ac_status=$? 9690 ac_status=$?
9685 echo "$as_me:9685: \$? = $ac_status" >&5 9691 echo "$as_me:9691: \$? = $ac_status" >&5
9686 (exit $ac_status); } && 9692 (exit $ac_status); } &&
9687 { ac_try='test -s conftest.$ac_objext' 9693 { ac_try='test -s conftest.$ac_objext'
9688 { (eval echo "$as_me:9688: \"$ac_try\"") >&5 9694 { (eval echo "$as_me:9694: \"$ac_try\"") >&5
9689 (eval $ac_try) 2>&5 9695 (eval $ac_try) 2>&5
9690 ac_status=$? 9696 ac_status=$?
9691 echo "$as_me:9691: \$? = $ac_status" >&5 9697 echo "$as_me:9697: \$? = $ac_status" >&5
9692 (exit $ac_status); }; }; then 9698 (exit $ac_status); }; }; then
9693 break 9699 break
9694 else 9700 else
9695 echo "$as_me: failed program was:" >&5 9701 echo "$as_me: failed program was:" >&5
9696 cat conftest.$ac_ext >&5 9702 cat conftest.$ac_ext >&5
9697 fi 9703 fi
9698 rm -f conftest.$ac_objext conftest.$ac_ext 9704 rm -f conftest.$ac_objext conftest.$ac_ext
9699 cat >conftest.$ac_ext <<_ACEOF 9705 cat >conftest.$ac_ext <<_ACEOF
9700 #line 9700 "configure" 9706 #line 9706 "configure"
9701 #include "confdefs.h" 9707 #include "confdefs.h"
9702 #define _LARGEFILE_SOURCE 1 9708 #define _LARGEFILE_SOURCE 1
9703 #include <stdio.h> 9709 #include <stdio.h>
9704 int 9710 int
9705 main () 9711 main ()
9708 ; 9714 ;
9709 return 0; 9715 return 0;
9710 } 9716 }
9711 _ACEOF 9717 _ACEOF
9712 rm -f conftest.$ac_objext 9718 rm -f conftest.$ac_objext
9713 if { (eval echo "$as_me:9713: \"$ac_compile\"") >&5 9719 if { (eval echo "$as_me:9719: \"$ac_compile\"") >&5
9714 (eval $ac_compile) 2>&5 9720 (eval $ac_compile) 2>&5
9715 ac_status=$? 9721 ac_status=$?
9716 echo "$as_me:9716: \$? = $ac_status" >&5 9722 echo "$as_me:9722: \$? = $ac_status" >&5
9717 (exit $ac_status); } && 9723 (exit $ac_status); } &&
9718 { ac_try='test -s conftest.$ac_objext' 9724 { ac_try='test -s conftest.$ac_objext'
9719 { (eval echo "$as_me:9719: \"$ac_try\"") >&5 9725 { (eval echo "$as_me:9725: \"$ac_try\"") >&5
9720 (eval $ac_try) 2>&5 9726 (eval $ac_try) 2>&5
9721 ac_status=$? 9727 ac_status=$?
9722 echo "$as_me:9722: \$? = $ac_status" >&5 9728 echo "$as_me:9728: \$? = $ac_status" >&5
9723 (exit $ac_status); }; }; then 9729 (exit $ac_status); }; }; then
9724 ac_cv_sys_largefile_source=1; break 9730 ac_cv_sys_largefile_source=1; break
9725 else 9731 else
9726 echo "$as_me: failed program was:" >&5 9732 echo "$as_me: failed program was:" >&5
9727 cat conftest.$ac_ext >&5 9733 cat conftest.$ac_ext >&5
9728 fi 9734 fi
9729 rm -f conftest.$ac_objext conftest.$ac_ext 9735 rm -f conftest.$ac_objext conftest.$ac_ext
9730 break 9736 break
9731 done 9737 done
9732 fi 9738 fi
9733 echo "$as_me:9733: result: $ac_cv_sys_largefile_source" >&5 9739 echo "$as_me:9739: result: $ac_cv_sys_largefile_source" >&5
9734 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6 9740 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
9735 if test "$ac_cv_sys_largefile_source" != no; then 9741 if test "$ac_cv_sys_largefile_source" != no; then
9736 9742
9737 cat >>confdefs.h <<EOF 9743 cat >>confdefs.h <<EOF
9738 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source 9744 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
9742 rm -f conftest* 9748 rm -f conftest*
9743 9749
9744 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug 9750 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
9745 # in glibc 2.1.3, but that breaks too many other things. 9751 # in glibc 2.1.3, but that breaks too many other things.
9746 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. 9752 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
9747 echo "$as_me:9747: checking for fseeko" >&5 9753 echo "$as_me:9753: checking for fseeko" >&5
9748 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6 9754 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
9749 if test "${ac_cv_func_fseeko+set}" = set; then 9755 if test "${ac_cv_func_fseeko+set}" = set; then
9750 echo $ECHO_N "(cached) $ECHO_C" >&6 9756 echo $ECHO_N "(cached) $ECHO_C" >&6
9751 else 9757 else
9752 cat >conftest.$ac_ext <<_ACEOF 9758 cat >conftest.$ac_ext <<_ACEOF
9753 #line 9753 "configure" 9759 #line 9759 "configure"
9754 #include "confdefs.h" 9760 #include "confdefs.h"
9755 #include <stdio.h> 9761 #include <stdio.h>
9756 int 9762 int
9757 main () 9763 main ()
9758 { 9764 {
9760 ; 9766 ;
9761 return 0; 9767 return 0;
9762 } 9768 }
9763 _ACEOF 9769 _ACEOF
9764 rm -f conftest.$ac_objext conftest$ac_exeext 9770 rm -f conftest.$ac_objext conftest$ac_exeext
9765 if { (eval echo "$as_me:9765: \"$ac_link\"") >&5 9771 if { (eval echo "$as_me:9771: \"$ac_link\"") >&5
9766 (eval $ac_link) 2>&5 9772 (eval $ac_link) 2>&5
9767 ac_status=$? 9773 ac_status=$?
9768 echo "$as_me:9768: \$? = $ac_status" >&5 9774 echo "$as_me:9774: \$? = $ac_status" >&5
9769 (exit $ac_status); } && 9775 (exit $ac_status); } &&
9770 { ac_try='test -s conftest$ac_exeext' 9776 { ac_try='test -s conftest$ac_exeext'
9771 { (eval echo "$as_me:9771: \"$ac_try\"") >&5 9777 { (eval echo "$as_me:9777: \"$ac_try\"") >&5
9772 (eval $ac_try) 2>&5 9778 (eval $ac_try) 2>&5
9773 ac_status=$? 9779 ac_status=$?
9774 echo "$as_me:9774: \$? = $ac_status" >&5 9780 echo "$as_me:9780: \$? = $ac_status" >&5
9775 (exit $ac_status); }; }; then 9781 (exit $ac_status); }; }; then
9776 ac_cv_func_fseeko=yes 9782 ac_cv_func_fseeko=yes
9777 else 9783 else
9778 echo "$as_me: failed program was:" >&5 9784 echo "$as_me: failed program was:" >&5
9779 cat conftest.$ac_ext >&5 9785 cat conftest.$ac_ext >&5
9780 ac_cv_func_fseeko=no 9786 ac_cv_func_fseeko=no
9781 fi 9787 fi
9782 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9788 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9783 fi 9789 fi
9784 echo "$as_me:9784: result: $ac_cv_func_fseeko" >&5 9790 echo "$as_me:9790: result: $ac_cv_func_fseeko" >&5
9785 echo "${ECHO_T}$ac_cv_func_fseeko" >&6 9791 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
9786 if test $ac_cv_func_fseeko = yes; then 9792 if test $ac_cv_func_fseeko = yes; then
9787 9793
9788 cat >>confdefs.h <<\EOF 9794 cat >>confdefs.h <<\EOF
9789 #define HAVE_FSEEKO 1 9795 #define HAVE_FSEEKO 1
9794 # UNIX98 PTYs. 9800 # UNIX98 PTYs.
9795 9801
9796 for ac_func in grantpt 9802 for ac_func in grantpt
9797 do 9803 do
9798 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9804 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9799 echo "$as_me:9799: checking for $ac_func" >&5 9805 echo "$as_me:9805: checking for $ac_func" >&5
9800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9806 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9801 if eval "test \"\${$as_ac_var+set}\" = set"; then 9807 if eval "test \"\${$as_ac_var+set}\" = set"; then
9802 echo $ECHO_N "(cached) $ECHO_C" >&6 9808 echo $ECHO_N "(cached) $ECHO_C" >&6
9803 else 9809 else
9804 cat >conftest.$ac_ext <<_ACEOF 9810 cat >conftest.$ac_ext <<_ACEOF
9805 #line 9805 "configure" 9811 #line 9811 "configure"
9806 #include "confdefs.h" 9812 #include "confdefs.h"
9807 /* System header to define __stub macros and hopefully few prototypes, 9813 /* System header to define __stub macros and hopefully few prototypes,
9808 which can conflict with char $ac_func (); below. */ 9814 which can conflict with char $ac_func (); below. */
9809 #include <assert.h> 9815 #include <assert.h>
9810 /* Override any gcc2 internal prototype to avoid an error. */ 9816 /* Override any gcc2 internal prototype to avoid an error. */
9831 ; 9837 ;
9832 return 0; 9838 return 0;
9833 } 9839 }
9834 _ACEOF 9840 _ACEOF
9835 rm -f conftest.$ac_objext conftest$ac_exeext 9841 rm -f conftest.$ac_objext conftest$ac_exeext
9836 if { (eval echo "$as_me:9836: \"$ac_link\"") >&5 9842 if { (eval echo "$as_me:9842: \"$ac_link\"") >&5
9837 (eval $ac_link) 2>&5 9843 (eval $ac_link) 2>&5
9838 ac_status=$? 9844 ac_status=$?
9839 echo "$as_me:9839: \$? = $ac_status" >&5 9845 echo "$as_me:9845: \$? = $ac_status" >&5
9840 (exit $ac_status); } && 9846 (exit $ac_status); } &&
9841 { ac_try='test -s conftest$ac_exeext' 9847 { ac_try='test -s conftest$ac_exeext'
9842 { (eval echo "$as_me:9842: \"$ac_try\"") >&5 9848 { (eval echo "$as_me:9848: \"$ac_try\"") >&5
9843 (eval $ac_try) 2>&5 9849 (eval $ac_try) 2>&5
9844 ac_status=$? 9850 ac_status=$?
9845 echo "$as_me:9845: \$? = $ac_status" >&5 9851 echo "$as_me:9851: \$? = $ac_status" >&5
9846 (exit $ac_status); }; }; then 9852 (exit $ac_status); }; }; then
9847 eval "$as_ac_var=yes" 9853 eval "$as_ac_var=yes"
9848 else 9854 else
9849 echo "$as_me: failed program was:" >&5 9855 echo "$as_me: failed program was:" >&5
9850 cat conftest.$ac_ext >&5 9856 cat conftest.$ac_ext >&5
9851 eval "$as_ac_var=no" 9857 eval "$as_ac_var=no"
9852 fi 9858 fi
9853 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9859 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9854 fi 9860 fi
9855 echo "$as_me:9855: result: `eval echo '${'$as_ac_var'}'`" >&5 9861 echo "$as_me:9861: result: `eval echo '${'$as_ac_var'}'`" >&5
9856 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 9862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9857 if test `eval echo '${'$as_ac_var'}'` = yes; then 9863 if test `eval echo '${'$as_ac_var'}'` = yes; then
9858 cat >>confdefs.h <<EOF 9864 cat >>confdefs.h <<EOF
9859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 9865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9860 EOF 9866 EOF
9865 # PTY-related GNU extensions. 9871 # PTY-related GNU extensions.
9866 9872
9867 for ac_func in getpt 9873 for ac_func in getpt
9868 do 9874 do
9869 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9875 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9870 echo "$as_me:9870: checking for $ac_func" >&5 9876 echo "$as_me:9876: checking for $ac_func" >&5
9871 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9877 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9872 if eval "test \"\${$as_ac_var+set}\" = set"; then 9878 if eval "test \"\${$as_ac_var+set}\" = set"; then
9873 echo $ECHO_N "(cached) $ECHO_C" >&6 9879 echo $ECHO_N "(cached) $ECHO_C" >&6
9874 else 9880 else
9875 cat >conftest.$ac_ext <<_ACEOF 9881 cat >conftest.$ac_ext <<_ACEOF
9876 #line 9876 "configure" 9882 #line 9882 "configure"
9877 #include "confdefs.h" 9883 #include "confdefs.h"
9878 /* System header to define __stub macros and hopefully few prototypes, 9884 /* System header to define __stub macros and hopefully few prototypes,
9879 which can conflict with char $ac_func (); below. */ 9885 which can conflict with char $ac_func (); below. */
9880 #include <assert.h> 9886 #include <assert.h>
9881 /* Override any gcc2 internal prototype to avoid an error. */ 9887 /* Override any gcc2 internal prototype to avoid an error. */
9902 ; 9908 ;
9903 return 0; 9909 return 0;
9904 } 9910 }
9905 _ACEOF 9911 _ACEOF
9906 rm -f conftest.$ac_objext conftest$ac_exeext 9912 rm -f conftest.$ac_objext conftest$ac_exeext
9907 if { (eval echo "$as_me:9907: \"$ac_link\"") >&5 9913 if { (eval echo "$as_me:9913: \"$ac_link\"") >&5
9908 (eval $ac_link) 2>&5 9914 (eval $ac_link) 2>&5
9909 ac_status=$? 9915 ac_status=$?
9910 echo "$as_me:9910: \$? = $ac_status" >&5 9916 echo "$as_me:9916: \$? = $ac_status" >&5
9911 (exit $ac_status); } && 9917 (exit $ac_status); } &&
9912 { ac_try='test -s conftest$ac_exeext' 9918 { ac_try='test -s conftest$ac_exeext'
9913 { (eval echo "$as_me:9913: \"$ac_try\"") >&5 9919 { (eval echo "$as_me:9919: \"$ac_try\"") >&5
9914 (eval $ac_try) 2>&5 9920 (eval $ac_try) 2>&5
9915 ac_status=$? 9921 ac_status=$?
9916 echo "$as_me:9916: \$? = $ac_status" >&5 9922 echo "$as_me:9922: \$? = $ac_status" >&5
9917 (exit $ac_status); }; }; then 9923 (exit $ac_status); }; }; then
9918 eval "$as_ac_var=yes" 9924 eval "$as_ac_var=yes"
9919 else 9925 else
9920 echo "$as_me: failed program was:" >&5 9926 echo "$as_me: failed program was:" >&5
9921 cat conftest.$ac_ext >&5 9927 cat conftest.$ac_ext >&5
9922 eval "$as_ac_var=no" 9928 eval "$as_ac_var=no"
9923 fi 9929 fi
9924 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9930 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9925 fi 9931 fi
9926 echo "$as_me:9926: result: `eval echo '${'$as_ac_var'}'`" >&5 9932 echo "$as_me:9932: result: `eval echo '${'$as_ac_var'}'`" >&5
9927 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 9933 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9928 if test `eval echo '${'$as_ac_var'}'` = yes; then 9934 if test `eval echo '${'$as_ac_var'}'` = yes; then
9929 cat >>confdefs.h <<EOF 9935 cat >>confdefs.h <<EOF
9930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 9936 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9931 EOF 9937 EOF
9936 # Check this now, so that we will NOT find the above functions in ncurses. 9942 # Check this now, so that we will NOT find the above functions in ncurses.
9937 # That is because we have not set up to link ncurses in lib-src. 9943 # That is because we have not set up to link ncurses in lib-src.
9938 # It's better to believe a function is not available 9944 # It's better to believe a function is not available
9939 # than to expect to find it in ncurses. 9945 # than to expect to find it in ncurses.
9940 9946
9941 echo "$as_me:9941: checking for tparm in -lncurses" >&5 9947 echo "$as_me:9947: checking for tparm in -lncurses" >&5
9942 echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6 9948 echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6
9943 if test "${ac_cv_lib_ncurses_tparm+set}" = set; then 9949 if test "${ac_cv_lib_ncurses_tparm+set}" = set; then
9944 echo $ECHO_N "(cached) $ECHO_C" >&6 9950 echo $ECHO_N "(cached) $ECHO_C" >&6
9945 else 9951 else
9946 ac_check_lib_save_LIBS=$LIBS 9952 ac_check_lib_save_LIBS=$LIBS
9947 LIBS="-lncurses $LIBS" 9953 LIBS="-lncurses $LIBS"
9948 cat >conftest.$ac_ext <<_ACEOF 9954 cat >conftest.$ac_ext <<_ACEOF
9949 #line 9949 "configure" 9955 #line 9955 "configure"
9950 #include "confdefs.h" 9956 #include "confdefs.h"
9951 9957
9952 /* Override any gcc2 internal prototype to avoid an error. */ 9958 /* Override any gcc2 internal prototype to avoid an error. */
9953 #ifdef __cplusplus 9959 #ifdef __cplusplus
9954 extern "C" 9960 extern "C"
9963 ; 9969 ;
9964 return 0; 9970 return 0;
9965 } 9971 }
9966 _ACEOF 9972 _ACEOF
9967 rm -f conftest.$ac_objext conftest$ac_exeext 9973 rm -f conftest.$ac_objext conftest$ac_exeext
9968 if { (eval echo "$as_me:9968: \"$ac_link\"") >&5 9974 if { (eval echo "$as_me:9974: \"$ac_link\"") >&5
9969 (eval $ac_link) 2>&5 9975 (eval $ac_link) 2>&5
9970 ac_status=$? 9976 ac_status=$?
9971 echo "$as_me:9971: \$? = $ac_status" >&5 9977 echo "$as_me:9977: \$? = $ac_status" >&5
9972 (exit $ac_status); } && 9978 (exit $ac_status); } &&
9973 { ac_try='test -s conftest$ac_exeext' 9979 { ac_try='test -s conftest$ac_exeext'
9974 { (eval echo "$as_me:9974: \"$ac_try\"") >&5 9980 { (eval echo "$as_me:9980: \"$ac_try\"") >&5
9975 (eval $ac_try) 2>&5 9981 (eval $ac_try) 2>&5
9976 ac_status=$? 9982 ac_status=$?
9977 echo "$as_me:9977: \$? = $ac_status" >&5 9983 echo "$as_me:9983: \$? = $ac_status" >&5
9978 (exit $ac_status); }; }; then 9984 (exit $ac_status); }; }; then
9979 ac_cv_lib_ncurses_tparm=yes 9985 ac_cv_lib_ncurses_tparm=yes
9980 else 9986 else
9981 echo "$as_me: failed program was:" >&5 9987 echo "$as_me: failed program was:" >&5
9982 cat conftest.$ac_ext >&5 9988 cat conftest.$ac_ext >&5
9983 ac_cv_lib_ncurses_tparm=no 9989 ac_cv_lib_ncurses_tparm=no
9984 fi 9990 fi
9985 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9991 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9986 LIBS=$ac_check_lib_save_LIBS 9992 LIBS=$ac_check_lib_save_LIBS
9987 fi 9993 fi
9988 echo "$as_me:9988: result: $ac_cv_lib_ncurses_tparm" >&5 9994 echo "$as_me:9994: result: $ac_cv_lib_ncurses_tparm" >&5
9989 echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6 9995 echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6
9990 if test $ac_cv_lib_ncurses_tparm = yes; then 9996 if test $ac_cv_lib_ncurses_tparm = yes; then
9991 cat >>confdefs.h <<EOF 9997 cat >>confdefs.h <<EOF
9992 #define HAVE_LIBNCURSES 1 9998 #define HAVE_LIBNCURSES 1
9993 EOF 9999 EOF
9998 10004
9999 # Do we need the Hesiod library to provide the support routines? 10005 # Do we need the Hesiod library to provide the support routines?
10000 if test "$with_hesiod" = yes ; then 10006 if test "$with_hesiod" = yes ; then
10001 # Don't set $LIBS here -- see comments above. 10007 # Don't set $LIBS here -- see comments above.
10002 resolv=no 10008 resolv=no
10003 echo "$as_me:10003: checking for res_send" >&5 10009 echo "$as_me:10009: checking for res_send" >&5
10004 echo $ECHO_N "checking for res_send... $ECHO_C" >&6 10010 echo $ECHO_N "checking for res_send... $ECHO_C" >&6
10005 if test "${ac_cv_func_res_send+set}" = set; then 10011 if test "${ac_cv_func_res_send+set}" = set; then
10006 echo $ECHO_N "(cached) $ECHO_C" >&6 10012 echo $ECHO_N "(cached) $ECHO_C" >&6
10007 else 10013 else
10008 cat >conftest.$ac_ext <<_ACEOF 10014 cat >conftest.$ac_ext <<_ACEOF
10009 #line 10009 "configure" 10015 #line 10015 "configure"
10010 #include "confdefs.h" 10016 #include "confdefs.h"
10011 /* System header to define __stub macros and hopefully few prototypes, 10017 /* System header to define __stub macros and hopefully few prototypes,
10012 which can conflict with char res_send (); below. */ 10018 which can conflict with char res_send (); below. */
10013 #include <assert.h> 10019 #include <assert.h>
10014 /* Override any gcc2 internal prototype to avoid an error. */ 10020 /* Override any gcc2 internal prototype to avoid an error. */
10035 ; 10041 ;
10036 return 0; 10042 return 0;
10037 } 10043 }
10038 _ACEOF 10044 _ACEOF
10039 rm -f conftest.$ac_objext conftest$ac_exeext 10045 rm -f conftest.$ac_objext conftest$ac_exeext
10040 if { (eval echo "$as_me:10040: \"$ac_link\"") >&5 10046 if { (eval echo "$as_me:10046: \"$ac_link\"") >&5
10041 (eval $ac_link) 2>&5 10047 (eval $ac_link) 2>&5
10042 ac_status=$? 10048 ac_status=$?
10043 echo "$as_me:10043: \$? = $ac_status" >&5 10049 echo "$as_me:10049: \$? = $ac_status" >&5
10044 (exit $ac_status); } && 10050 (exit $ac_status); } &&
10045 { ac_try='test -s conftest$ac_exeext' 10051 { ac_try='test -s conftest$ac_exeext'
10046 { (eval echo "$as_me:10046: \"$ac_try\"") >&5 10052 { (eval echo "$as_me:10052: \"$ac_try\"") >&5
10047 (eval $ac_try) 2>&5 10053 (eval $ac_try) 2>&5
10048 ac_status=$? 10054 ac_status=$?
10049 echo "$as_me:10049: \$? = $ac_status" >&5 10055 echo "$as_me:10055: \$? = $ac_status" >&5
10050 (exit $ac_status); }; }; then 10056 (exit $ac_status); }; }; then
10051 ac_cv_func_res_send=yes 10057 ac_cv_func_res_send=yes
10052 else 10058 else
10053 echo "$as_me: failed program was:" >&5 10059 echo "$as_me: failed program was:" >&5
10054 cat conftest.$ac_ext >&5 10060 cat conftest.$ac_ext >&5
10055 ac_cv_func_res_send=no 10061 ac_cv_func_res_send=no
10056 fi 10062 fi
10057 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10063 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10058 fi 10064 fi
10059 echo "$as_me:10059: result: $ac_cv_func_res_send" >&5 10065 echo "$as_me:10065: result: $ac_cv_func_res_send" >&5
10060 echo "${ECHO_T}$ac_cv_func_res_send" >&6 10066 echo "${ECHO_T}$ac_cv_func_res_send" >&6
10061 if test $ac_cv_func_res_send = yes; then 10067 if test $ac_cv_func_res_send = yes; then
10062 : 10068 :
10063 else 10069 else
10064 echo "$as_me:10064: checking for __res_send" >&5 10070 echo "$as_me:10070: checking for __res_send" >&5
10065 echo $ECHO_N "checking for __res_send... $ECHO_C" >&6 10071 echo $ECHO_N "checking for __res_send... $ECHO_C" >&6
10066 if test "${ac_cv_func___res_send+set}" = set; then 10072 if test "${ac_cv_func___res_send+set}" = set; then
10067 echo $ECHO_N "(cached) $ECHO_C" >&6 10073 echo $ECHO_N "(cached) $ECHO_C" >&6
10068 else 10074 else
10069 cat >conftest.$ac_ext <<_ACEOF 10075 cat >conftest.$ac_ext <<_ACEOF
10070 #line 10070 "configure" 10076 #line 10076 "configure"
10071 #include "confdefs.h" 10077 #include "confdefs.h"
10072 /* System header to define __stub macros and hopefully few prototypes, 10078 /* System header to define __stub macros and hopefully few prototypes,
10073 which can conflict with char __res_send (); below. */ 10079 which can conflict with char __res_send (); below. */
10074 #include <assert.h> 10080 #include <assert.h>
10075 /* Override any gcc2 internal prototype to avoid an error. */ 10081 /* Override any gcc2 internal prototype to avoid an error. */
10096 ; 10102 ;
10097 return 0; 10103 return 0;
10098 } 10104 }
10099 _ACEOF 10105 _ACEOF
10100 rm -f conftest.$ac_objext conftest$ac_exeext 10106 rm -f conftest.$ac_objext conftest$ac_exeext
10101 if { (eval echo "$as_me:10101: \"$ac_link\"") >&5 10107 if { (eval echo "$as_me:10107: \"$ac_link\"") >&5
10102 (eval $ac_link) 2>&5 10108 (eval $ac_link) 2>&5
10103 ac_status=$? 10109 ac_status=$?
10104 echo "$as_me:10104: \$? = $ac_status" >&5 10110 echo "$as_me:10110: \$? = $ac_status" >&5
10105 (exit $ac_status); } && 10111 (exit $ac_status); } &&
10106 { ac_try='test -s conftest$ac_exeext' 10112 { ac_try='test -s conftest$ac_exeext'
10107 { (eval echo "$as_me:10107: \"$ac_try\"") >&5 10113 { (eval echo "$as_me:10113: \"$ac_try\"") >&5
10108 (eval $ac_try) 2>&5 10114 (eval $ac_try) 2>&5
10109 ac_status=$? 10115 ac_status=$?
10110 echo "$as_me:10110: \$? = $ac_status" >&5 10116 echo "$as_me:10116: \$? = $ac_status" >&5
10111 (exit $ac_status); }; }; then 10117 (exit $ac_status); }; }; then
10112 ac_cv_func___res_send=yes 10118 ac_cv_func___res_send=yes
10113 else 10119 else
10114 echo "$as_me: failed program was:" >&5 10120 echo "$as_me: failed program was:" >&5
10115 cat conftest.$ac_ext >&5 10121 cat conftest.$ac_ext >&5
10116 ac_cv_func___res_send=no 10122 ac_cv_func___res_send=no
10117 fi 10123 fi
10118 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10124 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10119 fi 10125 fi
10120 echo "$as_me:10120: result: $ac_cv_func___res_send" >&5 10126 echo "$as_me:10126: result: $ac_cv_func___res_send" >&5
10121 echo "${ECHO_T}$ac_cv_func___res_send" >&6 10127 echo "${ECHO_T}$ac_cv_func___res_send" >&6
10122 if test $ac_cv_func___res_send = yes; then 10128 if test $ac_cv_func___res_send = yes; then
10123 : 10129 :
10124 else 10130 else
10125 echo "$as_me:10125: checking for res_send in -lresolv" >&5 10131 echo "$as_me:10131: checking for res_send in -lresolv" >&5
10126 echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6 10132 echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6
10127 if test "${ac_cv_lib_resolv_res_send+set}" = set; then 10133 if test "${ac_cv_lib_resolv_res_send+set}" = set; then
10128 echo $ECHO_N "(cached) $ECHO_C" >&6 10134 echo $ECHO_N "(cached) $ECHO_C" >&6
10129 else 10135 else
10130 ac_check_lib_save_LIBS=$LIBS 10136 ac_check_lib_save_LIBS=$LIBS
10131 LIBS="-lresolv $LIBS" 10137 LIBS="-lresolv $LIBS"
10132 cat >conftest.$ac_ext <<_ACEOF 10138 cat >conftest.$ac_ext <<_ACEOF
10133 #line 10133 "configure" 10139 #line 10139 "configure"
10134 #include "confdefs.h" 10140 #include "confdefs.h"
10135 10141
10136 /* Override any gcc2 internal prototype to avoid an error. */ 10142 /* Override any gcc2 internal prototype to avoid an error. */
10137 #ifdef __cplusplus 10143 #ifdef __cplusplus
10138 extern "C" 10144 extern "C"
10147 ; 10153 ;
10148 return 0; 10154 return 0;
10149 } 10155 }
10150 _ACEOF 10156 _ACEOF
10151 rm -f conftest.$ac_objext conftest$ac_exeext 10157 rm -f conftest.$ac_objext conftest$ac_exeext
10152 if { (eval echo "$as_me:10152: \"$ac_link\"") >&5 10158 if { (eval echo "$as_me:10158: \"$ac_link\"") >&5
10153 (eval $ac_link) 2>&5 10159 (eval $ac_link) 2>&5
10154 ac_status=$? 10160 ac_status=$?
10155 echo "$as_me:10155: \$? = $ac_status" >&5 10161 echo "$as_me:10161: \$? = $ac_status" >&5
10156 (exit $ac_status); } && 10162 (exit $ac_status); } &&
10157 { ac_try='test -s conftest$ac_exeext' 10163 { ac_try='test -s conftest$ac_exeext'
10158 { (eval echo "$as_me:10158: \"$ac_try\"") >&5 10164 { (eval echo "$as_me:10164: \"$ac_try\"") >&5
10159 (eval $ac_try) 2>&5 10165 (eval $ac_try) 2>&5
10160 ac_status=$? 10166 ac_status=$?
10161 echo "$as_me:10161: \$? = $ac_status" >&5 10167 echo "$as_me:10167: \$? = $ac_status" >&5
10162 (exit $ac_status); }; }; then 10168 (exit $ac_status); }; }; then
10163 ac_cv_lib_resolv_res_send=yes 10169 ac_cv_lib_resolv_res_send=yes
10164 else 10170 else
10165 echo "$as_me: failed program was:" >&5 10171 echo "$as_me: failed program was:" >&5
10166 cat conftest.$ac_ext >&5 10172 cat conftest.$ac_ext >&5
10167 ac_cv_lib_resolv_res_send=no 10173 ac_cv_lib_resolv_res_send=no
10168 fi 10174 fi
10169 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10175 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10170 LIBS=$ac_check_lib_save_LIBS 10176 LIBS=$ac_check_lib_save_LIBS
10171 fi 10177 fi
10172 echo "$as_me:10172: result: $ac_cv_lib_resolv_res_send" >&5 10178 echo "$as_me:10178: result: $ac_cv_lib_resolv_res_send" >&5
10173 echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6 10179 echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6
10174 if test $ac_cv_lib_resolv_res_send = yes; then 10180 if test $ac_cv_lib_resolv_res_send = yes; then
10175 resolv=yes 10181 resolv=yes
10176 else 10182 else
10177 echo "$as_me:10177: checking for __res_send in -lresolv" >&5 10183 echo "$as_me:10183: checking for __res_send in -lresolv" >&5
10178 echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6 10184 echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6
10179 if test "${ac_cv_lib_resolv___res_send+set}" = set; then 10185 if test "${ac_cv_lib_resolv___res_send+set}" = set; then
10180 echo $ECHO_N "(cached) $ECHO_C" >&6 10186 echo $ECHO_N "(cached) $ECHO_C" >&6
10181 else 10187 else
10182 ac_check_lib_save_LIBS=$LIBS 10188 ac_check_lib_save_LIBS=$LIBS
10183 LIBS="-lresolv $LIBS" 10189 LIBS="-lresolv $LIBS"
10184 cat >conftest.$ac_ext <<_ACEOF 10190 cat >conftest.$ac_ext <<_ACEOF
10185 #line 10185 "configure" 10191 #line 10191 "configure"
10186 #include "confdefs.h" 10192 #include "confdefs.h"
10187 10193
10188 /* Override any gcc2 internal prototype to avoid an error. */ 10194 /* Override any gcc2 internal prototype to avoid an error. */
10189 #ifdef __cplusplus 10195 #ifdef __cplusplus
10190 extern "C" 10196 extern "C"
10199 ; 10205 ;
10200 return 0; 10206 return 0;
10201 } 10207 }
10202 _ACEOF 10208 _ACEOF
10203 rm -f conftest.$ac_objext conftest$ac_exeext 10209 rm -f conftest.$ac_objext conftest$ac_exeext
10204 if { (eval echo "$as_me:10204: \"$ac_link\"") >&5 10210 if { (eval echo "$as_me:10210: \"$ac_link\"") >&5
10205 (eval $ac_link) 2>&5 10211 (eval $ac_link) 2>&5
10206 ac_status=$? 10212 ac_status=$?
10207 echo "$as_me:10207: \$? = $ac_status" >&5 10213 echo "$as_me:10213: \$? = $ac_status" >&5
10208 (exit $ac_status); } && 10214 (exit $ac_status); } &&
10209 { ac_try='test -s conftest$ac_exeext' 10215 { ac_try='test -s conftest$ac_exeext'
10210 { (eval echo "$as_me:10210: \"$ac_try\"") >&5 10216 { (eval echo "$as_me:10216: \"$ac_try\"") >&5
10211 (eval $ac_try) 2>&5 10217 (eval $ac_try) 2>&5
10212 ac_status=$? 10218 ac_status=$?
10213 echo "$as_me:10213: \$? = $ac_status" >&5 10219 echo "$as_me:10219: \$? = $ac_status" >&5
10214 (exit $ac_status); }; }; then 10220 (exit $ac_status); }; }; then
10215 ac_cv_lib_resolv___res_send=yes 10221 ac_cv_lib_resolv___res_send=yes
10216 else 10222 else
10217 echo "$as_me: failed program was:" >&5 10223 echo "$as_me: failed program was:" >&5
10218 cat conftest.$ac_ext >&5 10224 cat conftest.$ac_ext >&5
10219 ac_cv_lib_resolv___res_send=no 10225 ac_cv_lib_resolv___res_send=no
10220 fi 10226 fi
10221 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10227 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10222 LIBS=$ac_check_lib_save_LIBS 10228 LIBS=$ac_check_lib_save_LIBS
10223 fi 10229 fi
10224 echo "$as_me:10224: result: $ac_cv_lib_resolv___res_send" >&5 10230 echo "$as_me:10230: result: $ac_cv_lib_resolv___res_send" >&5
10225 echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6 10231 echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6
10226 if test $ac_cv_lib_resolv___res_send = yes; then 10232 if test $ac_cv_lib_resolv___res_send = yes; then
10227 resolv=yes 10233 resolv=yes
10228 fi 10234 fi
10229 10235
10240 EOF 10246 EOF
10241 10247
10242 else 10248 else
10243 RESOLVLIB= 10249 RESOLVLIB=
10244 fi 10250 fi
10245 echo "$as_me:10245: checking for hes_getmailhost" >&5 10251 echo "$as_me:10251: checking for hes_getmailhost" >&5
10246 echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6 10252 echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6
10247 if test "${ac_cv_func_hes_getmailhost+set}" = set; then 10253 if test "${ac_cv_func_hes_getmailhost+set}" = set; then
10248 echo $ECHO_N "(cached) $ECHO_C" >&6 10254 echo $ECHO_N "(cached) $ECHO_C" >&6
10249 else 10255 else
10250 cat >conftest.$ac_ext <<_ACEOF 10256 cat >conftest.$ac_ext <<_ACEOF
10251 #line 10251 "configure" 10257 #line 10257 "configure"
10252 #include "confdefs.h" 10258 #include "confdefs.h"
10253 /* System header to define __stub macros and hopefully few prototypes, 10259 /* System header to define __stub macros and hopefully few prototypes,
10254 which can conflict with char hes_getmailhost (); below. */ 10260 which can conflict with char hes_getmailhost (); below. */
10255 #include <assert.h> 10261 #include <assert.h>
10256 /* Override any gcc2 internal prototype to avoid an error. */ 10262 /* Override any gcc2 internal prototype to avoid an error. */
10277 ; 10283 ;
10278 return 0; 10284 return 0;
10279 } 10285 }
10280 _ACEOF 10286 _ACEOF
10281 rm -f conftest.$ac_objext conftest$ac_exeext 10287 rm -f conftest.$ac_objext conftest$ac_exeext
10282 if { (eval echo "$as_me:10282: \"$ac_link\"") >&5 10288 if { (eval echo "$as_me:10288: \"$ac_link\"") >&5
10283 (eval $ac_link) 2>&5 10289 (eval $ac_link) 2>&5
10284 ac_status=$? 10290 ac_status=$?
10285 echo "$as_me:10285: \$? = $ac_status" >&5 10291 echo "$as_me:10291: \$? = $ac_status" >&5
10286 (exit $ac_status); } && 10292 (exit $ac_status); } &&
10287 { ac_try='test -s conftest$ac_exeext' 10293 { ac_try='test -s conftest$ac_exeext'
10288 { (eval echo "$as_me:10288: \"$ac_try\"") >&5 10294 { (eval echo "$as_me:10294: \"$ac_try\"") >&5
10289 (eval $ac_try) 2>&5 10295 (eval $ac_try) 2>&5
10290 ac_status=$? 10296 ac_status=$?
10291 echo "$as_me:10291: \$? = $ac_status" >&5 10297 echo "$as_me:10297: \$? = $ac_status" >&5
10292 (exit $ac_status); }; }; then 10298 (exit $ac_status); }; }; then
10293 ac_cv_func_hes_getmailhost=yes 10299 ac_cv_func_hes_getmailhost=yes
10294 else 10300 else
10295 echo "$as_me: failed program was:" >&5 10301 echo "$as_me: failed program was:" >&5
10296 cat conftest.$ac_ext >&5 10302 cat conftest.$ac_ext >&5
10297 ac_cv_func_hes_getmailhost=no 10303 ac_cv_func_hes_getmailhost=no
10298 fi 10304 fi
10299 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10305 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10300 fi 10306 fi
10301 echo "$as_me:10301: result: $ac_cv_func_hes_getmailhost" >&5 10307 echo "$as_me:10307: result: $ac_cv_func_hes_getmailhost" >&5
10302 echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6 10308 echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6
10303 if test $ac_cv_func_hes_getmailhost = yes; then 10309 if test $ac_cv_func_hes_getmailhost = yes; then
10304 : 10310 :
10305 else 10311 else
10306 echo "$as_me:10306: checking for hes_getmailhost in -lhesiod" >&5 10312 echo "$as_me:10312: checking for hes_getmailhost in -lhesiod" >&5
10307 echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6 10313 echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6
10308 if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then 10314 if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then
10309 echo $ECHO_N "(cached) $ECHO_C" >&6 10315 echo $ECHO_N "(cached) $ECHO_C" >&6
10310 else 10316 else
10311 ac_check_lib_save_LIBS=$LIBS 10317 ac_check_lib_save_LIBS=$LIBS
10312 LIBS="-lhesiod $RESOLVLIB $LIBS" 10318 LIBS="-lhesiod $RESOLVLIB $LIBS"
10313 cat >conftest.$ac_ext <<_ACEOF 10319 cat >conftest.$ac_ext <<_ACEOF
10314 #line 10314 "configure" 10320 #line 10320 "configure"
10315 #include "confdefs.h" 10321 #include "confdefs.h"
10316 10322
10317 /* Override any gcc2 internal prototype to avoid an error. */ 10323 /* Override any gcc2 internal prototype to avoid an error. */
10318 #ifdef __cplusplus 10324 #ifdef __cplusplus
10319 extern "C" 10325 extern "C"
10328 ; 10334 ;
10329 return 0; 10335 return 0;
10330 } 10336 }
10331 _ACEOF 10337 _ACEOF
10332 rm -f conftest.$ac_objext conftest$ac_exeext 10338 rm -f conftest.$ac_objext conftest$ac_exeext
10333 if { (eval echo "$as_me:10333: \"$ac_link\"") >&5 10339 if { (eval echo "$as_me:10339: \"$ac_link\"") >&5
10334 (eval $ac_link) 2>&5 10340 (eval $ac_link) 2>&5
10335 ac_status=$? 10341 ac_status=$?
10336 echo "$as_me:10336: \$? = $ac_status" >&5 10342 echo "$as_me:10342: \$? = $ac_status" >&5
10337 (exit $ac_status); } && 10343 (exit $ac_status); } &&
10338 { ac_try='test -s conftest$ac_exeext' 10344 { ac_try='test -s conftest$ac_exeext'
10339 { (eval echo "$as_me:10339: \"$ac_try\"") >&5 10345 { (eval echo "$as_me:10345: \"$ac_try\"") >&5
10340 (eval $ac_try) 2>&5 10346 (eval $ac_try) 2>&5
10341 ac_status=$? 10347 ac_status=$?
10342 echo "$as_me:10342: \$? = $ac_status" >&5 10348 echo "$as_me:10348: \$? = $ac_status" >&5
10343 (exit $ac_status); }; }; then 10349 (exit $ac_status); }; }; then
10344 ac_cv_lib_hesiod_hes_getmailhost=yes 10350 ac_cv_lib_hesiod_hes_getmailhost=yes
10345 else 10351 else
10346 echo "$as_me: failed program was:" >&5 10352 echo "$as_me: failed program was:" >&5
10347 cat conftest.$ac_ext >&5 10353 cat conftest.$ac_ext >&5
10348 ac_cv_lib_hesiod_hes_getmailhost=no 10354 ac_cv_lib_hesiod_hes_getmailhost=no
10349 fi 10355 fi
10350 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10356 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10351 LIBS=$ac_check_lib_save_LIBS 10357 LIBS=$ac_check_lib_save_LIBS
10352 fi 10358 fi
10353 echo "$as_me:10353: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 10359 echo "$as_me:10359: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5
10354 echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6 10360 echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6
10355 if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then 10361 if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then
10356 cat >>confdefs.h <<\EOF 10362 cat >>confdefs.h <<\EOF
10357 #define HAVE_LIBHESIOD 1 10363 #define HAVE_LIBHESIOD 1
10358 EOF 10364 EOF
10366 fi 10372 fi
10367 10373
10368 # These tell us which Kerberos-related libraries to use. 10374 # These tell us which Kerberos-related libraries to use.
10369 if test "${with_kerberos+set}" = set; then 10375 if test "${with_kerberos+set}" = set; then
10370 10376
10371 echo "$as_me:10371: checking for com_err in -lcom_err" >&5 10377 echo "$as_me:10377: checking for com_err in -lcom_err" >&5
10372 echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6 10378 echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6
10373 if test "${ac_cv_lib_com_err_com_err+set}" = set; then 10379 if test "${ac_cv_lib_com_err_com_err+set}" = set; then
10374 echo $ECHO_N "(cached) $ECHO_C" >&6 10380 echo $ECHO_N "(cached) $ECHO_C" >&6
10375 else 10381 else
10376 ac_check_lib_save_LIBS=$LIBS 10382 ac_check_lib_save_LIBS=$LIBS
10377 LIBS="-lcom_err $LIBS" 10383 LIBS="-lcom_err $LIBS"
10378 cat >conftest.$ac_ext <<_ACEOF 10384 cat >conftest.$ac_ext <<_ACEOF
10379 #line 10379 "configure" 10385 #line 10385 "configure"
10380 #include "confdefs.h" 10386 #include "confdefs.h"
10381 10387
10382 /* Override any gcc2 internal prototype to avoid an error. */ 10388 /* Override any gcc2 internal prototype to avoid an error. */
10383 #ifdef __cplusplus 10389 #ifdef __cplusplus
10384 extern "C" 10390 extern "C"
10393 ; 10399 ;
10394 return 0; 10400 return 0;
10395 } 10401 }
10396 _ACEOF 10402 _ACEOF
10397 rm -f conftest.$ac_objext conftest$ac_exeext 10403 rm -f conftest.$ac_objext conftest$ac_exeext
10398 if { (eval echo "$as_me:10398: \"$ac_link\"") >&5 10404 if { (eval echo "$as_me:10404: \"$ac_link\"") >&5
10399 (eval $ac_link) 2>&5 10405 (eval $ac_link) 2>&5
10400 ac_status=$? 10406 ac_status=$?
10401 echo "$as_me:10401: \$? = $ac_status" >&5 10407 echo "$as_me:10407: \$? = $ac_status" >&5
10402 (exit $ac_status); } && 10408 (exit $ac_status); } &&
10403 { ac_try='test -s conftest$ac_exeext' 10409 { ac_try='test -s conftest$ac_exeext'
10404 { (eval echo "$as_me:10404: \"$ac_try\"") >&5 10410 { (eval echo "$as_me:10410: \"$ac_try\"") >&5
10405 (eval $ac_try) 2>&5 10411 (eval $ac_try) 2>&5
10406 ac_status=$? 10412 ac_status=$?
10407 echo "$as_me:10407: \$? = $ac_status" >&5 10413 echo "$as_me:10413: \$? = $ac_status" >&5
10408 (exit $ac_status); }; }; then 10414 (exit $ac_status); }; }; then
10409 ac_cv_lib_com_err_com_err=yes 10415 ac_cv_lib_com_err_com_err=yes
10410 else 10416 else
10411 echo "$as_me: failed program was:" >&5 10417 echo "$as_me: failed program was:" >&5
10412 cat conftest.$ac_ext >&5 10418 cat conftest.$ac_ext >&5
10413 ac_cv_lib_com_err_com_err=no 10419 ac_cv_lib_com_err_com_err=no
10414 fi 10420 fi
10415 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10421 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10416 LIBS=$ac_check_lib_save_LIBS 10422 LIBS=$ac_check_lib_save_LIBS
10417 fi 10423 fi
10418 echo "$as_me:10418: result: $ac_cv_lib_com_err_com_err" >&5 10424 echo "$as_me:10424: result: $ac_cv_lib_com_err_com_err" >&5
10419 echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6 10425 echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6
10420 if test $ac_cv_lib_com_err_com_err = yes; then 10426 if test $ac_cv_lib_com_err_com_err = yes; then
10421 cat >>confdefs.h <<EOF 10427 cat >>confdefs.h <<EOF
10422 #define HAVE_LIBCOM_ERR 1 10428 #define HAVE_LIBCOM_ERR 1
10423 EOF 10429 EOF
10424 10430
10425 LIBS="-lcom_err $LIBS" 10431 LIBS="-lcom_err $LIBS"
10426 10432
10427 fi 10433 fi
10428 10434
10429 echo "$as_me:10429: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 10435 echo "$as_me:10435: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
10430 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6 10436 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6
10431 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then 10437 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then
10432 echo $ECHO_N "(cached) $ECHO_C" >&6 10438 echo $ECHO_N "(cached) $ECHO_C" >&6
10433 else 10439 else
10434 ac_check_lib_save_LIBS=$LIBS 10440 ac_check_lib_save_LIBS=$LIBS
10435 LIBS="-lk5crypto $LIBS" 10441 LIBS="-lk5crypto $LIBS"
10436 cat >conftest.$ac_ext <<_ACEOF 10442 cat >conftest.$ac_ext <<_ACEOF
10437 #line 10437 "configure" 10443 #line 10443 "configure"
10438 #include "confdefs.h" 10444 #include "confdefs.h"
10439 10445
10440 /* Override any gcc2 internal prototype to avoid an error. */ 10446 /* Override any gcc2 internal prototype to avoid an error. */
10441 #ifdef __cplusplus 10447 #ifdef __cplusplus
10442 extern "C" 10448 extern "C"
10451 ; 10457 ;
10452 return 0; 10458 return 0;
10453 } 10459 }
10454 _ACEOF 10460 _ACEOF
10455 rm -f conftest.$ac_objext conftest$ac_exeext 10461 rm -f conftest.$ac_objext conftest$ac_exeext
10456 if { (eval echo "$as_me:10456: \"$ac_link\"") >&5 10462 if { (eval echo "$as_me:10462: \"$ac_link\"") >&5
10457 (eval $ac_link) 2>&5 10463 (eval $ac_link) 2>&5
10458 ac_status=$? 10464 ac_status=$?
10459 echo "$as_me:10459: \$? = $ac_status" >&5 10465 echo "$as_me:10465: \$? = $ac_status" >&5
10460 (exit $ac_status); } && 10466 (exit $ac_status); } &&
10461 { ac_try='test -s conftest$ac_exeext' 10467 { ac_try='test -s conftest$ac_exeext'
10462 { (eval echo "$as_me:10462: \"$ac_try\"") >&5 10468 { (eval echo "$as_me:10468: \"$ac_try\"") >&5
10463 (eval $ac_try) 2>&5 10469 (eval $ac_try) 2>&5
10464 ac_status=$? 10470 ac_status=$?
10465 echo "$as_me:10465: \$? = $ac_status" >&5 10471 echo "$as_me:10471: \$? = $ac_status" >&5
10466 (exit $ac_status); }; }; then 10472 (exit $ac_status); }; }; then
10467 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes 10473 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes
10468 else 10474 else
10469 echo "$as_me: failed program was:" >&5 10475 echo "$as_me: failed program was:" >&5
10470 cat conftest.$ac_ext >&5 10476 cat conftest.$ac_ext >&5
10471 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no 10477 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no
10472 fi 10478 fi
10473 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10479 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10474 LIBS=$ac_check_lib_save_LIBS 10480 LIBS=$ac_check_lib_save_LIBS
10475 fi 10481 fi
10476 echo "$as_me:10476: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5 10482 echo "$as_me:10482: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5
10477 echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6 10483 echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6
10478 if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then 10484 if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then
10479 cat >>confdefs.h <<EOF 10485 cat >>confdefs.h <<EOF
10480 #define HAVE_LIBK5CRYPTO 1 10486 #define HAVE_LIBK5CRYPTO 1
10481 EOF 10487 EOF
10482 10488
10483 LIBS="-lk5crypto $LIBS" 10489 LIBS="-lk5crypto $LIBS"
10484 10490
10485 fi 10491 fi
10486 10492
10487 echo "$as_me:10487: checking for mit_des_cbc_encrypt in -lcrypto" >&5 10493 echo "$as_me:10493: checking for mit_des_cbc_encrypt in -lcrypto" >&5
10488 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6 10494 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6
10489 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then 10495 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then
10490 echo $ECHO_N "(cached) $ECHO_C" >&6 10496 echo $ECHO_N "(cached) $ECHO_C" >&6
10491 else 10497 else
10492 ac_check_lib_save_LIBS=$LIBS 10498 ac_check_lib_save_LIBS=$LIBS
10493 LIBS="-lcrypto $LIBS" 10499 LIBS="-lcrypto $LIBS"
10494 cat >conftest.$ac_ext <<_ACEOF 10500 cat >conftest.$ac_ext <<_ACEOF
10495 #line 10495 "configure" 10501 #line 10501 "configure"
10496 #include "confdefs.h" 10502 #include "confdefs.h"
10497 10503
10498 /* Override any gcc2 internal prototype to avoid an error. */ 10504 /* Override any gcc2 internal prototype to avoid an error. */
10499 #ifdef __cplusplus 10505 #ifdef __cplusplus
10500 extern "C" 10506 extern "C"
10509 ; 10515 ;
10510 return 0; 10516 return 0;
10511 } 10517 }
10512 _ACEOF 10518 _ACEOF
10513 rm -f conftest.$ac_objext conftest$ac_exeext 10519 rm -f conftest.$ac_objext conftest$ac_exeext
10514 if { (eval echo "$as_me:10514: \"$ac_link\"") >&5 10520 if { (eval echo "$as_me:10520: \"$ac_link\"") >&5
10515 (eval $ac_link) 2>&5 10521 (eval $ac_link) 2>&5
10516 ac_status=$? 10522 ac_status=$?
10517 echo "$as_me:10517: \$? = $ac_status" >&5 10523 echo "$as_me:10523: \$? = $ac_status" >&5
10518 (exit $ac_status); } && 10524 (exit $ac_status); } &&
10519 { ac_try='test -s conftest$ac_exeext' 10525 { ac_try='test -s conftest$ac_exeext'
10520 { (eval echo "$as_me:10520: \"$ac_try\"") >&5 10526 { (eval echo "$as_me:10526: \"$ac_try\"") >&5
10521 (eval $ac_try) 2>&5 10527 (eval $ac_try) 2>&5
10522 ac_status=$? 10528 ac_status=$?
10523 echo "$as_me:10523: \$? = $ac_status" >&5 10529 echo "$as_me:10529: \$? = $ac_status" >&5
10524 (exit $ac_status); }; }; then 10530 (exit $ac_status); }; }; then
10525 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes 10531 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes
10526 else 10532 else
10527 echo "$as_me: failed program was:" >&5 10533 echo "$as_me: failed program was:" >&5
10528 cat conftest.$ac_ext >&5 10534 cat conftest.$ac_ext >&5
10529 ac_cv_lib_crypto_mit_des_cbc_encrypt=no 10535 ac_cv_lib_crypto_mit_des_cbc_encrypt=no
10530 fi 10536 fi
10531 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10537 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10532 LIBS=$ac_check_lib_save_LIBS 10538 LIBS=$ac_check_lib_save_LIBS
10533 fi 10539 fi
10534 echo "$as_me:10534: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5 10540 echo "$as_me:10540: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5
10535 echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6 10541 echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6
10536 if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then 10542 if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then
10537 cat >>confdefs.h <<EOF 10543 cat >>confdefs.h <<EOF
10538 #define HAVE_LIBCRYPTO 1 10544 #define HAVE_LIBCRYPTO 1
10539 EOF 10545 EOF
10540 10546
10541 LIBS="-lcrypto $LIBS" 10547 LIBS="-lcrypto $LIBS"
10542 10548
10543 fi 10549 fi
10544 10550
10545 echo "$as_me:10545: checking for krb5_init_context in -lkrb5" >&5 10551 echo "$as_me:10551: checking for krb5_init_context in -lkrb5" >&5
10546 echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6 10552 echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6
10547 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then 10553 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then
10548 echo $ECHO_N "(cached) $ECHO_C" >&6 10554 echo $ECHO_N "(cached) $ECHO_C" >&6
10549 else 10555 else
10550 ac_check_lib_save_LIBS=$LIBS 10556 ac_check_lib_save_LIBS=$LIBS
10551 LIBS="-lkrb5 $LIBS" 10557 LIBS="-lkrb5 $LIBS"
10552 cat >conftest.$ac_ext <<_ACEOF 10558 cat >conftest.$ac_ext <<_ACEOF
10553 #line 10553 "configure" 10559 #line 10559 "configure"
10554 #include "confdefs.h" 10560 #include "confdefs.h"
10555 10561
10556 /* Override any gcc2 internal prototype to avoid an error. */ 10562 /* Override any gcc2 internal prototype to avoid an error. */
10557 #ifdef __cplusplus 10563 #ifdef __cplusplus
10558 extern "C" 10564 extern "C"
10567 ; 10573 ;
10568 return 0; 10574 return 0;
10569 } 10575 }
10570 _ACEOF 10576 _ACEOF
10571 rm -f conftest.$ac_objext conftest$ac_exeext 10577 rm -f conftest.$ac_objext conftest$ac_exeext
10572 if { (eval echo "$as_me:10572: \"$ac_link\"") >&5 10578 if { (eval echo "$as_me:10578: \"$ac_link\"") >&5
10573 (eval $ac_link) 2>&5 10579 (eval $ac_link) 2>&5
10574 ac_status=$? 10580 ac_status=$?
10575 echo "$as_me:10575: \$? = $ac_status" >&5 10581 echo "$as_me:10581: \$? = $ac_status" >&5
10576 (exit $ac_status); } && 10582 (exit $ac_status); } &&
10577 { ac_try='test -s conftest$ac_exeext' 10583 { ac_try='test -s conftest$ac_exeext'
10578 { (eval echo "$as_me:10578: \"$ac_try\"") >&5 10584 { (eval echo "$as_me:10584: \"$ac_try\"") >&5
10579 (eval $ac_try) 2>&5 10585 (eval $ac_try) 2>&5
10580 ac_status=$? 10586 ac_status=$?
10581 echo "$as_me:10581: \$? = $ac_status" >&5 10587 echo "$as_me:10587: \$? = $ac_status" >&5
10582 (exit $ac_status); }; }; then 10588 (exit $ac_status); }; }; then
10583 ac_cv_lib_krb5_krb5_init_context=yes 10589 ac_cv_lib_krb5_krb5_init_context=yes
10584 else 10590 else
10585 echo "$as_me: failed program was:" >&5 10591 echo "$as_me: failed program was:" >&5
10586 cat conftest.$ac_ext >&5 10592 cat conftest.$ac_ext >&5
10587 ac_cv_lib_krb5_krb5_init_context=no 10593 ac_cv_lib_krb5_krb5_init_context=no
10588 fi 10594 fi
10589 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10595 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10590 LIBS=$ac_check_lib_save_LIBS 10596 LIBS=$ac_check_lib_save_LIBS
10591 fi 10597 fi
10592 echo "$as_me:10592: result: $ac_cv_lib_krb5_krb5_init_context" >&5 10598 echo "$as_me:10598: result: $ac_cv_lib_krb5_krb5_init_context" >&5
10593 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6 10599 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6
10594 if test $ac_cv_lib_krb5_krb5_init_context = yes; then 10600 if test $ac_cv_lib_krb5_krb5_init_context = yes; then
10595 cat >>confdefs.h <<EOF 10601 cat >>confdefs.h <<EOF
10596 #define HAVE_LIBKRB5 1 10602 #define HAVE_LIBKRB5 1
10597 EOF 10603 EOF
10600 10606
10601 fi 10607 fi
10602 10608
10603 if test "${with_kerberos5+set}" != set; then 10609 if test "${with_kerberos5+set}" != set; then
10604 10610
10605 echo "$as_me:10605: checking for des_cbc_encrypt in -ldes425" >&5 10611 echo "$as_me:10611: checking for des_cbc_encrypt in -ldes425" >&5
10606 echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6 10612 echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6
10607 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then 10613 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then
10608 echo $ECHO_N "(cached) $ECHO_C" >&6 10614 echo $ECHO_N "(cached) $ECHO_C" >&6
10609 else 10615 else
10610 ac_check_lib_save_LIBS=$LIBS 10616 ac_check_lib_save_LIBS=$LIBS
10611 LIBS="-ldes425 $LIBS" 10617 LIBS="-ldes425 $LIBS"
10612 cat >conftest.$ac_ext <<_ACEOF 10618 cat >conftest.$ac_ext <<_ACEOF
10613 #line 10613 "configure" 10619 #line 10619 "configure"
10614 #include "confdefs.h" 10620 #include "confdefs.h"
10615 10621
10616 /* Override any gcc2 internal prototype to avoid an error. */ 10622 /* Override any gcc2 internal prototype to avoid an error. */
10617 #ifdef __cplusplus 10623 #ifdef __cplusplus
10618 extern "C" 10624 extern "C"
10627 ; 10633 ;
10628 return 0; 10634 return 0;
10629 } 10635 }
10630 _ACEOF 10636 _ACEOF
10631 rm -f conftest.$ac_objext conftest$ac_exeext 10637 rm -f conftest.$ac_objext conftest$ac_exeext
10632 if { (eval echo "$as_me:10632: \"$ac_link\"") >&5 10638 if { (eval echo "$as_me:10638: \"$ac_link\"") >&5
10633 (eval $ac_link) 2>&5 10639 (eval $ac_link) 2>&5
10634 ac_status=$? 10640 ac_status=$?
10635 echo "$as_me:10635: \$? = $ac_status" >&5 10641 echo "$as_me:10641: \$? = $ac_status" >&5
10636 (exit $ac_status); } && 10642 (exit $ac_status); } &&
10637 { ac_try='test -s conftest$ac_exeext' 10643 { ac_try='test -s conftest$ac_exeext'
10638 { (eval echo "$as_me:10638: \"$ac_try\"") >&5 10644 { (eval echo "$as_me:10644: \"$ac_try\"") >&5
10639 (eval $ac_try) 2>&5 10645 (eval $ac_try) 2>&5
10640 ac_status=$? 10646 ac_status=$?
10641 echo "$as_me:10641: \$? = $ac_status" >&5 10647 echo "$as_me:10647: \$? = $ac_status" >&5
10642 (exit $ac_status); }; }; then 10648 (exit $ac_status); }; }; then
10643 ac_cv_lib_des425_des_cbc_encrypt=yes 10649 ac_cv_lib_des425_des_cbc_encrypt=yes
10644 else 10650 else
10645 echo "$as_me: failed program was:" >&5 10651 echo "$as_me: failed program was:" >&5
10646 cat conftest.$ac_ext >&5 10652 cat conftest.$ac_ext >&5
10647 ac_cv_lib_des425_des_cbc_encrypt=no 10653 ac_cv_lib_des425_des_cbc_encrypt=no
10648 fi 10654 fi
10649 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10655 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10650 LIBS=$ac_check_lib_save_LIBS 10656 LIBS=$ac_check_lib_save_LIBS
10651 fi 10657 fi
10652 echo "$as_me:10652: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 10658 echo "$as_me:10658: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
10653 echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6 10659 echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6
10654 if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then 10660 if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then
10655 cat >>confdefs.h <<EOF 10661 cat >>confdefs.h <<EOF
10656 #define HAVE_LIBDES425 1 10662 #define HAVE_LIBDES425 1
10657 EOF 10663 EOF
10658 10664
10659 LIBS="-ldes425 $LIBS" 10665 LIBS="-ldes425 $LIBS"
10660 10666
10661 else 10667 else
10662 10668
10663 echo "$as_me:10663: checking for des_cbc_encrypt in -ldes" >&5 10669 echo "$as_me:10669: checking for des_cbc_encrypt in -ldes" >&5
10664 echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6 10670 echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6
10665 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then 10671 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then
10666 echo $ECHO_N "(cached) $ECHO_C" >&6 10672 echo $ECHO_N "(cached) $ECHO_C" >&6
10667 else 10673 else
10668 ac_check_lib_save_LIBS=$LIBS 10674 ac_check_lib_save_LIBS=$LIBS
10669 LIBS="-ldes $LIBS" 10675 LIBS="-ldes $LIBS"
10670 cat >conftest.$ac_ext <<_ACEOF 10676 cat >conftest.$ac_ext <<_ACEOF
10671 #line 10671 "configure" 10677 #line 10677 "configure"
10672 #include "confdefs.h" 10678 #include "confdefs.h"
10673 10679
10674 /* Override any gcc2 internal prototype to avoid an error. */ 10680 /* Override any gcc2 internal prototype to avoid an error. */
10675 #ifdef __cplusplus 10681 #ifdef __cplusplus
10676 extern "C" 10682 extern "C"
10685 ; 10691 ;
10686 return 0; 10692 return 0;
10687 } 10693 }
10688 _ACEOF 10694 _ACEOF
10689 rm -f conftest.$ac_objext conftest$ac_exeext 10695 rm -f conftest.$ac_objext conftest$ac_exeext
10690 if { (eval echo "$as_me:10690: \"$ac_link\"") >&5 10696 if { (eval echo "$as_me:10696: \"$ac_link\"") >&5
10691 (eval $ac_link) 2>&5 10697 (eval $ac_link) 2>&5
10692 ac_status=$? 10698 ac_status=$?
10693 echo "$as_me:10693: \$? = $ac_status" >&5 10699 echo "$as_me:10699: \$? = $ac_status" >&5
10694 (exit $ac_status); } && 10700 (exit $ac_status); } &&
10695 { ac_try='test -s conftest$ac_exeext' 10701 { ac_try='test -s conftest$ac_exeext'
10696 { (eval echo "$as_me:10696: \"$ac_try\"") >&5 10702 { (eval echo "$as_me:10702: \"$ac_try\"") >&5
10697 (eval $ac_try) 2>&5 10703 (eval $ac_try) 2>&5
10698 ac_status=$? 10704 ac_status=$?
10699 echo "$as_me:10699: \$? = $ac_status" >&5 10705 echo "$as_me:10705: \$? = $ac_status" >&5
10700 (exit $ac_status); }; }; then 10706 (exit $ac_status); }; }; then
10701 ac_cv_lib_des_des_cbc_encrypt=yes 10707 ac_cv_lib_des_des_cbc_encrypt=yes
10702 else 10708 else
10703 echo "$as_me: failed program was:" >&5 10709 echo "$as_me: failed program was:" >&5
10704 cat conftest.$ac_ext >&5 10710 cat conftest.$ac_ext >&5
10705 ac_cv_lib_des_des_cbc_encrypt=no 10711 ac_cv_lib_des_des_cbc_encrypt=no
10706 fi 10712 fi
10707 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10713 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10708 LIBS=$ac_check_lib_save_LIBS 10714 LIBS=$ac_check_lib_save_LIBS
10709 fi 10715 fi
10710 echo "$as_me:10710: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 10716 echo "$as_me:10716: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
10711 echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6 10717 echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6
10712 if test $ac_cv_lib_des_des_cbc_encrypt = yes; then 10718 if test $ac_cv_lib_des_des_cbc_encrypt = yes; then
10713 cat >>confdefs.h <<EOF 10719 cat >>confdefs.h <<EOF
10714 #define HAVE_LIBDES 1 10720 #define HAVE_LIBDES 1
10715 EOF 10721 EOF
10718 10724
10719 fi 10725 fi
10720 10726
10721 fi 10727 fi
10722 10728
10723 echo "$as_me:10723: checking for krb_get_cred in -lkrb4" >&5 10729 echo "$as_me:10729: checking for krb_get_cred in -lkrb4" >&5
10724 echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6 10730 echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6
10725 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then 10731 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then
10726 echo $ECHO_N "(cached) $ECHO_C" >&6 10732 echo $ECHO_N "(cached) $ECHO_C" >&6
10727 else 10733 else
10728 ac_check_lib_save_LIBS=$LIBS 10734 ac_check_lib_save_LIBS=$LIBS
10729 LIBS="-lkrb4 $LIBS" 10735 LIBS="-lkrb4 $LIBS"
10730 cat >conftest.$ac_ext <<_ACEOF 10736 cat >conftest.$ac_ext <<_ACEOF
10731 #line 10731 "configure" 10737 #line 10737 "configure"
10732 #include "confdefs.h" 10738 #include "confdefs.h"
10733 10739
10734 /* Override any gcc2 internal prototype to avoid an error. */ 10740 /* Override any gcc2 internal prototype to avoid an error. */
10735 #ifdef __cplusplus 10741 #ifdef __cplusplus
10736 extern "C" 10742 extern "C"
10745 ; 10751 ;
10746 return 0; 10752 return 0;
10747 } 10753 }
10748 _ACEOF 10754 _ACEOF
10749 rm -f conftest.$ac_objext conftest$ac_exeext 10755 rm -f conftest.$ac_objext conftest$ac_exeext
10750 if { (eval echo "$as_me:10750: \"$ac_link\"") >&5 10756 if { (eval echo "$as_me:10756: \"$ac_link\"") >&5
10751 (eval $ac_link) 2>&5 10757 (eval $ac_link) 2>&5
10752 ac_status=$? 10758 ac_status=$?
10753 echo "$as_me:10753: \$? = $ac_status" >&5 10759 echo "$as_me:10759: \$? = $ac_status" >&5
10754 (exit $ac_status); } && 10760 (exit $ac_status); } &&
10755 { ac_try='test -s conftest$ac_exeext' 10761 { ac_try='test -s conftest$ac_exeext'
10756 { (eval echo "$as_me:10756: \"$ac_try\"") >&5 10762 { (eval echo "$as_me:10762: \"$ac_try\"") >&5
10757 (eval $ac_try) 2>&5 10763 (eval $ac_try) 2>&5
10758 ac_status=$? 10764 ac_status=$?
10759 echo "$as_me:10759: \$? = $ac_status" >&5 10765 echo "$as_me:10765: \$? = $ac_status" >&5
10760 (exit $ac_status); }; }; then 10766 (exit $ac_status); }; }; then
10761 ac_cv_lib_krb4_krb_get_cred=yes 10767 ac_cv_lib_krb4_krb_get_cred=yes
10762 else 10768 else
10763 echo "$as_me: failed program was:" >&5 10769 echo "$as_me: failed program was:" >&5
10764 cat conftest.$ac_ext >&5 10770 cat conftest.$ac_ext >&5
10765 ac_cv_lib_krb4_krb_get_cred=no 10771 ac_cv_lib_krb4_krb_get_cred=no
10766 fi 10772 fi
10767 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10773 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10768 LIBS=$ac_check_lib_save_LIBS 10774 LIBS=$ac_check_lib_save_LIBS
10769 fi 10775 fi
10770 echo "$as_me:10770: result: $ac_cv_lib_krb4_krb_get_cred" >&5 10776 echo "$as_me:10776: result: $ac_cv_lib_krb4_krb_get_cred" >&5
10771 echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6 10777 echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6
10772 if test $ac_cv_lib_krb4_krb_get_cred = yes; then 10778 if test $ac_cv_lib_krb4_krb_get_cred = yes; then
10773 cat >>confdefs.h <<EOF 10779 cat >>confdefs.h <<EOF
10774 #define HAVE_LIBKRB4 1 10780 #define HAVE_LIBKRB4 1
10775 EOF 10781 EOF
10776 10782
10777 LIBS="-lkrb4 $LIBS" 10783 LIBS="-lkrb4 $LIBS"
10778 10784
10779 else 10785 else
10780 10786
10781 echo "$as_me:10781: checking for krb_get_cred in -lkrb" >&5 10787 echo "$as_me:10787: checking for krb_get_cred in -lkrb" >&5
10782 echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6 10788 echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6
10783 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then 10789 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then
10784 echo $ECHO_N "(cached) $ECHO_C" >&6 10790 echo $ECHO_N "(cached) $ECHO_C" >&6
10785 else 10791 else
10786 ac_check_lib_save_LIBS=$LIBS 10792 ac_check_lib_save_LIBS=$LIBS
10787 LIBS="-lkrb $LIBS" 10793 LIBS="-lkrb $LIBS"
10788 cat >conftest.$ac_ext <<_ACEOF 10794 cat >conftest.$ac_ext <<_ACEOF
10789 #line 10789 "configure" 10795 #line 10795 "configure"
10790 #include "confdefs.h" 10796 #include "confdefs.h"
10791 10797
10792 /* Override any gcc2 internal prototype to avoid an error. */ 10798 /* Override any gcc2 internal prototype to avoid an error. */
10793 #ifdef __cplusplus 10799 #ifdef __cplusplus
10794 extern "C" 10800 extern "C"
10803 ; 10809 ;
10804 return 0; 10810 return 0;
10805 } 10811 }
10806 _ACEOF 10812 _ACEOF
10807 rm -f conftest.$ac_objext conftest$ac_exeext 10813 rm -f conftest.$ac_objext conftest$ac_exeext
10808 if { (eval echo "$as_me:10808: \"$ac_link\"") >&5 10814 if { (eval echo "$as_me:10814: \"$ac_link\"") >&5
10809 (eval $ac_link) 2>&5 10815 (eval $ac_link) 2>&5
10810 ac_status=$? 10816 ac_status=$?
10811 echo "$as_me:10811: \$? = $ac_status" >&5 10817 echo "$as_me:10817: \$? = $ac_status" >&5
10812 (exit $ac_status); } && 10818 (exit $ac_status); } &&
10813 { ac_try='test -s conftest$ac_exeext' 10819 { ac_try='test -s conftest$ac_exeext'
10814 { (eval echo "$as_me:10814: \"$ac_try\"") >&5 10820 { (eval echo "$as_me:10820: \"$ac_try\"") >&5
10815 (eval $ac_try) 2>&5 10821 (eval $ac_try) 2>&5
10816 ac_status=$? 10822 ac_status=$?
10817 echo "$as_me:10817: \$? = $ac_status" >&5 10823 echo "$as_me:10823: \$? = $ac_status" >&5
10818 (exit $ac_status); }; }; then 10824 (exit $ac_status); }; }; then
10819 ac_cv_lib_krb_krb_get_cred=yes 10825 ac_cv_lib_krb_krb_get_cred=yes
10820 else 10826 else
10821 echo "$as_me: failed program was:" >&5 10827 echo "$as_me: failed program was:" >&5
10822 cat conftest.$ac_ext >&5 10828 cat conftest.$ac_ext >&5
10823 ac_cv_lib_krb_krb_get_cred=no 10829 ac_cv_lib_krb_krb_get_cred=no
10824 fi 10830 fi
10825 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10831 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10826 LIBS=$ac_check_lib_save_LIBS 10832 LIBS=$ac_check_lib_save_LIBS
10827 fi 10833 fi
10828 echo "$as_me:10828: result: $ac_cv_lib_krb_krb_get_cred" >&5 10834 echo "$as_me:10834: result: $ac_cv_lib_krb_krb_get_cred" >&5
10829 echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6 10835 echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6
10830 if test $ac_cv_lib_krb_krb_get_cred = yes; then 10836 if test $ac_cv_lib_krb_krb_get_cred = yes; then
10831 cat >>confdefs.h <<EOF 10837 cat >>confdefs.h <<EOF
10832 #define HAVE_LIBKRB 1 10838 #define HAVE_LIBKRB 1
10833 EOF 10839 EOF
10843 if test "${with_kerberos5+set}" = set; then 10849 if test "${with_kerberos5+set}" = set; then
10844 10850
10845 for ac_header in krb5.h 10851 for ac_header in krb5.h
10846 do 10852 do
10847 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 10853 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10848 echo "$as_me:10848: checking for $ac_header" >&5 10854 echo "$as_me:10854: checking for $ac_header" >&5
10849 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 10855 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10850 if eval "test \"\${$as_ac_Header+set}\" = set"; then 10856 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10851 echo $ECHO_N "(cached) $ECHO_C" >&6 10857 echo $ECHO_N "(cached) $ECHO_C" >&6
10852 else 10858 else
10853 cat >conftest.$ac_ext <<_ACEOF 10859 cat >conftest.$ac_ext <<_ACEOF
10854 #line 10854 "configure" 10860 #line 10860 "configure"
10855 #include "confdefs.h" 10861 #include "confdefs.h"
10856 #include <$ac_header> 10862 #include <$ac_header>
10857 _ACEOF 10863 _ACEOF
10858 if { (eval echo "$as_me:10858: \"$ac_cpp conftest.$ac_ext\"") >&5 10864 if { (eval echo "$as_me:10864: \"$ac_cpp conftest.$ac_ext\"") >&5
10859 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 10865 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10860 ac_status=$? 10866 ac_status=$?
10861 egrep -v '^ *\+' conftest.er1 >conftest.err 10867 egrep -v '^ *\+' conftest.er1 >conftest.err
10862 rm -f conftest.er1 10868 rm -f conftest.er1
10863 cat conftest.err >&5 10869 cat conftest.err >&5
10864 echo "$as_me:10864: \$? = $ac_status" >&5 10870 echo "$as_me:10870: \$? = $ac_status" >&5
10865 (exit $ac_status); } >/dev/null; then 10871 (exit $ac_status); } >/dev/null; then
10866 if test -s conftest.err; then 10872 if test -s conftest.err; then
10867 ac_cpp_err=$ac_c_preproc_warn_flag 10873 ac_cpp_err=$ac_c_preproc_warn_flag
10868 else 10874 else
10869 ac_cpp_err= 10875 ac_cpp_err=
10878 cat conftest.$ac_ext >&5 10884 cat conftest.$ac_ext >&5
10879 eval "$as_ac_Header=no" 10885 eval "$as_ac_Header=no"
10880 fi 10886 fi
10881 rm -f conftest.err conftest.$ac_ext 10887 rm -f conftest.err conftest.$ac_ext
10882 fi 10888 fi
10883 echo "$as_me:10883: result: `eval echo '${'$as_ac_Header'}'`" >&5 10889 echo "$as_me:10889: result: `eval echo '${'$as_ac_Header'}'`" >&5
10884 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 10890 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10885 if test `eval echo '${'$as_ac_Header'}'` = yes; then 10891 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10886 cat >>confdefs.h <<EOF 10892 cat >>confdefs.h <<EOF
10887 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 10893 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10888 EOF 10894 EOF
10893 else 10899 else
10894 10900
10895 for ac_header in des.h 10901 for ac_header in des.h
10896 do 10902 do
10897 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 10903 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10898 echo "$as_me:10898: checking for $ac_header" >&5 10904 echo "$as_me:10904: checking for $ac_header" >&5
10899 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 10905 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10900 if eval "test \"\${$as_ac_Header+set}\" = set"; then 10906 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10901 echo $ECHO_N "(cached) $ECHO_C" >&6 10907 echo $ECHO_N "(cached) $ECHO_C" >&6
10902 else 10908 else
10903 cat >conftest.$ac_ext <<_ACEOF 10909 cat >conftest.$ac_ext <<_ACEOF
10904 #line 10904 "configure" 10910 #line 10910 "configure"
10905 #include "confdefs.h" 10911 #include "confdefs.h"
10906 #include <$ac_header> 10912 #include <$ac_header>
10907 _ACEOF 10913 _ACEOF
10908 if { (eval echo "$as_me:10908: \"$ac_cpp conftest.$ac_ext\"") >&5 10914 if { (eval echo "$as_me:10914: \"$ac_cpp conftest.$ac_ext\"") >&5
10909 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 10915 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10910 ac_status=$? 10916 ac_status=$?
10911 egrep -v '^ *\+' conftest.er1 >conftest.err 10917 egrep -v '^ *\+' conftest.er1 >conftest.err
10912 rm -f conftest.er1 10918 rm -f conftest.er1
10913 cat conftest.err >&5 10919 cat conftest.err >&5
10914 echo "$as_me:10914: \$? = $ac_status" >&5 10920 echo "$as_me:10920: \$? = $ac_status" >&5
10915 (exit $ac_status); } >/dev/null; then 10921 (exit $ac_status); } >/dev/null; then
10916 if test -s conftest.err; then 10922 if test -s conftest.err; then
10917 ac_cpp_err=$ac_c_preproc_warn_flag 10923 ac_cpp_err=$ac_c_preproc_warn_flag
10918 else 10924 else
10919 ac_cpp_err= 10925 ac_cpp_err=
10928 cat conftest.$ac_ext >&5 10934 cat conftest.$ac_ext >&5
10929 eval "$as_ac_Header=no" 10935 eval "$as_ac_Header=no"
10930 fi 10936 fi
10931 rm -f conftest.err conftest.$ac_ext 10937 rm -f conftest.err conftest.$ac_ext
10932 fi 10938 fi
10933 echo "$as_me:10933: result: `eval echo '${'$as_ac_Header'}'`" >&5 10939 echo "$as_me:10939: result: `eval echo '${'$as_ac_Header'}'`" >&5
10934 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 10940 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10935 if test `eval echo '${'$as_ac_Header'}'` = yes; then 10941 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10936 cat >>confdefs.h <<EOF 10942 cat >>confdefs.h <<EOF
10937 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 10943 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10938 EOF 10944 EOF
10940 else 10946 else
10941 10947
10942 for ac_header in kerberosIV/des.h 10948 for ac_header in kerberosIV/des.h
10943 do 10949 do
10944 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 10950 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10945 echo "$as_me:10945: checking for $ac_header" >&5 10951 echo "$as_me:10951: checking for $ac_header" >&5
10946 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 10952 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10947 if eval "test \"\${$as_ac_Header+set}\" = set"; then 10953 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10948 echo $ECHO_N "(cached) $ECHO_C" >&6 10954 echo $ECHO_N "(cached) $ECHO_C" >&6
10949 else 10955 else
10950 cat >conftest.$ac_ext <<_ACEOF 10956 cat >conftest.$ac_ext <<_ACEOF
10951 #line 10951 "configure" 10957 #line 10957 "configure"
10952 #include "confdefs.h" 10958 #include "confdefs.h"
10953 #include <$ac_header> 10959 #include <$ac_header>
10954 _ACEOF 10960 _ACEOF
10955 if { (eval echo "$as_me:10955: \"$ac_cpp conftest.$ac_ext\"") >&5 10961 if { (eval echo "$as_me:10961: \"$ac_cpp conftest.$ac_ext\"") >&5
10956 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 10962 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10957 ac_status=$? 10963 ac_status=$?
10958 egrep -v '^ *\+' conftest.er1 >conftest.err 10964 egrep -v '^ *\+' conftest.er1 >conftest.err
10959 rm -f conftest.er1 10965 rm -f conftest.er1
10960 cat conftest.err >&5 10966 cat conftest.err >&5
10961 echo "$as_me:10961: \$? = $ac_status" >&5 10967 echo "$as_me:10967: \$? = $ac_status" >&5
10962 (exit $ac_status); } >/dev/null; then 10968 (exit $ac_status); } >/dev/null; then
10963 if test -s conftest.err; then 10969 if test -s conftest.err; then
10964 ac_cpp_err=$ac_c_preproc_warn_flag 10970 ac_cpp_err=$ac_c_preproc_warn_flag
10965 else 10971 else
10966 ac_cpp_err= 10972 ac_cpp_err=
10975 cat conftest.$ac_ext >&5 10981 cat conftest.$ac_ext >&5
10976 eval "$as_ac_Header=no" 10982 eval "$as_ac_Header=no"
10977 fi 10983 fi
10978 rm -f conftest.err conftest.$ac_ext 10984 rm -f conftest.err conftest.$ac_ext
10979 fi 10985 fi
10980 echo "$as_me:10980: result: `eval echo '${'$as_ac_Header'}'`" >&5 10986 echo "$as_me:10986: result: `eval echo '${'$as_ac_Header'}'`" >&5
10981 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 10987 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10982 if test `eval echo '${'$as_ac_Header'}'` = yes; then 10988 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10983 cat >>confdefs.h <<EOF 10989 cat >>confdefs.h <<EOF
10984 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 10990 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10985 EOF 10991 EOF
10987 else 10993 else
10988 10994
10989 for ac_header in kerberos/des.h 10995 for ac_header in kerberos/des.h
10990 do 10996 do
10991 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 10997 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10992 echo "$as_me:10992: checking for $ac_header" >&5 10998 echo "$as_me:10998: checking for $ac_header" >&5
10993 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 10999 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10994 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11000 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10995 echo $ECHO_N "(cached) $ECHO_C" >&6 11001 echo $ECHO_N "(cached) $ECHO_C" >&6
10996 else 11002 else
10997 cat >conftest.$ac_ext <<_ACEOF 11003 cat >conftest.$ac_ext <<_ACEOF
10998 #line 10998 "configure" 11004 #line 11004 "configure"
10999 #include "confdefs.h" 11005 #include "confdefs.h"
11000 #include <$ac_header> 11006 #include <$ac_header>
11001 _ACEOF 11007 _ACEOF
11002 if { (eval echo "$as_me:11002: \"$ac_cpp conftest.$ac_ext\"") >&5 11008 if { (eval echo "$as_me:11008: \"$ac_cpp conftest.$ac_ext\"") >&5
11003 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11009 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11004 ac_status=$? 11010 ac_status=$?
11005 egrep -v '^ *\+' conftest.er1 >conftest.err 11011 egrep -v '^ *\+' conftest.er1 >conftest.err
11006 rm -f conftest.er1 11012 rm -f conftest.er1
11007 cat conftest.err >&5 11013 cat conftest.err >&5
11008 echo "$as_me:11008: \$? = $ac_status" >&5 11014 echo "$as_me:11014: \$? = $ac_status" >&5
11009 (exit $ac_status); } >/dev/null; then 11015 (exit $ac_status); } >/dev/null; then
11010 if test -s conftest.err; then 11016 if test -s conftest.err; then
11011 ac_cpp_err=$ac_c_preproc_warn_flag 11017 ac_cpp_err=$ac_c_preproc_warn_flag
11012 else 11018 else
11013 ac_cpp_err= 11019 ac_cpp_err=
11022 cat conftest.$ac_ext >&5 11028 cat conftest.$ac_ext >&5
11023 eval "$as_ac_Header=no" 11029 eval "$as_ac_Header=no"
11024 fi 11030 fi
11025 rm -f conftest.err conftest.$ac_ext 11031 rm -f conftest.err conftest.$ac_ext
11026 fi 11032 fi
11027 echo "$as_me:11027: result: `eval echo '${'$as_ac_Header'}'`" >&5 11033 echo "$as_me:11033: result: `eval echo '${'$as_ac_Header'}'`" >&5
11028 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11034 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11029 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11035 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11030 cat >>confdefs.h <<EOF 11036 cat >>confdefs.h <<EOF
11031 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11037 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11032 EOF 11038 EOF
11041 done 11047 done
11042 11048
11043 for ac_header in krb.h 11049 for ac_header in krb.h
11044 do 11050 do
11045 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11051 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11046 echo "$as_me:11046: checking for $ac_header" >&5 11052 echo "$as_me:11052: checking for $ac_header" >&5
11047 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11053 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11048 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11054 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11049 echo $ECHO_N "(cached) $ECHO_C" >&6 11055 echo $ECHO_N "(cached) $ECHO_C" >&6
11050 else 11056 else
11051 cat >conftest.$ac_ext <<_ACEOF 11057 cat >conftest.$ac_ext <<_ACEOF
11052 #line 11052 "configure" 11058 #line 11058 "configure"
11053 #include "confdefs.h" 11059 #include "confdefs.h"
11054 #include <$ac_header> 11060 #include <$ac_header>
11055 _ACEOF 11061 _ACEOF
11056 if { (eval echo "$as_me:11056: \"$ac_cpp conftest.$ac_ext\"") >&5 11062 if { (eval echo "$as_me:11062: \"$ac_cpp conftest.$ac_ext\"") >&5
11057 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11063 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11058 ac_status=$? 11064 ac_status=$?
11059 egrep -v '^ *\+' conftest.er1 >conftest.err 11065 egrep -v '^ *\+' conftest.er1 >conftest.err
11060 rm -f conftest.er1 11066 rm -f conftest.er1
11061 cat conftest.err >&5 11067 cat conftest.err >&5
11062 echo "$as_me:11062: \$? = $ac_status" >&5 11068 echo "$as_me:11068: \$? = $ac_status" >&5
11063 (exit $ac_status); } >/dev/null; then 11069 (exit $ac_status); } >/dev/null; then
11064 if test -s conftest.err; then 11070 if test -s conftest.err; then
11065 ac_cpp_err=$ac_c_preproc_warn_flag 11071 ac_cpp_err=$ac_c_preproc_warn_flag
11066 else 11072 else
11067 ac_cpp_err= 11073 ac_cpp_err=
11076 cat conftest.$ac_ext >&5 11082 cat conftest.$ac_ext >&5
11077 eval "$as_ac_Header=no" 11083 eval "$as_ac_Header=no"
11078 fi 11084 fi
11079 rm -f conftest.err conftest.$ac_ext 11085 rm -f conftest.err conftest.$ac_ext
11080 fi 11086 fi
11081 echo "$as_me:11081: result: `eval echo '${'$as_ac_Header'}'`" >&5 11087 echo "$as_me:11087: result: `eval echo '${'$as_ac_Header'}'`" >&5
11082 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11088 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11083 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11089 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11084 cat >>confdefs.h <<EOF 11090 cat >>confdefs.h <<EOF
11085 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11091 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11086 EOF 11092 EOF
11088 else 11094 else
11089 11095
11090 for ac_header in kerberosIV/krb.h 11096 for ac_header in kerberosIV/krb.h
11091 do 11097 do
11092 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11098 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11093 echo "$as_me:11093: checking for $ac_header" >&5 11099 echo "$as_me:11099: checking for $ac_header" >&5
11094 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11100 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11095 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11101 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11096 echo $ECHO_N "(cached) $ECHO_C" >&6 11102 echo $ECHO_N "(cached) $ECHO_C" >&6
11097 else 11103 else
11098 cat >conftest.$ac_ext <<_ACEOF 11104 cat >conftest.$ac_ext <<_ACEOF
11099 #line 11099 "configure" 11105 #line 11105 "configure"
11100 #include "confdefs.h" 11106 #include "confdefs.h"
11101 #include <$ac_header> 11107 #include <$ac_header>
11102 _ACEOF 11108 _ACEOF
11103 if { (eval echo "$as_me:11103: \"$ac_cpp conftest.$ac_ext\"") >&5 11109 if { (eval echo "$as_me:11109: \"$ac_cpp conftest.$ac_ext\"") >&5
11104 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11110 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11105 ac_status=$? 11111 ac_status=$?
11106 egrep -v '^ *\+' conftest.er1 >conftest.err 11112 egrep -v '^ *\+' conftest.er1 >conftest.err
11107 rm -f conftest.er1 11113 rm -f conftest.er1
11108 cat conftest.err >&5 11114 cat conftest.err >&5
11109 echo "$as_me:11109: \$? = $ac_status" >&5 11115 echo "$as_me:11115: \$? = $ac_status" >&5
11110 (exit $ac_status); } >/dev/null; then 11116 (exit $ac_status); } >/dev/null; then
11111 if test -s conftest.err; then 11117 if test -s conftest.err; then
11112 ac_cpp_err=$ac_c_preproc_warn_flag 11118 ac_cpp_err=$ac_c_preproc_warn_flag
11113 else 11119 else
11114 ac_cpp_err= 11120 ac_cpp_err=
11123 cat conftest.$ac_ext >&5 11129 cat conftest.$ac_ext >&5
11124 eval "$as_ac_Header=no" 11130 eval "$as_ac_Header=no"
11125 fi 11131 fi
11126 rm -f conftest.err conftest.$ac_ext 11132 rm -f conftest.err conftest.$ac_ext
11127 fi 11133 fi
11128 echo "$as_me:11128: result: `eval echo '${'$as_ac_Header'}'`" >&5 11134 echo "$as_me:11134: result: `eval echo '${'$as_ac_Header'}'`" >&5
11129 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11135 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11130 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11136 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11131 cat >>confdefs.h <<EOF 11137 cat >>confdefs.h <<EOF
11132 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11138 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11133 EOF 11139 EOF
11135 else 11141 else
11136 11142
11137 for ac_header in kerberos/krb.h 11143 for ac_header in kerberos/krb.h
11138 do 11144 do
11139 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11145 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11140 echo "$as_me:11140: checking for $ac_header" >&5 11146 echo "$as_me:11146: checking for $ac_header" >&5
11141 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11147 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11142 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11148 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11143 echo $ECHO_N "(cached) $ECHO_C" >&6 11149 echo $ECHO_N "(cached) $ECHO_C" >&6
11144 else 11150 else
11145 cat >conftest.$ac_ext <<_ACEOF 11151 cat >conftest.$ac_ext <<_ACEOF
11146 #line 11146 "configure" 11152 #line 11152 "configure"
11147 #include "confdefs.h" 11153 #include "confdefs.h"
11148 #include <$ac_header> 11154 #include <$ac_header>
11149 _ACEOF 11155 _ACEOF
11150 if { (eval echo "$as_me:11150: \"$ac_cpp conftest.$ac_ext\"") >&5 11156 if { (eval echo "$as_me:11156: \"$ac_cpp conftest.$ac_ext\"") >&5
11151 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11157 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11152 ac_status=$? 11158 ac_status=$?
11153 egrep -v '^ *\+' conftest.er1 >conftest.err 11159 egrep -v '^ *\+' conftest.er1 >conftest.err
11154 rm -f conftest.er1 11160 rm -f conftest.er1
11155 cat conftest.err >&5 11161 cat conftest.err >&5
11156 echo "$as_me:11156: \$? = $ac_status" >&5 11162 echo "$as_me:11162: \$? = $ac_status" >&5
11157 (exit $ac_status); } >/dev/null; then 11163 (exit $ac_status); } >/dev/null; then
11158 if test -s conftest.err; then 11164 if test -s conftest.err; then
11159 ac_cpp_err=$ac_c_preproc_warn_flag 11165 ac_cpp_err=$ac_c_preproc_warn_flag
11160 else 11166 else
11161 ac_cpp_err= 11167 ac_cpp_err=
11170 cat conftest.$ac_ext >&5 11176 cat conftest.$ac_ext >&5
11171 eval "$as_ac_Header=no" 11177 eval "$as_ac_Header=no"
11172 fi 11178 fi
11173 rm -f conftest.err conftest.$ac_ext 11179 rm -f conftest.err conftest.$ac_ext
11174 fi 11180 fi
11175 echo "$as_me:11175: result: `eval echo '${'$as_ac_Header'}'`" >&5 11181 echo "$as_me:11181: result: `eval echo '${'$as_ac_Header'}'`" >&5
11176 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11182 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11177 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11183 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11178 cat >>confdefs.h <<EOF 11184 cat >>confdefs.h <<EOF
11179 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11185 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11180 EOF 11186 EOF
11191 fi 11197 fi
11192 11198
11193 for ac_header in com_err.h 11199 for ac_header in com_err.h
11194 do 11200 do
11195 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11201 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11196 echo "$as_me:11196: checking for $ac_header" >&5 11202 echo "$as_me:11202: checking for $ac_header" >&5
11197 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11203 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11198 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11204 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11199 echo $ECHO_N "(cached) $ECHO_C" >&6 11205 echo $ECHO_N "(cached) $ECHO_C" >&6
11200 else 11206 else
11201 cat >conftest.$ac_ext <<_ACEOF 11207 cat >conftest.$ac_ext <<_ACEOF
11202 #line 11202 "configure" 11208 #line 11208 "configure"
11203 #include "confdefs.h" 11209 #include "confdefs.h"
11204 #include <$ac_header> 11210 #include <$ac_header>
11205 _ACEOF 11211 _ACEOF
11206 if { (eval echo "$as_me:11206: \"$ac_cpp conftest.$ac_ext\"") >&5 11212 if { (eval echo "$as_me:11212: \"$ac_cpp conftest.$ac_ext\"") >&5
11207 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11213 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11208 ac_status=$? 11214 ac_status=$?
11209 egrep -v '^ *\+' conftest.er1 >conftest.err 11215 egrep -v '^ *\+' conftest.er1 >conftest.err
11210 rm -f conftest.er1 11216 rm -f conftest.er1
11211 cat conftest.err >&5 11217 cat conftest.err >&5
11212 echo "$as_me:11212: \$? = $ac_status" >&5 11218 echo "$as_me:11218: \$? = $ac_status" >&5
11213 (exit $ac_status); } >/dev/null; then 11219 (exit $ac_status); } >/dev/null; then
11214 if test -s conftest.err; then 11220 if test -s conftest.err; then
11215 ac_cpp_err=$ac_c_preproc_warn_flag 11221 ac_cpp_err=$ac_c_preproc_warn_flag
11216 else 11222 else
11217 ac_cpp_err= 11223 ac_cpp_err=
11226 cat conftest.$ac_ext >&5 11232 cat conftest.$ac_ext >&5
11227 eval "$as_ac_Header=no" 11233 eval "$as_ac_Header=no"
11228 fi 11234 fi
11229 rm -f conftest.err conftest.$ac_ext 11235 rm -f conftest.err conftest.$ac_ext
11230 fi 11236 fi
11231 echo "$as_me:11231: result: `eval echo '${'$as_ac_Header'}'`" >&5 11237 echo "$as_me:11237: result: `eval echo '${'$as_ac_Header'}'`" >&5
11232 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11238 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11233 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11239 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11234 cat >>confdefs.h <<EOF 11240 cat >>confdefs.h <<EOF
11235 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11241 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11236 EOF 11242 EOF
11241 fi 11247 fi
11242 11248
11243 # Solaris requires -lintl if you want strerror (which calls dgettext) 11249 # Solaris requires -lintl if you want strerror (which calls dgettext)
11244 # to return localized messages. 11250 # to return localized messages.
11245 11251
11246 echo "$as_me:11246: checking for dgettext in -lintl" >&5 11252 echo "$as_me:11252: checking for dgettext in -lintl" >&5
11247 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6 11253 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6
11248 if test "${ac_cv_lib_intl_dgettext+set}" = set; then 11254 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
11249 echo $ECHO_N "(cached) $ECHO_C" >&6 11255 echo $ECHO_N "(cached) $ECHO_C" >&6
11250 else 11256 else
11251 ac_check_lib_save_LIBS=$LIBS 11257 ac_check_lib_save_LIBS=$LIBS
11252 LIBS="-lintl $LIBS" 11258 LIBS="-lintl $LIBS"
11253 cat >conftest.$ac_ext <<_ACEOF 11259 cat >conftest.$ac_ext <<_ACEOF
11254 #line 11254 "configure" 11260 #line 11260 "configure"
11255 #include "confdefs.h" 11261 #include "confdefs.h"
11256 11262
11257 /* Override any gcc2 internal prototype to avoid an error. */ 11263 /* Override any gcc2 internal prototype to avoid an error. */
11258 #ifdef __cplusplus 11264 #ifdef __cplusplus
11259 extern "C" 11265 extern "C"
11268 ; 11274 ;
11269 return 0; 11275 return 0;
11270 } 11276 }
11271 _ACEOF 11277 _ACEOF
11272 rm -f conftest.$ac_objext conftest$ac_exeext 11278 rm -f conftest.$ac_objext conftest$ac_exeext
11273 if { (eval echo "$as_me:11273: \"$ac_link\"") >&5 11279 if { (eval echo "$as_me:11279: \"$ac_link\"") >&5
11274 (eval $ac_link) 2>&5 11280 (eval $ac_link) 2>&5
11275 ac_status=$? 11281 ac_status=$?
11276 echo "$as_me:11276: \$? = $ac_status" >&5 11282 echo "$as_me:11282: \$? = $ac_status" >&5
11277 (exit $ac_status); } && 11283 (exit $ac_status); } &&
11278 { ac_try='test -s conftest$ac_exeext' 11284 { ac_try='test -s conftest$ac_exeext'
11279 { (eval echo "$as_me:11279: \"$ac_try\"") >&5 11285 { (eval echo "$as_me:11285: \"$ac_try\"") >&5
11280 (eval $ac_try) 2>&5 11286 (eval $ac_try) 2>&5
11281 ac_status=$? 11287 ac_status=$?
11282 echo "$as_me:11282: \$? = $ac_status" >&5 11288 echo "$as_me:11288: \$? = $ac_status" >&5
11283 (exit $ac_status); }; }; then 11289 (exit $ac_status); }; }; then
11284 ac_cv_lib_intl_dgettext=yes 11290 ac_cv_lib_intl_dgettext=yes
11285 else 11291 else
11286 echo "$as_me: failed program was:" >&5 11292 echo "$as_me: failed program was:" >&5
11287 cat conftest.$ac_ext >&5 11293 cat conftest.$ac_ext >&5
11288 ac_cv_lib_intl_dgettext=no 11294 ac_cv_lib_intl_dgettext=no
11289 fi 11295 fi
11290 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11296 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11291 LIBS=$ac_check_lib_save_LIBS 11297 LIBS=$ac_check_lib_save_LIBS
11292 fi 11298 fi
11293 echo "$as_me:11293: result: $ac_cv_lib_intl_dgettext" >&5 11299 echo "$as_me:11299: result: $ac_cv_lib_intl_dgettext" >&5
11294 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6 11300 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6
11295 if test $ac_cv_lib_intl_dgettext = yes; then 11301 if test $ac_cv_lib_intl_dgettext = yes; then
11296 cat >>confdefs.h <<EOF 11302 cat >>confdefs.h <<EOF
11297 #define HAVE_LIBINTL 1 11303 #define HAVE_LIBINTL 1
11298 EOF 11304 EOF
11299 11305
11300 LIBS="-lintl $LIBS" 11306 LIBS="-lintl $LIBS"
11301 11307
11302 fi 11308 fi
11303 11309
11304 echo "$as_me:11304: checking whether localtime caches TZ" >&5 11310 echo "$as_me:11310: checking whether localtime caches TZ" >&5
11305 echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6 11311 echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6
11306 if test "${emacs_cv_localtime_cache+set}" = set; then 11312 if test "${emacs_cv_localtime_cache+set}" = set; then
11307 echo $ECHO_N "(cached) $ECHO_C" >&6 11313 echo $ECHO_N "(cached) $ECHO_C" >&6
11308 else 11314 else
11309 if test x$ac_cv_func_tzset = xyes; then 11315 if test x$ac_cv_func_tzset = xyes; then
11310 if test "$cross_compiling" = yes; then 11316 if test "$cross_compiling" = yes; then
11311 # If we have tzset, assume the worst when cross-compiling. 11317 # If we have tzset, assume the worst when cross-compiling.
11312 emacs_cv_localtime_cache=yes 11318 emacs_cv_localtime_cache=yes
11313 else 11319 else
11314 cat >conftest.$ac_ext <<_ACEOF 11320 cat >conftest.$ac_ext <<_ACEOF
11315 #line 11315 "configure" 11321 #line 11321 "configure"
11316 #include "confdefs.h" 11322 #include "confdefs.h"
11317 #include <time.h> 11323 #include <time.h>
11318 extern char **environ; 11324 extern char **environ;
11319 unset_TZ () 11325 unset_TZ ()
11320 { 11326 {
11343 exit (1); 11349 exit (1);
11344 exit (0); 11350 exit (0);
11345 } 11351 }
11346 _ACEOF 11352 _ACEOF
11347 rm -f conftest$ac_exeext 11353 rm -f conftest$ac_exeext
11348 if { (eval echo "$as_me:11348: \"$ac_link\"") >&5 11354 if { (eval echo "$as_me:11354: \"$ac_link\"") >&5
11349 (eval $ac_link) 2>&5 11355 (eval $ac_link) 2>&5
11350 ac_status=$? 11356 ac_status=$?
11351 echo "$as_me:11351: \$? = $ac_status" >&5 11357 echo "$as_me:11357: \$? = $ac_status" >&5
11352 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 11358 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11353 { (eval echo "$as_me:11353: \"$ac_try\"") >&5 11359 { (eval echo "$as_me:11359: \"$ac_try\"") >&5
11354 (eval $ac_try) 2>&5 11360 (eval $ac_try) 2>&5
11355 ac_status=$? 11361 ac_status=$?
11356 echo "$as_me:11356: \$? = $ac_status" >&5 11362 echo "$as_me:11362: \$? = $ac_status" >&5
11357 (exit $ac_status); }; }; then 11363 (exit $ac_status); }; }; then
11358 emacs_cv_localtime_cache=no 11364 emacs_cv_localtime_cache=no
11359 else 11365 else
11360 echo "$as_me: program exited with status $ac_status" >&5 11366 echo "$as_me: program exited with status $ac_status" >&5
11361 echo "$as_me: failed program was:" >&5 11367 echo "$as_me: failed program was:" >&5
11368 # If we lack tzset, report that localtime does not cache TZ, 11374 # If we lack tzset, report that localtime does not cache TZ,
11369 # since we can't invalidate the cache if we don't have tzset. 11375 # since we can't invalidate the cache if we don't have tzset.
11370 emacs_cv_localtime_cache=no 11376 emacs_cv_localtime_cache=no
11371 fi 11377 fi
11372 fi 11378 fi
11373 echo "$as_me:11373: result: $emacs_cv_localtime_cache" >&5 11379 echo "$as_me:11379: result: $emacs_cv_localtime_cache" >&5
11374 echo "${ECHO_T}$emacs_cv_localtime_cache" >&6 11380 echo "${ECHO_T}$emacs_cv_localtime_cache" >&6
11375 if test $emacs_cv_localtime_cache = yes; then 11381 if test $emacs_cv_localtime_cache = yes; then
11376 cat >>confdefs.h <<\EOF 11382 cat >>confdefs.h <<\EOF
11377 #define LOCALTIME_CACHE 1 11383 #define LOCALTIME_CACHE 1
11378 EOF 11384 EOF
11382 if test "x$HAVE_TIMEVAL" = xyes; then 11388 if test "x$HAVE_TIMEVAL" = xyes; then
11383 11389
11384 for ac_func in gettimeofday 11390 for ac_func in gettimeofday
11385 do 11391 do
11386 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 11392 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11387 echo "$as_me:11387: checking for $ac_func" >&5 11393 echo "$as_me:11393: checking for $ac_func" >&5
11388 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 11394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11389 if eval "test \"\${$as_ac_var+set}\" = set"; then 11395 if eval "test \"\${$as_ac_var+set}\" = set"; then
11390 echo $ECHO_N "(cached) $ECHO_C" >&6 11396 echo $ECHO_N "(cached) $ECHO_C" >&6
11391 else 11397 else
11392 cat >conftest.$ac_ext <<_ACEOF 11398 cat >conftest.$ac_ext <<_ACEOF
11393 #line 11393 "configure" 11399 #line 11399 "configure"
11394 #include "confdefs.h" 11400 #include "confdefs.h"
11395 /* System header to define __stub macros and hopefully few prototypes, 11401 /* System header to define __stub macros and hopefully few prototypes,
11396 which can conflict with char $ac_func (); below. */ 11402 which can conflict with char $ac_func (); below. */
11397 #include <assert.h> 11403 #include <assert.h>
11398 /* Override any gcc2 internal prototype to avoid an error. */ 11404 /* Override any gcc2 internal prototype to avoid an error. */
11419 ; 11425 ;
11420 return 0; 11426 return 0;
11421 } 11427 }
11422 _ACEOF 11428 _ACEOF
11423 rm -f conftest.$ac_objext conftest$ac_exeext 11429 rm -f conftest.$ac_objext conftest$ac_exeext
11424 if { (eval echo "$as_me:11424: \"$ac_link\"") >&5 11430 if { (eval echo "$as_me:11430: \"$ac_link\"") >&5
11425 (eval $ac_link) 2>&5 11431 (eval $ac_link) 2>&5
11426 ac_status=$? 11432 ac_status=$?
11427 echo "$as_me:11427: \$? = $ac_status" >&5 11433 echo "$as_me:11433: \$? = $ac_status" >&5
11428 (exit $ac_status); } && 11434 (exit $ac_status); } &&
11429 { ac_try='test -s conftest$ac_exeext' 11435 { ac_try='test -s conftest$ac_exeext'
11430 { (eval echo "$as_me:11430: \"$ac_try\"") >&5 11436 { (eval echo "$as_me:11436: \"$ac_try\"") >&5
11431 (eval $ac_try) 2>&5 11437 (eval $ac_try) 2>&5
11432 ac_status=$? 11438 ac_status=$?
11433 echo "$as_me:11433: \$? = $ac_status" >&5 11439 echo "$as_me:11439: \$? = $ac_status" >&5
11434 (exit $ac_status); }; }; then 11440 (exit $ac_status); }; }; then
11435 eval "$as_ac_var=yes" 11441 eval "$as_ac_var=yes"
11436 else 11442 else
11437 echo "$as_me: failed program was:" >&5 11443 echo "$as_me: failed program was:" >&5
11438 cat conftest.$ac_ext >&5 11444 cat conftest.$ac_ext >&5
11439 eval "$as_ac_var=no" 11445 eval "$as_ac_var=no"
11440 fi 11446 fi
11441 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11447 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11442 fi 11448 fi
11443 echo "$as_me:11443: result: `eval echo '${'$as_ac_var'}'`" >&5 11449 echo "$as_me:11449: result: `eval echo '${'$as_ac_var'}'`" >&5
11444 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 11450 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11445 if test `eval echo '${'$as_ac_var'}'` = yes; then 11451 if test `eval echo '${'$as_ac_var'}'` = yes; then
11446 cat >>confdefs.h <<EOF 11452 cat >>confdefs.h <<EOF
11447 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 11453 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11448 EOF 11454 EOF
11449 11455
11450 fi 11456 fi
11451 done 11457 done
11452 11458
11453 echo "$as_me:11453: checking whether gettimeofday can accept two arguments" >&5 11459 echo "$as_me:11459: checking whether gettimeofday can accept two arguments" >&5
11454 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6 11460 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
11455 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then 11461 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
11456 echo $ECHO_N "(cached) $ECHO_C" >&6 11462 echo $ECHO_N "(cached) $ECHO_C" >&6
11457 else 11463 else
11458 cat >conftest.$ac_ext <<_ACEOF 11464 cat >conftest.$ac_ext <<_ACEOF
11459 #line 11459 "configure" 11465 #line 11465 "configure"
11460 #include "confdefs.h" 11466 #include "confdefs.h"
11461 11467
11462 #ifdef TIME_WITH_SYS_TIME 11468 #ifdef TIME_WITH_SYS_TIME
11463 #include <sys/time.h> 11469 #include <sys/time.h>
11464 #include <time.h> 11470 #include <time.h>
11477 ; 11483 ;
11478 return 0; 11484 return 0;
11479 } 11485 }
11480 _ACEOF 11486 _ACEOF
11481 rm -f conftest.$ac_objext 11487 rm -f conftest.$ac_objext
11482 if { (eval echo "$as_me:11482: \"$ac_compile\"") >&5 11488 if { (eval echo "$as_me:11488: \"$ac_compile\"") >&5
11483 (eval $ac_compile) 2>&5 11489 (eval $ac_compile) 2>&5
11484 ac_status=$? 11490 ac_status=$?
11485 echo "$as_me:11485: \$? = $ac_status" >&5 11491 echo "$as_me:11491: \$? = $ac_status" >&5
11486 (exit $ac_status); } && 11492 (exit $ac_status); } &&
11487 { ac_try='test -s conftest.$ac_objext' 11493 { ac_try='test -s conftest.$ac_objext'
11488 { (eval echo "$as_me:11488: \"$ac_try\"") >&5 11494 { (eval echo "$as_me:11494: \"$ac_try\"") >&5
11489 (eval $ac_try) 2>&5 11495 (eval $ac_try) 2>&5
11490 ac_status=$? 11496 ac_status=$?
11491 echo "$as_me:11491: \$? = $ac_status" >&5 11497 echo "$as_me:11497: \$? = $ac_status" >&5
11492 (exit $ac_status); }; }; then 11498 (exit $ac_status); }; }; then
11493 emacs_cv_gettimeofday_two_arguments=yes 11499 emacs_cv_gettimeofday_two_arguments=yes
11494 else 11500 else
11495 echo "$as_me: failed program was:" >&5 11501 echo "$as_me: failed program was:" >&5
11496 cat conftest.$ac_ext >&5 11502 cat conftest.$ac_ext >&5
11497 emacs_cv_gettimeofday_two_arguments=no 11503 emacs_cv_gettimeofday_two_arguments=no
11498 fi 11504 fi
11499 rm -f conftest.$ac_objext conftest.$ac_ext 11505 rm -f conftest.$ac_objext conftest.$ac_ext
11500 fi 11506 fi
11501 echo "$as_me:11501: result: $emacs_cv_gettimeofday_two_arguments" >&5 11507 echo "$as_me:11507: result: $emacs_cv_gettimeofday_two_arguments" >&5
11502 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6 11508 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
11503 if test $emacs_cv_gettimeofday_two_arguments = no; then 11509 if test $emacs_cv_gettimeofday_two_arguments = no; then
11504 cat >>confdefs.h <<\EOF 11510 cat >>confdefs.h <<\EOF
11505 #define GETTIMEOFDAY_ONE_ARGUMENT 1 11511 #define GETTIMEOFDAY_ONE_ARGUMENT 1
11506 EOF 11512 EOF
11507 11513
11508 fi 11514 fi
11509 fi 11515 fi
11510 11516
11511 if test "$ac_cv_func_gettimeofday" = yes; then 11517 if test "$ac_cv_func_gettimeofday" = yes; then
11512 echo "$as_me:11512: checking for struct timezone" >&5 11518 echo "$as_me:11518: checking for struct timezone" >&5
11513 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6 11519 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
11514 if test "${emacs_cv_struct_timezone+set}" = set; then 11520 if test "${emacs_cv_struct_timezone+set}" = set; then
11515 echo $ECHO_N "(cached) $ECHO_C" >&6 11521 echo $ECHO_N "(cached) $ECHO_C" >&6
11516 else 11522 else
11517 cat >conftest.$ac_ext <<_ACEOF 11523 cat >conftest.$ac_ext <<_ACEOF
11518 #line 11518 "configure" 11524 #line 11524 "configure"
11519 #include "confdefs.h" 11525 #include "confdefs.h"
11520 #include <sys/time.h> 11526 #include <sys/time.h>
11521 int 11527 int
11522 main () 11528 main ()
11523 { 11529 {
11525 ; 11531 ;
11526 return 0; 11532 return 0;
11527 } 11533 }
11528 _ACEOF 11534 _ACEOF
11529 rm -f conftest.$ac_objext 11535 rm -f conftest.$ac_objext
11530 if { (eval echo "$as_me:11530: \"$ac_compile\"") >&5 11536 if { (eval echo "$as_me:11536: \"$ac_compile\"") >&5
11531 (eval $ac_compile) 2>&5 11537 (eval $ac_compile) 2>&5
11532 ac_status=$? 11538 ac_status=$?
11533 echo "$as_me:11533: \$? = $ac_status" >&5 11539 echo "$as_me:11539: \$? = $ac_status" >&5
11534 (exit $ac_status); } && 11540 (exit $ac_status); } &&
11535 { ac_try='test -s conftest.$ac_objext' 11541 { ac_try='test -s conftest.$ac_objext'
11536 { (eval echo "$as_me:11536: \"$ac_try\"") >&5 11542 { (eval echo "$as_me:11542: \"$ac_try\"") >&5
11537 (eval $ac_try) 2>&5 11543 (eval $ac_try) 2>&5
11538 ac_status=$? 11544 ac_status=$?
11539 echo "$as_me:11539: \$? = $ac_status" >&5 11545 echo "$as_me:11545: \$? = $ac_status" >&5
11540 (exit $ac_status); }; }; then 11546 (exit $ac_status); }; }; then
11541 if test "$cross_compiling" = yes; then 11547 if test "$cross_compiling" = yes; then
11542 emacs_cv_struct_timezone=yes 11548 emacs_cv_struct_timezone=yes
11543 else 11549 else
11544 cat >conftest.$ac_ext <<_ACEOF 11550 cat >conftest.$ac_ext <<_ACEOF
11545 #line 11545 "configure" 11551 #line 11551 "configure"
11546 #include "confdefs.h" 11552 #include "confdefs.h"
11547 11553
11548 #ifdef TIME_WITH_SYS_TIME 11554 #ifdef TIME_WITH_SYS_TIME
11549 #include <sys/time.h> 11555 #include <sys/time.h>
11550 #include <time.h> 11556 #include <time.h>
11560 struct timezone dummy; 11566 struct timezone dummy;
11561 exit (gettimeofday (&time, &dummy)); 11567 exit (gettimeofday (&time, &dummy));
11562 } 11568 }
11563 _ACEOF 11569 _ACEOF
11564 rm -f conftest$ac_exeext 11570 rm -f conftest$ac_exeext
11565 if { (eval echo "$as_me:11565: \"$ac_link\"") >&5 11571 if { (eval echo "$as_me:11571: \"$ac_link\"") >&5
11566 (eval $ac_link) 2>&5 11572 (eval $ac_link) 2>&5
11567 ac_status=$? 11573 ac_status=$?
11568 echo "$as_me:11568: \$? = $ac_status" >&5 11574 echo "$as_me:11574: \$? = $ac_status" >&5
11569 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 11575 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11570 { (eval echo "$as_me:11570: \"$ac_try\"") >&5 11576 { (eval echo "$as_me:11576: \"$ac_try\"") >&5
11571 (eval $ac_try) 2>&5 11577 (eval $ac_try) 2>&5
11572 ac_status=$? 11578 ac_status=$?
11573 echo "$as_me:11573: \$? = $ac_status" >&5 11579 echo "$as_me:11579: \$? = $ac_status" >&5
11574 (exit $ac_status); }; }; then 11580 (exit $ac_status); }; }; then
11575 emacs_cv_struct_timezone=yes 11581 emacs_cv_struct_timezone=yes
11576 else 11582 else
11577 echo "$as_me: program exited with status $ac_status" >&5 11583 echo "$as_me: program exited with status $ac_status" >&5
11578 echo "$as_me: failed program was:" >&5 11584 echo "$as_me: failed program was:" >&5
11586 cat conftest.$ac_ext >&5 11592 cat conftest.$ac_ext >&5
11587 emacs_cv_struct_timezone=no 11593 emacs_cv_struct_timezone=no
11588 fi 11594 fi
11589 rm -f conftest.$ac_objext conftest.$ac_ext 11595 rm -f conftest.$ac_objext conftest.$ac_ext
11590 fi 11596 fi
11591 echo "$as_me:11591: result: $emacs_cv_struct_timezone" >&5 11597 echo "$as_me:11597: result: $emacs_cv_struct_timezone" >&5
11592 echo "${ECHO_T}$emacs_cv_struct_timezone" >&6 11598 echo "${ECHO_T}$emacs_cv_struct_timezone" >&6
11593 fi 11599 fi
11594 11600
11595 ok_so_far=yes 11601 ok_so_far=yes
11596 echo "$as_me:11596: checking for socket" >&5 11602 echo "$as_me:11602: checking for socket" >&5
11597 echo $ECHO_N "checking for socket... $ECHO_C" >&6 11603 echo $ECHO_N "checking for socket... $ECHO_C" >&6
11598 if test "${ac_cv_func_socket+set}" = set; then 11604 if test "${ac_cv_func_socket+set}" = set; then
11599 echo $ECHO_N "(cached) $ECHO_C" >&6 11605 echo $ECHO_N "(cached) $ECHO_C" >&6
11600 else 11606 else
11601 cat >conftest.$ac_ext <<_ACEOF 11607 cat >conftest.$ac_ext <<_ACEOF
11602 #line 11602 "configure" 11608 #line 11608 "configure"
11603 #include "confdefs.h" 11609 #include "confdefs.h"
11604 /* System header to define __stub macros and hopefully few prototypes, 11610 /* System header to define __stub macros and hopefully few prototypes,
11605 which can conflict with char socket (); below. */ 11611 which can conflict with char socket (); below. */
11606 #include <assert.h> 11612 #include <assert.h>
11607 /* Override any gcc2 internal prototype to avoid an error. */ 11613 /* Override any gcc2 internal prototype to avoid an error. */
11628 ; 11634 ;
11629 return 0; 11635 return 0;
11630 } 11636 }
11631 _ACEOF 11637 _ACEOF
11632 rm -f conftest.$ac_objext conftest$ac_exeext 11638 rm -f conftest.$ac_objext conftest$ac_exeext
11633 if { (eval echo "$as_me:11633: \"$ac_link\"") >&5 11639 if { (eval echo "$as_me:11639: \"$ac_link\"") >&5
11634 (eval $ac_link) 2>&5 11640 (eval $ac_link) 2>&5
11635 ac_status=$? 11641 ac_status=$?
11636 echo "$as_me:11636: \$? = $ac_status" >&5 11642 echo "$as_me:11642: \$? = $ac_status" >&5
11637 (exit $ac_status); } && 11643 (exit $ac_status); } &&
11638 { ac_try='test -s conftest$ac_exeext' 11644 { ac_try='test -s conftest$ac_exeext'
11639 { (eval echo "$as_me:11639: \"$ac_try\"") >&5 11645 { (eval echo "$as_me:11645: \"$ac_try\"") >&5
11640 (eval $ac_try) 2>&5 11646 (eval $ac_try) 2>&5
11641 ac_status=$? 11647 ac_status=$?
11642 echo "$as_me:11642: \$? = $ac_status" >&5 11648 echo "$as_me:11648: \$? = $ac_status" >&5
11643 (exit $ac_status); }; }; then 11649 (exit $ac_status); }; }; then
11644 ac_cv_func_socket=yes 11650 ac_cv_func_socket=yes
11645 else 11651 else
11646 echo "$as_me: failed program was:" >&5 11652 echo "$as_me: failed program was:" >&5
11647 cat conftest.$ac_ext >&5 11653 cat conftest.$ac_ext >&5
11648 ac_cv_func_socket=no 11654 ac_cv_func_socket=no
11649 fi 11655 fi
11650 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11656 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11651 fi 11657 fi
11652 echo "$as_me:11652: result: $ac_cv_func_socket" >&5 11658 echo "$as_me:11658: result: $ac_cv_func_socket" >&5
11653 echo "${ECHO_T}$ac_cv_func_socket" >&6 11659 echo "${ECHO_T}$ac_cv_func_socket" >&6
11654 if test $ac_cv_func_socket = yes; then 11660 if test $ac_cv_func_socket = yes; then
11655 : 11661 :
11656 else 11662 else
11657 ok_so_far=no 11663 ok_so_far=no
11658 fi 11664 fi
11659 11665
11660 if test $ok_so_far = yes; then 11666 if test $ok_so_far = yes; then
11661 echo "$as_me:11661: checking for netinet/in.h" >&5 11667 echo "$as_me:11667: checking for netinet/in.h" >&5
11662 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6 11668 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6
11663 if test "${ac_cv_header_netinet_in_h+set}" = set; then 11669 if test "${ac_cv_header_netinet_in_h+set}" = set; then
11664 echo $ECHO_N "(cached) $ECHO_C" >&6 11670 echo $ECHO_N "(cached) $ECHO_C" >&6
11665 else 11671 else
11666 cat >conftest.$ac_ext <<_ACEOF 11672 cat >conftest.$ac_ext <<_ACEOF
11667 #line 11667 "configure" 11673 #line 11673 "configure"
11668 #include "confdefs.h" 11674 #include "confdefs.h"
11669 #include <netinet/in.h> 11675 #include <netinet/in.h>
11670 _ACEOF 11676 _ACEOF
11671 if { (eval echo "$as_me:11671: \"$ac_cpp conftest.$ac_ext\"") >&5 11677 if { (eval echo "$as_me:11677: \"$ac_cpp conftest.$ac_ext\"") >&5
11672 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11678 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11673 ac_status=$? 11679 ac_status=$?
11674 egrep -v '^ *\+' conftest.er1 >conftest.err 11680 egrep -v '^ *\+' conftest.er1 >conftest.err
11675 rm -f conftest.er1 11681 rm -f conftest.er1
11676 cat conftest.err >&5 11682 cat conftest.err >&5
11677 echo "$as_me:11677: \$? = $ac_status" >&5 11683 echo "$as_me:11683: \$? = $ac_status" >&5
11678 (exit $ac_status); } >/dev/null; then 11684 (exit $ac_status); } >/dev/null; then
11679 if test -s conftest.err; then 11685 if test -s conftest.err; then
11680 ac_cpp_err=$ac_c_preproc_warn_flag 11686 ac_cpp_err=$ac_c_preproc_warn_flag
11681 else 11687 else
11682 ac_cpp_err= 11688 ac_cpp_err=
11691 cat conftest.$ac_ext >&5 11697 cat conftest.$ac_ext >&5
11692 ac_cv_header_netinet_in_h=no 11698 ac_cv_header_netinet_in_h=no
11693 fi 11699 fi
11694 rm -f conftest.err conftest.$ac_ext 11700 rm -f conftest.err conftest.$ac_ext
11695 fi 11701 fi
11696 echo "$as_me:11696: result: $ac_cv_header_netinet_in_h" >&5 11702 echo "$as_me:11702: result: $ac_cv_header_netinet_in_h" >&5
11697 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6 11703 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6
11698 if test $ac_cv_header_netinet_in_h = yes; then 11704 if test $ac_cv_header_netinet_in_h = yes; then
11699 : 11705 :
11700 else 11706 else
11701 ok_so_far=no 11707 ok_so_far=no
11702 fi 11708 fi
11703 11709
11704 fi 11710 fi
11705 if test $ok_so_far = yes; then 11711 if test $ok_so_far = yes; then
11706 echo "$as_me:11706: checking for arpa/inet.h" >&5 11712 echo "$as_me:11712: checking for arpa/inet.h" >&5
11707 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 11713 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6
11708 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 11714 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
11709 echo $ECHO_N "(cached) $ECHO_C" >&6 11715 echo $ECHO_N "(cached) $ECHO_C" >&6
11710 else 11716 else
11711 cat >conftest.$ac_ext <<_ACEOF 11717 cat >conftest.$ac_ext <<_ACEOF
11712 #line 11712 "configure" 11718 #line 11718 "configure"
11713 #include "confdefs.h" 11719 #include "confdefs.h"
11714 #include <arpa/inet.h> 11720 #include <arpa/inet.h>
11715 _ACEOF 11721 _ACEOF
11716 if { (eval echo "$as_me:11716: \"$ac_cpp conftest.$ac_ext\"") >&5 11722 if { (eval echo "$as_me:11722: \"$ac_cpp conftest.$ac_ext\"") >&5
11717 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11723 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11718 ac_status=$? 11724 ac_status=$?
11719 egrep -v '^ *\+' conftest.er1 >conftest.err 11725 egrep -v '^ *\+' conftest.er1 >conftest.err
11720 rm -f conftest.er1 11726 rm -f conftest.er1
11721 cat conftest.err >&5 11727 cat conftest.err >&5
11722 echo "$as_me:11722: \$? = $ac_status" >&5 11728 echo "$as_me:11728: \$? = $ac_status" >&5
11723 (exit $ac_status); } >/dev/null; then 11729 (exit $ac_status); } >/dev/null; then
11724 if test -s conftest.err; then 11730 if test -s conftest.err; then
11725 ac_cpp_err=$ac_c_preproc_warn_flag 11731 ac_cpp_err=$ac_c_preproc_warn_flag
11726 else 11732 else
11727 ac_cpp_err= 11733 ac_cpp_err=
11736 cat conftest.$ac_ext >&5 11742 cat conftest.$ac_ext >&5
11737 ac_cv_header_arpa_inet_h=no 11743 ac_cv_header_arpa_inet_h=no
11738 fi 11744 fi
11739 rm -f conftest.err conftest.$ac_ext 11745 rm -f conftest.err conftest.$ac_ext
11740 fi 11746 fi
11741 echo "$as_me:11741: result: $ac_cv_header_arpa_inet_h" >&5 11747 echo "$as_me:11747: result: $ac_cv_header_arpa_inet_h" >&5
11742 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 11748 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6
11743 if test $ac_cv_header_arpa_inet_h = yes; then 11749 if test $ac_cv_header_arpa_inet_h = yes; then
11744 : 11750 :
11745 else 11751 else
11746 ok_so_far=no 11752 ok_so_far=no
11759 #define HAVE_AIX_SMT_EXP 1 11765 #define HAVE_AIX_SMT_EXP 1
11760 EOF 11766 EOF
11761 11767
11762 fi 11768 fi
11763 11769
11764 echo "$as_me:11764: checking whether system supports dynamic ptys" >&5 11770 echo "$as_me:11770: checking whether system supports dynamic ptys" >&5
11765 echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6 11771 echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6
11766 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then 11772 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then
11767 echo "$as_me:11767: result: yes" >&5 11773 echo "$as_me:11773: result: yes" >&5
11768 echo "${ECHO_T}yes" >&6 11774 echo "${ECHO_T}yes" >&6
11769 cat >>confdefs.h <<\EOF 11775 cat >>confdefs.h <<\EOF
11770 #define HAVE_DEV_PTMX 1 11776 #define HAVE_DEV_PTMX 1
11771 EOF 11777 EOF
11772 11778
11773 else 11779 else
11774 echo "$as_me:11774: result: no" >&5 11780 echo "$as_me:11780: result: no" >&5
11775 echo "${ECHO_T}no" >&6 11781 echo "${ECHO_T}no" >&6
11776 fi 11782 fi
11777 11783
11778 echo "$as_me:11778: checking for pid_t" >&5 11784 echo "$as_me:11784: checking for pid_t" >&5
11779 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 11785 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
11780 if test "${ac_cv_type_pid_t+set}" = set; then 11786 if test "${ac_cv_type_pid_t+set}" = set; then
11781 echo $ECHO_N "(cached) $ECHO_C" >&6 11787 echo $ECHO_N "(cached) $ECHO_C" >&6
11782 else 11788 else
11783 cat >conftest.$ac_ext <<_ACEOF 11789 cat >conftest.$ac_ext <<_ACEOF
11784 #line 11784 "configure" 11790 #line 11790 "configure"
11785 #include "confdefs.h" 11791 #include "confdefs.h"
11786 $ac_includes_default 11792 $ac_includes_default
11787 int 11793 int
11788 main () 11794 main ()
11789 { 11795 {
11794 ; 11800 ;
11795 return 0; 11801 return 0;
11796 } 11802 }
11797 _ACEOF 11803 _ACEOF
11798 rm -f conftest.$ac_objext 11804 rm -f conftest.$ac_objext
11799 if { (eval echo "$as_me:11799: \"$ac_compile\"") >&5 11805 if { (eval echo "$as_me:11805: \"$ac_compile\"") >&5
11800 (eval $ac_compile) 2>&5 11806 (eval $ac_compile) 2>&5
11801 ac_status=$? 11807 ac_status=$?
11802 echo "$as_me:11802: \$? = $ac_status" >&5 11808 echo "$as_me:11808: \$? = $ac_status" >&5
11803 (exit $ac_status); } && 11809 (exit $ac_status); } &&
11804 { ac_try='test -s conftest.$ac_objext' 11810 { ac_try='test -s conftest.$ac_objext'
11805 { (eval echo "$as_me:11805: \"$ac_try\"") >&5 11811 { (eval echo "$as_me:11811: \"$ac_try\"") >&5
11806 (eval $ac_try) 2>&5 11812 (eval $ac_try) 2>&5
11807 ac_status=$? 11813 ac_status=$?
11808 echo "$as_me:11808: \$? = $ac_status" >&5 11814 echo "$as_me:11814: \$? = $ac_status" >&5
11809 (exit $ac_status); }; }; then 11815 (exit $ac_status); }; }; then
11810 ac_cv_type_pid_t=yes 11816 ac_cv_type_pid_t=yes
11811 else 11817 else
11812 echo "$as_me: failed program was:" >&5 11818 echo "$as_me: failed program was:" >&5
11813 cat conftest.$ac_ext >&5 11819 cat conftest.$ac_ext >&5
11814 ac_cv_type_pid_t=no 11820 ac_cv_type_pid_t=no
11815 fi 11821 fi
11816 rm -f conftest.$ac_objext conftest.$ac_ext 11822 rm -f conftest.$ac_objext conftest.$ac_ext
11817 fi 11823 fi
11818 echo "$as_me:11818: result: $ac_cv_type_pid_t" >&5 11824 echo "$as_me:11824: result: $ac_cv_type_pid_t" >&5
11819 echo "${ECHO_T}$ac_cv_type_pid_t" >&6 11825 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
11820 if test $ac_cv_type_pid_t = yes; then 11826 if test $ac_cv_type_pid_t = yes; then
11821 : 11827 :
11822 else 11828 else
11823 11829
11828 fi 11834 fi
11829 11835
11830 for ac_header in unistd.h vfork.h 11836 for ac_header in unistd.h vfork.h
11831 do 11837 do
11832 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11838 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11833 echo "$as_me:11833: checking for $ac_header" >&5 11839 echo "$as_me:11839: checking for $ac_header" >&5
11834 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11840 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11835 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11841 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11836 echo $ECHO_N "(cached) $ECHO_C" >&6 11842 echo $ECHO_N "(cached) $ECHO_C" >&6
11837 else 11843 else
11838 cat >conftest.$ac_ext <<_ACEOF 11844 cat >conftest.$ac_ext <<_ACEOF
11839 #line 11839 "configure" 11845 #line 11845 "configure"
11840 #include "confdefs.h" 11846 #include "confdefs.h"
11841 #include <$ac_header> 11847 #include <$ac_header>
11842 _ACEOF 11848 _ACEOF
11843 if { (eval echo "$as_me:11843: \"$ac_cpp conftest.$ac_ext\"") >&5 11849 if { (eval echo "$as_me:11849: \"$ac_cpp conftest.$ac_ext\"") >&5
11844 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11850 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11845 ac_status=$? 11851 ac_status=$?
11846 egrep -v '^ *\+' conftest.er1 >conftest.err 11852 egrep -v '^ *\+' conftest.er1 >conftest.err
11847 rm -f conftest.er1 11853 rm -f conftest.er1
11848 cat conftest.err >&5 11854 cat conftest.err >&5
11849 echo "$as_me:11849: \$? = $ac_status" >&5 11855 echo "$as_me:11855: \$? = $ac_status" >&5
11850 (exit $ac_status); } >/dev/null; then 11856 (exit $ac_status); } >/dev/null; then
11851 if test -s conftest.err; then 11857 if test -s conftest.err; then
11852 ac_cpp_err=$ac_c_preproc_warn_flag 11858 ac_cpp_err=$ac_c_preproc_warn_flag
11853 else 11859 else
11854 ac_cpp_err= 11860 ac_cpp_err=
11863 cat conftest.$ac_ext >&5 11869 cat conftest.$ac_ext >&5
11864 eval "$as_ac_Header=no" 11870 eval "$as_ac_Header=no"
11865 fi 11871 fi
11866 rm -f conftest.err conftest.$ac_ext 11872 rm -f conftest.err conftest.$ac_ext
11867 fi 11873 fi
11868 echo "$as_me:11868: result: `eval echo '${'$as_ac_Header'}'`" >&5 11874 echo "$as_me:11874: result: `eval echo '${'$as_ac_Header'}'`" >&5
11869 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11875 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11870 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11876 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11871 cat >>confdefs.h <<EOF 11877 cat >>confdefs.h <<EOF
11872 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11878 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11873 EOF 11879 EOF
11876 done 11882 done
11877 11883
11878 for ac_func in fork vfork 11884 for ac_func in fork vfork
11879 do 11885 do
11880 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 11886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11881 echo "$as_me:11881: checking for $ac_func" >&5 11887 echo "$as_me:11887: checking for $ac_func" >&5
11882 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 11888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11883 if eval "test \"\${$as_ac_var+set}\" = set"; then 11889 if eval "test \"\${$as_ac_var+set}\" = set"; then
11884 echo $ECHO_N "(cached) $ECHO_C" >&6 11890 echo $ECHO_N "(cached) $ECHO_C" >&6
11885 else 11891 else
11886 cat >conftest.$ac_ext <<_ACEOF 11892 cat >conftest.$ac_ext <<_ACEOF
11887 #line 11887 "configure" 11893 #line 11893 "configure"
11888 #include "confdefs.h" 11894 #include "confdefs.h"
11889 /* System header to define __stub macros and hopefully few prototypes, 11895 /* System header to define __stub macros and hopefully few prototypes,
11890 which can conflict with char $ac_func (); below. */ 11896 which can conflict with char $ac_func (); below. */
11891 #include <assert.h> 11897 #include <assert.h>
11892 /* Override any gcc2 internal prototype to avoid an error. */ 11898 /* Override any gcc2 internal prototype to avoid an error. */
11913 ; 11919 ;
11914 return 0; 11920 return 0;
11915 } 11921 }
11916 _ACEOF 11922 _ACEOF
11917 rm -f conftest.$ac_objext conftest$ac_exeext 11923 rm -f conftest.$ac_objext conftest$ac_exeext
11918 if { (eval echo "$as_me:11918: \"$ac_link\"") >&5 11924 if { (eval echo "$as_me:11924: \"$ac_link\"") >&5
11919 (eval $ac_link) 2>&5 11925 (eval $ac_link) 2>&5
11920 ac_status=$? 11926 ac_status=$?
11921 echo "$as_me:11921: \$? = $ac_status" >&5 11927 echo "$as_me:11927: \$? = $ac_status" >&5
11922 (exit $ac_status); } && 11928 (exit $ac_status); } &&
11923 { ac_try='test -s conftest$ac_exeext' 11929 { ac_try='test -s conftest$ac_exeext'
11924 { (eval echo "$as_me:11924: \"$ac_try\"") >&5 11930 { (eval echo "$as_me:11930: \"$ac_try\"") >&5
11925 (eval $ac_try) 2>&5 11931 (eval $ac_try) 2>&5
11926 ac_status=$? 11932 ac_status=$?
11927 echo "$as_me:11927: \$? = $ac_status" >&5 11933 echo "$as_me:11933: \$? = $ac_status" >&5
11928 (exit $ac_status); }; }; then 11934 (exit $ac_status); }; }; then
11929 eval "$as_ac_var=yes" 11935 eval "$as_ac_var=yes"
11930 else 11936 else
11931 echo "$as_me: failed program was:" >&5 11937 echo "$as_me: failed program was:" >&5
11932 cat conftest.$ac_ext >&5 11938 cat conftest.$ac_ext >&5
11933 eval "$as_ac_var=no" 11939 eval "$as_ac_var=no"
11934 fi 11940 fi
11935 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11941 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11936 fi 11942 fi
11937 echo "$as_me:11937: result: `eval echo '${'$as_ac_var'}'`" >&5 11943 echo "$as_me:11943: result: `eval echo '${'$as_ac_var'}'`" >&5
11938 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 11944 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11939 if test `eval echo '${'$as_ac_var'}'` = yes; then 11945 if test `eval echo '${'$as_ac_var'}'` = yes; then
11940 cat >>confdefs.h <<EOF 11946 cat >>confdefs.h <<EOF
11941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 11947 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11942 EOF 11948 EOF
11944 fi 11950 fi
11945 done 11951 done
11946 11952
11947 ac_cv_func_fork_works=$ac_cv_func_fork 11953 ac_cv_func_fork_works=$ac_cv_func_fork
11948 if test "x$ac_cv_func_fork" = xyes; then 11954 if test "x$ac_cv_func_fork" = xyes; then
11949 echo "$as_me:11949: checking for working fork" >&5 11955 echo "$as_me:11955: checking for working fork" >&5
11950 echo $ECHO_N "checking for working fork... $ECHO_C" >&6 11956 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
11951 if test "${ac_cv_func_fork_works+set}" = set; then 11957 if test "${ac_cv_func_fork_works+set}" = set; then
11952 echo $ECHO_N "(cached) $ECHO_C" >&6 11958 echo $ECHO_N "(cached) $ECHO_C" >&6
11953 else 11959 else
11954 if test "$cross_compiling" = yes; then 11960 if test "$cross_compiling" = yes; then
11967 exit (1); 11973 exit (1);
11968 exit (0); 11974 exit (0);
11969 } 11975 }
11970 _ACEOF 11976 _ACEOF
11971 rm -f conftest$ac_exeext 11977 rm -f conftest$ac_exeext
11972 if { (eval echo "$as_me:11972: \"$ac_link\"") >&5 11978 if { (eval echo "$as_me:11978: \"$ac_link\"") >&5
11973 (eval $ac_link) 2>&5 11979 (eval $ac_link) 2>&5
11974 ac_status=$? 11980 ac_status=$?
11975 echo "$as_me:11975: \$? = $ac_status" >&5 11981 echo "$as_me:11981: \$? = $ac_status" >&5
11976 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 11982 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11977 { (eval echo "$as_me:11977: \"$ac_try\"") >&5 11983 { (eval echo "$as_me:11983: \"$ac_try\"") >&5
11978 (eval $ac_try) 2>&5 11984 (eval $ac_try) 2>&5
11979 ac_status=$? 11985 ac_status=$?
11980 echo "$as_me:11980: \$? = $ac_status" >&5 11986 echo "$as_me:11986: \$? = $ac_status" >&5
11981 (exit $ac_status); }; }; then 11987 (exit $ac_status); }; }; then
11982 ac_cv_func_fork_works=yes 11988 ac_cv_func_fork_works=yes
11983 else 11989 else
11984 echo "$as_me: program exited with status $ac_status" >&5 11990 echo "$as_me: program exited with status $ac_status" >&5
11985 echo "$as_me: failed program was:" >&5 11991 echo "$as_me: failed program was:" >&5
11987 ac_cv_func_fork_works=no 11993 ac_cv_func_fork_works=no
11988 fi 11994 fi
11989 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11995 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11990 fi 11996 fi
11991 fi 11997 fi
11992 echo "$as_me:11992: result: $ac_cv_func_fork_works" >&5 11998 echo "$as_me:11998: result: $ac_cv_func_fork_works" >&5
11993 echo "${ECHO_T}$ac_cv_func_fork_works" >&6 11999 echo "${ECHO_T}$ac_cv_func_fork_works" >&6
11994 12000
11995 fi 12001 fi
11996 if test "x$ac_cv_func_fork_works" = xcross; then 12002 if test "x$ac_cv_func_fork_works" = xcross; then
11997 case $host in 12003 case $host in
12001 ;; 12007 ;;
12002 *) 12008 *)
12003 ac_cv_func_fork_works=yes 12009 ac_cv_func_fork_works=yes
12004 ;; 12010 ;;
12005 esac 12011 esac
12006 { echo "$as_me:12006: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5 12012 { echo "$as_me:12012: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5
12007 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&2;} 12013 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&2;}
12008 fi 12014 fi
12009 ac_cv_func_vfork_works=$ac_cv_func_vfork 12015 ac_cv_func_vfork_works=$ac_cv_func_vfork
12010 if test "x$ac_cv_func_vfork" = xyes; then 12016 if test "x$ac_cv_func_vfork" = xyes; then
12011 echo "$as_me:12011: checking for working vfork" >&5 12017 echo "$as_me:12017: checking for working vfork" >&5
12012 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6 12018 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
12013 if test "${ac_cv_func_vfork_works+set}" = set; then 12019 if test "${ac_cv_func_vfork_works+set}" = set; then
12014 echo $ECHO_N "(cached) $ECHO_C" >&6 12020 echo $ECHO_N "(cached) $ECHO_C" >&6
12015 else 12021 else
12016 if test "$cross_compiling" = yes; then 12022 if test "$cross_compiling" = yes; then
12017 ac_cv_func_vfork_works=cross 12023 ac_cv_func_vfork_works=cross
12018 else 12024 else
12019 cat >conftest.$ac_ext <<_ACEOF 12025 cat >conftest.$ac_ext <<_ACEOF
12020 #line 12020 "configure" 12026 #line 12026 "configure"
12021 #include "confdefs.h" 12027 #include "confdefs.h"
12022 /* Thanks to Paul Eggert for this test. */ 12028 /* Thanks to Paul Eggert for this test. */
12023 #include <stdio.h> 12029 #include <stdio.h>
12024 #include <sys/types.h> 12030 #include <sys/types.h>
12025 #include <sys/stat.h> 12031 #include <sys/stat.h>
12112 ); 12118 );
12113 } 12119 }
12114 } 12120 }
12115 _ACEOF 12121 _ACEOF
12116 rm -f conftest$ac_exeext 12122 rm -f conftest$ac_exeext
12117 if { (eval echo "$as_me:12117: \"$ac_link\"") >&5 12123 if { (eval echo "$as_me:12123: \"$ac_link\"") >&5
12118 (eval $ac_link) 2>&5 12124 (eval $ac_link) 2>&5
12119 ac_status=$? 12125 ac_status=$?
12120 echo "$as_me:12120: \$? = $ac_status" >&5 12126 echo "$as_me:12126: \$? = $ac_status" >&5
12121 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 12127 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12122 { (eval echo "$as_me:12122: \"$ac_try\"") >&5 12128 { (eval echo "$as_me:12128: \"$ac_try\"") >&5
12123 (eval $ac_try) 2>&5 12129 (eval $ac_try) 2>&5
12124 ac_status=$? 12130 ac_status=$?
12125 echo "$as_me:12125: \$? = $ac_status" >&5 12131 echo "$as_me:12131: \$? = $ac_status" >&5
12126 (exit $ac_status); }; }; then 12132 (exit $ac_status); }; }; then
12127 ac_cv_func_vfork_works=yes 12133 ac_cv_func_vfork_works=yes
12128 else 12134 else
12129 echo "$as_me: program exited with status $ac_status" >&5 12135 echo "$as_me: program exited with status $ac_status" >&5
12130 echo "$as_me: failed program was:" >&5 12136 echo "$as_me: failed program was:" >&5
12132 ac_cv_func_vfork_works=no 12138 ac_cv_func_vfork_works=no
12133 fi 12139 fi
12134 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 12140 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12135 fi 12141 fi
12136 fi 12142 fi
12137 echo "$as_me:12137: result: $ac_cv_func_vfork_works" >&5 12143 echo "$as_me:12143: result: $ac_cv_func_vfork_works" >&5
12138 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6 12144 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
12139 12145
12140 fi; 12146 fi;
12141 if test "x$ac_cv_func_fork_works" = xcross; then 12147 if test "x$ac_cv_func_fork_works" = xcross; then
12142 ac_cv_func_vfork_works=ac_cv_func_vfork 12148 ac_cv_func_vfork_works=ac_cv_func_vfork
12143 { echo "$as_me:12143: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5 12149 { echo "$as_me:12149: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5
12144 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&2;} 12150 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&2;}
12145 fi 12151 fi
12146 12152
12147 if test "x$ac_cv_func_vfork_works" = xyes; then 12153 if test "x$ac_cv_func_vfork_works" = xyes; then
12148 12154
12164 EOF 12170 EOF
12165 12171
12166 fi 12172 fi
12167 12173
12168 # Fixme: This should be replaced when we have autoconf 2.14. 12174 # Fixme: This should be replaced when we have autoconf 2.14.
12169 echo "$as_me:12169: checking for size_t" >&5 12175 echo "$as_me:12175: checking for size_t" >&5
12170 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 12176 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
12171 if test "${ac_cv_type_size_t+set}" = set; then 12177 if test "${ac_cv_type_size_t+set}" = set; then
12172 echo $ECHO_N "(cached) $ECHO_C" >&6 12178 echo $ECHO_N "(cached) $ECHO_C" >&6
12173 else 12179 else
12174 cat >conftest.$ac_ext <<_ACEOF 12180 cat >conftest.$ac_ext <<_ACEOF
12175 #line 12175 "configure" 12181 #line 12181 "configure"
12176 #include "confdefs.h" 12182 #include "confdefs.h"
12177 $ac_includes_default 12183 $ac_includes_default
12178 int 12184 int
12179 main () 12185 main ()
12180 { 12186 {
12185 ; 12191 ;
12186 return 0; 12192 return 0;
12187 } 12193 }
12188 _ACEOF 12194 _ACEOF
12189 rm -f conftest.$ac_objext 12195 rm -f conftest.$ac_objext
12190 if { (eval echo "$as_me:12190: \"$ac_compile\"") >&5 12196 if { (eval echo "$as_me:12196: \"$ac_compile\"") >&5
12191 (eval $ac_compile) 2>&5 12197 (eval $ac_compile) 2>&5
12192 ac_status=$? 12198 ac_status=$?
12193 echo "$as_me:12193: \$? = $ac_status" >&5 12199 echo "$as_me:12199: \$? = $ac_status" >&5
12194 (exit $ac_status); } && 12200 (exit $ac_status); } &&
12195 { ac_try='test -s conftest.$ac_objext' 12201 { ac_try='test -s conftest.$ac_objext'
12196 { (eval echo "$as_me:12196: \"$ac_try\"") >&5 12202 { (eval echo "$as_me:12202: \"$ac_try\"") >&5
12197 (eval $ac_try) 2>&5 12203 (eval $ac_try) 2>&5
12198 ac_status=$? 12204 ac_status=$?
12199 echo "$as_me:12199: \$? = $ac_status" >&5 12205 echo "$as_me:12205: \$? = $ac_status" >&5
12200 (exit $ac_status); }; }; then 12206 (exit $ac_status); }; }; then
12201 ac_cv_type_size_t=yes 12207 ac_cv_type_size_t=yes
12202 else 12208 else
12203 echo "$as_me: failed program was:" >&5 12209 echo "$as_me: failed program was:" >&5
12204 cat conftest.$ac_ext >&5 12210 cat conftest.$ac_ext >&5
12205 ac_cv_type_size_t=no 12211 ac_cv_type_size_t=no
12206 fi 12212 fi
12207 rm -f conftest.$ac_objext conftest.$ac_ext 12213 rm -f conftest.$ac_objext conftest.$ac_ext
12208 fi 12214 fi
12209 echo "$as_me:12209: result: $ac_cv_type_size_t" >&5 12215 echo "$as_me:12215: result: $ac_cv_type_size_t" >&5
12210 echo "${ECHO_T}$ac_cv_type_size_t" >&6 12216 echo "${ECHO_T}$ac_cv_type_size_t" >&6
12211 if test $ac_cv_type_size_t = yes; then 12217 if test $ac_cv_type_size_t = yes; then
12212 : 12218 :
12213 else 12219 else
12214 12220
12224 12230
12225 #### Find out which version of Emacs this is. 12231 #### Find out which version of Emacs this is.
12226 version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \ 12232 version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \
12227 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` 12233 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`
12228 if test x"${version}" = x; then 12234 if test x"${version}" = x; then
12229 { { echo "$as_me:12229: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5 12235 { { echo "$as_me:12235: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5
12230 echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;} 12236 echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;}
12231 { (exit 1); exit 1; }; } 12237 { (exit 1); exit 1; }; }
12232 fi 12238 fi
12233 12239
12234 ### Specify what sort of things we'll be editing into Makefile and config.h. 12240 ### Specify what sort of things we'll be editing into Makefile and config.h.
12310 fi 12316 fi
12311 12317
12312 for ac_header in nlist.h 12318 for ac_header in nlist.h
12313 do 12319 do
12314 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 12320 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12315 echo "$as_me:12315: checking for $ac_header" >&5 12321 echo "$as_me:12321: checking for $ac_header" >&5
12316 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 12322 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12317 if eval "test \"\${$as_ac_Header+set}\" = set"; then 12323 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12318 echo $ECHO_N "(cached) $ECHO_C" >&6 12324 echo $ECHO_N "(cached) $ECHO_C" >&6
12319 else 12325 else
12320 cat >conftest.$ac_ext <<_ACEOF 12326 cat >conftest.$ac_ext <<_ACEOF
12321 #line 12321 "configure" 12327 #line 12327 "configure"
12322 #include "confdefs.h" 12328 #include "confdefs.h"
12323 #include <$ac_header> 12329 #include <$ac_header>
12324 _ACEOF 12330 _ACEOF
12325 if { (eval echo "$as_me:12325: \"$ac_cpp conftest.$ac_ext\"") >&5 12331 if { (eval echo "$as_me:12331: \"$ac_cpp conftest.$ac_ext\"") >&5
12326 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 12332 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12327 ac_status=$? 12333 ac_status=$?
12328 egrep -v '^ *\+' conftest.er1 >conftest.err 12334 egrep -v '^ *\+' conftest.er1 >conftest.err
12329 rm -f conftest.er1 12335 rm -f conftest.er1
12330 cat conftest.err >&5 12336 cat conftest.err >&5
12331 echo "$as_me:12331: \$? = $ac_status" >&5 12337 echo "$as_me:12337: \$? = $ac_status" >&5
12332 (exit $ac_status); } >/dev/null; then 12338 (exit $ac_status); } >/dev/null; then
12333 if test -s conftest.err; then 12339 if test -s conftest.err; then
12334 ac_cpp_err=$ac_c_preproc_warn_flag 12340 ac_cpp_err=$ac_c_preproc_warn_flag
12335 else 12341 else
12336 ac_cpp_err= 12342 ac_cpp_err=
12345 cat conftest.$ac_ext >&5 12351 cat conftest.$ac_ext >&5
12346 eval "$as_ac_Header=no" 12352 eval "$as_ac_Header=no"
12347 fi 12353 fi
12348 rm -f conftest.err conftest.$ac_ext 12354 rm -f conftest.err conftest.$ac_ext
12349 fi 12355 fi
12350 echo "$as_me:12350: result: `eval echo '${'$as_ac_Header'}'`" >&5 12356 echo "$as_me:12356: result: `eval echo '${'$as_ac_Header'}'`" >&5
12351 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 12357 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12352 if test `eval echo '${'$as_ac_Header'}'` = yes; then 12358 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12353 cat >>confdefs.h <<EOF 12359 cat >>confdefs.h <<EOF
12354 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 12360 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12355 EOF 12361 EOF
12405 ## CPP_NEED_TRADITIONAL to `yes' so that the code to generate Makefile 12411 ## CPP_NEED_TRADITIONAL to `yes' so that the code to generate Makefile
12406 ## from Makefile.c can correctly provide the arg `-traditional' to the 12412 ## from Makefile.c can correctly provide the arg `-traditional' to the
12407 ## C preprocessor. 12413 ## C preprocessor.
12408 12414
12409 cat >conftest.$ac_ext <<_ACEOF 12415 cat >conftest.$ac_ext <<_ACEOF
12410 #line 12410 "configure" 12416 #line 12416 "configure"
12411 #include "confdefs.h" 12417 #include "confdefs.h"
12412 yes..yes 12418 yes..yes
12413 _ACEOF 12419 _ACEOF
12414 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 12420 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12415 egrep "yes..yes" >/dev/null 2>&1; then 12421 egrep "yes..yes" >/dev/null 2>&1; then
12498 DEFS=-DHAVE_CONFIG_H 12504 DEFS=-DHAVE_CONFIG_H
12499 12505
12500 : ${CONFIG_STATUS=./config.status} 12506 : ${CONFIG_STATUS=./config.status}
12501 ac_clean_files_save=$ac_clean_files 12507 ac_clean_files_save=$ac_clean_files
12502 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 12508 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12503 { echo "$as_me:12503: creating $CONFIG_STATUS" >&5 12509 { echo "$as_me:12509: creating $CONFIG_STATUS" >&5
12504 echo "$as_me: creating $CONFIG_STATUS" >&6;} 12510 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12505 cat >$CONFIG_STATUS <<_ACEOF 12511 cat >$CONFIG_STATUS <<_ACEOF
12506 #! $SHELL 12512 #! $SHELL
12507 # Generated automatically by configure. 12513 # Generated automatically by configure.
12508 # Run this file to recreate the current configuration. 12514 # Run this file to recreate the current configuration.
12674 cat >>$CONFIG_STATUS <<\EOF 12680 cat >>$CONFIG_STATUS <<\EOF
12675 --version | --vers* | -V ) 12681 --version | --vers* | -V )
12676 echo "$ac_cs_version"; exit 0 ;; 12682 echo "$ac_cs_version"; exit 0 ;;
12677 --he | --h) 12683 --he | --h)
12678 # Conflict between --help and --header 12684 # Conflict between --help and --header
12679 { { echo "$as_me:12679: error: ambiguous option: $1 12685 { { echo "$as_me:12685: error: ambiguous option: $1
12680 Try \`$0 --help' for more information." >&5 12686 Try \`$0 --help' for more information." >&5
12681 echo "$as_me: error: ambiguous option: $1 12687 echo "$as_me: error: ambiguous option: $1
12682 Try \`$0 --help' for more information." >&2;} 12688 Try \`$0 --help' for more information." >&2;}
12683 { (exit 1); exit 1; }; };; 12689 { (exit 1); exit 1; }; };;
12684 --help | --hel | -h ) 12690 --help | --hel | -h )
12693 shift 12699 shift
12694 CONFIG_HEADERS="$CONFIG_HEADERS $1" 12700 CONFIG_HEADERS="$CONFIG_HEADERS $1"
12695 ac_need_defaults=false;; 12701 ac_need_defaults=false;;
12696 12702
12697 # This is an error. 12703 # This is an error.
12698 -*) { { echo "$as_me:12698: error: unrecognized option: $1 12704 -*) { { echo "$as_me:12704: error: unrecognized option: $1
12699 Try \`$0 --help' for more information." >&5 12705 Try \`$0 --help' for more information." >&5
12700 echo "$as_me: error: unrecognized option: $1 12706 echo "$as_me: error: unrecognized option: $1
12701 Try \`$0 --help' for more information." >&2;} 12707 Try \`$0 --help' for more information." >&2;}
12702 { (exit 1); exit 1; }; } ;; 12708 { (exit 1); exit 1; }; } ;;
12703 12709
12749 "lispref/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispref/Makefile" ;; 12755 "lispref/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispref/Makefile" ;;
12750 "lispintro/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispintro/Makefile" ;; 12756 "lispintro/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispintro/Makefile" ;;
12751 "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; 12757 "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;;
12752 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; 12758 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
12753 "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:src/config.in" ;; 12759 "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:src/config.in" ;;
12754 *) { { echo "$as_me:12754: error: invalid argument: $ac_config_target" >&5 12760 *) { { echo "$as_me:12760: error: invalid argument: $ac_config_target" >&5
12755 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 12761 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12756 { (exit 1); exit 1; }; };; 12762 { (exit 1); exit 1; }; };;
12757 esac 12763 esac
12758 done 12764 done
12759 12765
12996 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 13002 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12997 *) ac_INSTALL=$ac_dots$INSTALL ;; 13003 *) ac_INSTALL=$ac_dots$INSTALL ;;
12998 esac 13004 esac
12999 13005
13000 if test x"$ac_file" != x-; then 13006 if test x"$ac_file" != x-; then
13001 { echo "$as_me:13001: creating $ac_file" >&5 13007 { echo "$as_me:13007: creating $ac_file" >&5
13002 echo "$as_me: creating $ac_file" >&6;} 13008 echo "$as_me: creating $ac_file" >&6;}
13003 rm -f "$ac_file" 13009 rm -f "$ac_file"
13004 fi 13010 fi
13005 # Let's still pretend it is `configure' which instantiates (i.e., don't 13011 # Let's still pretend it is `configure' which instantiates (i.e., don't
13006 # use $as_me), people would be surprised to read: 13012 # use $as_me), people would be surprised to read:
13014 for f in $ac_file_in; do 13020 for f in $ac_file_in; do
13015 case $f in 13021 case $f in
13016 -) echo $tmp/stdin ;; 13022 -) echo $tmp/stdin ;;
13017 [\\/$]*) 13023 [\\/$]*)
13018 # Absolute (can't be DOS-style, as IFS=:) 13024 # Absolute (can't be DOS-style, as IFS=:)
13019 test -f "$f" || { { echo "$as_me:13019: error: cannot find input file: $f" >&5 13025 test -f "$f" || { { echo "$as_me:13025: error: cannot find input file: $f" >&5
13020 echo "$as_me: error: cannot find input file: $f" >&2;} 13026 echo "$as_me: error: cannot find input file: $f" >&2;}
13021 { (exit 1); exit 1; }; } 13027 { (exit 1); exit 1; }; }
13022 echo $f;; 13028 echo $f;;
13023 *) # Relative 13029 *) # Relative
13024 if test -f "$f"; then 13030 if test -f "$f"; then
13027 elif test -f "$srcdir/$f"; then 13033 elif test -f "$srcdir/$f"; then
13028 # Source tree 13034 # Source tree
13029 echo $srcdir/$f 13035 echo $srcdir/$f
13030 else 13036 else
13031 # /dev/null tree 13037 # /dev/null tree
13032 { { echo "$as_me:13032: error: cannot find input file: $f" >&5 13038 { { echo "$as_me:13038: error: cannot find input file: $f" >&5
13033 echo "$as_me: error: cannot find input file: $f" >&2;} 13039 echo "$as_me: error: cannot find input file: $f" >&2;}
13034 { (exit 1); exit 1; }; } 13040 { (exit 1); exit 1; }; }
13035 fi;; 13041 fi;;
13036 esac 13042 esac
13037 done` || { (exit 1); exit 1; } 13043 done` || { (exit 1); exit 1; }
13088 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 13094 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
13089 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 13095 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13090 * ) ac_file_in=$ac_file.in ;; 13096 * ) ac_file_in=$ac_file.in ;;
13091 esac 13097 esac
13092 13098
13093 test x"$ac_file" != x- && { echo "$as_me:13093: creating $ac_file" >&5 13099 test x"$ac_file" != x- && { echo "$as_me:13099: creating $ac_file" >&5
13094 echo "$as_me: creating $ac_file" >&6;} 13100 echo "$as_me: creating $ac_file" >&6;}
13095 13101
13096 # First look for the input files in the build tree, otherwise in the 13102 # First look for the input files in the build tree, otherwise in the
13097 # src tree. 13103 # src tree.
13098 ac_file_inputs=`IFS=: 13104 ac_file_inputs=`IFS=:
13099 for f in $ac_file_in; do 13105 for f in $ac_file_in; do
13100 case $f in 13106 case $f in
13101 -) echo $tmp/stdin ;; 13107 -) echo $tmp/stdin ;;
13102 [\\/$]*) 13108 [\\/$]*)
13103 # Absolute (can't be DOS-style, as IFS=:) 13109 # Absolute (can't be DOS-style, as IFS=:)
13104 test -f "$f" || { { echo "$as_me:13104: error: cannot find input file: $f" >&5 13110 test -f "$f" || { { echo "$as_me:13110: error: cannot find input file: $f" >&5
13105 echo "$as_me: error: cannot find input file: $f" >&2;} 13111 echo "$as_me: error: cannot find input file: $f" >&2;}
13106 { (exit 1); exit 1; }; } 13112 { (exit 1); exit 1; }; }
13107 echo $f;; 13113 echo $f;;
13108 *) # Relative 13114 *) # Relative
13109 if test -f "$f"; then 13115 if test -f "$f"; then
13112 elif test -f "$srcdir/$f"; then 13118 elif test -f "$srcdir/$f"; then
13113 # Source tree 13119 # Source tree
13114 echo $srcdir/$f 13120 echo $srcdir/$f
13115 else 13121 else
13116 # /dev/null tree 13122 # /dev/null tree
13117 { { echo "$as_me:13117: error: cannot find input file: $f" >&5 13123 { { echo "$as_me:13123: error: cannot find input file: $f" >&5
13118 echo "$as_me: error: cannot find input file: $f" >&2;} 13124 echo "$as_me: error: cannot find input file: $f" >&2;}
13119 { (exit 1); exit 1; }; } 13125 { (exit 1); exit 1; }; }
13120 fi;; 13126 fi;;
13121 esac 13127 esac
13122 done` || { (exit 1); exit 1; } 13128 done` || { (exit 1); exit 1; }
13229 fi 13235 fi
13230 cat $tmp/in >>$tmp/config.h 13236 cat $tmp/in >>$tmp/config.h
13231 rm -f $tmp/in 13237 rm -f $tmp/in
13232 if test x"$ac_file" != x-; then 13238 if test x"$ac_file" != x-; then
13233 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then 13239 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
13234 { echo "$as_me:13234: $ac_file is unchanged" >&5 13240 { echo "$as_me:13240: $ac_file is unchanged" >&5
13235 echo "$as_me: $ac_file is unchanged" >&6;} 13241 echo "$as_me: $ac_file is unchanged" >&6;}
13236 else 13242 else
13237 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13243 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13238 X"$ac_file" : 'X\(//\)[^/]' \| \ 13244 X"$ac_file" : 'X\(//\)[^/]' \| \
13239 X"$ac_file" : 'X\(//\)$' \| \ 13245 X"$ac_file" : 'X\(//\)$' \| \