Mercurial > emacs
comparison configure @ 43721:7973bc952a02
Regenerated.
author | Andreas Schwab <schwab@suse.de> |
---|---|
date | Tue, 05 Mar 2002 10:54:56 +0000 |
parents | 050eee3f784f |
children | 0f0939983d10 |
comparison
equal
deleted
inserted
replaced
43720:5039537d202a | 43721:7973bc952a02 |
---|---|
1 #! /bin/sh | 1 #! /bin/sh |
2 # Guess values for system-dependent variables and create Makefiles. | 2 # Guess values for system-dependent variables and create Makefiles. |
3 # Generated by Autoconf 2.52. | 3 # Generated by Autoconf 2.52. |
4 # | 4 # |
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 | 5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
6 # Free Software Foundation, Inc. | 6 # Free Software Foundation, Inc. |
7 # This configure script is free software; the Free Software Foundation | 7 # This configure script is free software; the Free Software Foundation |
8 # gives unlimited permission to copy, distribute and modify it. | 8 # gives unlimited permission to copy, distribute and modify it. |
9 | 9 |
10 # Avoid depending upon Character Ranges. | 10 # Avoid depending upon Character Ranges. |
1147 case "${srcdir}" in | 1147 case "${srcdir}" in |
1148 /* ) ;; | 1148 /* ) ;; |
1149 . ) | 1149 . ) |
1150 ## We may be able to use the $PWD environment variable to make this | 1150 ## We may be able to use the $PWD environment variable to make this |
1151 ## absolute. But sometimes PWD is inaccurate. | 1151 ## absolute. But sometimes PWD is inaccurate. |
1152 if test ".${PWD}" != "." && test ".`(cd ${PWD} ; sh -c pwd)`" = ".${PWD}" ; | 1152 ## Note: we used to use ${PWD} at the end instead of `pwd`, |
1153 ## but that tested only for a well-formed and valid PWD, | |
1154 ## it did not object when PWD was well-formed and valid but just wrong. | |
1155 if test ".${PWD}" != "." && test ".`(cd ${PWD} ; sh -c pwd)`" = ".`pwd`" ; | |
1153 then | 1156 then |
1154 srcdir="$PWD" | 1157 srcdir="$PWD" |
1155 else | 1158 else |
1156 srcdir="`(cd ${srcdir}; pwd)`" | 1159 srcdir="`(cd ${srcdir}; pwd)`" |
1157 fi | 1160 fi |
1160 esac | 1163 esac |
1161 | 1164 |
1162 #### Check if the source directory already has a configured system in it. | 1165 #### Check if the source directory already has a configured system in it. |
1163 if test `pwd` != `(cd ${srcdir} && pwd)` \ | 1166 if test `pwd` != `(cd ${srcdir} && pwd)` \ |
1164 && test -f "${srcdir}/src/config.h" ; then | 1167 && test -f "${srcdir}/src/config.h" ; then |
1165 { echo "$as_me:1165: WARNING: The directory tree \`${srcdir}' is being used | 1168 { echo "$as_me:1168: WARNING: The directory tree \`${srcdir}' is being used |
1166 as a build directory right now; it has been configured in its own | 1169 as a build directory right now; it has been configured in its own |
1167 right. To configure in another directory as well, you MUST | 1170 right. To configure in another directory as well, you MUST |
1168 use GNU make. If you do not have GNU make, then you must | 1171 use GNU make. If you do not have GNU make, then you must |
1169 now do \`make distclean' in ${srcdir}, | 1172 now do \`make distclean' in ${srcdir}, |
1170 and then run $0 again." >&5 | 1173 and then run $0 again." >&5 |
1205 ac_install_sh="$ac_aux_dir/shtool install -c" | 1208 ac_install_sh="$ac_aux_dir/shtool install -c" |
1206 break | 1209 break |
1207 fi | 1210 fi |
1208 done | 1211 done |
1209 if test -z "$ac_aux_dir"; then | 1212 if test -z "$ac_aux_dir"; then |
1210 { { echo "$as_me:1210: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 | 1213 { { echo "$as_me:1213: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 |
1211 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} | 1214 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} |
1212 { (exit 1); exit 1; }; } | 1215 { (exit 1); exit 1; }; } |
1213 fi | 1216 fi |
1214 ac_config_guess="$SHELL $ac_aux_dir/config.guess" | 1217 ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
1215 ac_config_sub="$SHELL $ac_aux_dir/config.sub" | 1218 ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
1216 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. | 1219 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
1217 | 1220 |
1218 # Make sure we can run config.sub. | 1221 # Make sure we can run config.sub. |
1219 $ac_config_sub sun4 >/dev/null 2>&1 || | 1222 $ac_config_sub sun4 >/dev/null 2>&1 || |
1220 { { echo "$as_me:1220: error: cannot run $ac_config_sub" >&5 | 1223 { { echo "$as_me:1223: error: cannot run $ac_config_sub" >&5 |
1221 echo "$as_me: error: cannot run $ac_config_sub" >&2;} | 1224 echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
1222 { (exit 1); exit 1; }; } | 1225 { (exit 1); exit 1; }; } |
1223 | 1226 |
1224 echo "$as_me:1224: checking build system type" >&5 | 1227 echo "$as_me:1227: checking build system type" >&5 |
1225 echo $ECHO_N "checking build system type... $ECHO_C" >&6 | 1228 echo $ECHO_N "checking build system type... $ECHO_C" >&6 |
1226 if test "${ac_cv_build+set}" = set; then | 1229 if test "${ac_cv_build+set}" = set; then |
1227 echo $ECHO_N "(cached) $ECHO_C" >&6 | 1230 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1228 else | 1231 else |
1229 ac_cv_build_alias=$build_alias | 1232 ac_cv_build_alias=$build_alias |
1230 test -z "$ac_cv_build_alias" && | 1233 test -z "$ac_cv_build_alias" && |
1231 ac_cv_build_alias=`$ac_config_guess` | 1234 ac_cv_build_alias=`$ac_config_guess` |
1232 test -z "$ac_cv_build_alias" && | 1235 test -z "$ac_cv_build_alias" && |
1233 { { echo "$as_me:1233: error: cannot guess build type; you must specify one" >&5 | 1236 { { echo "$as_me:1236: error: cannot guess build type; you must specify one" >&5 |
1234 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | 1237 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
1235 { (exit 1); exit 1; }; } | 1238 { (exit 1); exit 1; }; } |
1236 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || | 1239 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || |
1237 { { echo "$as_me:1237: error: $ac_config_sub $ac_cv_build_alias failed." >&5 | 1240 { { echo "$as_me:1240: error: $ac_config_sub $ac_cv_build_alias failed." >&5 |
1238 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;} | 1241 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;} |
1239 { (exit 1); exit 1; }; } | 1242 { (exit 1); exit 1; }; } |
1240 | 1243 |
1241 fi | 1244 fi |
1242 echo "$as_me:1242: result: $ac_cv_build" >&5 | 1245 echo "$as_me:1245: result: $ac_cv_build" >&5 |
1243 echo "${ECHO_T}$ac_cv_build" >&6 | 1246 echo "${ECHO_T}$ac_cv_build" >&6 |
1244 build=$ac_cv_build | 1247 build=$ac_cv_build |
1245 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 1248 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
1246 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 1249 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
1247 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 1250 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
1248 | 1251 |
1249 echo "$as_me:1249: checking host system type" >&5 | 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/'` |
1465 clipper-* ) | 1468 clipper-* ) |
1466 machine=clipper | 1469 machine=clipper |
1467 ## We'll use the catch-all code at the bottom to guess the | 1470 ## We'll use the catch-all code at the bottom to guess the |
1468 ## operating system. | 1471 ## operating system. |
1469 ;; | 1472 ;; |
1473 | |
1474 ## Compaq Nonstop | |
1475 mips-compaq-nonstopux* ) | |
1476 machine=nonstopux opsys=nonstopux | |
1477 ;; | |
1470 | 1478 |
1471 ## Convex | 1479 ## Convex |
1472 *-convex-bsd* | *-convex-convexos* ) | 1480 *-convex-bsd* | *-convex-convexos* ) |
1473 machine=convex opsys=bsd4-3 | 1481 machine=convex opsys=bsd4-3 |
1474 ## Prevents spurious white space in makefiles - d.m.cooke@larc.nasa.gov | 1482 ## Prevents spurious white space in makefiles - d.m.cooke@larc.nasa.gov |
2220 ;; | 2228 ;; |
2221 esac | 2229 esac |
2222 fi | 2230 fi |
2223 | 2231 |
2224 if test $unported = yes; then | 2232 if test $unported = yes; then |
2225 { { echo "$as_me:2225: error: Emacs hasn't been ported to \`${canonical}' systems. | 2233 { { echo "$as_me:2233: error: Emacs hasn't been ported to \`${canonical}' systems. |
2226 Check \`etc/MACHINES' for recognized configuration names." >&5 | 2234 Check \`etc/MACHINES' for recognized configuration names." >&5 |
2227 echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems. | 2235 echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems. |
2228 Check \`etc/MACHINES' for recognized configuration names." >&2;} | 2236 Check \`etc/MACHINES' for recognized configuration names." >&2;} |
2229 { (exit 1); exit 1; }; } | 2237 { (exit 1); exit 1; }; } |
2230 fi | 2238 fi |
2249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 2257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2250 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 2258 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2251 if test -n "$ac_tool_prefix"; then | 2259 if test -n "$ac_tool_prefix"; then |
2252 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | 2260 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
2253 set dummy ${ac_tool_prefix}gcc; ac_word=$2 | 2261 set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
2254 echo "$as_me:2254: checking for $ac_word" >&5 | 2262 echo "$as_me:2262: checking for $ac_word" >&5 |
2255 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 2263 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2256 if test "${ac_cv_prog_CC+set}" = set; then | 2264 if test "${ac_cv_prog_CC+set}" = set; then |
2257 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2265 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2258 else | 2266 else |
2259 if test -n "$CC"; then | 2267 if test -n "$CC"; then |
2264 for ac_dir in $ac_dummy; do | 2272 for ac_dir in $ac_dummy; do |
2265 IFS=$ac_save_IFS | 2273 IFS=$ac_save_IFS |
2266 test -z "$ac_dir" && ac_dir=. | 2274 test -z "$ac_dir" && ac_dir=. |
2267 $as_executable_p "$ac_dir/$ac_word" || continue | 2275 $as_executable_p "$ac_dir/$ac_word" || continue |
2268 ac_cv_prog_CC="${ac_tool_prefix}gcc" | 2276 ac_cv_prog_CC="${ac_tool_prefix}gcc" |
2269 echo "$as_me:2269: found $ac_dir/$ac_word" >&5 | 2277 echo "$as_me:2277: found $ac_dir/$ac_word" >&5 |
2270 break | 2278 break |
2271 done | 2279 done |
2272 | 2280 |
2273 fi | 2281 fi |
2274 fi | 2282 fi |
2275 CC=$ac_cv_prog_CC | 2283 CC=$ac_cv_prog_CC |
2276 if test -n "$CC"; then | 2284 if test -n "$CC"; then |
2277 echo "$as_me:2277: result: $CC" >&5 | 2285 echo "$as_me:2285: result: $CC" >&5 |
2278 echo "${ECHO_T}$CC" >&6 | 2286 echo "${ECHO_T}$CC" >&6 |
2279 else | 2287 else |
2280 echo "$as_me:2280: result: no" >&5 | 2288 echo "$as_me:2288: result: no" >&5 |
2281 echo "${ECHO_T}no" >&6 | 2289 echo "${ECHO_T}no" >&6 |
2282 fi | 2290 fi |
2283 | 2291 |
2284 fi | 2292 fi |
2285 if test -z "$ac_cv_prog_CC"; then | 2293 if test -z "$ac_cv_prog_CC"; then |
2286 ac_ct_CC=$CC | 2294 ac_ct_CC=$CC |
2287 # Extract the first word of "gcc", so it can be a program name with args. | 2295 # Extract the first word of "gcc", so it can be a program name with args. |
2288 set dummy gcc; ac_word=$2 | 2296 set dummy gcc; ac_word=$2 |
2289 echo "$as_me:2289: checking for $ac_word" >&5 | 2297 echo "$as_me:2297: checking for $ac_word" >&5 |
2290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 2298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2291 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 2299 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
2292 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2300 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2293 else | 2301 else |
2294 if test -n "$ac_ct_CC"; then | 2302 if test -n "$ac_ct_CC"; then |
2299 for ac_dir in $ac_dummy; do | 2307 for ac_dir in $ac_dummy; do |
2300 IFS=$ac_save_IFS | 2308 IFS=$ac_save_IFS |
2301 test -z "$ac_dir" && ac_dir=. | 2309 test -z "$ac_dir" && ac_dir=. |
2302 $as_executable_p "$ac_dir/$ac_word" || continue | 2310 $as_executable_p "$ac_dir/$ac_word" || continue |
2303 ac_cv_prog_ac_ct_CC="gcc" | 2311 ac_cv_prog_ac_ct_CC="gcc" |
2304 echo "$as_me:2304: found $ac_dir/$ac_word" >&5 | 2312 echo "$as_me:2312: found $ac_dir/$ac_word" >&5 |
2305 break | 2313 break |
2306 done | 2314 done |
2307 | 2315 |
2308 fi | 2316 fi |
2309 fi | 2317 fi |
2310 ac_ct_CC=$ac_cv_prog_ac_ct_CC | 2318 ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2311 if test -n "$ac_ct_CC"; then | 2319 if test -n "$ac_ct_CC"; then |
2312 echo "$as_me:2312: result: $ac_ct_CC" >&5 | 2320 echo "$as_me:2320: result: $ac_ct_CC" >&5 |
2313 echo "${ECHO_T}$ac_ct_CC" >&6 | 2321 echo "${ECHO_T}$ac_ct_CC" >&6 |
2314 else | 2322 else |
2315 echo "$as_me:2315: result: no" >&5 | 2323 echo "$as_me:2323: result: no" >&5 |
2316 echo "${ECHO_T}no" >&6 | 2324 echo "${ECHO_T}no" >&6 |
2317 fi | 2325 fi |
2318 | 2326 |
2319 CC=$ac_ct_CC | 2327 CC=$ac_ct_CC |
2320 else | 2328 else |
2323 | 2331 |
2324 if test -z "$CC"; then | 2332 if test -z "$CC"; then |
2325 if test -n "$ac_tool_prefix"; then | 2333 if test -n "$ac_tool_prefix"; then |
2326 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | 2334 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
2327 set dummy ${ac_tool_prefix}cc; ac_word=$2 | 2335 set dummy ${ac_tool_prefix}cc; ac_word=$2 |
2328 echo "$as_me:2328: checking for $ac_word" >&5 | 2336 echo "$as_me:2336: checking for $ac_word" >&5 |
2329 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 2337 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2330 if test "${ac_cv_prog_CC+set}" = set; then | 2338 if test "${ac_cv_prog_CC+set}" = set; then |
2331 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2339 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2332 else | 2340 else |
2333 if test -n "$CC"; then | 2341 if test -n "$CC"; then |
2338 for ac_dir in $ac_dummy; do | 2346 for ac_dir in $ac_dummy; do |
2339 IFS=$ac_save_IFS | 2347 IFS=$ac_save_IFS |
2340 test -z "$ac_dir" && ac_dir=. | 2348 test -z "$ac_dir" && ac_dir=. |
2341 $as_executable_p "$ac_dir/$ac_word" || continue | 2349 $as_executable_p "$ac_dir/$ac_word" || continue |
2342 ac_cv_prog_CC="${ac_tool_prefix}cc" | 2350 ac_cv_prog_CC="${ac_tool_prefix}cc" |
2343 echo "$as_me:2343: found $ac_dir/$ac_word" >&5 | 2351 echo "$as_me:2351: found $ac_dir/$ac_word" >&5 |
2344 break | 2352 break |
2345 done | 2353 done |
2346 | 2354 |
2347 fi | 2355 fi |
2348 fi | 2356 fi |
2349 CC=$ac_cv_prog_CC | 2357 CC=$ac_cv_prog_CC |
2350 if test -n "$CC"; then | 2358 if test -n "$CC"; then |
2351 echo "$as_me:2351: result: $CC" >&5 | 2359 echo "$as_me:2359: result: $CC" >&5 |
2352 echo "${ECHO_T}$CC" >&6 | 2360 echo "${ECHO_T}$CC" >&6 |
2353 else | 2361 else |
2354 echo "$as_me:2354: result: no" >&5 | 2362 echo "$as_me:2362: result: no" >&5 |
2355 echo "${ECHO_T}no" >&6 | 2363 echo "${ECHO_T}no" >&6 |
2356 fi | 2364 fi |
2357 | 2365 |
2358 fi | 2366 fi |
2359 if test -z "$ac_cv_prog_CC"; then | 2367 if test -z "$ac_cv_prog_CC"; then |
2360 ac_ct_CC=$CC | 2368 ac_ct_CC=$CC |
2361 # Extract the first word of "cc", so it can be a program name with args. | 2369 # Extract the first word of "cc", so it can be a program name with args. |
2362 set dummy cc; ac_word=$2 | 2370 set dummy cc; ac_word=$2 |
2363 echo "$as_me:2363: checking for $ac_word" >&5 | 2371 echo "$as_me:2371: checking for $ac_word" >&5 |
2364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 2372 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2365 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 2373 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
2366 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2374 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2367 else | 2375 else |
2368 if test -n "$ac_ct_CC"; then | 2376 if test -n "$ac_ct_CC"; then |
2373 for ac_dir in $ac_dummy; do | 2381 for ac_dir in $ac_dummy; do |
2374 IFS=$ac_save_IFS | 2382 IFS=$ac_save_IFS |
2375 test -z "$ac_dir" && ac_dir=. | 2383 test -z "$ac_dir" && ac_dir=. |
2376 $as_executable_p "$ac_dir/$ac_word" || continue | 2384 $as_executable_p "$ac_dir/$ac_word" || continue |
2377 ac_cv_prog_ac_ct_CC="cc" | 2385 ac_cv_prog_ac_ct_CC="cc" |
2378 echo "$as_me:2378: found $ac_dir/$ac_word" >&5 | 2386 echo "$as_me:2386: found $ac_dir/$ac_word" >&5 |
2379 break | 2387 break |
2380 done | 2388 done |
2381 | 2389 |
2382 fi | 2390 fi |
2383 fi | 2391 fi |
2384 ac_ct_CC=$ac_cv_prog_ac_ct_CC | 2392 ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2385 if test -n "$ac_ct_CC"; then | 2393 if test -n "$ac_ct_CC"; then |
2386 echo "$as_me:2386: result: $ac_ct_CC" >&5 | 2394 echo "$as_me:2394: result: $ac_ct_CC" >&5 |
2387 echo "${ECHO_T}$ac_ct_CC" >&6 | 2395 echo "${ECHO_T}$ac_ct_CC" >&6 |
2388 else | 2396 else |
2389 echo "$as_me:2389: result: no" >&5 | 2397 echo "$as_me:2397: result: no" >&5 |
2390 echo "${ECHO_T}no" >&6 | 2398 echo "${ECHO_T}no" >&6 |
2391 fi | 2399 fi |
2392 | 2400 |
2393 CC=$ac_ct_CC | 2401 CC=$ac_ct_CC |
2394 else | 2402 else |
2397 | 2405 |
2398 fi | 2406 fi |
2399 if test -z "$CC"; then | 2407 if test -z "$CC"; then |
2400 # Extract the first word of "cc", so it can be a program name with args. | 2408 # Extract the first word of "cc", so it can be a program name with args. |
2401 set dummy cc; ac_word=$2 | 2409 set dummy cc; ac_word=$2 |
2402 echo "$as_me:2402: checking for $ac_word" >&5 | 2410 echo "$as_me:2410: checking for $ac_word" >&5 |
2403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 2411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2404 if test "${ac_cv_prog_CC+set}" = set; then | 2412 if test "${ac_cv_prog_CC+set}" = set; then |
2405 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2413 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2406 else | 2414 else |
2407 if test -n "$CC"; then | 2415 if test -n "$CC"; then |
2417 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then | 2425 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then |
2418 ac_prog_rejected=yes | 2426 ac_prog_rejected=yes |
2419 continue | 2427 continue |
2420 fi | 2428 fi |
2421 ac_cv_prog_CC="cc" | 2429 ac_cv_prog_CC="cc" |
2422 echo "$as_me:2422: found $ac_dir/$ac_word" >&5 | 2430 echo "$as_me:2430: found $ac_dir/$ac_word" >&5 |
2423 break | 2431 break |
2424 done | 2432 done |
2425 | 2433 |
2426 if test $ac_prog_rejected = yes; then | 2434 if test $ac_prog_rejected = yes; then |
2427 # We found a bogon in the path, so make sure we never use it. | 2435 # We found a bogon in the path, so make sure we never use it. |
2439 fi | 2447 fi |
2440 fi | 2448 fi |
2441 fi | 2449 fi |
2442 CC=$ac_cv_prog_CC | 2450 CC=$ac_cv_prog_CC |
2443 if test -n "$CC"; then | 2451 if test -n "$CC"; then |
2444 echo "$as_me:2444: result: $CC" >&5 | 2452 echo "$as_me:2452: result: $CC" >&5 |
2445 echo "${ECHO_T}$CC" >&6 | 2453 echo "${ECHO_T}$CC" >&6 |
2446 else | 2454 else |
2447 echo "$as_me:2447: result: no" >&5 | 2455 echo "$as_me:2455: result: no" >&5 |
2448 echo "${ECHO_T}no" >&6 | 2456 echo "${ECHO_T}no" >&6 |
2449 fi | 2457 fi |
2450 | 2458 |
2451 fi | 2459 fi |
2452 if test -z "$CC"; then | 2460 if test -z "$CC"; then |
2453 if test -n "$ac_tool_prefix"; then | 2461 if test -n "$ac_tool_prefix"; then |
2454 for ac_prog in cl | 2462 for ac_prog in cl |
2455 do | 2463 do |
2456 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 2464 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
2457 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 2465 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2458 echo "$as_me:2458: checking for $ac_word" >&5 | 2466 echo "$as_me:2466: checking for $ac_word" >&5 |
2459 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 2467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2460 if test "${ac_cv_prog_CC+set}" = set; then | 2468 if test "${ac_cv_prog_CC+set}" = set; then |
2461 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2469 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2462 else | 2470 else |
2463 if test -n "$CC"; then | 2471 if test -n "$CC"; then |
2468 for ac_dir in $ac_dummy; do | 2476 for ac_dir in $ac_dummy; do |
2469 IFS=$ac_save_IFS | 2477 IFS=$ac_save_IFS |
2470 test -z "$ac_dir" && ac_dir=. | 2478 test -z "$ac_dir" && ac_dir=. |
2471 $as_executable_p "$ac_dir/$ac_word" || continue | 2479 $as_executable_p "$ac_dir/$ac_word" || continue |
2472 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | 2480 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
2473 echo "$as_me:2473: found $ac_dir/$ac_word" >&5 | 2481 echo "$as_me:2481: found $ac_dir/$ac_word" >&5 |
2474 break | 2482 break |
2475 done | 2483 done |
2476 | 2484 |
2477 fi | 2485 fi |
2478 fi | 2486 fi |
2479 CC=$ac_cv_prog_CC | 2487 CC=$ac_cv_prog_CC |
2480 if test -n "$CC"; then | 2488 if test -n "$CC"; then |
2481 echo "$as_me:2481: result: $CC" >&5 | 2489 echo "$as_me:2489: result: $CC" >&5 |
2482 echo "${ECHO_T}$CC" >&6 | 2490 echo "${ECHO_T}$CC" >&6 |
2483 else | 2491 else |
2484 echo "$as_me:2484: result: no" >&5 | 2492 echo "$as_me:2492: result: no" >&5 |
2485 echo "${ECHO_T}no" >&6 | 2493 echo "${ECHO_T}no" >&6 |
2486 fi | 2494 fi |
2487 | 2495 |
2488 test -n "$CC" && break | 2496 test -n "$CC" && break |
2489 done | 2497 done |
2492 ac_ct_CC=$CC | 2500 ac_ct_CC=$CC |
2493 for ac_prog in cl | 2501 for ac_prog in cl |
2494 do | 2502 do |
2495 # Extract the first word of "$ac_prog", so it can be a program name with args. | 2503 # Extract the first word of "$ac_prog", so it can be a program name with args. |
2496 set dummy $ac_prog; ac_word=$2 | 2504 set dummy $ac_prog; ac_word=$2 |
2497 echo "$as_me:2497: checking for $ac_word" >&5 | 2505 echo "$as_me:2505: checking for $ac_word" >&5 |
2498 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 2506 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2499 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 2507 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
2500 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2508 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2501 else | 2509 else |
2502 if test -n "$ac_ct_CC"; then | 2510 if test -n "$ac_ct_CC"; then |
2507 for ac_dir in $ac_dummy; do | 2515 for ac_dir in $ac_dummy; do |
2508 IFS=$ac_save_IFS | 2516 IFS=$ac_save_IFS |
2509 test -z "$ac_dir" && ac_dir=. | 2517 test -z "$ac_dir" && ac_dir=. |
2510 $as_executable_p "$ac_dir/$ac_word" || continue | 2518 $as_executable_p "$ac_dir/$ac_word" || continue |
2511 ac_cv_prog_ac_ct_CC="$ac_prog" | 2519 ac_cv_prog_ac_ct_CC="$ac_prog" |
2512 echo "$as_me:2512: found $ac_dir/$ac_word" >&5 | 2520 echo "$as_me:2520: found $ac_dir/$ac_word" >&5 |
2513 break | 2521 break |
2514 done | 2522 done |
2515 | 2523 |
2516 fi | 2524 fi |
2517 fi | 2525 fi |
2518 ac_ct_CC=$ac_cv_prog_ac_ct_CC | 2526 ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2519 if test -n "$ac_ct_CC"; then | 2527 if test -n "$ac_ct_CC"; then |
2520 echo "$as_me:2520: result: $ac_ct_CC" >&5 | 2528 echo "$as_me:2528: result: $ac_ct_CC" >&5 |
2521 echo "${ECHO_T}$ac_ct_CC" >&6 | 2529 echo "${ECHO_T}$ac_ct_CC" >&6 |
2522 else | 2530 else |
2523 echo "$as_me:2523: result: no" >&5 | 2531 echo "$as_me:2531: result: no" >&5 |
2524 echo "${ECHO_T}no" >&6 | 2532 echo "${ECHO_T}no" >&6 |
2525 fi | 2533 fi |
2526 | 2534 |
2527 test -n "$ac_ct_CC" && break | 2535 test -n "$ac_ct_CC" && break |
2528 done | 2536 done |
2530 CC=$ac_ct_CC | 2538 CC=$ac_ct_CC |
2531 fi | 2539 fi |
2532 | 2540 |
2533 fi | 2541 fi |
2534 | 2542 |
2535 test -z "$CC" && { { echo "$as_me:2535: error: no acceptable cc found in \$PATH" >&5 | 2543 test -z "$CC" && { { echo "$as_me:2543: error: no acceptable cc found in \$PATH" >&5 |
2536 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} | 2544 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} |
2537 { (exit 1); exit 1; }; } | 2545 { (exit 1); exit 1; }; } |
2538 | 2546 |
2539 # Provide some information about the compiler. | 2547 # Provide some information about the compiler. |
2540 echo "$as_me:2540:" \ | 2548 echo "$as_me:2548:" \ |
2541 "checking for C compiler version" >&5 | 2549 "checking for C compiler version" >&5 |
2542 ac_compiler=`set X $ac_compile; echo $2` | 2550 ac_compiler=`set X $ac_compile; echo $2` |
2543 { (eval echo "$as_me:2543: \"$ac_compiler --version </dev/null >&5\"") >&5 | 2551 { (eval echo "$as_me:2551: \"$ac_compiler --version </dev/null >&5\"") >&5 |
2544 (eval $ac_compiler --version </dev/null >&5) 2>&5 | 2552 (eval $ac_compiler --version </dev/null >&5) 2>&5 |
2545 ac_status=$? | 2553 ac_status=$? |
2546 echo "$as_me:2546: \$? = $ac_status" >&5 | 2554 echo "$as_me:2554: \$? = $ac_status" >&5 |
2547 (exit $ac_status); } | 2555 (exit $ac_status); } |
2548 { (eval echo "$as_me:2548: \"$ac_compiler -v </dev/null >&5\"") >&5 | 2556 { (eval echo "$as_me:2556: \"$ac_compiler -v </dev/null >&5\"") >&5 |
2549 (eval $ac_compiler -v </dev/null >&5) 2>&5 | 2557 (eval $ac_compiler -v </dev/null >&5) 2>&5 |
2550 ac_status=$? | 2558 ac_status=$? |
2551 echo "$as_me:2551: \$? = $ac_status" >&5 | 2559 echo "$as_me:2559: \$? = $ac_status" >&5 |
2552 (exit $ac_status); } | 2560 (exit $ac_status); } |
2553 { (eval echo "$as_me:2553: \"$ac_compiler -V </dev/null >&5\"") >&5 | 2561 { (eval echo "$as_me:2561: \"$ac_compiler -V </dev/null >&5\"") >&5 |
2554 (eval $ac_compiler -V </dev/null >&5) 2>&5 | 2562 (eval $ac_compiler -V </dev/null >&5) 2>&5 |
2555 ac_status=$? | 2563 ac_status=$? |
2556 echo "$as_me:2556: \$? = $ac_status" >&5 | 2564 echo "$as_me:2564: \$? = $ac_status" >&5 |
2557 (exit $ac_status); } | 2565 (exit $ac_status); } |
2558 | 2566 |
2559 cat >conftest.$ac_ext <<_ACEOF | 2567 cat >conftest.$ac_ext <<_ACEOF |
2560 #line 2560 "configure" | 2568 #line 2568 "configure" |
2561 #include "confdefs.h" | 2569 #include "confdefs.h" |
2562 | 2570 |
2563 int | 2571 int |
2564 main () | 2572 main () |
2565 { | 2573 { |
2571 ac_clean_files_save=$ac_clean_files | 2579 ac_clean_files_save=$ac_clean_files |
2572 ac_clean_files="$ac_clean_files a.out a.exe" | 2580 ac_clean_files="$ac_clean_files a.out a.exe" |
2573 # Try to create an executable without -o first, disregard a.out. | 2581 # Try to create an executable without -o first, disregard a.out. |
2574 # It will help us diagnose broken compilers, and finding out an intuition | 2582 # It will help us diagnose broken compilers, and finding out an intuition |
2575 # of exeext. | 2583 # of exeext. |
2576 echo "$as_me:2576: checking for C compiler default output" >&5 | 2584 echo "$as_me:2584: checking for C compiler default output" >&5 |
2577 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 | 2585 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 |
2578 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | 2586 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
2579 if { (eval echo "$as_me:2579: \"$ac_link_default\"") >&5 | 2587 if { (eval echo "$as_me:2587: \"$ac_link_default\"") >&5 |
2580 (eval $ac_link_default) 2>&5 | 2588 (eval $ac_link_default) 2>&5 |
2581 ac_status=$? | 2589 ac_status=$? |
2582 echo "$as_me:2582: \$? = $ac_status" >&5 | 2590 echo "$as_me:2590: \$? = $ac_status" >&5 |
2583 (exit $ac_status); }; then | 2591 (exit $ac_status); }; then |
2584 # Find the output, starting from the most likely. This scheme is | 2592 # Find the output, starting from the most likely. This scheme is |
2585 # not robust to junk in `.', hence go to wildcards (a.*) only as a last | 2593 # not robust to junk in `.', hence go to wildcards (a.*) only as a last |
2586 # resort. | 2594 # resort. |
2587 for ac_file in `ls a.exe conftest.exe 2>/dev/null; | 2595 for ac_file in `ls a.exe conftest.exe 2>/dev/null; |
2600 esac | 2608 esac |
2601 done | 2609 done |
2602 else | 2610 else |
2603 echo "$as_me: failed program was:" >&5 | 2611 echo "$as_me: failed program was:" >&5 |
2604 cat conftest.$ac_ext >&5 | 2612 cat conftest.$ac_ext >&5 |
2605 { { echo "$as_me:2605: error: C compiler cannot create executables" >&5 | 2613 { { echo "$as_me:2613: error: C compiler cannot create executables" >&5 |
2606 echo "$as_me: error: C compiler cannot create executables" >&2;} | 2614 echo "$as_me: error: C compiler cannot create executables" >&2;} |
2607 { (exit 77); exit 77; }; } | 2615 { (exit 77); exit 77; }; } |
2608 fi | 2616 fi |
2609 | 2617 |
2610 ac_exeext=$ac_cv_exeext | 2618 ac_exeext=$ac_cv_exeext |
2611 echo "$as_me:2611: result: $ac_file" >&5 | 2619 echo "$as_me:2619: result: $ac_file" >&5 |
2612 echo "${ECHO_T}$ac_file" >&6 | 2620 echo "${ECHO_T}$ac_file" >&6 |
2613 | 2621 |
2614 # Check the compiler produces executables we can run. If not, either | 2622 # Check the compiler produces executables we can run. If not, either |
2615 # the compiler is broken, or we cross compile. | 2623 # the compiler is broken, or we cross compile. |
2616 echo "$as_me:2616: checking whether the C compiler works" >&5 | 2624 echo "$as_me:2624: checking whether the C compiler works" >&5 |
2617 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 | 2625 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 |
2618 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | 2626 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
2619 # If not cross compiling, check that we can run a simple program. | 2627 # If not cross compiling, check that we can run a simple program. |
2620 if test "$cross_compiling" != yes; then | 2628 if test "$cross_compiling" != yes; then |
2621 if { ac_try='./$ac_file' | 2629 if { ac_try='./$ac_file' |
2622 { (eval echo "$as_me:2622: \"$ac_try\"") >&5 | 2630 { (eval echo "$as_me:2630: \"$ac_try\"") >&5 |
2623 (eval $ac_try) 2>&5 | 2631 (eval $ac_try) 2>&5 |
2624 ac_status=$? | 2632 ac_status=$? |
2625 echo "$as_me:2625: \$? = $ac_status" >&5 | 2633 echo "$as_me:2633: \$? = $ac_status" >&5 |
2626 (exit $ac_status); }; }; then | 2634 (exit $ac_status); }; }; then |
2627 cross_compiling=no | 2635 cross_compiling=no |
2628 else | 2636 else |
2629 if test "$cross_compiling" = maybe; then | 2637 if test "$cross_compiling" = maybe; then |
2630 cross_compiling=yes | 2638 cross_compiling=yes |
2631 else | 2639 else |
2632 { { echo "$as_me:2632: error: cannot run C compiled programs. | 2640 { { echo "$as_me:2640: error: cannot run C compiled programs. |
2633 If you meant to cross compile, use \`--host'." >&5 | 2641 If you meant to cross compile, use \`--host'." >&5 |
2634 echo "$as_me: error: cannot run C compiled programs. | 2642 echo "$as_me: error: cannot run C compiled programs. |
2635 If you meant to cross compile, use \`--host'." >&2;} | 2643 If you meant to cross compile, use \`--host'." >&2;} |
2636 { (exit 1); exit 1; }; } | 2644 { (exit 1); exit 1; }; } |
2637 fi | 2645 fi |
2638 fi | 2646 fi |
2639 fi | 2647 fi |
2640 echo "$as_me:2640: result: yes" >&5 | 2648 echo "$as_me:2648: result: yes" >&5 |
2641 echo "${ECHO_T}yes" >&6 | 2649 echo "${ECHO_T}yes" >&6 |
2642 | 2650 |
2643 rm -f a.out a.exe conftest$ac_cv_exeext | 2651 rm -f a.out a.exe conftest$ac_cv_exeext |
2644 ac_clean_files=$ac_clean_files_save | 2652 ac_clean_files=$ac_clean_files_save |
2645 # Check the compiler produces executables we can run. If not, either | 2653 # Check the compiler produces executables we can run. If not, either |
2646 # the compiler is broken, or we cross compile. | 2654 # the compiler is broken, or we cross compile. |
2647 echo "$as_me:2647: checking whether we are cross compiling" >&5 | 2655 echo "$as_me:2655: checking whether we are cross compiling" >&5 |
2648 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 | 2656 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 |
2649 echo "$as_me:2649: result: $cross_compiling" >&5 | 2657 echo "$as_me:2657: result: $cross_compiling" >&5 |
2650 echo "${ECHO_T}$cross_compiling" >&6 | 2658 echo "${ECHO_T}$cross_compiling" >&6 |
2651 | 2659 |
2652 echo "$as_me:2652: checking for executable suffix" >&5 | 2660 echo "$as_me:2660: checking for executable suffix" >&5 |
2653 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6 | 2661 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6 |
2654 if { (eval echo "$as_me:2654: \"$ac_link\"") >&5 | 2662 if { (eval echo "$as_me:2662: \"$ac_link\"") >&5 |
2655 (eval $ac_link) 2>&5 | 2663 (eval $ac_link) 2>&5 |
2656 ac_status=$? | 2664 ac_status=$? |
2657 echo "$as_me:2657: \$? = $ac_status" >&5 | 2665 echo "$as_me:2665: \$? = $ac_status" >&5 |
2658 (exit $ac_status); }; then | 2666 (exit $ac_status); }; then |
2659 # If both `conftest.exe' and `conftest' are `present' (well, observable) | 2667 # If both `conftest.exe' and `conftest' are `present' (well, observable) |
2660 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | 2668 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
2661 # work properly (i.e., refer to `conftest.exe'), while it won't with | 2669 # work properly (i.e., refer to `conftest.exe'), while it won't with |
2662 # `rm'. | 2670 # `rm'. |
2668 break;; | 2676 break;; |
2669 * ) break;; | 2677 * ) break;; |
2670 esac | 2678 esac |
2671 done | 2679 done |
2672 else | 2680 else |
2673 { { echo "$as_me:2673: error: cannot compute EXEEXT: cannot compile and link" >&5 | 2681 { { echo "$as_me:2681: error: cannot compute EXEEXT: cannot compile and link" >&5 |
2674 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} | 2682 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} |
2675 { (exit 1); exit 1; }; } | 2683 { (exit 1); exit 1; }; } |
2676 fi | 2684 fi |
2677 | 2685 |
2678 rm -f conftest$ac_cv_exeext | 2686 rm -f conftest$ac_cv_exeext |
2679 echo "$as_me:2679: result: $ac_cv_exeext" >&5 | 2687 echo "$as_me:2687: result: $ac_cv_exeext" >&5 |
2680 echo "${ECHO_T}$ac_cv_exeext" >&6 | 2688 echo "${ECHO_T}$ac_cv_exeext" >&6 |
2681 | 2689 |
2682 rm -f conftest.$ac_ext | 2690 rm -f conftest.$ac_ext |
2683 EXEEXT=$ac_cv_exeext | 2691 EXEEXT=$ac_cv_exeext |
2684 ac_exeext=$EXEEXT | 2692 ac_exeext=$EXEEXT |
2685 echo "$as_me:2685: checking for object suffix" >&5 | 2693 echo "$as_me:2693: checking for object suffix" >&5 |
2686 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6 | 2694 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6 |
2687 if test "${ac_cv_objext+set}" = set; then | 2695 if test "${ac_cv_objext+set}" = set; then |
2688 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2696 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2689 else | 2697 else |
2690 cat >conftest.$ac_ext <<_ACEOF | 2698 cat >conftest.$ac_ext <<_ACEOF |
2691 #line 2691 "configure" | 2699 #line 2699 "configure" |
2692 #include "confdefs.h" | 2700 #include "confdefs.h" |
2693 | 2701 |
2694 int | 2702 int |
2695 main () | 2703 main () |
2696 { | 2704 { |
2698 ; | 2706 ; |
2699 return 0; | 2707 return 0; |
2700 } | 2708 } |
2701 _ACEOF | 2709 _ACEOF |
2702 rm -f conftest.o conftest.obj | 2710 rm -f conftest.o conftest.obj |
2703 if { (eval echo "$as_me:2703: \"$ac_compile\"") >&5 | 2711 if { (eval echo "$as_me:2711: \"$ac_compile\"") >&5 |
2704 (eval $ac_compile) 2>&5 | 2712 (eval $ac_compile) 2>&5 |
2705 ac_status=$? | 2713 ac_status=$? |
2706 echo "$as_me:2706: \$? = $ac_status" >&5 | 2714 echo "$as_me:2714: \$? = $ac_status" >&5 |
2707 (exit $ac_status); }; then | 2715 (exit $ac_status); }; then |
2708 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do | 2716 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do |
2709 case $ac_file in | 2717 case $ac_file in |
2710 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; | 2718 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; |
2711 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | 2719 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
2713 esac | 2721 esac |
2714 done | 2722 done |
2715 else | 2723 else |
2716 echo "$as_me: failed program was:" >&5 | 2724 echo "$as_me: failed program was:" >&5 |
2717 cat conftest.$ac_ext >&5 | 2725 cat conftest.$ac_ext >&5 |
2718 { { echo "$as_me:2718: error: cannot compute OBJEXT: cannot compile" >&5 | 2726 { { echo "$as_me:2726: error: cannot compute OBJEXT: cannot compile" >&5 |
2719 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} | 2727 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} |
2720 { (exit 1); exit 1; }; } | 2728 { (exit 1); exit 1; }; } |
2721 fi | 2729 fi |
2722 | 2730 |
2723 rm -f conftest.$ac_cv_objext conftest.$ac_ext | 2731 rm -f conftest.$ac_cv_objext conftest.$ac_ext |
2724 fi | 2732 fi |
2725 echo "$as_me:2725: result: $ac_cv_objext" >&5 | 2733 echo "$as_me:2733: result: $ac_cv_objext" >&5 |
2726 echo "${ECHO_T}$ac_cv_objext" >&6 | 2734 echo "${ECHO_T}$ac_cv_objext" >&6 |
2727 OBJEXT=$ac_cv_objext | 2735 OBJEXT=$ac_cv_objext |
2728 ac_objext=$OBJEXT | 2736 ac_objext=$OBJEXT |
2729 echo "$as_me:2729: checking whether we are using the GNU C compiler" >&5 | 2737 echo "$as_me:2737: checking whether we are using the GNU C compiler" >&5 |
2730 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 | 2738 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
2731 if test "${ac_cv_c_compiler_gnu+set}" = set; then | 2739 if test "${ac_cv_c_compiler_gnu+set}" = set; then |
2732 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2740 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2733 else | 2741 else |
2734 cat >conftest.$ac_ext <<_ACEOF | 2742 cat >conftest.$ac_ext <<_ACEOF |
2735 #line 2735 "configure" | 2743 #line 2743 "configure" |
2736 #include "confdefs.h" | 2744 #include "confdefs.h" |
2737 | 2745 |
2738 int | 2746 int |
2739 main () | 2747 main () |
2740 { | 2748 { |
2745 ; | 2753 ; |
2746 return 0; | 2754 return 0; |
2747 } | 2755 } |
2748 _ACEOF | 2756 _ACEOF |
2749 rm -f conftest.$ac_objext | 2757 rm -f conftest.$ac_objext |
2750 if { (eval echo "$as_me:2750: \"$ac_compile\"") >&5 | 2758 if { (eval echo "$as_me:2758: \"$ac_compile\"") >&5 |
2751 (eval $ac_compile) 2>&5 | 2759 (eval $ac_compile) 2>&5 |
2752 ac_status=$? | 2760 ac_status=$? |
2753 echo "$as_me:2753: \$? = $ac_status" >&5 | 2761 echo "$as_me:2761: \$? = $ac_status" >&5 |
2754 (exit $ac_status); } && | 2762 (exit $ac_status); } && |
2755 { ac_try='test -s conftest.$ac_objext' | 2763 { ac_try='test -s conftest.$ac_objext' |
2756 { (eval echo "$as_me:2756: \"$ac_try\"") >&5 | 2764 { (eval echo "$as_me:2764: \"$ac_try\"") >&5 |
2757 (eval $ac_try) 2>&5 | 2765 (eval $ac_try) 2>&5 |
2758 ac_status=$? | 2766 ac_status=$? |
2759 echo "$as_me:2759: \$? = $ac_status" >&5 | 2767 echo "$as_me:2767: \$? = $ac_status" >&5 |
2760 (exit $ac_status); }; }; then | 2768 (exit $ac_status); }; }; then |
2761 ac_compiler_gnu=yes | 2769 ac_compiler_gnu=yes |
2762 else | 2770 else |
2763 echo "$as_me: failed program was:" >&5 | 2771 echo "$as_me: failed program was:" >&5 |
2764 cat conftest.$ac_ext >&5 | 2772 cat conftest.$ac_ext >&5 |
2766 fi | 2774 fi |
2767 rm -f conftest.$ac_objext conftest.$ac_ext | 2775 rm -f conftest.$ac_objext conftest.$ac_ext |
2768 ac_cv_c_compiler_gnu=$ac_compiler_gnu | 2776 ac_cv_c_compiler_gnu=$ac_compiler_gnu |
2769 | 2777 |
2770 fi | 2778 fi |
2771 echo "$as_me:2771: result: $ac_cv_c_compiler_gnu" >&5 | 2779 echo "$as_me:2779: result: $ac_cv_c_compiler_gnu" >&5 |
2772 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 | 2780 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
2773 GCC=`test $ac_compiler_gnu = yes && echo yes` | 2781 GCC=`test $ac_compiler_gnu = yes && echo yes` |
2774 ac_test_CFLAGS=${CFLAGS+set} | 2782 ac_test_CFLAGS=${CFLAGS+set} |
2775 ac_save_CFLAGS=$CFLAGS | 2783 ac_save_CFLAGS=$CFLAGS |
2776 CFLAGS="-g" | 2784 CFLAGS="-g" |
2777 echo "$as_me:2777: checking whether $CC accepts -g" >&5 | 2785 echo "$as_me:2785: checking whether $CC accepts -g" >&5 |
2778 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 | 2786 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
2779 if test "${ac_cv_prog_cc_g+set}" = set; then | 2787 if test "${ac_cv_prog_cc_g+set}" = set; then |
2780 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2788 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2781 else | 2789 else |
2782 cat >conftest.$ac_ext <<_ACEOF | 2790 cat >conftest.$ac_ext <<_ACEOF |
2783 #line 2783 "configure" | 2791 #line 2791 "configure" |
2784 #include "confdefs.h" | 2792 #include "confdefs.h" |
2785 | 2793 |
2786 int | 2794 int |
2787 main () | 2795 main () |
2788 { | 2796 { |
2790 ; | 2798 ; |
2791 return 0; | 2799 return 0; |
2792 } | 2800 } |
2793 _ACEOF | 2801 _ACEOF |
2794 rm -f conftest.$ac_objext | 2802 rm -f conftest.$ac_objext |
2795 if { (eval echo "$as_me:2795: \"$ac_compile\"") >&5 | 2803 if { (eval echo "$as_me:2803: \"$ac_compile\"") >&5 |
2796 (eval $ac_compile) 2>&5 | 2804 (eval $ac_compile) 2>&5 |
2797 ac_status=$? | 2805 ac_status=$? |
2798 echo "$as_me:2798: \$? = $ac_status" >&5 | 2806 echo "$as_me:2806: \$? = $ac_status" >&5 |
2799 (exit $ac_status); } && | 2807 (exit $ac_status); } && |
2800 { ac_try='test -s conftest.$ac_objext' | 2808 { ac_try='test -s conftest.$ac_objext' |
2801 { (eval echo "$as_me:2801: \"$ac_try\"") >&5 | 2809 { (eval echo "$as_me:2809: \"$ac_try\"") >&5 |
2802 (eval $ac_try) 2>&5 | 2810 (eval $ac_try) 2>&5 |
2803 ac_status=$? | 2811 ac_status=$? |
2804 echo "$as_me:2804: \$? = $ac_status" >&5 | 2812 echo "$as_me:2812: \$? = $ac_status" >&5 |
2805 (exit $ac_status); }; }; then | 2813 (exit $ac_status); }; }; then |
2806 ac_cv_prog_cc_g=yes | 2814 ac_cv_prog_cc_g=yes |
2807 else | 2815 else |
2808 echo "$as_me: failed program was:" >&5 | 2816 echo "$as_me: failed program was:" >&5 |
2809 cat conftest.$ac_ext >&5 | 2817 cat conftest.$ac_ext >&5 |
2810 ac_cv_prog_cc_g=no | 2818 ac_cv_prog_cc_g=no |
2811 fi | 2819 fi |
2812 rm -f conftest.$ac_objext conftest.$ac_ext | 2820 rm -f conftest.$ac_objext conftest.$ac_ext |
2813 fi | 2821 fi |
2814 echo "$as_me:2814: result: $ac_cv_prog_cc_g" >&5 | 2822 echo "$as_me:2822: result: $ac_cv_prog_cc_g" >&5 |
2815 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 | 2823 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
2816 if test "$ac_test_CFLAGS" = set; then | 2824 if test "$ac_test_CFLAGS" = set; then |
2817 CFLAGS=$ac_save_CFLAGS | 2825 CFLAGS=$ac_save_CFLAGS |
2818 elif test $ac_cv_prog_cc_g = yes; then | 2826 elif test $ac_cv_prog_cc_g = yes; then |
2819 if test "$GCC" = yes; then | 2827 if test "$GCC" = yes; then |
2836 #ifndef __cplusplus | 2844 #ifndef __cplusplus |
2837 choke me | 2845 choke me |
2838 #endif | 2846 #endif |
2839 _ACEOF | 2847 _ACEOF |
2840 rm -f conftest.$ac_objext | 2848 rm -f conftest.$ac_objext |
2841 if { (eval echo "$as_me:2841: \"$ac_compile\"") >&5 | 2849 if { (eval echo "$as_me:2849: \"$ac_compile\"") >&5 |
2842 (eval $ac_compile) 2>&5 | 2850 (eval $ac_compile) 2>&5 |
2843 ac_status=$? | 2851 ac_status=$? |
2844 echo "$as_me:2844: \$? = $ac_status" >&5 | 2852 echo "$as_me:2852: \$? = $ac_status" >&5 |
2845 (exit $ac_status); } && | 2853 (exit $ac_status); } && |
2846 { ac_try='test -s conftest.$ac_objext' | 2854 { ac_try='test -s conftest.$ac_objext' |
2847 { (eval echo "$as_me:2847: \"$ac_try\"") >&5 | 2855 { (eval echo "$as_me:2855: \"$ac_try\"") >&5 |
2848 (eval $ac_try) 2>&5 | 2856 (eval $ac_try) 2>&5 |
2849 ac_status=$? | 2857 ac_status=$? |
2850 echo "$as_me:2850: \$? = $ac_status" >&5 | 2858 echo "$as_me:2858: \$? = $ac_status" >&5 |
2851 (exit $ac_status); }; }; then | 2859 (exit $ac_status); }; }; then |
2852 for ac_declaration in \ | 2860 for ac_declaration in \ |
2853 ''\ | 2861 ''\ |
2854 '#include <stdlib.h>' \ | 2862 '#include <stdlib.h>' \ |
2855 'extern "C" void std::exit (int) throw (); using std::exit;' \ | 2863 'extern "C" void std::exit (int) throw (); using std::exit;' \ |
2857 'extern "C" void exit (int) throw ();' \ | 2865 'extern "C" void exit (int) throw ();' \ |
2858 'extern "C" void exit (int);' \ | 2866 'extern "C" void exit (int);' \ |
2859 'void exit (int);' | 2867 'void exit (int);' |
2860 do | 2868 do |
2861 cat >conftest.$ac_ext <<_ACEOF | 2869 cat >conftest.$ac_ext <<_ACEOF |
2862 #line 2862 "configure" | 2870 #line 2870 "configure" |
2863 #include "confdefs.h" | 2871 #include "confdefs.h" |
2864 #include <stdlib.h> | 2872 #include <stdlib.h> |
2865 $ac_declaration | 2873 $ac_declaration |
2866 int | 2874 int |
2867 main () | 2875 main () |
2870 ; | 2878 ; |
2871 return 0; | 2879 return 0; |
2872 } | 2880 } |
2873 _ACEOF | 2881 _ACEOF |
2874 rm -f conftest.$ac_objext | 2882 rm -f conftest.$ac_objext |
2875 if { (eval echo "$as_me:2875: \"$ac_compile\"") >&5 | 2883 if { (eval echo "$as_me:2883: \"$ac_compile\"") >&5 |
2876 (eval $ac_compile) 2>&5 | 2884 (eval $ac_compile) 2>&5 |
2877 ac_status=$? | 2885 ac_status=$? |
2878 echo "$as_me:2878: \$? = $ac_status" >&5 | 2886 echo "$as_me:2886: \$? = $ac_status" >&5 |
2879 (exit $ac_status); } && | 2887 (exit $ac_status); } && |
2880 { ac_try='test -s conftest.$ac_objext' | 2888 { ac_try='test -s conftest.$ac_objext' |
2881 { (eval echo "$as_me:2881: \"$ac_try\"") >&5 | 2889 { (eval echo "$as_me:2889: \"$ac_try\"") >&5 |
2882 (eval $ac_try) 2>&5 | 2890 (eval $ac_try) 2>&5 |
2883 ac_status=$? | 2891 ac_status=$? |
2884 echo "$as_me:2884: \$? = $ac_status" >&5 | 2892 echo "$as_me:2892: \$? = $ac_status" >&5 |
2885 (exit $ac_status); }; }; then | 2893 (exit $ac_status); }; }; then |
2886 : | 2894 : |
2887 else | 2895 else |
2888 echo "$as_me: failed program was:" >&5 | 2896 echo "$as_me: failed program was:" >&5 |
2889 cat conftest.$ac_ext >&5 | 2897 cat conftest.$ac_ext >&5 |
2890 continue | 2898 continue |
2891 fi | 2899 fi |
2892 rm -f conftest.$ac_objext conftest.$ac_ext | 2900 rm -f conftest.$ac_objext conftest.$ac_ext |
2893 cat >conftest.$ac_ext <<_ACEOF | 2901 cat >conftest.$ac_ext <<_ACEOF |
2894 #line 2894 "configure" | 2902 #line 2902 "configure" |
2895 #include "confdefs.h" | 2903 #include "confdefs.h" |
2896 $ac_declaration | 2904 $ac_declaration |
2897 int | 2905 int |
2898 main () | 2906 main () |
2899 { | 2907 { |
2901 ; | 2909 ; |
2902 return 0; | 2910 return 0; |
2903 } | 2911 } |
2904 _ACEOF | 2912 _ACEOF |
2905 rm -f conftest.$ac_objext | 2913 rm -f conftest.$ac_objext |
2906 if { (eval echo "$as_me:2906: \"$ac_compile\"") >&5 | 2914 if { (eval echo "$as_me:2914: \"$ac_compile\"") >&5 |
2907 (eval $ac_compile) 2>&5 | 2915 (eval $ac_compile) 2>&5 |
2908 ac_status=$? | 2916 ac_status=$? |
2909 echo "$as_me:2909: \$? = $ac_status" >&5 | 2917 echo "$as_me:2917: \$? = $ac_status" >&5 |
2910 (exit $ac_status); } && | 2918 (exit $ac_status); } && |
2911 { ac_try='test -s conftest.$ac_objext' | 2919 { ac_try='test -s conftest.$ac_objext' |
2912 { (eval echo "$as_me:2912: \"$ac_try\"") >&5 | 2920 { (eval echo "$as_me:2920: \"$ac_try\"") >&5 |
2913 (eval $ac_try) 2>&5 | 2921 (eval $ac_try) 2>&5 |
2914 ac_status=$? | 2922 ac_status=$? |
2915 echo "$as_me:2915: \$? = $ac_status" >&5 | 2923 echo "$as_me:2923: \$? = $ac_status" >&5 |
2916 (exit $ac_status); }; }; then | 2924 (exit $ac_status); }; }; then |
2917 break | 2925 break |
2918 else | 2926 else |
2919 echo "$as_me: failed program was:" >&5 | 2927 echo "$as_me: failed program was:" >&5 |
2920 cat conftest.$ac_ext >&5 | 2928 cat conftest.$ac_ext >&5 |
2983 | 2991 |
2984 #### Some other nice autoconf tests. If you add a test here which | 2992 #### Some other nice autoconf tests. If you add a test here which |
2985 #### should make an entry in src/config.h, don't forget to add an | 2993 #### should make an entry in src/config.h, don't forget to add an |
2986 #### #undef clause to src/config.h.in for autoconf to modify. | 2994 #### #undef clause to src/config.h.in for autoconf to modify. |
2987 | 2995 |
2988 echo "$as_me:2988: checking whether ln -s works" >&5 | 2996 echo "$as_me:2996: checking whether ln -s works" >&5 |
2989 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 | 2997 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 |
2990 LN_S=$as_ln_s | 2998 LN_S=$as_ln_s |
2991 if test "$LN_S" = "ln -s"; then | 2999 if test "$LN_S" = "ln -s"; then |
2992 echo "$as_me:2992: result: yes" >&5 | 3000 echo "$as_me:3000: result: yes" >&5 |
2993 echo "${ECHO_T}yes" >&6 | 3001 echo "${ECHO_T}yes" >&6 |
2994 else | 3002 else |
2995 echo "$as_me:2995: result: no, using $LN_S" >&5 | 3003 echo "$as_me:3003: result: no, using $LN_S" >&5 |
2996 echo "${ECHO_T}no, using $LN_S" >&6 | 3004 echo "${ECHO_T}no, using $LN_S" >&6 |
2997 fi | 3005 fi |
2998 | 3006 |
2999 ac_ext=c | 3007 ac_ext=c |
3000 ac_cpp='$CPP $CPPFLAGS' | 3008 ac_cpp='$CPP $CPPFLAGS' |
3001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 3009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 3010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3003 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 3011 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3004 echo "$as_me:3004: checking how to run the C preprocessor" >&5 | 3012 echo "$as_me:3012: checking how to run the C preprocessor" >&5 |
3005 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 | 3013 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 |
3006 # On Suns, sometimes $CPP names a directory. | 3014 # On Suns, sometimes $CPP names a directory. |
3007 if test -n "$CPP" && test -d "$CPP"; then | 3015 if test -n "$CPP" && test -d "$CPP"; then |
3008 CPP= | 3016 CPP= |
3009 fi | 3017 fi |
3020 # Use a header file that comes with gcc, so configuring glibc | 3028 # Use a header file that comes with gcc, so configuring glibc |
3021 # with a fresh cross-compiler works. | 3029 # with a fresh cross-compiler works. |
3022 # On the NeXT, cc -E runs the code through the compiler's parser, | 3030 # On the NeXT, cc -E runs the code through the compiler's parser, |
3023 # not just through cpp. "Syntax error" is here to catch this case. | 3031 # not just through cpp. "Syntax error" is here to catch this case. |
3024 cat >conftest.$ac_ext <<_ACEOF | 3032 cat >conftest.$ac_ext <<_ACEOF |
3025 #line 3025 "configure" | 3033 #line 3033 "configure" |
3026 #include "confdefs.h" | 3034 #include "confdefs.h" |
3027 #include <assert.h> | 3035 #include <assert.h> |
3028 Syntax error | 3036 Syntax error |
3029 _ACEOF | 3037 _ACEOF |
3030 if { (eval echo "$as_me:3030: \"$ac_cpp conftest.$ac_ext\"") >&5 | 3038 if { (eval echo "$as_me:3038: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3031 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 3039 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
3032 ac_status=$? | 3040 ac_status=$? |
3033 egrep -v '^ *\+' conftest.er1 >conftest.err | 3041 egrep -v '^ *\+' conftest.er1 >conftest.err |
3034 rm -f conftest.er1 | 3042 rm -f conftest.er1 |
3035 cat conftest.err >&5 | 3043 cat conftest.err >&5 |
3036 echo "$as_me:3036: \$? = $ac_status" >&5 | 3044 echo "$as_me:3044: \$? = $ac_status" >&5 |
3037 (exit $ac_status); } >/dev/null; then | 3045 (exit $ac_status); } >/dev/null; then |
3038 if test -s conftest.err; then | 3046 if test -s conftest.err; then |
3039 ac_cpp_err=$ac_c_preproc_warn_flag | 3047 ac_cpp_err=$ac_c_preproc_warn_flag |
3040 else | 3048 else |
3041 ac_cpp_err= | 3049 ac_cpp_err= |
3054 rm -f conftest.err conftest.$ac_ext | 3062 rm -f conftest.err conftest.$ac_ext |
3055 | 3063 |
3056 # OK, works on sane cases. Now check whether non-existent headers | 3064 # OK, works on sane cases. Now check whether non-existent headers |
3057 # can be detected and how. | 3065 # can be detected and how. |
3058 cat >conftest.$ac_ext <<_ACEOF | 3066 cat >conftest.$ac_ext <<_ACEOF |
3059 #line 3059 "configure" | 3067 #line 3067 "configure" |
3060 #include "confdefs.h" | 3068 #include "confdefs.h" |
3061 #include <ac_nonexistent.h> | 3069 #include <ac_nonexistent.h> |
3062 _ACEOF | 3070 _ACEOF |
3063 if { (eval echo "$as_me:3063: \"$ac_cpp conftest.$ac_ext\"") >&5 | 3071 if { (eval echo "$as_me:3071: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3064 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 3072 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
3065 ac_status=$? | 3073 ac_status=$? |
3066 egrep -v '^ *\+' conftest.er1 >conftest.err | 3074 egrep -v '^ *\+' conftest.er1 >conftest.err |
3067 rm -f conftest.er1 | 3075 rm -f conftest.er1 |
3068 cat conftest.err >&5 | 3076 cat conftest.err >&5 |
3069 echo "$as_me:3069: \$? = $ac_status" >&5 | 3077 echo "$as_me:3077: \$? = $ac_status" >&5 |
3070 (exit $ac_status); } >/dev/null; then | 3078 (exit $ac_status); } >/dev/null; then |
3071 if test -s conftest.err; then | 3079 if test -s conftest.err; then |
3072 ac_cpp_err=$ac_c_preproc_warn_flag | 3080 ac_cpp_err=$ac_c_preproc_warn_flag |
3073 else | 3081 else |
3074 ac_cpp_err= | 3082 ac_cpp_err= |
3101 fi | 3109 fi |
3102 CPP=$ac_cv_prog_CPP | 3110 CPP=$ac_cv_prog_CPP |
3103 else | 3111 else |
3104 ac_cv_prog_CPP=$CPP | 3112 ac_cv_prog_CPP=$CPP |
3105 fi | 3113 fi |
3106 echo "$as_me:3106: result: $CPP" >&5 | 3114 echo "$as_me:3114: result: $CPP" >&5 |
3107 echo "${ECHO_T}$CPP" >&6 | 3115 echo "${ECHO_T}$CPP" >&6 |
3108 ac_preproc_ok=false | 3116 ac_preproc_ok=false |
3109 for ac_c_preproc_warn_flag in '' yes | 3117 for ac_c_preproc_warn_flag in '' yes |
3110 do | 3118 do |
3111 # Use a header file that comes with gcc, so configuring glibc | 3119 # Use a header file that comes with gcc, so configuring glibc |
3112 # with a fresh cross-compiler works. | 3120 # with a fresh cross-compiler works. |
3113 # On the NeXT, cc -E runs the code through the compiler's parser, | 3121 # On the NeXT, cc -E runs the code through the compiler's parser, |
3114 # not just through cpp. "Syntax error" is here to catch this case. | 3122 # not just through cpp. "Syntax error" is here to catch this case. |
3115 cat >conftest.$ac_ext <<_ACEOF | 3123 cat >conftest.$ac_ext <<_ACEOF |
3116 #line 3116 "configure" | 3124 #line 3124 "configure" |
3117 #include "confdefs.h" | 3125 #include "confdefs.h" |
3118 #include <assert.h> | 3126 #include <assert.h> |
3119 Syntax error | 3127 Syntax error |
3120 _ACEOF | 3128 _ACEOF |
3121 if { (eval echo "$as_me:3121: \"$ac_cpp conftest.$ac_ext\"") >&5 | 3129 if { (eval echo "$as_me:3129: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3122 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 3130 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
3123 ac_status=$? | 3131 ac_status=$? |
3124 egrep -v '^ *\+' conftest.er1 >conftest.err | 3132 egrep -v '^ *\+' conftest.er1 >conftest.err |
3125 rm -f conftest.er1 | 3133 rm -f conftest.er1 |
3126 cat conftest.err >&5 | 3134 cat conftest.err >&5 |
3127 echo "$as_me:3127: \$? = $ac_status" >&5 | 3135 echo "$as_me:3135: \$? = $ac_status" >&5 |
3128 (exit $ac_status); } >/dev/null; then | 3136 (exit $ac_status); } >/dev/null; then |
3129 if test -s conftest.err; then | 3137 if test -s conftest.err; then |
3130 ac_cpp_err=$ac_c_preproc_warn_flag | 3138 ac_cpp_err=$ac_c_preproc_warn_flag |
3131 else | 3139 else |
3132 ac_cpp_err= | 3140 ac_cpp_err= |
3145 rm -f conftest.err conftest.$ac_ext | 3153 rm -f conftest.err conftest.$ac_ext |
3146 | 3154 |
3147 # OK, works on sane cases. Now check whether non-existent headers | 3155 # OK, works on sane cases. Now check whether non-existent headers |
3148 # can be detected and how. | 3156 # can be detected and how. |
3149 cat >conftest.$ac_ext <<_ACEOF | 3157 cat >conftest.$ac_ext <<_ACEOF |
3150 #line 3150 "configure" | 3158 #line 3158 "configure" |
3151 #include "confdefs.h" | 3159 #include "confdefs.h" |
3152 #include <ac_nonexistent.h> | 3160 #include <ac_nonexistent.h> |
3153 _ACEOF | 3161 _ACEOF |
3154 if { (eval echo "$as_me:3154: \"$ac_cpp conftest.$ac_ext\"") >&5 | 3162 if { (eval echo "$as_me:3162: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3155 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 3163 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
3156 ac_status=$? | 3164 ac_status=$? |
3157 egrep -v '^ *\+' conftest.er1 >conftest.err | 3165 egrep -v '^ *\+' conftest.er1 >conftest.err |
3158 rm -f conftest.er1 | 3166 rm -f conftest.er1 |
3159 cat conftest.err >&5 | 3167 cat conftest.err >&5 |
3160 echo "$as_me:3160: \$? = $ac_status" >&5 | 3168 echo "$as_me:3168: \$? = $ac_status" >&5 |
3161 (exit $ac_status); } >/dev/null; then | 3169 (exit $ac_status); } >/dev/null; then |
3162 if test -s conftest.err; then | 3170 if test -s conftest.err; then |
3163 ac_cpp_err=$ac_c_preproc_warn_flag | 3171 ac_cpp_err=$ac_c_preproc_warn_flag |
3164 else | 3172 else |
3165 ac_cpp_err= | 3173 ac_cpp_err= |
3183 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 3191 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3184 rm -f conftest.err conftest.$ac_ext | 3192 rm -f conftest.err conftest.$ac_ext |
3185 if $ac_preproc_ok; then | 3193 if $ac_preproc_ok; then |
3186 : | 3194 : |
3187 else | 3195 else |
3188 { { echo "$as_me:3188: error: C preprocessor \"$CPP\" fails sanity check" >&5 | 3196 { { echo "$as_me:3196: error: C preprocessor \"$CPP\" fails sanity check" >&5 |
3189 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} | 3197 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} |
3190 { (exit 1); exit 1; }; } | 3198 { (exit 1); exit 1; }; } |
3191 fi | 3199 fi |
3192 | 3200 |
3193 ac_ext=c | 3201 ac_ext=c |
3206 # AmigaOS /C/install, which installs bootblocks on floppy discs | 3214 # AmigaOS /C/install, which installs bootblocks on floppy discs |
3207 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 3215 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
3208 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 3216 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
3209 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 3217 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
3210 # ./install, which can be erroneously created by make from ./install.sh. | 3218 # ./install, which can be erroneously created by make from ./install.sh. |
3211 echo "$as_me:3211: checking for a BSD compatible install" >&5 | 3219 echo "$as_me:3219: checking for a BSD compatible install" >&5 |
3212 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6 | 3220 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6 |
3213 if test -z "$INSTALL"; then | 3221 if test -z "$INSTALL"; then |
3214 if test "${ac_cv_path_install+set}" = set; then | 3222 if test "${ac_cv_path_install+set}" = set; then |
3215 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3223 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3216 else | 3224 else |
3255 # break other packages using the cache if that directory is | 3263 # break other packages using the cache if that directory is |
3256 # removed, or if the path is relative. | 3264 # removed, or if the path is relative. |
3257 INSTALL=$ac_install_sh | 3265 INSTALL=$ac_install_sh |
3258 fi | 3266 fi |
3259 fi | 3267 fi |
3260 echo "$as_me:3260: result: $INSTALL" >&5 | 3268 echo "$as_me:3268: result: $INSTALL" >&5 |
3261 echo "${ECHO_T}$INSTALL" >&6 | 3269 echo "${ECHO_T}$INSTALL" >&6 |
3262 | 3270 |
3263 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 3271 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
3264 # It thinks the first close brace ends the variable substitution. | 3272 # It thinks the first close brace ends the variable substitution. |
3265 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | 3273 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
3270 | 3278 |
3271 for ac_prog in 'bison -y' byacc | 3279 for ac_prog in 'bison -y' byacc |
3272 do | 3280 do |
3273 # Extract the first word of "$ac_prog", so it can be a program name with args. | 3281 # Extract the first word of "$ac_prog", so it can be a program name with args. |
3274 set dummy $ac_prog; ac_word=$2 | 3282 set dummy $ac_prog; ac_word=$2 |
3275 echo "$as_me:3275: checking for $ac_word" >&5 | 3283 echo "$as_me:3283: checking for $ac_word" >&5 |
3276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 3284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3277 if test "${ac_cv_prog_YACC+set}" = set; then | 3285 if test "${ac_cv_prog_YACC+set}" = set; then |
3278 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3286 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3279 else | 3287 else |
3280 if test -n "$YACC"; then | 3288 if test -n "$YACC"; then |
3285 for ac_dir in $ac_dummy; do | 3293 for ac_dir in $ac_dummy; do |
3286 IFS=$ac_save_IFS | 3294 IFS=$ac_save_IFS |
3287 test -z "$ac_dir" && ac_dir=. | 3295 test -z "$ac_dir" && ac_dir=. |
3288 $as_executable_p "$ac_dir/$ac_word" || continue | 3296 $as_executable_p "$ac_dir/$ac_word" || continue |
3289 ac_cv_prog_YACC="$ac_prog" | 3297 ac_cv_prog_YACC="$ac_prog" |
3290 echo "$as_me:3290: found $ac_dir/$ac_word" >&5 | 3298 echo "$as_me:3298: found $ac_dir/$ac_word" >&5 |
3291 break | 3299 break |
3292 done | 3300 done |
3293 | 3301 |
3294 fi | 3302 fi |
3295 fi | 3303 fi |
3296 YACC=$ac_cv_prog_YACC | 3304 YACC=$ac_cv_prog_YACC |
3297 if test -n "$YACC"; then | 3305 if test -n "$YACC"; then |
3298 echo "$as_me:3298: result: $YACC" >&5 | 3306 echo "$as_me:3306: result: $YACC" >&5 |
3299 echo "${ECHO_T}$YACC" >&6 | 3307 echo "${ECHO_T}$YACC" >&6 |
3300 else | 3308 else |
3301 echo "$as_me:3301: result: no" >&5 | 3309 echo "$as_me:3309: result: no" >&5 |
3302 echo "${ECHO_T}no" >&6 | 3310 echo "${ECHO_T}no" >&6 |
3303 fi | 3311 fi |
3304 | 3312 |
3305 test -n "$YACC" && break | 3313 test -n "$YACC" && break |
3306 done | 3314 done |
3308 | 3316 |
3309 if test "x$RANLIB" = x; then | 3317 if test "x$RANLIB" = x; then |
3310 if test -n "$ac_tool_prefix"; then | 3318 if test -n "$ac_tool_prefix"; then |
3311 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | 3319 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
3312 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | 3320 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
3313 echo "$as_me:3313: checking for $ac_word" >&5 | 3321 echo "$as_me:3321: checking for $ac_word" >&5 |
3314 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 3322 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3315 if test "${ac_cv_prog_RANLIB+set}" = set; then | 3323 if test "${ac_cv_prog_RANLIB+set}" = set; then |
3316 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3324 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3317 else | 3325 else |
3318 if test -n "$RANLIB"; then | 3326 if test -n "$RANLIB"; then |
3323 for ac_dir in $ac_dummy; do | 3331 for ac_dir in $ac_dummy; do |
3324 IFS=$ac_save_IFS | 3332 IFS=$ac_save_IFS |
3325 test -z "$ac_dir" && ac_dir=. | 3333 test -z "$ac_dir" && ac_dir=. |
3326 $as_executable_p "$ac_dir/$ac_word" || continue | 3334 $as_executable_p "$ac_dir/$ac_word" || continue |
3327 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" | 3335 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
3328 echo "$as_me:3328: found $ac_dir/$ac_word" >&5 | 3336 echo "$as_me:3336: found $ac_dir/$ac_word" >&5 |
3329 break | 3337 break |
3330 done | 3338 done |
3331 | 3339 |
3332 fi | 3340 fi |
3333 fi | 3341 fi |
3334 RANLIB=$ac_cv_prog_RANLIB | 3342 RANLIB=$ac_cv_prog_RANLIB |
3335 if test -n "$RANLIB"; then | 3343 if test -n "$RANLIB"; then |
3336 echo "$as_me:3336: result: $RANLIB" >&5 | 3344 echo "$as_me:3344: result: $RANLIB" >&5 |
3337 echo "${ECHO_T}$RANLIB" >&6 | 3345 echo "${ECHO_T}$RANLIB" >&6 |
3338 else | 3346 else |
3339 echo "$as_me:3339: result: no" >&5 | 3347 echo "$as_me:3347: result: no" >&5 |
3340 echo "${ECHO_T}no" >&6 | 3348 echo "${ECHO_T}no" >&6 |
3341 fi | 3349 fi |
3342 | 3350 |
3343 fi | 3351 fi |
3344 if test -z "$ac_cv_prog_RANLIB"; then | 3352 if test -z "$ac_cv_prog_RANLIB"; then |
3345 ac_ct_RANLIB=$RANLIB | 3353 ac_ct_RANLIB=$RANLIB |
3346 # Extract the first word of "ranlib", so it can be a program name with args. | 3354 # Extract the first word of "ranlib", so it can be a program name with args. |
3347 set dummy ranlib; ac_word=$2 | 3355 set dummy ranlib; ac_word=$2 |
3348 echo "$as_me:3348: checking for $ac_word" >&5 | 3356 echo "$as_me:3356: checking for $ac_word" >&5 |
3349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 3357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3350 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then | 3358 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
3351 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3359 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3352 else | 3360 else |
3353 if test -n "$ac_ct_RANLIB"; then | 3361 if test -n "$ac_ct_RANLIB"; then |
3358 for ac_dir in $ac_dummy; do | 3366 for ac_dir in $ac_dummy; do |
3359 IFS=$ac_save_IFS | 3367 IFS=$ac_save_IFS |
3360 test -z "$ac_dir" && ac_dir=. | 3368 test -z "$ac_dir" && ac_dir=. |
3361 $as_executable_p "$ac_dir/$ac_word" || continue | 3369 $as_executable_p "$ac_dir/$ac_word" || continue |
3362 ac_cv_prog_ac_ct_RANLIB="ranlib" | 3370 ac_cv_prog_ac_ct_RANLIB="ranlib" |
3363 echo "$as_me:3363: found $ac_dir/$ac_word" >&5 | 3371 echo "$as_me:3371: found $ac_dir/$ac_word" >&5 |
3364 break | 3372 break |
3365 done | 3373 done |
3366 | 3374 |
3367 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" | 3375 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" |
3368 fi | 3376 fi |
3369 fi | 3377 fi |
3370 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB | 3378 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
3371 if test -n "$ac_ct_RANLIB"; then | 3379 if test -n "$ac_ct_RANLIB"; then |
3372 echo "$as_me:3372: result: $ac_ct_RANLIB" >&5 | 3380 echo "$as_me:3380: result: $ac_ct_RANLIB" >&5 |
3373 echo "${ECHO_T}$ac_ct_RANLIB" >&6 | 3381 echo "${ECHO_T}$ac_ct_RANLIB" >&6 |
3374 else | 3382 else |
3375 echo "$as_me:3375: result: no" >&5 | 3383 echo "$as_me:3383: result: no" >&5 |
3376 echo "${ECHO_T}no" >&6 | 3384 echo "${ECHO_T}no" >&6 |
3377 fi | 3385 fi |
3378 | 3386 |
3379 RANLIB=$ac_ct_RANLIB | 3387 RANLIB=$ac_ct_RANLIB |
3380 else | 3388 else |
3381 RANLIB="$ac_cv_prog_RANLIB" | 3389 RANLIB="$ac_cv_prog_RANLIB" |
3382 fi | 3390 fi |
3383 | 3391 |
3384 fi | 3392 fi |
3385 | 3393 |
3386 echo "$as_me:3386: checking for AIX" >&5 | 3394 echo "$as_me:3394: checking for AIX" >&5 |
3387 echo $ECHO_N "checking for AIX... $ECHO_C" >&6 | 3395 echo $ECHO_N "checking for AIX... $ECHO_C" >&6 |
3388 cat >conftest.$ac_ext <<_ACEOF | 3396 cat >conftest.$ac_ext <<_ACEOF |
3389 #line 3389 "configure" | 3397 #line 3397 "configure" |
3390 #include "confdefs.h" | 3398 #include "confdefs.h" |
3391 #ifdef _AIX | 3399 #ifdef _AIX |
3392 yes | 3400 yes |
3393 #endif | 3401 #endif |
3394 | 3402 |
3395 _ACEOF | 3403 _ACEOF |
3396 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3404 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3397 egrep "yes" >/dev/null 2>&1; then | 3405 egrep "yes" >/dev/null 2>&1; then |
3398 echo "$as_me:3398: result: yes" >&5 | 3406 echo "$as_me:3406: result: yes" >&5 |
3399 echo "${ECHO_T}yes" >&6 | 3407 echo "${ECHO_T}yes" >&6 |
3400 cat >>confdefs.h <<\EOF | 3408 cat >>confdefs.h <<\EOF |
3401 #define _ALL_SOURCE 1 | 3409 #define _ALL_SOURCE 1 |
3402 EOF | 3410 EOF |
3403 | 3411 |
3404 else | 3412 else |
3405 echo "$as_me:3405: result: no" >&5 | 3413 echo "$as_me:3413: result: no" >&5 |
3406 echo "${ECHO_T}no" >&6 | 3414 echo "${ECHO_T}no" >&6 |
3407 fi | 3415 fi |
3408 rm -f conftest* | 3416 rm -f conftest* |
3409 | 3417 |
3410 #### Extract some information from the operating system and machine files. | 3418 #### Extract some information from the operating system and machine files. |
3411 | 3419 |
3412 { echo "$as_me:3412: checking the machine- and system-dependent files to find out | 3420 { echo "$as_me:3420: checking the machine- and system-dependent files to find out |
3413 - which libraries the lib-src programs will want, and | 3421 - which libraries the lib-src programs will want, and |
3414 - whether the GNU malloc routines are usable..." >&5 | 3422 - whether the GNU malloc routines are usable..." >&5 |
3415 echo "$as_me: checking the machine- and system-dependent files to find out | 3423 echo "$as_me: checking the machine- and system-dependent files to find out |
3416 - which libraries the lib-src programs will want, and | 3424 - which libraries the lib-src programs will want, and |
3417 - whether the GNU malloc routines are usable..." >&6;} | 3425 - whether the GNU malloc routines are usable..." >&6;} |
3557 enableval="$enable_largefile" | 3565 enableval="$enable_largefile" |
3558 | 3566 |
3559 fi; | 3567 fi; |
3560 if test "$enable_largefile" != no; then | 3568 if test "$enable_largefile" != no; then |
3561 | 3569 |
3562 echo "$as_me:3562: checking for special C compiler options needed for large files" >&5 | 3570 echo "$as_me:3570: checking for special C compiler options needed for large files" >&5 |
3563 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6 | 3571 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6 |
3564 if test "${ac_cv_sys_largefile_CC+set}" = set; then | 3572 if test "${ac_cv_sys_largefile_CC+set}" = set; then |
3565 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3573 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3566 else | 3574 else |
3567 ac_cv_sys_largefile_CC=no | 3575 ac_cv_sys_largefile_CC=no |
3569 ac_save_CC=$CC | 3577 ac_save_CC=$CC |
3570 while :; do | 3578 while :; do |
3571 # IRIX 6.2 and later do not support large files by default, | 3579 # IRIX 6.2 and later do not support large files by default, |
3572 # so use the C compiler's -n32 option if that helps. | 3580 # so use the C compiler's -n32 option if that helps. |
3573 cat >conftest.$ac_ext <<_ACEOF | 3581 cat >conftest.$ac_ext <<_ACEOF |
3574 #line 3574 "configure" | 3582 #line 3582 "configure" |
3575 #include "confdefs.h" | 3583 #include "confdefs.h" |
3576 #include <sys/types.h> | 3584 #include <sys/types.h> |
3577 /* Check that off_t can represent 2**63 - 1 correctly. | 3585 /* Check that off_t can represent 2**63 - 1 correctly. |
3578 We can't simply define LARGE_OFF_T to be 9223372036854775807, | 3586 We can't simply define LARGE_OFF_T to be 9223372036854775807, |
3579 since some C++ compilers masquerading as C compilers | 3587 since some C++ compilers masquerading as C compilers |
3589 ; | 3597 ; |
3590 return 0; | 3598 return 0; |
3591 } | 3599 } |
3592 _ACEOF | 3600 _ACEOF |
3593 rm -f conftest.$ac_objext | 3601 rm -f conftest.$ac_objext |
3594 if { (eval echo "$as_me:3594: \"$ac_compile\"") >&5 | 3602 if { (eval echo "$as_me:3602: \"$ac_compile\"") >&5 |
3595 (eval $ac_compile) 2>&5 | 3603 (eval $ac_compile) 2>&5 |
3596 ac_status=$? | 3604 ac_status=$? |
3597 echo "$as_me:3597: \$? = $ac_status" >&5 | 3605 echo "$as_me:3605: \$? = $ac_status" >&5 |
3598 (exit $ac_status); } && | 3606 (exit $ac_status); } && |
3599 { ac_try='test -s conftest.$ac_objext' | 3607 { ac_try='test -s conftest.$ac_objext' |
3600 { (eval echo "$as_me:3600: \"$ac_try\"") >&5 | 3608 { (eval echo "$as_me:3608: \"$ac_try\"") >&5 |
3601 (eval $ac_try) 2>&5 | 3609 (eval $ac_try) 2>&5 |
3602 ac_status=$? | 3610 ac_status=$? |
3603 echo "$as_me:3603: \$? = $ac_status" >&5 | 3611 echo "$as_me:3611: \$? = $ac_status" >&5 |
3604 (exit $ac_status); }; }; then | 3612 (exit $ac_status); }; }; then |
3605 break | 3613 break |
3606 else | 3614 else |
3607 echo "$as_me: failed program was:" >&5 | 3615 echo "$as_me: failed program was:" >&5 |
3608 cat conftest.$ac_ext >&5 | 3616 cat conftest.$ac_ext >&5 |
3609 fi | 3617 fi |
3610 rm -f conftest.$ac_objext | 3618 rm -f conftest.$ac_objext |
3611 CC="$CC -n32" | 3619 CC="$CC -n32" |
3612 rm -f conftest.$ac_objext | 3620 rm -f conftest.$ac_objext |
3613 if { (eval echo "$as_me:3613: \"$ac_compile\"") >&5 | 3621 if { (eval echo "$as_me:3621: \"$ac_compile\"") >&5 |
3614 (eval $ac_compile) 2>&5 | 3622 (eval $ac_compile) 2>&5 |
3615 ac_status=$? | 3623 ac_status=$? |
3616 echo "$as_me:3616: \$? = $ac_status" >&5 | 3624 echo "$as_me:3624: \$? = $ac_status" >&5 |
3617 (exit $ac_status); } && | 3625 (exit $ac_status); } && |
3618 { ac_try='test -s conftest.$ac_objext' | 3626 { ac_try='test -s conftest.$ac_objext' |
3619 { (eval echo "$as_me:3619: \"$ac_try\"") >&5 | 3627 { (eval echo "$as_me:3627: \"$ac_try\"") >&5 |
3620 (eval $ac_try) 2>&5 | 3628 (eval $ac_try) 2>&5 |
3621 ac_status=$? | 3629 ac_status=$? |
3622 echo "$as_me:3622: \$? = $ac_status" >&5 | 3630 echo "$as_me:3630: \$? = $ac_status" >&5 |
3623 (exit $ac_status); }; }; then | 3631 (exit $ac_status); }; }; then |
3624 ac_cv_sys_largefile_CC=' -n32'; break | 3632 ac_cv_sys_largefile_CC=' -n32'; break |
3625 else | 3633 else |
3626 echo "$as_me: failed program was:" >&5 | 3634 echo "$as_me: failed program was:" >&5 |
3627 cat conftest.$ac_ext >&5 | 3635 cat conftest.$ac_ext >&5 |
3631 done | 3639 done |
3632 CC=$ac_save_CC | 3640 CC=$ac_save_CC |
3633 rm -f conftest.$ac_ext | 3641 rm -f conftest.$ac_ext |
3634 fi | 3642 fi |
3635 fi | 3643 fi |
3636 echo "$as_me:3636: result: $ac_cv_sys_largefile_CC" >&5 | 3644 echo "$as_me:3644: result: $ac_cv_sys_largefile_CC" >&5 |
3637 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6 | 3645 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6 |
3638 if test "$ac_cv_sys_largefile_CC" != no; then | 3646 if test "$ac_cv_sys_largefile_CC" != no; then |
3639 CC=$CC$ac_cv_sys_largefile_CC | 3647 CC=$CC$ac_cv_sys_largefile_CC |
3640 fi | 3648 fi |
3641 | 3649 |
3642 echo "$as_me:3642: checking for _FILE_OFFSET_BITS value needed for large files" >&5 | 3650 echo "$as_me:3650: checking for _FILE_OFFSET_BITS value needed for large files" >&5 |
3643 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6 | 3651 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6 |
3644 if test "${ac_cv_sys_file_offset_bits+set}" = set; then | 3652 if test "${ac_cv_sys_file_offset_bits+set}" = set; then |
3645 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3653 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3646 else | 3654 else |
3647 while :; do | 3655 while :; do |
3648 ac_cv_sys_file_offset_bits=no | 3656 ac_cv_sys_file_offset_bits=no |
3649 cat >conftest.$ac_ext <<_ACEOF | 3657 cat >conftest.$ac_ext <<_ACEOF |
3650 #line 3650 "configure" | 3658 #line 3658 "configure" |
3651 #include "confdefs.h" | 3659 #include "confdefs.h" |
3652 #include <sys/types.h> | 3660 #include <sys/types.h> |
3653 /* Check that off_t can represent 2**63 - 1 correctly. | 3661 /* Check that off_t can represent 2**63 - 1 correctly. |
3654 We can't simply define LARGE_OFF_T to be 9223372036854775807, | 3662 We can't simply define LARGE_OFF_T to be 9223372036854775807, |
3655 since some C++ compilers masquerading as C compilers | 3663 since some C++ compilers masquerading as C compilers |
3665 ; | 3673 ; |
3666 return 0; | 3674 return 0; |
3667 } | 3675 } |
3668 _ACEOF | 3676 _ACEOF |
3669 rm -f conftest.$ac_objext | 3677 rm -f conftest.$ac_objext |
3670 if { (eval echo "$as_me:3670: \"$ac_compile\"") >&5 | 3678 if { (eval echo "$as_me:3678: \"$ac_compile\"") >&5 |
3671 (eval $ac_compile) 2>&5 | 3679 (eval $ac_compile) 2>&5 |
3672 ac_status=$? | 3680 ac_status=$? |
3673 echo "$as_me:3673: \$? = $ac_status" >&5 | 3681 echo "$as_me:3681: \$? = $ac_status" >&5 |
3674 (exit $ac_status); } && | 3682 (exit $ac_status); } && |
3675 { ac_try='test -s conftest.$ac_objext' | 3683 { ac_try='test -s conftest.$ac_objext' |
3676 { (eval echo "$as_me:3676: \"$ac_try\"") >&5 | 3684 { (eval echo "$as_me:3684: \"$ac_try\"") >&5 |
3677 (eval $ac_try) 2>&5 | 3685 (eval $ac_try) 2>&5 |
3678 ac_status=$? | 3686 ac_status=$? |
3679 echo "$as_me:3679: \$? = $ac_status" >&5 | 3687 echo "$as_me:3687: \$? = $ac_status" >&5 |
3680 (exit $ac_status); }; }; then | 3688 (exit $ac_status); }; }; then |
3681 break | 3689 break |
3682 else | 3690 else |
3683 echo "$as_me: failed program was:" >&5 | 3691 echo "$as_me: failed program was:" >&5 |
3684 cat conftest.$ac_ext >&5 | 3692 cat conftest.$ac_ext >&5 |
3685 fi | 3693 fi |
3686 rm -f conftest.$ac_objext conftest.$ac_ext | 3694 rm -f conftest.$ac_objext conftest.$ac_ext |
3687 cat >conftest.$ac_ext <<_ACEOF | 3695 cat >conftest.$ac_ext <<_ACEOF |
3688 #line 3688 "configure" | 3696 #line 3696 "configure" |
3689 #include "confdefs.h" | 3697 #include "confdefs.h" |
3690 #define _FILE_OFFSET_BITS 64 | 3698 #define _FILE_OFFSET_BITS 64 |
3691 #include <sys/types.h> | 3699 #include <sys/types.h> |
3692 /* Check that off_t can represent 2**63 - 1 correctly. | 3700 /* Check that off_t can represent 2**63 - 1 correctly. |
3693 We can't simply define LARGE_OFF_T to be 9223372036854775807, | 3701 We can't simply define LARGE_OFF_T to be 9223372036854775807, |
3704 ; | 3712 ; |
3705 return 0; | 3713 return 0; |
3706 } | 3714 } |
3707 _ACEOF | 3715 _ACEOF |
3708 rm -f conftest.$ac_objext | 3716 rm -f conftest.$ac_objext |
3709 if { (eval echo "$as_me:3709: \"$ac_compile\"") >&5 | 3717 if { (eval echo "$as_me:3717: \"$ac_compile\"") >&5 |
3710 (eval $ac_compile) 2>&5 | 3718 (eval $ac_compile) 2>&5 |
3711 ac_status=$? | 3719 ac_status=$? |
3712 echo "$as_me:3712: \$? = $ac_status" >&5 | 3720 echo "$as_me:3720: \$? = $ac_status" >&5 |
3713 (exit $ac_status); } && | 3721 (exit $ac_status); } && |
3714 { ac_try='test -s conftest.$ac_objext' | 3722 { ac_try='test -s conftest.$ac_objext' |
3715 { (eval echo "$as_me:3715: \"$ac_try\"") >&5 | 3723 { (eval echo "$as_me:3723: \"$ac_try\"") >&5 |
3716 (eval $ac_try) 2>&5 | 3724 (eval $ac_try) 2>&5 |
3717 ac_status=$? | 3725 ac_status=$? |
3718 echo "$as_me:3718: \$? = $ac_status" >&5 | 3726 echo "$as_me:3726: \$? = $ac_status" >&5 |
3719 (exit $ac_status); }; }; then | 3727 (exit $ac_status); }; }; then |
3720 ac_cv_sys_file_offset_bits=64; break | 3728 ac_cv_sys_file_offset_bits=64; break |
3721 else | 3729 else |
3722 echo "$as_me: failed program was:" >&5 | 3730 echo "$as_me: failed program was:" >&5 |
3723 cat conftest.$ac_ext >&5 | 3731 cat conftest.$ac_ext >&5 |
3724 fi | 3732 fi |
3725 rm -f conftest.$ac_objext conftest.$ac_ext | 3733 rm -f conftest.$ac_objext conftest.$ac_ext |
3726 break | 3734 break |
3727 done | 3735 done |
3728 fi | 3736 fi |
3729 echo "$as_me:3729: result: $ac_cv_sys_file_offset_bits" >&5 | 3737 echo "$as_me:3737: result: $ac_cv_sys_file_offset_bits" >&5 |
3730 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6 | 3738 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6 |
3731 if test "$ac_cv_sys_file_offset_bits" != no; then | 3739 if test "$ac_cv_sys_file_offset_bits" != no; then |
3732 | 3740 |
3733 cat >>confdefs.h <<EOF | 3741 cat >>confdefs.h <<EOF |
3734 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits | 3742 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits |
3735 EOF | 3743 EOF |
3736 | 3744 |
3737 fi | 3745 fi |
3738 rm -f conftest* | 3746 rm -f conftest* |
3739 echo "$as_me:3739: checking for _LARGE_FILES value needed for large files" >&5 | 3747 echo "$as_me:3747: checking for _LARGE_FILES value needed for large files" >&5 |
3740 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6 | 3748 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6 |
3741 if test "${ac_cv_sys_large_files+set}" = set; then | 3749 if test "${ac_cv_sys_large_files+set}" = set; then |
3742 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3750 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3743 else | 3751 else |
3744 while :; do | 3752 while :; do |
3745 ac_cv_sys_large_files=no | 3753 ac_cv_sys_large_files=no |
3746 cat >conftest.$ac_ext <<_ACEOF | 3754 cat >conftest.$ac_ext <<_ACEOF |
3747 #line 3747 "configure" | 3755 #line 3755 "configure" |
3748 #include "confdefs.h" | 3756 #include "confdefs.h" |
3749 #include <sys/types.h> | 3757 #include <sys/types.h> |
3750 /* Check that off_t can represent 2**63 - 1 correctly. | 3758 /* Check that off_t can represent 2**63 - 1 correctly. |
3751 We can't simply define LARGE_OFF_T to be 9223372036854775807, | 3759 We can't simply define LARGE_OFF_T to be 9223372036854775807, |
3752 since some C++ compilers masquerading as C compilers | 3760 since some C++ compilers masquerading as C compilers |
3762 ; | 3770 ; |
3763 return 0; | 3771 return 0; |
3764 } | 3772 } |
3765 _ACEOF | 3773 _ACEOF |
3766 rm -f conftest.$ac_objext | 3774 rm -f conftest.$ac_objext |
3767 if { (eval echo "$as_me:3767: \"$ac_compile\"") >&5 | 3775 if { (eval echo "$as_me:3775: \"$ac_compile\"") >&5 |
3768 (eval $ac_compile) 2>&5 | 3776 (eval $ac_compile) 2>&5 |
3769 ac_status=$? | 3777 ac_status=$? |
3770 echo "$as_me:3770: \$? = $ac_status" >&5 | 3778 echo "$as_me:3778: \$? = $ac_status" >&5 |
3771 (exit $ac_status); } && | 3779 (exit $ac_status); } && |
3772 { ac_try='test -s conftest.$ac_objext' | 3780 { ac_try='test -s conftest.$ac_objext' |
3773 { (eval echo "$as_me:3773: \"$ac_try\"") >&5 | 3781 { (eval echo "$as_me:3781: \"$ac_try\"") >&5 |
3774 (eval $ac_try) 2>&5 | 3782 (eval $ac_try) 2>&5 |
3775 ac_status=$? | 3783 ac_status=$? |
3776 echo "$as_me:3776: \$? = $ac_status" >&5 | 3784 echo "$as_me:3784: \$? = $ac_status" >&5 |
3777 (exit $ac_status); }; }; then | 3785 (exit $ac_status); }; }; then |
3778 break | 3786 break |
3779 else | 3787 else |
3780 echo "$as_me: failed program was:" >&5 | 3788 echo "$as_me: failed program was:" >&5 |
3781 cat conftest.$ac_ext >&5 | 3789 cat conftest.$ac_ext >&5 |
3782 fi | 3790 fi |
3783 rm -f conftest.$ac_objext conftest.$ac_ext | 3791 rm -f conftest.$ac_objext conftest.$ac_ext |
3784 cat >conftest.$ac_ext <<_ACEOF | 3792 cat >conftest.$ac_ext <<_ACEOF |
3785 #line 3785 "configure" | 3793 #line 3793 "configure" |
3786 #include "confdefs.h" | 3794 #include "confdefs.h" |
3787 #define _LARGE_FILES 1 | 3795 #define _LARGE_FILES 1 |
3788 #include <sys/types.h> | 3796 #include <sys/types.h> |
3789 /* Check that off_t can represent 2**63 - 1 correctly. | 3797 /* Check that off_t can represent 2**63 - 1 correctly. |
3790 We can't simply define LARGE_OFF_T to be 9223372036854775807, | 3798 We can't simply define LARGE_OFF_T to be 9223372036854775807, |
3801 ; | 3809 ; |
3802 return 0; | 3810 return 0; |
3803 } | 3811 } |
3804 _ACEOF | 3812 _ACEOF |
3805 rm -f conftest.$ac_objext | 3813 rm -f conftest.$ac_objext |
3806 if { (eval echo "$as_me:3806: \"$ac_compile\"") >&5 | 3814 if { (eval echo "$as_me:3814: \"$ac_compile\"") >&5 |
3807 (eval $ac_compile) 2>&5 | 3815 (eval $ac_compile) 2>&5 |
3808 ac_status=$? | 3816 ac_status=$? |
3809 echo "$as_me:3809: \$? = $ac_status" >&5 | 3817 echo "$as_me:3817: \$? = $ac_status" >&5 |
3810 (exit $ac_status); } && | 3818 (exit $ac_status); } && |
3811 { ac_try='test -s conftest.$ac_objext' | 3819 { ac_try='test -s conftest.$ac_objext' |
3812 { (eval echo "$as_me:3812: \"$ac_try\"") >&5 | 3820 { (eval echo "$as_me:3820: \"$ac_try\"") >&5 |
3813 (eval $ac_try) 2>&5 | 3821 (eval $ac_try) 2>&5 |
3814 ac_status=$? | 3822 ac_status=$? |
3815 echo "$as_me:3815: \$? = $ac_status" >&5 | 3823 echo "$as_me:3823: \$? = $ac_status" >&5 |
3816 (exit $ac_status); }; }; then | 3824 (exit $ac_status); }; }; then |
3817 ac_cv_sys_large_files=1; break | 3825 ac_cv_sys_large_files=1; break |
3818 else | 3826 else |
3819 echo "$as_me: failed program was:" >&5 | 3827 echo "$as_me: failed program was:" >&5 |
3820 cat conftest.$ac_ext >&5 | 3828 cat conftest.$ac_ext >&5 |
3821 fi | 3829 fi |
3822 rm -f conftest.$ac_objext conftest.$ac_ext | 3830 rm -f conftest.$ac_objext conftest.$ac_ext |
3823 break | 3831 break |
3824 done | 3832 done |
3825 fi | 3833 fi |
3826 echo "$as_me:3826: result: $ac_cv_sys_large_files" >&5 | 3834 echo "$as_me:3834: result: $ac_cv_sys_large_files" >&5 |
3827 echo "${ECHO_T}$ac_cv_sys_large_files" >&6 | 3835 echo "${ECHO_T}$ac_cv_sys_large_files" >&6 |
3828 if test "$ac_cv_sys_large_files" != no; then | 3836 if test "$ac_cv_sys_large_files" != no; then |
3829 | 3837 |
3830 cat >>confdefs.h <<EOF | 3838 cat >>confdefs.h <<EOF |
3831 #define _LARGE_FILES $ac_cv_sys_large_files | 3839 #define _LARGE_FILES $ac_cv_sys_large_files |
3838 # Sound support for GNU/Linux and the free BSDs. | 3846 # Sound support for GNU/Linux and the free BSDs. |
3839 | 3847 |
3840 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h | 3848 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h |
3841 do | 3849 do |
3842 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 3850 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
3843 echo "$as_me:3843: checking for $ac_header" >&5 | 3851 echo "$as_me:3851: checking for $ac_header" >&5 |
3844 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 3852 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
3845 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 3853 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
3846 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3854 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3847 else | 3855 else |
3848 cat >conftest.$ac_ext <<_ACEOF | 3856 cat >conftest.$ac_ext <<_ACEOF |
3849 #line 3849 "configure" | 3857 #line 3857 "configure" |
3850 #include "confdefs.h" | 3858 #include "confdefs.h" |
3851 #include <$ac_header> | 3859 #include <$ac_header> |
3852 _ACEOF | 3860 _ACEOF |
3853 if { (eval echo "$as_me:3853: \"$ac_cpp conftest.$ac_ext\"") >&5 | 3861 if { (eval echo "$as_me:3861: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3854 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 3862 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
3855 ac_status=$? | 3863 ac_status=$? |
3856 egrep -v '^ *\+' conftest.er1 >conftest.err | 3864 egrep -v '^ *\+' conftest.er1 >conftest.err |
3857 rm -f conftest.er1 | 3865 rm -f conftest.er1 |
3858 cat conftest.err >&5 | 3866 cat conftest.err >&5 |
3859 echo "$as_me:3859: \$? = $ac_status" >&5 | 3867 echo "$as_me:3867: \$? = $ac_status" >&5 |
3860 (exit $ac_status); } >/dev/null; then | 3868 (exit $ac_status); } >/dev/null; then |
3861 if test -s conftest.err; then | 3869 if test -s conftest.err; then |
3862 ac_cpp_err=$ac_c_preproc_warn_flag | 3870 ac_cpp_err=$ac_c_preproc_warn_flag |
3863 else | 3871 else |
3864 ac_cpp_err= | 3872 ac_cpp_err= |
3873 cat conftest.$ac_ext >&5 | 3881 cat conftest.$ac_ext >&5 |
3874 eval "$as_ac_Header=no" | 3882 eval "$as_ac_Header=no" |
3875 fi | 3883 fi |
3876 rm -f conftest.err conftest.$ac_ext | 3884 rm -f conftest.err conftest.$ac_ext |
3877 fi | 3885 fi |
3878 echo "$as_me:3878: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 3886 echo "$as_me:3886: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
3879 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 3887 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
3880 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 3888 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
3881 cat >>confdefs.h <<EOF | 3889 cat >>confdefs.h <<EOF |
3882 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 3890 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
3883 EOF | 3891 EOF |
3884 | 3892 |
3885 fi | 3893 fi |
3886 done | 3894 done |
3887 | 3895 |
3888 # Emulation library used on NetBSD. | 3896 # Emulation library used on NetBSD. |
3889 echo "$as_me:3889: checking for _oss_ioctl in -lossaudio" >&5 | 3897 echo "$as_me:3897: checking for _oss_ioctl in -lossaudio" >&5 |
3890 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6 | 3898 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6 |
3891 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then | 3899 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then |
3892 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3900 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3893 else | 3901 else |
3894 ac_check_lib_save_LIBS=$LIBS | 3902 ac_check_lib_save_LIBS=$LIBS |
3895 LIBS="-lossaudio $LIBS" | 3903 LIBS="-lossaudio $LIBS" |
3896 cat >conftest.$ac_ext <<_ACEOF | 3904 cat >conftest.$ac_ext <<_ACEOF |
3897 #line 3897 "configure" | 3905 #line 3905 "configure" |
3898 #include "confdefs.h" | 3906 #include "confdefs.h" |
3899 | 3907 |
3900 /* Override any gcc2 internal prototype to avoid an error. */ | 3908 /* Override any gcc2 internal prototype to avoid an error. */ |
3901 #ifdef __cplusplus | 3909 #ifdef __cplusplus |
3902 extern "C" | 3910 extern "C" |
3911 ; | 3919 ; |
3912 return 0; | 3920 return 0; |
3913 } | 3921 } |
3914 _ACEOF | 3922 _ACEOF |
3915 rm -f conftest.$ac_objext conftest$ac_exeext | 3923 rm -f conftest.$ac_objext conftest$ac_exeext |
3916 if { (eval echo "$as_me:3916: \"$ac_link\"") >&5 | 3924 if { (eval echo "$as_me:3924: \"$ac_link\"") >&5 |
3917 (eval $ac_link) 2>&5 | 3925 (eval $ac_link) 2>&5 |
3918 ac_status=$? | 3926 ac_status=$? |
3919 echo "$as_me:3919: \$? = $ac_status" >&5 | 3927 echo "$as_me:3927: \$? = $ac_status" >&5 |
3920 (exit $ac_status); } && | 3928 (exit $ac_status); } && |
3921 { ac_try='test -s conftest$ac_exeext' | 3929 { ac_try='test -s conftest$ac_exeext' |
3922 { (eval echo "$as_me:3922: \"$ac_try\"") >&5 | 3930 { (eval echo "$as_me:3930: \"$ac_try\"") >&5 |
3923 (eval $ac_try) 2>&5 | 3931 (eval $ac_try) 2>&5 |
3924 ac_status=$? | 3932 ac_status=$? |
3925 echo "$as_me:3925: \$? = $ac_status" >&5 | 3933 echo "$as_me:3933: \$? = $ac_status" >&5 |
3926 (exit $ac_status); }; }; then | 3934 (exit $ac_status); }; }; then |
3927 ac_cv_lib_ossaudio__oss_ioctl=yes | 3935 ac_cv_lib_ossaudio__oss_ioctl=yes |
3928 else | 3936 else |
3929 echo "$as_me: failed program was:" >&5 | 3937 echo "$as_me: failed program was:" >&5 |
3930 cat conftest.$ac_ext >&5 | 3938 cat conftest.$ac_ext >&5 |
3931 ac_cv_lib_ossaudio__oss_ioctl=no | 3939 ac_cv_lib_ossaudio__oss_ioctl=no |
3932 fi | 3940 fi |
3933 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 3941 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
3934 LIBS=$ac_check_lib_save_LIBS | 3942 LIBS=$ac_check_lib_save_LIBS |
3935 fi | 3943 fi |
3936 echo "$as_me:3936: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5 | 3944 echo "$as_me:3944: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5 |
3937 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6 | 3945 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6 |
3938 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then | 3946 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then |
3939 LIBSOUND=-lossaudio | 3947 LIBSOUND=-lossaudio |
3940 else | 3948 else |
3941 LIBSOUND= | 3949 LIBSOUND= |
3944 for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ | 3952 for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ |
3945 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ | 3953 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ |
3946 termcap.h stdio_ext.h fcntl.h term.h strings.h coff.h | 3954 termcap.h stdio_ext.h fcntl.h term.h strings.h coff.h |
3947 do | 3955 do |
3948 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 3956 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
3949 echo "$as_me:3949: checking for $ac_header" >&5 | 3957 echo "$as_me:3957: checking for $ac_header" >&5 |
3950 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 3958 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
3951 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 3959 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
3952 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3960 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3953 else | 3961 else |
3954 cat >conftest.$ac_ext <<_ACEOF | 3962 cat >conftest.$ac_ext <<_ACEOF |
3955 #line 3955 "configure" | 3963 #line 3963 "configure" |
3956 #include "confdefs.h" | 3964 #include "confdefs.h" |
3957 #include <$ac_header> | 3965 #include <$ac_header> |
3958 _ACEOF | 3966 _ACEOF |
3959 if { (eval echo "$as_me:3959: \"$ac_cpp conftest.$ac_ext\"") >&5 | 3967 if { (eval echo "$as_me:3967: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3960 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 3968 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
3961 ac_status=$? | 3969 ac_status=$? |
3962 egrep -v '^ *\+' conftest.er1 >conftest.err | 3970 egrep -v '^ *\+' conftest.er1 >conftest.err |
3963 rm -f conftest.er1 | 3971 rm -f conftest.er1 |
3964 cat conftest.err >&5 | 3972 cat conftest.err >&5 |
3965 echo "$as_me:3965: \$? = $ac_status" >&5 | 3973 echo "$as_me:3973: \$? = $ac_status" >&5 |
3966 (exit $ac_status); } >/dev/null; then | 3974 (exit $ac_status); } >/dev/null; then |
3967 if test -s conftest.err; then | 3975 if test -s conftest.err; then |
3968 ac_cpp_err=$ac_c_preproc_warn_flag | 3976 ac_cpp_err=$ac_c_preproc_warn_flag |
3969 else | 3977 else |
3970 ac_cpp_err= | 3978 ac_cpp_err= |
3979 cat conftest.$ac_ext >&5 | 3987 cat conftest.$ac_ext >&5 |
3980 eval "$as_ac_Header=no" | 3988 eval "$as_ac_Header=no" |
3981 fi | 3989 fi |
3982 rm -f conftest.err conftest.$ac_ext | 3990 rm -f conftest.err conftest.$ac_ext |
3983 fi | 3991 fi |
3984 echo "$as_me:3984: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 3992 echo "$as_me:3992: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
3985 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 3993 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
3986 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 3994 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
3987 cat >>confdefs.h <<EOF | 3995 cat >>confdefs.h <<EOF |
3988 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 3996 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
3989 EOF | 3997 EOF |
3990 | 3998 |
3991 fi | 3999 fi |
3992 done | 4000 done |
3993 | 4001 |
3994 echo "$as_me:3994: checking for ANSI C header files" >&5 | 4002 echo "$as_me:4002: checking for ANSI C header files" >&5 |
3995 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | 4003 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
3996 if test "${ac_cv_header_stdc+set}" = set; then | 4004 if test "${ac_cv_header_stdc+set}" = set; then |
3997 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4005 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3998 else | 4006 else |
3999 cat >conftest.$ac_ext <<_ACEOF | 4007 cat >conftest.$ac_ext <<_ACEOF |
4000 #line 4000 "configure" | 4008 #line 4008 "configure" |
4001 #include "confdefs.h" | 4009 #include "confdefs.h" |
4002 #include <stdlib.h> | 4010 #include <stdlib.h> |
4003 #include <stdarg.h> | 4011 #include <stdarg.h> |
4004 #include <string.h> | 4012 #include <string.h> |
4005 #include <float.h> | 4013 #include <float.h> |
4006 | 4014 |
4007 _ACEOF | 4015 _ACEOF |
4008 if { (eval echo "$as_me:4008: \"$ac_cpp conftest.$ac_ext\"") >&5 | 4016 if { (eval echo "$as_me:4016: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4009 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 4017 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4010 ac_status=$? | 4018 ac_status=$? |
4011 egrep -v '^ *\+' conftest.er1 >conftest.err | 4019 egrep -v '^ *\+' conftest.er1 >conftest.err |
4012 rm -f conftest.er1 | 4020 rm -f conftest.er1 |
4013 cat conftest.err >&5 | 4021 cat conftest.err >&5 |
4014 echo "$as_me:4014: \$? = $ac_status" >&5 | 4022 echo "$as_me:4022: \$? = $ac_status" >&5 |
4015 (exit $ac_status); } >/dev/null; then | 4023 (exit $ac_status); } >/dev/null; then |
4016 if test -s conftest.err; then | 4024 if test -s conftest.err; then |
4017 ac_cpp_err=$ac_c_preproc_warn_flag | 4025 ac_cpp_err=$ac_c_preproc_warn_flag |
4018 else | 4026 else |
4019 ac_cpp_err= | 4027 ac_cpp_err= |
4031 rm -f conftest.err conftest.$ac_ext | 4039 rm -f conftest.err conftest.$ac_ext |
4032 | 4040 |
4033 if test $ac_cv_header_stdc = yes; then | 4041 if test $ac_cv_header_stdc = yes; then |
4034 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 4042 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
4035 cat >conftest.$ac_ext <<_ACEOF | 4043 cat >conftest.$ac_ext <<_ACEOF |
4036 #line 4036 "configure" | 4044 #line 4044 "configure" |
4037 #include "confdefs.h" | 4045 #include "confdefs.h" |
4038 #include <string.h> | 4046 #include <string.h> |
4039 | 4047 |
4040 _ACEOF | 4048 _ACEOF |
4041 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 4049 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4049 fi | 4057 fi |
4050 | 4058 |
4051 if test $ac_cv_header_stdc = yes; then | 4059 if test $ac_cv_header_stdc = yes; then |
4052 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 4060 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
4053 cat >conftest.$ac_ext <<_ACEOF | 4061 cat >conftest.$ac_ext <<_ACEOF |
4054 #line 4054 "configure" | 4062 #line 4062 "configure" |
4055 #include "confdefs.h" | 4063 #include "confdefs.h" |
4056 #include <stdlib.h> | 4064 #include <stdlib.h> |
4057 | 4065 |
4058 _ACEOF | 4066 _ACEOF |
4059 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 4067 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4070 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 4078 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
4071 if test "$cross_compiling" = yes; then | 4079 if test "$cross_compiling" = yes; then |
4072 : | 4080 : |
4073 else | 4081 else |
4074 cat >conftest.$ac_ext <<_ACEOF | 4082 cat >conftest.$ac_ext <<_ACEOF |
4075 #line 4075 "configure" | 4083 #line 4083 "configure" |
4076 #include "confdefs.h" | 4084 #include "confdefs.h" |
4077 #include <ctype.h> | 4085 #include <ctype.h> |
4078 #if ((' ' & 0x0FF) == 0x020) | 4086 #if ((' ' & 0x0FF) == 0x020) |
4079 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 4087 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
4080 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 4088 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
4096 exit(2); | 4104 exit(2); |
4097 exit (0); | 4105 exit (0); |
4098 } | 4106 } |
4099 _ACEOF | 4107 _ACEOF |
4100 rm -f conftest$ac_exeext | 4108 rm -f conftest$ac_exeext |
4101 if { (eval echo "$as_me:4101: \"$ac_link\"") >&5 | 4109 if { (eval echo "$as_me:4109: \"$ac_link\"") >&5 |
4102 (eval $ac_link) 2>&5 | 4110 (eval $ac_link) 2>&5 |
4103 ac_status=$? | 4111 ac_status=$? |
4104 echo "$as_me:4104: \$? = $ac_status" >&5 | 4112 echo "$as_me:4112: \$? = $ac_status" >&5 |
4105 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 4113 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
4106 { (eval echo "$as_me:4106: \"$ac_try\"") >&5 | 4114 { (eval echo "$as_me:4114: \"$ac_try\"") >&5 |
4107 (eval $ac_try) 2>&5 | 4115 (eval $ac_try) 2>&5 |
4108 ac_status=$? | 4116 ac_status=$? |
4109 echo "$as_me:4109: \$? = $ac_status" >&5 | 4117 echo "$as_me:4117: \$? = $ac_status" >&5 |
4110 (exit $ac_status); }; }; then | 4118 (exit $ac_status); }; }; then |
4111 : | 4119 : |
4112 else | 4120 else |
4113 echo "$as_me: program exited with status $ac_status" >&5 | 4121 echo "$as_me: program exited with status $ac_status" >&5 |
4114 echo "$as_me: failed program was:" >&5 | 4122 echo "$as_me: failed program was:" >&5 |
4117 fi | 4125 fi |
4118 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 4126 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4119 fi | 4127 fi |
4120 fi | 4128 fi |
4121 fi | 4129 fi |
4122 echo "$as_me:4122: result: $ac_cv_header_stdc" >&5 | 4130 echo "$as_me:4130: result: $ac_cv_header_stdc" >&5 |
4123 echo "${ECHO_T}$ac_cv_header_stdc" >&6 | 4131 echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
4124 if test $ac_cv_header_stdc = yes; then | 4132 if test $ac_cv_header_stdc = yes; then |
4125 | 4133 |
4126 cat >>confdefs.h <<\EOF | 4134 cat >>confdefs.h <<\EOF |
4127 #define STDC_HEADERS 1 | 4135 #define STDC_HEADERS 1 |
4128 EOF | 4136 EOF |
4129 | 4137 |
4130 fi | 4138 fi |
4131 | 4139 |
4132 echo "$as_me:4132: checking whether time.h and sys/time.h may both be included" >&5 | 4140 echo "$as_me:4140: checking whether time.h and sys/time.h may both be included" >&5 |
4133 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 | 4141 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 |
4134 if test "${ac_cv_header_time+set}" = set; then | 4142 if test "${ac_cv_header_time+set}" = set; then |
4135 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4143 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4136 else | 4144 else |
4137 cat >conftest.$ac_ext <<_ACEOF | 4145 cat >conftest.$ac_ext <<_ACEOF |
4138 #line 4138 "configure" | 4146 #line 4146 "configure" |
4139 #include "confdefs.h" | 4147 #include "confdefs.h" |
4140 #include <sys/types.h> | 4148 #include <sys/types.h> |
4141 #include <sys/time.h> | 4149 #include <sys/time.h> |
4142 #include <time.h> | 4150 #include <time.h> |
4143 | 4151 |
4149 ; | 4157 ; |
4150 return 0; | 4158 return 0; |
4151 } | 4159 } |
4152 _ACEOF | 4160 _ACEOF |
4153 rm -f conftest.$ac_objext | 4161 rm -f conftest.$ac_objext |
4154 if { (eval echo "$as_me:4154: \"$ac_compile\"") >&5 | 4162 if { (eval echo "$as_me:4162: \"$ac_compile\"") >&5 |
4155 (eval $ac_compile) 2>&5 | 4163 (eval $ac_compile) 2>&5 |
4156 ac_status=$? | 4164 ac_status=$? |
4157 echo "$as_me:4157: \$? = $ac_status" >&5 | 4165 echo "$as_me:4165: \$? = $ac_status" >&5 |
4158 (exit $ac_status); } && | 4166 (exit $ac_status); } && |
4159 { ac_try='test -s conftest.$ac_objext' | 4167 { ac_try='test -s conftest.$ac_objext' |
4160 { (eval echo "$as_me:4160: \"$ac_try\"") >&5 | 4168 { (eval echo "$as_me:4168: \"$ac_try\"") >&5 |
4161 (eval $ac_try) 2>&5 | 4169 (eval $ac_try) 2>&5 |
4162 ac_status=$? | 4170 ac_status=$? |
4163 echo "$as_me:4163: \$? = $ac_status" >&5 | 4171 echo "$as_me:4171: \$? = $ac_status" >&5 |
4164 (exit $ac_status); }; }; then | 4172 (exit $ac_status); }; }; then |
4165 ac_cv_header_time=yes | 4173 ac_cv_header_time=yes |
4166 else | 4174 else |
4167 echo "$as_me: failed program was:" >&5 | 4175 echo "$as_me: failed program was:" >&5 |
4168 cat conftest.$ac_ext >&5 | 4176 cat conftest.$ac_ext >&5 |
4169 ac_cv_header_time=no | 4177 ac_cv_header_time=no |
4170 fi | 4178 fi |
4171 rm -f conftest.$ac_objext conftest.$ac_ext | 4179 rm -f conftest.$ac_objext conftest.$ac_ext |
4172 fi | 4180 fi |
4173 echo "$as_me:4173: result: $ac_cv_header_time" >&5 | 4181 echo "$as_me:4181: result: $ac_cv_header_time" >&5 |
4174 echo "${ECHO_T}$ac_cv_header_time" >&6 | 4182 echo "${ECHO_T}$ac_cv_header_time" >&6 |
4175 if test $ac_cv_header_time = yes; then | 4183 if test $ac_cv_header_time = yes; then |
4176 | 4184 |
4177 cat >>confdefs.h <<\EOF | 4185 cat >>confdefs.h <<\EOF |
4178 #define TIME_WITH_SYS_TIME 1 | 4186 #define TIME_WITH_SYS_TIME 1 |
4179 EOF | 4187 EOF |
4180 | 4188 |
4181 fi | 4189 fi |
4182 | 4190 |
4183 echo "$as_me:4183: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 4191 echo "$as_me:4191: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
4184 echo $ECHO_N "checking for sys_siglist declaration in signal.h or unistd.h... $ECHO_C" >&6 | 4192 echo $ECHO_N "checking for sys_siglist declaration in signal.h or unistd.h... $ECHO_C" >&6 |
4185 if test "${ac_cv_decl_sys_siglist+set}" = set; then | 4193 if test "${ac_cv_decl_sys_siglist+set}" = set; then |
4186 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4194 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4187 else | 4195 else |
4188 cat >conftest.$ac_ext <<_ACEOF | 4196 cat >conftest.$ac_ext <<_ACEOF |
4189 #line 4189 "configure" | 4197 #line 4197 "configure" |
4190 #include "confdefs.h" | 4198 #include "confdefs.h" |
4191 #include <sys/types.h> | 4199 #include <sys/types.h> |
4192 #include <signal.h> | 4200 #include <signal.h> |
4193 /* NetBSD declares sys_siglist in unistd.h. */ | 4201 /* NetBSD declares sys_siglist in unistd.h. */ |
4194 #if HAVE_UNISTD_H | 4202 #if HAVE_UNISTD_H |
4202 ; | 4210 ; |
4203 return 0; | 4211 return 0; |
4204 } | 4212 } |
4205 _ACEOF | 4213 _ACEOF |
4206 rm -f conftest.$ac_objext | 4214 rm -f conftest.$ac_objext |
4207 if { (eval echo "$as_me:4207: \"$ac_compile\"") >&5 | 4215 if { (eval echo "$as_me:4215: \"$ac_compile\"") >&5 |
4208 (eval $ac_compile) 2>&5 | 4216 (eval $ac_compile) 2>&5 |
4209 ac_status=$? | 4217 ac_status=$? |
4210 echo "$as_me:4210: \$? = $ac_status" >&5 | 4218 echo "$as_me:4218: \$? = $ac_status" >&5 |
4211 (exit $ac_status); } && | 4219 (exit $ac_status); } && |
4212 { ac_try='test -s conftest.$ac_objext' | 4220 { ac_try='test -s conftest.$ac_objext' |
4213 { (eval echo "$as_me:4213: \"$ac_try\"") >&5 | 4221 { (eval echo "$as_me:4221: \"$ac_try\"") >&5 |
4214 (eval $ac_try) 2>&5 | 4222 (eval $ac_try) 2>&5 |
4215 ac_status=$? | 4223 ac_status=$? |
4216 echo "$as_me:4216: \$? = $ac_status" >&5 | 4224 echo "$as_me:4224: \$? = $ac_status" >&5 |
4217 (exit $ac_status); }; }; then | 4225 (exit $ac_status); }; }; then |
4218 ac_cv_decl_sys_siglist=yes | 4226 ac_cv_decl_sys_siglist=yes |
4219 else | 4227 else |
4220 echo "$as_me: failed program was:" >&5 | 4228 echo "$as_me: failed program was:" >&5 |
4221 cat conftest.$ac_ext >&5 | 4229 cat conftest.$ac_ext >&5 |
4222 ac_cv_decl_sys_siglist=no | 4230 ac_cv_decl_sys_siglist=no |
4223 fi | 4231 fi |
4224 rm -f conftest.$ac_objext conftest.$ac_ext | 4232 rm -f conftest.$ac_objext conftest.$ac_ext |
4225 fi | 4233 fi |
4226 echo "$as_me:4226: result: $ac_cv_decl_sys_siglist" >&5 | 4234 echo "$as_me:4234: result: $ac_cv_decl_sys_siglist" >&5 |
4227 echo "${ECHO_T}$ac_cv_decl_sys_siglist" >&6 | 4235 echo "${ECHO_T}$ac_cv_decl_sys_siglist" >&6 |
4228 if test $ac_cv_decl_sys_siglist = yes; then | 4236 if test $ac_cv_decl_sys_siglist = yes; then |
4229 | 4237 |
4230 cat >>confdefs.h <<\EOF | 4238 cat >>confdefs.h <<\EOF |
4231 #define SYS_SIGLIST_DECLARED 1 | 4239 #define SYS_SIGLIST_DECLARED 1 |
4232 EOF | 4240 EOF |
4233 | 4241 |
4234 fi | 4242 fi |
4235 | 4243 |
4236 echo "$as_me:4236: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 4244 echo "$as_me:4244: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
4237 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6 | 4245 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6 |
4238 if test "${ac_cv_header_sys_wait_h+set}" = set; then | 4246 if test "${ac_cv_header_sys_wait_h+set}" = set; then |
4239 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4247 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4240 else | 4248 else |
4241 cat >conftest.$ac_ext <<_ACEOF | 4249 cat >conftest.$ac_ext <<_ACEOF |
4242 #line 4242 "configure" | 4250 #line 4250 "configure" |
4243 #include "confdefs.h" | 4251 #include "confdefs.h" |
4244 #include <sys/types.h> | 4252 #include <sys/types.h> |
4245 #include <sys/wait.h> | 4253 #include <sys/wait.h> |
4246 #ifndef WEXITSTATUS | 4254 #ifndef WEXITSTATUS |
4247 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 4255 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
4259 ; | 4267 ; |
4260 return 0; | 4268 return 0; |
4261 } | 4269 } |
4262 _ACEOF | 4270 _ACEOF |
4263 rm -f conftest.$ac_objext | 4271 rm -f conftest.$ac_objext |
4264 if { (eval echo "$as_me:4264: \"$ac_compile\"") >&5 | 4272 if { (eval echo "$as_me:4272: \"$ac_compile\"") >&5 |
4265 (eval $ac_compile) 2>&5 | 4273 (eval $ac_compile) 2>&5 |
4266 ac_status=$? | 4274 ac_status=$? |
4267 echo "$as_me:4267: \$? = $ac_status" >&5 | 4275 echo "$as_me:4275: \$? = $ac_status" >&5 |
4268 (exit $ac_status); } && | 4276 (exit $ac_status); } && |
4269 { ac_try='test -s conftest.$ac_objext' | 4277 { ac_try='test -s conftest.$ac_objext' |
4270 { (eval echo "$as_me:4270: \"$ac_try\"") >&5 | 4278 { (eval echo "$as_me:4278: \"$ac_try\"") >&5 |
4271 (eval $ac_try) 2>&5 | 4279 (eval $ac_try) 2>&5 |
4272 ac_status=$? | 4280 ac_status=$? |
4273 echo "$as_me:4273: \$? = $ac_status" >&5 | 4281 echo "$as_me:4281: \$? = $ac_status" >&5 |
4274 (exit $ac_status); }; }; then | 4282 (exit $ac_status); }; }; then |
4275 ac_cv_header_sys_wait_h=yes | 4283 ac_cv_header_sys_wait_h=yes |
4276 else | 4284 else |
4277 echo "$as_me: failed program was:" >&5 | 4285 echo "$as_me: failed program was:" >&5 |
4278 cat conftest.$ac_ext >&5 | 4286 cat conftest.$ac_ext >&5 |
4279 ac_cv_header_sys_wait_h=no | 4287 ac_cv_header_sys_wait_h=no |
4280 fi | 4288 fi |
4281 rm -f conftest.$ac_objext conftest.$ac_ext | 4289 rm -f conftest.$ac_objext conftest.$ac_ext |
4282 fi | 4290 fi |
4283 echo "$as_me:4283: result: $ac_cv_header_sys_wait_h" >&5 | 4291 echo "$as_me:4291: result: $ac_cv_header_sys_wait_h" >&5 |
4284 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6 | 4292 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6 |
4285 if test $ac_cv_header_sys_wait_h = yes; then | 4293 if test $ac_cv_header_sys_wait_h = yes; then |
4286 | 4294 |
4287 cat >>confdefs.h <<\EOF | 4295 cat >>confdefs.h <<\EOF |
4288 #define HAVE_SYS_WAIT_H 1 | 4296 #define HAVE_SYS_WAIT_H 1 |
4289 EOF | 4297 EOF |
4290 | 4298 |
4291 fi | 4299 fi |
4292 | 4300 |
4293 echo "$as_me:4293: checking for struct utimbuf" >&5 | 4301 echo "$as_me:4301: checking for struct utimbuf" >&5 |
4294 echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6 | 4302 echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6 |
4295 if test "${emacs_cv_struct_utimbuf+set}" = set; then | 4303 if test "${emacs_cv_struct_utimbuf+set}" = set; then |
4296 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4304 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4297 else | 4305 else |
4298 cat >conftest.$ac_ext <<_ACEOF | 4306 cat >conftest.$ac_ext <<_ACEOF |
4299 #line 4299 "configure" | 4307 #line 4307 "configure" |
4300 #include "confdefs.h" | 4308 #include "confdefs.h" |
4301 #ifdef TIME_WITH_SYS_TIME | 4309 #ifdef TIME_WITH_SYS_TIME |
4302 #include <sys/time.h> | 4310 #include <sys/time.h> |
4303 #include <time.h> | 4311 #include <time.h> |
4304 #else | 4312 #else |
4318 ; | 4326 ; |
4319 return 0; | 4327 return 0; |
4320 } | 4328 } |
4321 _ACEOF | 4329 _ACEOF |
4322 rm -f conftest.$ac_objext | 4330 rm -f conftest.$ac_objext |
4323 if { (eval echo "$as_me:4323: \"$ac_compile\"") >&5 | 4331 if { (eval echo "$as_me:4331: \"$ac_compile\"") >&5 |
4324 (eval $ac_compile) 2>&5 | 4332 (eval $ac_compile) 2>&5 |
4325 ac_status=$? | 4333 ac_status=$? |
4326 echo "$as_me:4326: \$? = $ac_status" >&5 | 4334 echo "$as_me:4334: \$? = $ac_status" >&5 |
4327 (exit $ac_status); } && | 4335 (exit $ac_status); } && |
4328 { ac_try='test -s conftest.$ac_objext' | 4336 { ac_try='test -s conftest.$ac_objext' |
4329 { (eval echo "$as_me:4329: \"$ac_try\"") >&5 | 4337 { (eval echo "$as_me:4337: \"$ac_try\"") >&5 |
4330 (eval $ac_try) 2>&5 | 4338 (eval $ac_try) 2>&5 |
4331 ac_status=$? | 4339 ac_status=$? |
4332 echo "$as_me:4332: \$? = $ac_status" >&5 | 4340 echo "$as_me:4340: \$? = $ac_status" >&5 |
4333 (exit $ac_status); }; }; then | 4341 (exit $ac_status); }; }; then |
4334 emacs_cv_struct_utimbuf=yes | 4342 emacs_cv_struct_utimbuf=yes |
4335 else | 4343 else |
4336 echo "$as_me: failed program was:" >&5 | 4344 echo "$as_me: failed program was:" >&5 |
4337 cat conftest.$ac_ext >&5 | 4345 cat conftest.$ac_ext >&5 |
4338 emacs_cv_struct_utimbuf=no | 4346 emacs_cv_struct_utimbuf=no |
4339 fi | 4347 fi |
4340 rm -f conftest.$ac_objext conftest.$ac_ext | 4348 rm -f conftest.$ac_objext conftest.$ac_ext |
4341 fi | 4349 fi |
4342 echo "$as_me:4342: result: $emacs_cv_struct_utimbuf" >&5 | 4350 echo "$as_me:4350: result: $emacs_cv_struct_utimbuf" >&5 |
4343 echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6 | 4351 echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6 |
4344 if test $emacs_cv_struct_utimbuf = yes; then | 4352 if test $emacs_cv_struct_utimbuf = yes; then |
4345 cat >>confdefs.h <<\EOF | 4353 cat >>confdefs.h <<\EOF |
4346 #define HAVE_STRUCT_UTIMBUF 1 | 4354 #define HAVE_STRUCT_UTIMBUF 1 |
4347 EOF | 4355 EOF |
4348 | 4356 |
4349 fi | 4357 fi |
4350 | 4358 |
4351 echo "$as_me:4351: checking return type of signal handlers" >&5 | 4359 echo "$as_me:4359: checking return type of signal handlers" >&5 |
4352 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 | 4360 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 |
4353 if test "${ac_cv_type_signal+set}" = set; then | 4361 if test "${ac_cv_type_signal+set}" = set; then |
4354 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4362 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4355 else | 4363 else |
4356 cat >conftest.$ac_ext <<_ACEOF | 4364 cat >conftest.$ac_ext <<_ACEOF |
4357 #line 4357 "configure" | 4365 #line 4365 "configure" |
4358 #include "confdefs.h" | 4366 #include "confdefs.h" |
4359 #include <sys/types.h> | 4367 #include <sys/types.h> |
4360 #include <signal.h> | 4368 #include <signal.h> |
4361 #ifdef signal | 4369 #ifdef signal |
4362 # undef signal | 4370 # undef signal |
4374 ; | 4382 ; |
4375 return 0; | 4383 return 0; |
4376 } | 4384 } |
4377 _ACEOF | 4385 _ACEOF |
4378 rm -f conftest.$ac_objext | 4386 rm -f conftest.$ac_objext |
4379 if { (eval echo "$as_me:4379: \"$ac_compile\"") >&5 | 4387 if { (eval echo "$as_me:4387: \"$ac_compile\"") >&5 |
4380 (eval $ac_compile) 2>&5 | 4388 (eval $ac_compile) 2>&5 |
4381 ac_status=$? | 4389 ac_status=$? |
4382 echo "$as_me:4382: \$? = $ac_status" >&5 | 4390 echo "$as_me:4390: \$? = $ac_status" >&5 |
4383 (exit $ac_status); } && | 4391 (exit $ac_status); } && |
4384 { ac_try='test -s conftest.$ac_objext' | 4392 { ac_try='test -s conftest.$ac_objext' |
4385 { (eval echo "$as_me:4385: \"$ac_try\"") >&5 | 4393 { (eval echo "$as_me:4393: \"$ac_try\"") >&5 |
4386 (eval $ac_try) 2>&5 | 4394 (eval $ac_try) 2>&5 |
4387 ac_status=$? | 4395 ac_status=$? |
4388 echo "$as_me:4388: \$? = $ac_status" >&5 | 4396 echo "$as_me:4396: \$? = $ac_status" >&5 |
4389 (exit $ac_status); }; }; then | 4397 (exit $ac_status); }; }; then |
4390 ac_cv_type_signal=void | 4398 ac_cv_type_signal=void |
4391 else | 4399 else |
4392 echo "$as_me: failed program was:" >&5 | 4400 echo "$as_me: failed program was:" >&5 |
4393 cat conftest.$ac_ext >&5 | 4401 cat conftest.$ac_ext >&5 |
4394 ac_cv_type_signal=int | 4402 ac_cv_type_signal=int |
4395 fi | 4403 fi |
4396 rm -f conftest.$ac_objext conftest.$ac_ext | 4404 rm -f conftest.$ac_objext conftest.$ac_ext |
4397 fi | 4405 fi |
4398 echo "$as_me:4398: result: $ac_cv_type_signal" >&5 | 4406 echo "$as_me:4406: result: $ac_cv_type_signal" >&5 |
4399 echo "${ECHO_T}$ac_cv_type_signal" >&6 | 4407 echo "${ECHO_T}$ac_cv_type_signal" >&6 |
4400 | 4408 |
4401 cat >>confdefs.h <<EOF | 4409 cat >>confdefs.h <<EOF |
4402 #define RETSIGTYPE $ac_cv_type_signal | 4410 #define RETSIGTYPE $ac_cv_type_signal |
4403 EOF | 4411 EOF |
4404 | 4412 |
4405 echo "$as_me:4405: checking for speed_t" >&5 | 4413 echo "$as_me:4413: checking for speed_t" >&5 |
4406 echo $ECHO_N "checking for speed_t... $ECHO_C" >&6 | 4414 echo $ECHO_N "checking for speed_t... $ECHO_C" >&6 |
4407 if test "${emacs_cv_speed_t+set}" = set; then | 4415 if test "${emacs_cv_speed_t+set}" = set; then |
4408 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4416 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4409 else | 4417 else |
4410 cat >conftest.$ac_ext <<_ACEOF | 4418 cat >conftest.$ac_ext <<_ACEOF |
4411 #line 4411 "configure" | 4419 #line 4419 "configure" |
4412 #include "confdefs.h" | 4420 #include "confdefs.h" |
4413 #include <termios.h> | 4421 #include <termios.h> |
4414 int | 4422 int |
4415 main () | 4423 main () |
4416 { | 4424 { |
4418 ; | 4426 ; |
4419 return 0; | 4427 return 0; |
4420 } | 4428 } |
4421 _ACEOF | 4429 _ACEOF |
4422 rm -f conftest.$ac_objext | 4430 rm -f conftest.$ac_objext |
4423 if { (eval echo "$as_me:4423: \"$ac_compile\"") >&5 | 4431 if { (eval echo "$as_me:4431: \"$ac_compile\"") >&5 |
4424 (eval $ac_compile) 2>&5 | 4432 (eval $ac_compile) 2>&5 |
4425 ac_status=$? | 4433 ac_status=$? |
4426 echo "$as_me:4426: \$? = $ac_status" >&5 | 4434 echo "$as_me:4434: \$? = $ac_status" >&5 |
4427 (exit $ac_status); } && | 4435 (exit $ac_status); } && |
4428 { ac_try='test -s conftest.$ac_objext' | 4436 { ac_try='test -s conftest.$ac_objext' |
4429 { (eval echo "$as_me:4429: \"$ac_try\"") >&5 | 4437 { (eval echo "$as_me:4437: \"$ac_try\"") >&5 |
4430 (eval $ac_try) 2>&5 | 4438 (eval $ac_try) 2>&5 |
4431 ac_status=$? | 4439 ac_status=$? |
4432 echo "$as_me:4432: \$? = $ac_status" >&5 | 4440 echo "$as_me:4440: \$? = $ac_status" >&5 |
4433 (exit $ac_status); }; }; then | 4441 (exit $ac_status); }; }; then |
4434 emacs_cv_speed_t=yes | 4442 emacs_cv_speed_t=yes |
4435 else | 4443 else |
4436 echo "$as_me: failed program was:" >&5 | 4444 echo "$as_me: failed program was:" >&5 |
4437 cat conftest.$ac_ext >&5 | 4445 cat conftest.$ac_ext >&5 |
4438 emacs_cv_speed_t=no | 4446 emacs_cv_speed_t=no |
4439 fi | 4447 fi |
4440 rm -f conftest.$ac_objext conftest.$ac_ext | 4448 rm -f conftest.$ac_objext conftest.$ac_ext |
4441 fi | 4449 fi |
4442 echo "$as_me:4442: result: $emacs_cv_speed_t" >&5 | 4450 echo "$as_me:4450: result: $emacs_cv_speed_t" >&5 |
4443 echo "${ECHO_T}$emacs_cv_speed_t" >&6 | 4451 echo "${ECHO_T}$emacs_cv_speed_t" >&6 |
4444 if test $emacs_cv_speed_t = yes; then | 4452 if test $emacs_cv_speed_t = yes; then |
4445 cat >>confdefs.h <<\EOF | 4453 cat >>confdefs.h <<\EOF |
4446 #define HAVE_SPEED_T 1 | 4454 #define HAVE_SPEED_T 1 |
4447 EOF | 4455 EOF |
4448 | 4456 |
4449 fi | 4457 fi |
4450 | 4458 |
4451 echo "$as_me:4451: checking for struct timeval" >&5 | 4459 echo "$as_me:4459: checking for struct timeval" >&5 |
4452 echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6 | 4460 echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6 |
4453 if test "${emacs_cv_struct_timeval+set}" = set; then | 4461 if test "${emacs_cv_struct_timeval+set}" = set; then |
4454 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4462 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4455 else | 4463 else |
4456 cat >conftest.$ac_ext <<_ACEOF | 4464 cat >conftest.$ac_ext <<_ACEOF |
4457 #line 4457 "configure" | 4465 #line 4465 "configure" |
4458 #include "confdefs.h" | 4466 #include "confdefs.h" |
4459 #ifdef TIME_WITH_SYS_TIME | 4467 #ifdef TIME_WITH_SYS_TIME |
4460 #include <sys/time.h> | 4468 #include <sys/time.h> |
4461 #include <time.h> | 4469 #include <time.h> |
4462 #else | 4470 #else |
4473 ; | 4481 ; |
4474 return 0; | 4482 return 0; |
4475 } | 4483 } |
4476 _ACEOF | 4484 _ACEOF |
4477 rm -f conftest.$ac_objext | 4485 rm -f conftest.$ac_objext |
4478 if { (eval echo "$as_me:4478: \"$ac_compile\"") >&5 | 4486 if { (eval echo "$as_me:4486: \"$ac_compile\"") >&5 |
4479 (eval $ac_compile) 2>&5 | 4487 (eval $ac_compile) 2>&5 |
4480 ac_status=$? | 4488 ac_status=$? |
4481 echo "$as_me:4481: \$? = $ac_status" >&5 | 4489 echo "$as_me:4489: \$? = $ac_status" >&5 |
4482 (exit $ac_status); } && | 4490 (exit $ac_status); } && |
4483 { ac_try='test -s conftest.$ac_objext' | 4491 { ac_try='test -s conftest.$ac_objext' |
4484 { (eval echo "$as_me:4484: \"$ac_try\"") >&5 | 4492 { (eval echo "$as_me:4492: \"$ac_try\"") >&5 |
4485 (eval $ac_try) 2>&5 | 4493 (eval $ac_try) 2>&5 |
4486 ac_status=$? | 4494 ac_status=$? |
4487 echo "$as_me:4487: \$? = $ac_status" >&5 | 4495 echo "$as_me:4495: \$? = $ac_status" >&5 |
4488 (exit $ac_status); }; }; then | 4496 (exit $ac_status); }; }; then |
4489 emacs_cv_struct_timeval=yes | 4497 emacs_cv_struct_timeval=yes |
4490 else | 4498 else |
4491 echo "$as_me: failed program was:" >&5 | 4499 echo "$as_me: failed program was:" >&5 |
4492 cat conftest.$ac_ext >&5 | 4500 cat conftest.$ac_ext >&5 |
4493 emacs_cv_struct_timeval=no | 4501 emacs_cv_struct_timeval=no |
4494 fi | 4502 fi |
4495 rm -f conftest.$ac_objext conftest.$ac_ext | 4503 rm -f conftest.$ac_objext conftest.$ac_ext |
4496 fi | 4504 fi |
4497 echo "$as_me:4497: result: $emacs_cv_struct_timeval" >&5 | 4505 echo "$as_me:4505: result: $emacs_cv_struct_timeval" >&5 |
4498 echo "${ECHO_T}$emacs_cv_struct_timeval" >&6 | 4506 echo "${ECHO_T}$emacs_cv_struct_timeval" >&6 |
4499 HAVE_TIMEVAL=$emacs_cv_struct_timeval | 4507 HAVE_TIMEVAL=$emacs_cv_struct_timeval |
4500 if test $emacs_cv_struct_timeval = yes; then | 4508 if test $emacs_cv_struct_timeval = yes; then |
4501 cat >>confdefs.h <<\EOF | 4509 cat >>confdefs.h <<\EOF |
4502 #define HAVE_TIMEVAL 1 | 4510 #define HAVE_TIMEVAL 1 |
4503 EOF | 4511 EOF |
4504 | 4512 |
4505 fi | 4513 fi |
4506 | 4514 |
4507 echo "$as_me:4507: checking for struct exception" >&5 | 4515 echo "$as_me:4515: checking for struct exception" >&5 |
4508 echo $ECHO_N "checking for struct exception... $ECHO_C" >&6 | 4516 echo $ECHO_N "checking for struct exception... $ECHO_C" >&6 |
4509 if test "${emacs_cv_struct_exception+set}" = set; then | 4517 if test "${emacs_cv_struct_exception+set}" = set; then |
4510 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4518 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4511 else | 4519 else |
4512 cat >conftest.$ac_ext <<_ACEOF | 4520 cat >conftest.$ac_ext <<_ACEOF |
4513 #line 4513 "configure" | 4521 #line 4521 "configure" |
4514 #include "confdefs.h" | 4522 #include "confdefs.h" |
4515 #include <math.h> | 4523 #include <math.h> |
4516 int | 4524 int |
4517 main () | 4525 main () |
4518 { | 4526 { |
4520 ; | 4528 ; |
4521 return 0; | 4529 return 0; |
4522 } | 4530 } |
4523 _ACEOF | 4531 _ACEOF |
4524 rm -f conftest.$ac_objext | 4532 rm -f conftest.$ac_objext |
4525 if { (eval echo "$as_me:4525: \"$ac_compile\"") >&5 | 4533 if { (eval echo "$as_me:4533: \"$ac_compile\"") >&5 |
4526 (eval $ac_compile) 2>&5 | 4534 (eval $ac_compile) 2>&5 |
4527 ac_status=$? | 4535 ac_status=$? |
4528 echo "$as_me:4528: \$? = $ac_status" >&5 | 4536 echo "$as_me:4536: \$? = $ac_status" >&5 |
4529 (exit $ac_status); } && | 4537 (exit $ac_status); } && |
4530 { ac_try='test -s conftest.$ac_objext' | 4538 { ac_try='test -s conftest.$ac_objext' |
4531 { (eval echo "$as_me:4531: \"$ac_try\"") >&5 | 4539 { (eval echo "$as_me:4539: \"$ac_try\"") >&5 |
4532 (eval $ac_try) 2>&5 | 4540 (eval $ac_try) 2>&5 |
4533 ac_status=$? | 4541 ac_status=$? |
4534 echo "$as_me:4534: \$? = $ac_status" >&5 | 4542 echo "$as_me:4542: \$? = $ac_status" >&5 |
4535 (exit $ac_status); }; }; then | 4543 (exit $ac_status); }; }; then |
4536 emacs_cv_struct_exception=yes | 4544 emacs_cv_struct_exception=yes |
4537 else | 4545 else |
4538 echo "$as_me: failed program was:" >&5 | 4546 echo "$as_me: failed program was:" >&5 |
4539 cat conftest.$ac_ext >&5 | 4547 cat conftest.$ac_ext >&5 |
4540 emacs_cv_struct_exception=no | 4548 emacs_cv_struct_exception=no |
4541 fi | 4549 fi |
4542 rm -f conftest.$ac_objext conftest.$ac_ext | 4550 rm -f conftest.$ac_objext conftest.$ac_ext |
4543 fi | 4551 fi |
4544 echo "$as_me:4544: result: $emacs_cv_struct_exception" >&5 | 4552 echo "$as_me:4552: result: $emacs_cv_struct_exception" >&5 |
4545 echo "${ECHO_T}$emacs_cv_struct_exception" >&6 | 4553 echo "${ECHO_T}$emacs_cv_struct_exception" >&6 |
4546 HAVE_EXCEPTION=$emacs_cv_struct_exception | 4554 HAVE_EXCEPTION=$emacs_cv_struct_exception |
4547 if test $emacs_cv_struct_exception != yes; then | 4555 if test $emacs_cv_struct_exception != yes; then |
4548 cat >>confdefs.h <<\EOF | 4556 cat >>confdefs.h <<\EOF |
4549 #define NO_MATHERR 1 | 4557 #define NO_MATHERR 1 |
4550 EOF | 4558 EOF |
4551 | 4559 |
4552 fi | 4560 fi |
4553 | 4561 |
4554 echo "$as_me:4554: checking whether struct tm is in sys/time.h or time.h" >&5 | 4562 echo "$as_me:4562: checking whether struct tm is in sys/time.h or time.h" >&5 |
4555 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 | 4563 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 |
4556 if test "${ac_cv_struct_tm+set}" = set; then | 4564 if test "${ac_cv_struct_tm+set}" = set; then |
4557 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4565 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4558 else | 4566 else |
4559 cat >conftest.$ac_ext <<_ACEOF | 4567 cat >conftest.$ac_ext <<_ACEOF |
4560 #line 4560 "configure" | 4568 #line 4568 "configure" |
4561 #include "confdefs.h" | 4569 #include "confdefs.h" |
4562 #include <sys/types.h> | 4570 #include <sys/types.h> |
4563 #include <time.h> | 4571 #include <time.h> |
4564 | 4572 |
4565 int | 4573 int |
4569 ; | 4577 ; |
4570 return 0; | 4578 return 0; |
4571 } | 4579 } |
4572 _ACEOF | 4580 _ACEOF |
4573 rm -f conftest.$ac_objext | 4581 rm -f conftest.$ac_objext |
4574 if { (eval echo "$as_me:4574: \"$ac_compile\"") >&5 | 4582 if { (eval echo "$as_me:4582: \"$ac_compile\"") >&5 |
4575 (eval $ac_compile) 2>&5 | 4583 (eval $ac_compile) 2>&5 |
4576 ac_status=$? | 4584 ac_status=$? |
4577 echo "$as_me:4577: \$? = $ac_status" >&5 | 4585 echo "$as_me:4585: \$? = $ac_status" >&5 |
4578 (exit $ac_status); } && | 4586 (exit $ac_status); } && |
4579 { ac_try='test -s conftest.$ac_objext' | 4587 { ac_try='test -s conftest.$ac_objext' |
4580 { (eval echo "$as_me:4580: \"$ac_try\"") >&5 | 4588 { (eval echo "$as_me:4588: \"$ac_try\"") >&5 |
4581 (eval $ac_try) 2>&5 | 4589 (eval $ac_try) 2>&5 |
4582 ac_status=$? | 4590 ac_status=$? |
4583 echo "$as_me:4583: \$? = $ac_status" >&5 | 4591 echo "$as_me:4591: \$? = $ac_status" >&5 |
4584 (exit $ac_status); }; }; then | 4592 (exit $ac_status); }; }; then |
4585 ac_cv_struct_tm=time.h | 4593 ac_cv_struct_tm=time.h |
4586 else | 4594 else |
4587 echo "$as_me: failed program was:" >&5 | 4595 echo "$as_me: failed program was:" >&5 |
4588 cat conftest.$ac_ext >&5 | 4596 cat conftest.$ac_ext >&5 |
4589 ac_cv_struct_tm=sys/time.h | 4597 ac_cv_struct_tm=sys/time.h |
4590 fi | 4598 fi |
4591 rm -f conftest.$ac_objext conftest.$ac_ext | 4599 rm -f conftest.$ac_objext conftest.$ac_ext |
4592 fi | 4600 fi |
4593 echo "$as_me:4593: result: $ac_cv_struct_tm" >&5 | 4601 echo "$as_me:4601: result: $ac_cv_struct_tm" >&5 |
4594 echo "${ECHO_T}$ac_cv_struct_tm" >&6 | 4602 echo "${ECHO_T}$ac_cv_struct_tm" >&6 |
4595 if test $ac_cv_struct_tm = sys/time.h; then | 4603 if test $ac_cv_struct_tm = sys/time.h; then |
4596 | 4604 |
4597 cat >>confdefs.h <<\EOF | 4605 cat >>confdefs.h <<\EOF |
4598 #define TM_IN_SYS_TIME 1 | 4606 #define TM_IN_SYS_TIME 1 |
4599 EOF | 4607 EOF |
4600 | 4608 |
4601 fi | 4609 fi |
4602 | 4610 |
4603 echo "$as_me:4603: checking for struct tm.tm_zone" >&5 | 4611 echo "$as_me:4611: checking for struct tm.tm_zone" >&5 |
4604 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6 | 4612 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6 |
4605 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then | 4613 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then |
4606 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4614 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4607 else | 4615 else |
4608 cat >conftest.$ac_ext <<_ACEOF | 4616 cat >conftest.$ac_ext <<_ACEOF |
4609 #line 4609 "configure" | 4617 #line 4617 "configure" |
4610 #include "confdefs.h" | 4618 #include "confdefs.h" |
4611 #include <sys/types.h> | 4619 #include <sys/types.h> |
4612 #include <$ac_cv_struct_tm> | 4620 #include <$ac_cv_struct_tm> |
4613 | 4621 |
4614 int | 4622 int |
4620 ; | 4628 ; |
4621 return 0; | 4629 return 0; |
4622 } | 4630 } |
4623 _ACEOF | 4631 _ACEOF |
4624 rm -f conftest.$ac_objext | 4632 rm -f conftest.$ac_objext |
4625 if { (eval echo "$as_me:4625: \"$ac_compile\"") >&5 | 4633 if { (eval echo "$as_me:4633: \"$ac_compile\"") >&5 |
4626 (eval $ac_compile) 2>&5 | 4634 (eval $ac_compile) 2>&5 |
4627 ac_status=$? | 4635 ac_status=$? |
4628 echo "$as_me:4628: \$? = $ac_status" >&5 | 4636 echo "$as_me:4636: \$? = $ac_status" >&5 |
4629 (exit $ac_status); } && | 4637 (exit $ac_status); } && |
4630 { ac_try='test -s conftest.$ac_objext' | 4638 { ac_try='test -s conftest.$ac_objext' |
4631 { (eval echo "$as_me:4631: \"$ac_try\"") >&5 | 4639 { (eval echo "$as_me:4639: \"$ac_try\"") >&5 |
4632 (eval $ac_try) 2>&5 | 4640 (eval $ac_try) 2>&5 |
4633 ac_status=$? | 4641 ac_status=$? |
4634 echo "$as_me:4634: \$? = $ac_status" >&5 | 4642 echo "$as_me:4642: \$? = $ac_status" >&5 |
4635 (exit $ac_status); }; }; then | 4643 (exit $ac_status); }; }; then |
4636 ac_cv_member_struct_tm_tm_zone=yes | 4644 ac_cv_member_struct_tm_tm_zone=yes |
4637 else | 4645 else |
4638 echo "$as_me: failed program was:" >&5 | 4646 echo "$as_me: failed program was:" >&5 |
4639 cat conftest.$ac_ext >&5 | 4647 cat conftest.$ac_ext >&5 |
4640 ac_cv_member_struct_tm_tm_zone=no | 4648 ac_cv_member_struct_tm_tm_zone=no |
4641 fi | 4649 fi |
4642 rm -f conftest.$ac_objext conftest.$ac_ext | 4650 rm -f conftest.$ac_objext conftest.$ac_ext |
4643 fi | 4651 fi |
4644 echo "$as_me:4644: result: $ac_cv_member_struct_tm_tm_zone" >&5 | 4652 echo "$as_me:4652: result: $ac_cv_member_struct_tm_tm_zone" >&5 |
4645 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6 | 4653 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6 |
4646 if test $ac_cv_member_struct_tm_tm_zone = yes; then | 4654 if test $ac_cv_member_struct_tm_tm_zone = yes; then |
4647 | 4655 |
4648 cat >>confdefs.h <<EOF | 4656 cat >>confdefs.h <<EOF |
4649 #define HAVE_STRUCT_TM_TM_ZONE 1 | 4657 #define HAVE_STRUCT_TM_TM_ZONE 1 |
4656 cat >>confdefs.h <<\EOF | 4664 cat >>confdefs.h <<\EOF |
4657 #define HAVE_TM_ZONE 1 | 4665 #define HAVE_TM_ZONE 1 |
4658 EOF | 4666 EOF |
4659 | 4667 |
4660 else | 4668 else |
4661 echo "$as_me:4661: checking for tzname" >&5 | 4669 echo "$as_me:4669: checking for tzname" >&5 |
4662 echo $ECHO_N "checking for tzname... $ECHO_C" >&6 | 4670 echo $ECHO_N "checking for tzname... $ECHO_C" >&6 |
4663 if test "${ac_cv_var_tzname+set}" = set; then | 4671 if test "${ac_cv_var_tzname+set}" = set; then |
4664 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4672 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4665 else | 4673 else |
4666 cat >conftest.$ac_ext <<_ACEOF | 4674 cat >conftest.$ac_ext <<_ACEOF |
4667 #line 4667 "configure" | 4675 #line 4675 "configure" |
4668 #include "confdefs.h" | 4676 #include "confdefs.h" |
4669 #include <time.h> | 4677 #include <time.h> |
4670 #ifndef tzname /* For SGI. */ | 4678 #ifndef tzname /* For SGI. */ |
4671 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 4679 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
4672 #endif | 4680 #endif |
4678 ; | 4686 ; |
4679 return 0; | 4687 return 0; |
4680 } | 4688 } |
4681 _ACEOF | 4689 _ACEOF |
4682 rm -f conftest.$ac_objext conftest$ac_exeext | 4690 rm -f conftest.$ac_objext conftest$ac_exeext |
4683 if { (eval echo "$as_me:4683: \"$ac_link\"") >&5 | 4691 if { (eval echo "$as_me:4691: \"$ac_link\"") >&5 |
4684 (eval $ac_link) 2>&5 | 4692 (eval $ac_link) 2>&5 |
4685 ac_status=$? | 4693 ac_status=$? |
4686 echo "$as_me:4686: \$? = $ac_status" >&5 | 4694 echo "$as_me:4694: \$? = $ac_status" >&5 |
4687 (exit $ac_status); } && | 4695 (exit $ac_status); } && |
4688 { ac_try='test -s conftest$ac_exeext' | 4696 { ac_try='test -s conftest$ac_exeext' |
4689 { (eval echo "$as_me:4689: \"$ac_try\"") >&5 | 4697 { (eval echo "$as_me:4697: \"$ac_try\"") >&5 |
4690 (eval $ac_try) 2>&5 | 4698 (eval $ac_try) 2>&5 |
4691 ac_status=$? | 4699 ac_status=$? |
4692 echo "$as_me:4692: \$? = $ac_status" >&5 | 4700 echo "$as_me:4700: \$? = $ac_status" >&5 |
4693 (exit $ac_status); }; }; then | 4701 (exit $ac_status); }; }; then |
4694 ac_cv_var_tzname=yes | 4702 ac_cv_var_tzname=yes |
4695 else | 4703 else |
4696 echo "$as_me: failed program was:" >&5 | 4704 echo "$as_me: failed program was:" >&5 |
4697 cat conftest.$ac_ext >&5 | 4705 cat conftest.$ac_ext >&5 |
4698 ac_cv_var_tzname=no | 4706 ac_cv_var_tzname=no |
4699 fi | 4707 fi |
4700 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 4708 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4701 fi | 4709 fi |
4702 echo "$as_me:4702: result: $ac_cv_var_tzname" >&5 | 4710 echo "$as_me:4710: result: $ac_cv_var_tzname" >&5 |
4703 echo "${ECHO_T}$ac_cv_var_tzname" >&6 | 4711 echo "${ECHO_T}$ac_cv_var_tzname" >&6 |
4704 if test $ac_cv_var_tzname = yes; then | 4712 if test $ac_cv_var_tzname = yes; then |
4705 | 4713 |
4706 cat >>confdefs.h <<\EOF | 4714 cat >>confdefs.h <<\EOF |
4707 #define HAVE_TZNAME 1 | 4715 #define HAVE_TZNAME 1 |
4708 EOF | 4716 EOF |
4709 | 4717 |
4710 fi | 4718 fi |
4711 fi | 4719 fi |
4712 | 4720 |
4713 echo "$as_me:4713: checking for tm_gmtoff in struct tm" >&5 | 4721 echo "$as_me:4721: checking for tm_gmtoff in struct tm" >&5 |
4714 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6 | 4722 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6 |
4715 if test "${emacs_cv_tm_gmtoff+set}" = set; then | 4723 if test "${emacs_cv_tm_gmtoff+set}" = set; then |
4716 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4724 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4717 else | 4725 else |
4718 cat >conftest.$ac_ext <<_ACEOF | 4726 cat >conftest.$ac_ext <<_ACEOF |
4719 #line 4719 "configure" | 4727 #line 4727 "configure" |
4720 #include "confdefs.h" | 4728 #include "confdefs.h" |
4721 #include <time.h> | 4729 #include <time.h> |
4722 int | 4730 int |
4723 main () | 4731 main () |
4724 { | 4732 { |
4726 ; | 4734 ; |
4727 return 0; | 4735 return 0; |
4728 } | 4736 } |
4729 _ACEOF | 4737 _ACEOF |
4730 rm -f conftest.$ac_objext conftest$ac_exeext | 4738 rm -f conftest.$ac_objext conftest$ac_exeext |
4731 if { (eval echo "$as_me:4731: \"$ac_link\"") >&5 | 4739 if { (eval echo "$as_me:4739: \"$ac_link\"") >&5 |
4732 (eval $ac_link) 2>&5 | 4740 (eval $ac_link) 2>&5 |
4733 ac_status=$? | 4741 ac_status=$? |
4734 echo "$as_me:4734: \$? = $ac_status" >&5 | 4742 echo "$as_me:4742: \$? = $ac_status" >&5 |
4735 (exit $ac_status); } && | 4743 (exit $ac_status); } && |
4736 { ac_try='test -s conftest$ac_exeext' | 4744 { ac_try='test -s conftest$ac_exeext' |
4737 { (eval echo "$as_me:4737: \"$ac_try\"") >&5 | 4745 { (eval echo "$as_me:4745: \"$ac_try\"") >&5 |
4738 (eval $ac_try) 2>&5 | 4746 (eval $ac_try) 2>&5 |
4739 ac_status=$? | 4747 ac_status=$? |
4740 echo "$as_me:4740: \$? = $ac_status" >&5 | 4748 echo "$as_me:4748: \$? = $ac_status" >&5 |
4741 (exit $ac_status); }; }; then | 4749 (exit $ac_status); }; }; then |
4742 emacs_cv_tm_gmtoff=yes | 4750 emacs_cv_tm_gmtoff=yes |
4743 else | 4751 else |
4744 echo "$as_me: failed program was:" >&5 | 4752 echo "$as_me: failed program was:" >&5 |
4745 cat conftest.$ac_ext >&5 | 4753 cat conftest.$ac_ext >&5 |
4746 emacs_cv_tm_gmtoff=no | 4754 emacs_cv_tm_gmtoff=no |
4747 fi | 4755 fi |
4748 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 4756 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4749 fi | 4757 fi |
4750 echo "$as_me:4750: result: $emacs_cv_tm_gmtoff" >&5 | 4758 echo "$as_me:4758: result: $emacs_cv_tm_gmtoff" >&5 |
4751 echo "${ECHO_T}$emacs_cv_tm_gmtoff" >&6 | 4759 echo "${ECHO_T}$emacs_cv_tm_gmtoff" >&6 |
4752 if test $emacs_cv_tm_gmtoff = yes; then | 4760 if test $emacs_cv_tm_gmtoff = yes; then |
4753 cat >>confdefs.h <<\EOF | 4761 cat >>confdefs.h <<\EOF |
4754 #define HAVE_TM_GMTOFF 1 | 4762 #define HAVE_TM_GMTOFF 1 |
4755 EOF | 4763 EOF |
4756 | 4764 |
4757 fi | 4765 fi |
4758 | 4766 |
4759 echo "$as_me:4759: checking for $CC option to accept ANSI C" >&5 | 4767 echo "$as_me:4767: checking for $CC option to accept ANSI C" >&5 |
4760 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 | 4768 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
4761 if test "${ac_cv_prog_cc_stdc+set}" = set; then | 4769 if test "${ac_cv_prog_cc_stdc+set}" = set; then |
4762 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4770 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4763 else | 4771 else |
4764 ac_cv_prog_cc_stdc=no | 4772 ac_cv_prog_cc_stdc=no |
4765 ac_save_CC=$CC | 4773 ac_save_CC=$CC |
4766 cat >conftest.$ac_ext <<_ACEOF | 4774 cat >conftest.$ac_ext <<_ACEOF |
4767 #line 4767 "configure" | 4775 #line 4775 "configure" |
4768 #include "confdefs.h" | 4776 #include "confdefs.h" |
4769 #include <stdarg.h> | 4777 #include <stdarg.h> |
4770 #include <stdio.h> | 4778 #include <stdio.h> |
4771 #include <sys/types.h> | 4779 #include <sys/types.h> |
4772 #include <sys/stat.h> | 4780 #include <sys/stat.h> |
4811 # SVR4 -Xc -D__EXTENSIONS__ | 4819 # SVR4 -Xc -D__EXTENSIONS__ |
4812 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | 4820 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
4813 do | 4821 do |
4814 CC="$ac_save_CC $ac_arg" | 4822 CC="$ac_save_CC $ac_arg" |
4815 rm -f conftest.$ac_objext | 4823 rm -f conftest.$ac_objext |
4816 if { (eval echo "$as_me:4816: \"$ac_compile\"") >&5 | 4824 if { (eval echo "$as_me:4824: \"$ac_compile\"") >&5 |
4817 (eval $ac_compile) 2>&5 | 4825 (eval $ac_compile) 2>&5 |
4818 ac_status=$? | 4826 ac_status=$? |
4819 echo "$as_me:4819: \$? = $ac_status" >&5 | 4827 echo "$as_me:4827: \$? = $ac_status" >&5 |
4820 (exit $ac_status); } && | 4828 (exit $ac_status); } && |
4821 { ac_try='test -s conftest.$ac_objext' | 4829 { ac_try='test -s conftest.$ac_objext' |
4822 { (eval echo "$as_me:4822: \"$ac_try\"") >&5 | 4830 { (eval echo "$as_me:4830: \"$ac_try\"") >&5 |
4823 (eval $ac_try) 2>&5 | 4831 (eval $ac_try) 2>&5 |
4824 ac_status=$? | 4832 ac_status=$? |
4825 echo "$as_me:4825: \$? = $ac_status" >&5 | 4833 echo "$as_me:4833: \$? = $ac_status" >&5 |
4826 (exit $ac_status); }; }; then | 4834 (exit $ac_status); }; }; then |
4827 ac_cv_prog_cc_stdc=$ac_arg | 4835 ac_cv_prog_cc_stdc=$ac_arg |
4828 break | 4836 break |
4829 else | 4837 else |
4830 echo "$as_me: failed program was:" >&5 | 4838 echo "$as_me: failed program was:" >&5 |
4837 | 4845 |
4838 fi | 4846 fi |
4839 | 4847 |
4840 case "x$ac_cv_prog_cc_stdc" in | 4848 case "x$ac_cv_prog_cc_stdc" in |
4841 x|xno) | 4849 x|xno) |
4842 echo "$as_me:4842: result: none needed" >&5 | 4850 echo "$as_me:4850: result: none needed" >&5 |
4843 echo "${ECHO_T}none needed" >&6 ;; | 4851 echo "${ECHO_T}none needed" >&6 ;; |
4844 *) | 4852 *) |
4845 echo "$as_me:4845: result: $ac_cv_prog_cc_stdc" >&5 | 4853 echo "$as_me:4853: result: $ac_cv_prog_cc_stdc" >&5 |
4846 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 | 4854 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 |
4847 CC="$CC $ac_cv_prog_cc_stdc" ;; | 4855 CC="$CC $ac_cv_prog_cc_stdc" ;; |
4848 esac | 4856 esac |
4849 | 4857 |
4850 echo "$as_me:4850: checking for function prototypes" >&5 | 4858 echo "$as_me:4858: checking for function prototypes" >&5 |
4851 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6 | 4859 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6 |
4852 if test "$ac_cv_prog_cc_stdc" != no; then | 4860 if test "$ac_cv_prog_cc_stdc" != no; then |
4853 echo "$as_me:4853: result: yes" >&5 | 4861 echo "$as_me:4861: result: yes" >&5 |
4854 echo "${ECHO_T}yes" >&6 | 4862 echo "${ECHO_T}yes" >&6 |
4855 | 4863 |
4856 cat >>confdefs.h <<\EOF | 4864 cat >>confdefs.h <<\EOF |
4857 #define PROTOTYPES 1 | 4865 #define PROTOTYPES 1 |
4858 EOF | 4866 EOF |
4859 | 4867 |
4860 else | 4868 else |
4861 echo "$as_me:4861: result: no" >&5 | 4869 echo "$as_me:4869: result: no" >&5 |
4862 echo "${ECHO_T}no" >&6 | 4870 echo "${ECHO_T}no" >&6 |
4863 fi | 4871 fi |
4864 | 4872 |
4865 echo "$as_me:4865: checking for working volatile" >&5 | 4873 echo "$as_me:4873: checking for working volatile" >&5 |
4866 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6 | 4874 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6 |
4867 if test "${ac_cv_c_volatile+set}" = set; then | 4875 if test "${ac_cv_c_volatile+set}" = set; then |
4868 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4876 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4869 else | 4877 else |
4870 cat >conftest.$ac_ext <<_ACEOF | 4878 cat >conftest.$ac_ext <<_ACEOF |
4871 #line 4871 "configure" | 4879 #line 4879 "configure" |
4872 #include "confdefs.h" | 4880 #include "confdefs.h" |
4873 | 4881 |
4874 int | 4882 int |
4875 main () | 4883 main () |
4876 { | 4884 { |
4880 ; | 4888 ; |
4881 return 0; | 4889 return 0; |
4882 } | 4890 } |
4883 _ACEOF | 4891 _ACEOF |
4884 rm -f conftest.$ac_objext | 4892 rm -f conftest.$ac_objext |
4885 if { (eval echo "$as_me:4885: \"$ac_compile\"") >&5 | 4893 if { (eval echo "$as_me:4893: \"$ac_compile\"") >&5 |
4886 (eval $ac_compile) 2>&5 | 4894 (eval $ac_compile) 2>&5 |
4887 ac_status=$? | 4895 ac_status=$? |
4888 echo "$as_me:4888: \$? = $ac_status" >&5 | 4896 echo "$as_me:4896: \$? = $ac_status" >&5 |
4889 (exit $ac_status); } && | 4897 (exit $ac_status); } && |
4890 { ac_try='test -s conftest.$ac_objext' | 4898 { ac_try='test -s conftest.$ac_objext' |
4891 { (eval echo "$as_me:4891: \"$ac_try\"") >&5 | 4899 { (eval echo "$as_me:4899: \"$ac_try\"") >&5 |
4892 (eval $ac_try) 2>&5 | 4900 (eval $ac_try) 2>&5 |
4893 ac_status=$? | 4901 ac_status=$? |
4894 echo "$as_me:4894: \$? = $ac_status" >&5 | 4902 echo "$as_me:4902: \$? = $ac_status" >&5 |
4895 (exit $ac_status); }; }; then | 4903 (exit $ac_status); }; }; then |
4896 ac_cv_c_volatile=yes | 4904 ac_cv_c_volatile=yes |
4897 else | 4905 else |
4898 echo "$as_me: failed program was:" >&5 | 4906 echo "$as_me: failed program was:" >&5 |
4899 cat conftest.$ac_ext >&5 | 4907 cat conftest.$ac_ext >&5 |
4900 ac_cv_c_volatile=no | 4908 ac_cv_c_volatile=no |
4901 fi | 4909 fi |
4902 rm -f conftest.$ac_objext conftest.$ac_ext | 4910 rm -f conftest.$ac_objext conftest.$ac_ext |
4903 fi | 4911 fi |
4904 echo "$as_me:4904: result: $ac_cv_c_volatile" >&5 | 4912 echo "$as_me:4912: result: $ac_cv_c_volatile" >&5 |
4905 echo "${ECHO_T}$ac_cv_c_volatile" >&6 | 4913 echo "${ECHO_T}$ac_cv_c_volatile" >&6 |
4906 if test $ac_cv_c_volatile = no; then | 4914 if test $ac_cv_c_volatile = no; then |
4907 | 4915 |
4908 cat >>confdefs.h <<\EOF | 4916 cat >>confdefs.h <<\EOF |
4909 #define volatile | 4917 #define volatile |
4910 EOF | 4918 EOF |
4911 | 4919 |
4912 fi | 4920 fi |
4913 | 4921 |
4914 echo "$as_me:4914: checking for an ANSI C-conforming const" >&5 | 4922 echo "$as_me:4922: checking for an ANSI C-conforming const" >&5 |
4915 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 | 4923 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 |
4916 if test "${ac_cv_c_const+set}" = set; then | 4924 if test "${ac_cv_c_const+set}" = set; then |
4917 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4925 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4918 else | 4926 else |
4919 cat >conftest.$ac_ext <<_ACEOF | 4927 cat >conftest.$ac_ext <<_ACEOF |
4920 #line 4920 "configure" | 4928 #line 4928 "configure" |
4921 #include "confdefs.h" | 4929 #include "confdefs.h" |
4922 | 4930 |
4923 int | 4931 int |
4924 main () | 4932 main () |
4925 { | 4933 { |
4973 ; | 4981 ; |
4974 return 0; | 4982 return 0; |
4975 } | 4983 } |
4976 _ACEOF | 4984 _ACEOF |
4977 rm -f conftest.$ac_objext | 4985 rm -f conftest.$ac_objext |
4978 if { (eval echo "$as_me:4978: \"$ac_compile\"") >&5 | 4986 if { (eval echo "$as_me:4986: \"$ac_compile\"") >&5 |
4979 (eval $ac_compile) 2>&5 | 4987 (eval $ac_compile) 2>&5 |
4980 ac_status=$? | 4988 ac_status=$? |
4981 echo "$as_me:4981: \$? = $ac_status" >&5 | 4989 echo "$as_me:4989: \$? = $ac_status" >&5 |
4982 (exit $ac_status); } && | 4990 (exit $ac_status); } && |
4983 { ac_try='test -s conftest.$ac_objext' | 4991 { ac_try='test -s conftest.$ac_objext' |
4984 { (eval echo "$as_me:4984: \"$ac_try\"") >&5 | 4992 { (eval echo "$as_me:4992: \"$ac_try\"") >&5 |
4985 (eval $ac_try) 2>&5 | 4993 (eval $ac_try) 2>&5 |
4986 ac_status=$? | 4994 ac_status=$? |
4987 echo "$as_me:4987: \$? = $ac_status" >&5 | 4995 echo "$as_me:4995: \$? = $ac_status" >&5 |
4988 (exit $ac_status); }; }; then | 4996 (exit $ac_status); }; }; then |
4989 ac_cv_c_const=yes | 4997 ac_cv_c_const=yes |
4990 else | 4998 else |
4991 echo "$as_me: failed program was:" >&5 | 4999 echo "$as_me: failed program was:" >&5 |
4992 cat conftest.$ac_ext >&5 | 5000 cat conftest.$ac_ext >&5 |
4993 ac_cv_c_const=no | 5001 ac_cv_c_const=no |
4994 fi | 5002 fi |
4995 rm -f conftest.$ac_objext conftest.$ac_ext | 5003 rm -f conftest.$ac_objext conftest.$ac_ext |
4996 fi | 5004 fi |
4997 echo "$as_me:4997: result: $ac_cv_c_const" >&5 | 5005 echo "$as_me:5005: result: $ac_cv_c_const" >&5 |
4998 echo "${ECHO_T}$ac_cv_c_const" >&6 | 5006 echo "${ECHO_T}$ac_cv_c_const" >&6 |
4999 if test $ac_cv_c_const = no; then | 5007 if test $ac_cv_c_const = no; then |
5000 | 5008 |
5001 cat >>confdefs.h <<\EOF | 5009 cat >>confdefs.h <<\EOF |
5002 #define const | 5010 #define const |
5003 EOF | 5011 EOF |
5004 | 5012 |
5005 fi | 5013 fi |
5006 | 5014 |
5007 echo "$as_me:5007: checking for void * support" >&5 | 5015 echo "$as_me:5015: checking for void * support" >&5 |
5008 echo $ECHO_N "checking for void * support... $ECHO_C" >&6 | 5016 echo $ECHO_N "checking for void * support... $ECHO_C" >&6 |
5009 if test "${emacs_cv_void_star+set}" = set; then | 5017 if test "${emacs_cv_void_star+set}" = set; then |
5010 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5018 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5011 else | 5019 else |
5012 cat >conftest.$ac_ext <<_ACEOF | 5020 cat >conftest.$ac_ext <<_ACEOF |
5013 #line 5013 "configure" | 5021 #line 5021 "configure" |
5014 #include "confdefs.h" | 5022 #include "confdefs.h" |
5015 | 5023 |
5016 int | 5024 int |
5017 main () | 5025 main () |
5018 { | 5026 { |
5020 ; | 5028 ; |
5021 return 0; | 5029 return 0; |
5022 } | 5030 } |
5023 _ACEOF | 5031 _ACEOF |
5024 rm -f conftest.$ac_objext | 5032 rm -f conftest.$ac_objext |
5025 if { (eval echo "$as_me:5025: \"$ac_compile\"") >&5 | 5033 if { (eval echo "$as_me:5033: \"$ac_compile\"") >&5 |
5026 (eval $ac_compile) 2>&5 | 5034 (eval $ac_compile) 2>&5 |
5027 ac_status=$? | 5035 ac_status=$? |
5028 echo "$as_me:5028: \$? = $ac_status" >&5 | 5036 echo "$as_me:5036: \$? = $ac_status" >&5 |
5029 (exit $ac_status); } && | 5037 (exit $ac_status); } && |
5030 { ac_try='test -s conftest.$ac_objext' | 5038 { ac_try='test -s conftest.$ac_objext' |
5031 { (eval echo "$as_me:5031: \"$ac_try\"") >&5 | 5039 { (eval echo "$as_me:5039: \"$ac_try\"") >&5 |
5032 (eval $ac_try) 2>&5 | 5040 (eval $ac_try) 2>&5 |
5033 ac_status=$? | 5041 ac_status=$? |
5034 echo "$as_me:5034: \$? = $ac_status" >&5 | 5042 echo "$as_me:5042: \$? = $ac_status" >&5 |
5035 (exit $ac_status); }; }; then | 5043 (exit $ac_status); }; }; then |
5036 emacs_cv_void_star=yes | 5044 emacs_cv_void_star=yes |
5037 else | 5045 else |
5038 echo "$as_me: failed program was:" >&5 | 5046 echo "$as_me: failed program was:" >&5 |
5039 cat conftest.$ac_ext >&5 | 5047 cat conftest.$ac_ext >&5 |
5040 emacs_cv_void_star=no | 5048 emacs_cv_void_star=no |
5041 fi | 5049 fi |
5042 rm -f conftest.$ac_objext conftest.$ac_ext | 5050 rm -f conftest.$ac_objext conftest.$ac_ext |
5043 fi | 5051 fi |
5044 echo "$as_me:5044: result: $emacs_cv_void_star" >&5 | 5052 echo "$as_me:5052: result: $emacs_cv_void_star" >&5 |
5045 echo "${ECHO_T}$emacs_cv_void_star" >&6 | 5053 echo "${ECHO_T}$emacs_cv_void_star" >&6 |
5046 if test $emacs_cv_void_star = yes; then | 5054 if test $emacs_cv_void_star = yes; then |
5047 cat >>confdefs.h <<\EOF | 5055 cat >>confdefs.h <<\EOF |
5048 #define POINTER_TYPE void | 5056 #define POINTER_TYPE void |
5049 EOF | 5057 EOF |
5053 #define POINTER_TYPE char | 5061 #define POINTER_TYPE char |
5054 EOF | 5062 EOF |
5055 | 5063 |
5056 fi | 5064 fi |
5057 | 5065 |
5058 echo "$as_me:5058: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 5066 echo "$as_me:5066: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
5059 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 | 5067 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 |
5060 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` | 5068 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` |
5061 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then | 5069 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
5062 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5070 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5063 else | 5071 else |
5073 eval ac_cv_prog_make_${ac_make}_set=no | 5081 eval ac_cv_prog_make_${ac_make}_set=no |
5074 fi | 5082 fi |
5075 rm -f conftest.make | 5083 rm -f conftest.make |
5076 fi | 5084 fi |
5077 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then | 5085 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then |
5078 echo "$as_me:5078: result: yes" >&5 | 5086 echo "$as_me:5086: result: yes" >&5 |
5079 echo "${ECHO_T}yes" >&6 | 5087 echo "${ECHO_T}yes" >&6 |
5080 SET_MAKE= | 5088 SET_MAKE= |
5081 else | 5089 else |
5082 echo "$as_me:5082: result: no" >&5 | 5090 echo "$as_me:5090: result: no" >&5 |
5083 echo "${ECHO_T}no" >&6 | 5091 echo "${ECHO_T}no" >&6 |
5084 SET_MAKE="MAKE=${MAKE-make}" | 5092 SET_MAKE="MAKE=${MAKE-make}" |
5085 fi | 5093 fi |
5086 | 5094 |
5087 echo "$as_me:5087: checking for long file names" >&5 | 5095 echo "$as_me:5095: checking for long file names" >&5 |
5088 echo $ECHO_N "checking for long file names... $ECHO_C" >&6 | 5096 echo $ECHO_N "checking for long file names... $ECHO_C" >&6 |
5089 if test "${ac_cv_sys_long_file_names+set}" = set; then | 5097 if test "${ac_cv_sys_long_file_names+set}" = set; then |
5090 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5098 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5091 else | 5099 else |
5092 ac_cv_sys_long_file_names=yes | 5100 ac_cv_sys_long_file_names=yes |
5121 break | 5129 break |
5122 fi | 5130 fi |
5123 rm -rf $ac_xdir 2>/dev/null | 5131 rm -rf $ac_xdir 2>/dev/null |
5124 done | 5132 done |
5125 fi | 5133 fi |
5126 echo "$as_me:5126: result: $ac_cv_sys_long_file_names" >&5 | 5134 echo "$as_me:5134: result: $ac_cv_sys_long_file_names" >&5 |
5127 echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6 | 5135 echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6 |
5128 if test $ac_cv_sys_long_file_names = yes; then | 5136 if test $ac_cv_sys_long_file_names = yes; then |
5129 | 5137 |
5130 cat >>confdefs.h <<\EOF | 5138 cat >>confdefs.h <<\EOF |
5131 #define HAVE_LONG_FILE_NAMES 1 | 5139 #define HAVE_LONG_FILE_NAMES 1 |
5133 | 5141 |
5134 fi | 5142 fi |
5135 | 5143 |
5136 #### Choose a window system. | 5144 #### Choose a window system. |
5137 | 5145 |
5138 echo "$as_me:5138: checking for X" >&5 | 5146 echo "$as_me:5146: checking for X" >&5 |
5139 echo $ECHO_N "checking for X... $ECHO_C" >&6 | 5147 echo $ECHO_N "checking for X... $ECHO_C" >&6 |
5140 | 5148 |
5141 # Check whether --with-x or --without-x was given. | 5149 # Check whether --with-x or --without-x was given. |
5142 if test "${with_x+set}" = set; then | 5150 if test "${with_x+set}" = set; then |
5143 withval="$with_x" | 5151 withval="$with_x" |
5230 | 5238 |
5231 if test "$ac_x_includes" = no; then | 5239 if test "$ac_x_includes" = no; then |
5232 # Guess where to find include files, by looking for Intrinsic.h. | 5240 # Guess where to find include files, by looking for Intrinsic.h. |
5233 # First, try using that file with no special directory specified. | 5241 # First, try using that file with no special directory specified. |
5234 cat >conftest.$ac_ext <<_ACEOF | 5242 cat >conftest.$ac_ext <<_ACEOF |
5235 #line 5235 "configure" | 5243 #line 5243 "configure" |
5236 #include "confdefs.h" | 5244 #include "confdefs.h" |
5237 #include <X11/Intrinsic.h> | 5245 #include <X11/Intrinsic.h> |
5238 _ACEOF | 5246 _ACEOF |
5239 if { (eval echo "$as_me:5239: \"$ac_cpp conftest.$ac_ext\"") >&5 | 5247 if { (eval echo "$as_me:5247: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5240 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 5248 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5241 ac_status=$? | 5249 ac_status=$? |
5242 egrep -v '^ *\+' conftest.er1 >conftest.err | 5250 egrep -v '^ *\+' conftest.er1 >conftest.err |
5243 rm -f conftest.er1 | 5251 rm -f conftest.er1 |
5244 cat conftest.err >&5 | 5252 cat conftest.err >&5 |
5245 echo "$as_me:5245: \$? = $ac_status" >&5 | 5253 echo "$as_me:5253: \$? = $ac_status" >&5 |
5246 (exit $ac_status); } >/dev/null; then | 5254 (exit $ac_status); } >/dev/null; then |
5247 if test -s conftest.err; then | 5255 if test -s conftest.err; then |
5248 ac_cpp_err=$ac_c_preproc_warn_flag | 5256 ac_cpp_err=$ac_c_preproc_warn_flag |
5249 else | 5257 else |
5250 ac_cpp_err= | 5258 ac_cpp_err= |
5273 # See if we find them without any special options. | 5281 # See if we find them without any special options. |
5274 # Don't add to $LIBS permanently. | 5282 # Don't add to $LIBS permanently. |
5275 ac_save_LIBS=$LIBS | 5283 ac_save_LIBS=$LIBS |
5276 LIBS="-lXt $LIBS" | 5284 LIBS="-lXt $LIBS" |
5277 cat >conftest.$ac_ext <<_ACEOF | 5285 cat >conftest.$ac_ext <<_ACEOF |
5278 #line 5278 "configure" | 5286 #line 5286 "configure" |
5279 #include "confdefs.h" | 5287 #include "confdefs.h" |
5280 #include <X11/Intrinsic.h> | 5288 #include <X11/Intrinsic.h> |
5281 int | 5289 int |
5282 main () | 5290 main () |
5283 { | 5291 { |
5285 ; | 5293 ; |
5286 return 0; | 5294 return 0; |
5287 } | 5295 } |
5288 _ACEOF | 5296 _ACEOF |
5289 rm -f conftest.$ac_objext conftest$ac_exeext | 5297 rm -f conftest.$ac_objext conftest$ac_exeext |
5290 if { (eval echo "$as_me:5290: \"$ac_link\"") >&5 | 5298 if { (eval echo "$as_me:5298: \"$ac_link\"") >&5 |
5291 (eval $ac_link) 2>&5 | 5299 (eval $ac_link) 2>&5 |
5292 ac_status=$? | 5300 ac_status=$? |
5293 echo "$as_me:5293: \$? = $ac_status" >&5 | 5301 echo "$as_me:5301: \$? = $ac_status" >&5 |
5294 (exit $ac_status); } && | 5302 (exit $ac_status); } && |
5295 { ac_try='test -s conftest$ac_exeext' | 5303 { ac_try='test -s conftest$ac_exeext' |
5296 { (eval echo "$as_me:5296: \"$ac_try\"") >&5 | 5304 { (eval echo "$as_me:5304: \"$ac_try\"") >&5 |
5297 (eval $ac_try) 2>&5 | 5305 (eval $ac_try) 2>&5 |
5298 ac_status=$? | 5306 ac_status=$? |
5299 echo "$as_me:5299: \$? = $ac_status" >&5 | 5307 echo "$as_me:5307: \$? = $ac_status" >&5 |
5300 (exit $ac_status); }; }; then | 5308 (exit $ac_status); }; }; then |
5301 LIBS=$ac_save_LIBS | 5309 LIBS=$ac_save_LIBS |
5302 # We can link X programs with no special library path. | 5310 # We can link X programs with no special library path. |
5303 ac_x_libraries= | 5311 ac_x_libraries= |
5304 else | 5312 else |
5332 fi | 5340 fi |
5333 eval "$ac_cv_have_x" | 5341 eval "$ac_cv_have_x" |
5334 fi # $with_x != no | 5342 fi # $with_x != no |
5335 | 5343 |
5336 if test "$have_x" != yes; then | 5344 if test "$have_x" != yes; then |
5337 echo "$as_me:5337: result: $have_x" >&5 | 5345 echo "$as_me:5345: result: $have_x" >&5 |
5338 echo "${ECHO_T}$have_x" >&6 | 5346 echo "${ECHO_T}$have_x" >&6 |
5339 no_x=yes | 5347 no_x=yes |
5340 else | 5348 else |
5341 # If each of the values was on the command line, it overrides each guess. | 5349 # If each of the values was on the command line, it overrides each guess. |
5342 test "x$x_includes" = xNONE && x_includes=$ac_x_includes | 5350 test "x$x_includes" = xNONE && x_includes=$ac_x_includes |
5343 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries | 5351 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries |
5344 # Update the cache value to reflect the command line values. | 5352 # Update the cache value to reflect the command line values. |
5345 ac_cv_have_x="have_x=yes \ | 5353 ac_cv_have_x="have_x=yes \ |
5346 ac_x_includes=$x_includes ac_x_libraries=$x_libraries" | 5354 ac_x_includes=$x_includes ac_x_libraries=$x_libraries" |
5347 echo "$as_me:5347: result: libraries $x_libraries, headers $x_includes" >&5 | 5355 echo "$as_me:5355: result: libraries $x_libraries, headers $x_includes" >&5 |
5348 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 | 5356 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 |
5349 fi | 5357 fi |
5350 | 5358 |
5351 if test "$no_x" = yes; then | 5359 if test "$no_x" = yes; then |
5352 window_system=none | 5360 window_system=none |
5440 | 5448 |
5441 # Do the opsystem or machine files prohibit the use of the GNU malloc? | 5449 # Do the opsystem or machine files prohibit the use of the GNU malloc? |
5442 # Assume not, until told otherwise. | 5450 # Assume not, until told otherwise. |
5443 GNU_MALLOC=yes | 5451 GNU_MALLOC=yes |
5444 doug_lea_malloc=yes | 5452 doug_lea_malloc=yes |
5445 echo "$as_me:5445: checking for malloc_get_state" >&5 | 5453 echo "$as_me:5453: checking for malloc_get_state" >&5 |
5446 echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6 | 5454 echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6 |
5447 if test "${ac_cv_func_malloc_get_state+set}" = set; then | 5455 if test "${ac_cv_func_malloc_get_state+set}" = set; then |
5448 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5456 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5449 else | 5457 else |
5450 cat >conftest.$ac_ext <<_ACEOF | 5458 cat >conftest.$ac_ext <<_ACEOF |
5451 #line 5451 "configure" | 5459 #line 5459 "configure" |
5452 #include "confdefs.h" | 5460 #include "confdefs.h" |
5453 /* System header to define __stub macros and hopefully few prototypes, | 5461 /* System header to define __stub macros and hopefully few prototypes, |
5454 which can conflict with char malloc_get_state (); below. */ | 5462 which can conflict with char malloc_get_state (); below. */ |
5455 #include <assert.h> | 5463 #include <assert.h> |
5456 /* Override any gcc2 internal prototype to avoid an error. */ | 5464 /* Override any gcc2 internal prototype to avoid an error. */ |
5477 ; | 5485 ; |
5478 return 0; | 5486 return 0; |
5479 } | 5487 } |
5480 _ACEOF | 5488 _ACEOF |
5481 rm -f conftest.$ac_objext conftest$ac_exeext | 5489 rm -f conftest.$ac_objext conftest$ac_exeext |
5482 if { (eval echo "$as_me:5482: \"$ac_link\"") >&5 | 5490 if { (eval echo "$as_me:5490: \"$ac_link\"") >&5 |
5483 (eval $ac_link) 2>&5 | 5491 (eval $ac_link) 2>&5 |
5484 ac_status=$? | 5492 ac_status=$? |
5485 echo "$as_me:5485: \$? = $ac_status" >&5 | 5493 echo "$as_me:5493: \$? = $ac_status" >&5 |
5486 (exit $ac_status); } && | 5494 (exit $ac_status); } && |
5487 { ac_try='test -s conftest$ac_exeext' | 5495 { ac_try='test -s conftest$ac_exeext' |
5488 { (eval echo "$as_me:5488: \"$ac_try\"") >&5 | 5496 { (eval echo "$as_me:5496: \"$ac_try\"") >&5 |
5489 (eval $ac_try) 2>&5 | 5497 (eval $ac_try) 2>&5 |
5490 ac_status=$? | 5498 ac_status=$? |
5491 echo "$as_me:5491: \$? = $ac_status" >&5 | 5499 echo "$as_me:5499: \$? = $ac_status" >&5 |
5492 (exit $ac_status); }; }; then | 5500 (exit $ac_status); }; }; then |
5493 ac_cv_func_malloc_get_state=yes | 5501 ac_cv_func_malloc_get_state=yes |
5494 else | 5502 else |
5495 echo "$as_me: failed program was:" >&5 | 5503 echo "$as_me: failed program was:" >&5 |
5496 cat conftest.$ac_ext >&5 | 5504 cat conftest.$ac_ext >&5 |
5497 ac_cv_func_malloc_get_state=no | 5505 ac_cv_func_malloc_get_state=no |
5498 fi | 5506 fi |
5499 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 5507 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5500 fi | 5508 fi |
5501 echo "$as_me:5501: result: $ac_cv_func_malloc_get_state" >&5 | 5509 echo "$as_me:5509: result: $ac_cv_func_malloc_get_state" >&5 |
5502 echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6 | 5510 echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6 |
5503 if test $ac_cv_func_malloc_get_state = yes; then | 5511 if test $ac_cv_func_malloc_get_state = yes; then |
5504 : | 5512 : |
5505 else | 5513 else |
5506 doug_lea_malloc=no | 5514 doug_lea_malloc=no |
5507 fi | 5515 fi |
5508 | 5516 |
5509 echo "$as_me:5509: checking for malloc_set_state" >&5 | 5517 echo "$as_me:5517: checking for malloc_set_state" >&5 |
5510 echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6 | 5518 echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6 |
5511 if test "${ac_cv_func_malloc_set_state+set}" = set; then | 5519 if test "${ac_cv_func_malloc_set_state+set}" = set; then |
5512 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5520 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5513 else | 5521 else |
5514 cat >conftest.$ac_ext <<_ACEOF | 5522 cat >conftest.$ac_ext <<_ACEOF |
5515 #line 5515 "configure" | 5523 #line 5523 "configure" |
5516 #include "confdefs.h" | 5524 #include "confdefs.h" |
5517 /* System header to define __stub macros and hopefully few prototypes, | 5525 /* System header to define __stub macros and hopefully few prototypes, |
5518 which can conflict with char malloc_set_state (); below. */ | 5526 which can conflict with char malloc_set_state (); below. */ |
5519 #include <assert.h> | 5527 #include <assert.h> |
5520 /* Override any gcc2 internal prototype to avoid an error. */ | 5528 /* Override any gcc2 internal prototype to avoid an error. */ |
5541 ; | 5549 ; |
5542 return 0; | 5550 return 0; |
5543 } | 5551 } |
5544 _ACEOF | 5552 _ACEOF |
5545 rm -f conftest.$ac_objext conftest$ac_exeext | 5553 rm -f conftest.$ac_objext conftest$ac_exeext |
5546 if { (eval echo "$as_me:5546: \"$ac_link\"") >&5 | 5554 if { (eval echo "$as_me:5554: \"$ac_link\"") >&5 |
5547 (eval $ac_link) 2>&5 | 5555 (eval $ac_link) 2>&5 |
5548 ac_status=$? | 5556 ac_status=$? |
5549 echo "$as_me:5549: \$? = $ac_status" >&5 | 5557 echo "$as_me:5557: \$? = $ac_status" >&5 |
5550 (exit $ac_status); } && | 5558 (exit $ac_status); } && |
5551 { ac_try='test -s conftest$ac_exeext' | 5559 { ac_try='test -s conftest$ac_exeext' |
5552 { (eval echo "$as_me:5552: \"$ac_try\"") >&5 | 5560 { (eval echo "$as_me:5560: \"$ac_try\"") >&5 |
5553 (eval $ac_try) 2>&5 | 5561 (eval $ac_try) 2>&5 |
5554 ac_status=$? | 5562 ac_status=$? |
5555 echo "$as_me:5555: \$? = $ac_status" >&5 | 5563 echo "$as_me:5563: \$? = $ac_status" >&5 |
5556 (exit $ac_status); }; }; then | 5564 (exit $ac_status); }; }; then |
5557 ac_cv_func_malloc_set_state=yes | 5565 ac_cv_func_malloc_set_state=yes |
5558 else | 5566 else |
5559 echo "$as_me: failed program was:" >&5 | 5567 echo "$as_me: failed program was:" >&5 |
5560 cat conftest.$ac_ext >&5 | 5568 cat conftest.$ac_ext >&5 |
5561 ac_cv_func_malloc_set_state=no | 5569 ac_cv_func_malloc_set_state=no |
5562 fi | 5570 fi |
5563 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 5571 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5564 fi | 5572 fi |
5565 echo "$as_me:5565: result: $ac_cv_func_malloc_set_state" >&5 | 5573 echo "$as_me:5573: result: $ac_cv_func_malloc_set_state" >&5 |
5566 echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6 | 5574 echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6 |
5567 if test $ac_cv_func_malloc_set_state = yes; then | 5575 if test $ac_cv_func_malloc_set_state = yes; then |
5568 : | 5576 : |
5569 else | 5577 else |
5570 doug_lea_malloc=no | 5578 doug_lea_malloc=no |
5571 fi | 5579 fi |
5572 | 5580 |
5573 echo "$as_me:5573: checking whether __after_morecore_hook exists" >&5 | 5581 echo "$as_me:5581: checking whether __after_morecore_hook exists" >&5 |
5574 echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6 | 5582 echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6 |
5575 if test "${emacs_cv_var___after_morecore_hook+set}" = set; then | 5583 if test "${emacs_cv_var___after_morecore_hook+set}" = set; then |
5576 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5584 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5577 else | 5585 else |
5578 cat >conftest.$ac_ext <<_ACEOF | 5586 cat >conftest.$ac_ext <<_ACEOF |
5579 #line 5579 "configure" | 5587 #line 5587 "configure" |
5580 #include "confdefs.h" | 5588 #include "confdefs.h" |
5581 extern void (* __after_morecore_hook)(); | 5589 extern void (* __after_morecore_hook)(); |
5582 int | 5590 int |
5583 main () | 5591 main () |
5584 { | 5592 { |
5586 ; | 5594 ; |
5587 return 0; | 5595 return 0; |
5588 } | 5596 } |
5589 _ACEOF | 5597 _ACEOF |
5590 rm -f conftest.$ac_objext conftest$ac_exeext | 5598 rm -f conftest.$ac_objext conftest$ac_exeext |
5591 if { (eval echo "$as_me:5591: \"$ac_link\"") >&5 | 5599 if { (eval echo "$as_me:5599: \"$ac_link\"") >&5 |
5592 (eval $ac_link) 2>&5 | 5600 (eval $ac_link) 2>&5 |
5593 ac_status=$? | 5601 ac_status=$? |
5594 echo "$as_me:5594: \$? = $ac_status" >&5 | 5602 echo "$as_me:5602: \$? = $ac_status" >&5 |
5595 (exit $ac_status); } && | 5603 (exit $ac_status); } && |
5596 { ac_try='test -s conftest$ac_exeext' | 5604 { ac_try='test -s conftest$ac_exeext' |
5597 { (eval echo "$as_me:5597: \"$ac_try\"") >&5 | 5605 { (eval echo "$as_me:5605: \"$ac_try\"") >&5 |
5598 (eval $ac_try) 2>&5 | 5606 (eval $ac_try) 2>&5 |
5599 ac_status=$? | 5607 ac_status=$? |
5600 echo "$as_me:5600: \$? = $ac_status" >&5 | 5608 echo "$as_me:5608: \$? = $ac_status" >&5 |
5601 (exit $ac_status); }; }; then | 5609 (exit $ac_status); }; }; then |
5602 emacs_cv_var___after_morecore_hook=yes | 5610 emacs_cv_var___after_morecore_hook=yes |
5603 else | 5611 else |
5604 echo "$as_me: failed program was:" >&5 | 5612 echo "$as_me: failed program was:" >&5 |
5605 cat conftest.$ac_ext >&5 | 5613 cat conftest.$ac_ext >&5 |
5606 emacs_cv_var___after_morecore_hook=no | 5614 emacs_cv_var___after_morecore_hook=no |
5607 fi | 5615 fi |
5608 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 5616 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5609 fi | 5617 fi |
5610 echo "$as_me:5610: result: $emacs_cv_var___after_morecore_hook" >&5 | 5618 echo "$as_me:5618: result: $emacs_cv_var___after_morecore_hook" >&5 |
5611 echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6 | 5619 echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6 |
5612 if test $emacs_cv_var___after_morecore_hook = no; then | 5620 if test $emacs_cv_var___after_morecore_hook = no; then |
5613 doug_lea_malloc=no | 5621 doug_lea_malloc=no |
5614 fi | 5622 fi |
5615 if test "${system_malloc}" = "yes"; then | 5623 if test "${system_malloc}" = "yes"; then |
5636 | 5644 |
5637 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | 5645 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
5638 inttypes.h stdint.h unistd.h | 5646 inttypes.h stdint.h unistd.h |
5639 do | 5647 do |
5640 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 5648 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5641 echo "$as_me:5641: checking for $ac_header" >&5 | 5649 echo "$as_me:5649: checking for $ac_header" >&5 |
5642 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 5650 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
5643 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 5651 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
5644 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5652 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5645 else | 5653 else |
5646 cat >conftest.$ac_ext <<_ACEOF | 5654 cat >conftest.$ac_ext <<_ACEOF |
5647 #line 5647 "configure" | 5655 #line 5655 "configure" |
5648 #include "confdefs.h" | 5656 #include "confdefs.h" |
5649 $ac_includes_default | 5657 $ac_includes_default |
5650 #include <$ac_header> | 5658 #include <$ac_header> |
5651 _ACEOF | 5659 _ACEOF |
5652 rm -f conftest.$ac_objext | 5660 rm -f conftest.$ac_objext |
5653 if { (eval echo "$as_me:5653: \"$ac_compile\"") >&5 | 5661 if { (eval echo "$as_me:5661: \"$ac_compile\"") >&5 |
5654 (eval $ac_compile) 2>&5 | 5662 (eval $ac_compile) 2>&5 |
5655 ac_status=$? | 5663 ac_status=$? |
5656 echo "$as_me:5656: \$? = $ac_status" >&5 | 5664 echo "$as_me:5664: \$? = $ac_status" >&5 |
5657 (exit $ac_status); } && | 5665 (exit $ac_status); } && |
5658 { ac_try='test -s conftest.$ac_objext' | 5666 { ac_try='test -s conftest.$ac_objext' |
5659 { (eval echo "$as_me:5659: \"$ac_try\"") >&5 | 5667 { (eval echo "$as_me:5667: \"$ac_try\"") >&5 |
5660 (eval $ac_try) 2>&5 | 5668 (eval $ac_try) 2>&5 |
5661 ac_status=$? | 5669 ac_status=$? |
5662 echo "$as_me:5662: \$? = $ac_status" >&5 | 5670 echo "$as_me:5670: \$? = $ac_status" >&5 |
5663 (exit $ac_status); }; }; then | 5671 (exit $ac_status); }; }; then |
5664 eval "$as_ac_Header=yes" | 5672 eval "$as_ac_Header=yes" |
5665 else | 5673 else |
5666 echo "$as_me: failed program was:" >&5 | 5674 echo "$as_me: failed program was:" >&5 |
5667 cat conftest.$ac_ext >&5 | 5675 cat conftest.$ac_ext >&5 |
5668 eval "$as_ac_Header=no" | 5676 eval "$as_ac_Header=no" |
5669 fi | 5677 fi |
5670 rm -f conftest.$ac_objext conftest.$ac_ext | 5678 rm -f conftest.$ac_objext conftest.$ac_ext |
5671 fi | 5679 fi |
5672 echo "$as_me:5672: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 5680 echo "$as_me:5680: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
5673 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 5681 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
5674 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 5682 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
5675 cat >>confdefs.h <<EOF | 5683 cat >>confdefs.h <<EOF |
5676 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 5684 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
5677 EOF | 5685 EOF |
5680 done | 5688 done |
5681 | 5689 |
5682 for ac_header in stdlib.h unistd.h | 5690 for ac_header in stdlib.h unistd.h |
5683 do | 5691 do |
5684 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 5692 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5685 echo "$as_me:5685: checking for $ac_header" >&5 | 5693 echo "$as_me:5693: checking for $ac_header" >&5 |
5686 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 5694 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
5687 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 5695 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
5688 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5696 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5689 else | 5697 else |
5690 cat >conftest.$ac_ext <<_ACEOF | 5698 cat >conftest.$ac_ext <<_ACEOF |
5691 #line 5691 "configure" | 5699 #line 5699 "configure" |
5692 #include "confdefs.h" | 5700 #include "confdefs.h" |
5693 #include <$ac_header> | 5701 #include <$ac_header> |
5694 _ACEOF | 5702 _ACEOF |
5695 if { (eval echo "$as_me:5695: \"$ac_cpp conftest.$ac_ext\"") >&5 | 5703 if { (eval echo "$as_me:5703: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5696 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 5704 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5697 ac_status=$? | 5705 ac_status=$? |
5698 egrep -v '^ *\+' conftest.er1 >conftest.err | 5706 egrep -v '^ *\+' conftest.er1 >conftest.err |
5699 rm -f conftest.er1 | 5707 rm -f conftest.er1 |
5700 cat conftest.err >&5 | 5708 cat conftest.err >&5 |
5701 echo "$as_me:5701: \$? = $ac_status" >&5 | 5709 echo "$as_me:5709: \$? = $ac_status" >&5 |
5702 (exit $ac_status); } >/dev/null; then | 5710 (exit $ac_status); } >/dev/null; then |
5703 if test -s conftest.err; then | 5711 if test -s conftest.err; then |
5704 ac_cpp_err=$ac_c_preproc_warn_flag | 5712 ac_cpp_err=$ac_c_preproc_warn_flag |
5705 else | 5713 else |
5706 ac_cpp_err= | 5714 ac_cpp_err= |
5715 cat conftest.$ac_ext >&5 | 5723 cat conftest.$ac_ext >&5 |
5716 eval "$as_ac_Header=no" | 5724 eval "$as_ac_Header=no" |
5717 fi | 5725 fi |
5718 rm -f conftest.err conftest.$ac_ext | 5726 rm -f conftest.err conftest.$ac_ext |
5719 fi | 5727 fi |
5720 echo "$as_me:5720: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 5728 echo "$as_me:5728: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
5721 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 5729 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
5722 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 5730 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
5723 cat >>confdefs.h <<EOF | 5731 cat >>confdefs.h <<EOF |
5724 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 5732 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
5725 EOF | 5733 EOF |
5728 done | 5736 done |
5729 | 5737 |
5730 for ac_func in getpagesize | 5738 for ac_func in getpagesize |
5731 do | 5739 do |
5732 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 5740 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
5733 echo "$as_me:5733: checking for $ac_func" >&5 | 5741 echo "$as_me:5741: checking for $ac_func" >&5 |
5734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 5742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
5735 if eval "test \"\${$as_ac_var+set}\" = set"; then | 5743 if eval "test \"\${$as_ac_var+set}\" = set"; then |
5736 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5744 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5737 else | 5745 else |
5738 cat >conftest.$ac_ext <<_ACEOF | 5746 cat >conftest.$ac_ext <<_ACEOF |
5739 #line 5739 "configure" | 5747 #line 5747 "configure" |
5740 #include "confdefs.h" | 5748 #include "confdefs.h" |
5741 /* System header to define __stub macros and hopefully few prototypes, | 5749 /* System header to define __stub macros and hopefully few prototypes, |
5742 which can conflict with char $ac_func (); below. */ | 5750 which can conflict with char $ac_func (); below. */ |
5743 #include <assert.h> | 5751 #include <assert.h> |
5744 /* Override any gcc2 internal prototype to avoid an error. */ | 5752 /* Override any gcc2 internal prototype to avoid an error. */ |
5765 ; | 5773 ; |
5766 return 0; | 5774 return 0; |
5767 } | 5775 } |
5768 _ACEOF | 5776 _ACEOF |
5769 rm -f conftest.$ac_objext conftest$ac_exeext | 5777 rm -f conftest.$ac_objext conftest$ac_exeext |
5770 if { (eval echo "$as_me:5770: \"$ac_link\"") >&5 | 5778 if { (eval echo "$as_me:5778: \"$ac_link\"") >&5 |
5771 (eval $ac_link) 2>&5 | 5779 (eval $ac_link) 2>&5 |
5772 ac_status=$? | 5780 ac_status=$? |
5773 echo "$as_me:5773: \$? = $ac_status" >&5 | 5781 echo "$as_me:5781: \$? = $ac_status" >&5 |
5774 (exit $ac_status); } && | 5782 (exit $ac_status); } && |
5775 { ac_try='test -s conftest$ac_exeext' | 5783 { ac_try='test -s conftest$ac_exeext' |
5776 { (eval echo "$as_me:5776: \"$ac_try\"") >&5 | 5784 { (eval echo "$as_me:5784: \"$ac_try\"") >&5 |
5777 (eval $ac_try) 2>&5 | 5785 (eval $ac_try) 2>&5 |
5778 ac_status=$? | 5786 ac_status=$? |
5779 echo "$as_me:5779: \$? = $ac_status" >&5 | 5787 echo "$as_me:5787: \$? = $ac_status" >&5 |
5780 (exit $ac_status); }; }; then | 5788 (exit $ac_status); }; }; then |
5781 eval "$as_ac_var=yes" | 5789 eval "$as_ac_var=yes" |
5782 else | 5790 else |
5783 echo "$as_me: failed program was:" >&5 | 5791 echo "$as_me: failed program was:" >&5 |
5784 cat conftest.$ac_ext >&5 | 5792 cat conftest.$ac_ext >&5 |
5785 eval "$as_ac_var=no" | 5793 eval "$as_ac_var=no" |
5786 fi | 5794 fi |
5787 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 5795 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5788 fi | 5796 fi |
5789 echo "$as_me:5789: result: `eval echo '${'$as_ac_var'}'`" >&5 | 5797 echo "$as_me:5797: result: `eval echo '${'$as_ac_var'}'`" >&5 |
5790 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 5798 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
5791 if test `eval echo '${'$as_ac_var'}'` = yes; then | 5799 if test `eval echo '${'$as_ac_var'}'` = yes; then |
5792 cat >>confdefs.h <<EOF | 5800 cat >>confdefs.h <<EOF |
5793 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 5801 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
5794 EOF | 5802 EOF |
5795 | 5803 |
5796 fi | 5804 fi |
5797 done | 5805 done |
5798 | 5806 |
5799 echo "$as_me:5799: checking for working mmap" >&5 | 5807 echo "$as_me:5807: checking for working mmap" >&5 |
5800 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6 | 5808 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6 |
5801 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then | 5809 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then |
5802 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5810 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5803 else | 5811 else |
5804 if test "$cross_compiling" = yes; then | 5812 if test "$cross_compiling" = yes; then |
5805 ac_cv_func_mmap_fixed_mapped=no | 5813 ac_cv_func_mmap_fixed_mapped=no |
5806 else | 5814 else |
5807 cat >conftest.$ac_ext <<_ACEOF | 5815 cat >conftest.$ac_ext <<_ACEOF |
5808 #line 5808 "configure" | 5816 #line 5816 "configure" |
5809 #include "confdefs.h" | 5817 #include "confdefs.h" |
5810 $ac_includes_default | 5818 $ac_includes_default |
5811 /* Thanks to Mike Haertel and Jim Avera for this test. | 5819 /* Thanks to Mike Haertel and Jim Avera for this test. |
5812 Here is a matrix of mmap possibilities: | 5820 Here is a matrix of mmap possibilities: |
5813 mmap private not fixed | 5821 mmap private not fixed |
5930 close (fd); | 5938 close (fd); |
5931 exit (0); | 5939 exit (0); |
5932 } | 5940 } |
5933 _ACEOF | 5941 _ACEOF |
5934 rm -f conftest$ac_exeext | 5942 rm -f conftest$ac_exeext |
5935 if { (eval echo "$as_me:5935: \"$ac_link\"") >&5 | 5943 if { (eval echo "$as_me:5943: \"$ac_link\"") >&5 |
5936 (eval $ac_link) 2>&5 | 5944 (eval $ac_link) 2>&5 |
5937 ac_status=$? | 5945 ac_status=$? |
5938 echo "$as_me:5938: \$? = $ac_status" >&5 | 5946 echo "$as_me:5946: \$? = $ac_status" >&5 |
5939 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 5947 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
5940 { (eval echo "$as_me:5940: \"$ac_try\"") >&5 | 5948 { (eval echo "$as_me:5948: \"$ac_try\"") >&5 |
5941 (eval $ac_try) 2>&5 | 5949 (eval $ac_try) 2>&5 |
5942 ac_status=$? | 5950 ac_status=$? |
5943 echo "$as_me:5943: \$? = $ac_status" >&5 | 5951 echo "$as_me:5951: \$? = $ac_status" >&5 |
5944 (exit $ac_status); }; }; then | 5952 (exit $ac_status); }; }; then |
5945 ac_cv_func_mmap_fixed_mapped=yes | 5953 ac_cv_func_mmap_fixed_mapped=yes |
5946 else | 5954 else |
5947 echo "$as_me: program exited with status $ac_status" >&5 | 5955 echo "$as_me: program exited with status $ac_status" >&5 |
5948 echo "$as_me: failed program was:" >&5 | 5956 echo "$as_me: failed program was:" >&5 |
5950 ac_cv_func_mmap_fixed_mapped=no | 5958 ac_cv_func_mmap_fixed_mapped=no |
5951 fi | 5959 fi |
5952 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 5960 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
5953 fi | 5961 fi |
5954 fi | 5962 fi |
5955 echo "$as_me:5955: result: $ac_cv_func_mmap_fixed_mapped" >&5 | 5963 echo "$as_me:5963: result: $ac_cv_func_mmap_fixed_mapped" >&5 |
5956 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6 | 5964 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6 |
5957 if test $ac_cv_func_mmap_fixed_mapped = yes; then | 5965 if test $ac_cv_func_mmap_fixed_mapped = yes; then |
5958 | 5966 |
5959 cat >>confdefs.h <<\EOF | 5967 cat >>confdefs.h <<\EOF |
5960 #define HAVE_MMAP 1 | 5968 #define HAVE_MMAP 1 |
5967 REL_ALLOC=no | 5975 REL_ALLOC=no |
5968 fi | 5976 fi |
5969 | 5977 |
5970 LIBS="$libsrc_libs $LIBS" | 5978 LIBS="$libsrc_libs $LIBS" |
5971 | 5979 |
5972 echo "$as_me:5972: checking for dnet_ntoa in -ldnet" >&5 | 5980 echo "$as_me:5980: checking for dnet_ntoa in -ldnet" >&5 |
5973 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6 | 5981 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6 |
5974 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then | 5982 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then |
5975 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5983 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5976 else | 5984 else |
5977 ac_check_lib_save_LIBS=$LIBS | 5985 ac_check_lib_save_LIBS=$LIBS |
5978 LIBS="-ldnet $LIBS" | 5986 LIBS="-ldnet $LIBS" |
5979 cat >conftest.$ac_ext <<_ACEOF | 5987 cat >conftest.$ac_ext <<_ACEOF |
5980 #line 5980 "configure" | 5988 #line 5988 "configure" |
5981 #include "confdefs.h" | 5989 #include "confdefs.h" |
5982 | 5990 |
5983 /* Override any gcc2 internal prototype to avoid an error. */ | 5991 /* Override any gcc2 internal prototype to avoid an error. */ |
5984 #ifdef __cplusplus | 5992 #ifdef __cplusplus |
5985 extern "C" | 5993 extern "C" |
5994 ; | 6002 ; |
5995 return 0; | 6003 return 0; |
5996 } | 6004 } |
5997 _ACEOF | 6005 _ACEOF |
5998 rm -f conftest.$ac_objext conftest$ac_exeext | 6006 rm -f conftest.$ac_objext conftest$ac_exeext |
5999 if { (eval echo "$as_me:5999: \"$ac_link\"") >&5 | 6007 if { (eval echo "$as_me:6007: \"$ac_link\"") >&5 |
6000 (eval $ac_link) 2>&5 | 6008 (eval $ac_link) 2>&5 |
6001 ac_status=$? | 6009 ac_status=$? |
6002 echo "$as_me:6002: \$? = $ac_status" >&5 | 6010 echo "$as_me:6010: \$? = $ac_status" >&5 |
6003 (exit $ac_status); } && | 6011 (exit $ac_status); } && |
6004 { ac_try='test -s conftest$ac_exeext' | 6012 { ac_try='test -s conftest$ac_exeext' |
6005 { (eval echo "$as_me:6005: \"$ac_try\"") >&5 | 6013 { (eval echo "$as_me:6013: \"$ac_try\"") >&5 |
6006 (eval $ac_try) 2>&5 | 6014 (eval $ac_try) 2>&5 |
6007 ac_status=$? | 6015 ac_status=$? |
6008 echo "$as_me:6008: \$? = $ac_status" >&5 | 6016 echo "$as_me:6016: \$? = $ac_status" >&5 |
6009 (exit $ac_status); }; }; then | 6017 (exit $ac_status); }; }; then |
6010 ac_cv_lib_dnet_dnet_ntoa=yes | 6018 ac_cv_lib_dnet_dnet_ntoa=yes |
6011 else | 6019 else |
6012 echo "$as_me: failed program was:" >&5 | 6020 echo "$as_me: failed program was:" >&5 |
6013 cat conftest.$ac_ext >&5 | 6021 cat conftest.$ac_ext >&5 |
6014 ac_cv_lib_dnet_dnet_ntoa=no | 6022 ac_cv_lib_dnet_dnet_ntoa=no |
6015 fi | 6023 fi |
6016 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 6024 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6017 LIBS=$ac_check_lib_save_LIBS | 6025 LIBS=$ac_check_lib_save_LIBS |
6018 fi | 6026 fi |
6019 echo "$as_me:6019: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 | 6027 echo "$as_me:6027: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 |
6020 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6 | 6028 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6 |
6021 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then | 6029 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then |
6022 cat >>confdefs.h <<EOF | 6030 cat >>confdefs.h <<EOF |
6023 #define HAVE_LIBDNET 1 | 6031 #define HAVE_LIBDNET 1 |
6024 EOF | 6032 EOF |
6025 | 6033 |
6026 LIBS="-ldnet $LIBS" | 6034 LIBS="-ldnet $LIBS" |
6027 | 6035 |
6028 fi | 6036 fi |
6029 | 6037 |
6030 echo "$as_me:6030: checking for main in -lXbsd" >&5 | 6038 echo "$as_me:6038: checking for main in -lXbsd" >&5 |
6031 echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6 | 6039 echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6 |
6032 if test "${ac_cv_lib_Xbsd_main+set}" = set; then | 6040 if test "${ac_cv_lib_Xbsd_main+set}" = set; then |
6033 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6041 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6034 else | 6042 else |
6035 ac_check_lib_save_LIBS=$LIBS | 6043 ac_check_lib_save_LIBS=$LIBS |
6036 LIBS="-lXbsd $LIBS" | 6044 LIBS="-lXbsd $LIBS" |
6037 cat >conftest.$ac_ext <<_ACEOF | 6045 cat >conftest.$ac_ext <<_ACEOF |
6038 #line 6038 "configure" | 6046 #line 6046 "configure" |
6039 #include "confdefs.h" | 6047 #include "confdefs.h" |
6040 | 6048 |
6041 int | 6049 int |
6042 main () | 6050 main () |
6043 { | 6051 { |
6045 ; | 6053 ; |
6046 return 0; | 6054 return 0; |
6047 } | 6055 } |
6048 _ACEOF | 6056 _ACEOF |
6049 rm -f conftest.$ac_objext conftest$ac_exeext | 6057 rm -f conftest.$ac_objext conftest$ac_exeext |
6050 if { (eval echo "$as_me:6050: \"$ac_link\"") >&5 | 6058 if { (eval echo "$as_me:6058: \"$ac_link\"") >&5 |
6051 (eval $ac_link) 2>&5 | 6059 (eval $ac_link) 2>&5 |
6052 ac_status=$? | 6060 ac_status=$? |
6053 echo "$as_me:6053: \$? = $ac_status" >&5 | 6061 echo "$as_me:6061: \$? = $ac_status" >&5 |
6054 (exit $ac_status); } && | 6062 (exit $ac_status); } && |
6055 { ac_try='test -s conftest$ac_exeext' | 6063 { ac_try='test -s conftest$ac_exeext' |
6056 { (eval echo "$as_me:6056: \"$ac_try\"") >&5 | 6064 { (eval echo "$as_me:6064: \"$ac_try\"") >&5 |
6057 (eval $ac_try) 2>&5 | 6065 (eval $ac_try) 2>&5 |
6058 ac_status=$? | 6066 ac_status=$? |
6059 echo "$as_me:6059: \$? = $ac_status" >&5 | 6067 echo "$as_me:6067: \$? = $ac_status" >&5 |
6060 (exit $ac_status); }; }; then | 6068 (exit $ac_status); }; }; then |
6061 ac_cv_lib_Xbsd_main=yes | 6069 ac_cv_lib_Xbsd_main=yes |
6062 else | 6070 else |
6063 echo "$as_me: failed program was:" >&5 | 6071 echo "$as_me: failed program was:" >&5 |
6064 cat conftest.$ac_ext >&5 | 6072 cat conftest.$ac_ext >&5 |
6065 ac_cv_lib_Xbsd_main=no | 6073 ac_cv_lib_Xbsd_main=no |
6066 fi | 6074 fi |
6067 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 6075 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6068 LIBS=$ac_check_lib_save_LIBS | 6076 LIBS=$ac_check_lib_save_LIBS |
6069 fi | 6077 fi |
6070 echo "$as_me:6070: result: $ac_cv_lib_Xbsd_main" >&5 | 6078 echo "$as_me:6078: result: $ac_cv_lib_Xbsd_main" >&5 |
6071 echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6 | 6079 echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6 |
6072 if test $ac_cv_lib_Xbsd_main = yes; then | 6080 if test $ac_cv_lib_Xbsd_main = yes; then |
6073 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd" | 6081 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd" |
6074 fi | 6082 fi |
6075 | 6083 |
6076 echo "$as_me:6076: checking for cma_open in -lpthreads" >&5 | 6084 echo "$as_me:6084: checking for cma_open in -lpthreads" >&5 |
6077 echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6 | 6085 echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6 |
6078 if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then | 6086 if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then |
6079 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6087 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6080 else | 6088 else |
6081 ac_check_lib_save_LIBS=$LIBS | 6089 ac_check_lib_save_LIBS=$LIBS |
6082 LIBS="-lpthreads $LIBS" | 6090 LIBS="-lpthreads $LIBS" |
6083 cat >conftest.$ac_ext <<_ACEOF | 6091 cat >conftest.$ac_ext <<_ACEOF |
6084 #line 6084 "configure" | 6092 #line 6092 "configure" |
6085 #include "confdefs.h" | 6093 #include "confdefs.h" |
6086 | 6094 |
6087 /* Override any gcc2 internal prototype to avoid an error. */ | 6095 /* Override any gcc2 internal prototype to avoid an error. */ |
6088 #ifdef __cplusplus | 6096 #ifdef __cplusplus |
6089 extern "C" | 6097 extern "C" |
6098 ; | 6106 ; |
6099 return 0; | 6107 return 0; |
6100 } | 6108 } |
6101 _ACEOF | 6109 _ACEOF |
6102 rm -f conftest.$ac_objext conftest$ac_exeext | 6110 rm -f conftest.$ac_objext conftest$ac_exeext |
6103 if { (eval echo "$as_me:6103: \"$ac_link\"") >&5 | 6111 if { (eval echo "$as_me:6111: \"$ac_link\"") >&5 |
6104 (eval $ac_link) 2>&5 | 6112 (eval $ac_link) 2>&5 |
6105 ac_status=$? | 6113 ac_status=$? |
6106 echo "$as_me:6106: \$? = $ac_status" >&5 | 6114 echo "$as_me:6114: \$? = $ac_status" >&5 |
6107 (exit $ac_status); } && | 6115 (exit $ac_status); } && |
6108 { ac_try='test -s conftest$ac_exeext' | 6116 { ac_try='test -s conftest$ac_exeext' |
6109 { (eval echo "$as_me:6109: \"$ac_try\"") >&5 | 6117 { (eval echo "$as_me:6117: \"$ac_try\"") >&5 |
6110 (eval $ac_try) 2>&5 | 6118 (eval $ac_try) 2>&5 |
6111 ac_status=$? | 6119 ac_status=$? |
6112 echo "$as_me:6112: \$? = $ac_status" >&5 | 6120 echo "$as_me:6120: \$? = $ac_status" >&5 |
6113 (exit $ac_status); }; }; then | 6121 (exit $ac_status); }; }; then |
6114 ac_cv_lib_pthreads_cma_open=yes | 6122 ac_cv_lib_pthreads_cma_open=yes |
6115 else | 6123 else |
6116 echo "$as_me: failed program was:" >&5 | 6124 echo "$as_me: failed program was:" >&5 |
6117 cat conftest.$ac_ext >&5 | 6125 cat conftest.$ac_ext >&5 |
6118 ac_cv_lib_pthreads_cma_open=no | 6126 ac_cv_lib_pthreads_cma_open=no |
6119 fi | 6127 fi |
6120 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 6128 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6121 LIBS=$ac_check_lib_save_LIBS | 6129 LIBS=$ac_check_lib_save_LIBS |
6122 fi | 6130 fi |
6123 echo "$as_me:6123: result: $ac_cv_lib_pthreads_cma_open" >&5 | 6131 echo "$as_me:6131: result: $ac_cv_lib_pthreads_cma_open" >&5 |
6124 echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6 | 6132 echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6 |
6125 if test $ac_cv_lib_pthreads_cma_open = yes; then | 6133 if test $ac_cv_lib_pthreads_cma_open = yes; then |
6126 cat >>confdefs.h <<EOF | 6134 cat >>confdefs.h <<EOF |
6127 #define HAVE_LIBPTHREADS 1 | 6135 #define HAVE_LIBPTHREADS 1 |
6128 EOF | 6136 EOF |
6129 | 6137 |
6130 LIBS="-lpthreads $LIBS" | 6138 LIBS="-lpthreads $LIBS" |
6131 | 6139 |
6132 fi | 6140 fi |
6133 | 6141 |
6134 echo "$as_me:6134: checking for XFree86 in /usr/X386" >&5 | 6142 echo "$as_me:6142: checking for XFree86 in /usr/X386" >&5 |
6135 echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6 | 6143 echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6 |
6136 if test -d /usr/X386/include; then | 6144 if test -d /usr/X386/include; then |
6137 HAVE_XFREE386=yes | 6145 HAVE_XFREE386=yes |
6138 : ${C_SWITCH_X_SITE="-I/usr/X386/include"} | 6146 : ${C_SWITCH_X_SITE="-I/usr/X386/include"} |
6139 else | 6147 else |
6140 HAVE_XFREE386=no | 6148 HAVE_XFREE386=no |
6141 fi | 6149 fi |
6142 echo "$as_me:6142: result: $HAVE_XFREE386" >&5 | 6150 echo "$as_me:6150: result: $HAVE_XFREE386" >&5 |
6143 echo "${ECHO_T}$HAVE_XFREE386" >&6 | 6151 echo "${ECHO_T}$HAVE_XFREE386" >&6 |
6144 | 6152 |
6145 # Change CFLAGS temporarily so that C_SWITCH_X_SITE gets used | 6153 # Change CFLAGS temporarily so that C_SWITCH_X_SITE gets used |
6146 # for the tests that follow. We set it back to REAL_CFLAGS later on. | 6154 # for the tests that follow. We set it back to REAL_CFLAGS later on. |
6147 | 6155 |
6162 LD_RUN_PATH=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH | 6170 LD_RUN_PATH=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH |
6163 export LD_RUN_PATH | 6171 export LD_RUN_PATH |
6164 fi | 6172 fi |
6165 | 6173 |
6166 if test "${opsys}" = "gnu-linux"; then | 6174 if test "${opsys}" = "gnu-linux"; then |
6167 echo "$as_me:6167: checking whether X on GNU/Linux needs -b to link" >&5 | 6175 echo "$as_me:6175: checking whether X on GNU/Linux needs -b to link" >&5 |
6168 echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6 | 6176 echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6 |
6169 cat >conftest.$ac_ext <<_ACEOF | 6177 cat >conftest.$ac_ext <<_ACEOF |
6170 #line 6170 "configure" | 6178 #line 6178 "configure" |
6171 #include "confdefs.h" | 6179 #include "confdefs.h" |
6172 | 6180 |
6173 int | 6181 int |
6174 main () | 6182 main () |
6175 { | 6183 { |
6177 ; | 6185 ; |
6178 return 0; | 6186 return 0; |
6179 } | 6187 } |
6180 _ACEOF | 6188 _ACEOF |
6181 rm -f conftest.$ac_objext conftest$ac_exeext | 6189 rm -f conftest.$ac_objext conftest$ac_exeext |
6182 if { (eval echo "$as_me:6182: \"$ac_link\"") >&5 | 6190 if { (eval echo "$as_me:6190: \"$ac_link\"") >&5 |
6183 (eval $ac_link) 2>&5 | 6191 (eval $ac_link) 2>&5 |
6184 ac_status=$? | 6192 ac_status=$? |
6185 echo "$as_me:6185: \$? = $ac_status" >&5 | 6193 echo "$as_me:6193: \$? = $ac_status" >&5 |
6186 (exit $ac_status); } && | 6194 (exit $ac_status); } && |
6187 { ac_try='test -s conftest$ac_exeext' | 6195 { ac_try='test -s conftest$ac_exeext' |
6188 { (eval echo "$as_me:6188: \"$ac_try\"") >&5 | 6196 { (eval echo "$as_me:6196: \"$ac_try\"") >&5 |
6189 (eval $ac_try) 2>&5 | 6197 (eval $ac_try) 2>&5 |
6190 ac_status=$? | 6198 ac_status=$? |
6191 echo "$as_me:6191: \$? = $ac_status" >&5 | 6199 echo "$as_me:6199: \$? = $ac_status" >&5 |
6192 (exit $ac_status); }; }; then | 6200 (exit $ac_status); }; }; then |
6193 xlinux_first_failure=no | 6201 xlinux_first_failure=no |
6194 else | 6202 else |
6195 echo "$as_me: failed program was:" >&5 | 6203 echo "$as_me: failed program was:" >&5 |
6196 cat conftest.$ac_ext >&5 | 6204 cat conftest.$ac_ext >&5 |
6205 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -b i486-linuxaout" | 6213 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -b i486-linuxaout" |
6206 C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout" | 6214 C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout" |
6207 CPPFLAGS="$CPPFLAGS -b i486-linuxaout" | 6215 CPPFLAGS="$CPPFLAGS -b i486-linuxaout" |
6208 LIBS="$LIBS -b i486-linuxaout" | 6216 LIBS="$LIBS -b i486-linuxaout" |
6209 cat >conftest.$ac_ext <<_ACEOF | 6217 cat >conftest.$ac_ext <<_ACEOF |
6210 #line 6210 "configure" | 6218 #line 6218 "configure" |
6211 #include "confdefs.h" | 6219 #include "confdefs.h" |
6212 | 6220 |
6213 int | 6221 int |
6214 main () | 6222 main () |
6215 { | 6223 { |
6217 ; | 6225 ; |
6218 return 0; | 6226 return 0; |
6219 } | 6227 } |
6220 _ACEOF | 6228 _ACEOF |
6221 rm -f conftest.$ac_objext conftest$ac_exeext | 6229 rm -f conftest.$ac_objext conftest$ac_exeext |
6222 if { (eval echo "$as_me:6222: \"$ac_link\"") >&5 | 6230 if { (eval echo "$as_me:6230: \"$ac_link\"") >&5 |
6223 (eval $ac_link) 2>&5 | 6231 (eval $ac_link) 2>&5 |
6224 ac_status=$? | 6232 ac_status=$? |
6225 echo "$as_me:6225: \$? = $ac_status" >&5 | 6233 echo "$as_me:6233: \$? = $ac_status" >&5 |
6226 (exit $ac_status); } && | 6234 (exit $ac_status); } && |
6227 { ac_try='test -s conftest$ac_exeext' | 6235 { ac_try='test -s conftest$ac_exeext' |
6228 { (eval echo "$as_me:6228: \"$ac_try\"") >&5 | 6236 { (eval echo "$as_me:6236: \"$ac_try\"") >&5 |
6229 (eval $ac_try) 2>&5 | 6237 (eval $ac_try) 2>&5 |
6230 ac_status=$? | 6238 ac_status=$? |
6231 echo "$as_me:6231: \$? = $ac_status" >&5 | 6239 echo "$as_me:6239: \$? = $ac_status" >&5 |
6232 (exit $ac_status); }; }; then | 6240 (exit $ac_status); }; }; then |
6233 xlinux_second_failure=no | 6241 xlinux_second_failure=no |
6234 else | 6242 else |
6235 echo "$as_me: failed program was:" >&5 | 6243 echo "$as_me: failed program was:" >&5 |
6236 cat conftest.$ac_ext >&5 | 6244 cat conftest.$ac_ext >&5 |
6242 # So take it out. This plays safe. | 6250 # So take it out. This plays safe. |
6243 LD_SWITCH_X_SITE="$OLD_LD_SWITCH_X_SITE" | 6251 LD_SWITCH_X_SITE="$OLD_LD_SWITCH_X_SITE" |
6244 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE" | 6252 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE" |
6245 CPPFLAGS="$OLD_CPPFLAGS" | 6253 CPPFLAGS="$OLD_CPPFLAGS" |
6246 LIBS="$OLD_LIBS" | 6254 LIBS="$OLD_LIBS" |
6247 echo "$as_me:6247: result: no" >&5 | 6255 echo "$as_me:6255: result: no" >&5 |
6248 echo "${ECHO_T}no" >&6 | 6256 echo "${ECHO_T}no" >&6 |
6249 else | 6257 else |
6250 echo "$as_me:6250: result: yes" >&5 | 6258 echo "$as_me:6258: result: yes" >&5 |
6251 echo "${ECHO_T}yes" >&6 | 6259 echo "${ECHO_T}yes" >&6 |
6252 fi | 6260 fi |
6253 else | 6261 else |
6254 echo "$as_me:6254: result: no" >&5 | 6262 echo "$as_me:6262: result: no" >&5 |
6255 echo "${ECHO_T}no" >&6 | 6263 echo "${ECHO_T}no" >&6 |
6256 fi | 6264 fi |
6257 fi | 6265 fi |
6258 | 6266 |
6259 # Reportedly, some broken Solaris systems have XKBlib.h but are missing | 6267 # Reportedly, some broken Solaris systems have XKBlib.h but are missing |
6260 # header files included from there. | 6268 # header files included from there. |
6261 echo "$as_me:6261: checking for Xkb" >&5 | 6269 echo "$as_me:6269: checking for Xkb" >&5 |
6262 echo $ECHO_N "checking for Xkb... $ECHO_C" >&6 | 6270 echo $ECHO_N "checking for Xkb... $ECHO_C" >&6 |
6263 cat >conftest.$ac_ext <<_ACEOF | 6271 cat >conftest.$ac_ext <<_ACEOF |
6264 #line 6264 "configure" | 6272 #line 6272 "configure" |
6265 #include "confdefs.h" | 6273 #include "confdefs.h" |
6266 #include <X11/Xlib.h> | 6274 #include <X11/Xlib.h> |
6267 #include <X11/XKBlib.h> | 6275 #include <X11/XKBlib.h> |
6268 int | 6276 int |
6269 main () | 6277 main () |
6272 ; | 6280 ; |
6273 return 0; | 6281 return 0; |
6274 } | 6282 } |
6275 _ACEOF | 6283 _ACEOF |
6276 rm -f conftest.$ac_objext conftest$ac_exeext | 6284 rm -f conftest.$ac_objext conftest$ac_exeext |
6277 if { (eval echo "$as_me:6277: \"$ac_link\"") >&5 | 6285 if { (eval echo "$as_me:6285: \"$ac_link\"") >&5 |
6278 (eval $ac_link) 2>&5 | 6286 (eval $ac_link) 2>&5 |
6279 ac_status=$? | 6287 ac_status=$? |
6280 echo "$as_me:6280: \$? = $ac_status" >&5 | 6288 echo "$as_me:6288: \$? = $ac_status" >&5 |
6281 (exit $ac_status); } && | 6289 (exit $ac_status); } && |
6282 { ac_try='test -s conftest$ac_exeext' | 6290 { ac_try='test -s conftest$ac_exeext' |
6283 { (eval echo "$as_me:6283: \"$ac_try\"") >&5 | 6291 { (eval echo "$as_me:6291: \"$ac_try\"") >&5 |
6284 (eval $ac_try) 2>&5 | 6292 (eval $ac_try) 2>&5 |
6285 ac_status=$? | 6293 ac_status=$? |
6286 echo "$as_me:6286: \$? = $ac_status" >&5 | 6294 echo "$as_me:6294: \$? = $ac_status" >&5 |
6287 (exit $ac_status); }; }; then | 6295 (exit $ac_status); }; }; then |
6288 emacs_xkb=yes | 6296 emacs_xkb=yes |
6289 else | 6297 else |
6290 echo "$as_me: failed program was:" >&5 | 6298 echo "$as_me: failed program was:" >&5 |
6291 cat conftest.$ac_ext >&5 | 6299 cat conftest.$ac_ext >&5 |
6292 emacs_xkb=no | 6300 emacs_xkb=no |
6293 fi | 6301 fi |
6294 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 6302 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6295 echo "$as_me:6295: result: $emacs_xkb" >&5 | 6303 echo "$as_me:6303: result: $emacs_xkb" >&5 |
6296 echo "${ECHO_T}$emacs_xkb" >&6 | 6304 echo "${ECHO_T}$emacs_xkb" >&6 |
6297 if test $emacs_xkb = yes; then | 6305 if test $emacs_xkb = yes; then |
6298 cat >>confdefs.h <<\EOF | 6306 cat >>confdefs.h <<\EOF |
6299 #define HAVE_XKBGETKEYBOARD 1 | 6307 #define HAVE_XKBGETKEYBOARD 1 |
6300 EOF | 6308 EOF |
6303 | 6311 |
6304 for ac_func in XrmSetDatabase XScreenResourceString \ | 6312 for ac_func in XrmSetDatabase XScreenResourceString \ |
6305 XScreenNumberOfScreen XSetWMProtocols | 6313 XScreenNumberOfScreen XSetWMProtocols |
6306 do | 6314 do |
6307 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 6315 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
6308 echo "$as_me:6308: checking for $ac_func" >&5 | 6316 echo "$as_me:6316: checking for $ac_func" >&5 |
6309 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 6317 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
6310 if eval "test \"\${$as_ac_var+set}\" = set"; then | 6318 if eval "test \"\${$as_ac_var+set}\" = set"; then |
6311 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6319 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6312 else | 6320 else |
6313 cat >conftest.$ac_ext <<_ACEOF | 6321 cat >conftest.$ac_ext <<_ACEOF |
6314 #line 6314 "configure" | 6322 #line 6322 "configure" |
6315 #include "confdefs.h" | 6323 #include "confdefs.h" |
6316 /* System header to define __stub macros and hopefully few prototypes, | 6324 /* System header to define __stub macros and hopefully few prototypes, |
6317 which can conflict with char $ac_func (); below. */ | 6325 which can conflict with char $ac_func (); below. */ |
6318 #include <assert.h> | 6326 #include <assert.h> |
6319 /* Override any gcc2 internal prototype to avoid an error. */ | 6327 /* Override any gcc2 internal prototype to avoid an error. */ |
6340 ; | 6348 ; |
6341 return 0; | 6349 return 0; |
6342 } | 6350 } |
6343 _ACEOF | 6351 _ACEOF |
6344 rm -f conftest.$ac_objext conftest$ac_exeext | 6352 rm -f conftest.$ac_objext conftest$ac_exeext |
6345 if { (eval echo "$as_me:6345: \"$ac_link\"") >&5 | 6353 if { (eval echo "$as_me:6353: \"$ac_link\"") >&5 |
6346 (eval $ac_link) 2>&5 | 6354 (eval $ac_link) 2>&5 |
6347 ac_status=$? | 6355 ac_status=$? |
6348 echo "$as_me:6348: \$? = $ac_status" >&5 | 6356 echo "$as_me:6356: \$? = $ac_status" >&5 |
6349 (exit $ac_status); } && | 6357 (exit $ac_status); } && |
6350 { ac_try='test -s conftest$ac_exeext' | 6358 { ac_try='test -s conftest$ac_exeext' |
6351 { (eval echo "$as_me:6351: \"$ac_try\"") >&5 | 6359 { (eval echo "$as_me:6359: \"$ac_try\"") >&5 |
6352 (eval $ac_try) 2>&5 | 6360 (eval $ac_try) 2>&5 |
6353 ac_status=$? | 6361 ac_status=$? |
6354 echo "$as_me:6354: \$? = $ac_status" >&5 | 6362 echo "$as_me:6362: \$? = $ac_status" >&5 |
6355 (exit $ac_status); }; }; then | 6363 (exit $ac_status); }; }; then |
6356 eval "$as_ac_var=yes" | 6364 eval "$as_ac_var=yes" |
6357 else | 6365 else |
6358 echo "$as_me: failed program was:" >&5 | 6366 echo "$as_me: failed program was:" >&5 |
6359 cat conftest.$ac_ext >&5 | 6367 cat conftest.$ac_ext >&5 |
6360 eval "$as_ac_var=no" | 6368 eval "$as_ac_var=no" |
6361 fi | 6369 fi |
6362 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 6370 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6363 fi | 6371 fi |
6364 echo "$as_me:6364: result: `eval echo '${'$as_ac_var'}'`" >&5 | 6372 echo "$as_me:6372: result: `eval echo '${'$as_ac_var'}'`" >&5 |
6365 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 6373 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
6366 if test `eval echo '${'$as_ac_var'}'` = yes; then | 6374 if test `eval echo '${'$as_ac_var'}'` = yes; then |
6367 cat >>confdefs.h <<EOF | 6375 cat >>confdefs.h <<EOF |
6368 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 6376 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
6369 EOF | 6377 EOF |
6372 done | 6380 done |
6373 | 6381 |
6374 fi | 6382 fi |
6375 | 6383 |
6376 if test "${window_system}" = "x11"; then | 6384 if test "${window_system}" = "x11"; then |
6377 echo "$as_me:6377: checking X11 version 6" >&5 | 6385 echo "$as_me:6385: checking X11 version 6" >&5 |
6378 echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6 | 6386 echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6 |
6379 if test "${emacs_cv_x11_version_6+set}" = set; then | 6387 if test "${emacs_cv_x11_version_6+set}" = set; then |
6380 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6388 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6381 else | 6389 else |
6382 cat >conftest.$ac_ext <<_ACEOF | 6390 cat >conftest.$ac_ext <<_ACEOF |
6383 #line 6383 "configure" | 6391 #line 6391 "configure" |
6384 #include "confdefs.h" | 6392 #include "confdefs.h" |
6385 #include <X11/Xlib.h> | 6393 #include <X11/Xlib.h> |
6386 int | 6394 int |
6387 main () | 6395 main () |
6388 { | 6396 { |
6393 ; | 6401 ; |
6394 return 0; | 6402 return 0; |
6395 } | 6403 } |
6396 _ACEOF | 6404 _ACEOF |
6397 rm -f conftest.$ac_objext conftest$ac_exeext | 6405 rm -f conftest.$ac_objext conftest$ac_exeext |
6398 if { (eval echo "$as_me:6398: \"$ac_link\"") >&5 | 6406 if { (eval echo "$as_me:6406: \"$ac_link\"") >&5 |
6399 (eval $ac_link) 2>&5 | 6407 (eval $ac_link) 2>&5 |
6400 ac_status=$? | 6408 ac_status=$? |
6401 echo "$as_me:6401: \$? = $ac_status" >&5 | 6409 echo "$as_me:6409: \$? = $ac_status" >&5 |
6402 (exit $ac_status); } && | 6410 (exit $ac_status); } && |
6403 { ac_try='test -s conftest$ac_exeext' | 6411 { ac_try='test -s conftest$ac_exeext' |
6404 { (eval echo "$as_me:6404: \"$ac_try\"") >&5 | 6412 { (eval echo "$as_me:6412: \"$ac_try\"") >&5 |
6405 (eval $ac_try) 2>&5 | 6413 (eval $ac_try) 2>&5 |
6406 ac_status=$? | 6414 ac_status=$? |
6407 echo "$as_me:6407: \$? = $ac_status" >&5 | 6415 echo "$as_me:6415: \$? = $ac_status" >&5 |
6408 (exit $ac_status); }; }; then | 6416 (exit $ac_status); }; }; then |
6409 emacs_cv_x11_version_6=yes | 6417 emacs_cv_x11_version_6=yes |
6410 else | 6418 else |
6411 echo "$as_me: failed program was:" >&5 | 6419 echo "$as_me: failed program was:" >&5 |
6412 cat conftest.$ac_ext >&5 | 6420 cat conftest.$ac_ext >&5 |
6414 fi | 6422 fi |
6415 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 6423 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6416 fi | 6424 fi |
6417 | 6425 |
6418 if test $emacs_cv_x11_version_6 = yes; then | 6426 if test $emacs_cv_x11_version_6 = yes; then |
6419 echo "$as_me:6419: result: 6 or newer" >&5 | 6427 echo "$as_me:6427: result: 6 or newer" >&5 |
6420 echo "${ECHO_T}6 or newer" >&6 | 6428 echo "${ECHO_T}6 or newer" >&6 |
6421 cat >>confdefs.h <<\EOF | 6429 cat >>confdefs.h <<\EOF |
6422 #define HAVE_X11R6 1 | 6430 #define HAVE_X11R6 1 |
6423 EOF | 6431 EOF |
6424 | 6432 |
6425 else | 6433 else |
6426 echo "$as_me:6426: result: before 6" >&5 | 6434 echo "$as_me:6434: result: before 6" >&5 |
6427 echo "${ECHO_T}before 6" >&6 | 6435 echo "${ECHO_T}before 6" >&6 |
6428 fi | 6436 fi |
6429 fi | 6437 fi |
6430 | 6438 |
6431 if test "${window_system}" = "x11"; then | 6439 if test "${window_system}" = "x11"; then |
6432 echo "$as_me:6432: checking X11 version 5" >&5 | 6440 echo "$as_me:6440: checking X11 version 5" >&5 |
6433 echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6 | 6441 echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6 |
6434 if test "${emacs_cv_x11_version_5+set}" = set; then | 6442 if test "${emacs_cv_x11_version_5+set}" = set; then |
6435 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6443 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6436 else | 6444 else |
6437 cat >conftest.$ac_ext <<_ACEOF | 6445 cat >conftest.$ac_ext <<_ACEOF |
6438 #line 6438 "configure" | 6446 #line 6446 "configure" |
6439 #include "confdefs.h" | 6447 #include "confdefs.h" |
6440 #include <X11/Xlib.h> | 6448 #include <X11/Xlib.h> |
6441 int | 6449 int |
6442 main () | 6450 main () |
6443 { | 6451 { |
6448 ; | 6456 ; |
6449 return 0; | 6457 return 0; |
6450 } | 6458 } |
6451 _ACEOF | 6459 _ACEOF |
6452 rm -f conftest.$ac_objext conftest$ac_exeext | 6460 rm -f conftest.$ac_objext conftest$ac_exeext |
6453 if { (eval echo "$as_me:6453: \"$ac_link\"") >&5 | 6461 if { (eval echo "$as_me:6461: \"$ac_link\"") >&5 |
6454 (eval $ac_link) 2>&5 | 6462 (eval $ac_link) 2>&5 |
6455 ac_status=$? | 6463 ac_status=$? |
6456 echo "$as_me:6456: \$? = $ac_status" >&5 | 6464 echo "$as_me:6464: \$? = $ac_status" >&5 |
6457 (exit $ac_status); } && | 6465 (exit $ac_status); } && |
6458 { ac_try='test -s conftest$ac_exeext' | 6466 { ac_try='test -s conftest$ac_exeext' |
6459 { (eval echo "$as_me:6459: \"$ac_try\"") >&5 | 6467 { (eval echo "$as_me:6467: \"$ac_try\"") >&5 |
6460 (eval $ac_try) 2>&5 | 6468 (eval $ac_try) 2>&5 |
6461 ac_status=$? | 6469 ac_status=$? |
6462 echo "$as_me:6462: \$? = $ac_status" >&5 | 6470 echo "$as_me:6470: \$? = $ac_status" >&5 |
6463 (exit $ac_status); }; }; then | 6471 (exit $ac_status); }; }; then |
6464 emacs_cv_x11_version_5=yes | 6472 emacs_cv_x11_version_5=yes |
6465 else | 6473 else |
6466 echo "$as_me: failed program was:" >&5 | 6474 echo "$as_me: failed program was:" >&5 |
6467 cat conftest.$ac_ext >&5 | 6475 cat conftest.$ac_ext >&5 |
6469 fi | 6477 fi |
6470 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 6478 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6471 fi | 6479 fi |
6472 | 6480 |
6473 if test $emacs_cv_x11_version_5 = yes; then | 6481 if test $emacs_cv_x11_version_5 = yes; then |
6474 echo "$as_me:6474: result: 5 or newer" >&5 | 6482 echo "$as_me:6482: result: 5 or newer" >&5 |
6475 echo "${ECHO_T}5 or newer" >&6 | 6483 echo "${ECHO_T}5 or newer" >&6 |
6476 HAVE_X11R5=yes | 6484 HAVE_X11R5=yes |
6477 cat >>confdefs.h <<\EOF | 6485 cat >>confdefs.h <<\EOF |
6478 #define HAVE_X11R5 1 | 6486 #define HAVE_X11R5 1 |
6479 EOF | 6487 EOF |
6480 | 6488 |
6481 else | 6489 else |
6482 HAVE_X11R5=no | 6490 HAVE_X11R5=no |
6483 echo "$as_me:6483: result: before 5" >&5 | 6491 echo "$as_me:6491: result: before 5" >&5 |
6484 echo "${ECHO_T}before 5" >&6 | 6492 echo "${ECHO_T}before 5" >&6 |
6485 fi | 6493 fi |
6486 fi | 6494 fi |
6487 | 6495 |
6488 if test x"${USE_X_TOOLKIT}" = xmaybe; then | 6496 if test x"${USE_X_TOOLKIT}" = xmaybe; then |
6489 if test x"${HAVE_X11R5}" = xyes; then | 6497 if test x"${HAVE_X11R5}" = xyes; then |
6490 echo "$as_me:6490: checking X11 version 5 with Xaw" >&5 | 6498 echo "$as_me:6498: checking X11 version 5 with Xaw" >&5 |
6491 echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6 | 6499 echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6 |
6492 if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then | 6500 if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then |
6493 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6501 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6494 else | 6502 else |
6495 cat >conftest.$ac_ext <<_ACEOF | 6503 cat >conftest.$ac_ext <<_ACEOF |
6496 #line 6496 "configure" | 6504 #line 6504 "configure" |
6497 #include "confdefs.h" | 6505 #include "confdefs.h" |
6498 | 6506 |
6499 #include <X11/Intrinsic.h> | 6507 #include <X11/Intrinsic.h> |
6500 #include <X11/Xaw/Simple.h> | 6508 #include <X11/Xaw/Simple.h> |
6501 int | 6509 int |
6505 ; | 6513 ; |
6506 return 0; | 6514 return 0; |
6507 } | 6515 } |
6508 _ACEOF | 6516 _ACEOF |
6509 rm -f conftest.$ac_objext conftest$ac_exeext | 6517 rm -f conftest.$ac_objext conftest$ac_exeext |
6510 if { (eval echo "$as_me:6510: \"$ac_link\"") >&5 | 6518 if { (eval echo "$as_me:6518: \"$ac_link\"") >&5 |
6511 (eval $ac_link) 2>&5 | 6519 (eval $ac_link) 2>&5 |
6512 ac_status=$? | 6520 ac_status=$? |
6513 echo "$as_me:6513: \$? = $ac_status" >&5 | 6521 echo "$as_me:6521: \$? = $ac_status" >&5 |
6514 (exit $ac_status); } && | 6522 (exit $ac_status); } && |
6515 { ac_try='test -s conftest$ac_exeext' | 6523 { ac_try='test -s conftest$ac_exeext' |
6516 { (eval echo "$as_me:6516: \"$ac_try\"") >&5 | 6524 { (eval echo "$as_me:6524: \"$ac_try\"") >&5 |
6517 (eval $ac_try) 2>&5 | 6525 (eval $ac_try) 2>&5 |
6518 ac_status=$? | 6526 ac_status=$? |
6519 echo "$as_me:6519: \$? = $ac_status" >&5 | 6527 echo "$as_me:6527: \$? = $ac_status" >&5 |
6520 (exit $ac_status); }; }; then | 6528 (exit $ac_status); }; }; then |
6521 emacs_cv_x11_version_5_with_xaw=yes | 6529 emacs_cv_x11_version_5_with_xaw=yes |
6522 else | 6530 else |
6523 echo "$as_me: failed program was:" >&5 | 6531 echo "$as_me: failed program was:" >&5 |
6524 cat conftest.$ac_ext >&5 | 6532 cat conftest.$ac_ext >&5 |
6526 fi | 6534 fi |
6527 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 6535 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6528 fi | 6536 fi |
6529 | 6537 |
6530 if test $emacs_cv_x11_version_5_with_xaw = yes; then | 6538 if test $emacs_cv_x11_version_5_with_xaw = yes; then |
6531 echo "$as_me:6531: result: 5 or newer, with Xaw; use toolkit by default" >&5 | 6539 echo "$as_me:6539: result: 5 or newer, with Xaw; use toolkit by default" >&5 |
6532 echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6 | 6540 echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6 |
6533 USE_X_TOOLKIT=LUCID | 6541 USE_X_TOOLKIT=LUCID |
6534 else | 6542 else |
6535 echo "$as_me:6535: result: before 5 or no Xaw; do not use toolkit by default" >&5 | 6543 echo "$as_me:6543: result: before 5 or no Xaw; do not use toolkit by default" >&5 |
6536 echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6 | 6544 echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6 |
6537 USE_X_TOOLKIT=none | 6545 USE_X_TOOLKIT=none |
6538 fi | 6546 fi |
6539 else | 6547 else |
6540 USE_X_TOOLKIT=none | 6548 USE_X_TOOLKIT=none |
6542 fi | 6550 fi |
6543 | 6551 |
6544 X_TOOLKIT_TYPE=$USE_X_TOOLKIT | 6552 X_TOOLKIT_TYPE=$USE_X_TOOLKIT |
6545 | 6553 |
6546 if test "${USE_X_TOOLKIT}" != "none"; then | 6554 if test "${USE_X_TOOLKIT}" != "none"; then |
6547 echo "$as_me:6547: checking X11 toolkit version" >&5 | 6555 echo "$as_me:6555: checking X11 toolkit version" >&5 |
6548 echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6 | 6556 echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6 |
6549 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then | 6557 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then |
6550 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6558 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6551 else | 6559 else |
6552 cat >conftest.$ac_ext <<_ACEOF | 6560 cat >conftest.$ac_ext <<_ACEOF |
6553 #line 6553 "configure" | 6561 #line 6561 "configure" |
6554 #include "confdefs.h" | 6562 #include "confdefs.h" |
6555 #include <X11/Intrinsic.h> | 6563 #include <X11/Intrinsic.h> |
6556 int | 6564 int |
6557 main () | 6565 main () |
6558 { | 6566 { |
6563 ; | 6571 ; |
6564 return 0; | 6572 return 0; |
6565 } | 6573 } |
6566 _ACEOF | 6574 _ACEOF |
6567 rm -f conftest.$ac_objext conftest$ac_exeext | 6575 rm -f conftest.$ac_objext conftest$ac_exeext |
6568 if { (eval echo "$as_me:6568: \"$ac_link\"") >&5 | 6576 if { (eval echo "$as_me:6576: \"$ac_link\"") >&5 |
6569 (eval $ac_link) 2>&5 | 6577 (eval $ac_link) 2>&5 |
6570 ac_status=$? | 6578 ac_status=$? |
6571 echo "$as_me:6571: \$? = $ac_status" >&5 | 6579 echo "$as_me:6579: \$? = $ac_status" >&5 |
6572 (exit $ac_status); } && | 6580 (exit $ac_status); } && |
6573 { ac_try='test -s conftest$ac_exeext' | 6581 { ac_try='test -s conftest$ac_exeext' |
6574 { (eval echo "$as_me:6574: \"$ac_try\"") >&5 | 6582 { (eval echo "$as_me:6582: \"$ac_try\"") >&5 |
6575 (eval $ac_try) 2>&5 | 6583 (eval $ac_try) 2>&5 |
6576 ac_status=$? | 6584 ac_status=$? |
6577 echo "$as_me:6577: \$? = $ac_status" >&5 | 6585 echo "$as_me:6585: \$? = $ac_status" >&5 |
6578 (exit $ac_status); }; }; then | 6586 (exit $ac_status); }; }; then |
6579 emacs_cv_x11_toolkit_version_6=yes | 6587 emacs_cv_x11_toolkit_version_6=yes |
6580 else | 6588 else |
6581 echo "$as_me: failed program was:" >&5 | 6589 echo "$as_me: failed program was:" >&5 |
6582 cat conftest.$ac_ext >&5 | 6590 cat conftest.$ac_ext >&5 |
6585 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 6593 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6586 fi | 6594 fi |
6587 | 6595 |
6588 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6 | 6596 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6 |
6589 if test $emacs_cv_x11_toolkit_version_6 = yes; then | 6597 if test $emacs_cv_x11_toolkit_version_6 = yes; then |
6590 echo "$as_me:6590: result: 6 or newer" >&5 | 6598 echo "$as_me:6598: result: 6 or newer" >&5 |
6591 echo "${ECHO_T}6 or newer" >&6 | 6599 echo "${ECHO_T}6 or newer" >&6 |
6592 cat >>confdefs.h <<\EOF | 6600 cat >>confdefs.h <<\EOF |
6593 #define HAVE_X11XTR6 1 | 6601 #define HAVE_X11XTR6 1 |
6594 EOF | 6602 EOF |
6595 | 6603 |
6596 else | 6604 else |
6597 echo "$as_me:6597: result: before 6" >&5 | 6605 echo "$as_me:6605: result: before 6" >&5 |
6598 echo "${ECHO_T}before 6" >&6 | 6606 echo "${ECHO_T}before 6" >&6 |
6599 fi | 6607 fi |
6600 | 6608 |
6601 OLDLIBS="$LIBS" | 6609 OLDLIBS="$LIBS" |
6602 if test x$HAVE_X11XTR6 = xyes; then | 6610 if test x$HAVE_X11XTR6 = xyes; then |
6603 LIBS="-lXt -lSM -lICE $LIBS" | 6611 LIBS="-lXt -lSM -lICE $LIBS" |
6604 else | 6612 else |
6605 LIBS="-lXt $LIBS" | 6613 LIBS="-lXt $LIBS" |
6606 fi | 6614 fi |
6607 | 6615 |
6608 echo "$as_me:6608: checking for XmuConvertStandardSelection in -lXmu" >&5 | 6616 echo "$as_me:6616: checking for XmuConvertStandardSelection in -lXmu" >&5 |
6609 echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6 | 6617 echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6 |
6610 if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then | 6618 if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then |
6611 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6619 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6612 else | 6620 else |
6613 ac_check_lib_save_LIBS=$LIBS | 6621 ac_check_lib_save_LIBS=$LIBS |
6614 LIBS="-lXmu $LIBS" | 6622 LIBS="-lXmu $LIBS" |
6615 cat >conftest.$ac_ext <<_ACEOF | 6623 cat >conftest.$ac_ext <<_ACEOF |
6616 #line 6616 "configure" | 6624 #line 6624 "configure" |
6617 #include "confdefs.h" | 6625 #include "confdefs.h" |
6618 | 6626 |
6619 /* Override any gcc2 internal prototype to avoid an error. */ | 6627 /* Override any gcc2 internal prototype to avoid an error. */ |
6620 #ifdef __cplusplus | 6628 #ifdef __cplusplus |
6621 extern "C" | 6629 extern "C" |
6630 ; | 6638 ; |
6631 return 0; | 6639 return 0; |
6632 } | 6640 } |
6633 _ACEOF | 6641 _ACEOF |
6634 rm -f conftest.$ac_objext conftest$ac_exeext | 6642 rm -f conftest.$ac_objext conftest$ac_exeext |
6635 if { (eval echo "$as_me:6635: \"$ac_link\"") >&5 | 6643 if { (eval echo "$as_me:6643: \"$ac_link\"") >&5 |
6636 (eval $ac_link) 2>&5 | 6644 (eval $ac_link) 2>&5 |
6637 ac_status=$? | 6645 ac_status=$? |
6638 echo "$as_me:6638: \$? = $ac_status" >&5 | 6646 echo "$as_me:6646: \$? = $ac_status" >&5 |
6639 (exit $ac_status); } && | 6647 (exit $ac_status); } && |
6640 { ac_try='test -s conftest$ac_exeext' | 6648 { ac_try='test -s conftest$ac_exeext' |
6641 { (eval echo "$as_me:6641: \"$ac_try\"") >&5 | 6649 { (eval echo "$as_me:6649: \"$ac_try\"") >&5 |
6642 (eval $ac_try) 2>&5 | 6650 (eval $ac_try) 2>&5 |
6643 ac_status=$? | 6651 ac_status=$? |
6644 echo "$as_me:6644: \$? = $ac_status" >&5 | 6652 echo "$as_me:6652: \$? = $ac_status" >&5 |
6645 (exit $ac_status); }; }; then | 6653 (exit $ac_status); }; }; then |
6646 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes | 6654 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes |
6647 else | 6655 else |
6648 echo "$as_me: failed program was:" >&5 | 6656 echo "$as_me: failed program was:" >&5 |
6649 cat conftest.$ac_ext >&5 | 6657 cat conftest.$ac_ext >&5 |
6650 ac_cv_lib_Xmu_XmuConvertStandardSelection=no | 6658 ac_cv_lib_Xmu_XmuConvertStandardSelection=no |
6651 fi | 6659 fi |
6652 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 6660 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6653 LIBS=$ac_check_lib_save_LIBS | 6661 LIBS=$ac_check_lib_save_LIBS |
6654 fi | 6662 fi |
6655 echo "$as_me:6655: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5 | 6663 echo "$as_me:6663: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5 |
6656 echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6 | 6664 echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6 |
6657 if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then | 6665 if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then |
6658 cat >>confdefs.h <<EOF | 6666 cat >>confdefs.h <<EOF |
6659 #define HAVE_LIBXMU 1 | 6667 #define HAVE_LIBXMU 1 |
6660 EOF | 6668 EOF |
6668 | 6676 |
6669 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D. | 6677 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D. |
6670 if test "${HAVE_X11}" = "yes"; then | 6678 if test "${HAVE_X11}" = "yes"; then |
6671 if test "${USE_X_TOOLKIT}" != "none"; then | 6679 if test "${USE_X_TOOLKIT}" != "none"; then |
6672 | 6680 |
6673 echo "$as_me:6673: checking for XShapeQueryExtension in -lXext" >&5 | 6681 echo "$as_me:6681: checking for XShapeQueryExtension in -lXext" >&5 |
6674 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6 | 6682 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6 |
6675 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then | 6683 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then |
6676 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6684 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6677 else | 6685 else |
6678 ac_check_lib_save_LIBS=$LIBS | 6686 ac_check_lib_save_LIBS=$LIBS |
6679 LIBS="-lXext $LIBS" | 6687 LIBS="-lXext $LIBS" |
6680 cat >conftest.$ac_ext <<_ACEOF | 6688 cat >conftest.$ac_ext <<_ACEOF |
6681 #line 6681 "configure" | 6689 #line 6689 "configure" |
6682 #include "confdefs.h" | 6690 #include "confdefs.h" |
6683 | 6691 |
6684 /* Override any gcc2 internal prototype to avoid an error. */ | 6692 /* Override any gcc2 internal prototype to avoid an error. */ |
6685 #ifdef __cplusplus | 6693 #ifdef __cplusplus |
6686 extern "C" | 6694 extern "C" |
6695 ; | 6703 ; |
6696 return 0; | 6704 return 0; |
6697 } | 6705 } |
6698 _ACEOF | 6706 _ACEOF |
6699 rm -f conftest.$ac_objext conftest$ac_exeext | 6707 rm -f conftest.$ac_objext conftest$ac_exeext |
6700 if { (eval echo "$as_me:6700: \"$ac_link\"") >&5 | 6708 if { (eval echo "$as_me:6708: \"$ac_link\"") >&5 |
6701 (eval $ac_link) 2>&5 | 6709 (eval $ac_link) 2>&5 |
6702 ac_status=$? | 6710 ac_status=$? |
6703 echo "$as_me:6703: \$? = $ac_status" >&5 | 6711 echo "$as_me:6711: \$? = $ac_status" >&5 |
6704 (exit $ac_status); } && | 6712 (exit $ac_status); } && |
6705 { ac_try='test -s conftest$ac_exeext' | 6713 { ac_try='test -s conftest$ac_exeext' |
6706 { (eval echo "$as_me:6706: \"$ac_try\"") >&5 | 6714 { (eval echo "$as_me:6714: \"$ac_try\"") >&5 |
6707 (eval $ac_try) 2>&5 | 6715 (eval $ac_try) 2>&5 |
6708 ac_status=$? | 6716 ac_status=$? |
6709 echo "$as_me:6709: \$? = $ac_status" >&5 | 6717 echo "$as_me:6717: \$? = $ac_status" >&5 |
6710 (exit $ac_status); }; }; then | 6718 (exit $ac_status); }; }; then |
6711 ac_cv_lib_Xext_XShapeQueryExtension=yes | 6719 ac_cv_lib_Xext_XShapeQueryExtension=yes |
6712 else | 6720 else |
6713 echo "$as_me: failed program was:" >&5 | 6721 echo "$as_me: failed program was:" >&5 |
6714 cat conftest.$ac_ext >&5 | 6722 cat conftest.$ac_ext >&5 |
6715 ac_cv_lib_Xext_XShapeQueryExtension=no | 6723 ac_cv_lib_Xext_XShapeQueryExtension=no |
6716 fi | 6724 fi |
6717 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 6725 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6718 LIBS=$ac_check_lib_save_LIBS | 6726 LIBS=$ac_check_lib_save_LIBS |
6719 fi | 6727 fi |
6720 echo "$as_me:6720: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 | 6728 echo "$as_me:6728: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 |
6721 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6 | 6729 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6 |
6722 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then | 6730 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then |
6723 cat >>confdefs.h <<EOF | 6731 cat >>confdefs.h <<EOF |
6724 #define HAVE_LIBXEXT 1 | 6732 #define HAVE_LIBXEXT 1 |
6725 EOF | 6733 EOF |
6730 | 6738 |
6731 fi | 6739 fi |
6732 fi | 6740 fi |
6733 | 6741 |
6734 if test "${USE_X_TOOLKIT}" = "MOTIF"; then | 6742 if test "${USE_X_TOOLKIT}" = "MOTIF"; then |
6735 echo "$as_me:6735: checking for Motif version 2.1" >&5 | 6743 echo "$as_me:6743: checking for Motif version 2.1" >&5 |
6736 echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6 | 6744 echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6 |
6737 if test "${emacs_cv_motif_version_2_1+set}" = set; then | 6745 if test "${emacs_cv_motif_version_2_1+set}" = set; then |
6738 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6746 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6739 else | 6747 else |
6740 cat >conftest.$ac_ext <<_ACEOF | 6748 cat >conftest.$ac_ext <<_ACEOF |
6741 #line 6741 "configure" | 6749 #line 6749 "configure" |
6742 #include "confdefs.h" | 6750 #include "confdefs.h" |
6743 #include <Xm/Xm.h> | 6751 #include <Xm/Xm.h> |
6744 int | 6752 int |
6745 main () | 6753 main () |
6746 { | 6754 { |
6752 ; | 6760 ; |
6753 return 0; | 6761 return 0; |
6754 } | 6762 } |
6755 _ACEOF | 6763 _ACEOF |
6756 rm -f conftest.$ac_objext | 6764 rm -f conftest.$ac_objext |
6757 if { (eval echo "$as_me:6757: \"$ac_compile\"") >&5 | 6765 if { (eval echo "$as_me:6765: \"$ac_compile\"") >&5 |
6758 (eval $ac_compile) 2>&5 | 6766 (eval $ac_compile) 2>&5 |
6759 ac_status=$? | 6767 ac_status=$? |
6760 echo "$as_me:6760: \$? = $ac_status" >&5 | 6768 echo "$as_me:6768: \$? = $ac_status" >&5 |
6761 (exit $ac_status); } && | 6769 (exit $ac_status); } && |
6762 { ac_try='test -s conftest.$ac_objext' | 6770 { ac_try='test -s conftest.$ac_objext' |
6763 { (eval echo "$as_me:6763: \"$ac_try\"") >&5 | 6771 { (eval echo "$as_me:6771: \"$ac_try\"") >&5 |
6764 (eval $ac_try) 2>&5 | 6772 (eval $ac_try) 2>&5 |
6765 ac_status=$? | 6773 ac_status=$? |
6766 echo "$as_me:6766: \$? = $ac_status" >&5 | 6774 echo "$as_me:6774: \$? = $ac_status" >&5 |
6767 (exit $ac_status); }; }; then | 6775 (exit $ac_status); }; }; then |
6768 emacs_cv_motif_version_2_1=yes | 6776 emacs_cv_motif_version_2_1=yes |
6769 else | 6777 else |
6770 echo "$as_me: failed program was:" >&5 | 6778 echo "$as_me: failed program was:" >&5 |
6771 cat conftest.$ac_ext >&5 | 6779 cat conftest.$ac_ext >&5 |
6772 emacs_cv_motif_version_2_1=no | 6780 emacs_cv_motif_version_2_1=no |
6773 fi | 6781 fi |
6774 rm -f conftest.$ac_objext conftest.$ac_ext | 6782 rm -f conftest.$ac_objext conftest.$ac_ext |
6775 fi | 6783 fi |
6776 echo "$as_me:6776: result: $emacs_cv_motif_version_2_1" >&5 | 6784 echo "$as_me:6784: result: $emacs_cv_motif_version_2_1" >&5 |
6777 echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6 | 6785 echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6 |
6778 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1 | 6786 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1 |
6779 if test $emacs_cv_motif_version_2_1 = yes; then | 6787 if test $emacs_cv_motif_version_2_1 = yes; then |
6780 HAVE_LIBXP=no | 6788 HAVE_LIBXP=no |
6781 cat >>confdefs.h <<\EOF | 6789 cat >>confdefs.h <<\EOF |
6782 #define HAVE_MOTIF_2_1 1 | 6790 #define HAVE_MOTIF_2_1 1 |
6783 EOF | 6791 EOF |
6784 | 6792 |
6785 echo "$as_me:6785: checking for XpCreateContext in -lXp" >&5 | 6793 echo "$as_me:6793: checking for XpCreateContext in -lXp" >&5 |
6786 echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6 | 6794 echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6 |
6787 if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then | 6795 if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then |
6788 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6796 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6789 else | 6797 else |
6790 ac_check_lib_save_LIBS=$LIBS | 6798 ac_check_lib_save_LIBS=$LIBS |
6791 LIBS="-lXp $LIBS" | 6799 LIBS="-lXp $LIBS" |
6792 cat >conftest.$ac_ext <<_ACEOF | 6800 cat >conftest.$ac_ext <<_ACEOF |
6793 #line 6793 "configure" | 6801 #line 6801 "configure" |
6794 #include "confdefs.h" | 6802 #include "confdefs.h" |
6795 | 6803 |
6796 /* Override any gcc2 internal prototype to avoid an error. */ | 6804 /* Override any gcc2 internal prototype to avoid an error. */ |
6797 #ifdef __cplusplus | 6805 #ifdef __cplusplus |
6798 extern "C" | 6806 extern "C" |
6807 ; | 6815 ; |
6808 return 0; | 6816 return 0; |
6809 } | 6817 } |
6810 _ACEOF | 6818 _ACEOF |
6811 rm -f conftest.$ac_objext conftest$ac_exeext | 6819 rm -f conftest.$ac_objext conftest$ac_exeext |
6812 if { (eval echo "$as_me:6812: \"$ac_link\"") >&5 | 6820 if { (eval echo "$as_me:6820: \"$ac_link\"") >&5 |
6813 (eval $ac_link) 2>&5 | 6821 (eval $ac_link) 2>&5 |
6814 ac_status=$? | 6822 ac_status=$? |
6815 echo "$as_me:6815: \$? = $ac_status" >&5 | 6823 echo "$as_me:6823: \$? = $ac_status" >&5 |
6816 (exit $ac_status); } && | 6824 (exit $ac_status); } && |
6817 { ac_try='test -s conftest$ac_exeext' | 6825 { ac_try='test -s conftest$ac_exeext' |
6818 { (eval echo "$as_me:6818: \"$ac_try\"") >&5 | 6826 { (eval echo "$as_me:6826: \"$ac_try\"") >&5 |
6819 (eval $ac_try) 2>&5 | 6827 (eval $ac_try) 2>&5 |
6820 ac_status=$? | 6828 ac_status=$? |
6821 echo "$as_me:6821: \$? = $ac_status" >&5 | 6829 echo "$as_me:6829: \$? = $ac_status" >&5 |
6822 (exit $ac_status); }; }; then | 6830 (exit $ac_status); }; }; then |
6823 ac_cv_lib_Xp_XpCreateContext=yes | 6831 ac_cv_lib_Xp_XpCreateContext=yes |
6824 else | 6832 else |
6825 echo "$as_me: failed program was:" >&5 | 6833 echo "$as_me: failed program was:" >&5 |
6826 cat conftest.$ac_ext >&5 | 6834 cat conftest.$ac_ext >&5 |
6827 ac_cv_lib_Xp_XpCreateContext=no | 6835 ac_cv_lib_Xp_XpCreateContext=no |
6828 fi | 6836 fi |
6829 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 6837 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6830 LIBS=$ac_check_lib_save_LIBS | 6838 LIBS=$ac_check_lib_save_LIBS |
6831 fi | 6839 fi |
6832 echo "$as_me:6832: result: $ac_cv_lib_Xp_XpCreateContext" >&5 | 6840 echo "$as_me:6840: result: $ac_cv_lib_Xp_XpCreateContext" >&5 |
6833 echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6 | 6841 echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6 |
6834 if test $ac_cv_lib_Xp_XpCreateContext = yes; then | 6842 if test $ac_cv_lib_Xp_XpCreateContext = yes; then |
6835 HAVE_LIBXP=yes | 6843 HAVE_LIBXP=yes |
6836 fi | 6844 fi |
6837 | 6845 |
6846 | 6854 |
6847 ### Is -lXaw3d available? | 6855 ### Is -lXaw3d available? |
6848 HAVE_XAW3D=no | 6856 HAVE_XAW3D=no |
6849 if test "${HAVE_X11}" = "yes"; then | 6857 if test "${HAVE_X11}" = "yes"; then |
6850 if test "${USE_X_TOOLKIT}" != "none"; then | 6858 if test "${USE_X_TOOLKIT}" != "none"; then |
6851 echo "$as_me:6851: checking for X11/Xaw3d/Scrollbar.h" >&5 | 6859 echo "$as_me:6859: checking for X11/Xaw3d/Scrollbar.h" >&5 |
6852 echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6 | 6860 echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6 |
6853 if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then | 6861 if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then |
6854 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6862 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6855 else | 6863 else |
6856 cat >conftest.$ac_ext <<_ACEOF | 6864 cat >conftest.$ac_ext <<_ACEOF |
6857 #line 6857 "configure" | 6865 #line 6865 "configure" |
6858 #include "confdefs.h" | 6866 #include "confdefs.h" |
6859 #include <X11/Xaw3d/Scrollbar.h> | 6867 #include <X11/Xaw3d/Scrollbar.h> |
6860 _ACEOF | 6868 _ACEOF |
6861 if { (eval echo "$as_me:6861: \"$ac_cpp conftest.$ac_ext\"") >&5 | 6869 if { (eval echo "$as_me:6869: \"$ac_cpp conftest.$ac_ext\"") >&5 |
6862 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 6870 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
6863 ac_status=$? | 6871 ac_status=$? |
6864 egrep -v '^ *\+' conftest.er1 >conftest.err | 6872 egrep -v '^ *\+' conftest.er1 >conftest.err |
6865 rm -f conftest.er1 | 6873 rm -f conftest.er1 |
6866 cat conftest.err >&5 | 6874 cat conftest.err >&5 |
6867 echo "$as_me:6867: \$? = $ac_status" >&5 | 6875 echo "$as_me:6875: \$? = $ac_status" >&5 |
6868 (exit $ac_status); } >/dev/null; then | 6876 (exit $ac_status); } >/dev/null; then |
6869 if test -s conftest.err; then | 6877 if test -s conftest.err; then |
6870 ac_cpp_err=$ac_c_preproc_warn_flag | 6878 ac_cpp_err=$ac_c_preproc_warn_flag |
6871 else | 6879 else |
6872 ac_cpp_err= | 6880 ac_cpp_err= |
6881 cat conftest.$ac_ext >&5 | 6889 cat conftest.$ac_ext >&5 |
6882 ac_cv_header_X11_Xaw3d_Scrollbar_h=no | 6890 ac_cv_header_X11_Xaw3d_Scrollbar_h=no |
6883 fi | 6891 fi |
6884 rm -f conftest.err conftest.$ac_ext | 6892 rm -f conftest.err conftest.$ac_ext |
6885 fi | 6893 fi |
6886 echo "$as_me:6886: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5 | 6894 echo "$as_me:6894: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5 |
6887 echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6 | 6895 echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6 |
6888 if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then | 6896 if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then |
6889 echo "$as_me:6889: checking for XawScrollbarSetThumb in -lXaw3d" >&5 | 6897 echo "$as_me:6897: checking for XawScrollbarSetThumb in -lXaw3d" >&5 |
6890 echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6 | 6898 echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6 |
6891 if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then | 6899 if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then |
6892 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6900 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6893 else | 6901 else |
6894 ac_check_lib_save_LIBS=$LIBS | 6902 ac_check_lib_save_LIBS=$LIBS |
6895 LIBS="-lXaw3d $LIBS" | 6903 LIBS="-lXaw3d $LIBS" |
6896 cat >conftest.$ac_ext <<_ACEOF | 6904 cat >conftest.$ac_ext <<_ACEOF |
6897 #line 6897 "configure" | 6905 #line 6905 "configure" |
6898 #include "confdefs.h" | 6906 #include "confdefs.h" |
6899 | 6907 |
6900 /* Override any gcc2 internal prototype to avoid an error. */ | 6908 /* Override any gcc2 internal prototype to avoid an error. */ |
6901 #ifdef __cplusplus | 6909 #ifdef __cplusplus |
6902 extern "C" | 6910 extern "C" |
6911 ; | 6919 ; |
6912 return 0; | 6920 return 0; |
6913 } | 6921 } |
6914 _ACEOF | 6922 _ACEOF |
6915 rm -f conftest.$ac_objext conftest$ac_exeext | 6923 rm -f conftest.$ac_objext conftest$ac_exeext |
6916 if { (eval echo "$as_me:6916: \"$ac_link\"") >&5 | 6924 if { (eval echo "$as_me:6924: \"$ac_link\"") >&5 |
6917 (eval $ac_link) 2>&5 | 6925 (eval $ac_link) 2>&5 |
6918 ac_status=$? | 6926 ac_status=$? |
6919 echo "$as_me:6919: \$? = $ac_status" >&5 | 6927 echo "$as_me:6927: \$? = $ac_status" >&5 |
6920 (exit $ac_status); } && | 6928 (exit $ac_status); } && |
6921 { ac_try='test -s conftest$ac_exeext' | 6929 { ac_try='test -s conftest$ac_exeext' |
6922 { (eval echo "$as_me:6922: \"$ac_try\"") >&5 | 6930 { (eval echo "$as_me:6930: \"$ac_try\"") >&5 |
6923 (eval $ac_try) 2>&5 | 6931 (eval $ac_try) 2>&5 |
6924 ac_status=$? | 6932 ac_status=$? |
6925 echo "$as_me:6925: \$? = $ac_status" >&5 | 6933 echo "$as_me:6933: \$? = $ac_status" >&5 |
6926 (exit $ac_status); }; }; then | 6934 (exit $ac_status); }; }; then |
6927 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes | 6935 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes |
6928 else | 6936 else |
6929 echo "$as_me: failed program was:" >&5 | 6937 echo "$as_me: failed program was:" >&5 |
6930 cat conftest.$ac_ext >&5 | 6938 cat conftest.$ac_ext >&5 |
6931 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=no | 6939 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=no |
6932 fi | 6940 fi |
6933 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 6941 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6934 LIBS=$ac_check_lib_save_LIBS | 6942 LIBS=$ac_check_lib_save_LIBS |
6935 fi | 6943 fi |
6936 echo "$as_me:6936: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5 | 6944 echo "$as_me:6944: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5 |
6937 echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6 | 6945 echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6 |
6938 if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then | 6946 if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then |
6939 HAVE_XAW3D=yes | 6947 HAVE_XAW3D=yes |
6940 fi | 6948 fi |
6941 | 6949 |
6979 | 6987 |
6980 ### Use -lXpm if available, unless `--with-xpm=no'. | 6988 ### Use -lXpm if available, unless `--with-xpm=no'. |
6981 HAVE_XPM=no | 6989 HAVE_XPM=no |
6982 if test "${HAVE_X11}" = "yes"; then | 6990 if test "${HAVE_X11}" = "yes"; then |
6983 if test "${with_xpm}" != "no"; then | 6991 if test "${with_xpm}" != "no"; then |
6984 echo "$as_me:6984: checking for X11/xpm.h" >&5 | 6992 echo "$as_me:6992: checking for X11/xpm.h" >&5 |
6985 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6 | 6993 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6 |
6986 if test "${ac_cv_header_X11_xpm_h+set}" = set; then | 6994 if test "${ac_cv_header_X11_xpm_h+set}" = set; then |
6987 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6995 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6988 else | 6996 else |
6989 cat >conftest.$ac_ext <<_ACEOF | 6997 cat >conftest.$ac_ext <<_ACEOF |
6990 #line 6990 "configure" | 6998 #line 6998 "configure" |
6991 #include "confdefs.h" | 6999 #include "confdefs.h" |
6992 #include <X11/xpm.h> | 7000 #include <X11/xpm.h> |
6993 _ACEOF | 7001 _ACEOF |
6994 if { (eval echo "$as_me:6994: \"$ac_cpp conftest.$ac_ext\"") >&5 | 7002 if { (eval echo "$as_me:7002: \"$ac_cpp conftest.$ac_ext\"") >&5 |
6995 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 7003 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
6996 ac_status=$? | 7004 ac_status=$? |
6997 egrep -v '^ *\+' conftest.er1 >conftest.err | 7005 egrep -v '^ *\+' conftest.er1 >conftest.err |
6998 rm -f conftest.er1 | 7006 rm -f conftest.er1 |
6999 cat conftest.err >&5 | 7007 cat conftest.err >&5 |
7000 echo "$as_me:7000: \$? = $ac_status" >&5 | 7008 echo "$as_me:7008: \$? = $ac_status" >&5 |
7001 (exit $ac_status); } >/dev/null; then | 7009 (exit $ac_status); } >/dev/null; then |
7002 if test -s conftest.err; then | 7010 if test -s conftest.err; then |
7003 ac_cpp_err=$ac_c_preproc_warn_flag | 7011 ac_cpp_err=$ac_c_preproc_warn_flag |
7004 else | 7012 else |
7005 ac_cpp_err= | 7013 ac_cpp_err= |
7014 cat conftest.$ac_ext >&5 | 7022 cat conftest.$ac_ext >&5 |
7015 ac_cv_header_X11_xpm_h=no | 7023 ac_cv_header_X11_xpm_h=no |
7016 fi | 7024 fi |
7017 rm -f conftest.err conftest.$ac_ext | 7025 rm -f conftest.err conftest.$ac_ext |
7018 fi | 7026 fi |
7019 echo "$as_me:7019: result: $ac_cv_header_X11_xpm_h" >&5 | 7027 echo "$as_me:7027: result: $ac_cv_header_X11_xpm_h" >&5 |
7020 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6 | 7028 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6 |
7021 if test $ac_cv_header_X11_xpm_h = yes; then | 7029 if test $ac_cv_header_X11_xpm_h = yes; then |
7022 echo "$as_me:7022: checking for XpmReadFileToPixmap in -lXpm" >&5 | 7030 echo "$as_me:7030: checking for XpmReadFileToPixmap in -lXpm" >&5 |
7023 echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6 | 7031 echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6 |
7024 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then | 7032 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then |
7025 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7033 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7026 else | 7034 else |
7027 ac_check_lib_save_LIBS=$LIBS | 7035 ac_check_lib_save_LIBS=$LIBS |
7028 LIBS="-lXpm -lX11 $LIBS" | 7036 LIBS="-lXpm -lX11 $LIBS" |
7029 cat >conftest.$ac_ext <<_ACEOF | 7037 cat >conftest.$ac_ext <<_ACEOF |
7030 #line 7030 "configure" | 7038 #line 7038 "configure" |
7031 #include "confdefs.h" | 7039 #include "confdefs.h" |
7032 | 7040 |
7033 /* Override any gcc2 internal prototype to avoid an error. */ | 7041 /* Override any gcc2 internal prototype to avoid an error. */ |
7034 #ifdef __cplusplus | 7042 #ifdef __cplusplus |
7035 extern "C" | 7043 extern "C" |
7044 ; | 7052 ; |
7045 return 0; | 7053 return 0; |
7046 } | 7054 } |
7047 _ACEOF | 7055 _ACEOF |
7048 rm -f conftest.$ac_objext conftest$ac_exeext | 7056 rm -f conftest.$ac_objext conftest$ac_exeext |
7049 if { (eval echo "$as_me:7049: \"$ac_link\"") >&5 | 7057 if { (eval echo "$as_me:7057: \"$ac_link\"") >&5 |
7050 (eval $ac_link) 2>&5 | 7058 (eval $ac_link) 2>&5 |
7051 ac_status=$? | 7059 ac_status=$? |
7052 echo "$as_me:7052: \$? = $ac_status" >&5 | 7060 echo "$as_me:7060: \$? = $ac_status" >&5 |
7053 (exit $ac_status); } && | 7061 (exit $ac_status); } && |
7054 { ac_try='test -s conftest$ac_exeext' | 7062 { ac_try='test -s conftest$ac_exeext' |
7055 { (eval echo "$as_me:7055: \"$ac_try\"") >&5 | 7063 { (eval echo "$as_me:7063: \"$ac_try\"") >&5 |
7056 (eval $ac_try) 2>&5 | 7064 (eval $ac_try) 2>&5 |
7057 ac_status=$? | 7065 ac_status=$? |
7058 echo "$as_me:7058: \$? = $ac_status" >&5 | 7066 echo "$as_me:7066: \$? = $ac_status" >&5 |
7059 (exit $ac_status); }; }; then | 7067 (exit $ac_status); }; }; then |
7060 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes | 7068 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes |
7061 else | 7069 else |
7062 echo "$as_me: failed program was:" >&5 | 7070 echo "$as_me: failed program was:" >&5 |
7063 cat conftest.$ac_ext >&5 | 7071 cat conftest.$ac_ext >&5 |
7064 ac_cv_lib_Xpm_XpmReadFileToPixmap=no | 7072 ac_cv_lib_Xpm_XpmReadFileToPixmap=no |
7065 fi | 7073 fi |
7066 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 7074 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7067 LIBS=$ac_check_lib_save_LIBS | 7075 LIBS=$ac_check_lib_save_LIBS |
7068 fi | 7076 fi |
7069 echo "$as_me:7069: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5 | 7077 echo "$as_me:7077: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5 |
7070 echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6 | 7078 echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6 |
7071 if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then | 7079 if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then |
7072 HAVE_XPM=yes | 7080 HAVE_XPM=yes |
7073 fi | 7081 fi |
7074 | 7082 |
7075 fi | 7083 fi |
7076 | 7084 |
7077 if test "${HAVE_XPM}" = "yes"; then | 7085 if test "${HAVE_XPM}" = "yes"; then |
7078 echo "$as_me:7078: checking for XpmReturnAllocPixels preprocessor define" >&5 | 7086 echo "$as_me:7086: checking for XpmReturnAllocPixels preprocessor define" >&5 |
7079 echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6 | 7087 echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6 |
7080 cat >conftest.$ac_ext <<_ACEOF | 7088 cat >conftest.$ac_ext <<_ACEOF |
7081 #line 7081 "configure" | 7089 #line 7089 "configure" |
7082 #include "confdefs.h" | 7090 #include "confdefs.h" |
7083 #include "X11/xpm.h" | 7091 #include "X11/xpm.h" |
7084 #ifndef XpmReturnAllocPixels | 7092 #ifndef XpmReturnAllocPixels |
7085 no_return_alloc_pixels | 7093 no_return_alloc_pixels |
7086 #endif | 7094 #endif |
7093 HAVE_XPM=yes | 7101 HAVE_XPM=yes |
7094 fi | 7102 fi |
7095 rm -f conftest* | 7103 rm -f conftest* |
7096 | 7104 |
7097 if test "${HAVE_XPM}" = "yes"; then | 7105 if test "${HAVE_XPM}" = "yes"; then |
7098 echo "$as_me:7098: result: yes" >&5 | 7106 echo "$as_me:7106: result: yes" >&5 |
7099 echo "${ECHO_T}yes" >&6 | 7107 echo "${ECHO_T}yes" >&6 |
7100 else | 7108 else |
7101 echo "$as_me:7101: result: no" >&5 | 7109 echo "$as_me:7109: result: no" >&5 |
7102 echo "${ECHO_T}no" >&6 | 7110 echo "${ECHO_T}no" >&6 |
7103 fi | 7111 fi |
7104 fi | 7112 fi |
7105 fi | 7113 fi |
7106 | 7114 |
7114 | 7122 |
7115 ### Use -ljpeg if available, unless `--with-jpeg=no'. | 7123 ### Use -ljpeg if available, unless `--with-jpeg=no'. |
7116 HAVE_JPEG=no | 7124 HAVE_JPEG=no |
7117 if test "${HAVE_X11}" = "yes"; then | 7125 if test "${HAVE_X11}" = "yes"; then |
7118 if test "${with_jpeg}" != "no"; then | 7126 if test "${with_jpeg}" != "no"; then |
7119 echo "$as_me:7119: checking for jerror.h" >&5 | 7127 echo "$as_me:7127: checking for jerror.h" >&5 |
7120 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6 | 7128 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6 |
7121 if test "${ac_cv_header_jerror_h+set}" = set; then | 7129 if test "${ac_cv_header_jerror_h+set}" = set; then |
7122 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7130 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7123 else | 7131 else |
7124 cat >conftest.$ac_ext <<_ACEOF | 7132 cat >conftest.$ac_ext <<_ACEOF |
7125 #line 7125 "configure" | 7133 #line 7133 "configure" |
7126 #include "confdefs.h" | 7134 #include "confdefs.h" |
7127 #include <jerror.h> | 7135 #include <jerror.h> |
7128 _ACEOF | 7136 _ACEOF |
7129 if { (eval echo "$as_me:7129: \"$ac_cpp conftest.$ac_ext\"") >&5 | 7137 if { (eval echo "$as_me:7137: \"$ac_cpp conftest.$ac_ext\"") >&5 |
7130 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 7138 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
7131 ac_status=$? | 7139 ac_status=$? |
7132 egrep -v '^ *\+' conftest.er1 >conftest.err | 7140 egrep -v '^ *\+' conftest.er1 >conftest.err |
7133 rm -f conftest.er1 | 7141 rm -f conftest.er1 |
7134 cat conftest.err >&5 | 7142 cat conftest.err >&5 |
7135 echo "$as_me:7135: \$? = $ac_status" >&5 | 7143 echo "$as_me:7143: \$? = $ac_status" >&5 |
7136 (exit $ac_status); } >/dev/null; then | 7144 (exit $ac_status); } >/dev/null; then |
7137 if test -s conftest.err; then | 7145 if test -s conftest.err; then |
7138 ac_cpp_err=$ac_c_preproc_warn_flag | 7146 ac_cpp_err=$ac_c_preproc_warn_flag |
7139 else | 7147 else |
7140 ac_cpp_err= | 7148 ac_cpp_err= |
7149 cat conftest.$ac_ext >&5 | 7157 cat conftest.$ac_ext >&5 |
7150 ac_cv_header_jerror_h=no | 7158 ac_cv_header_jerror_h=no |
7151 fi | 7159 fi |
7152 rm -f conftest.err conftest.$ac_ext | 7160 rm -f conftest.err conftest.$ac_ext |
7153 fi | 7161 fi |
7154 echo "$as_me:7154: result: $ac_cv_header_jerror_h" >&5 | 7162 echo "$as_me:7162: result: $ac_cv_header_jerror_h" >&5 |
7155 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6 | 7163 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6 |
7156 if test $ac_cv_header_jerror_h = yes; then | 7164 if test $ac_cv_header_jerror_h = yes; then |
7157 echo "$as_me:7157: checking for jpeg_destroy_compress in -ljpeg" >&5 | 7165 echo "$as_me:7165: checking for jpeg_destroy_compress in -ljpeg" >&5 |
7158 echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6 | 7166 echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6 |
7159 if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then | 7167 if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then |
7160 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7168 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7161 else | 7169 else |
7162 ac_check_lib_save_LIBS=$LIBS | 7170 ac_check_lib_save_LIBS=$LIBS |
7163 LIBS="-ljpeg $LIBS" | 7171 LIBS="-ljpeg $LIBS" |
7164 cat >conftest.$ac_ext <<_ACEOF | 7172 cat >conftest.$ac_ext <<_ACEOF |
7165 #line 7165 "configure" | 7173 #line 7173 "configure" |
7166 #include "confdefs.h" | 7174 #include "confdefs.h" |
7167 | 7175 |
7168 /* Override any gcc2 internal prototype to avoid an error. */ | 7176 /* Override any gcc2 internal prototype to avoid an error. */ |
7169 #ifdef __cplusplus | 7177 #ifdef __cplusplus |
7170 extern "C" | 7178 extern "C" |
7179 ; | 7187 ; |
7180 return 0; | 7188 return 0; |
7181 } | 7189 } |
7182 _ACEOF | 7190 _ACEOF |
7183 rm -f conftest.$ac_objext conftest$ac_exeext | 7191 rm -f conftest.$ac_objext conftest$ac_exeext |
7184 if { (eval echo "$as_me:7184: \"$ac_link\"") >&5 | 7192 if { (eval echo "$as_me:7192: \"$ac_link\"") >&5 |
7185 (eval $ac_link) 2>&5 | 7193 (eval $ac_link) 2>&5 |
7186 ac_status=$? | 7194 ac_status=$? |
7187 echo "$as_me:7187: \$? = $ac_status" >&5 | 7195 echo "$as_me:7195: \$? = $ac_status" >&5 |
7188 (exit $ac_status); } && | 7196 (exit $ac_status); } && |
7189 { ac_try='test -s conftest$ac_exeext' | 7197 { ac_try='test -s conftest$ac_exeext' |
7190 { (eval echo "$as_me:7190: \"$ac_try\"") >&5 | 7198 { (eval echo "$as_me:7198: \"$ac_try\"") >&5 |
7191 (eval $ac_try) 2>&5 | 7199 (eval $ac_try) 2>&5 |
7192 ac_status=$? | 7200 ac_status=$? |
7193 echo "$as_me:7193: \$? = $ac_status" >&5 | 7201 echo "$as_me:7201: \$? = $ac_status" >&5 |
7194 (exit $ac_status); }; }; then | 7202 (exit $ac_status); }; }; then |
7195 ac_cv_lib_jpeg_jpeg_destroy_compress=yes | 7203 ac_cv_lib_jpeg_jpeg_destroy_compress=yes |
7196 else | 7204 else |
7197 echo "$as_me: failed program was:" >&5 | 7205 echo "$as_me: failed program was:" >&5 |
7198 cat conftest.$ac_ext >&5 | 7206 cat conftest.$ac_ext >&5 |
7199 ac_cv_lib_jpeg_jpeg_destroy_compress=no | 7207 ac_cv_lib_jpeg_jpeg_destroy_compress=no |
7200 fi | 7208 fi |
7201 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 7209 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7202 LIBS=$ac_check_lib_save_LIBS | 7210 LIBS=$ac_check_lib_save_LIBS |
7203 fi | 7211 fi |
7204 echo "$as_me:7204: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5 | 7212 echo "$as_me:7212: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5 |
7205 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6 | 7213 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6 |
7206 if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then | 7214 if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then |
7207 HAVE_JPEG=yes | 7215 HAVE_JPEG=yes |
7208 fi | 7216 fi |
7209 | 7217 |
7213 | 7221 |
7214 if test "${HAVE_JPEG}" = "yes"; then | 7222 if test "${HAVE_JPEG}" = "yes"; then |
7215 cat >>confdefs.h <<\EOF | 7223 cat >>confdefs.h <<\EOF |
7216 #define HAVE_JPEG 1 | 7224 #define HAVE_JPEG 1 |
7217 EOF | 7225 EOF |
7226 | |
7227 cat >conftest.$ac_ext <<_ACEOF | |
7228 #line 7228 "configure" | |
7229 #include "confdefs.h" | |
7230 #include <jpeglib.h> | |
7231 version=JPEG_LIB_VERSION | |
7232 | |
7233 _ACEOF | |
7234 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
7235 egrep "version= *(6[2-9]|[7-9][0-9])" >/dev/null 2>&1; then | |
7236 cat >>confdefs.h <<\EOF | |
7237 #define HAVE_JPEG 1 | |
7238 EOF | |
7239 | |
7240 else | |
7241 { echo "$as_me:7241: WARNING: libjpeg found, but not version 6b or later" >&5 | |
7242 echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;} | |
7243 HAVE_JPEG=no | |
7244 fi | |
7245 rm -f conftest* | |
7218 | 7246 |
7219 fi | 7247 fi |
7220 fi | 7248 fi |
7221 | 7249 |
7222 ### Use -lpng if available, unless `--with-png=no'. | 7250 ### Use -lpng if available, unless `--with-png=no'. |
7223 HAVE_PNG=no | 7251 HAVE_PNG=no |
7224 if test "${HAVE_X11}" = "yes"; then | 7252 if test "${HAVE_X11}" = "yes"; then |
7225 if test "${with_png}" != "no"; then | 7253 if test "${with_png}" != "no"; then |
7226 echo "$as_me:7226: checking for png.h" >&5 | 7254 echo "$as_me:7254: checking for png.h" >&5 |
7227 echo $ECHO_N "checking for png.h... $ECHO_C" >&6 | 7255 echo $ECHO_N "checking for png.h... $ECHO_C" >&6 |
7228 if test "${ac_cv_header_png_h+set}" = set; then | 7256 if test "${ac_cv_header_png_h+set}" = set; then |
7229 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7257 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7230 else | 7258 else |
7231 cat >conftest.$ac_ext <<_ACEOF | 7259 cat >conftest.$ac_ext <<_ACEOF |
7232 #line 7232 "configure" | 7260 #line 7260 "configure" |
7233 #include "confdefs.h" | 7261 #include "confdefs.h" |
7234 #include <png.h> | 7262 #include <png.h> |
7235 _ACEOF | 7263 _ACEOF |
7236 if { (eval echo "$as_me:7236: \"$ac_cpp conftest.$ac_ext\"") >&5 | 7264 if { (eval echo "$as_me:7264: \"$ac_cpp conftest.$ac_ext\"") >&5 |
7237 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 7265 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
7238 ac_status=$? | 7266 ac_status=$? |
7239 egrep -v '^ *\+' conftest.er1 >conftest.err | 7267 egrep -v '^ *\+' conftest.er1 >conftest.err |
7240 rm -f conftest.er1 | 7268 rm -f conftest.er1 |
7241 cat conftest.err >&5 | 7269 cat conftest.err >&5 |
7242 echo "$as_me:7242: \$? = $ac_status" >&5 | 7270 echo "$as_me:7270: \$? = $ac_status" >&5 |
7243 (exit $ac_status); } >/dev/null; then | 7271 (exit $ac_status); } >/dev/null; then |
7244 if test -s conftest.err; then | 7272 if test -s conftest.err; then |
7245 ac_cpp_err=$ac_c_preproc_warn_flag | 7273 ac_cpp_err=$ac_c_preproc_warn_flag |
7246 else | 7274 else |
7247 ac_cpp_err= | 7275 ac_cpp_err= |
7256 cat conftest.$ac_ext >&5 | 7284 cat conftest.$ac_ext >&5 |
7257 ac_cv_header_png_h=no | 7285 ac_cv_header_png_h=no |
7258 fi | 7286 fi |
7259 rm -f conftest.err conftest.$ac_ext | 7287 rm -f conftest.err conftest.$ac_ext |
7260 fi | 7288 fi |
7261 echo "$as_me:7261: result: $ac_cv_header_png_h" >&5 | 7289 echo "$as_me:7289: result: $ac_cv_header_png_h" >&5 |
7262 echo "${ECHO_T}$ac_cv_header_png_h" >&6 | 7290 echo "${ECHO_T}$ac_cv_header_png_h" >&6 |
7263 if test $ac_cv_header_png_h = yes; then | 7291 if test $ac_cv_header_png_h = yes; then |
7264 echo "$as_me:7264: checking for png_get_channels in -lpng" >&5 | 7292 echo "$as_me:7292: checking for png_get_channels in -lpng" >&5 |
7265 echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6 | 7293 echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6 |
7266 if test "${ac_cv_lib_png_png_get_channels+set}" = set; then | 7294 if test "${ac_cv_lib_png_png_get_channels+set}" = set; then |
7267 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7295 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7268 else | 7296 else |
7269 ac_check_lib_save_LIBS=$LIBS | 7297 ac_check_lib_save_LIBS=$LIBS |
7270 LIBS="-lpng -lz -lm $LIBS" | 7298 LIBS="-lpng -lz -lm $LIBS" |
7271 cat >conftest.$ac_ext <<_ACEOF | 7299 cat >conftest.$ac_ext <<_ACEOF |
7272 #line 7272 "configure" | 7300 #line 7300 "configure" |
7273 #include "confdefs.h" | 7301 #include "confdefs.h" |
7274 | 7302 |
7275 /* Override any gcc2 internal prototype to avoid an error. */ | 7303 /* Override any gcc2 internal prototype to avoid an error. */ |
7276 #ifdef __cplusplus | 7304 #ifdef __cplusplus |
7277 extern "C" | 7305 extern "C" |
7286 ; | 7314 ; |
7287 return 0; | 7315 return 0; |
7288 } | 7316 } |
7289 _ACEOF | 7317 _ACEOF |
7290 rm -f conftest.$ac_objext conftest$ac_exeext | 7318 rm -f conftest.$ac_objext conftest$ac_exeext |
7291 if { (eval echo "$as_me:7291: \"$ac_link\"") >&5 | 7319 if { (eval echo "$as_me:7319: \"$ac_link\"") >&5 |
7292 (eval $ac_link) 2>&5 | 7320 (eval $ac_link) 2>&5 |
7293 ac_status=$? | 7321 ac_status=$? |
7294 echo "$as_me:7294: \$? = $ac_status" >&5 | 7322 echo "$as_me:7322: \$? = $ac_status" >&5 |
7295 (exit $ac_status); } && | 7323 (exit $ac_status); } && |
7296 { ac_try='test -s conftest$ac_exeext' | 7324 { ac_try='test -s conftest$ac_exeext' |
7297 { (eval echo "$as_me:7297: \"$ac_try\"") >&5 | 7325 { (eval echo "$as_me:7325: \"$ac_try\"") >&5 |
7298 (eval $ac_try) 2>&5 | 7326 (eval $ac_try) 2>&5 |
7299 ac_status=$? | 7327 ac_status=$? |
7300 echo "$as_me:7300: \$? = $ac_status" >&5 | 7328 echo "$as_me:7328: \$? = $ac_status" >&5 |
7301 (exit $ac_status); }; }; then | 7329 (exit $ac_status); }; }; then |
7302 ac_cv_lib_png_png_get_channels=yes | 7330 ac_cv_lib_png_png_get_channels=yes |
7303 else | 7331 else |
7304 echo "$as_me: failed program was:" >&5 | 7332 echo "$as_me: failed program was:" >&5 |
7305 cat conftest.$ac_ext >&5 | 7333 cat conftest.$ac_ext >&5 |
7306 ac_cv_lib_png_png_get_channels=no | 7334 ac_cv_lib_png_png_get_channels=no |
7307 fi | 7335 fi |
7308 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 7336 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7309 LIBS=$ac_check_lib_save_LIBS | 7337 LIBS=$ac_check_lib_save_LIBS |
7310 fi | 7338 fi |
7311 echo "$as_me:7311: result: $ac_cv_lib_png_png_get_channels" >&5 | 7339 echo "$as_me:7339: result: $ac_cv_lib_png_png_get_channels" >&5 |
7312 echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6 | 7340 echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6 |
7313 if test $ac_cv_lib_png_png_get_channels = yes; then | 7341 if test $ac_cv_lib_png_png_get_channels = yes; then |
7314 HAVE_PNG=yes | 7342 HAVE_PNG=yes |
7315 fi | 7343 fi |
7316 | 7344 |
7328 | 7356 |
7329 ### Use -ltiff if available, unless `--with-tiff=no'. | 7357 ### Use -ltiff if available, unless `--with-tiff=no'. |
7330 HAVE_TIFF=no | 7358 HAVE_TIFF=no |
7331 if test "${HAVE_X11}" = "yes"; then | 7359 if test "${HAVE_X11}" = "yes"; then |
7332 if test "${with_tiff}" != "no"; then | 7360 if test "${with_tiff}" != "no"; then |
7333 echo "$as_me:7333: checking for tiffio.h" >&5 | 7361 echo "$as_me:7361: checking for tiffio.h" >&5 |
7334 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6 | 7362 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6 |
7335 if test "${ac_cv_header_tiffio_h+set}" = set; then | 7363 if test "${ac_cv_header_tiffio_h+set}" = set; then |
7336 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7364 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7337 else | 7365 else |
7338 cat >conftest.$ac_ext <<_ACEOF | 7366 cat >conftest.$ac_ext <<_ACEOF |
7339 #line 7339 "configure" | 7367 #line 7367 "configure" |
7340 #include "confdefs.h" | 7368 #include "confdefs.h" |
7341 #include <tiffio.h> | 7369 #include <tiffio.h> |
7342 _ACEOF | 7370 _ACEOF |
7343 if { (eval echo "$as_me:7343: \"$ac_cpp conftest.$ac_ext\"") >&5 | 7371 if { (eval echo "$as_me:7371: \"$ac_cpp conftest.$ac_ext\"") >&5 |
7344 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 7372 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
7345 ac_status=$? | 7373 ac_status=$? |
7346 egrep -v '^ *\+' conftest.er1 >conftest.err | 7374 egrep -v '^ *\+' conftest.er1 >conftest.err |
7347 rm -f conftest.er1 | 7375 rm -f conftest.er1 |
7348 cat conftest.err >&5 | 7376 cat conftest.err >&5 |
7349 echo "$as_me:7349: \$? = $ac_status" >&5 | 7377 echo "$as_me:7377: \$? = $ac_status" >&5 |
7350 (exit $ac_status); } >/dev/null; then | 7378 (exit $ac_status); } >/dev/null; then |
7351 if test -s conftest.err; then | 7379 if test -s conftest.err; then |
7352 ac_cpp_err=$ac_c_preproc_warn_flag | 7380 ac_cpp_err=$ac_c_preproc_warn_flag |
7353 else | 7381 else |
7354 ac_cpp_err= | 7382 ac_cpp_err= |
7363 cat conftest.$ac_ext >&5 | 7391 cat conftest.$ac_ext >&5 |
7364 ac_cv_header_tiffio_h=no | 7392 ac_cv_header_tiffio_h=no |
7365 fi | 7393 fi |
7366 rm -f conftest.err conftest.$ac_ext | 7394 rm -f conftest.err conftest.$ac_ext |
7367 fi | 7395 fi |
7368 echo "$as_me:7368: result: $ac_cv_header_tiffio_h" >&5 | 7396 echo "$as_me:7396: result: $ac_cv_header_tiffio_h" >&5 |
7369 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6 | 7397 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6 |
7370 if test $ac_cv_header_tiffio_h = yes; then | 7398 if test $ac_cv_header_tiffio_h = yes; then |
7371 tifflibs="-lz -lm" | 7399 tifflibs="-lz -lm" |
7372 # At least one tiff package requires the jpeg library. | 7400 # At least one tiff package requires the jpeg library. |
7373 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi | 7401 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi |
7374 echo "$as_me:7374: checking for TIFFGetVersion in -ltiff" >&5 | 7402 echo "$as_me:7402: checking for TIFFGetVersion in -ltiff" >&5 |
7375 echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6 | 7403 echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6 |
7376 if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then | 7404 if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then |
7377 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7405 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7378 else | 7406 else |
7379 ac_check_lib_save_LIBS=$LIBS | 7407 ac_check_lib_save_LIBS=$LIBS |
7380 LIBS="-ltiff $tifflibs $LIBS" | 7408 LIBS="-ltiff $tifflibs $LIBS" |
7381 cat >conftest.$ac_ext <<_ACEOF | 7409 cat >conftest.$ac_ext <<_ACEOF |
7382 #line 7382 "configure" | 7410 #line 7410 "configure" |
7383 #include "confdefs.h" | 7411 #include "confdefs.h" |
7384 | 7412 |
7385 /* Override any gcc2 internal prototype to avoid an error. */ | 7413 /* Override any gcc2 internal prototype to avoid an error. */ |
7386 #ifdef __cplusplus | 7414 #ifdef __cplusplus |
7387 extern "C" | 7415 extern "C" |
7396 ; | 7424 ; |
7397 return 0; | 7425 return 0; |
7398 } | 7426 } |
7399 _ACEOF | 7427 _ACEOF |
7400 rm -f conftest.$ac_objext conftest$ac_exeext | 7428 rm -f conftest.$ac_objext conftest$ac_exeext |
7401 if { (eval echo "$as_me:7401: \"$ac_link\"") >&5 | 7429 if { (eval echo "$as_me:7429: \"$ac_link\"") >&5 |
7402 (eval $ac_link) 2>&5 | 7430 (eval $ac_link) 2>&5 |
7403 ac_status=$? | 7431 ac_status=$? |
7404 echo "$as_me:7404: \$? = $ac_status" >&5 | 7432 echo "$as_me:7432: \$? = $ac_status" >&5 |
7405 (exit $ac_status); } && | 7433 (exit $ac_status); } && |
7406 { ac_try='test -s conftest$ac_exeext' | 7434 { ac_try='test -s conftest$ac_exeext' |
7407 { (eval echo "$as_me:7407: \"$ac_try\"") >&5 | 7435 { (eval echo "$as_me:7435: \"$ac_try\"") >&5 |
7408 (eval $ac_try) 2>&5 | 7436 (eval $ac_try) 2>&5 |
7409 ac_status=$? | 7437 ac_status=$? |
7410 echo "$as_me:7410: \$? = $ac_status" >&5 | 7438 echo "$as_me:7438: \$? = $ac_status" >&5 |
7411 (exit $ac_status); }; }; then | 7439 (exit $ac_status); }; }; then |
7412 ac_cv_lib_tiff_TIFFGetVersion=yes | 7440 ac_cv_lib_tiff_TIFFGetVersion=yes |
7413 else | 7441 else |
7414 echo "$as_me: failed program was:" >&5 | 7442 echo "$as_me: failed program was:" >&5 |
7415 cat conftest.$ac_ext >&5 | 7443 cat conftest.$ac_ext >&5 |
7416 ac_cv_lib_tiff_TIFFGetVersion=no | 7444 ac_cv_lib_tiff_TIFFGetVersion=no |
7417 fi | 7445 fi |
7418 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 7446 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7419 LIBS=$ac_check_lib_save_LIBS | 7447 LIBS=$ac_check_lib_save_LIBS |
7420 fi | 7448 fi |
7421 echo "$as_me:7421: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5 | 7449 echo "$as_me:7449: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5 |
7422 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6 | 7450 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6 |
7423 if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then | 7451 if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then |
7424 HAVE_TIFF=yes | 7452 HAVE_TIFF=yes |
7425 fi | 7453 fi |
7426 | 7454 |
7438 | 7466 |
7439 ### Use -lgif if available, unless `--with-gif=no'. | 7467 ### Use -lgif if available, unless `--with-gif=no'. |
7440 HAVE_GIF=no | 7468 HAVE_GIF=no |
7441 if test "${HAVE_X11}" = "yes"; then | 7469 if test "${HAVE_X11}" = "yes"; then |
7442 if test "${with_gif}" != "no"; then | 7470 if test "${with_gif}" != "no"; then |
7443 echo "$as_me:7443: checking for gif_lib.h" >&5 | 7471 echo "$as_me:7471: checking for gif_lib.h" >&5 |
7444 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6 | 7472 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6 |
7445 if test "${ac_cv_header_gif_lib_h+set}" = set; then | 7473 if test "${ac_cv_header_gif_lib_h+set}" = set; then |
7446 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7474 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7447 else | 7475 else |
7448 cat >conftest.$ac_ext <<_ACEOF | 7476 cat >conftest.$ac_ext <<_ACEOF |
7449 #line 7449 "configure" | 7477 #line 7477 "configure" |
7450 #include "confdefs.h" | 7478 #include "confdefs.h" |
7451 #include <gif_lib.h> | 7479 #include <gif_lib.h> |
7452 _ACEOF | 7480 _ACEOF |
7453 if { (eval echo "$as_me:7453: \"$ac_cpp conftest.$ac_ext\"") >&5 | 7481 if { (eval echo "$as_me:7481: \"$ac_cpp conftest.$ac_ext\"") >&5 |
7454 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 7482 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
7455 ac_status=$? | 7483 ac_status=$? |
7456 egrep -v '^ *\+' conftest.er1 >conftest.err | 7484 egrep -v '^ *\+' conftest.er1 >conftest.err |
7457 rm -f conftest.er1 | 7485 rm -f conftest.er1 |
7458 cat conftest.err >&5 | 7486 cat conftest.err >&5 |
7459 echo "$as_me:7459: \$? = $ac_status" >&5 | 7487 echo "$as_me:7487: \$? = $ac_status" >&5 |
7460 (exit $ac_status); } >/dev/null; then | 7488 (exit $ac_status); } >/dev/null; then |
7461 if test -s conftest.err; then | 7489 if test -s conftest.err; then |
7462 ac_cpp_err=$ac_c_preproc_warn_flag | 7490 ac_cpp_err=$ac_c_preproc_warn_flag |
7463 else | 7491 else |
7464 ac_cpp_err= | 7492 ac_cpp_err= |
7473 cat conftest.$ac_ext >&5 | 7501 cat conftest.$ac_ext >&5 |
7474 ac_cv_header_gif_lib_h=no | 7502 ac_cv_header_gif_lib_h=no |
7475 fi | 7503 fi |
7476 rm -f conftest.err conftest.$ac_ext | 7504 rm -f conftest.err conftest.$ac_ext |
7477 fi | 7505 fi |
7478 echo "$as_me:7478: result: $ac_cv_header_gif_lib_h" >&5 | 7506 echo "$as_me:7506: result: $ac_cv_header_gif_lib_h" >&5 |
7479 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6 | 7507 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6 |
7480 if test $ac_cv_header_gif_lib_h = yes; then | 7508 if test $ac_cv_header_gif_lib_h = yes; then |
7481 echo "$as_me:7481: checking for DGifOpen in -lungif" >&5 | 7509 # EGifPutExtensionLast only exists from version libungif-4.1.0b1. |
7482 echo $ECHO_N "checking for DGifOpen in -lungif... $ECHO_C" >&6 | 7510 # Earlier versions can crash Emacs. |
7483 if test "${ac_cv_lib_ungif_DGifOpen+set}" = set; then | 7511 echo "$as_me:7511: checking for EGifPutExtensionLast in -lungif" >&5 |
7512 echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6 | |
7513 if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then | |
7484 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7514 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7485 else | 7515 else |
7486 ac_check_lib_save_LIBS=$LIBS | 7516 ac_check_lib_save_LIBS=$LIBS |
7487 LIBS="-lungif $LIBS" | 7517 LIBS="-lungif $LIBS" |
7488 cat >conftest.$ac_ext <<_ACEOF | 7518 cat >conftest.$ac_ext <<_ACEOF |
7489 #line 7489 "configure" | 7519 #line 7519 "configure" |
7490 #include "confdefs.h" | 7520 #include "confdefs.h" |
7491 | 7521 |
7492 /* Override any gcc2 internal prototype to avoid an error. */ | 7522 /* Override any gcc2 internal prototype to avoid an error. */ |
7493 #ifdef __cplusplus | 7523 #ifdef __cplusplus |
7494 extern "C" | 7524 extern "C" |
7495 #endif | 7525 #endif |
7496 /* We use char because int might match the return type of a gcc2 | 7526 /* We use char because int might match the return type of a gcc2 |
7497 builtin and then its argument prototype would still apply. */ | 7527 builtin and then its argument prototype would still apply. */ |
7498 char DGifOpen (); | 7528 char EGifPutExtensionLast (); |
7499 int | 7529 int |
7500 main () | 7530 main () |
7501 { | 7531 { |
7502 DGifOpen (); | 7532 EGifPutExtensionLast (); |
7503 ; | 7533 ; |
7504 return 0; | 7534 return 0; |
7505 } | 7535 } |
7506 _ACEOF | 7536 _ACEOF |
7507 rm -f conftest.$ac_objext conftest$ac_exeext | 7537 rm -f conftest.$ac_objext conftest$ac_exeext |
7508 if { (eval echo "$as_me:7508: \"$ac_link\"") >&5 | 7538 if { (eval echo "$as_me:7538: \"$ac_link\"") >&5 |
7509 (eval $ac_link) 2>&5 | 7539 (eval $ac_link) 2>&5 |
7510 ac_status=$? | 7540 ac_status=$? |
7511 echo "$as_me:7511: \$? = $ac_status" >&5 | 7541 echo "$as_me:7541: \$? = $ac_status" >&5 |
7512 (exit $ac_status); } && | 7542 (exit $ac_status); } && |
7513 { ac_try='test -s conftest$ac_exeext' | 7543 { ac_try='test -s conftest$ac_exeext' |
7514 { (eval echo "$as_me:7514: \"$ac_try\"") >&5 | 7544 { (eval echo "$as_me:7544: \"$ac_try\"") >&5 |
7515 (eval $ac_try) 2>&5 | 7545 (eval $ac_try) 2>&5 |
7516 ac_status=$? | 7546 ac_status=$? |
7517 echo "$as_me:7517: \$? = $ac_status" >&5 | 7547 echo "$as_me:7547: \$? = $ac_status" >&5 |
7518 (exit $ac_status); }; }; then | 7548 (exit $ac_status); }; }; then |
7519 ac_cv_lib_ungif_DGifOpen=yes | 7549 ac_cv_lib_ungif_EGifPutExtensionLast=yes |
7520 else | 7550 else |
7521 echo "$as_me: failed program was:" >&5 | 7551 echo "$as_me: failed program was:" >&5 |
7522 cat conftest.$ac_ext >&5 | 7552 cat conftest.$ac_ext >&5 |
7523 ac_cv_lib_ungif_DGifOpen=no | 7553 ac_cv_lib_ungif_EGifPutExtensionLast=no |
7524 fi | 7554 fi |
7525 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 7555 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7526 LIBS=$ac_check_lib_save_LIBS | 7556 LIBS=$ac_check_lib_save_LIBS |
7527 fi | 7557 fi |
7528 echo "$as_me:7528: result: $ac_cv_lib_ungif_DGifOpen" >&5 | 7558 echo "$as_me:7558: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5 |
7529 echo "${ECHO_T}$ac_cv_lib_ungif_DGifOpen" >&6 | 7559 echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6 |
7530 if test $ac_cv_lib_ungif_DGifOpen = yes; then | 7560 if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then |
7531 HAVE_GIF=yes | 7561 HAVE_GIF=yes |
7532 fi | 7562 fi |
7533 | 7563 |
7534 fi | 7564 fi |
7535 | 7565 |
7542 | 7572 |
7543 fi | 7573 fi |
7544 fi | 7574 fi |
7545 | 7575 |
7546 # If netdb.h doesn't declare h_errno, we must declare it by hand. | 7576 # If netdb.h doesn't declare h_errno, we must declare it by hand. |
7547 echo "$as_me:7547: checking whether netdb declares h_errno" >&5 | 7577 echo "$as_me:7577: checking whether netdb declares h_errno" >&5 |
7548 echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6 | 7578 echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6 |
7549 if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then | 7579 if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then |
7550 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7580 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7551 else | 7581 else |
7552 cat >conftest.$ac_ext <<_ACEOF | 7582 cat >conftest.$ac_ext <<_ACEOF |
7553 #line 7553 "configure" | 7583 #line 7583 "configure" |
7554 #include "confdefs.h" | 7584 #include "confdefs.h" |
7555 #include <netdb.h> | 7585 #include <netdb.h> |
7556 int | 7586 int |
7557 main () | 7587 main () |
7558 { | 7588 { |
7560 ; | 7590 ; |
7561 return 0; | 7591 return 0; |
7562 } | 7592 } |
7563 _ACEOF | 7593 _ACEOF |
7564 rm -f conftest.$ac_objext conftest$ac_exeext | 7594 rm -f conftest.$ac_objext conftest$ac_exeext |
7565 if { (eval echo "$as_me:7565: \"$ac_link\"") >&5 | 7595 if { (eval echo "$as_me:7595: \"$ac_link\"") >&5 |
7566 (eval $ac_link) 2>&5 | 7596 (eval $ac_link) 2>&5 |
7567 ac_status=$? | 7597 ac_status=$? |
7568 echo "$as_me:7568: \$? = $ac_status" >&5 | 7598 echo "$as_me:7598: \$? = $ac_status" >&5 |
7569 (exit $ac_status); } && | 7599 (exit $ac_status); } && |
7570 { ac_try='test -s conftest$ac_exeext' | 7600 { ac_try='test -s conftest$ac_exeext' |
7571 { (eval echo "$as_me:7571: \"$ac_try\"") >&5 | 7601 { (eval echo "$as_me:7601: \"$ac_try\"") >&5 |
7572 (eval $ac_try) 2>&5 | 7602 (eval $ac_try) 2>&5 |
7573 ac_status=$? | 7603 ac_status=$? |
7574 echo "$as_me:7574: \$? = $ac_status" >&5 | 7604 echo "$as_me:7604: \$? = $ac_status" >&5 |
7575 (exit $ac_status); }; }; then | 7605 (exit $ac_status); }; }; then |
7576 emacs_cv_netdb_declares_h_errno=yes | 7606 emacs_cv_netdb_declares_h_errno=yes |
7577 else | 7607 else |
7578 echo "$as_me: failed program was:" >&5 | 7608 echo "$as_me: failed program was:" >&5 |
7579 cat conftest.$ac_ext >&5 | 7609 cat conftest.$ac_ext >&5 |
7580 emacs_cv_netdb_declares_h_errno=no | 7610 emacs_cv_netdb_declares_h_errno=no |
7581 fi | 7611 fi |
7582 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 7612 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7583 fi | 7613 fi |
7584 echo "$as_me:7584: result: $emacs_cv_netdb_declares_h_errno" >&5 | 7614 echo "$as_me:7614: result: $emacs_cv_netdb_declares_h_errno" >&5 |
7585 echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6 | 7615 echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6 |
7586 if test $emacs_cv_netdb_declares_h_errno = yes; then | 7616 if test $emacs_cv_netdb_declares_h_errno = yes; then |
7587 cat >>confdefs.h <<\EOF | 7617 cat >>confdefs.h <<\EOF |
7588 #define HAVE_H_ERRNO 1 | 7618 #define HAVE_H_ERRNO 1 |
7589 EOF | 7619 EOF |
7590 | 7620 |
7591 fi | 7621 fi |
7592 | 7622 |
7593 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 7623 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
7594 # for constant arguments. Useless! | 7624 # for constant arguments. Useless! |
7595 echo "$as_me:7595: checking for working alloca.h" >&5 | 7625 echo "$as_me:7625: checking for working alloca.h" >&5 |
7596 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 | 7626 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 |
7597 if test "${ac_cv_working_alloca_h+set}" = set; then | 7627 if test "${ac_cv_working_alloca_h+set}" = set; then |
7598 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7628 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7599 else | 7629 else |
7600 cat >conftest.$ac_ext <<_ACEOF | 7630 cat >conftest.$ac_ext <<_ACEOF |
7601 #line 7601 "configure" | 7631 #line 7631 "configure" |
7602 #include "confdefs.h" | 7632 #include "confdefs.h" |
7603 #include <alloca.h> | 7633 #include <alloca.h> |
7604 int | 7634 int |
7605 main () | 7635 main () |
7606 { | 7636 { |
7608 ; | 7638 ; |
7609 return 0; | 7639 return 0; |
7610 } | 7640 } |
7611 _ACEOF | 7641 _ACEOF |
7612 rm -f conftest.$ac_objext conftest$ac_exeext | 7642 rm -f conftest.$ac_objext conftest$ac_exeext |
7613 if { (eval echo "$as_me:7613: \"$ac_link\"") >&5 | 7643 if { (eval echo "$as_me:7643: \"$ac_link\"") >&5 |
7614 (eval $ac_link) 2>&5 | 7644 (eval $ac_link) 2>&5 |
7615 ac_status=$? | 7645 ac_status=$? |
7616 echo "$as_me:7616: \$? = $ac_status" >&5 | 7646 echo "$as_me:7646: \$? = $ac_status" >&5 |
7617 (exit $ac_status); } && | 7647 (exit $ac_status); } && |
7618 { ac_try='test -s conftest$ac_exeext' | 7648 { ac_try='test -s conftest$ac_exeext' |
7619 { (eval echo "$as_me:7619: \"$ac_try\"") >&5 | 7649 { (eval echo "$as_me:7649: \"$ac_try\"") >&5 |
7620 (eval $ac_try) 2>&5 | 7650 (eval $ac_try) 2>&5 |
7621 ac_status=$? | 7651 ac_status=$? |
7622 echo "$as_me:7622: \$? = $ac_status" >&5 | 7652 echo "$as_me:7652: \$? = $ac_status" >&5 |
7623 (exit $ac_status); }; }; then | 7653 (exit $ac_status); }; }; then |
7624 ac_cv_working_alloca_h=yes | 7654 ac_cv_working_alloca_h=yes |
7625 else | 7655 else |
7626 echo "$as_me: failed program was:" >&5 | 7656 echo "$as_me: failed program was:" >&5 |
7627 cat conftest.$ac_ext >&5 | 7657 cat conftest.$ac_ext >&5 |
7628 ac_cv_working_alloca_h=no | 7658 ac_cv_working_alloca_h=no |
7629 fi | 7659 fi |
7630 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 7660 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7631 fi | 7661 fi |
7632 echo "$as_me:7632: result: $ac_cv_working_alloca_h" >&5 | 7662 echo "$as_me:7662: result: $ac_cv_working_alloca_h" >&5 |
7633 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 | 7663 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 |
7634 if test $ac_cv_working_alloca_h = yes; then | 7664 if test $ac_cv_working_alloca_h = yes; then |
7635 | 7665 |
7636 cat >>confdefs.h <<\EOF | 7666 cat >>confdefs.h <<\EOF |
7637 #define HAVE_ALLOCA_H 1 | 7667 #define HAVE_ALLOCA_H 1 |
7638 EOF | 7668 EOF |
7639 | 7669 |
7640 fi | 7670 fi |
7641 | 7671 |
7642 echo "$as_me:7642: checking for alloca" >&5 | 7672 echo "$as_me:7672: checking for alloca" >&5 |
7643 echo $ECHO_N "checking for alloca... $ECHO_C" >&6 | 7673 echo $ECHO_N "checking for alloca... $ECHO_C" >&6 |
7644 if test "${ac_cv_func_alloca_works+set}" = set; then | 7674 if test "${ac_cv_func_alloca_works+set}" = set; then |
7645 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7675 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7646 else | 7676 else |
7647 cat >conftest.$ac_ext <<_ACEOF | 7677 cat >conftest.$ac_ext <<_ACEOF |
7648 #line 7648 "configure" | 7678 #line 7678 "configure" |
7649 #include "confdefs.h" | 7679 #include "confdefs.h" |
7650 #ifdef __GNUC__ | 7680 #ifdef __GNUC__ |
7651 # define alloca __builtin_alloca | 7681 # define alloca __builtin_alloca |
7652 #else | 7682 #else |
7653 # ifdef _MSC_VER | 7683 # ifdef _MSC_VER |
7675 ; | 7705 ; |
7676 return 0; | 7706 return 0; |
7677 } | 7707 } |
7678 _ACEOF | 7708 _ACEOF |
7679 rm -f conftest.$ac_objext conftest$ac_exeext | 7709 rm -f conftest.$ac_objext conftest$ac_exeext |
7680 if { (eval echo "$as_me:7680: \"$ac_link\"") >&5 | 7710 if { (eval echo "$as_me:7710: \"$ac_link\"") >&5 |
7681 (eval $ac_link) 2>&5 | 7711 (eval $ac_link) 2>&5 |
7682 ac_status=$? | 7712 ac_status=$? |
7683 echo "$as_me:7683: \$? = $ac_status" >&5 | 7713 echo "$as_me:7713: \$? = $ac_status" >&5 |
7684 (exit $ac_status); } && | 7714 (exit $ac_status); } && |
7685 { ac_try='test -s conftest$ac_exeext' | 7715 { ac_try='test -s conftest$ac_exeext' |
7686 { (eval echo "$as_me:7686: \"$ac_try\"") >&5 | 7716 { (eval echo "$as_me:7716: \"$ac_try\"") >&5 |
7687 (eval $ac_try) 2>&5 | 7717 (eval $ac_try) 2>&5 |
7688 ac_status=$? | 7718 ac_status=$? |
7689 echo "$as_me:7689: \$? = $ac_status" >&5 | 7719 echo "$as_me:7719: \$? = $ac_status" >&5 |
7690 (exit $ac_status); }; }; then | 7720 (exit $ac_status); }; }; then |
7691 ac_cv_func_alloca_works=yes | 7721 ac_cv_func_alloca_works=yes |
7692 else | 7722 else |
7693 echo "$as_me: failed program was:" >&5 | 7723 echo "$as_me: failed program was:" >&5 |
7694 cat conftest.$ac_ext >&5 | 7724 cat conftest.$ac_ext >&5 |
7695 ac_cv_func_alloca_works=no | 7725 ac_cv_func_alloca_works=no |
7696 fi | 7726 fi |
7697 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 7727 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7698 fi | 7728 fi |
7699 echo "$as_me:7699: result: $ac_cv_func_alloca_works" >&5 | 7729 echo "$as_me:7729: result: $ac_cv_func_alloca_works" >&5 |
7700 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 | 7730 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 |
7701 | 7731 |
7702 if test $ac_cv_func_alloca_works = yes; then | 7732 if test $ac_cv_func_alloca_works = yes; then |
7703 | 7733 |
7704 cat >>confdefs.h <<\EOF | 7734 cat >>confdefs.h <<\EOF |
7715 | 7745 |
7716 cat >>confdefs.h <<\EOF | 7746 cat >>confdefs.h <<\EOF |
7717 #define C_ALLOCA 1 | 7747 #define C_ALLOCA 1 |
7718 EOF | 7748 EOF |
7719 | 7749 |
7720 echo "$as_me:7720: checking whether \`alloca.c' needs Cray hooks" >&5 | 7750 echo "$as_me:7750: checking whether \`alloca.c' needs Cray hooks" >&5 |
7721 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 | 7751 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 |
7722 if test "${ac_cv_os_cray+set}" = set; then | 7752 if test "${ac_cv_os_cray+set}" = set; then |
7723 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7753 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7724 else | 7754 else |
7725 cat >conftest.$ac_ext <<_ACEOF | 7755 cat >conftest.$ac_ext <<_ACEOF |
7726 #line 7726 "configure" | 7756 #line 7756 "configure" |
7727 #include "confdefs.h" | 7757 #include "confdefs.h" |
7728 #if defined(CRAY) && ! defined(CRAY2) | 7758 #if defined(CRAY) && ! defined(CRAY2) |
7729 webecray | 7759 webecray |
7730 #else | 7760 #else |
7731 wenotbecray | 7761 wenotbecray |
7739 ac_cv_os_cray=no | 7769 ac_cv_os_cray=no |
7740 fi | 7770 fi |
7741 rm -f conftest* | 7771 rm -f conftest* |
7742 | 7772 |
7743 fi | 7773 fi |
7744 echo "$as_me:7744: result: $ac_cv_os_cray" >&5 | 7774 echo "$as_me:7774: result: $ac_cv_os_cray" >&5 |
7745 echo "${ECHO_T}$ac_cv_os_cray" >&6 | 7775 echo "${ECHO_T}$ac_cv_os_cray" >&6 |
7746 if test $ac_cv_os_cray = yes; then | 7776 if test $ac_cv_os_cray = yes; then |
7747 for ac_func in _getb67 GETB67 getb67; do | 7777 for ac_func in _getb67 GETB67 getb67; do |
7748 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 7778 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
7749 echo "$as_me:7749: checking for $ac_func" >&5 | 7779 echo "$as_me:7779: checking for $ac_func" >&5 |
7750 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 7780 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
7751 if eval "test \"\${$as_ac_var+set}\" = set"; then | 7781 if eval "test \"\${$as_ac_var+set}\" = set"; then |
7752 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7782 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7753 else | 7783 else |
7754 cat >conftest.$ac_ext <<_ACEOF | 7784 cat >conftest.$ac_ext <<_ACEOF |
7755 #line 7755 "configure" | 7785 #line 7785 "configure" |
7756 #include "confdefs.h" | 7786 #include "confdefs.h" |
7757 /* System header to define __stub macros and hopefully few prototypes, | 7787 /* System header to define __stub macros and hopefully few prototypes, |
7758 which can conflict with char $ac_func (); below. */ | 7788 which can conflict with char $ac_func (); below. */ |
7759 #include <assert.h> | 7789 #include <assert.h> |
7760 /* Override any gcc2 internal prototype to avoid an error. */ | 7790 /* Override any gcc2 internal prototype to avoid an error. */ |
7781 ; | 7811 ; |
7782 return 0; | 7812 return 0; |
7783 } | 7813 } |
7784 _ACEOF | 7814 _ACEOF |
7785 rm -f conftest.$ac_objext conftest$ac_exeext | 7815 rm -f conftest.$ac_objext conftest$ac_exeext |
7786 if { (eval echo "$as_me:7786: \"$ac_link\"") >&5 | 7816 if { (eval echo "$as_me:7816: \"$ac_link\"") >&5 |
7787 (eval $ac_link) 2>&5 | 7817 (eval $ac_link) 2>&5 |
7788 ac_status=$? | 7818 ac_status=$? |
7789 echo "$as_me:7789: \$? = $ac_status" >&5 | 7819 echo "$as_me:7819: \$? = $ac_status" >&5 |
7790 (exit $ac_status); } && | 7820 (exit $ac_status); } && |
7791 { ac_try='test -s conftest$ac_exeext' | 7821 { ac_try='test -s conftest$ac_exeext' |
7792 { (eval echo "$as_me:7792: \"$ac_try\"") >&5 | 7822 { (eval echo "$as_me:7822: \"$ac_try\"") >&5 |
7793 (eval $ac_try) 2>&5 | 7823 (eval $ac_try) 2>&5 |
7794 ac_status=$? | 7824 ac_status=$? |
7795 echo "$as_me:7795: \$? = $ac_status" >&5 | 7825 echo "$as_me:7825: \$? = $ac_status" >&5 |
7796 (exit $ac_status); }; }; then | 7826 (exit $ac_status); }; }; then |
7797 eval "$as_ac_var=yes" | 7827 eval "$as_ac_var=yes" |
7798 else | 7828 else |
7799 echo "$as_me: failed program was:" >&5 | 7829 echo "$as_me: failed program was:" >&5 |
7800 cat conftest.$ac_ext >&5 | 7830 cat conftest.$ac_ext >&5 |
7801 eval "$as_ac_var=no" | 7831 eval "$as_ac_var=no" |
7802 fi | 7832 fi |
7803 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 7833 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7804 fi | 7834 fi |
7805 echo "$as_me:7805: result: `eval echo '${'$as_ac_var'}'`" >&5 | 7835 echo "$as_me:7835: result: `eval echo '${'$as_ac_var'}'`" >&5 |
7806 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 7836 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
7807 if test `eval echo '${'$as_ac_var'}'` = yes; then | 7837 if test `eval echo '${'$as_ac_var'}'` = yes; then |
7808 | 7838 |
7809 cat >>confdefs.h <<EOF | 7839 cat >>confdefs.h <<EOF |
7810 #define CRAY_STACKSEG_END $ac_func | 7840 #define CRAY_STACKSEG_END $ac_func |
7814 fi | 7844 fi |
7815 | 7845 |
7816 done | 7846 done |
7817 fi | 7847 fi |
7818 | 7848 |
7819 echo "$as_me:7819: checking stack direction for C alloca" >&5 | 7849 echo "$as_me:7849: checking stack direction for C alloca" >&5 |
7820 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 | 7850 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 |
7821 if test "${ac_cv_c_stack_direction+set}" = set; then | 7851 if test "${ac_cv_c_stack_direction+set}" = set; then |
7822 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7852 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7823 else | 7853 else |
7824 if test "$cross_compiling" = yes; then | 7854 if test "$cross_compiling" = yes; then |
7825 ac_cv_c_stack_direction=0 | 7855 ac_cv_c_stack_direction=0 |
7826 else | 7856 else |
7827 cat >conftest.$ac_ext <<_ACEOF | 7857 cat >conftest.$ac_ext <<_ACEOF |
7828 #line 7828 "configure" | 7858 #line 7858 "configure" |
7829 #include "confdefs.h" | 7859 #include "confdefs.h" |
7830 int | 7860 int |
7831 find_stack_direction () | 7861 find_stack_direction () |
7832 { | 7862 { |
7833 static char *addr = 0; | 7863 static char *addr = 0; |
7846 { | 7876 { |
7847 exit (find_stack_direction () < 0); | 7877 exit (find_stack_direction () < 0); |
7848 } | 7878 } |
7849 _ACEOF | 7879 _ACEOF |
7850 rm -f conftest$ac_exeext | 7880 rm -f conftest$ac_exeext |
7851 if { (eval echo "$as_me:7851: \"$ac_link\"") >&5 | 7881 if { (eval echo "$as_me:7881: \"$ac_link\"") >&5 |
7852 (eval $ac_link) 2>&5 | 7882 (eval $ac_link) 2>&5 |
7853 ac_status=$? | 7883 ac_status=$? |
7854 echo "$as_me:7854: \$? = $ac_status" >&5 | 7884 echo "$as_me:7884: \$? = $ac_status" >&5 |
7855 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 7885 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
7856 { (eval echo "$as_me:7856: \"$ac_try\"") >&5 | 7886 { (eval echo "$as_me:7886: \"$ac_try\"") >&5 |
7857 (eval $ac_try) 2>&5 | 7887 (eval $ac_try) 2>&5 |
7858 ac_status=$? | 7888 ac_status=$? |
7859 echo "$as_me:7859: \$? = $ac_status" >&5 | 7889 echo "$as_me:7889: \$? = $ac_status" >&5 |
7860 (exit $ac_status); }; }; then | 7890 (exit $ac_status); }; }; then |
7861 ac_cv_c_stack_direction=1 | 7891 ac_cv_c_stack_direction=1 |
7862 else | 7892 else |
7863 echo "$as_me: program exited with status $ac_status" >&5 | 7893 echo "$as_me: program exited with status $ac_status" >&5 |
7864 echo "$as_me: failed program was:" >&5 | 7894 echo "$as_me: failed program was:" >&5 |
7866 ac_cv_c_stack_direction=-1 | 7896 ac_cv_c_stack_direction=-1 |
7867 fi | 7897 fi |
7868 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 7898 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
7869 fi | 7899 fi |
7870 fi | 7900 fi |
7871 echo "$as_me:7871: result: $ac_cv_c_stack_direction" >&5 | 7901 echo "$as_me:7901: result: $ac_cv_c_stack_direction" >&5 |
7872 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 | 7902 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 |
7873 | 7903 |
7874 cat >>confdefs.h <<EOF | 7904 cat >>confdefs.h <<EOF |
7875 #define STACK_DIRECTION $ac_cv_c_stack_direction | 7905 #define STACK_DIRECTION $ac_cv_c_stack_direction |
7876 EOF | 7906 EOF |
7878 fi | 7908 fi |
7879 | 7909 |
7880 # fmod, logb, and frexp are found in -lm on most systems. | 7910 # fmod, logb, and frexp are found in -lm on most systems. |
7881 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. | 7911 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. |
7882 | 7912 |
7883 echo "$as_me:7883: checking for sqrt in -lm" >&5 | 7913 echo "$as_me:7913: checking for sqrt in -lm" >&5 |
7884 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6 | 7914 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6 |
7885 if test "${ac_cv_lib_m_sqrt+set}" = set; then | 7915 if test "${ac_cv_lib_m_sqrt+set}" = set; then |
7886 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7916 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7887 else | 7917 else |
7888 ac_check_lib_save_LIBS=$LIBS | 7918 ac_check_lib_save_LIBS=$LIBS |
7889 LIBS="-lm $LIBS" | 7919 LIBS="-lm $LIBS" |
7890 cat >conftest.$ac_ext <<_ACEOF | 7920 cat >conftest.$ac_ext <<_ACEOF |
7891 #line 7891 "configure" | 7921 #line 7921 "configure" |
7892 #include "confdefs.h" | 7922 #include "confdefs.h" |
7893 | 7923 |
7894 /* Override any gcc2 internal prototype to avoid an error. */ | 7924 /* Override any gcc2 internal prototype to avoid an error. */ |
7895 #ifdef __cplusplus | 7925 #ifdef __cplusplus |
7896 extern "C" | 7926 extern "C" |
7905 ; | 7935 ; |
7906 return 0; | 7936 return 0; |
7907 } | 7937 } |
7908 _ACEOF | 7938 _ACEOF |
7909 rm -f conftest.$ac_objext conftest$ac_exeext | 7939 rm -f conftest.$ac_objext conftest$ac_exeext |
7910 if { (eval echo "$as_me:7910: \"$ac_link\"") >&5 | 7940 if { (eval echo "$as_me:7940: \"$ac_link\"") >&5 |
7911 (eval $ac_link) 2>&5 | 7941 (eval $ac_link) 2>&5 |
7912 ac_status=$? | 7942 ac_status=$? |
7913 echo "$as_me:7913: \$? = $ac_status" >&5 | 7943 echo "$as_me:7943: \$? = $ac_status" >&5 |
7914 (exit $ac_status); } && | 7944 (exit $ac_status); } && |
7915 { ac_try='test -s conftest$ac_exeext' | 7945 { ac_try='test -s conftest$ac_exeext' |
7916 { (eval echo "$as_me:7916: \"$ac_try\"") >&5 | 7946 { (eval echo "$as_me:7946: \"$ac_try\"") >&5 |
7917 (eval $ac_try) 2>&5 | 7947 (eval $ac_try) 2>&5 |
7918 ac_status=$? | 7948 ac_status=$? |
7919 echo "$as_me:7919: \$? = $ac_status" >&5 | 7949 echo "$as_me:7949: \$? = $ac_status" >&5 |
7920 (exit $ac_status); }; }; then | 7950 (exit $ac_status); }; }; then |
7921 ac_cv_lib_m_sqrt=yes | 7951 ac_cv_lib_m_sqrt=yes |
7922 else | 7952 else |
7923 echo "$as_me: failed program was:" >&5 | 7953 echo "$as_me: failed program was:" >&5 |
7924 cat conftest.$ac_ext >&5 | 7954 cat conftest.$ac_ext >&5 |
7925 ac_cv_lib_m_sqrt=no | 7955 ac_cv_lib_m_sqrt=no |
7926 fi | 7956 fi |
7927 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 7957 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7928 LIBS=$ac_check_lib_save_LIBS | 7958 LIBS=$ac_check_lib_save_LIBS |
7929 fi | 7959 fi |
7930 echo "$as_me:7930: result: $ac_cv_lib_m_sqrt" >&5 | 7960 echo "$as_me:7960: result: $ac_cv_lib_m_sqrt" >&5 |
7931 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6 | 7961 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6 |
7932 if test $ac_cv_lib_m_sqrt = yes; then | 7962 if test $ac_cv_lib_m_sqrt = yes; then |
7933 cat >>confdefs.h <<EOF | 7963 cat >>confdefs.h <<EOF |
7934 #define HAVE_LIBM 1 | 7964 #define HAVE_LIBM 1 |
7935 EOF | 7965 EOF |
7938 | 7968 |
7939 fi | 7969 fi |
7940 | 7970 |
7941 # Check for mail-locking functions in a "mail" library | 7971 # Check for mail-locking functions in a "mail" library |
7942 | 7972 |
7943 echo "$as_me:7943: checking for maillock in -lmail" >&5 | 7973 echo "$as_me:7973: checking for maillock in -lmail" >&5 |
7944 echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6 | 7974 echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6 |
7945 if test "${ac_cv_lib_mail_maillock+set}" = set; then | 7975 if test "${ac_cv_lib_mail_maillock+set}" = set; then |
7946 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7976 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7947 else | 7977 else |
7948 ac_check_lib_save_LIBS=$LIBS | 7978 ac_check_lib_save_LIBS=$LIBS |
7949 LIBS="-lmail $LIBS" | 7979 LIBS="-lmail $LIBS" |
7950 cat >conftest.$ac_ext <<_ACEOF | 7980 cat >conftest.$ac_ext <<_ACEOF |
7951 #line 7951 "configure" | 7981 #line 7981 "configure" |
7952 #include "confdefs.h" | 7982 #include "confdefs.h" |
7953 | 7983 |
7954 /* Override any gcc2 internal prototype to avoid an error. */ | 7984 /* Override any gcc2 internal prototype to avoid an error. */ |
7955 #ifdef __cplusplus | 7985 #ifdef __cplusplus |
7956 extern "C" | 7986 extern "C" |
7965 ; | 7995 ; |
7966 return 0; | 7996 return 0; |
7967 } | 7997 } |
7968 _ACEOF | 7998 _ACEOF |
7969 rm -f conftest.$ac_objext conftest$ac_exeext | 7999 rm -f conftest.$ac_objext conftest$ac_exeext |
7970 if { (eval echo "$as_me:7970: \"$ac_link\"") >&5 | 8000 if { (eval echo "$as_me:8000: \"$ac_link\"") >&5 |
7971 (eval $ac_link) 2>&5 | 8001 (eval $ac_link) 2>&5 |
7972 ac_status=$? | 8002 ac_status=$? |
7973 echo "$as_me:7973: \$? = $ac_status" >&5 | 8003 echo "$as_me:8003: \$? = $ac_status" >&5 |
7974 (exit $ac_status); } && | 8004 (exit $ac_status); } && |
7975 { ac_try='test -s conftest$ac_exeext' | 8005 { ac_try='test -s conftest$ac_exeext' |
7976 { (eval echo "$as_me:7976: \"$ac_try\"") >&5 | 8006 { (eval echo "$as_me:8006: \"$ac_try\"") >&5 |
7977 (eval $ac_try) 2>&5 | 8007 (eval $ac_try) 2>&5 |
7978 ac_status=$? | 8008 ac_status=$? |
7979 echo "$as_me:7979: \$? = $ac_status" >&5 | 8009 echo "$as_me:8009: \$? = $ac_status" >&5 |
7980 (exit $ac_status); }; }; then | 8010 (exit $ac_status); }; }; then |
7981 ac_cv_lib_mail_maillock=yes | 8011 ac_cv_lib_mail_maillock=yes |
7982 else | 8012 else |
7983 echo "$as_me: failed program was:" >&5 | 8013 echo "$as_me: failed program was:" >&5 |
7984 cat conftest.$ac_ext >&5 | 8014 cat conftest.$ac_ext >&5 |
7985 ac_cv_lib_mail_maillock=no | 8015 ac_cv_lib_mail_maillock=no |
7986 fi | 8016 fi |
7987 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 8017 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7988 LIBS=$ac_check_lib_save_LIBS | 8018 LIBS=$ac_check_lib_save_LIBS |
7989 fi | 8019 fi |
7990 echo "$as_me:7990: result: $ac_cv_lib_mail_maillock" >&5 | 8020 echo "$as_me:8020: result: $ac_cv_lib_mail_maillock" >&5 |
7991 echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6 | 8021 echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6 |
7992 if test $ac_cv_lib_mail_maillock = yes; then | 8022 if test $ac_cv_lib_mail_maillock = yes; then |
7993 cat >>confdefs.h <<EOF | 8023 cat >>confdefs.h <<EOF |
7994 #define HAVE_LIBMAIL 1 | 8024 #define HAVE_LIBMAIL 1 |
7995 EOF | 8025 EOF |
7996 | 8026 |
7997 LIBS="-lmail $LIBS" | 8027 LIBS="-lmail $LIBS" |
7998 | 8028 |
7999 fi | 8029 fi |
8000 | 8030 |
8001 echo "$as_me:8001: checking for maillock in -llockfile" >&5 | 8031 echo "$as_me:8031: checking for maillock in -llockfile" >&5 |
8002 echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6 | 8032 echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6 |
8003 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then | 8033 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then |
8004 echo $ECHO_N "(cached) $ECHO_C" >&6 | 8034 echo $ECHO_N "(cached) $ECHO_C" >&6 |
8005 else | 8035 else |
8006 ac_check_lib_save_LIBS=$LIBS | 8036 ac_check_lib_save_LIBS=$LIBS |
8007 LIBS="-llockfile $LIBS" | 8037 LIBS="-llockfile $LIBS" |
8008 cat >conftest.$ac_ext <<_ACEOF | 8038 cat >conftest.$ac_ext <<_ACEOF |
8009 #line 8009 "configure" | 8039 #line 8039 "configure" |
8010 #include "confdefs.h" | 8040 #include "confdefs.h" |
8011 | 8041 |
8012 /* Override any gcc2 internal prototype to avoid an error. */ | 8042 /* Override any gcc2 internal prototype to avoid an error. */ |
8013 #ifdef __cplusplus | 8043 #ifdef __cplusplus |
8014 extern "C" | 8044 extern "C" |
8023 ; | 8053 ; |
8024 return 0; | 8054 return 0; |
8025 } | 8055 } |
8026 _ACEOF | 8056 _ACEOF |
8027 rm -f conftest.$ac_objext conftest$ac_exeext | 8057 rm -f conftest.$ac_objext conftest$ac_exeext |
8028 if { (eval echo "$as_me:8028: \"$ac_link\"") >&5 | 8058 if { (eval echo "$as_me:8058: \"$ac_link\"") >&5 |
8029 (eval $ac_link) 2>&5 | 8059 (eval $ac_link) 2>&5 |
8030 ac_status=$? | 8060 ac_status=$? |
8031 echo "$as_me:8031: \$? = $ac_status" >&5 | 8061 echo "$as_me:8061: \$? = $ac_status" >&5 |
8032 (exit $ac_status); } && | 8062 (exit $ac_status); } && |
8033 { ac_try='test -s conftest$ac_exeext' | 8063 { ac_try='test -s conftest$ac_exeext' |
8034 { (eval echo "$as_me:8034: \"$ac_try\"") >&5 | 8064 { (eval echo "$as_me:8064: \"$ac_try\"") >&5 |
8035 (eval $ac_try) 2>&5 | 8065 (eval $ac_try) 2>&5 |
8036 ac_status=$? | 8066 ac_status=$? |
8037 echo "$as_me:8037: \$? = $ac_status" >&5 | 8067 echo "$as_me:8067: \$? = $ac_status" >&5 |
8038 (exit $ac_status); }; }; then | 8068 (exit $ac_status); }; }; then |
8039 ac_cv_lib_lockfile_maillock=yes | 8069 ac_cv_lib_lockfile_maillock=yes |
8040 else | 8070 else |
8041 echo "$as_me: failed program was:" >&5 | 8071 echo "$as_me: failed program was:" >&5 |
8042 cat conftest.$ac_ext >&5 | 8072 cat conftest.$ac_ext >&5 |
8043 ac_cv_lib_lockfile_maillock=no | 8073 ac_cv_lib_lockfile_maillock=no |
8044 fi | 8074 fi |
8045 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 8075 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8046 LIBS=$ac_check_lib_save_LIBS | 8076 LIBS=$ac_check_lib_save_LIBS |
8047 fi | 8077 fi |
8048 echo "$as_me:8048: result: $ac_cv_lib_lockfile_maillock" >&5 | 8078 echo "$as_me:8078: result: $ac_cv_lib_lockfile_maillock" >&5 |
8049 echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6 | 8079 echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6 |
8050 if test $ac_cv_lib_lockfile_maillock = yes; then | 8080 if test $ac_cv_lib_lockfile_maillock = yes; then |
8051 cat >>confdefs.h <<EOF | 8081 cat >>confdefs.h <<EOF |
8052 #define HAVE_LIBLOCKFILE 1 | 8082 #define HAVE_LIBLOCKFILE 1 |
8053 EOF | 8083 EOF |
8060 # locking (e.g. Debian). If we couldn't link against liblockfile | 8090 # locking (e.g. Debian). If we couldn't link against liblockfile |
8061 # (no liblockfile.a installed), ensure that we don't need to. | 8091 # (no liblockfile.a installed), ensure that we don't need to. |
8062 if test "$ac_cv_lib_lockfile_maillock" = no; then | 8092 if test "$ac_cv_lib_lockfile_maillock" = no; then |
8063 # Extract the first word of "liblockfile.so", so it can be a program name with args. | 8093 # Extract the first word of "liblockfile.so", so it can be a program name with args. |
8064 set dummy liblockfile.so; ac_word=$2 | 8094 set dummy liblockfile.so; ac_word=$2 |
8065 echo "$as_me:8065: checking for $ac_word" >&5 | 8095 echo "$as_me:8095: checking for $ac_word" >&5 |
8066 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 8096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
8067 if test "${ac_cv_prog_liblockfile+set}" = set; then | 8097 if test "${ac_cv_prog_liblockfile+set}" = set; then |
8068 echo $ECHO_N "(cached) $ECHO_C" >&6 | 8098 echo $ECHO_N "(cached) $ECHO_C" >&6 |
8069 else | 8099 else |
8070 if test -n "$liblockfile"; then | 8100 if test -n "$liblockfile"; then |
8075 for ac_dir in $ac_dummy; do | 8105 for ac_dir in $ac_dummy; do |
8076 IFS=$ac_save_IFS | 8106 IFS=$ac_save_IFS |
8077 test -z "$ac_dir" && ac_dir=. | 8107 test -z "$ac_dir" && ac_dir=. |
8078 $as_executable_p "$ac_dir/$ac_word" || continue | 8108 $as_executable_p "$ac_dir/$ac_word" || continue |
8079 ac_cv_prog_liblockfile="yes" | 8109 ac_cv_prog_liblockfile="yes" |
8080 echo "$as_me:8080: found $ac_dir/$ac_word" >&5 | 8110 echo "$as_me:8110: found $ac_dir/$ac_word" >&5 |
8081 break | 8111 break |
8082 done | 8112 done |
8083 | 8113 |
8084 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no" | 8114 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no" |
8085 fi | 8115 fi |
8086 fi | 8116 fi |
8087 liblockfile=$ac_cv_prog_liblockfile | 8117 liblockfile=$ac_cv_prog_liblockfile |
8088 if test -n "$liblockfile"; then | 8118 if test -n "$liblockfile"; then |
8089 echo "$as_me:8089: result: $liblockfile" >&5 | 8119 echo "$as_me:8119: result: $liblockfile" >&5 |
8090 echo "${ECHO_T}$liblockfile" >&6 | 8120 echo "${ECHO_T}$liblockfile" >&6 |
8091 else | 8121 else |
8092 echo "$as_me:8092: result: no" >&5 | 8122 echo "$as_me:8122: result: no" >&5 |
8093 echo "${ECHO_T}no" >&6 | 8123 echo "${ECHO_T}no" >&6 |
8094 fi | 8124 fi |
8095 | 8125 |
8096 if test $ac_cv_prog_liblockfile = yes; then | 8126 if test $ac_cv_prog_liblockfile = yes; then |
8097 { { echo "$as_me:8097: error: Shared liblockfile found but can't link against it. | 8127 { { echo "$as_me:8127: error: Shared liblockfile found but can't link against it. |
8098 This probably means that movemail could lose mail. | 8128 This probably means that movemail could lose mail. |
8099 There may be a \`development' package to install containing liblockfile." >&5 | 8129 There may be a \`development' package to install containing liblockfile." >&5 |
8100 echo "$as_me: error: Shared liblockfile found but can't link against it. | 8130 echo "$as_me: error: Shared liblockfile found but can't link against it. |
8101 This probably means that movemail could lose mail. | 8131 This probably means that movemail could lose mail. |
8102 There may be a \`development' package to install containing liblockfile." >&2;} | 8132 There may be a \`development' package to install containing liblockfile." >&2;} |
8110 fi | 8140 fi |
8111 | 8141 |
8112 for ac_func in touchlock | 8142 for ac_func in touchlock |
8113 do | 8143 do |
8114 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 8144 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
8115 echo "$as_me:8115: checking for $ac_func" >&5 | 8145 echo "$as_me:8145: checking for $ac_func" >&5 |
8116 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 8146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
8117 if eval "test \"\${$as_ac_var+set}\" = set"; then | 8147 if eval "test \"\${$as_ac_var+set}\" = set"; then |
8118 echo $ECHO_N "(cached) $ECHO_C" >&6 | 8148 echo $ECHO_N "(cached) $ECHO_C" >&6 |
8119 else | 8149 else |
8120 cat >conftest.$ac_ext <<_ACEOF | 8150 cat >conftest.$ac_ext <<_ACEOF |
8121 #line 8121 "configure" | 8151 #line 8151 "configure" |
8122 #include "confdefs.h" | 8152 #include "confdefs.h" |
8123 /* System header to define __stub macros and hopefully few prototypes, | 8153 /* System header to define __stub macros and hopefully few prototypes, |
8124 which can conflict with char $ac_func (); below. */ | 8154 which can conflict with char $ac_func (); below. */ |
8125 #include <assert.h> | 8155 #include <assert.h> |
8126 /* Override any gcc2 internal prototype to avoid an error. */ | 8156 /* Override any gcc2 internal prototype to avoid an error. */ |
8147 ; | 8177 ; |
8148 return 0; | 8178 return 0; |
8149 } | 8179 } |
8150 _ACEOF | 8180 _ACEOF |
8151 rm -f conftest.$ac_objext conftest$ac_exeext | 8181 rm -f conftest.$ac_objext conftest$ac_exeext |
8152 if { (eval echo "$as_me:8152: \"$ac_link\"") >&5 | 8182 if { (eval echo "$as_me:8182: \"$ac_link\"") >&5 |
8153 (eval $ac_link) 2>&5 | 8183 (eval $ac_link) 2>&5 |
8154 ac_status=$? | 8184 ac_status=$? |
8155 echo "$as_me:8155: \$? = $ac_status" >&5 | 8185 echo "$as_me:8185: \$? = $ac_status" >&5 |
8156 (exit $ac_status); } && | 8186 (exit $ac_status); } && |
8157 { ac_try='test -s conftest$ac_exeext' | 8187 { ac_try='test -s conftest$ac_exeext' |
8158 { (eval echo "$as_me:8158: \"$ac_try\"") >&5 | 8188 { (eval echo "$as_me:8188: \"$ac_try\"") >&5 |
8159 (eval $ac_try) 2>&5 | 8189 (eval $ac_try) 2>&5 |
8160 ac_status=$? | 8190 ac_status=$? |
8161 echo "$as_me:8161: \$? = $ac_status" >&5 | 8191 echo "$as_me:8191: \$? = $ac_status" >&5 |
8162 (exit $ac_status); }; }; then | 8192 (exit $ac_status); }; }; then |
8163 eval "$as_ac_var=yes" | 8193 eval "$as_ac_var=yes" |
8164 else | 8194 else |
8165 echo "$as_me: failed program was:" >&5 | 8195 echo "$as_me: failed program was:" >&5 |
8166 cat conftest.$ac_ext >&5 | 8196 cat conftest.$ac_ext >&5 |
8167 eval "$as_ac_var=no" | 8197 eval "$as_ac_var=no" |
8168 fi | 8198 fi |
8169 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 8199 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8170 fi | 8200 fi |
8171 echo "$as_me:8171: result: `eval echo '${'$as_ac_var'}'`" >&5 | 8201 echo "$as_me:8201: result: `eval echo '${'$as_ac_var'}'`" >&5 |
8172 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 8202 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
8173 if test `eval echo '${'$as_ac_var'}'` = yes; then | 8203 if test `eval echo '${'$as_ac_var'}'` = yes; then |
8174 cat >>confdefs.h <<EOF | 8204 cat >>confdefs.h <<EOF |
8175 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 8205 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
8176 EOF | 8206 EOF |
8179 done | 8209 done |
8180 | 8210 |
8181 for ac_header in maillock.h | 8211 for ac_header in maillock.h |
8182 do | 8212 do |
8183 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 8213 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
8184 echo "$as_me:8184: checking for $ac_header" >&5 | 8214 echo "$as_me:8214: checking for $ac_header" >&5 |
8185 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 8215 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
8186 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 8216 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
8187 echo $ECHO_N "(cached) $ECHO_C" >&6 | 8217 echo $ECHO_N "(cached) $ECHO_C" >&6 |
8188 else | 8218 else |
8189 cat >conftest.$ac_ext <<_ACEOF | 8219 cat >conftest.$ac_ext <<_ACEOF |
8190 #line 8190 "configure" | 8220 #line 8220 "configure" |
8191 #include "confdefs.h" | 8221 #include "confdefs.h" |
8192 #include <$ac_header> | 8222 #include <$ac_header> |
8193 _ACEOF | 8223 _ACEOF |
8194 if { (eval echo "$as_me:8194: \"$ac_cpp conftest.$ac_ext\"") >&5 | 8224 if { (eval echo "$as_me:8224: \"$ac_cpp conftest.$ac_ext\"") >&5 |
8195 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 8225 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
8196 ac_status=$? | 8226 ac_status=$? |
8197 egrep -v '^ *\+' conftest.er1 >conftest.err | 8227 egrep -v '^ *\+' conftest.er1 >conftest.err |
8198 rm -f conftest.er1 | 8228 rm -f conftest.er1 |
8199 cat conftest.err >&5 | 8229 cat conftest.err >&5 |
8200 echo "$as_me:8200: \$? = $ac_status" >&5 | 8230 echo "$as_me:8230: \$? = $ac_status" >&5 |
8201 (exit $ac_status); } >/dev/null; then | 8231 (exit $ac_status); } >/dev/null; then |
8202 if test -s conftest.err; then | 8232 if test -s conftest.err; then |
8203 ac_cpp_err=$ac_c_preproc_warn_flag | 8233 ac_cpp_err=$ac_c_preproc_warn_flag |
8204 else | 8234 else |
8205 ac_cpp_err= | 8235 ac_cpp_err= |
8214 cat conftest.$ac_ext >&5 | 8244 cat conftest.$ac_ext >&5 |
8215 eval "$as_ac_Header=no" | 8245 eval "$as_ac_Header=no" |
8216 fi | 8246 fi |
8217 rm -f conftest.err conftest.$ac_ext | 8247 rm -f conftest.err conftest.$ac_ext |
8218 fi | 8248 fi |
8219 echo "$as_me:8219: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 8249 echo "$as_me:8249: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
8220 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 8250 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
8221 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 8251 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
8222 cat >>confdefs.h <<EOF | 8252 cat >>confdefs.h <<EOF |
8223 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 8253 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
8224 EOF | 8254 EOF |
8233 utimes setrlimit setpgid getcwd getwd shutdown strftime getaddrinfo \ | 8263 utimes setrlimit setpgid getcwd getwd shutdown strftime getaddrinfo \ |
8234 __fpending mblen mbrlen mbsinit strsignal setitimer ualarm index rindex \ | 8264 __fpending mblen mbrlen mbsinit strsignal setitimer ualarm index rindex \ |
8235 gai_strerror mkstemp | 8265 gai_strerror mkstemp |
8236 do | 8266 do |
8237 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 8267 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
8238 echo "$as_me:8238: checking for $ac_func" >&5 | 8268 echo "$as_me:8268: checking for $ac_func" >&5 |
8239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 8269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
8240 if eval "test \"\${$as_ac_var+set}\" = set"; then | 8270 if eval "test \"\${$as_ac_var+set}\" = set"; then |
8241 echo $ECHO_N "(cached) $ECHO_C" >&6 | 8271 echo $ECHO_N "(cached) $ECHO_C" >&6 |
8242 else | 8272 else |
8243 cat >conftest.$ac_ext <<_ACEOF | 8273 cat >conftest.$ac_ext <<_ACEOF |
8244 #line 8244 "configure" | 8274 #line 8274 "configure" |
8245 #include "confdefs.h" | 8275 #include "confdefs.h" |
8246 /* System header to define __stub macros and hopefully few prototypes, | 8276 /* System header to define __stub macros and hopefully few prototypes, |
8247 which can conflict with char $ac_func (); below. */ | 8277 which can conflict with char $ac_func (); below. */ |
8248 #include <assert.h> | 8278 #include <assert.h> |
8249 /* Override any gcc2 internal prototype to avoid an error. */ | 8279 /* Override any gcc2 internal prototype to avoid an error. */ |
8270 ; | 8300 ; |
8271 return 0; | 8301 return 0; |
8272 } | 8302 } |
8273 _ACEOF | 8303 _ACEOF |
8274 rm -f conftest.$ac_objext conftest$ac_exeext | 8304 rm -f conftest.$ac_objext conftest$ac_exeext |
8275 if { (eval echo "$as_me:8275: \"$ac_link\"") >&5 | 8305 if { (eval echo "$as_me:8305: \"$ac_link\"") >&5 |
8276 (eval $ac_link) 2>&5 | 8306 (eval $ac_link) 2>&5 |
8277 ac_status=$? | 8307 ac_status=$? |
8278 echo "$as_me:8278: \$? = $ac_status" >&5 | 8308 echo "$as_me:8308: \$? = $ac_status" >&5 |
8279 (exit $ac_status); } && | 8309 (exit $ac_status); } && |
8280 { ac_try='test -s conftest$ac_exeext' | 8310 { ac_try='test -s conftest$ac_exeext' |
8281 { (eval echo "$as_me:8281: \"$ac_try\"") >&5 | 8311 { (eval echo "$as_me:8311: \"$ac_try\"") >&5 |
8282 (eval $ac_try) 2>&5 | 8312 (eval $ac_try) 2>&5 |
8283 ac_status=$? | 8313 ac_status=$? |
8284 echo "$as_me:8284: \$? = $ac_status" >&5 | 8314 echo "$as_me:8314: \$? = $ac_status" >&5 |
8285 (exit $ac_status); }; }; then | 8315 (exit $ac_status); }; }; then |
8286 eval "$as_ac_var=yes" | 8316 eval "$as_ac_var=yes" |
8287 else | 8317 else |
8288 echo "$as_me: failed program was:" >&5 | 8318 echo "$as_me: failed program was:" >&5 |
8289 cat conftest.$ac_ext >&5 | 8319 cat conftest.$ac_ext >&5 |
8290 eval "$as_ac_var=no" | 8320 eval "$as_ac_var=no" |
8291 fi | 8321 fi |
8292 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 8322 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8293 fi | 8323 fi |
8294 echo "$as_me:8294: result: `eval echo '${'$as_ac_var'}'`" >&5 | 8324 echo "$as_me:8324: result: `eval echo '${'$as_ac_var'}'`" >&5 |
8295 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 8325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
8296 if test `eval echo '${'$as_ac_var'}'` = yes; then | 8326 if test `eval echo '${'$as_ac_var'}'` = yes; then |
8297 cat >>confdefs.h <<EOF | 8327 cat >>confdefs.h <<EOF |
8298 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 8328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
8299 EOF | 8329 EOF |
8302 done | 8332 done |
8303 | 8333 |
8304 for ac_header in sys/time.h unistd.h | 8334 for ac_header in sys/time.h unistd.h |
8305 do | 8335 do |
8306 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 8336 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
8307 echo "$as_me:8307: checking for $ac_header" >&5 | 8337 echo "$as_me:8337: checking for $ac_header" >&5 |
8308 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 8338 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
8309 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 8339 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
8310 echo $ECHO_N "(cached) $ECHO_C" >&6 | 8340 echo $ECHO_N "(cached) $ECHO_C" >&6 |
8311 else | 8341 else |
8312 cat >conftest.$ac_ext <<_ACEOF | 8342 cat >conftest.$ac_ext <<_ACEOF |
8313 #line 8313 "configure" | 8343 #line 8343 "configure" |
8314 #include "confdefs.h" | 8344 #include "confdefs.h" |
8315 #include <$ac_header> | 8345 #include <$ac_header> |
8316 _ACEOF | 8346 _ACEOF |
8317 if { (eval echo "$as_me:8317: \"$ac_cpp conftest.$ac_ext\"") >&5 | 8347 if { (eval echo "$as_me:8347: \"$ac_cpp conftest.$ac_ext\"") >&5 |
8318 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 8348 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
8319 ac_status=$? | 8349 ac_status=$? |
8320 egrep -v '^ *\+' conftest.er1 >conftest.err | 8350 egrep -v '^ *\+' conftest.er1 >conftest.err |
8321 rm -f conftest.er1 | 8351 rm -f conftest.er1 |
8322 cat conftest.err >&5 | 8352 cat conftest.err >&5 |
8323 echo "$as_me:8323: \$? = $ac_status" >&5 | 8353 echo "$as_me:8353: \$? = $ac_status" >&5 |
8324 (exit $ac_status); } >/dev/null; then | 8354 (exit $ac_status); } >/dev/null; then |
8325 if test -s conftest.err; then | 8355 if test -s conftest.err; then |
8326 ac_cpp_err=$ac_c_preproc_warn_flag | 8356 ac_cpp_err=$ac_c_preproc_warn_flag |
8327 else | 8357 else |
8328 ac_cpp_err= | 8358 ac_cpp_err= |
8337 cat conftest.$ac_ext >&5 | 8367 cat conftest.$ac_ext >&5 |
8338 eval "$as_ac_Header=no" | 8368 eval "$as_ac_Header=no" |
8339 fi | 8369 fi |
8340 rm -f conftest.err conftest.$ac_ext | 8370 rm -f conftest.err conftest.$ac_ext |
8341 fi | 8371 fi |
8342 echo "$as_me:8342: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 8372 echo "$as_me:8372: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
8343 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 8373 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
8344 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 8374 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
8345 cat >>confdefs.h <<EOF | 8375 cat >>confdefs.h <<EOF |
8346 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 8376 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
8347 EOF | 8377 EOF |
8350 done | 8380 done |
8351 | 8381 |
8352 for ac_func in alarm | 8382 for ac_func in alarm |
8353 do | 8383 do |
8354 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 8384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
8355 echo "$as_me:8355: checking for $ac_func" >&5 | 8385 echo "$as_me:8385: checking for $ac_func" >&5 |
8356 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 8386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
8357 if eval "test \"\${$as_ac_var+set}\" = set"; then | 8387 if eval "test \"\${$as_ac_var+set}\" = set"; then |
8358 echo $ECHO_N "(cached) $ECHO_C" >&6 | 8388 echo $ECHO_N "(cached) $ECHO_C" >&6 |
8359 else | 8389 else |
8360 cat >conftest.$ac_ext <<_ACEOF | 8390 cat >conftest.$ac_ext <<_ACEOF |
8361 #line 8361 "configure" | 8391 #line 8391 "configure" |
8362 #include "confdefs.h" | 8392 #include "confdefs.h" |
8363 /* System header to define __stub macros and hopefully few prototypes, | 8393 /* System header to define __stub macros and hopefully few prototypes, |
8364 which can conflict with char $ac_func (); below. */ | 8394 which can conflict with char $ac_func (); below. */ |
8365 #include <assert.h> | 8395 #include <assert.h> |
8366 /* Override any gcc2 internal prototype to avoid an error. */ | 8396 /* Override any gcc2 internal prototype to avoid an error. */ |
8387 ; | 8417 ; |
8388 return 0; | 8418 return 0; |
8389 } | 8419 } |
8390 _ACEOF | 8420 _ACEOF |
8391 rm -f conftest.$ac_objext conftest$ac_exeext | 8421 rm -f conftest.$ac_objext conftest$ac_exeext |
8392 if { (eval echo "$as_me:8392: \"$ac_link\"") >&5 | 8422 if { (eval echo "$as_me:8422: \"$ac_link\"") >&5 |
8393 (eval $ac_link) 2>&5 | 8423 (eval $ac_link) 2>&5 |
8394 ac_status=$? | 8424 ac_status=$? |
8395 echo "$as_me:8395: \$? = $ac_status" >&5 | 8425 echo "$as_me:8425: \$? = $ac_status" >&5 |
8396 (exit $ac_status); } && | 8426 (exit $ac_status); } && |
8397 { ac_try='test -s conftest$ac_exeext' | 8427 { ac_try='test -s conftest$ac_exeext' |
8398 { (eval echo "$as_me:8398: \"$ac_try\"") >&5 | 8428 { (eval echo "$as_me:8428: \"$ac_try\"") >&5 |
8399 (eval $ac_try) 2>&5 | 8429 (eval $ac_try) 2>&5 |
8400 ac_status=$? | 8430 ac_status=$? |
8401 echo "$as_me:8401: \$? = $ac_status" >&5 | 8431 echo "$as_me:8431: \$? = $ac_status" >&5 |
8402 (exit $ac_status); }; }; then | 8432 (exit $ac_status); }; }; then |
8403 eval "$as_ac_var=yes" | 8433 eval "$as_ac_var=yes" |
8404 else | 8434 else |
8405 echo "$as_me: failed program was:" >&5 | 8435 echo "$as_me: failed program was:" >&5 |
8406 cat conftest.$ac_ext >&5 | 8436 cat conftest.$ac_ext >&5 |
8407 eval "$as_ac_var=no" | 8437 eval "$as_ac_var=no" |
8408 fi | 8438 fi |
8409 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 8439 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8410 fi | 8440 fi |
8411 echo "$as_me:8411: result: `eval echo '${'$as_ac_var'}'`" >&5 | 8441 echo "$as_me:8441: result: `eval echo '${'$as_ac_var'}'`" >&5 |
8412 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 8442 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
8413 if test `eval echo '${'$as_ac_var'}'` = yes; then | 8443 if test `eval echo '${'$as_ac_var'}'` = yes; then |
8414 cat >>confdefs.h <<EOF | 8444 cat >>confdefs.h <<EOF |
8415 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 8445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
8416 EOF | 8446 EOF |
8417 | 8447 |
8418 fi | 8448 fi |
8419 done | 8449 done |
8420 | 8450 |
8421 echo "$as_me:8421: checking for working mktime" >&5 | 8451 echo "$as_me:8451: checking for working mktime" >&5 |
8422 echo $ECHO_N "checking for working mktime... $ECHO_C" >&6 | 8452 echo $ECHO_N "checking for working mktime... $ECHO_C" >&6 |
8423 if test "${ac_cv_func_working_mktime+set}" = set; then | 8453 if test "${ac_cv_func_working_mktime+set}" = set; then |
8424 echo $ECHO_N "(cached) $ECHO_C" >&6 | 8454 echo $ECHO_N "(cached) $ECHO_C" >&6 |
8425 else | 8455 else |
8426 if test "$cross_compiling" = yes; then | 8456 if test "$cross_compiling" = yes; then |
8427 ac_cv_func_working_mktime=no | 8457 ac_cv_func_working_mktime=no |
8428 else | 8458 else |
8429 cat >conftest.$ac_ext <<_ACEOF | 8459 cat >conftest.$ac_ext <<_ACEOF |
8430 #line 8430 "configure" | 8460 #line 8460 "configure" |
8431 #include "confdefs.h" | 8461 #include "confdefs.h" |
8432 /* Test program from Paul Eggert and Tony Leneis. */ | 8462 /* Test program from Paul Eggert and Tony Leneis. */ |
8433 #if TIME_WITH_SYS_TIME | 8463 #if TIME_WITH_SYS_TIME |
8434 # include <sys/time.h> | 8464 # include <sys/time.h> |
8435 # include <time.h> | 8465 # include <time.h> |
8574 spring_forward_gap (); | 8604 spring_forward_gap (); |
8575 exit (0); | 8605 exit (0); |
8576 } | 8606 } |
8577 _ACEOF | 8607 _ACEOF |
8578 rm -f conftest$ac_exeext | 8608 rm -f conftest$ac_exeext |
8579 if { (eval echo "$as_me:8579: \"$ac_link\"") >&5 | 8609 if { (eval echo "$as_me:8609: \"$ac_link\"") >&5 |
8580 (eval $ac_link) 2>&5 | 8610 (eval $ac_link) 2>&5 |
8581 ac_status=$? | 8611 ac_status=$? |
8582 echo "$as_me:8582: \$? = $ac_status" >&5 | 8612 echo "$as_me:8612: \$? = $ac_status" >&5 |
8583 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 8613 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
8584 { (eval echo "$as_me:8584: \"$ac_try\"") >&5 | 8614 { (eval echo "$as_me:8614: \"$ac_try\"") >&5 |
8585 (eval $ac_try) 2>&5 | 8615 (eval $ac_try) 2>&5 |
8586 ac_status=$? | 8616 ac_status=$? |
8587 echo "$as_me:8587: \$? = $ac_status" >&5 | 8617 echo "$as_me:8617: \$? = $ac_status" >&5 |
8588 (exit $ac_status); }; }; then | 8618 (exit $ac_status); }; }; then |
8589 ac_cv_func_working_mktime=yes | 8619 ac_cv_func_working_mktime=yes |
8590 else | 8620 else |
8591 echo "$as_me: program exited with status $ac_status" >&5 | 8621 echo "$as_me: program exited with status $ac_status" >&5 |
8592 echo "$as_me: failed program was:" >&5 | 8622 echo "$as_me: failed program was:" >&5 |
8594 ac_cv_func_working_mktime=no | 8624 ac_cv_func_working_mktime=no |
8595 fi | 8625 fi |
8596 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 8626 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
8597 fi | 8627 fi |
8598 fi | 8628 fi |
8599 echo "$as_me:8599: result: $ac_cv_func_working_mktime" >&5 | 8629 echo "$as_me:8629: result: $ac_cv_func_working_mktime" >&5 |
8600 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6 | 8630 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6 |
8601 if test $ac_cv_func_working_mktime = no; then | 8631 if test $ac_cv_func_working_mktime = no; then |
8602 LIBOBJS="$LIBOBJS mktime.$ac_objext" | 8632 LIBOBJS="$LIBOBJS mktime.$ac_objext" |
8603 fi | 8633 fi |
8604 | 8634 |
8612 ac_have_func=no # yes means we've found a way to get the load average. | 8642 ac_have_func=no # yes means we've found a way to get the load average. |
8613 | 8643 |
8614 ac_save_LIBS=$LIBS | 8644 ac_save_LIBS=$LIBS |
8615 | 8645 |
8616 # Check for getloadavg, but be sure not to touch the cache variable. | 8646 # Check for getloadavg, but be sure not to touch the cache variable. |
8617 (echo "$as_me:8617: checking for getloadavg" >&5 | 8647 (echo "$as_me:8647: checking for getloadavg" >&5 |
8618 echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6 | 8648 echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6 |
8619 if test "${ac_cv_func_getloadavg+set}" = set; then | 8649 if test "${ac_cv_func_getloadavg+set}" = set; then |
8620 echo $ECHO_N "(cached) $ECHO_C" >&6 | 8650 echo $ECHO_N "(cached) $ECHO_C" >&6 |
8621 else | 8651 else |
8622 cat >conftest.$ac_ext <<_ACEOF | 8652 cat >conftest.$ac_ext <<_ACEOF |
8623 #line 8623 "configure" | 8653 #line 8653 "configure" |
8624 #include "confdefs.h" | 8654 #include "confdefs.h" |
8625 /* System header to define __stub macros and hopefully few prototypes, | 8655 /* System header to define __stub macros and hopefully few prototypes, |
8626 which can conflict with char getloadavg (); below. */ | 8656 which can conflict with char getloadavg (); below. */ |
8627 #include <assert.h> | 8657 #include <assert.h> |
8628 /* Override any gcc2 internal prototype to avoid an error. */ | 8658 /* Override any gcc2 internal prototype to avoid an error. */ |
8649 ; | 8679 ; |
8650 return 0; | 8680 return 0; |
8651 } | 8681 } |
8652 _ACEOF | 8682 _ACEOF |
8653 rm -f conftest.$ac_objext conftest$ac_exeext | 8683 rm -f conftest.$ac_objext conftest$ac_exeext |
8654 if { (eval echo "$as_me:8654: \"$ac_link\"") >&5 | 8684 if { (eval echo "$as_me:8684: \"$ac_link\"") >&5 |
8655 (eval $ac_link) 2>&5 | 8685 (eval $ac_link) 2>&5 |
8656 ac_status=$? | 8686 ac_status=$? |
8657 echo "$as_me:8657: \$? = $ac_status" >&5 | 8687 echo "$as_me:8687: \$? = $ac_status" >&5 |
8658 (exit $ac_status); } && | 8688 (exit $ac_status); } && |
8659 { ac_try='test -s conftest$ac_exeext' | 8689 { ac_try='test -s conftest$ac_exeext' |
8660 { (eval echo "$as_me:8660: \"$ac_try\"") >&5 | 8690 { (eval echo "$as_me:8690: \"$ac_try\"") >&5 |
8661 (eval $ac_try) 2>&5 | 8691 (eval $ac_try) 2>&5 |
8662 ac_status=$? | 8692 ac_status=$? |
8663 echo "$as_me:8663: \$? = $ac_status" >&5 | 8693 echo "$as_me:8693: \$? = $ac_status" >&5 |
8664 (exit $ac_status); }; }; then | 8694 (exit $ac_status); }; }; then |
8665 ac_cv_func_getloadavg=yes | 8695 ac_cv_func_getloadavg=yes |
8666 else | 8696 else |
8667 echo "$as_me: failed program was:" >&5 | 8697 echo "$as_me: failed program was:" >&5 |
8668 cat conftest.$ac_ext >&5 | 8698 cat conftest.$ac_ext >&5 |
8669 ac_cv_func_getloadavg=no | 8699 ac_cv_func_getloadavg=no |
8670 fi | 8700 fi |
8671 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 8701 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8672 fi | 8702 fi |
8673 echo "$as_me:8673: result: $ac_cv_func_getloadavg" >&5 | 8703 echo "$as_me:8703: result: $ac_cv_func_getloadavg" >&5 |
8674 echo "${ECHO_T}$ac_cv_func_getloadavg" >&6 | 8704 echo "${ECHO_T}$ac_cv_func_getloadavg" >&6 |
8675 if test $ac_cv_func_getloadavg = yes; then | 8705 if test $ac_cv_func_getloadavg = yes; then |
8676 exit 0 | 8706 exit 0 |
8677 else | 8707 else |
8678 exit 1 | 8708 exit 1 |
8682 # On HPUX9, an unprivileged user can get load averages through this function. | 8712 # On HPUX9, an unprivileged user can get load averages through this function. |
8683 | 8713 |
8684 for ac_func in pstat_getdynamic | 8714 for ac_func in pstat_getdynamic |
8685 do | 8715 do |
8686 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 8716 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
8687 echo "$as_me:8687: checking for $ac_func" >&5 | 8717 echo "$as_me:8717: checking for $ac_func" >&5 |
8688 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 8718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
8689 if eval "test \"\${$as_ac_var+set}\" = set"; then | 8719 if eval "test \"\${$as_ac_var+set}\" = set"; then |
8690 echo $ECHO_N "(cached) $ECHO_C" >&6 | 8720 echo $ECHO_N "(cached) $ECHO_C" >&6 |
8691 else | 8721 else |
8692 cat >conftest.$ac_ext <<_ACEOF | 8722 cat >conftest.$ac_ext <<_ACEOF |
8693 #line 8693 "configure" | 8723 #line 8723 "configure" |
8694 #include "confdefs.h" | 8724 #include "confdefs.h" |
8695 /* System header to define __stub macros and hopefully few prototypes, | 8725 /* System header to define __stub macros and hopefully few prototypes, |
8696 which can conflict with char $ac_func (); below. */ | 8726 which can conflict with char $ac_func (); below. */ |
8697 #include <assert.h> | 8727 #include <assert.h> |
8698 /* Override any gcc2 internal prototype to avoid an error. */ | 8728 /* Override any gcc2 internal prototype to avoid an error. */ |
8719 ; | 8749 ; |
8720 return 0; | 8750 return 0; |
8721 } | 8751 } |
8722 _ACEOF | 8752 _ACEOF |
8723 rm -f conftest.$ac_objext conftest$ac_exeext | 8753 rm -f conftest.$ac_objext conftest$ac_exeext |
8724 if { (eval echo "$as_me:8724: \"$ac_link\"") >&5 | 8754 if { (eval echo "$as_me:8754: \"$ac_link\"") >&5 |
8725 (eval $ac_link) 2>&5 | 8755 (eval $ac_link) 2>&5 |
8726 ac_status=$? | 8756 ac_status=$? |
8727 echo "$as_me:8727: \$? = $ac_status" >&5 | 8757 echo "$as_me:8757: \$? = $ac_status" >&5 |
8728 (exit $ac_status); } && | 8758 (exit $ac_status); } && |
8729 { ac_try='test -s conftest$ac_exeext' | 8759 { ac_try='test -s conftest$ac_exeext' |
8730 { (eval echo "$as_me:8730: \"$ac_try\"") >&5 | 8760 { (eval echo "$as_me:8760: \"$ac_try\"") >&5 |
8731 (eval $ac_try) 2>&5 | 8761 (eval $ac_try) 2>&5 |
8732 ac_status=$? | 8762 ac_status=$? |
8733 echo "$as_me:8733: \$? = $ac_status" >&5 | 8763 echo "$as_me:8763: \$? = $ac_status" >&5 |
8734 (exit $ac_status); }; }; then | 8764 (exit $ac_status); }; }; then |
8735 eval "$as_ac_var=yes" | 8765 eval "$as_ac_var=yes" |
8736 else | 8766 else |
8737 echo "$as_me: failed program was:" >&5 | 8767 echo "$as_me: failed program was:" >&5 |
8738 cat conftest.$ac_ext >&5 | 8768 cat conftest.$ac_ext >&5 |
8739 eval "$as_ac_var=no" | 8769 eval "$as_ac_var=no" |
8740 fi | 8770 fi |
8741 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 8771 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8742 fi | 8772 fi |
8743 echo "$as_me:8743: result: `eval echo '${'$as_ac_var'}'`" >&5 | 8773 echo "$as_me:8773: result: `eval echo '${'$as_ac_var'}'`" >&5 |
8744 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 8774 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
8745 if test `eval echo '${'$as_ac_var'}'` = yes; then | 8775 if test `eval echo '${'$as_ac_var'}'` = yes; then |
8746 cat >>confdefs.h <<EOF | 8776 cat >>confdefs.h <<EOF |
8747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 8777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
8748 EOF | 8778 EOF |
8750 fi | 8780 fi |
8751 done | 8781 done |
8752 | 8782 |
8753 # Solaris has libkstat which does not require root. | 8783 # Solaris has libkstat which does not require root. |
8754 | 8784 |
8755 echo "$as_me:8755: checking for kstat_open in -lkstat" >&5 | 8785 echo "$as_me:8785: checking for kstat_open in -lkstat" >&5 |
8756 echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6 | 8786 echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6 |
8757 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then | 8787 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then |
8758 echo $ECHO_N "(cached) $ECHO_C" >&6 | 8788 echo $ECHO_N "(cached) $ECHO_C" >&6 |
8759 else | 8789 else |
8760 ac_check_lib_save_LIBS=$LIBS | 8790 ac_check_lib_save_LIBS=$LIBS |
8761 LIBS="-lkstat $LIBS" | 8791 LIBS="-lkstat $LIBS" |
8762 cat >conftest.$ac_ext <<_ACEOF | 8792 cat >conftest.$ac_ext <<_ACEOF |
8763 #line 8763 "configure" | 8793 #line 8793 "configure" |
8764 #include "confdefs.h" | 8794 #include "confdefs.h" |
8765 | 8795 |
8766 /* Override any gcc2 internal prototype to avoid an error. */ | 8796 /* Override any gcc2 internal prototype to avoid an error. */ |
8767 #ifdef __cplusplus | 8797 #ifdef __cplusplus |
8768 extern "C" | 8798 extern "C" |
8777 ; | 8807 ; |
8778 return 0; | 8808 return 0; |
8779 } | 8809 } |
8780 _ACEOF | 8810 _ACEOF |
8781 rm -f conftest.$ac_objext conftest$ac_exeext | 8811 rm -f conftest.$ac_objext conftest$ac_exeext |
8782 if { (eval echo "$as_me:8782: \"$ac_link\"") >&5 | 8812 if { (eval echo "$as_me:8812: \"$ac_link\"") >&5 |
8783 (eval $ac_link) 2>&5 | 8813 (eval $ac_link) 2>&5 |
8784 ac_status=$? | 8814 ac_status=$? |
8785 echo "$as_me:8785: \$? = $ac_status" >&5 | 8815 echo "$as_me:8815: \$? = $ac_status" >&5 |
8786 (exit $ac_status); } && | 8816 (exit $ac_status); } && |
8787 { ac_try='test -s conftest$ac_exeext' | 8817 { ac_try='test -s conftest$ac_exeext' |
8788 { (eval echo "$as_me:8788: \"$ac_try\"") >&5 | 8818 { (eval echo "$as_me:8818: \"$ac_try\"") >&5 |
8789 (eval $ac_try) 2>&5 | 8819 (eval $ac_try) 2>&5 |
8790 ac_status=$? | 8820 ac_status=$? |
8791 echo "$as_me:8791: \$? = $ac_status" >&5 | 8821 echo "$as_me:8821: \$? = $ac_status" >&5 |
8792 (exit $ac_status); }; }; then | 8822 (exit $ac_status); }; }; then |
8793 ac_cv_lib_kstat_kstat_open=yes | 8823 ac_cv_lib_kstat_kstat_open=yes |
8794 else | 8824 else |
8795 echo "$as_me: failed program was:" >&5 | 8825 echo "$as_me: failed program was:" >&5 |
8796 cat conftest.$ac_ext >&5 | 8826 cat conftest.$ac_ext >&5 |
8797 ac_cv_lib_kstat_kstat_open=no | 8827 ac_cv_lib_kstat_kstat_open=no |
8798 fi | 8828 fi |
8799 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 8829 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8800 LIBS=$ac_check_lib_save_LIBS | 8830 LIBS=$ac_check_lib_save_LIBS |
8801 fi | 8831 fi |
8802 echo "$as_me:8802: result: $ac_cv_lib_kstat_kstat_open" >&5 | 8832 echo "$as_me:8832: result: $ac_cv_lib_kstat_kstat_open" >&5 |
8803 echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6 | 8833 echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6 |
8804 if test $ac_cv_lib_kstat_kstat_open = yes; then | 8834 if test $ac_cv_lib_kstat_kstat_open = yes; then |
8805 cat >>confdefs.h <<EOF | 8835 cat >>confdefs.h <<EOF |
8806 #define HAVE_LIBKSTAT 1 | 8836 #define HAVE_LIBKSTAT 1 |
8807 EOF | 8837 EOF |
8815 # Some systems with -lutil have (and need) -lkvm as well, some do not. | 8845 # Some systems with -lutil have (and need) -lkvm as well, some do not. |
8816 # On Solaris, -lkvm requires nlist from -lelf, so check that first | 8846 # On Solaris, -lkvm requires nlist from -lelf, so check that first |
8817 # to get the right answer into the cache. | 8847 # to get the right answer into the cache. |
8818 # For kstat on solaris, we need libelf to force the definition of SVR4 below. | 8848 # For kstat on solaris, we need libelf to force the definition of SVR4 below. |
8819 if test $ac_have_func = no; then | 8849 if test $ac_have_func = no; then |
8820 echo "$as_me:8820: checking for elf_begin in -lelf" >&5 | 8850 echo "$as_me:8850: checking for elf_begin in -lelf" >&5 |
8821 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6 | 8851 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6 |
8822 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then | 8852 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then |
8823 echo $ECHO_N "(cached) $ECHO_C" >&6 | 8853 echo $ECHO_N "(cached) $ECHO_C" >&6 |
8824 else | 8854 else |
8825 ac_check_lib_save_LIBS=$LIBS | 8855 ac_check_lib_save_LIBS=$LIBS |
8826 LIBS="-lelf $LIBS" | 8856 LIBS="-lelf $LIBS" |
8827 cat >conftest.$ac_ext <<_ACEOF | 8857 cat >conftest.$ac_ext <<_ACEOF |
8828 #line 8828 "configure" | 8858 #line 8858 "configure" |
8829 #include "confdefs.h" | 8859 #include "confdefs.h" |
8830 | 8860 |
8831 /* Override any gcc2 internal prototype to avoid an error. */ | 8861 /* Override any gcc2 internal prototype to avoid an error. */ |
8832 #ifdef __cplusplus | 8862 #ifdef __cplusplus |
8833 extern "C" | 8863 extern "C" |
8842 ; | 8872 ; |
8843 return 0; | 8873 return 0; |
8844 } | 8874 } |
8845 _ACEOF | 8875 _ACEOF |
8846 rm -f conftest.$ac_objext conftest$ac_exeext | 8876 rm -f conftest.$ac_objext conftest$ac_exeext |
8847 if { (eval echo "$as_me:8847: \"$ac_link\"") >&5 | 8877 if { (eval echo "$as_me:8877: \"$ac_link\"") >&5 |
8848 (eval $ac_link) 2>&5 | 8878 (eval $ac_link) 2>&5 |
8849 ac_status=$? | 8879 ac_status=$? |
8850 echo "$as_me:8850: \$? = $ac_status" >&5 | 8880 echo "$as_me:8880: \$? = $ac_status" >&5 |
8851 (exit $ac_status); } && | 8881 (exit $ac_status); } && |
8852 { ac_try='test -s conftest$ac_exeext' | 8882 { ac_try='test -s conftest$ac_exeext' |
8853 { (eval echo "$as_me:8853: \"$ac_try\"") >&5 | 8883 { (eval echo "$as_me:8883: \"$ac_try\"") >&5 |
8854 (eval $ac_try) 2>&5 | 8884 (eval $ac_try) 2>&5 |
8855 ac_status=$? | 8885 ac_status=$? |
8856 echo "$as_me:8856: \$? = $ac_status" >&5 | 8886 echo "$as_me:8886: \$? = $ac_status" >&5 |
8857 (exit $ac_status); }; }; then | 8887 (exit $ac_status); }; }; then |
8858 ac_cv_lib_elf_elf_begin=yes | 8888 ac_cv_lib_elf_elf_begin=yes |
8859 else | 8889 else |
8860 echo "$as_me: failed program was:" >&5 | 8890 echo "$as_me: failed program was:" >&5 |
8861 cat conftest.$ac_ext >&5 | 8891 cat conftest.$ac_ext >&5 |
8862 ac_cv_lib_elf_elf_begin=no | 8892 ac_cv_lib_elf_elf_begin=no |
8863 fi | 8893 fi |
8864 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 8894 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8865 LIBS=$ac_check_lib_save_LIBS | 8895 LIBS=$ac_check_lib_save_LIBS |
8866 fi | 8896 fi |
8867 echo "$as_me:8867: result: $ac_cv_lib_elf_elf_begin" >&5 | 8897 echo "$as_me:8897: result: $ac_cv_lib_elf_elf_begin" >&5 |
8868 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6 | 8898 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6 |
8869 if test $ac_cv_lib_elf_elf_begin = yes; then | 8899 if test $ac_cv_lib_elf_elf_begin = yes; then |
8870 LIBS="-lelf $LIBS" | 8900 LIBS="-lelf $LIBS" |
8871 fi | 8901 fi |
8872 | 8902 |
8873 fi | 8903 fi |
8874 if test $ac_have_func = no; then | 8904 if test $ac_have_func = no; then |
8875 echo "$as_me:8875: checking for kvm_open in -lkvm" >&5 | 8905 echo "$as_me:8905: checking for kvm_open in -lkvm" >&5 |
8876 echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6 | 8906 echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6 |
8877 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then | 8907 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then |
8878 echo $ECHO_N "(cached) $ECHO_C" >&6 | 8908 echo $ECHO_N "(cached) $ECHO_C" >&6 |
8879 else | 8909 else |
8880 ac_check_lib_save_LIBS=$LIBS | 8910 ac_check_lib_save_LIBS=$LIBS |
8881 LIBS="-lkvm $LIBS" | 8911 LIBS="-lkvm $LIBS" |
8882 cat >conftest.$ac_ext <<_ACEOF | 8912 cat >conftest.$ac_ext <<_ACEOF |
8883 #line 8883 "configure" | 8913 #line 8913 "configure" |
8884 #include "confdefs.h" | 8914 #include "confdefs.h" |
8885 | 8915 |
8886 /* Override any gcc2 internal prototype to avoid an error. */ | 8916 /* Override any gcc2 internal prototype to avoid an error. */ |
8887 #ifdef __cplusplus | 8917 #ifdef __cplusplus |
8888 extern "C" | 8918 extern "C" |
8897 ; | 8927 ; |
8898 return 0; | 8928 return 0; |
8899 } | 8929 } |
8900 _ACEOF | 8930 _ACEOF |
8901 rm -f conftest.$ac_objext conftest$ac_exeext | 8931 rm -f conftest.$ac_objext conftest$ac_exeext |
8902 if { (eval echo "$as_me:8902: \"$ac_link\"") >&5 | 8932 if { (eval echo "$as_me:8932: \"$ac_link\"") >&5 |
8903 (eval $ac_link) 2>&5 | 8933 (eval $ac_link) 2>&5 |
8904 ac_status=$? | 8934 ac_status=$? |
8905 echo "$as_me:8905: \$? = $ac_status" >&5 | 8935 echo "$as_me:8935: \$? = $ac_status" >&5 |
8906 (exit $ac_status); } && | 8936 (exit $ac_status); } && |
8907 { ac_try='test -s conftest$ac_exeext' | 8937 { ac_try='test -s conftest$ac_exeext' |
8908 { (eval echo "$as_me:8908: \"$ac_try\"") >&5 | 8938 { (eval echo "$as_me:8938: \"$ac_try\"") >&5 |
8909 (eval $ac_try) 2>&5 | 8939 (eval $ac_try) 2>&5 |
8910 ac_status=$? | 8940 ac_status=$? |
8911 echo "$as_me:8911: \$? = $ac_status" >&5 | 8941 echo "$as_me:8941: \$? = $ac_status" >&5 |
8912 (exit $ac_status); }; }; then | 8942 (exit $ac_status); }; }; then |
8913 ac_cv_lib_kvm_kvm_open=yes | 8943 ac_cv_lib_kvm_kvm_open=yes |
8914 else | 8944 else |
8915 echo "$as_me: failed program was:" >&5 | 8945 echo "$as_me: failed program was:" >&5 |
8916 cat conftest.$ac_ext >&5 | 8946 cat conftest.$ac_ext >&5 |
8917 ac_cv_lib_kvm_kvm_open=no | 8947 ac_cv_lib_kvm_kvm_open=no |
8918 fi | 8948 fi |
8919 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 8949 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8920 LIBS=$ac_check_lib_save_LIBS | 8950 LIBS=$ac_check_lib_save_LIBS |
8921 fi | 8951 fi |
8922 echo "$as_me:8922: result: $ac_cv_lib_kvm_kvm_open" >&5 | 8952 echo "$as_me:8952: result: $ac_cv_lib_kvm_kvm_open" >&5 |
8923 echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6 | 8953 echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6 |
8924 if test $ac_cv_lib_kvm_kvm_open = yes; then | 8954 if test $ac_cv_lib_kvm_kvm_open = yes; then |
8925 LIBS="-lkvm $LIBS" | 8955 LIBS="-lkvm $LIBS" |
8926 fi | 8956 fi |
8927 | 8957 |
8928 # Check for the 4.4BSD definition of getloadavg. | 8958 # Check for the 4.4BSD definition of getloadavg. |
8929 echo "$as_me:8929: checking for getloadavg in -lutil" >&5 | 8959 echo "$as_me:8959: checking for getloadavg in -lutil" >&5 |
8930 echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6 | 8960 echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6 |
8931 if test "${ac_cv_lib_util_getloadavg+set}" = set; then | 8961 if test "${ac_cv_lib_util_getloadavg+set}" = set; then |
8932 echo $ECHO_N "(cached) $ECHO_C" >&6 | 8962 echo $ECHO_N "(cached) $ECHO_C" >&6 |
8933 else | 8963 else |
8934 ac_check_lib_save_LIBS=$LIBS | 8964 ac_check_lib_save_LIBS=$LIBS |
8935 LIBS="-lutil $LIBS" | 8965 LIBS="-lutil $LIBS" |
8936 cat >conftest.$ac_ext <<_ACEOF | 8966 cat >conftest.$ac_ext <<_ACEOF |
8937 #line 8937 "configure" | 8967 #line 8967 "configure" |
8938 #include "confdefs.h" | 8968 #include "confdefs.h" |
8939 | 8969 |
8940 /* Override any gcc2 internal prototype to avoid an error. */ | 8970 /* Override any gcc2 internal prototype to avoid an error. */ |
8941 #ifdef __cplusplus | 8971 #ifdef __cplusplus |
8942 extern "C" | 8972 extern "C" |
8951 ; | 8981 ; |
8952 return 0; | 8982 return 0; |
8953 } | 8983 } |
8954 _ACEOF | 8984 _ACEOF |
8955 rm -f conftest.$ac_objext conftest$ac_exeext | 8985 rm -f conftest.$ac_objext conftest$ac_exeext |
8956 if { (eval echo "$as_me:8956: \"$ac_link\"") >&5 | 8986 if { (eval echo "$as_me:8986: \"$ac_link\"") >&5 |
8957 (eval $ac_link) 2>&5 | 8987 (eval $ac_link) 2>&5 |
8958 ac_status=$? | 8988 ac_status=$? |
8959 echo "$as_me:8959: \$? = $ac_status" >&5 | 8989 echo "$as_me:8989: \$? = $ac_status" >&5 |
8960 (exit $ac_status); } && | 8990 (exit $ac_status); } && |
8961 { ac_try='test -s conftest$ac_exeext' | 8991 { ac_try='test -s conftest$ac_exeext' |
8962 { (eval echo "$as_me:8962: \"$ac_try\"") >&5 | 8992 { (eval echo "$as_me:8992: \"$ac_try\"") >&5 |
8963 (eval $ac_try) 2>&5 | 8993 (eval $ac_try) 2>&5 |
8964 ac_status=$? | 8994 ac_status=$? |
8965 echo "$as_me:8965: \$? = $ac_status" >&5 | 8995 echo "$as_me:8995: \$? = $ac_status" >&5 |
8966 (exit $ac_status); }; }; then | 8996 (exit $ac_status); }; }; then |
8967 ac_cv_lib_util_getloadavg=yes | 8997 ac_cv_lib_util_getloadavg=yes |
8968 else | 8998 else |
8969 echo "$as_me: failed program was:" >&5 | 8999 echo "$as_me: failed program was:" >&5 |
8970 cat conftest.$ac_ext >&5 | 9000 cat conftest.$ac_ext >&5 |
8971 ac_cv_lib_util_getloadavg=no | 9001 ac_cv_lib_util_getloadavg=no |
8972 fi | 9002 fi |
8973 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 9003 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8974 LIBS=$ac_check_lib_save_LIBS | 9004 LIBS=$ac_check_lib_save_LIBS |
8975 fi | 9005 fi |
8976 echo "$as_me:8976: result: $ac_cv_lib_util_getloadavg" >&5 | 9006 echo "$as_me:9006: result: $ac_cv_lib_util_getloadavg" >&5 |
8977 echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6 | 9007 echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6 |
8978 if test $ac_cv_lib_util_getloadavg = yes; then | 9008 if test $ac_cv_lib_util_getloadavg = yes; then |
8979 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes | 9009 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes |
8980 fi | 9010 fi |
8981 | 9011 |
8984 if test $ac_have_func = no; then | 9014 if test $ac_have_func = no; then |
8985 # There is a commonly available library for RS/6000 AIX. | 9015 # There is a commonly available library for RS/6000 AIX. |
8986 # Since it is not a standard part of AIX, it might be installed locally. | 9016 # Since it is not a standard part of AIX, it might be installed locally. |
8987 ac_getloadavg_LIBS=$LIBS | 9017 ac_getloadavg_LIBS=$LIBS |
8988 LIBS="-L/usr/local/lib $LIBS" | 9018 LIBS="-L/usr/local/lib $LIBS" |
8989 echo "$as_me:8989: checking for getloadavg in -lgetloadavg" >&5 | 9019 echo "$as_me:9019: checking for getloadavg in -lgetloadavg" >&5 |
8990 echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6 | 9020 echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6 |
8991 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then | 9021 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then |
8992 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9022 echo $ECHO_N "(cached) $ECHO_C" >&6 |
8993 else | 9023 else |
8994 ac_check_lib_save_LIBS=$LIBS | 9024 ac_check_lib_save_LIBS=$LIBS |
8995 LIBS="-lgetloadavg $LIBS" | 9025 LIBS="-lgetloadavg $LIBS" |
8996 cat >conftest.$ac_ext <<_ACEOF | 9026 cat >conftest.$ac_ext <<_ACEOF |
8997 #line 8997 "configure" | 9027 #line 9027 "configure" |
8998 #include "confdefs.h" | 9028 #include "confdefs.h" |
8999 | 9029 |
9000 /* Override any gcc2 internal prototype to avoid an error. */ | 9030 /* Override any gcc2 internal prototype to avoid an error. */ |
9001 #ifdef __cplusplus | 9031 #ifdef __cplusplus |
9002 extern "C" | 9032 extern "C" |
9011 ; | 9041 ; |
9012 return 0; | 9042 return 0; |
9013 } | 9043 } |
9014 _ACEOF | 9044 _ACEOF |
9015 rm -f conftest.$ac_objext conftest$ac_exeext | 9045 rm -f conftest.$ac_objext conftest$ac_exeext |
9016 if { (eval echo "$as_me:9016: \"$ac_link\"") >&5 | 9046 if { (eval echo "$as_me:9046: \"$ac_link\"") >&5 |
9017 (eval $ac_link) 2>&5 | 9047 (eval $ac_link) 2>&5 |
9018 ac_status=$? | 9048 ac_status=$? |
9019 echo "$as_me:9019: \$? = $ac_status" >&5 | 9049 echo "$as_me:9049: \$? = $ac_status" >&5 |
9020 (exit $ac_status); } && | 9050 (exit $ac_status); } && |
9021 { ac_try='test -s conftest$ac_exeext' | 9051 { ac_try='test -s conftest$ac_exeext' |
9022 { (eval echo "$as_me:9022: \"$ac_try\"") >&5 | 9052 { (eval echo "$as_me:9052: \"$ac_try\"") >&5 |
9023 (eval $ac_try) 2>&5 | 9053 (eval $ac_try) 2>&5 |
9024 ac_status=$? | 9054 ac_status=$? |
9025 echo "$as_me:9025: \$? = $ac_status" >&5 | 9055 echo "$as_me:9055: \$? = $ac_status" >&5 |
9026 (exit $ac_status); }; }; then | 9056 (exit $ac_status); }; }; then |
9027 ac_cv_lib_getloadavg_getloadavg=yes | 9057 ac_cv_lib_getloadavg_getloadavg=yes |
9028 else | 9058 else |
9029 echo "$as_me: failed program was:" >&5 | 9059 echo "$as_me: failed program was:" >&5 |
9030 cat conftest.$ac_ext >&5 | 9060 cat conftest.$ac_ext >&5 |
9031 ac_cv_lib_getloadavg_getloadavg=no | 9061 ac_cv_lib_getloadavg_getloadavg=no |
9032 fi | 9062 fi |
9033 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 9063 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
9034 LIBS=$ac_check_lib_save_LIBS | 9064 LIBS=$ac_check_lib_save_LIBS |
9035 fi | 9065 fi |
9036 echo "$as_me:9036: result: $ac_cv_lib_getloadavg_getloadavg" >&5 | 9066 echo "$as_me:9066: result: $ac_cv_lib_getloadavg_getloadavg" >&5 |
9037 echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6 | 9067 echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6 |
9038 if test $ac_cv_lib_getloadavg_getloadavg = yes; then | 9068 if test $ac_cv_lib_getloadavg_getloadavg = yes; then |
9039 LIBS="-lgetloadavg $LIBS" | 9069 LIBS="-lgetloadavg $LIBS" |
9040 else | 9070 else |
9041 LIBS=$ac_getloadavg_LIBS | 9071 LIBS=$ac_getloadavg_LIBS |
9047 # otherwise set up the replacement function. | 9077 # otherwise set up the replacement function. |
9048 | 9078 |
9049 for ac_func in getloadavg | 9079 for ac_func in getloadavg |
9050 do | 9080 do |
9051 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 9081 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
9052 echo "$as_me:9052: checking for $ac_func" >&5 | 9082 echo "$as_me:9082: checking for $ac_func" >&5 |
9053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 9083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
9054 if eval "test \"\${$as_ac_var+set}\" = set"; then | 9084 if eval "test \"\${$as_ac_var+set}\" = set"; then |
9055 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9085 echo $ECHO_N "(cached) $ECHO_C" >&6 |
9056 else | 9086 else |
9057 cat >conftest.$ac_ext <<_ACEOF | 9087 cat >conftest.$ac_ext <<_ACEOF |
9058 #line 9058 "configure" | 9088 #line 9088 "configure" |
9059 #include "confdefs.h" | 9089 #include "confdefs.h" |
9060 /* System header to define __stub macros and hopefully few prototypes, | 9090 /* System header to define __stub macros and hopefully few prototypes, |
9061 which can conflict with char $ac_func (); below. */ | 9091 which can conflict with char $ac_func (); below. */ |
9062 #include <assert.h> | 9092 #include <assert.h> |
9063 /* Override any gcc2 internal prototype to avoid an error. */ | 9093 /* Override any gcc2 internal prototype to avoid an error. */ |
9084 ; | 9114 ; |
9085 return 0; | 9115 return 0; |
9086 } | 9116 } |
9087 _ACEOF | 9117 _ACEOF |
9088 rm -f conftest.$ac_objext conftest$ac_exeext | 9118 rm -f conftest.$ac_objext conftest$ac_exeext |
9089 if { (eval echo "$as_me:9089: \"$ac_link\"") >&5 | 9119 if { (eval echo "$as_me:9119: \"$ac_link\"") >&5 |
9090 (eval $ac_link) 2>&5 | 9120 (eval $ac_link) 2>&5 |
9091 ac_status=$? | 9121 ac_status=$? |
9092 echo "$as_me:9092: \$? = $ac_status" >&5 | 9122 echo "$as_me:9122: \$? = $ac_status" >&5 |
9093 (exit $ac_status); } && | 9123 (exit $ac_status); } && |
9094 { ac_try='test -s conftest$ac_exeext' | 9124 { ac_try='test -s conftest$ac_exeext' |
9095 { (eval echo "$as_me:9095: \"$ac_try\"") >&5 | 9125 { (eval echo "$as_me:9125: \"$ac_try\"") >&5 |
9096 (eval $ac_try) 2>&5 | 9126 (eval $ac_try) 2>&5 |
9097 ac_status=$? | 9127 ac_status=$? |
9098 echo "$as_me:9098: \$? = $ac_status" >&5 | 9128 echo "$as_me:9128: \$? = $ac_status" >&5 |
9099 (exit $ac_status); }; }; then | 9129 (exit $ac_status); }; }; then |
9100 eval "$as_ac_var=yes" | 9130 eval "$as_ac_var=yes" |
9101 else | 9131 else |
9102 echo "$as_me: failed program was:" >&5 | 9132 echo "$as_me: failed program was:" >&5 |
9103 cat conftest.$ac_ext >&5 | 9133 cat conftest.$ac_ext >&5 |
9104 eval "$as_ac_var=no" | 9134 eval "$as_ac_var=no" |
9105 fi | 9135 fi |
9106 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 9136 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
9107 fi | 9137 fi |
9108 echo "$as_me:9108: result: `eval echo '${'$as_ac_var'}'`" >&5 | 9138 echo "$as_me:9138: result: `eval echo '${'$as_ac_var'}'`" >&5 |
9109 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 9139 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
9110 if test `eval echo '${'$as_ac_var'}'` = yes; then | 9140 if test `eval echo '${'$as_ac_var'}'` = yes; then |
9111 cat >>confdefs.h <<EOF | 9141 cat >>confdefs.h <<EOF |
9112 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 9142 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
9113 EOF | 9143 EOF |
9119 #define C_GETLOADAVG 1 | 9149 #define C_GETLOADAVG 1 |
9120 EOF | 9150 EOF |
9121 | 9151 |
9122 # Figure out what our getloadavg.c needs. | 9152 # Figure out what our getloadavg.c needs. |
9123 ac_have_func=no | 9153 ac_have_func=no |
9124 echo "$as_me:9124: checking for sys/dg_sys_info.h" >&5 | 9154 echo "$as_me:9154: checking for sys/dg_sys_info.h" >&5 |
9125 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6 | 9155 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6 |
9126 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then | 9156 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then |
9127 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9157 echo $ECHO_N "(cached) $ECHO_C" >&6 |
9128 else | 9158 else |
9129 cat >conftest.$ac_ext <<_ACEOF | 9159 cat >conftest.$ac_ext <<_ACEOF |
9130 #line 9130 "configure" | 9160 #line 9160 "configure" |
9131 #include "confdefs.h" | 9161 #include "confdefs.h" |
9132 #include <sys/dg_sys_info.h> | 9162 #include <sys/dg_sys_info.h> |
9133 _ACEOF | 9163 _ACEOF |
9134 if { (eval echo "$as_me:9134: \"$ac_cpp conftest.$ac_ext\"") >&5 | 9164 if { (eval echo "$as_me:9164: \"$ac_cpp conftest.$ac_ext\"") >&5 |
9135 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 9165 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
9136 ac_status=$? | 9166 ac_status=$? |
9137 egrep -v '^ *\+' conftest.er1 >conftest.err | 9167 egrep -v '^ *\+' conftest.er1 >conftest.err |
9138 rm -f conftest.er1 | 9168 rm -f conftest.er1 |
9139 cat conftest.err >&5 | 9169 cat conftest.err >&5 |
9140 echo "$as_me:9140: \$? = $ac_status" >&5 | 9170 echo "$as_me:9170: \$? = $ac_status" >&5 |
9141 (exit $ac_status); } >/dev/null; then | 9171 (exit $ac_status); } >/dev/null; then |
9142 if test -s conftest.err; then | 9172 if test -s conftest.err; then |
9143 ac_cpp_err=$ac_c_preproc_warn_flag | 9173 ac_cpp_err=$ac_c_preproc_warn_flag |
9144 else | 9174 else |
9145 ac_cpp_err= | 9175 ac_cpp_err= |
9154 cat conftest.$ac_ext >&5 | 9184 cat conftest.$ac_ext >&5 |
9155 ac_cv_header_sys_dg_sys_info_h=no | 9185 ac_cv_header_sys_dg_sys_info_h=no |
9156 fi | 9186 fi |
9157 rm -f conftest.err conftest.$ac_ext | 9187 rm -f conftest.err conftest.$ac_ext |
9158 fi | 9188 fi |
9159 echo "$as_me:9159: result: $ac_cv_header_sys_dg_sys_info_h" >&5 | 9189 echo "$as_me:9189: result: $ac_cv_header_sys_dg_sys_info_h" >&5 |
9160 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6 | 9190 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6 |
9161 if test $ac_cv_header_sys_dg_sys_info_h = yes; then | 9191 if test $ac_cv_header_sys_dg_sys_info_h = yes; then |
9162 ac_have_func=yes | 9192 ac_have_func=yes |
9163 | 9193 |
9164 cat >>confdefs.h <<\EOF | 9194 cat >>confdefs.h <<\EOF |
9165 #define DGUX 1 | 9195 #define DGUX 1 |
9166 EOF | 9196 EOF |
9167 | 9197 |
9168 echo "$as_me:9168: checking for dg_sys_info in -ldgc" >&5 | 9198 echo "$as_me:9198: checking for dg_sys_info in -ldgc" >&5 |
9169 echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6 | 9199 echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6 |
9170 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then | 9200 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then |
9171 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9201 echo $ECHO_N "(cached) $ECHO_C" >&6 |
9172 else | 9202 else |
9173 ac_check_lib_save_LIBS=$LIBS | 9203 ac_check_lib_save_LIBS=$LIBS |
9174 LIBS="-ldgc $LIBS" | 9204 LIBS="-ldgc $LIBS" |
9175 cat >conftest.$ac_ext <<_ACEOF | 9205 cat >conftest.$ac_ext <<_ACEOF |
9176 #line 9176 "configure" | 9206 #line 9206 "configure" |
9177 #include "confdefs.h" | 9207 #include "confdefs.h" |
9178 | 9208 |
9179 /* Override any gcc2 internal prototype to avoid an error. */ | 9209 /* Override any gcc2 internal prototype to avoid an error. */ |
9180 #ifdef __cplusplus | 9210 #ifdef __cplusplus |
9181 extern "C" | 9211 extern "C" |
9190 ; | 9220 ; |
9191 return 0; | 9221 return 0; |
9192 } | 9222 } |
9193 _ACEOF | 9223 _ACEOF |
9194 rm -f conftest.$ac_objext conftest$ac_exeext | 9224 rm -f conftest.$ac_objext conftest$ac_exeext |
9195 if { (eval echo "$as_me:9195: \"$ac_link\"") >&5 | 9225 if { (eval echo "$as_me:9225: \"$ac_link\"") >&5 |
9196 (eval $ac_link) 2>&5 | 9226 (eval $ac_link) 2>&5 |
9197 ac_status=$? | 9227 ac_status=$? |
9198 echo "$as_me:9198: \$? = $ac_status" >&5 | 9228 echo "$as_me:9228: \$? = $ac_status" >&5 |
9199 (exit $ac_status); } && | 9229 (exit $ac_status); } && |
9200 { ac_try='test -s conftest$ac_exeext' | 9230 { ac_try='test -s conftest$ac_exeext' |
9201 { (eval echo "$as_me:9201: \"$ac_try\"") >&5 | 9231 { (eval echo "$as_me:9231: \"$ac_try\"") >&5 |
9202 (eval $ac_try) 2>&5 | 9232 (eval $ac_try) 2>&5 |
9203 ac_status=$? | 9233 ac_status=$? |
9204 echo "$as_me:9204: \$? = $ac_status" >&5 | 9234 echo "$as_me:9234: \$? = $ac_status" >&5 |
9205 (exit $ac_status); }; }; then | 9235 (exit $ac_status); }; }; then |
9206 ac_cv_lib_dgc_dg_sys_info=yes | 9236 ac_cv_lib_dgc_dg_sys_info=yes |
9207 else | 9237 else |
9208 echo "$as_me: failed program was:" >&5 | 9238 echo "$as_me: failed program was:" >&5 |
9209 cat conftest.$ac_ext >&5 | 9239 cat conftest.$ac_ext >&5 |
9210 ac_cv_lib_dgc_dg_sys_info=no | 9240 ac_cv_lib_dgc_dg_sys_info=no |
9211 fi | 9241 fi |
9212 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 9242 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
9213 LIBS=$ac_check_lib_save_LIBS | 9243 LIBS=$ac_check_lib_save_LIBS |
9214 fi | 9244 fi |
9215 echo "$as_me:9215: result: $ac_cv_lib_dgc_dg_sys_info" >&5 | 9245 echo "$as_me:9245: result: $ac_cv_lib_dgc_dg_sys_info" >&5 |
9216 echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6 | 9246 echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6 |
9217 if test $ac_cv_lib_dgc_dg_sys_info = yes; then | 9247 if test $ac_cv_lib_dgc_dg_sys_info = yes; then |
9218 cat >>confdefs.h <<EOF | 9248 cat >>confdefs.h <<EOF |
9219 #define HAVE_LIBDGC 1 | 9249 #define HAVE_LIBDGC 1 |
9220 EOF | 9250 EOF |
9223 | 9253 |
9224 fi | 9254 fi |
9225 | 9255 |
9226 fi | 9256 fi |
9227 | 9257 |
9228 echo "$as_me:9228: checking for locale.h" >&5 | 9258 echo "$as_me:9258: checking for locale.h" >&5 |
9229 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6 | 9259 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6 |
9230 if test "${ac_cv_header_locale_h+set}" = set; then | 9260 if test "${ac_cv_header_locale_h+set}" = set; then |
9231 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9261 echo $ECHO_N "(cached) $ECHO_C" >&6 |
9232 else | 9262 else |
9233 cat >conftest.$ac_ext <<_ACEOF | 9263 cat >conftest.$ac_ext <<_ACEOF |
9234 #line 9234 "configure" | 9264 #line 9264 "configure" |
9235 #include "confdefs.h" | 9265 #include "confdefs.h" |
9236 #include <locale.h> | 9266 #include <locale.h> |
9237 _ACEOF | 9267 _ACEOF |
9238 if { (eval echo "$as_me:9238: \"$ac_cpp conftest.$ac_ext\"") >&5 | 9268 if { (eval echo "$as_me:9268: \"$ac_cpp conftest.$ac_ext\"") >&5 |
9239 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 9269 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
9240 ac_status=$? | 9270 ac_status=$? |
9241 egrep -v '^ *\+' conftest.er1 >conftest.err | 9271 egrep -v '^ *\+' conftest.er1 >conftest.err |
9242 rm -f conftest.er1 | 9272 rm -f conftest.er1 |
9243 cat conftest.err >&5 | 9273 cat conftest.err >&5 |
9244 echo "$as_me:9244: \$? = $ac_status" >&5 | 9274 echo "$as_me:9274: \$? = $ac_status" >&5 |
9245 (exit $ac_status); } >/dev/null; then | 9275 (exit $ac_status); } >/dev/null; then |
9246 if test -s conftest.err; then | 9276 if test -s conftest.err; then |
9247 ac_cpp_err=$ac_c_preproc_warn_flag | 9277 ac_cpp_err=$ac_c_preproc_warn_flag |
9248 else | 9278 else |
9249 ac_cpp_err= | 9279 ac_cpp_err= |
9258 cat conftest.$ac_ext >&5 | 9288 cat conftest.$ac_ext >&5 |
9259 ac_cv_header_locale_h=no | 9289 ac_cv_header_locale_h=no |
9260 fi | 9290 fi |
9261 rm -f conftest.err conftest.$ac_ext | 9291 rm -f conftest.err conftest.$ac_ext |
9262 fi | 9292 fi |
9263 echo "$as_me:9263: result: $ac_cv_header_locale_h" >&5 | 9293 echo "$as_me:9293: result: $ac_cv_header_locale_h" >&5 |
9264 echo "${ECHO_T}$ac_cv_header_locale_h" >&6 | 9294 echo "${ECHO_T}$ac_cv_header_locale_h" >&6 |
9265 | 9295 |
9266 for ac_func in setlocale | 9296 for ac_func in setlocale |
9267 do | 9297 do |
9268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 9298 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
9269 echo "$as_me:9269: checking for $ac_func" >&5 | 9299 echo "$as_me:9299: checking for $ac_func" >&5 |
9270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 9300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
9271 if eval "test \"\${$as_ac_var+set}\" = set"; then | 9301 if eval "test \"\${$as_ac_var+set}\" = set"; then |
9272 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9302 echo $ECHO_N "(cached) $ECHO_C" >&6 |
9273 else | 9303 else |
9274 cat >conftest.$ac_ext <<_ACEOF | 9304 cat >conftest.$ac_ext <<_ACEOF |
9275 #line 9275 "configure" | 9305 #line 9305 "configure" |
9276 #include "confdefs.h" | 9306 #include "confdefs.h" |
9277 /* System header to define __stub macros and hopefully few prototypes, | 9307 /* System header to define __stub macros and hopefully few prototypes, |
9278 which can conflict with char $ac_func (); below. */ | 9308 which can conflict with char $ac_func (); below. */ |
9279 #include <assert.h> | 9309 #include <assert.h> |
9280 /* Override any gcc2 internal prototype to avoid an error. */ | 9310 /* Override any gcc2 internal prototype to avoid an error. */ |
9301 ; | 9331 ; |
9302 return 0; | 9332 return 0; |
9303 } | 9333 } |
9304 _ACEOF | 9334 _ACEOF |
9305 rm -f conftest.$ac_objext conftest$ac_exeext | 9335 rm -f conftest.$ac_objext conftest$ac_exeext |
9306 if { (eval echo "$as_me:9306: \"$ac_link\"") >&5 | 9336 if { (eval echo "$as_me:9336: \"$ac_link\"") >&5 |
9307 (eval $ac_link) 2>&5 | 9337 (eval $ac_link) 2>&5 |
9308 ac_status=$? | 9338 ac_status=$? |
9309 echo "$as_me:9309: \$? = $ac_status" >&5 | 9339 echo "$as_me:9339: \$? = $ac_status" >&5 |
9310 (exit $ac_status); } && | 9340 (exit $ac_status); } && |
9311 { ac_try='test -s conftest$ac_exeext' | 9341 { ac_try='test -s conftest$ac_exeext' |
9312 { (eval echo "$as_me:9312: \"$ac_try\"") >&5 | 9342 { (eval echo "$as_me:9342: \"$ac_try\"") >&5 |
9313 (eval $ac_try) 2>&5 | 9343 (eval $ac_try) 2>&5 |
9314 ac_status=$? | 9344 ac_status=$? |
9315 echo "$as_me:9315: \$? = $ac_status" >&5 | 9345 echo "$as_me:9345: \$? = $ac_status" >&5 |
9316 (exit $ac_status); }; }; then | 9346 (exit $ac_status); }; }; then |
9317 eval "$as_ac_var=yes" | 9347 eval "$as_ac_var=yes" |
9318 else | 9348 else |
9319 echo "$as_me: failed program was:" >&5 | 9349 echo "$as_me: failed program was:" >&5 |
9320 cat conftest.$ac_ext >&5 | 9350 cat conftest.$ac_ext >&5 |
9321 eval "$as_ac_var=no" | 9351 eval "$as_ac_var=no" |
9322 fi | 9352 fi |
9323 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 9353 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
9324 fi | 9354 fi |
9325 echo "$as_me:9325: result: `eval echo '${'$as_ac_var'}'`" >&5 | 9355 echo "$as_me:9355: result: `eval echo '${'$as_ac_var'}'`" >&5 |
9326 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 9356 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
9327 if test `eval echo '${'$as_ac_var'}'` = yes; then | 9357 if test `eval echo '${'$as_ac_var'}'` = yes; then |
9328 cat >>confdefs.h <<EOF | 9358 cat >>confdefs.h <<EOF |
9329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 9359 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
9330 EOF | 9360 EOF |
9343 EOF | 9373 EOF |
9344 | 9374 |
9345 fi | 9375 fi |
9346 | 9376 |
9347 if test $ac_have_func = no; then | 9377 if test $ac_have_func = no; then |
9348 echo "$as_me:9348: checking for inq_stats/cpustats.h" >&5 | 9378 echo "$as_me:9378: checking for inq_stats/cpustats.h" >&5 |
9349 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6 | 9379 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6 |
9350 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then | 9380 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then |
9351 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9381 echo $ECHO_N "(cached) $ECHO_C" >&6 |
9352 else | 9382 else |
9353 cat >conftest.$ac_ext <<_ACEOF | 9383 cat >conftest.$ac_ext <<_ACEOF |
9354 #line 9354 "configure" | 9384 #line 9384 "configure" |
9355 #include "confdefs.h" | 9385 #include "confdefs.h" |
9356 #include <inq_stats/cpustats.h> | 9386 #include <inq_stats/cpustats.h> |
9357 _ACEOF | 9387 _ACEOF |
9358 if { (eval echo "$as_me:9358: \"$ac_cpp conftest.$ac_ext\"") >&5 | 9388 if { (eval echo "$as_me:9388: \"$ac_cpp conftest.$ac_ext\"") >&5 |
9359 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 9389 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
9360 ac_status=$? | 9390 ac_status=$? |
9361 egrep -v '^ *\+' conftest.er1 >conftest.err | 9391 egrep -v '^ *\+' conftest.er1 >conftest.err |
9362 rm -f conftest.er1 | 9392 rm -f conftest.er1 |
9363 cat conftest.err >&5 | 9393 cat conftest.err >&5 |
9364 echo "$as_me:9364: \$? = $ac_status" >&5 | 9394 echo "$as_me:9394: \$? = $ac_status" >&5 |
9365 (exit $ac_status); } >/dev/null; then | 9395 (exit $ac_status); } >/dev/null; then |
9366 if test -s conftest.err; then | 9396 if test -s conftest.err; then |
9367 ac_cpp_err=$ac_c_preproc_warn_flag | 9397 ac_cpp_err=$ac_c_preproc_warn_flag |
9368 else | 9398 else |
9369 ac_cpp_err= | 9399 ac_cpp_err= |
9378 cat conftest.$ac_ext >&5 | 9408 cat conftest.$ac_ext >&5 |
9379 ac_cv_header_inq_stats_cpustats_h=no | 9409 ac_cv_header_inq_stats_cpustats_h=no |
9380 fi | 9410 fi |
9381 rm -f conftest.err conftest.$ac_ext | 9411 rm -f conftest.err conftest.$ac_ext |
9382 fi | 9412 fi |
9383 echo "$as_me:9383: result: $ac_cv_header_inq_stats_cpustats_h" >&5 | 9413 echo "$as_me:9413: result: $ac_cv_header_inq_stats_cpustats_h" >&5 |
9384 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6 | 9414 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6 |
9385 if test $ac_cv_header_inq_stats_cpustats_h = yes; then | 9415 if test $ac_cv_header_inq_stats_cpustats_h = yes; then |
9386 ac_have_func=yes | 9416 ac_have_func=yes |
9387 | 9417 |
9388 cat >>confdefs.h <<\EOF | 9418 cat >>confdefs.h <<\EOF |
9396 fi | 9426 fi |
9397 | 9427 |
9398 fi | 9428 fi |
9399 | 9429 |
9400 if test $ac_have_func = no; then | 9430 if test $ac_have_func = no; then |
9401 echo "$as_me:9401: checking for sys/cpustats.h" >&5 | 9431 echo "$as_me:9431: checking for sys/cpustats.h" >&5 |
9402 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6 | 9432 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6 |
9403 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then | 9433 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then |
9404 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9434 echo $ECHO_N "(cached) $ECHO_C" >&6 |
9405 else | 9435 else |
9406 cat >conftest.$ac_ext <<_ACEOF | 9436 cat >conftest.$ac_ext <<_ACEOF |
9407 #line 9407 "configure" | 9437 #line 9437 "configure" |
9408 #include "confdefs.h" | 9438 #include "confdefs.h" |
9409 #include <sys/cpustats.h> | 9439 #include <sys/cpustats.h> |
9410 _ACEOF | 9440 _ACEOF |
9411 if { (eval echo "$as_me:9411: \"$ac_cpp conftest.$ac_ext\"") >&5 | 9441 if { (eval echo "$as_me:9441: \"$ac_cpp conftest.$ac_ext\"") >&5 |
9412 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 9442 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
9413 ac_status=$? | 9443 ac_status=$? |
9414 egrep -v '^ *\+' conftest.er1 >conftest.err | 9444 egrep -v '^ *\+' conftest.er1 >conftest.err |
9415 rm -f conftest.er1 | 9445 rm -f conftest.er1 |
9416 cat conftest.err >&5 | 9446 cat conftest.err >&5 |
9417 echo "$as_me:9417: \$? = $ac_status" >&5 | 9447 echo "$as_me:9447: \$? = $ac_status" >&5 |
9418 (exit $ac_status); } >/dev/null; then | 9448 (exit $ac_status); } >/dev/null; then |
9419 if test -s conftest.err; then | 9449 if test -s conftest.err; then |
9420 ac_cpp_err=$ac_c_preproc_warn_flag | 9450 ac_cpp_err=$ac_c_preproc_warn_flag |
9421 else | 9451 else |
9422 ac_cpp_err= | 9452 ac_cpp_err= |
9431 cat conftest.$ac_ext >&5 | 9461 cat conftest.$ac_ext >&5 |
9432 ac_cv_header_sys_cpustats_h=no | 9462 ac_cv_header_sys_cpustats_h=no |
9433 fi | 9463 fi |
9434 rm -f conftest.err conftest.$ac_ext | 9464 rm -f conftest.err conftest.$ac_ext |
9435 fi | 9465 fi |
9436 echo "$as_me:9436: result: $ac_cv_header_sys_cpustats_h" >&5 | 9466 echo "$as_me:9466: result: $ac_cv_header_sys_cpustats_h" >&5 |
9437 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6 | 9467 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6 |
9438 if test $ac_cv_header_sys_cpustats_h = yes; then | 9468 if test $ac_cv_header_sys_cpustats_h = yes; then |
9439 ac_have_func=yes; cat >>confdefs.h <<\EOF | 9469 ac_have_func=yes; cat >>confdefs.h <<\EOF |
9440 #define UMAX 1 | 9470 #define UMAX 1 |
9441 EOF | 9471 EOF |
9447 if test $ac_have_func = no; then | 9477 if test $ac_have_func = no; then |
9448 | 9478 |
9449 for ac_header in mach/mach.h | 9479 for ac_header in mach/mach.h |
9450 do | 9480 do |
9451 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 9481 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
9452 echo "$as_me:9452: checking for $ac_header" >&5 | 9482 echo "$as_me:9482: checking for $ac_header" >&5 |
9453 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 9483 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
9454 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 9484 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
9455 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9485 echo $ECHO_N "(cached) $ECHO_C" >&6 |
9456 else | 9486 else |
9457 cat >conftest.$ac_ext <<_ACEOF | 9487 cat >conftest.$ac_ext <<_ACEOF |
9458 #line 9458 "configure" | 9488 #line 9488 "configure" |
9459 #include "confdefs.h" | 9489 #include "confdefs.h" |
9460 #include <$ac_header> | 9490 #include <$ac_header> |
9461 _ACEOF | 9491 _ACEOF |
9462 if { (eval echo "$as_me:9462: \"$ac_cpp conftest.$ac_ext\"") >&5 | 9492 if { (eval echo "$as_me:9492: \"$ac_cpp conftest.$ac_ext\"") >&5 |
9463 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 9493 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
9464 ac_status=$? | 9494 ac_status=$? |
9465 egrep -v '^ *\+' conftest.er1 >conftest.err | 9495 egrep -v '^ *\+' conftest.er1 >conftest.err |
9466 rm -f conftest.er1 | 9496 rm -f conftest.er1 |
9467 cat conftest.err >&5 | 9497 cat conftest.err >&5 |
9468 echo "$as_me:9468: \$? = $ac_status" >&5 | 9498 echo "$as_me:9498: \$? = $ac_status" >&5 |
9469 (exit $ac_status); } >/dev/null; then | 9499 (exit $ac_status); } >/dev/null; then |
9470 if test -s conftest.err; then | 9500 if test -s conftest.err; then |
9471 ac_cpp_err=$ac_c_preproc_warn_flag | 9501 ac_cpp_err=$ac_c_preproc_warn_flag |
9472 else | 9502 else |
9473 ac_cpp_err= | 9503 ac_cpp_err= |
9482 cat conftest.$ac_ext >&5 | 9512 cat conftest.$ac_ext >&5 |
9483 eval "$as_ac_Header=no" | 9513 eval "$as_ac_Header=no" |
9484 fi | 9514 fi |
9485 rm -f conftest.err conftest.$ac_ext | 9515 rm -f conftest.err conftest.$ac_ext |
9486 fi | 9516 fi |
9487 echo "$as_me:9487: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 9517 echo "$as_me:9517: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
9488 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 9518 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
9489 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 9519 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
9490 cat >>confdefs.h <<EOF | 9520 cat >>confdefs.h <<EOF |
9491 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 9521 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
9492 EOF | 9522 EOF |
9497 fi | 9527 fi |
9498 | 9528 |
9499 for ac_header in nlist.h | 9529 for ac_header in nlist.h |
9500 do | 9530 do |
9501 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 9531 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
9502 echo "$as_me:9502: checking for $ac_header" >&5 | 9532 echo "$as_me:9532: checking for $ac_header" >&5 |
9503 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 9533 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
9504 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 9534 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
9505 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9535 echo $ECHO_N "(cached) $ECHO_C" >&6 |
9506 else | 9536 else |
9507 cat >conftest.$ac_ext <<_ACEOF | 9537 cat >conftest.$ac_ext <<_ACEOF |
9508 #line 9508 "configure" | 9538 #line 9538 "configure" |
9509 #include "confdefs.h" | 9539 #include "confdefs.h" |
9510 #include <$ac_header> | 9540 #include <$ac_header> |
9511 _ACEOF | 9541 _ACEOF |
9512 if { (eval echo "$as_me:9512: \"$ac_cpp conftest.$ac_ext\"") >&5 | 9542 if { (eval echo "$as_me:9542: \"$ac_cpp conftest.$ac_ext\"") >&5 |
9513 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 9543 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
9514 ac_status=$? | 9544 ac_status=$? |
9515 egrep -v '^ *\+' conftest.er1 >conftest.err | 9545 egrep -v '^ *\+' conftest.er1 >conftest.err |
9516 rm -f conftest.er1 | 9546 rm -f conftest.er1 |
9517 cat conftest.err >&5 | 9547 cat conftest.err >&5 |
9518 echo "$as_me:9518: \$? = $ac_status" >&5 | 9548 echo "$as_me:9548: \$? = $ac_status" >&5 |
9519 (exit $ac_status); } >/dev/null; then | 9549 (exit $ac_status); } >/dev/null; then |
9520 if test -s conftest.err; then | 9550 if test -s conftest.err; then |
9521 ac_cpp_err=$ac_c_preproc_warn_flag | 9551 ac_cpp_err=$ac_c_preproc_warn_flag |
9522 else | 9552 else |
9523 ac_cpp_err= | 9553 ac_cpp_err= |
9532 cat conftest.$ac_ext >&5 | 9562 cat conftest.$ac_ext >&5 |
9533 eval "$as_ac_Header=no" | 9563 eval "$as_ac_Header=no" |
9534 fi | 9564 fi |
9535 rm -f conftest.err conftest.$ac_ext | 9565 rm -f conftest.err conftest.$ac_ext |
9536 fi | 9566 fi |
9537 echo "$as_me:9537: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 9567 echo "$as_me:9567: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
9538 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 9568 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
9539 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 9569 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
9540 cat >>confdefs.h <<EOF | 9570 cat >>confdefs.h <<EOF |
9541 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 9571 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
9542 EOF | 9572 EOF |
9543 echo "$as_me:9543: checking for struct nlist.n_un.n_name" >&5 | 9573 echo "$as_me:9573: checking for struct nlist.n_un.n_name" >&5 |
9544 echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6 | 9574 echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6 |
9545 if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then | 9575 if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then |
9546 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9576 echo $ECHO_N "(cached) $ECHO_C" >&6 |
9547 else | 9577 else |
9548 cat >conftest.$ac_ext <<_ACEOF | 9578 cat >conftest.$ac_ext <<_ACEOF |
9549 #line 9549 "configure" | 9579 #line 9579 "configure" |
9550 #include "confdefs.h" | 9580 #include "confdefs.h" |
9551 #include <nlist.h> | 9581 #include <nlist.h> |
9552 | 9582 |
9553 int | 9583 int |
9554 main () | 9584 main () |
9559 ; | 9589 ; |
9560 return 0; | 9590 return 0; |
9561 } | 9591 } |
9562 _ACEOF | 9592 _ACEOF |
9563 rm -f conftest.$ac_objext | 9593 rm -f conftest.$ac_objext |
9564 if { (eval echo "$as_me:9564: \"$ac_compile\"") >&5 | 9594 if { (eval echo "$as_me:9594: \"$ac_compile\"") >&5 |
9565 (eval $ac_compile) 2>&5 | 9595 (eval $ac_compile) 2>&5 |
9566 ac_status=$? | 9596 ac_status=$? |
9567 echo "$as_me:9567: \$? = $ac_status" >&5 | 9597 echo "$as_me:9597: \$? = $ac_status" >&5 |
9568 (exit $ac_status); } && | 9598 (exit $ac_status); } && |
9569 { ac_try='test -s conftest.$ac_objext' | 9599 { ac_try='test -s conftest.$ac_objext' |
9570 { (eval echo "$as_me:9570: \"$ac_try\"") >&5 | 9600 { (eval echo "$as_me:9600: \"$ac_try\"") >&5 |
9571 (eval $ac_try) 2>&5 | 9601 (eval $ac_try) 2>&5 |
9572 ac_status=$? | 9602 ac_status=$? |
9573 echo "$as_me:9573: \$? = $ac_status" >&5 | 9603 echo "$as_me:9603: \$? = $ac_status" >&5 |
9574 (exit $ac_status); }; }; then | 9604 (exit $ac_status); }; }; then |
9575 ac_cv_member_struct_nlist_n_un_n_name=yes | 9605 ac_cv_member_struct_nlist_n_un_n_name=yes |
9576 else | 9606 else |
9577 echo "$as_me: failed program was:" >&5 | 9607 echo "$as_me: failed program was:" >&5 |
9578 cat conftest.$ac_ext >&5 | 9608 cat conftest.$ac_ext >&5 |
9579 ac_cv_member_struct_nlist_n_un_n_name=no | 9609 ac_cv_member_struct_nlist_n_un_n_name=no |
9580 fi | 9610 fi |
9581 rm -f conftest.$ac_objext conftest.$ac_ext | 9611 rm -f conftest.$ac_objext conftest.$ac_ext |
9582 fi | 9612 fi |
9583 echo "$as_me:9583: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5 | 9613 echo "$as_me:9613: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5 |
9584 echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6 | 9614 echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6 |
9585 if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then | 9615 if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then |
9586 | 9616 |
9587 cat >>confdefs.h <<EOF | 9617 cat >>confdefs.h <<EOF |
9588 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1 | 9618 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1 |
9599 | 9629 |
9600 fi | 9630 fi |
9601 done | 9631 done |
9602 | 9632 |
9603 # Some definitions of getloadavg require that the program be installed setgid. | 9633 # Some definitions of getloadavg require that the program be installed setgid. |
9604 echo "$as_me:9604: checking whether getloadavg requires setgid" >&5 | 9634 echo "$as_me:9634: checking whether getloadavg requires setgid" >&5 |
9605 echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6 | 9635 echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6 |
9606 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then | 9636 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then |
9607 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9637 echo $ECHO_N "(cached) $ECHO_C" >&6 |
9608 else | 9638 else |
9609 cat >conftest.$ac_ext <<_ACEOF | 9639 cat >conftest.$ac_ext <<_ACEOF |
9610 #line 9610 "configure" | 9640 #line 9640 "configure" |
9611 #include "confdefs.h" | 9641 #include "confdefs.h" |
9612 #include "$srcdir/getloadavg.c" | 9642 #include "$srcdir/getloadavg.c" |
9613 #ifdef LDAV_PRIVILEGED | 9643 #ifdef LDAV_PRIVILEGED |
9614 Yowza Am I SETGID yet | 9644 Yowza Am I SETGID yet |
9615 #endif | 9645 #endif |
9621 ac_cv_func_getloadavg_setgid=no | 9651 ac_cv_func_getloadavg_setgid=no |
9622 fi | 9652 fi |
9623 rm -f conftest* | 9653 rm -f conftest* |
9624 | 9654 |
9625 fi | 9655 fi |
9626 echo "$as_me:9626: result: $ac_cv_func_getloadavg_setgid" >&5 | 9656 echo "$as_me:9656: result: $ac_cv_func_getloadavg_setgid" >&5 |
9627 echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6 | 9657 echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6 |
9628 if test $ac_cv_func_getloadavg_setgid = yes; then | 9658 if test $ac_cv_func_getloadavg_setgid = yes; then |
9629 NEED_SETGID=true | 9659 NEED_SETGID=true |
9630 | 9660 |
9631 cat >>confdefs.h <<\EOF | 9661 cat >>confdefs.h <<\EOF |
9635 else | 9665 else |
9636 NEED_SETGID=false | 9666 NEED_SETGID=false |
9637 fi | 9667 fi |
9638 | 9668 |
9639 if test $ac_cv_func_getloadavg_setgid = yes; then | 9669 if test $ac_cv_func_getloadavg_setgid = yes; then |
9640 echo "$as_me:9640: checking group of /dev/kmem" >&5 | 9670 echo "$as_me:9670: checking group of /dev/kmem" >&5 |
9641 echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6 | 9671 echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6 |
9642 if test "${ac_cv_group_kmem+set}" = set; then | 9672 if test "${ac_cv_group_kmem+set}" = set; then |
9643 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9673 echo $ECHO_N "(cached) $ECHO_C" >&6 |
9644 else | 9674 else |
9645 # On Solaris, /dev/kmem is a symlink. Get info on the real file. | 9675 # On Solaris, /dev/kmem is a symlink. Get info on the real file. |
9650 | sed -ne 's/[ ][ ]*/ /g; | 9680 | sed -ne 's/[ ][ ]*/ /g; |
9651 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/; | 9681 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/; |
9652 / /s/.* //;p;'` | 9682 / /s/.* //;p;'` |
9653 | 9683 |
9654 fi | 9684 fi |
9655 echo "$as_me:9655: result: $ac_cv_group_kmem" >&5 | 9685 echo "$as_me:9685: result: $ac_cv_group_kmem" >&5 |
9656 echo "${ECHO_T}$ac_cv_group_kmem" >&6 | 9686 echo "${ECHO_T}$ac_cv_group_kmem" >&6 |
9657 KMEM_GROUP=$ac_cv_group_kmem | 9687 KMEM_GROUP=$ac_cv_group_kmem |
9658 fi | 9688 fi |
9659 if test "x$ac_save_LIBS" = x; then | 9689 if test "x$ac_save_LIBS" = x; then |
9660 GETLOADAVG_LIBS=$LIBS | 9690 GETLOADAVG_LIBS=$LIBS |
9661 else | 9691 else |
9662 GETLOADAVG_LIBS=`echo "$LIBS" | sed "s!$ac_save_LIBS!!"` | 9692 GETLOADAVG_LIBS=`echo "$LIBS" | sed "s!$ac_save_LIBS!!"` |
9663 fi | 9693 fi |
9664 LIBS=$ac_save_LIBS | 9694 LIBS=$ac_save_LIBS |
9665 | 9695 |
9666 echo "$as_me:9666: checking for _LARGEFILE_SOURCE value needed for large files" >&5 | 9696 echo "$as_me:9696: checking for _LARGEFILE_SOURCE value needed for large files" >&5 |
9667 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6 | 9697 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6 |
9668 if test "${ac_cv_sys_largefile_source+set}" = set; then | 9698 if test "${ac_cv_sys_largefile_source+set}" = set; then |
9669 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9699 echo $ECHO_N "(cached) $ECHO_C" >&6 |
9670 else | 9700 else |
9671 while :; do | 9701 while :; do |
9672 ac_cv_sys_largefile_source=no | 9702 ac_cv_sys_largefile_source=no |
9673 cat >conftest.$ac_ext <<_ACEOF | 9703 cat >conftest.$ac_ext <<_ACEOF |
9674 #line 9674 "configure" | 9704 #line 9704 "configure" |
9675 #include "confdefs.h" | 9705 #include "confdefs.h" |
9676 #include <stdio.h> | 9706 #include <stdio.h> |
9677 int | 9707 int |
9678 main () | 9708 main () |
9679 { | 9709 { |
9681 ; | 9711 ; |
9682 return 0; | 9712 return 0; |
9683 } | 9713 } |
9684 _ACEOF | 9714 _ACEOF |
9685 rm -f conftest.$ac_objext | 9715 rm -f conftest.$ac_objext |
9686 if { (eval echo "$as_me:9686: \"$ac_compile\"") >&5 | 9716 if { (eval echo "$as_me:9716: \"$ac_compile\"") >&5 |
9687 (eval $ac_compile) 2>&5 | 9717 (eval $ac_compile) 2>&5 |
9688 ac_status=$? | 9718 ac_status=$? |
9689 echo "$as_me:9689: \$? = $ac_status" >&5 | 9719 echo "$as_me:9719: \$? = $ac_status" >&5 |
9690 (exit $ac_status); } && | 9720 (exit $ac_status); } && |
9691 { ac_try='test -s conftest.$ac_objext' | 9721 { ac_try='test -s conftest.$ac_objext' |
9692 { (eval echo "$as_me:9692: \"$ac_try\"") >&5 | 9722 { (eval echo "$as_me:9722: \"$ac_try\"") >&5 |
9693 (eval $ac_try) 2>&5 | 9723 (eval $ac_try) 2>&5 |
9694 ac_status=$? | 9724 ac_status=$? |
9695 echo "$as_me:9695: \$? = $ac_status" >&5 | 9725 echo "$as_me:9725: \$? = $ac_status" >&5 |
9696 (exit $ac_status); }; }; then | 9726 (exit $ac_status); }; }; then |
9697 break | 9727 break |
9698 else | 9728 else |
9699 echo "$as_me: failed program was:" >&5 | 9729 echo "$as_me: failed program was:" >&5 |
9700 cat conftest.$ac_ext >&5 | 9730 cat conftest.$ac_ext >&5 |
9701 fi | 9731 fi |
9702 rm -f conftest.$ac_objext conftest.$ac_ext | 9732 rm -f conftest.$ac_objext conftest.$ac_ext |
9703 cat >conftest.$ac_ext <<_ACEOF | 9733 cat >conftest.$ac_ext <<_ACEOF |
9704 #line 9704 "configure" | 9734 #line 9734 "configure" |
9705 #include "confdefs.h" | 9735 #include "confdefs.h" |
9706 #define _LARGEFILE_SOURCE 1 | 9736 #define _LARGEFILE_SOURCE 1 |
9707 #include <stdio.h> | 9737 #include <stdio.h> |
9708 int | 9738 int |
9709 main () | 9739 main () |
9712 ; | 9742 ; |
9713 return 0; | 9743 return 0; |
9714 } | 9744 } |
9715 _ACEOF | 9745 _ACEOF |
9716 rm -f conftest.$ac_objext | 9746 rm -f conftest.$ac_objext |
9717 if { (eval echo "$as_me:9717: \"$ac_compile\"") >&5 | 9747 if { (eval echo "$as_me:9747: \"$ac_compile\"") >&5 |
9718 (eval $ac_compile) 2>&5 | 9748 (eval $ac_compile) 2>&5 |
9719 ac_status=$? | 9749 ac_status=$? |
9720 echo "$as_me:9720: \$? = $ac_status" >&5 | 9750 echo "$as_me:9750: \$? = $ac_status" >&5 |
9721 (exit $ac_status); } && | 9751 (exit $ac_status); } && |
9722 { ac_try='test -s conftest.$ac_objext' | 9752 { ac_try='test -s conftest.$ac_objext' |
9723 { (eval echo "$as_me:9723: \"$ac_try\"") >&5 | 9753 { (eval echo "$as_me:9753: \"$ac_try\"") >&5 |
9724 (eval $ac_try) 2>&5 | 9754 (eval $ac_try) 2>&5 |
9725 ac_status=$? | 9755 ac_status=$? |
9726 echo "$as_me:9726: \$? = $ac_status" >&5 | 9756 echo "$as_me:9756: \$? = $ac_status" >&5 |
9727 (exit $ac_status); }; }; then | 9757 (exit $ac_status); }; }; then |
9728 ac_cv_sys_largefile_source=1; break | 9758 ac_cv_sys_largefile_source=1; break |
9729 else | 9759 else |
9730 echo "$as_me: failed program was:" >&5 | 9760 echo "$as_me: failed program was:" >&5 |
9731 cat conftest.$ac_ext >&5 | 9761 cat conftest.$ac_ext >&5 |
9732 fi | 9762 fi |
9733 rm -f conftest.$ac_objext conftest.$ac_ext | 9763 rm -f conftest.$ac_objext conftest.$ac_ext |
9734 break | 9764 break |
9735 done | 9765 done |
9736 fi | 9766 fi |
9737 echo "$as_me:9737: result: $ac_cv_sys_largefile_source" >&5 | 9767 echo "$as_me:9767: result: $ac_cv_sys_largefile_source" >&5 |
9738 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6 | 9768 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6 |
9739 if test "$ac_cv_sys_largefile_source" != no; then | 9769 if test "$ac_cv_sys_largefile_source" != no; then |
9740 | 9770 |
9741 cat >>confdefs.h <<EOF | 9771 cat >>confdefs.h <<EOF |
9742 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source | 9772 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source |
9746 rm -f conftest* | 9776 rm -f conftest* |
9747 | 9777 |
9748 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug | 9778 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug |
9749 # in glibc 2.1.3, but that breaks too many other things. | 9779 # in glibc 2.1.3, but that breaks too many other things. |
9750 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. | 9780 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. |
9751 echo "$as_me:9751: checking for fseeko" >&5 | 9781 echo "$as_me:9781: checking for fseeko" >&5 |
9752 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6 | 9782 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6 |
9753 if test "${ac_cv_func_fseeko+set}" = set; then | 9783 if test "${ac_cv_func_fseeko+set}" = set; then |
9754 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9784 echo $ECHO_N "(cached) $ECHO_C" >&6 |
9755 else | 9785 else |
9756 cat >conftest.$ac_ext <<_ACEOF | 9786 cat >conftest.$ac_ext <<_ACEOF |
9757 #line 9757 "configure" | 9787 #line 9787 "configure" |
9758 #include "confdefs.h" | 9788 #include "confdefs.h" |
9759 #include <stdio.h> | 9789 #include <stdio.h> |
9760 int | 9790 int |
9761 main () | 9791 main () |
9762 { | 9792 { |
9764 ; | 9794 ; |
9765 return 0; | 9795 return 0; |
9766 } | 9796 } |
9767 _ACEOF | 9797 _ACEOF |
9768 rm -f conftest.$ac_objext conftest$ac_exeext | 9798 rm -f conftest.$ac_objext conftest$ac_exeext |
9769 if { (eval echo "$as_me:9769: \"$ac_link\"") >&5 | 9799 if { (eval echo "$as_me:9799: \"$ac_link\"") >&5 |
9770 (eval $ac_link) 2>&5 | 9800 (eval $ac_link) 2>&5 |
9771 ac_status=$? | 9801 ac_status=$? |
9772 echo "$as_me:9772: \$? = $ac_status" >&5 | 9802 echo "$as_me:9802: \$? = $ac_status" >&5 |
9773 (exit $ac_status); } && | 9803 (exit $ac_status); } && |
9774 { ac_try='test -s conftest$ac_exeext' | 9804 { ac_try='test -s conftest$ac_exeext' |
9775 { (eval echo "$as_me:9775: \"$ac_try\"") >&5 | 9805 { (eval echo "$as_me:9805: \"$ac_try\"") >&5 |
9776 (eval $ac_try) 2>&5 | 9806 (eval $ac_try) 2>&5 |
9777 ac_status=$? | 9807 ac_status=$? |
9778 echo "$as_me:9778: \$? = $ac_status" >&5 | 9808 echo "$as_me:9808: \$? = $ac_status" >&5 |
9779 (exit $ac_status); }; }; then | 9809 (exit $ac_status); }; }; then |
9780 ac_cv_func_fseeko=yes | 9810 ac_cv_func_fseeko=yes |
9781 else | 9811 else |
9782 echo "$as_me: failed program was:" >&5 | 9812 echo "$as_me: failed program was:" >&5 |
9783 cat conftest.$ac_ext >&5 | 9813 cat conftest.$ac_ext >&5 |
9784 ac_cv_func_fseeko=no | 9814 ac_cv_func_fseeko=no |
9785 fi | 9815 fi |
9786 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 9816 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
9787 fi | 9817 fi |
9788 echo "$as_me:9788: result: $ac_cv_func_fseeko" >&5 | 9818 echo "$as_me:9818: result: $ac_cv_func_fseeko" >&5 |
9789 echo "${ECHO_T}$ac_cv_func_fseeko" >&6 | 9819 echo "${ECHO_T}$ac_cv_func_fseeko" >&6 |
9790 if test $ac_cv_func_fseeko = yes; then | 9820 if test $ac_cv_func_fseeko = yes; then |
9791 | 9821 |
9792 cat >>confdefs.h <<\EOF | 9822 cat >>confdefs.h <<\EOF |
9793 #define HAVE_FSEEKO 1 | 9823 #define HAVE_FSEEKO 1 |
9798 # UNIX98 PTYs. | 9828 # UNIX98 PTYs. |
9799 | 9829 |
9800 for ac_func in grantpt | 9830 for ac_func in grantpt |
9801 do | 9831 do |
9802 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 9832 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
9803 echo "$as_me:9803: checking for $ac_func" >&5 | 9833 echo "$as_me:9833: checking for $ac_func" >&5 |
9804 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 9834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
9805 if eval "test \"\${$as_ac_var+set}\" = set"; then | 9835 if eval "test \"\${$as_ac_var+set}\" = set"; then |
9806 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9836 echo $ECHO_N "(cached) $ECHO_C" >&6 |
9807 else | 9837 else |
9808 cat >conftest.$ac_ext <<_ACEOF | 9838 cat >conftest.$ac_ext <<_ACEOF |
9809 #line 9809 "configure" | 9839 #line 9839 "configure" |
9810 #include "confdefs.h" | 9840 #include "confdefs.h" |
9811 /* System header to define __stub macros and hopefully few prototypes, | 9841 /* System header to define __stub macros and hopefully few prototypes, |
9812 which can conflict with char $ac_func (); below. */ | 9842 which can conflict with char $ac_func (); below. */ |
9813 #include <assert.h> | 9843 #include <assert.h> |
9814 /* Override any gcc2 internal prototype to avoid an error. */ | 9844 /* Override any gcc2 internal prototype to avoid an error. */ |
9835 ; | 9865 ; |
9836 return 0; | 9866 return 0; |
9837 } | 9867 } |
9838 _ACEOF | 9868 _ACEOF |
9839 rm -f conftest.$ac_objext conftest$ac_exeext | 9869 rm -f conftest.$ac_objext conftest$ac_exeext |
9840 if { (eval echo "$as_me:9840: \"$ac_link\"") >&5 | 9870 if { (eval echo "$as_me:9870: \"$ac_link\"") >&5 |
9841 (eval $ac_link) 2>&5 | 9871 (eval $ac_link) 2>&5 |
9842 ac_status=$? | 9872 ac_status=$? |
9843 echo "$as_me:9843: \$? = $ac_status" >&5 | 9873 echo "$as_me:9873: \$? = $ac_status" >&5 |
9844 (exit $ac_status); } && | 9874 (exit $ac_status); } && |
9845 { ac_try='test -s conftest$ac_exeext' | 9875 { ac_try='test -s conftest$ac_exeext' |
9846 { (eval echo "$as_me:9846: \"$ac_try\"") >&5 | 9876 { (eval echo "$as_me:9876: \"$ac_try\"") >&5 |
9847 (eval $ac_try) 2>&5 | 9877 (eval $ac_try) 2>&5 |
9848 ac_status=$? | 9878 ac_status=$? |
9849 echo "$as_me:9849: \$? = $ac_status" >&5 | 9879 echo "$as_me:9879: \$? = $ac_status" >&5 |
9850 (exit $ac_status); }; }; then | 9880 (exit $ac_status); }; }; then |
9851 eval "$as_ac_var=yes" | 9881 eval "$as_ac_var=yes" |
9852 else | 9882 else |
9853 echo "$as_me: failed program was:" >&5 | 9883 echo "$as_me: failed program was:" >&5 |
9854 cat conftest.$ac_ext >&5 | 9884 cat conftest.$ac_ext >&5 |
9855 eval "$as_ac_var=no" | 9885 eval "$as_ac_var=no" |
9856 fi | 9886 fi |
9857 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 9887 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
9858 fi | 9888 fi |
9859 echo "$as_me:9859: result: `eval echo '${'$as_ac_var'}'`" >&5 | 9889 echo "$as_me:9889: result: `eval echo '${'$as_ac_var'}'`" >&5 |
9860 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 9890 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
9861 if test `eval echo '${'$as_ac_var'}'` = yes; then | 9891 if test `eval echo '${'$as_ac_var'}'` = yes; then |
9862 cat >>confdefs.h <<EOF | 9892 cat >>confdefs.h <<EOF |
9863 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 9893 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
9864 EOF | 9894 EOF |
9869 # PTY-related GNU extensions. | 9899 # PTY-related GNU extensions. |
9870 | 9900 |
9871 for ac_func in getpt | 9901 for ac_func in getpt |
9872 do | 9902 do |
9873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 9903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
9874 echo "$as_me:9874: checking for $ac_func" >&5 | 9904 echo "$as_me:9904: checking for $ac_func" >&5 |
9875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 9905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
9876 if eval "test \"\${$as_ac_var+set}\" = set"; then | 9906 if eval "test \"\${$as_ac_var+set}\" = set"; then |
9877 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9907 echo $ECHO_N "(cached) $ECHO_C" >&6 |
9878 else | 9908 else |
9879 cat >conftest.$ac_ext <<_ACEOF | 9909 cat >conftest.$ac_ext <<_ACEOF |
9880 #line 9880 "configure" | 9910 #line 9910 "configure" |
9881 #include "confdefs.h" | 9911 #include "confdefs.h" |
9882 /* System header to define __stub macros and hopefully few prototypes, | 9912 /* System header to define __stub macros and hopefully few prototypes, |
9883 which can conflict with char $ac_func (); below. */ | 9913 which can conflict with char $ac_func (); below. */ |
9884 #include <assert.h> | 9914 #include <assert.h> |
9885 /* Override any gcc2 internal prototype to avoid an error. */ | 9915 /* Override any gcc2 internal prototype to avoid an error. */ |
9906 ; | 9936 ; |
9907 return 0; | 9937 return 0; |
9908 } | 9938 } |
9909 _ACEOF | 9939 _ACEOF |
9910 rm -f conftest.$ac_objext conftest$ac_exeext | 9940 rm -f conftest.$ac_objext conftest$ac_exeext |
9911 if { (eval echo "$as_me:9911: \"$ac_link\"") >&5 | 9941 if { (eval echo "$as_me:9941: \"$ac_link\"") >&5 |
9912 (eval $ac_link) 2>&5 | 9942 (eval $ac_link) 2>&5 |
9913 ac_status=$? | 9943 ac_status=$? |
9914 echo "$as_me:9914: \$? = $ac_status" >&5 | 9944 echo "$as_me:9944: \$? = $ac_status" >&5 |
9915 (exit $ac_status); } && | 9945 (exit $ac_status); } && |
9916 { ac_try='test -s conftest$ac_exeext' | 9946 { ac_try='test -s conftest$ac_exeext' |
9917 { (eval echo "$as_me:9917: \"$ac_try\"") >&5 | 9947 { (eval echo "$as_me:9947: \"$ac_try\"") >&5 |
9918 (eval $ac_try) 2>&5 | 9948 (eval $ac_try) 2>&5 |
9919 ac_status=$? | 9949 ac_status=$? |
9920 echo "$as_me:9920: \$? = $ac_status" >&5 | 9950 echo "$as_me:9950: \$? = $ac_status" >&5 |
9921 (exit $ac_status); }; }; then | 9951 (exit $ac_status); }; }; then |
9922 eval "$as_ac_var=yes" | 9952 eval "$as_ac_var=yes" |
9923 else | 9953 else |
9924 echo "$as_me: failed program was:" >&5 | 9954 echo "$as_me: failed program was:" >&5 |
9925 cat conftest.$ac_ext >&5 | 9955 cat conftest.$ac_ext >&5 |
9926 eval "$as_ac_var=no" | 9956 eval "$as_ac_var=no" |
9927 fi | 9957 fi |
9928 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 9958 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
9929 fi | 9959 fi |
9930 echo "$as_me:9930: result: `eval echo '${'$as_ac_var'}'`" >&5 | 9960 echo "$as_me:9960: result: `eval echo '${'$as_ac_var'}'`" >&5 |
9931 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 9961 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
9932 if test `eval echo '${'$as_ac_var'}'` = yes; then | 9962 if test `eval echo '${'$as_ac_var'}'` = yes; then |
9933 cat >>confdefs.h <<EOF | 9963 cat >>confdefs.h <<EOF |
9934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 9964 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
9935 EOF | 9965 EOF |
9940 # Check this now, so that we will NOT find the above functions in ncurses. | 9970 # Check this now, so that we will NOT find the above functions in ncurses. |
9941 # That is because we have not set up to link ncurses in lib-src. | 9971 # That is because we have not set up to link ncurses in lib-src. |
9942 # It's better to believe a function is not available | 9972 # It's better to believe a function is not available |
9943 # than to expect to find it in ncurses. | 9973 # than to expect to find it in ncurses. |
9944 | 9974 |
9945 echo "$as_me:9945: checking for tparm in -lncurses" >&5 | 9975 echo "$as_me:9975: checking for tparm in -lncurses" >&5 |
9946 echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6 | 9976 echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6 |
9947 if test "${ac_cv_lib_ncurses_tparm+set}" = set; then | 9977 if test "${ac_cv_lib_ncurses_tparm+set}" = set; then |
9948 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9978 echo $ECHO_N "(cached) $ECHO_C" >&6 |
9949 else | 9979 else |
9950 ac_check_lib_save_LIBS=$LIBS | 9980 ac_check_lib_save_LIBS=$LIBS |
9951 LIBS="-lncurses $LIBS" | 9981 LIBS="-lncurses $LIBS" |
9952 cat >conftest.$ac_ext <<_ACEOF | 9982 cat >conftest.$ac_ext <<_ACEOF |
9953 #line 9953 "configure" | 9983 #line 9983 "configure" |
9954 #include "confdefs.h" | 9984 #include "confdefs.h" |
9955 | 9985 |
9956 /* Override any gcc2 internal prototype to avoid an error. */ | 9986 /* Override any gcc2 internal prototype to avoid an error. */ |
9957 #ifdef __cplusplus | 9987 #ifdef __cplusplus |
9958 extern "C" | 9988 extern "C" |
9967 ; | 9997 ; |
9968 return 0; | 9998 return 0; |
9969 } | 9999 } |
9970 _ACEOF | 10000 _ACEOF |
9971 rm -f conftest.$ac_objext conftest$ac_exeext | 10001 rm -f conftest.$ac_objext conftest$ac_exeext |
9972 if { (eval echo "$as_me:9972: \"$ac_link\"") >&5 | 10002 if { (eval echo "$as_me:10002: \"$ac_link\"") >&5 |
9973 (eval $ac_link) 2>&5 | 10003 (eval $ac_link) 2>&5 |
9974 ac_status=$? | 10004 ac_status=$? |
9975 echo "$as_me:9975: \$? = $ac_status" >&5 | 10005 echo "$as_me:10005: \$? = $ac_status" >&5 |
9976 (exit $ac_status); } && | 10006 (exit $ac_status); } && |
9977 { ac_try='test -s conftest$ac_exeext' | 10007 { ac_try='test -s conftest$ac_exeext' |
9978 { (eval echo "$as_me:9978: \"$ac_try\"") >&5 | 10008 { (eval echo "$as_me:10008: \"$ac_try\"") >&5 |
9979 (eval $ac_try) 2>&5 | 10009 (eval $ac_try) 2>&5 |
9980 ac_status=$? | 10010 ac_status=$? |
9981 echo "$as_me:9981: \$? = $ac_status" >&5 | 10011 echo "$as_me:10011: \$? = $ac_status" >&5 |
9982 (exit $ac_status); }; }; then | 10012 (exit $ac_status); }; }; then |
9983 ac_cv_lib_ncurses_tparm=yes | 10013 ac_cv_lib_ncurses_tparm=yes |
9984 else | 10014 else |
9985 echo "$as_me: failed program was:" >&5 | 10015 echo "$as_me: failed program was:" >&5 |
9986 cat conftest.$ac_ext >&5 | 10016 cat conftest.$ac_ext >&5 |
9987 ac_cv_lib_ncurses_tparm=no | 10017 ac_cv_lib_ncurses_tparm=no |
9988 fi | 10018 fi |
9989 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 10019 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
9990 LIBS=$ac_check_lib_save_LIBS | 10020 LIBS=$ac_check_lib_save_LIBS |
9991 fi | 10021 fi |
9992 echo "$as_me:9992: result: $ac_cv_lib_ncurses_tparm" >&5 | 10022 echo "$as_me:10022: result: $ac_cv_lib_ncurses_tparm" >&5 |
9993 echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6 | 10023 echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6 |
9994 if test $ac_cv_lib_ncurses_tparm = yes; then | 10024 if test $ac_cv_lib_ncurses_tparm = yes; then |
9995 cat >>confdefs.h <<EOF | 10025 cat >>confdefs.h <<EOF |
9996 #define HAVE_LIBNCURSES 1 | 10026 #define HAVE_LIBNCURSES 1 |
9997 EOF | 10027 EOF |
10002 | 10032 |
10003 # Do we need the Hesiod library to provide the support routines? | 10033 # Do we need the Hesiod library to provide the support routines? |
10004 if test "$with_hesiod" = yes ; then | 10034 if test "$with_hesiod" = yes ; then |
10005 # Don't set $LIBS here -- see comments above. | 10035 # Don't set $LIBS here -- see comments above. |
10006 resolv=no | 10036 resolv=no |
10007 echo "$as_me:10007: checking for res_send" >&5 | 10037 echo "$as_me:10037: checking for res_send" >&5 |
10008 echo $ECHO_N "checking for res_send... $ECHO_C" >&6 | 10038 echo $ECHO_N "checking for res_send... $ECHO_C" >&6 |
10009 if test "${ac_cv_func_res_send+set}" = set; then | 10039 if test "${ac_cv_func_res_send+set}" = set; then |
10010 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10040 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10011 else | 10041 else |
10012 cat >conftest.$ac_ext <<_ACEOF | 10042 cat >conftest.$ac_ext <<_ACEOF |
10013 #line 10013 "configure" | 10043 #line 10043 "configure" |
10014 #include "confdefs.h" | 10044 #include "confdefs.h" |
10015 /* System header to define __stub macros and hopefully few prototypes, | 10045 /* System header to define __stub macros and hopefully few prototypes, |
10016 which can conflict with char res_send (); below. */ | 10046 which can conflict with char res_send (); below. */ |
10017 #include <assert.h> | 10047 #include <assert.h> |
10018 /* Override any gcc2 internal prototype to avoid an error. */ | 10048 /* Override any gcc2 internal prototype to avoid an error. */ |
10039 ; | 10069 ; |
10040 return 0; | 10070 return 0; |
10041 } | 10071 } |
10042 _ACEOF | 10072 _ACEOF |
10043 rm -f conftest.$ac_objext conftest$ac_exeext | 10073 rm -f conftest.$ac_objext conftest$ac_exeext |
10044 if { (eval echo "$as_me:10044: \"$ac_link\"") >&5 | 10074 if { (eval echo "$as_me:10074: \"$ac_link\"") >&5 |
10045 (eval $ac_link) 2>&5 | 10075 (eval $ac_link) 2>&5 |
10046 ac_status=$? | 10076 ac_status=$? |
10047 echo "$as_me:10047: \$? = $ac_status" >&5 | 10077 echo "$as_me:10077: \$? = $ac_status" >&5 |
10048 (exit $ac_status); } && | 10078 (exit $ac_status); } && |
10049 { ac_try='test -s conftest$ac_exeext' | 10079 { ac_try='test -s conftest$ac_exeext' |
10050 { (eval echo "$as_me:10050: \"$ac_try\"") >&5 | 10080 { (eval echo "$as_me:10080: \"$ac_try\"") >&5 |
10051 (eval $ac_try) 2>&5 | 10081 (eval $ac_try) 2>&5 |
10052 ac_status=$? | 10082 ac_status=$? |
10053 echo "$as_me:10053: \$? = $ac_status" >&5 | 10083 echo "$as_me:10083: \$? = $ac_status" >&5 |
10054 (exit $ac_status); }; }; then | 10084 (exit $ac_status); }; }; then |
10055 ac_cv_func_res_send=yes | 10085 ac_cv_func_res_send=yes |
10056 else | 10086 else |
10057 echo "$as_me: failed program was:" >&5 | 10087 echo "$as_me: failed program was:" >&5 |
10058 cat conftest.$ac_ext >&5 | 10088 cat conftest.$ac_ext >&5 |
10059 ac_cv_func_res_send=no | 10089 ac_cv_func_res_send=no |
10060 fi | 10090 fi |
10061 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 10091 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
10062 fi | 10092 fi |
10063 echo "$as_me:10063: result: $ac_cv_func_res_send" >&5 | 10093 echo "$as_me:10093: result: $ac_cv_func_res_send" >&5 |
10064 echo "${ECHO_T}$ac_cv_func_res_send" >&6 | 10094 echo "${ECHO_T}$ac_cv_func_res_send" >&6 |
10065 if test $ac_cv_func_res_send = yes; then | 10095 if test $ac_cv_func_res_send = yes; then |
10066 : | 10096 : |
10067 else | 10097 else |
10068 echo "$as_me:10068: checking for __res_send" >&5 | 10098 echo "$as_me:10098: checking for __res_send" >&5 |
10069 echo $ECHO_N "checking for __res_send... $ECHO_C" >&6 | 10099 echo $ECHO_N "checking for __res_send... $ECHO_C" >&6 |
10070 if test "${ac_cv_func___res_send+set}" = set; then | 10100 if test "${ac_cv_func___res_send+set}" = set; then |
10071 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10101 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10072 else | 10102 else |
10073 cat >conftest.$ac_ext <<_ACEOF | 10103 cat >conftest.$ac_ext <<_ACEOF |
10074 #line 10074 "configure" | 10104 #line 10104 "configure" |
10075 #include "confdefs.h" | 10105 #include "confdefs.h" |
10076 /* System header to define __stub macros and hopefully few prototypes, | 10106 /* System header to define __stub macros and hopefully few prototypes, |
10077 which can conflict with char __res_send (); below. */ | 10107 which can conflict with char __res_send (); below. */ |
10078 #include <assert.h> | 10108 #include <assert.h> |
10079 /* Override any gcc2 internal prototype to avoid an error. */ | 10109 /* Override any gcc2 internal prototype to avoid an error. */ |
10100 ; | 10130 ; |
10101 return 0; | 10131 return 0; |
10102 } | 10132 } |
10103 _ACEOF | 10133 _ACEOF |
10104 rm -f conftest.$ac_objext conftest$ac_exeext | 10134 rm -f conftest.$ac_objext conftest$ac_exeext |
10105 if { (eval echo "$as_me:10105: \"$ac_link\"") >&5 | 10135 if { (eval echo "$as_me:10135: \"$ac_link\"") >&5 |
10106 (eval $ac_link) 2>&5 | 10136 (eval $ac_link) 2>&5 |
10107 ac_status=$? | 10137 ac_status=$? |
10108 echo "$as_me:10108: \$? = $ac_status" >&5 | 10138 echo "$as_me:10138: \$? = $ac_status" >&5 |
10109 (exit $ac_status); } && | 10139 (exit $ac_status); } && |
10110 { ac_try='test -s conftest$ac_exeext' | 10140 { ac_try='test -s conftest$ac_exeext' |
10111 { (eval echo "$as_me:10111: \"$ac_try\"") >&5 | 10141 { (eval echo "$as_me:10141: \"$ac_try\"") >&5 |
10112 (eval $ac_try) 2>&5 | 10142 (eval $ac_try) 2>&5 |
10113 ac_status=$? | 10143 ac_status=$? |
10114 echo "$as_me:10114: \$? = $ac_status" >&5 | 10144 echo "$as_me:10144: \$? = $ac_status" >&5 |
10115 (exit $ac_status); }; }; then | 10145 (exit $ac_status); }; }; then |
10116 ac_cv_func___res_send=yes | 10146 ac_cv_func___res_send=yes |
10117 else | 10147 else |
10118 echo "$as_me: failed program was:" >&5 | 10148 echo "$as_me: failed program was:" >&5 |
10119 cat conftest.$ac_ext >&5 | 10149 cat conftest.$ac_ext >&5 |
10120 ac_cv_func___res_send=no | 10150 ac_cv_func___res_send=no |
10121 fi | 10151 fi |
10122 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 10152 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
10123 fi | 10153 fi |
10124 echo "$as_me:10124: result: $ac_cv_func___res_send" >&5 | 10154 echo "$as_me:10154: result: $ac_cv_func___res_send" >&5 |
10125 echo "${ECHO_T}$ac_cv_func___res_send" >&6 | 10155 echo "${ECHO_T}$ac_cv_func___res_send" >&6 |
10126 if test $ac_cv_func___res_send = yes; then | 10156 if test $ac_cv_func___res_send = yes; then |
10127 : | 10157 : |
10128 else | 10158 else |
10129 echo "$as_me:10129: checking for res_send in -lresolv" >&5 | 10159 echo "$as_me:10159: checking for res_send in -lresolv" >&5 |
10130 echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6 | 10160 echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6 |
10131 if test "${ac_cv_lib_resolv_res_send+set}" = set; then | 10161 if test "${ac_cv_lib_resolv_res_send+set}" = set; then |
10132 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10162 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10133 else | 10163 else |
10134 ac_check_lib_save_LIBS=$LIBS | 10164 ac_check_lib_save_LIBS=$LIBS |
10135 LIBS="-lresolv $LIBS" | 10165 LIBS="-lresolv $LIBS" |
10136 cat >conftest.$ac_ext <<_ACEOF | 10166 cat >conftest.$ac_ext <<_ACEOF |
10137 #line 10137 "configure" | 10167 #line 10167 "configure" |
10138 #include "confdefs.h" | 10168 #include "confdefs.h" |
10139 | 10169 |
10140 /* Override any gcc2 internal prototype to avoid an error. */ | 10170 /* Override any gcc2 internal prototype to avoid an error. */ |
10141 #ifdef __cplusplus | 10171 #ifdef __cplusplus |
10142 extern "C" | 10172 extern "C" |
10151 ; | 10181 ; |
10152 return 0; | 10182 return 0; |
10153 } | 10183 } |
10154 _ACEOF | 10184 _ACEOF |
10155 rm -f conftest.$ac_objext conftest$ac_exeext | 10185 rm -f conftest.$ac_objext conftest$ac_exeext |
10156 if { (eval echo "$as_me:10156: \"$ac_link\"") >&5 | 10186 if { (eval echo "$as_me:10186: \"$ac_link\"") >&5 |
10157 (eval $ac_link) 2>&5 | 10187 (eval $ac_link) 2>&5 |
10158 ac_status=$? | 10188 ac_status=$? |
10159 echo "$as_me:10159: \$? = $ac_status" >&5 | 10189 echo "$as_me:10189: \$? = $ac_status" >&5 |
10160 (exit $ac_status); } && | 10190 (exit $ac_status); } && |
10161 { ac_try='test -s conftest$ac_exeext' | 10191 { ac_try='test -s conftest$ac_exeext' |
10162 { (eval echo "$as_me:10162: \"$ac_try\"") >&5 | 10192 { (eval echo "$as_me:10192: \"$ac_try\"") >&5 |
10163 (eval $ac_try) 2>&5 | 10193 (eval $ac_try) 2>&5 |
10164 ac_status=$? | 10194 ac_status=$? |
10165 echo "$as_me:10165: \$? = $ac_status" >&5 | 10195 echo "$as_me:10195: \$? = $ac_status" >&5 |
10166 (exit $ac_status); }; }; then | 10196 (exit $ac_status); }; }; then |
10167 ac_cv_lib_resolv_res_send=yes | 10197 ac_cv_lib_resolv_res_send=yes |
10168 else | 10198 else |
10169 echo "$as_me: failed program was:" >&5 | 10199 echo "$as_me: failed program was:" >&5 |
10170 cat conftest.$ac_ext >&5 | 10200 cat conftest.$ac_ext >&5 |
10171 ac_cv_lib_resolv_res_send=no | 10201 ac_cv_lib_resolv_res_send=no |
10172 fi | 10202 fi |
10173 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 10203 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
10174 LIBS=$ac_check_lib_save_LIBS | 10204 LIBS=$ac_check_lib_save_LIBS |
10175 fi | 10205 fi |
10176 echo "$as_me:10176: result: $ac_cv_lib_resolv_res_send" >&5 | 10206 echo "$as_me:10206: result: $ac_cv_lib_resolv_res_send" >&5 |
10177 echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6 | 10207 echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6 |
10178 if test $ac_cv_lib_resolv_res_send = yes; then | 10208 if test $ac_cv_lib_resolv_res_send = yes; then |
10179 resolv=yes | 10209 resolv=yes |
10180 else | 10210 else |
10181 echo "$as_me:10181: checking for __res_send in -lresolv" >&5 | 10211 echo "$as_me:10211: checking for __res_send in -lresolv" >&5 |
10182 echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6 | 10212 echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6 |
10183 if test "${ac_cv_lib_resolv___res_send+set}" = set; then | 10213 if test "${ac_cv_lib_resolv___res_send+set}" = set; then |
10184 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10214 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10185 else | 10215 else |
10186 ac_check_lib_save_LIBS=$LIBS | 10216 ac_check_lib_save_LIBS=$LIBS |
10187 LIBS="-lresolv $LIBS" | 10217 LIBS="-lresolv $LIBS" |
10188 cat >conftest.$ac_ext <<_ACEOF | 10218 cat >conftest.$ac_ext <<_ACEOF |
10189 #line 10189 "configure" | 10219 #line 10219 "configure" |
10190 #include "confdefs.h" | 10220 #include "confdefs.h" |
10191 | 10221 |
10192 /* Override any gcc2 internal prototype to avoid an error. */ | 10222 /* Override any gcc2 internal prototype to avoid an error. */ |
10193 #ifdef __cplusplus | 10223 #ifdef __cplusplus |
10194 extern "C" | 10224 extern "C" |
10203 ; | 10233 ; |
10204 return 0; | 10234 return 0; |
10205 } | 10235 } |
10206 _ACEOF | 10236 _ACEOF |
10207 rm -f conftest.$ac_objext conftest$ac_exeext | 10237 rm -f conftest.$ac_objext conftest$ac_exeext |
10208 if { (eval echo "$as_me:10208: \"$ac_link\"") >&5 | 10238 if { (eval echo "$as_me:10238: \"$ac_link\"") >&5 |
10209 (eval $ac_link) 2>&5 | 10239 (eval $ac_link) 2>&5 |
10210 ac_status=$? | 10240 ac_status=$? |
10211 echo "$as_me:10211: \$? = $ac_status" >&5 | 10241 echo "$as_me:10241: \$? = $ac_status" >&5 |
10212 (exit $ac_status); } && | 10242 (exit $ac_status); } && |
10213 { ac_try='test -s conftest$ac_exeext' | 10243 { ac_try='test -s conftest$ac_exeext' |
10214 { (eval echo "$as_me:10214: \"$ac_try\"") >&5 | 10244 { (eval echo "$as_me:10244: \"$ac_try\"") >&5 |
10215 (eval $ac_try) 2>&5 | 10245 (eval $ac_try) 2>&5 |
10216 ac_status=$? | 10246 ac_status=$? |
10217 echo "$as_me:10217: \$? = $ac_status" >&5 | 10247 echo "$as_me:10247: \$? = $ac_status" >&5 |
10218 (exit $ac_status); }; }; then | 10248 (exit $ac_status); }; }; then |
10219 ac_cv_lib_resolv___res_send=yes | 10249 ac_cv_lib_resolv___res_send=yes |
10220 else | 10250 else |
10221 echo "$as_me: failed program was:" >&5 | 10251 echo "$as_me: failed program was:" >&5 |
10222 cat conftest.$ac_ext >&5 | 10252 cat conftest.$ac_ext >&5 |
10223 ac_cv_lib_resolv___res_send=no | 10253 ac_cv_lib_resolv___res_send=no |
10224 fi | 10254 fi |
10225 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 10255 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
10226 LIBS=$ac_check_lib_save_LIBS | 10256 LIBS=$ac_check_lib_save_LIBS |
10227 fi | 10257 fi |
10228 echo "$as_me:10228: result: $ac_cv_lib_resolv___res_send" >&5 | 10258 echo "$as_me:10258: result: $ac_cv_lib_resolv___res_send" >&5 |
10229 echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6 | 10259 echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6 |
10230 if test $ac_cv_lib_resolv___res_send = yes; then | 10260 if test $ac_cv_lib_resolv___res_send = yes; then |
10231 resolv=yes | 10261 resolv=yes |
10232 fi | 10262 fi |
10233 | 10263 |
10244 EOF | 10274 EOF |
10245 | 10275 |
10246 else | 10276 else |
10247 RESOLVLIB= | 10277 RESOLVLIB= |
10248 fi | 10278 fi |
10249 echo "$as_me:10249: checking for hes_getmailhost" >&5 | 10279 echo "$as_me:10279: checking for hes_getmailhost" >&5 |
10250 echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6 | 10280 echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6 |
10251 if test "${ac_cv_func_hes_getmailhost+set}" = set; then | 10281 if test "${ac_cv_func_hes_getmailhost+set}" = set; then |
10252 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10282 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10253 else | 10283 else |
10254 cat >conftest.$ac_ext <<_ACEOF | 10284 cat >conftest.$ac_ext <<_ACEOF |
10255 #line 10255 "configure" | 10285 #line 10285 "configure" |
10256 #include "confdefs.h" | 10286 #include "confdefs.h" |
10257 /* System header to define __stub macros and hopefully few prototypes, | 10287 /* System header to define __stub macros and hopefully few prototypes, |
10258 which can conflict with char hes_getmailhost (); below. */ | 10288 which can conflict with char hes_getmailhost (); below. */ |
10259 #include <assert.h> | 10289 #include <assert.h> |
10260 /* Override any gcc2 internal prototype to avoid an error. */ | 10290 /* Override any gcc2 internal prototype to avoid an error. */ |
10281 ; | 10311 ; |
10282 return 0; | 10312 return 0; |
10283 } | 10313 } |
10284 _ACEOF | 10314 _ACEOF |
10285 rm -f conftest.$ac_objext conftest$ac_exeext | 10315 rm -f conftest.$ac_objext conftest$ac_exeext |
10286 if { (eval echo "$as_me:10286: \"$ac_link\"") >&5 | 10316 if { (eval echo "$as_me:10316: \"$ac_link\"") >&5 |
10287 (eval $ac_link) 2>&5 | 10317 (eval $ac_link) 2>&5 |
10288 ac_status=$? | 10318 ac_status=$? |
10289 echo "$as_me:10289: \$? = $ac_status" >&5 | 10319 echo "$as_me:10319: \$? = $ac_status" >&5 |
10290 (exit $ac_status); } && | 10320 (exit $ac_status); } && |
10291 { ac_try='test -s conftest$ac_exeext' | 10321 { ac_try='test -s conftest$ac_exeext' |
10292 { (eval echo "$as_me:10292: \"$ac_try\"") >&5 | 10322 { (eval echo "$as_me:10322: \"$ac_try\"") >&5 |
10293 (eval $ac_try) 2>&5 | 10323 (eval $ac_try) 2>&5 |
10294 ac_status=$? | 10324 ac_status=$? |
10295 echo "$as_me:10295: \$? = $ac_status" >&5 | 10325 echo "$as_me:10325: \$? = $ac_status" >&5 |
10296 (exit $ac_status); }; }; then | 10326 (exit $ac_status); }; }; then |
10297 ac_cv_func_hes_getmailhost=yes | 10327 ac_cv_func_hes_getmailhost=yes |
10298 else | 10328 else |
10299 echo "$as_me: failed program was:" >&5 | 10329 echo "$as_me: failed program was:" >&5 |
10300 cat conftest.$ac_ext >&5 | 10330 cat conftest.$ac_ext >&5 |
10301 ac_cv_func_hes_getmailhost=no | 10331 ac_cv_func_hes_getmailhost=no |
10302 fi | 10332 fi |
10303 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 10333 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
10304 fi | 10334 fi |
10305 echo "$as_me:10305: result: $ac_cv_func_hes_getmailhost" >&5 | 10335 echo "$as_me:10335: result: $ac_cv_func_hes_getmailhost" >&5 |
10306 echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6 | 10336 echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6 |
10307 if test $ac_cv_func_hes_getmailhost = yes; then | 10337 if test $ac_cv_func_hes_getmailhost = yes; then |
10308 : | 10338 : |
10309 else | 10339 else |
10310 echo "$as_me:10310: checking for hes_getmailhost in -lhesiod" >&5 | 10340 echo "$as_me:10340: checking for hes_getmailhost in -lhesiod" >&5 |
10311 echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6 | 10341 echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6 |
10312 if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then | 10342 if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then |
10313 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10343 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10314 else | 10344 else |
10315 ac_check_lib_save_LIBS=$LIBS | 10345 ac_check_lib_save_LIBS=$LIBS |
10316 LIBS="-lhesiod $RESOLVLIB $LIBS" | 10346 LIBS="-lhesiod $RESOLVLIB $LIBS" |
10317 cat >conftest.$ac_ext <<_ACEOF | 10347 cat >conftest.$ac_ext <<_ACEOF |
10318 #line 10318 "configure" | 10348 #line 10348 "configure" |
10319 #include "confdefs.h" | 10349 #include "confdefs.h" |
10320 | 10350 |
10321 /* Override any gcc2 internal prototype to avoid an error. */ | 10351 /* Override any gcc2 internal prototype to avoid an error. */ |
10322 #ifdef __cplusplus | 10352 #ifdef __cplusplus |
10323 extern "C" | 10353 extern "C" |
10332 ; | 10362 ; |
10333 return 0; | 10363 return 0; |
10334 } | 10364 } |
10335 _ACEOF | 10365 _ACEOF |
10336 rm -f conftest.$ac_objext conftest$ac_exeext | 10366 rm -f conftest.$ac_objext conftest$ac_exeext |
10337 if { (eval echo "$as_me:10337: \"$ac_link\"") >&5 | 10367 if { (eval echo "$as_me:10367: \"$ac_link\"") >&5 |
10338 (eval $ac_link) 2>&5 | 10368 (eval $ac_link) 2>&5 |
10339 ac_status=$? | 10369 ac_status=$? |
10340 echo "$as_me:10340: \$? = $ac_status" >&5 | 10370 echo "$as_me:10370: \$? = $ac_status" >&5 |
10341 (exit $ac_status); } && | 10371 (exit $ac_status); } && |
10342 { ac_try='test -s conftest$ac_exeext' | 10372 { ac_try='test -s conftest$ac_exeext' |
10343 { (eval echo "$as_me:10343: \"$ac_try\"") >&5 | 10373 { (eval echo "$as_me:10373: \"$ac_try\"") >&5 |
10344 (eval $ac_try) 2>&5 | 10374 (eval $ac_try) 2>&5 |
10345 ac_status=$? | 10375 ac_status=$? |
10346 echo "$as_me:10346: \$? = $ac_status" >&5 | 10376 echo "$as_me:10376: \$? = $ac_status" >&5 |
10347 (exit $ac_status); }; }; then | 10377 (exit $ac_status); }; }; then |
10348 ac_cv_lib_hesiod_hes_getmailhost=yes | 10378 ac_cv_lib_hesiod_hes_getmailhost=yes |
10349 else | 10379 else |
10350 echo "$as_me: failed program was:" >&5 | 10380 echo "$as_me: failed program was:" >&5 |
10351 cat conftest.$ac_ext >&5 | 10381 cat conftest.$ac_ext >&5 |
10352 ac_cv_lib_hesiod_hes_getmailhost=no | 10382 ac_cv_lib_hesiod_hes_getmailhost=no |
10353 fi | 10383 fi |
10354 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 10384 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
10355 LIBS=$ac_check_lib_save_LIBS | 10385 LIBS=$ac_check_lib_save_LIBS |
10356 fi | 10386 fi |
10357 echo "$as_me:10357: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 | 10387 echo "$as_me:10387: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 |
10358 echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6 | 10388 echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6 |
10359 if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then | 10389 if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then |
10360 cat >>confdefs.h <<\EOF | 10390 cat >>confdefs.h <<\EOF |
10361 #define HAVE_LIBHESIOD 1 | 10391 #define HAVE_LIBHESIOD 1 |
10362 EOF | 10392 EOF |
10370 fi | 10400 fi |
10371 | 10401 |
10372 # These tell us which Kerberos-related libraries to use. | 10402 # These tell us which Kerberos-related libraries to use. |
10373 if test "${with_kerberos+set}" = set; then | 10403 if test "${with_kerberos+set}" = set; then |
10374 | 10404 |
10375 echo "$as_me:10375: checking for com_err in -lcom_err" >&5 | 10405 echo "$as_me:10405: checking for com_err in -lcom_err" >&5 |
10376 echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6 | 10406 echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6 |
10377 if test "${ac_cv_lib_com_err_com_err+set}" = set; then | 10407 if test "${ac_cv_lib_com_err_com_err+set}" = set; then |
10378 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10408 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10379 else | 10409 else |
10380 ac_check_lib_save_LIBS=$LIBS | 10410 ac_check_lib_save_LIBS=$LIBS |
10381 LIBS="-lcom_err $LIBS" | 10411 LIBS="-lcom_err $LIBS" |
10382 cat >conftest.$ac_ext <<_ACEOF | 10412 cat >conftest.$ac_ext <<_ACEOF |
10383 #line 10383 "configure" | 10413 #line 10413 "configure" |
10384 #include "confdefs.h" | 10414 #include "confdefs.h" |
10385 | 10415 |
10386 /* Override any gcc2 internal prototype to avoid an error. */ | 10416 /* Override any gcc2 internal prototype to avoid an error. */ |
10387 #ifdef __cplusplus | 10417 #ifdef __cplusplus |
10388 extern "C" | 10418 extern "C" |
10397 ; | 10427 ; |
10398 return 0; | 10428 return 0; |
10399 } | 10429 } |
10400 _ACEOF | 10430 _ACEOF |
10401 rm -f conftest.$ac_objext conftest$ac_exeext | 10431 rm -f conftest.$ac_objext conftest$ac_exeext |
10402 if { (eval echo "$as_me:10402: \"$ac_link\"") >&5 | 10432 if { (eval echo "$as_me:10432: \"$ac_link\"") >&5 |
10403 (eval $ac_link) 2>&5 | 10433 (eval $ac_link) 2>&5 |
10404 ac_status=$? | 10434 ac_status=$? |
10405 echo "$as_me:10405: \$? = $ac_status" >&5 | 10435 echo "$as_me:10435: \$? = $ac_status" >&5 |
10406 (exit $ac_status); } && | 10436 (exit $ac_status); } && |
10407 { ac_try='test -s conftest$ac_exeext' | 10437 { ac_try='test -s conftest$ac_exeext' |
10408 { (eval echo "$as_me:10408: \"$ac_try\"") >&5 | 10438 { (eval echo "$as_me:10438: \"$ac_try\"") >&5 |
10409 (eval $ac_try) 2>&5 | 10439 (eval $ac_try) 2>&5 |
10410 ac_status=$? | 10440 ac_status=$? |
10411 echo "$as_me:10411: \$? = $ac_status" >&5 | 10441 echo "$as_me:10441: \$? = $ac_status" >&5 |
10412 (exit $ac_status); }; }; then | 10442 (exit $ac_status); }; }; then |
10413 ac_cv_lib_com_err_com_err=yes | 10443 ac_cv_lib_com_err_com_err=yes |
10414 else | 10444 else |
10415 echo "$as_me: failed program was:" >&5 | 10445 echo "$as_me: failed program was:" >&5 |
10416 cat conftest.$ac_ext >&5 | 10446 cat conftest.$ac_ext >&5 |
10417 ac_cv_lib_com_err_com_err=no | 10447 ac_cv_lib_com_err_com_err=no |
10418 fi | 10448 fi |
10419 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 10449 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
10420 LIBS=$ac_check_lib_save_LIBS | 10450 LIBS=$ac_check_lib_save_LIBS |
10421 fi | 10451 fi |
10422 echo "$as_me:10422: result: $ac_cv_lib_com_err_com_err" >&5 | 10452 echo "$as_me:10452: result: $ac_cv_lib_com_err_com_err" >&5 |
10423 echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6 | 10453 echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6 |
10424 if test $ac_cv_lib_com_err_com_err = yes; then | 10454 if test $ac_cv_lib_com_err_com_err = yes; then |
10425 cat >>confdefs.h <<EOF | 10455 cat >>confdefs.h <<EOF |
10426 #define HAVE_LIBCOM_ERR 1 | 10456 #define HAVE_LIBCOM_ERR 1 |
10427 EOF | 10457 EOF |
10428 | 10458 |
10429 LIBS="-lcom_err $LIBS" | 10459 LIBS="-lcom_err $LIBS" |
10430 | 10460 |
10431 fi | 10461 fi |
10432 | 10462 |
10433 echo "$as_me:10433: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 | 10463 echo "$as_me:10463: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 |
10434 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6 | 10464 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6 |
10435 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then | 10465 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then |
10436 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10466 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10437 else | 10467 else |
10438 ac_check_lib_save_LIBS=$LIBS | 10468 ac_check_lib_save_LIBS=$LIBS |
10439 LIBS="-lk5crypto $LIBS" | 10469 LIBS="-lk5crypto $LIBS" |
10440 cat >conftest.$ac_ext <<_ACEOF | 10470 cat >conftest.$ac_ext <<_ACEOF |
10441 #line 10441 "configure" | 10471 #line 10471 "configure" |
10442 #include "confdefs.h" | 10472 #include "confdefs.h" |
10443 | 10473 |
10444 /* Override any gcc2 internal prototype to avoid an error. */ | 10474 /* Override any gcc2 internal prototype to avoid an error. */ |
10445 #ifdef __cplusplus | 10475 #ifdef __cplusplus |
10446 extern "C" | 10476 extern "C" |
10455 ; | 10485 ; |
10456 return 0; | 10486 return 0; |
10457 } | 10487 } |
10458 _ACEOF | 10488 _ACEOF |
10459 rm -f conftest.$ac_objext conftest$ac_exeext | 10489 rm -f conftest.$ac_objext conftest$ac_exeext |
10460 if { (eval echo "$as_me:10460: \"$ac_link\"") >&5 | 10490 if { (eval echo "$as_me:10490: \"$ac_link\"") >&5 |
10461 (eval $ac_link) 2>&5 | 10491 (eval $ac_link) 2>&5 |
10462 ac_status=$? | 10492 ac_status=$? |
10463 echo "$as_me:10463: \$? = $ac_status" >&5 | 10493 echo "$as_me:10493: \$? = $ac_status" >&5 |
10464 (exit $ac_status); } && | 10494 (exit $ac_status); } && |
10465 { ac_try='test -s conftest$ac_exeext' | 10495 { ac_try='test -s conftest$ac_exeext' |
10466 { (eval echo "$as_me:10466: \"$ac_try\"") >&5 | 10496 { (eval echo "$as_me:10496: \"$ac_try\"") >&5 |
10467 (eval $ac_try) 2>&5 | 10497 (eval $ac_try) 2>&5 |
10468 ac_status=$? | 10498 ac_status=$? |
10469 echo "$as_me:10469: \$? = $ac_status" >&5 | 10499 echo "$as_me:10499: \$? = $ac_status" >&5 |
10470 (exit $ac_status); }; }; then | 10500 (exit $ac_status); }; }; then |
10471 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes | 10501 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes |
10472 else | 10502 else |
10473 echo "$as_me: failed program was:" >&5 | 10503 echo "$as_me: failed program was:" >&5 |
10474 cat conftest.$ac_ext >&5 | 10504 cat conftest.$ac_ext >&5 |
10475 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no | 10505 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no |
10476 fi | 10506 fi |
10477 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 10507 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
10478 LIBS=$ac_check_lib_save_LIBS | 10508 LIBS=$ac_check_lib_save_LIBS |
10479 fi | 10509 fi |
10480 echo "$as_me:10480: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5 | 10510 echo "$as_me:10510: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5 |
10481 echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6 | 10511 echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6 |
10482 if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then | 10512 if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then |
10483 cat >>confdefs.h <<EOF | 10513 cat >>confdefs.h <<EOF |
10484 #define HAVE_LIBK5CRYPTO 1 | 10514 #define HAVE_LIBK5CRYPTO 1 |
10485 EOF | 10515 EOF |
10486 | 10516 |
10487 LIBS="-lk5crypto $LIBS" | 10517 LIBS="-lk5crypto $LIBS" |
10488 | 10518 |
10489 fi | 10519 fi |
10490 | 10520 |
10491 echo "$as_me:10491: checking for mit_des_cbc_encrypt in -lcrypto" >&5 | 10521 echo "$as_me:10521: checking for mit_des_cbc_encrypt in -lcrypto" >&5 |
10492 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6 | 10522 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6 |
10493 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then | 10523 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then |
10494 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10524 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10495 else | 10525 else |
10496 ac_check_lib_save_LIBS=$LIBS | 10526 ac_check_lib_save_LIBS=$LIBS |
10497 LIBS="-lcrypto $LIBS" | 10527 LIBS="-lcrypto $LIBS" |
10498 cat >conftest.$ac_ext <<_ACEOF | 10528 cat >conftest.$ac_ext <<_ACEOF |
10499 #line 10499 "configure" | 10529 #line 10529 "configure" |
10500 #include "confdefs.h" | 10530 #include "confdefs.h" |
10501 | 10531 |
10502 /* Override any gcc2 internal prototype to avoid an error. */ | 10532 /* Override any gcc2 internal prototype to avoid an error. */ |
10503 #ifdef __cplusplus | 10533 #ifdef __cplusplus |
10504 extern "C" | 10534 extern "C" |
10513 ; | 10543 ; |
10514 return 0; | 10544 return 0; |
10515 } | 10545 } |
10516 _ACEOF | 10546 _ACEOF |
10517 rm -f conftest.$ac_objext conftest$ac_exeext | 10547 rm -f conftest.$ac_objext conftest$ac_exeext |
10518 if { (eval echo "$as_me:10518: \"$ac_link\"") >&5 | 10548 if { (eval echo "$as_me:10548: \"$ac_link\"") >&5 |
10519 (eval $ac_link) 2>&5 | 10549 (eval $ac_link) 2>&5 |
10520 ac_status=$? | 10550 ac_status=$? |
10521 echo "$as_me:10521: \$? = $ac_status" >&5 | 10551 echo "$as_me:10551: \$? = $ac_status" >&5 |
10522 (exit $ac_status); } && | 10552 (exit $ac_status); } && |
10523 { ac_try='test -s conftest$ac_exeext' | 10553 { ac_try='test -s conftest$ac_exeext' |
10524 { (eval echo "$as_me:10524: \"$ac_try\"") >&5 | 10554 { (eval echo "$as_me:10554: \"$ac_try\"") >&5 |
10525 (eval $ac_try) 2>&5 | 10555 (eval $ac_try) 2>&5 |
10526 ac_status=$? | 10556 ac_status=$? |
10527 echo "$as_me:10527: \$? = $ac_status" >&5 | 10557 echo "$as_me:10557: \$? = $ac_status" >&5 |
10528 (exit $ac_status); }; }; then | 10558 (exit $ac_status); }; }; then |
10529 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes | 10559 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes |
10530 else | 10560 else |
10531 echo "$as_me: failed program was:" >&5 | 10561 echo "$as_me: failed program was:" >&5 |
10532 cat conftest.$ac_ext >&5 | 10562 cat conftest.$ac_ext >&5 |
10533 ac_cv_lib_crypto_mit_des_cbc_encrypt=no | 10563 ac_cv_lib_crypto_mit_des_cbc_encrypt=no |
10534 fi | 10564 fi |
10535 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 10565 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
10536 LIBS=$ac_check_lib_save_LIBS | 10566 LIBS=$ac_check_lib_save_LIBS |
10537 fi | 10567 fi |
10538 echo "$as_me:10538: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5 | 10568 echo "$as_me:10568: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5 |
10539 echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6 | 10569 echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6 |
10540 if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then | 10570 if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then |
10541 cat >>confdefs.h <<EOF | 10571 cat >>confdefs.h <<EOF |
10542 #define HAVE_LIBCRYPTO 1 | 10572 #define HAVE_LIBCRYPTO 1 |
10543 EOF | 10573 EOF |
10544 | 10574 |
10545 LIBS="-lcrypto $LIBS" | 10575 LIBS="-lcrypto $LIBS" |
10546 | 10576 |
10547 fi | 10577 fi |
10548 | 10578 |
10549 echo "$as_me:10549: checking for krb5_init_context in -lkrb5" >&5 | 10579 echo "$as_me:10579: checking for krb5_init_context in -lkrb5" >&5 |
10550 echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6 | 10580 echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6 |
10551 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then | 10581 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then |
10552 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10582 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10553 else | 10583 else |
10554 ac_check_lib_save_LIBS=$LIBS | 10584 ac_check_lib_save_LIBS=$LIBS |
10555 LIBS="-lkrb5 $LIBS" | 10585 LIBS="-lkrb5 $LIBS" |
10556 cat >conftest.$ac_ext <<_ACEOF | 10586 cat >conftest.$ac_ext <<_ACEOF |
10557 #line 10557 "configure" | 10587 #line 10587 "configure" |
10558 #include "confdefs.h" | 10588 #include "confdefs.h" |
10559 | 10589 |
10560 /* Override any gcc2 internal prototype to avoid an error. */ | 10590 /* Override any gcc2 internal prototype to avoid an error. */ |
10561 #ifdef __cplusplus | 10591 #ifdef __cplusplus |
10562 extern "C" | 10592 extern "C" |
10571 ; | 10601 ; |
10572 return 0; | 10602 return 0; |
10573 } | 10603 } |
10574 _ACEOF | 10604 _ACEOF |
10575 rm -f conftest.$ac_objext conftest$ac_exeext | 10605 rm -f conftest.$ac_objext conftest$ac_exeext |
10576 if { (eval echo "$as_me:10576: \"$ac_link\"") >&5 | 10606 if { (eval echo "$as_me:10606: \"$ac_link\"") >&5 |
10577 (eval $ac_link) 2>&5 | 10607 (eval $ac_link) 2>&5 |
10578 ac_status=$? | 10608 ac_status=$? |
10579 echo "$as_me:10579: \$? = $ac_status" >&5 | 10609 echo "$as_me:10609: \$? = $ac_status" >&5 |
10580 (exit $ac_status); } && | 10610 (exit $ac_status); } && |
10581 { ac_try='test -s conftest$ac_exeext' | 10611 { ac_try='test -s conftest$ac_exeext' |
10582 { (eval echo "$as_me:10582: \"$ac_try\"") >&5 | 10612 { (eval echo "$as_me:10612: \"$ac_try\"") >&5 |
10583 (eval $ac_try) 2>&5 | 10613 (eval $ac_try) 2>&5 |
10584 ac_status=$? | 10614 ac_status=$? |
10585 echo "$as_me:10585: \$? = $ac_status" >&5 | 10615 echo "$as_me:10615: \$? = $ac_status" >&5 |
10586 (exit $ac_status); }; }; then | 10616 (exit $ac_status); }; }; then |
10587 ac_cv_lib_krb5_krb5_init_context=yes | 10617 ac_cv_lib_krb5_krb5_init_context=yes |
10588 else | 10618 else |
10589 echo "$as_me: failed program was:" >&5 | 10619 echo "$as_me: failed program was:" >&5 |
10590 cat conftest.$ac_ext >&5 | 10620 cat conftest.$ac_ext >&5 |
10591 ac_cv_lib_krb5_krb5_init_context=no | 10621 ac_cv_lib_krb5_krb5_init_context=no |
10592 fi | 10622 fi |
10593 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 10623 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
10594 LIBS=$ac_check_lib_save_LIBS | 10624 LIBS=$ac_check_lib_save_LIBS |
10595 fi | 10625 fi |
10596 echo "$as_me:10596: result: $ac_cv_lib_krb5_krb5_init_context" >&5 | 10626 echo "$as_me:10626: result: $ac_cv_lib_krb5_krb5_init_context" >&5 |
10597 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6 | 10627 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6 |
10598 if test $ac_cv_lib_krb5_krb5_init_context = yes; then | 10628 if test $ac_cv_lib_krb5_krb5_init_context = yes; then |
10599 cat >>confdefs.h <<EOF | 10629 cat >>confdefs.h <<EOF |
10600 #define HAVE_LIBKRB5 1 | 10630 #define HAVE_LIBKRB5 1 |
10601 EOF | 10631 EOF |
10604 | 10634 |
10605 fi | 10635 fi |
10606 | 10636 |
10607 if test "${with_kerberos5+set}" != set; then | 10637 if test "${with_kerberos5+set}" != set; then |
10608 | 10638 |
10609 echo "$as_me:10609: checking for des_cbc_encrypt in -ldes425" >&5 | 10639 echo "$as_me:10639: checking for des_cbc_encrypt in -ldes425" >&5 |
10610 echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6 | 10640 echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6 |
10611 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then | 10641 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then |
10612 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10642 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10613 else | 10643 else |
10614 ac_check_lib_save_LIBS=$LIBS | 10644 ac_check_lib_save_LIBS=$LIBS |
10615 LIBS="-ldes425 $LIBS" | 10645 LIBS="-ldes425 $LIBS" |
10616 cat >conftest.$ac_ext <<_ACEOF | 10646 cat >conftest.$ac_ext <<_ACEOF |
10617 #line 10617 "configure" | 10647 #line 10647 "configure" |
10618 #include "confdefs.h" | 10648 #include "confdefs.h" |
10619 | 10649 |
10620 /* Override any gcc2 internal prototype to avoid an error. */ | 10650 /* Override any gcc2 internal prototype to avoid an error. */ |
10621 #ifdef __cplusplus | 10651 #ifdef __cplusplus |
10622 extern "C" | 10652 extern "C" |
10631 ; | 10661 ; |
10632 return 0; | 10662 return 0; |
10633 } | 10663 } |
10634 _ACEOF | 10664 _ACEOF |
10635 rm -f conftest.$ac_objext conftest$ac_exeext | 10665 rm -f conftest.$ac_objext conftest$ac_exeext |
10636 if { (eval echo "$as_me:10636: \"$ac_link\"") >&5 | 10666 if { (eval echo "$as_me:10666: \"$ac_link\"") >&5 |
10637 (eval $ac_link) 2>&5 | 10667 (eval $ac_link) 2>&5 |
10638 ac_status=$? | 10668 ac_status=$? |
10639 echo "$as_me:10639: \$? = $ac_status" >&5 | 10669 echo "$as_me:10669: \$? = $ac_status" >&5 |
10640 (exit $ac_status); } && | 10670 (exit $ac_status); } && |
10641 { ac_try='test -s conftest$ac_exeext' | 10671 { ac_try='test -s conftest$ac_exeext' |
10642 { (eval echo "$as_me:10642: \"$ac_try\"") >&5 | 10672 { (eval echo "$as_me:10672: \"$ac_try\"") >&5 |
10643 (eval $ac_try) 2>&5 | 10673 (eval $ac_try) 2>&5 |
10644 ac_status=$? | 10674 ac_status=$? |
10645 echo "$as_me:10645: \$? = $ac_status" >&5 | 10675 echo "$as_me:10675: \$? = $ac_status" >&5 |
10646 (exit $ac_status); }; }; then | 10676 (exit $ac_status); }; }; then |
10647 ac_cv_lib_des425_des_cbc_encrypt=yes | 10677 ac_cv_lib_des425_des_cbc_encrypt=yes |
10648 else | 10678 else |
10649 echo "$as_me: failed program was:" >&5 | 10679 echo "$as_me: failed program was:" >&5 |
10650 cat conftest.$ac_ext >&5 | 10680 cat conftest.$ac_ext >&5 |
10651 ac_cv_lib_des425_des_cbc_encrypt=no | 10681 ac_cv_lib_des425_des_cbc_encrypt=no |
10652 fi | 10682 fi |
10653 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 10683 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
10654 LIBS=$ac_check_lib_save_LIBS | 10684 LIBS=$ac_check_lib_save_LIBS |
10655 fi | 10685 fi |
10656 echo "$as_me:10656: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 | 10686 echo "$as_me:10686: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 |
10657 echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6 | 10687 echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6 |
10658 if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then | 10688 if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then |
10659 cat >>confdefs.h <<EOF | 10689 cat >>confdefs.h <<EOF |
10660 #define HAVE_LIBDES425 1 | 10690 #define HAVE_LIBDES425 1 |
10661 EOF | 10691 EOF |
10662 | 10692 |
10663 LIBS="-ldes425 $LIBS" | 10693 LIBS="-ldes425 $LIBS" |
10664 | 10694 |
10665 else | 10695 else |
10666 | 10696 |
10667 echo "$as_me:10667: checking for des_cbc_encrypt in -ldes" >&5 | 10697 echo "$as_me:10697: checking for des_cbc_encrypt in -ldes" >&5 |
10668 echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6 | 10698 echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6 |
10669 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then | 10699 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then |
10670 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10700 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10671 else | 10701 else |
10672 ac_check_lib_save_LIBS=$LIBS | 10702 ac_check_lib_save_LIBS=$LIBS |
10673 LIBS="-ldes $LIBS" | 10703 LIBS="-ldes $LIBS" |
10674 cat >conftest.$ac_ext <<_ACEOF | 10704 cat >conftest.$ac_ext <<_ACEOF |
10675 #line 10675 "configure" | 10705 #line 10705 "configure" |
10676 #include "confdefs.h" | 10706 #include "confdefs.h" |
10677 | 10707 |
10678 /* Override any gcc2 internal prototype to avoid an error. */ | 10708 /* Override any gcc2 internal prototype to avoid an error. */ |
10679 #ifdef __cplusplus | 10709 #ifdef __cplusplus |
10680 extern "C" | 10710 extern "C" |
10689 ; | 10719 ; |
10690 return 0; | 10720 return 0; |
10691 } | 10721 } |
10692 _ACEOF | 10722 _ACEOF |
10693 rm -f conftest.$ac_objext conftest$ac_exeext | 10723 rm -f conftest.$ac_objext conftest$ac_exeext |
10694 if { (eval echo "$as_me:10694: \"$ac_link\"") >&5 | 10724 if { (eval echo "$as_me:10724: \"$ac_link\"") >&5 |
10695 (eval $ac_link) 2>&5 | 10725 (eval $ac_link) 2>&5 |
10696 ac_status=$? | 10726 ac_status=$? |
10697 echo "$as_me:10697: \$? = $ac_status" >&5 | 10727 echo "$as_me:10727: \$? = $ac_status" >&5 |
10698 (exit $ac_status); } && | 10728 (exit $ac_status); } && |
10699 { ac_try='test -s conftest$ac_exeext' | 10729 { ac_try='test -s conftest$ac_exeext' |
10700 { (eval echo "$as_me:10700: \"$ac_try\"") >&5 | 10730 { (eval echo "$as_me:10730: \"$ac_try\"") >&5 |
10701 (eval $ac_try) 2>&5 | 10731 (eval $ac_try) 2>&5 |
10702 ac_status=$? | 10732 ac_status=$? |
10703 echo "$as_me:10703: \$? = $ac_status" >&5 | 10733 echo "$as_me:10733: \$? = $ac_status" >&5 |
10704 (exit $ac_status); }; }; then | 10734 (exit $ac_status); }; }; then |
10705 ac_cv_lib_des_des_cbc_encrypt=yes | 10735 ac_cv_lib_des_des_cbc_encrypt=yes |
10706 else | 10736 else |
10707 echo "$as_me: failed program was:" >&5 | 10737 echo "$as_me: failed program was:" >&5 |
10708 cat conftest.$ac_ext >&5 | 10738 cat conftest.$ac_ext >&5 |
10709 ac_cv_lib_des_des_cbc_encrypt=no | 10739 ac_cv_lib_des_des_cbc_encrypt=no |
10710 fi | 10740 fi |
10711 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 10741 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
10712 LIBS=$ac_check_lib_save_LIBS | 10742 LIBS=$ac_check_lib_save_LIBS |
10713 fi | 10743 fi |
10714 echo "$as_me:10714: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 | 10744 echo "$as_me:10744: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 |
10715 echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6 | 10745 echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6 |
10716 if test $ac_cv_lib_des_des_cbc_encrypt = yes; then | 10746 if test $ac_cv_lib_des_des_cbc_encrypt = yes; then |
10717 cat >>confdefs.h <<EOF | 10747 cat >>confdefs.h <<EOF |
10718 #define HAVE_LIBDES 1 | 10748 #define HAVE_LIBDES 1 |
10719 EOF | 10749 EOF |
10722 | 10752 |
10723 fi | 10753 fi |
10724 | 10754 |
10725 fi | 10755 fi |
10726 | 10756 |
10727 echo "$as_me:10727: checking for krb_get_cred in -lkrb4" >&5 | 10757 echo "$as_me:10757: checking for krb_get_cred in -lkrb4" >&5 |
10728 echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6 | 10758 echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6 |
10729 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then | 10759 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then |
10730 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10760 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10731 else | 10761 else |
10732 ac_check_lib_save_LIBS=$LIBS | 10762 ac_check_lib_save_LIBS=$LIBS |
10733 LIBS="-lkrb4 $LIBS" | 10763 LIBS="-lkrb4 $LIBS" |
10734 cat >conftest.$ac_ext <<_ACEOF | 10764 cat >conftest.$ac_ext <<_ACEOF |
10735 #line 10735 "configure" | 10765 #line 10765 "configure" |
10736 #include "confdefs.h" | 10766 #include "confdefs.h" |
10737 | 10767 |
10738 /* Override any gcc2 internal prototype to avoid an error. */ | 10768 /* Override any gcc2 internal prototype to avoid an error. */ |
10739 #ifdef __cplusplus | 10769 #ifdef __cplusplus |
10740 extern "C" | 10770 extern "C" |
10749 ; | 10779 ; |
10750 return 0; | 10780 return 0; |
10751 } | 10781 } |
10752 _ACEOF | 10782 _ACEOF |
10753 rm -f conftest.$ac_objext conftest$ac_exeext | 10783 rm -f conftest.$ac_objext conftest$ac_exeext |
10754 if { (eval echo "$as_me:10754: \"$ac_link\"") >&5 | 10784 if { (eval echo "$as_me:10784: \"$ac_link\"") >&5 |
10755 (eval $ac_link) 2>&5 | 10785 (eval $ac_link) 2>&5 |
10756 ac_status=$? | 10786 ac_status=$? |
10757 echo "$as_me:10757: \$? = $ac_status" >&5 | 10787 echo "$as_me:10787: \$? = $ac_status" >&5 |
10758 (exit $ac_status); } && | 10788 (exit $ac_status); } && |
10759 { ac_try='test -s conftest$ac_exeext' | 10789 { ac_try='test -s conftest$ac_exeext' |
10760 { (eval echo "$as_me:10760: \"$ac_try\"") >&5 | 10790 { (eval echo "$as_me:10790: \"$ac_try\"") >&5 |
10761 (eval $ac_try) 2>&5 | 10791 (eval $ac_try) 2>&5 |
10762 ac_status=$? | 10792 ac_status=$? |
10763 echo "$as_me:10763: \$? = $ac_status" >&5 | 10793 echo "$as_me:10793: \$? = $ac_status" >&5 |
10764 (exit $ac_status); }; }; then | 10794 (exit $ac_status); }; }; then |
10765 ac_cv_lib_krb4_krb_get_cred=yes | 10795 ac_cv_lib_krb4_krb_get_cred=yes |
10766 else | 10796 else |
10767 echo "$as_me: failed program was:" >&5 | 10797 echo "$as_me: failed program was:" >&5 |
10768 cat conftest.$ac_ext >&5 | 10798 cat conftest.$ac_ext >&5 |
10769 ac_cv_lib_krb4_krb_get_cred=no | 10799 ac_cv_lib_krb4_krb_get_cred=no |
10770 fi | 10800 fi |
10771 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 10801 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
10772 LIBS=$ac_check_lib_save_LIBS | 10802 LIBS=$ac_check_lib_save_LIBS |
10773 fi | 10803 fi |
10774 echo "$as_me:10774: result: $ac_cv_lib_krb4_krb_get_cred" >&5 | 10804 echo "$as_me:10804: result: $ac_cv_lib_krb4_krb_get_cred" >&5 |
10775 echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6 | 10805 echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6 |
10776 if test $ac_cv_lib_krb4_krb_get_cred = yes; then | 10806 if test $ac_cv_lib_krb4_krb_get_cred = yes; then |
10777 cat >>confdefs.h <<EOF | 10807 cat >>confdefs.h <<EOF |
10778 #define HAVE_LIBKRB4 1 | 10808 #define HAVE_LIBKRB4 1 |
10779 EOF | 10809 EOF |
10780 | 10810 |
10781 LIBS="-lkrb4 $LIBS" | 10811 LIBS="-lkrb4 $LIBS" |
10782 | 10812 |
10783 else | 10813 else |
10784 | 10814 |
10785 echo "$as_me:10785: checking for krb_get_cred in -lkrb" >&5 | 10815 echo "$as_me:10815: checking for krb_get_cred in -lkrb" >&5 |
10786 echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6 | 10816 echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6 |
10787 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then | 10817 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then |
10788 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10818 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10789 else | 10819 else |
10790 ac_check_lib_save_LIBS=$LIBS | 10820 ac_check_lib_save_LIBS=$LIBS |
10791 LIBS="-lkrb $LIBS" | 10821 LIBS="-lkrb $LIBS" |
10792 cat >conftest.$ac_ext <<_ACEOF | 10822 cat >conftest.$ac_ext <<_ACEOF |
10793 #line 10793 "configure" | 10823 #line 10823 "configure" |
10794 #include "confdefs.h" | 10824 #include "confdefs.h" |
10795 | 10825 |
10796 /* Override any gcc2 internal prototype to avoid an error. */ | 10826 /* Override any gcc2 internal prototype to avoid an error. */ |
10797 #ifdef __cplusplus | 10827 #ifdef __cplusplus |
10798 extern "C" | 10828 extern "C" |
10807 ; | 10837 ; |
10808 return 0; | 10838 return 0; |
10809 } | 10839 } |
10810 _ACEOF | 10840 _ACEOF |
10811 rm -f conftest.$ac_objext conftest$ac_exeext | 10841 rm -f conftest.$ac_objext conftest$ac_exeext |
10812 if { (eval echo "$as_me:10812: \"$ac_link\"") >&5 | 10842 if { (eval echo "$as_me:10842: \"$ac_link\"") >&5 |
10813 (eval $ac_link) 2>&5 | 10843 (eval $ac_link) 2>&5 |
10814 ac_status=$? | 10844 ac_status=$? |
10815 echo "$as_me:10815: \$? = $ac_status" >&5 | 10845 echo "$as_me:10845: \$? = $ac_status" >&5 |
10816 (exit $ac_status); } && | 10846 (exit $ac_status); } && |
10817 { ac_try='test -s conftest$ac_exeext' | 10847 { ac_try='test -s conftest$ac_exeext' |
10818 { (eval echo "$as_me:10818: \"$ac_try\"") >&5 | 10848 { (eval echo "$as_me:10848: \"$ac_try\"") >&5 |
10819 (eval $ac_try) 2>&5 | 10849 (eval $ac_try) 2>&5 |
10820 ac_status=$? | 10850 ac_status=$? |
10821 echo "$as_me:10821: \$? = $ac_status" >&5 | 10851 echo "$as_me:10851: \$? = $ac_status" >&5 |
10822 (exit $ac_status); }; }; then | 10852 (exit $ac_status); }; }; then |
10823 ac_cv_lib_krb_krb_get_cred=yes | 10853 ac_cv_lib_krb_krb_get_cred=yes |
10824 else | 10854 else |
10825 echo "$as_me: failed program was:" >&5 | 10855 echo "$as_me: failed program was:" >&5 |
10826 cat conftest.$ac_ext >&5 | 10856 cat conftest.$ac_ext >&5 |
10827 ac_cv_lib_krb_krb_get_cred=no | 10857 ac_cv_lib_krb_krb_get_cred=no |
10828 fi | 10858 fi |
10829 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 10859 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
10830 LIBS=$ac_check_lib_save_LIBS | 10860 LIBS=$ac_check_lib_save_LIBS |
10831 fi | 10861 fi |
10832 echo "$as_me:10832: result: $ac_cv_lib_krb_krb_get_cred" >&5 | 10862 echo "$as_me:10862: result: $ac_cv_lib_krb_krb_get_cred" >&5 |
10833 echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6 | 10863 echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6 |
10834 if test $ac_cv_lib_krb_krb_get_cred = yes; then | 10864 if test $ac_cv_lib_krb_krb_get_cred = yes; then |
10835 cat >>confdefs.h <<EOF | 10865 cat >>confdefs.h <<EOF |
10836 #define HAVE_LIBKRB 1 | 10866 #define HAVE_LIBKRB 1 |
10837 EOF | 10867 EOF |
10847 if test "${with_kerberos5+set}" = set; then | 10877 if test "${with_kerberos5+set}" = set; then |
10848 | 10878 |
10849 for ac_header in krb5.h | 10879 for ac_header in krb5.h |
10850 do | 10880 do |
10851 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 10881 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
10852 echo "$as_me:10852: checking for $ac_header" >&5 | 10882 echo "$as_me:10882: checking for $ac_header" >&5 |
10853 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 10883 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
10854 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 10884 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
10855 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10885 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10856 else | 10886 else |
10857 cat >conftest.$ac_ext <<_ACEOF | 10887 cat >conftest.$ac_ext <<_ACEOF |
10858 #line 10858 "configure" | 10888 #line 10888 "configure" |
10859 #include "confdefs.h" | 10889 #include "confdefs.h" |
10860 #include <$ac_header> | 10890 #include <$ac_header> |
10861 _ACEOF | 10891 _ACEOF |
10862 if { (eval echo "$as_me:10862: \"$ac_cpp conftest.$ac_ext\"") >&5 | 10892 if { (eval echo "$as_me:10892: \"$ac_cpp conftest.$ac_ext\"") >&5 |
10863 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 10893 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
10864 ac_status=$? | 10894 ac_status=$? |
10865 egrep -v '^ *\+' conftest.er1 >conftest.err | 10895 egrep -v '^ *\+' conftest.er1 >conftest.err |
10866 rm -f conftest.er1 | 10896 rm -f conftest.er1 |
10867 cat conftest.err >&5 | 10897 cat conftest.err >&5 |
10868 echo "$as_me:10868: \$? = $ac_status" >&5 | 10898 echo "$as_me:10898: \$? = $ac_status" >&5 |
10869 (exit $ac_status); } >/dev/null; then | 10899 (exit $ac_status); } >/dev/null; then |
10870 if test -s conftest.err; then | 10900 if test -s conftest.err; then |
10871 ac_cpp_err=$ac_c_preproc_warn_flag | 10901 ac_cpp_err=$ac_c_preproc_warn_flag |
10872 else | 10902 else |
10873 ac_cpp_err= | 10903 ac_cpp_err= |
10882 cat conftest.$ac_ext >&5 | 10912 cat conftest.$ac_ext >&5 |
10883 eval "$as_ac_Header=no" | 10913 eval "$as_ac_Header=no" |
10884 fi | 10914 fi |
10885 rm -f conftest.err conftest.$ac_ext | 10915 rm -f conftest.err conftest.$ac_ext |
10886 fi | 10916 fi |
10887 echo "$as_me:10887: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 10917 echo "$as_me:10917: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
10888 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 10918 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
10889 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 10919 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
10890 cat >>confdefs.h <<EOF | 10920 cat >>confdefs.h <<EOF |
10891 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 10921 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
10892 EOF | 10922 EOF |
10897 else | 10927 else |
10898 | 10928 |
10899 for ac_header in des.h | 10929 for ac_header in des.h |
10900 do | 10930 do |
10901 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 10931 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
10902 echo "$as_me:10902: checking for $ac_header" >&5 | 10932 echo "$as_me:10932: checking for $ac_header" >&5 |
10903 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 10933 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
10904 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 10934 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
10905 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10935 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10906 else | 10936 else |
10907 cat >conftest.$ac_ext <<_ACEOF | 10937 cat >conftest.$ac_ext <<_ACEOF |
10908 #line 10908 "configure" | 10938 #line 10938 "configure" |
10909 #include "confdefs.h" | 10939 #include "confdefs.h" |
10910 #include <$ac_header> | 10940 #include <$ac_header> |
10911 _ACEOF | 10941 _ACEOF |
10912 if { (eval echo "$as_me:10912: \"$ac_cpp conftest.$ac_ext\"") >&5 | 10942 if { (eval echo "$as_me:10942: \"$ac_cpp conftest.$ac_ext\"") >&5 |
10913 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 10943 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
10914 ac_status=$? | 10944 ac_status=$? |
10915 egrep -v '^ *\+' conftest.er1 >conftest.err | 10945 egrep -v '^ *\+' conftest.er1 >conftest.err |
10916 rm -f conftest.er1 | 10946 rm -f conftest.er1 |
10917 cat conftest.err >&5 | 10947 cat conftest.err >&5 |
10918 echo "$as_me:10918: \$? = $ac_status" >&5 | 10948 echo "$as_me:10948: \$? = $ac_status" >&5 |
10919 (exit $ac_status); } >/dev/null; then | 10949 (exit $ac_status); } >/dev/null; then |
10920 if test -s conftest.err; then | 10950 if test -s conftest.err; then |
10921 ac_cpp_err=$ac_c_preproc_warn_flag | 10951 ac_cpp_err=$ac_c_preproc_warn_flag |
10922 else | 10952 else |
10923 ac_cpp_err= | 10953 ac_cpp_err= |
10932 cat conftest.$ac_ext >&5 | 10962 cat conftest.$ac_ext >&5 |
10933 eval "$as_ac_Header=no" | 10963 eval "$as_ac_Header=no" |
10934 fi | 10964 fi |
10935 rm -f conftest.err conftest.$ac_ext | 10965 rm -f conftest.err conftest.$ac_ext |
10936 fi | 10966 fi |
10937 echo "$as_me:10937: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 10967 echo "$as_me:10967: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
10938 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 10968 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
10939 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 10969 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
10940 cat >>confdefs.h <<EOF | 10970 cat >>confdefs.h <<EOF |
10941 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 10971 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
10942 EOF | 10972 EOF |
10944 else | 10974 else |
10945 | 10975 |
10946 for ac_header in kerberosIV/des.h | 10976 for ac_header in kerberosIV/des.h |
10947 do | 10977 do |
10948 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 10978 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
10949 echo "$as_me:10949: checking for $ac_header" >&5 | 10979 echo "$as_me:10979: checking for $ac_header" >&5 |
10950 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 10980 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
10951 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 10981 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
10952 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10982 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10953 else | 10983 else |
10954 cat >conftest.$ac_ext <<_ACEOF | 10984 cat >conftest.$ac_ext <<_ACEOF |
10955 #line 10955 "configure" | 10985 #line 10985 "configure" |
10956 #include "confdefs.h" | 10986 #include "confdefs.h" |
10957 #include <$ac_header> | 10987 #include <$ac_header> |
10958 _ACEOF | 10988 _ACEOF |
10959 if { (eval echo "$as_me:10959: \"$ac_cpp conftest.$ac_ext\"") >&5 | 10989 if { (eval echo "$as_me:10989: \"$ac_cpp conftest.$ac_ext\"") >&5 |
10960 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 10990 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
10961 ac_status=$? | 10991 ac_status=$? |
10962 egrep -v '^ *\+' conftest.er1 >conftest.err | 10992 egrep -v '^ *\+' conftest.er1 >conftest.err |
10963 rm -f conftest.er1 | 10993 rm -f conftest.er1 |
10964 cat conftest.err >&5 | 10994 cat conftest.err >&5 |
10965 echo "$as_me:10965: \$? = $ac_status" >&5 | 10995 echo "$as_me:10995: \$? = $ac_status" >&5 |
10966 (exit $ac_status); } >/dev/null; then | 10996 (exit $ac_status); } >/dev/null; then |
10967 if test -s conftest.err; then | 10997 if test -s conftest.err; then |
10968 ac_cpp_err=$ac_c_preproc_warn_flag | 10998 ac_cpp_err=$ac_c_preproc_warn_flag |
10969 else | 10999 else |
10970 ac_cpp_err= | 11000 ac_cpp_err= |
10979 cat conftest.$ac_ext >&5 | 11009 cat conftest.$ac_ext >&5 |
10980 eval "$as_ac_Header=no" | 11010 eval "$as_ac_Header=no" |
10981 fi | 11011 fi |
10982 rm -f conftest.err conftest.$ac_ext | 11012 rm -f conftest.err conftest.$ac_ext |
10983 fi | 11013 fi |
10984 echo "$as_me:10984: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 11014 echo "$as_me:11014: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
10985 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 11015 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
10986 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 11016 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
10987 cat >>confdefs.h <<EOF | 11017 cat >>confdefs.h <<EOF |
10988 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 11018 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
10989 EOF | 11019 EOF |
10991 else | 11021 else |
10992 | 11022 |
10993 for ac_header in kerberos/des.h | 11023 for ac_header in kerberos/des.h |
10994 do | 11024 do |
10995 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 11025 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
10996 echo "$as_me:10996: checking for $ac_header" >&5 | 11026 echo "$as_me:11026: checking for $ac_header" >&5 |
10997 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 11027 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
10998 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 11028 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
10999 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11029 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11000 else | 11030 else |
11001 cat >conftest.$ac_ext <<_ACEOF | 11031 cat >conftest.$ac_ext <<_ACEOF |
11002 #line 11002 "configure" | 11032 #line 11032 "configure" |
11003 #include "confdefs.h" | 11033 #include "confdefs.h" |
11004 #include <$ac_header> | 11034 #include <$ac_header> |
11005 _ACEOF | 11035 _ACEOF |
11006 if { (eval echo "$as_me:11006: \"$ac_cpp conftest.$ac_ext\"") >&5 | 11036 if { (eval echo "$as_me:11036: \"$ac_cpp conftest.$ac_ext\"") >&5 |
11007 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 11037 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
11008 ac_status=$? | 11038 ac_status=$? |
11009 egrep -v '^ *\+' conftest.er1 >conftest.err | 11039 egrep -v '^ *\+' conftest.er1 >conftest.err |
11010 rm -f conftest.er1 | 11040 rm -f conftest.er1 |
11011 cat conftest.err >&5 | 11041 cat conftest.err >&5 |
11012 echo "$as_me:11012: \$? = $ac_status" >&5 | 11042 echo "$as_me:11042: \$? = $ac_status" >&5 |
11013 (exit $ac_status); } >/dev/null; then | 11043 (exit $ac_status); } >/dev/null; then |
11014 if test -s conftest.err; then | 11044 if test -s conftest.err; then |
11015 ac_cpp_err=$ac_c_preproc_warn_flag | 11045 ac_cpp_err=$ac_c_preproc_warn_flag |
11016 else | 11046 else |
11017 ac_cpp_err= | 11047 ac_cpp_err= |
11026 cat conftest.$ac_ext >&5 | 11056 cat conftest.$ac_ext >&5 |
11027 eval "$as_ac_Header=no" | 11057 eval "$as_ac_Header=no" |
11028 fi | 11058 fi |
11029 rm -f conftest.err conftest.$ac_ext | 11059 rm -f conftest.err conftest.$ac_ext |
11030 fi | 11060 fi |
11031 echo "$as_me:11031: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 11061 echo "$as_me:11061: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
11032 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 11062 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
11033 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 11063 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
11034 cat >>confdefs.h <<EOF | 11064 cat >>confdefs.h <<EOF |
11035 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 11065 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
11036 EOF | 11066 EOF |
11045 done | 11075 done |
11046 | 11076 |
11047 for ac_header in krb.h | 11077 for ac_header in krb.h |
11048 do | 11078 do |
11049 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 11079 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
11050 echo "$as_me:11050: checking for $ac_header" >&5 | 11080 echo "$as_me:11080: checking for $ac_header" >&5 |
11051 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 11081 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
11052 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 11082 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
11053 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11083 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11054 else | 11084 else |
11055 cat >conftest.$ac_ext <<_ACEOF | 11085 cat >conftest.$ac_ext <<_ACEOF |
11056 #line 11056 "configure" | 11086 #line 11086 "configure" |
11057 #include "confdefs.h" | 11087 #include "confdefs.h" |
11058 #include <$ac_header> | 11088 #include <$ac_header> |
11059 _ACEOF | 11089 _ACEOF |
11060 if { (eval echo "$as_me:11060: \"$ac_cpp conftest.$ac_ext\"") >&5 | 11090 if { (eval echo "$as_me:11090: \"$ac_cpp conftest.$ac_ext\"") >&5 |
11061 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 11091 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
11062 ac_status=$? | 11092 ac_status=$? |
11063 egrep -v '^ *\+' conftest.er1 >conftest.err | 11093 egrep -v '^ *\+' conftest.er1 >conftest.err |
11064 rm -f conftest.er1 | 11094 rm -f conftest.er1 |
11065 cat conftest.err >&5 | 11095 cat conftest.err >&5 |
11066 echo "$as_me:11066: \$? = $ac_status" >&5 | 11096 echo "$as_me:11096: \$? = $ac_status" >&5 |
11067 (exit $ac_status); } >/dev/null; then | 11097 (exit $ac_status); } >/dev/null; then |
11068 if test -s conftest.err; then | 11098 if test -s conftest.err; then |
11069 ac_cpp_err=$ac_c_preproc_warn_flag | 11099 ac_cpp_err=$ac_c_preproc_warn_flag |
11070 else | 11100 else |
11071 ac_cpp_err= | 11101 ac_cpp_err= |
11080 cat conftest.$ac_ext >&5 | 11110 cat conftest.$ac_ext >&5 |
11081 eval "$as_ac_Header=no" | 11111 eval "$as_ac_Header=no" |
11082 fi | 11112 fi |
11083 rm -f conftest.err conftest.$ac_ext | 11113 rm -f conftest.err conftest.$ac_ext |
11084 fi | 11114 fi |
11085 echo "$as_me:11085: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 11115 echo "$as_me:11115: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
11086 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 11116 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
11087 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 11117 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
11088 cat >>confdefs.h <<EOF | 11118 cat >>confdefs.h <<EOF |
11089 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 11119 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
11090 EOF | 11120 EOF |
11092 else | 11122 else |
11093 | 11123 |
11094 for ac_header in kerberosIV/krb.h | 11124 for ac_header in kerberosIV/krb.h |
11095 do | 11125 do |
11096 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 11126 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
11097 echo "$as_me:11097: checking for $ac_header" >&5 | 11127 echo "$as_me:11127: checking for $ac_header" >&5 |
11098 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 11128 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
11099 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 11129 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
11100 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11130 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11101 else | 11131 else |
11102 cat >conftest.$ac_ext <<_ACEOF | 11132 cat >conftest.$ac_ext <<_ACEOF |
11103 #line 11103 "configure" | 11133 #line 11133 "configure" |
11104 #include "confdefs.h" | 11134 #include "confdefs.h" |
11105 #include <$ac_header> | 11135 #include <$ac_header> |
11106 _ACEOF | 11136 _ACEOF |
11107 if { (eval echo "$as_me:11107: \"$ac_cpp conftest.$ac_ext\"") >&5 | 11137 if { (eval echo "$as_me:11137: \"$ac_cpp conftest.$ac_ext\"") >&5 |
11108 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 11138 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
11109 ac_status=$? | 11139 ac_status=$? |
11110 egrep -v '^ *\+' conftest.er1 >conftest.err | 11140 egrep -v '^ *\+' conftest.er1 >conftest.err |
11111 rm -f conftest.er1 | 11141 rm -f conftest.er1 |
11112 cat conftest.err >&5 | 11142 cat conftest.err >&5 |
11113 echo "$as_me:11113: \$? = $ac_status" >&5 | 11143 echo "$as_me:11143: \$? = $ac_status" >&5 |
11114 (exit $ac_status); } >/dev/null; then | 11144 (exit $ac_status); } >/dev/null; then |
11115 if test -s conftest.err; then | 11145 if test -s conftest.err; then |
11116 ac_cpp_err=$ac_c_preproc_warn_flag | 11146 ac_cpp_err=$ac_c_preproc_warn_flag |
11117 else | 11147 else |
11118 ac_cpp_err= | 11148 ac_cpp_err= |
11127 cat conftest.$ac_ext >&5 | 11157 cat conftest.$ac_ext >&5 |
11128 eval "$as_ac_Header=no" | 11158 eval "$as_ac_Header=no" |
11129 fi | 11159 fi |
11130 rm -f conftest.err conftest.$ac_ext | 11160 rm -f conftest.err conftest.$ac_ext |
11131 fi | 11161 fi |
11132 echo "$as_me:11132: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 11162 echo "$as_me:11162: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
11133 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 11163 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
11134 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 11164 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
11135 cat >>confdefs.h <<EOF | 11165 cat >>confdefs.h <<EOF |
11136 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 11166 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
11137 EOF | 11167 EOF |
11139 else | 11169 else |
11140 | 11170 |
11141 for ac_header in kerberos/krb.h | 11171 for ac_header in kerberos/krb.h |
11142 do | 11172 do |
11143 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 11173 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
11144 echo "$as_me:11144: checking for $ac_header" >&5 | 11174 echo "$as_me:11174: checking for $ac_header" >&5 |
11145 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 11175 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
11146 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 11176 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
11147 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11177 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11148 else | 11178 else |
11149 cat >conftest.$ac_ext <<_ACEOF | 11179 cat >conftest.$ac_ext <<_ACEOF |
11150 #line 11150 "configure" | 11180 #line 11180 "configure" |
11151 #include "confdefs.h" | 11181 #include "confdefs.h" |
11152 #include <$ac_header> | 11182 #include <$ac_header> |
11153 _ACEOF | 11183 _ACEOF |
11154 if { (eval echo "$as_me:11154: \"$ac_cpp conftest.$ac_ext\"") >&5 | 11184 if { (eval echo "$as_me:11184: \"$ac_cpp conftest.$ac_ext\"") >&5 |
11155 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 11185 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
11156 ac_status=$? | 11186 ac_status=$? |
11157 egrep -v '^ *\+' conftest.er1 >conftest.err | 11187 egrep -v '^ *\+' conftest.er1 >conftest.err |
11158 rm -f conftest.er1 | 11188 rm -f conftest.er1 |
11159 cat conftest.err >&5 | 11189 cat conftest.err >&5 |
11160 echo "$as_me:11160: \$? = $ac_status" >&5 | 11190 echo "$as_me:11190: \$? = $ac_status" >&5 |
11161 (exit $ac_status); } >/dev/null; then | 11191 (exit $ac_status); } >/dev/null; then |
11162 if test -s conftest.err; then | 11192 if test -s conftest.err; then |
11163 ac_cpp_err=$ac_c_preproc_warn_flag | 11193 ac_cpp_err=$ac_c_preproc_warn_flag |
11164 else | 11194 else |
11165 ac_cpp_err= | 11195 ac_cpp_err= |
11174 cat conftest.$ac_ext >&5 | 11204 cat conftest.$ac_ext >&5 |
11175 eval "$as_ac_Header=no" | 11205 eval "$as_ac_Header=no" |
11176 fi | 11206 fi |
11177 rm -f conftest.err conftest.$ac_ext | 11207 rm -f conftest.err conftest.$ac_ext |
11178 fi | 11208 fi |
11179 echo "$as_me:11179: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 11209 echo "$as_me:11209: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
11180 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 11210 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
11181 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 11211 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
11182 cat >>confdefs.h <<EOF | 11212 cat >>confdefs.h <<EOF |
11183 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 11213 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
11184 EOF | 11214 EOF |
11195 fi | 11225 fi |
11196 | 11226 |
11197 for ac_header in com_err.h | 11227 for ac_header in com_err.h |
11198 do | 11228 do |
11199 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 11229 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
11200 echo "$as_me:11200: checking for $ac_header" >&5 | 11230 echo "$as_me:11230: checking for $ac_header" >&5 |
11201 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 11231 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
11202 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 11232 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
11203 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11233 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11204 else | 11234 else |
11205 cat >conftest.$ac_ext <<_ACEOF | 11235 cat >conftest.$ac_ext <<_ACEOF |
11206 #line 11206 "configure" | 11236 #line 11236 "configure" |
11207 #include "confdefs.h" | 11237 #include "confdefs.h" |
11208 #include <$ac_header> | 11238 #include <$ac_header> |
11209 _ACEOF | 11239 _ACEOF |
11210 if { (eval echo "$as_me:11210: \"$ac_cpp conftest.$ac_ext\"") >&5 | 11240 if { (eval echo "$as_me:11240: \"$ac_cpp conftest.$ac_ext\"") >&5 |
11211 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 11241 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
11212 ac_status=$? | 11242 ac_status=$? |
11213 egrep -v '^ *\+' conftest.er1 >conftest.err | 11243 egrep -v '^ *\+' conftest.er1 >conftest.err |
11214 rm -f conftest.er1 | 11244 rm -f conftest.er1 |
11215 cat conftest.err >&5 | 11245 cat conftest.err >&5 |
11216 echo "$as_me:11216: \$? = $ac_status" >&5 | 11246 echo "$as_me:11246: \$? = $ac_status" >&5 |
11217 (exit $ac_status); } >/dev/null; then | 11247 (exit $ac_status); } >/dev/null; then |
11218 if test -s conftest.err; then | 11248 if test -s conftest.err; then |
11219 ac_cpp_err=$ac_c_preproc_warn_flag | 11249 ac_cpp_err=$ac_c_preproc_warn_flag |
11220 else | 11250 else |
11221 ac_cpp_err= | 11251 ac_cpp_err= |
11230 cat conftest.$ac_ext >&5 | 11260 cat conftest.$ac_ext >&5 |
11231 eval "$as_ac_Header=no" | 11261 eval "$as_ac_Header=no" |
11232 fi | 11262 fi |
11233 rm -f conftest.err conftest.$ac_ext | 11263 rm -f conftest.err conftest.$ac_ext |
11234 fi | 11264 fi |
11235 echo "$as_me:11235: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 11265 echo "$as_me:11265: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
11236 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 11266 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
11237 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 11267 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
11238 cat >>confdefs.h <<EOF | 11268 cat >>confdefs.h <<EOF |
11239 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 11269 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
11240 EOF | 11270 EOF |
11245 fi | 11275 fi |
11246 | 11276 |
11247 # Solaris requires -lintl if you want strerror (which calls dgettext) | 11277 # Solaris requires -lintl if you want strerror (which calls dgettext) |
11248 # to return localized messages. | 11278 # to return localized messages. |
11249 | 11279 |
11250 echo "$as_me:11250: checking for dgettext in -lintl" >&5 | 11280 echo "$as_me:11280: checking for dgettext in -lintl" >&5 |
11251 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6 | 11281 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6 |
11252 if test "${ac_cv_lib_intl_dgettext+set}" = set; then | 11282 if test "${ac_cv_lib_intl_dgettext+set}" = set; then |
11253 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11283 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11254 else | 11284 else |
11255 ac_check_lib_save_LIBS=$LIBS | 11285 ac_check_lib_save_LIBS=$LIBS |
11256 LIBS="-lintl $LIBS" | 11286 LIBS="-lintl $LIBS" |
11257 cat >conftest.$ac_ext <<_ACEOF | 11287 cat >conftest.$ac_ext <<_ACEOF |
11258 #line 11258 "configure" | 11288 #line 11288 "configure" |
11259 #include "confdefs.h" | 11289 #include "confdefs.h" |
11260 | 11290 |
11261 /* Override any gcc2 internal prototype to avoid an error. */ | 11291 /* Override any gcc2 internal prototype to avoid an error. */ |
11262 #ifdef __cplusplus | 11292 #ifdef __cplusplus |
11263 extern "C" | 11293 extern "C" |
11272 ; | 11302 ; |
11273 return 0; | 11303 return 0; |
11274 } | 11304 } |
11275 _ACEOF | 11305 _ACEOF |
11276 rm -f conftest.$ac_objext conftest$ac_exeext | 11306 rm -f conftest.$ac_objext conftest$ac_exeext |
11277 if { (eval echo "$as_me:11277: \"$ac_link\"") >&5 | 11307 if { (eval echo "$as_me:11307: \"$ac_link\"") >&5 |
11278 (eval $ac_link) 2>&5 | 11308 (eval $ac_link) 2>&5 |
11279 ac_status=$? | 11309 ac_status=$? |
11280 echo "$as_me:11280: \$? = $ac_status" >&5 | 11310 echo "$as_me:11310: \$? = $ac_status" >&5 |
11281 (exit $ac_status); } && | 11311 (exit $ac_status); } && |
11282 { ac_try='test -s conftest$ac_exeext' | 11312 { ac_try='test -s conftest$ac_exeext' |
11283 { (eval echo "$as_me:11283: \"$ac_try\"") >&5 | 11313 { (eval echo "$as_me:11313: \"$ac_try\"") >&5 |
11284 (eval $ac_try) 2>&5 | 11314 (eval $ac_try) 2>&5 |
11285 ac_status=$? | 11315 ac_status=$? |
11286 echo "$as_me:11286: \$? = $ac_status" >&5 | 11316 echo "$as_me:11316: \$? = $ac_status" >&5 |
11287 (exit $ac_status); }; }; then | 11317 (exit $ac_status); }; }; then |
11288 ac_cv_lib_intl_dgettext=yes | 11318 ac_cv_lib_intl_dgettext=yes |
11289 else | 11319 else |
11290 echo "$as_me: failed program was:" >&5 | 11320 echo "$as_me: failed program was:" >&5 |
11291 cat conftest.$ac_ext >&5 | 11321 cat conftest.$ac_ext >&5 |
11292 ac_cv_lib_intl_dgettext=no | 11322 ac_cv_lib_intl_dgettext=no |
11293 fi | 11323 fi |
11294 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 11324 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
11295 LIBS=$ac_check_lib_save_LIBS | 11325 LIBS=$ac_check_lib_save_LIBS |
11296 fi | 11326 fi |
11297 echo "$as_me:11297: result: $ac_cv_lib_intl_dgettext" >&5 | 11327 echo "$as_me:11327: result: $ac_cv_lib_intl_dgettext" >&5 |
11298 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6 | 11328 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6 |
11299 if test $ac_cv_lib_intl_dgettext = yes; then | 11329 if test $ac_cv_lib_intl_dgettext = yes; then |
11300 cat >>confdefs.h <<EOF | 11330 cat >>confdefs.h <<EOF |
11301 #define HAVE_LIBINTL 1 | 11331 #define HAVE_LIBINTL 1 |
11302 EOF | 11332 EOF |
11303 | 11333 |
11304 LIBS="-lintl $LIBS" | 11334 LIBS="-lintl $LIBS" |
11305 | 11335 |
11306 fi | 11336 fi |
11307 | 11337 |
11308 echo "$as_me:11308: checking whether localtime caches TZ" >&5 | 11338 echo "$as_me:11338: checking whether localtime caches TZ" >&5 |
11309 echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6 | 11339 echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6 |
11310 if test "${emacs_cv_localtime_cache+set}" = set; then | 11340 if test "${emacs_cv_localtime_cache+set}" = set; then |
11311 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11341 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11312 else | 11342 else |
11313 if test x$ac_cv_func_tzset = xyes; then | 11343 if test x$ac_cv_func_tzset = xyes; then |
11314 if test "$cross_compiling" = yes; then | 11344 if test "$cross_compiling" = yes; then |
11315 # If we have tzset, assume the worst when cross-compiling. | 11345 # If we have tzset, assume the worst when cross-compiling. |
11316 emacs_cv_localtime_cache=yes | 11346 emacs_cv_localtime_cache=yes |
11317 else | 11347 else |
11318 cat >conftest.$ac_ext <<_ACEOF | 11348 cat >conftest.$ac_ext <<_ACEOF |
11319 #line 11319 "configure" | 11349 #line 11349 "configure" |
11320 #include "confdefs.h" | 11350 #include "confdefs.h" |
11321 #include <time.h> | 11351 #include <time.h> |
11322 extern char **environ; | 11352 extern char **environ; |
11323 unset_TZ () | 11353 unset_TZ () |
11324 { | 11354 { |
11347 exit (1); | 11377 exit (1); |
11348 exit (0); | 11378 exit (0); |
11349 } | 11379 } |
11350 _ACEOF | 11380 _ACEOF |
11351 rm -f conftest$ac_exeext | 11381 rm -f conftest$ac_exeext |
11352 if { (eval echo "$as_me:11352: \"$ac_link\"") >&5 | 11382 if { (eval echo "$as_me:11382: \"$ac_link\"") >&5 |
11353 (eval $ac_link) 2>&5 | 11383 (eval $ac_link) 2>&5 |
11354 ac_status=$? | 11384 ac_status=$? |
11355 echo "$as_me:11355: \$? = $ac_status" >&5 | 11385 echo "$as_me:11385: \$? = $ac_status" >&5 |
11356 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 11386 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
11357 { (eval echo "$as_me:11357: \"$ac_try\"") >&5 | 11387 { (eval echo "$as_me:11387: \"$ac_try\"") >&5 |
11358 (eval $ac_try) 2>&5 | 11388 (eval $ac_try) 2>&5 |
11359 ac_status=$? | 11389 ac_status=$? |
11360 echo "$as_me:11360: \$? = $ac_status" >&5 | 11390 echo "$as_me:11390: \$? = $ac_status" >&5 |
11361 (exit $ac_status); }; }; then | 11391 (exit $ac_status); }; }; then |
11362 emacs_cv_localtime_cache=no | 11392 emacs_cv_localtime_cache=no |
11363 else | 11393 else |
11364 echo "$as_me: program exited with status $ac_status" >&5 | 11394 echo "$as_me: program exited with status $ac_status" >&5 |
11365 echo "$as_me: failed program was:" >&5 | 11395 echo "$as_me: failed program was:" >&5 |
11372 # If we lack tzset, report that localtime does not cache TZ, | 11402 # If we lack tzset, report that localtime does not cache TZ, |
11373 # since we can't invalidate the cache if we don't have tzset. | 11403 # since we can't invalidate the cache if we don't have tzset. |
11374 emacs_cv_localtime_cache=no | 11404 emacs_cv_localtime_cache=no |
11375 fi | 11405 fi |
11376 fi | 11406 fi |
11377 echo "$as_me:11377: result: $emacs_cv_localtime_cache" >&5 | 11407 echo "$as_me:11407: result: $emacs_cv_localtime_cache" >&5 |
11378 echo "${ECHO_T}$emacs_cv_localtime_cache" >&6 | 11408 echo "${ECHO_T}$emacs_cv_localtime_cache" >&6 |
11379 if test $emacs_cv_localtime_cache = yes; then | 11409 if test $emacs_cv_localtime_cache = yes; then |
11380 cat >>confdefs.h <<\EOF | 11410 cat >>confdefs.h <<\EOF |
11381 #define LOCALTIME_CACHE 1 | 11411 #define LOCALTIME_CACHE 1 |
11382 EOF | 11412 EOF |
11386 if test "x$HAVE_TIMEVAL" = xyes; then | 11416 if test "x$HAVE_TIMEVAL" = xyes; then |
11387 | 11417 |
11388 for ac_func in gettimeofday | 11418 for ac_func in gettimeofday |
11389 do | 11419 do |
11390 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11420 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11391 echo "$as_me:11391: checking for $ac_func" >&5 | 11421 echo "$as_me:11421: checking for $ac_func" >&5 |
11392 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 11422 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
11393 if eval "test \"\${$as_ac_var+set}\" = set"; then | 11423 if eval "test \"\${$as_ac_var+set}\" = set"; then |
11394 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11424 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11395 else | 11425 else |
11396 cat >conftest.$ac_ext <<_ACEOF | 11426 cat >conftest.$ac_ext <<_ACEOF |
11397 #line 11397 "configure" | 11427 #line 11427 "configure" |
11398 #include "confdefs.h" | 11428 #include "confdefs.h" |
11399 /* System header to define __stub macros and hopefully few prototypes, | 11429 /* System header to define __stub macros and hopefully few prototypes, |
11400 which can conflict with char $ac_func (); below. */ | 11430 which can conflict with char $ac_func (); below. */ |
11401 #include <assert.h> | 11431 #include <assert.h> |
11402 /* Override any gcc2 internal prototype to avoid an error. */ | 11432 /* Override any gcc2 internal prototype to avoid an error. */ |
11423 ; | 11453 ; |
11424 return 0; | 11454 return 0; |
11425 } | 11455 } |
11426 _ACEOF | 11456 _ACEOF |
11427 rm -f conftest.$ac_objext conftest$ac_exeext | 11457 rm -f conftest.$ac_objext conftest$ac_exeext |
11428 if { (eval echo "$as_me:11428: \"$ac_link\"") >&5 | 11458 if { (eval echo "$as_me:11458: \"$ac_link\"") >&5 |
11429 (eval $ac_link) 2>&5 | 11459 (eval $ac_link) 2>&5 |
11430 ac_status=$? | 11460 ac_status=$? |
11431 echo "$as_me:11431: \$? = $ac_status" >&5 | 11461 echo "$as_me:11461: \$? = $ac_status" >&5 |
11432 (exit $ac_status); } && | 11462 (exit $ac_status); } && |
11433 { ac_try='test -s conftest$ac_exeext' | 11463 { ac_try='test -s conftest$ac_exeext' |
11434 { (eval echo "$as_me:11434: \"$ac_try\"") >&5 | 11464 { (eval echo "$as_me:11464: \"$ac_try\"") >&5 |
11435 (eval $ac_try) 2>&5 | 11465 (eval $ac_try) 2>&5 |
11436 ac_status=$? | 11466 ac_status=$? |
11437 echo "$as_me:11437: \$? = $ac_status" >&5 | 11467 echo "$as_me:11467: \$? = $ac_status" >&5 |
11438 (exit $ac_status); }; }; then | 11468 (exit $ac_status); }; }; then |
11439 eval "$as_ac_var=yes" | 11469 eval "$as_ac_var=yes" |
11440 else | 11470 else |
11441 echo "$as_me: failed program was:" >&5 | 11471 echo "$as_me: failed program was:" >&5 |
11442 cat conftest.$ac_ext >&5 | 11472 cat conftest.$ac_ext >&5 |
11443 eval "$as_ac_var=no" | 11473 eval "$as_ac_var=no" |
11444 fi | 11474 fi |
11445 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 11475 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
11446 fi | 11476 fi |
11447 echo "$as_me:11447: result: `eval echo '${'$as_ac_var'}'`" >&5 | 11477 echo "$as_me:11477: result: `eval echo '${'$as_ac_var'}'`" >&5 |
11448 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 11478 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
11449 if test `eval echo '${'$as_ac_var'}'` = yes; then | 11479 if test `eval echo '${'$as_ac_var'}'` = yes; then |
11450 cat >>confdefs.h <<EOF | 11480 cat >>confdefs.h <<EOF |
11451 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 11481 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
11452 EOF | 11482 EOF |
11453 | 11483 |
11454 fi | 11484 fi |
11455 done | 11485 done |
11456 | 11486 |
11457 echo "$as_me:11457: checking whether gettimeofday can accept two arguments" >&5 | 11487 echo "$as_me:11487: checking whether gettimeofday can accept two arguments" >&5 |
11458 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6 | 11488 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6 |
11459 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then | 11489 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then |
11460 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11490 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11461 else | 11491 else |
11462 cat >conftest.$ac_ext <<_ACEOF | 11492 cat >conftest.$ac_ext <<_ACEOF |
11463 #line 11463 "configure" | 11493 #line 11493 "configure" |
11464 #include "confdefs.h" | 11494 #include "confdefs.h" |
11465 | 11495 |
11466 #ifdef TIME_WITH_SYS_TIME | 11496 #ifdef TIME_WITH_SYS_TIME |
11467 #include <sys/time.h> | 11497 #include <sys/time.h> |
11468 #include <time.h> | 11498 #include <time.h> |
11481 ; | 11511 ; |
11482 return 0; | 11512 return 0; |
11483 } | 11513 } |
11484 _ACEOF | 11514 _ACEOF |
11485 rm -f conftest.$ac_objext | 11515 rm -f conftest.$ac_objext |
11486 if { (eval echo "$as_me:11486: \"$ac_compile\"") >&5 | 11516 if { (eval echo "$as_me:11516: \"$ac_compile\"") >&5 |
11487 (eval $ac_compile) 2>&5 | 11517 (eval $ac_compile) 2>&5 |
11488 ac_status=$? | 11518 ac_status=$? |
11489 echo "$as_me:11489: \$? = $ac_status" >&5 | 11519 echo "$as_me:11519: \$? = $ac_status" >&5 |
11490 (exit $ac_status); } && | 11520 (exit $ac_status); } && |
11491 { ac_try='test -s conftest.$ac_objext' | 11521 { ac_try='test -s conftest.$ac_objext' |
11492 { (eval echo "$as_me:11492: \"$ac_try\"") >&5 | 11522 { (eval echo "$as_me:11522: \"$ac_try\"") >&5 |
11493 (eval $ac_try) 2>&5 | 11523 (eval $ac_try) 2>&5 |
11494 ac_status=$? | 11524 ac_status=$? |
11495 echo "$as_me:11495: \$? = $ac_status" >&5 | 11525 echo "$as_me:11525: \$? = $ac_status" >&5 |
11496 (exit $ac_status); }; }; then | 11526 (exit $ac_status); }; }; then |
11497 emacs_cv_gettimeofday_two_arguments=yes | 11527 emacs_cv_gettimeofday_two_arguments=yes |
11498 else | 11528 else |
11499 echo "$as_me: failed program was:" >&5 | 11529 echo "$as_me: failed program was:" >&5 |
11500 cat conftest.$ac_ext >&5 | 11530 cat conftest.$ac_ext >&5 |
11501 emacs_cv_gettimeofday_two_arguments=no | 11531 emacs_cv_gettimeofday_two_arguments=no |
11502 fi | 11532 fi |
11503 rm -f conftest.$ac_objext conftest.$ac_ext | 11533 rm -f conftest.$ac_objext conftest.$ac_ext |
11504 fi | 11534 fi |
11505 echo "$as_me:11505: result: $emacs_cv_gettimeofday_two_arguments" >&5 | 11535 echo "$as_me:11535: result: $emacs_cv_gettimeofday_two_arguments" >&5 |
11506 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6 | 11536 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6 |
11507 if test $emacs_cv_gettimeofday_two_arguments = no; then | 11537 if test $emacs_cv_gettimeofday_two_arguments = no; then |
11508 cat >>confdefs.h <<\EOF | 11538 cat >>confdefs.h <<\EOF |
11509 #define GETTIMEOFDAY_ONE_ARGUMENT 1 | 11539 #define GETTIMEOFDAY_ONE_ARGUMENT 1 |
11510 EOF | 11540 EOF |
11511 | 11541 |
11512 fi | 11542 fi |
11513 fi | 11543 fi |
11514 | 11544 |
11515 if test "$ac_cv_func_gettimeofday" = yes; then | 11545 if test "$ac_cv_func_gettimeofday" = yes; then |
11516 echo "$as_me:11516: checking for struct timezone" >&5 | 11546 echo "$as_me:11546: checking for struct timezone" >&5 |
11517 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6 | 11547 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6 |
11518 if test "${emacs_cv_struct_timezone+set}" = set; then | 11548 if test "${emacs_cv_struct_timezone+set}" = set; then |
11519 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11549 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11520 else | 11550 else |
11521 cat >conftest.$ac_ext <<_ACEOF | 11551 cat >conftest.$ac_ext <<_ACEOF |
11522 #line 11522 "configure" | 11552 #line 11552 "configure" |
11523 #include "confdefs.h" | 11553 #include "confdefs.h" |
11524 #include <sys/time.h> | 11554 #include <sys/time.h> |
11525 int | 11555 int |
11526 main () | 11556 main () |
11527 { | 11557 { |
11529 ; | 11559 ; |
11530 return 0; | 11560 return 0; |
11531 } | 11561 } |
11532 _ACEOF | 11562 _ACEOF |
11533 rm -f conftest.$ac_objext | 11563 rm -f conftest.$ac_objext |
11534 if { (eval echo "$as_me:11534: \"$ac_compile\"") >&5 | 11564 if { (eval echo "$as_me:11564: \"$ac_compile\"") >&5 |
11535 (eval $ac_compile) 2>&5 | 11565 (eval $ac_compile) 2>&5 |
11536 ac_status=$? | 11566 ac_status=$? |
11537 echo "$as_me:11537: \$? = $ac_status" >&5 | 11567 echo "$as_me:11567: \$? = $ac_status" >&5 |
11538 (exit $ac_status); } && | 11568 (exit $ac_status); } && |
11539 { ac_try='test -s conftest.$ac_objext' | 11569 { ac_try='test -s conftest.$ac_objext' |
11540 { (eval echo "$as_me:11540: \"$ac_try\"") >&5 | 11570 { (eval echo "$as_me:11570: \"$ac_try\"") >&5 |
11541 (eval $ac_try) 2>&5 | 11571 (eval $ac_try) 2>&5 |
11542 ac_status=$? | 11572 ac_status=$? |
11543 echo "$as_me:11543: \$? = $ac_status" >&5 | 11573 echo "$as_me:11573: \$? = $ac_status" >&5 |
11544 (exit $ac_status); }; }; then | 11574 (exit $ac_status); }; }; then |
11545 if test "$cross_compiling" = yes; then | 11575 if test "$cross_compiling" = yes; then |
11546 emacs_cv_struct_timezone=yes | 11576 emacs_cv_struct_timezone=yes |
11547 else | 11577 else |
11548 cat >conftest.$ac_ext <<_ACEOF | 11578 cat >conftest.$ac_ext <<_ACEOF |
11549 #line 11549 "configure" | 11579 #line 11579 "configure" |
11550 #include "confdefs.h" | 11580 #include "confdefs.h" |
11551 | 11581 |
11552 #ifdef TIME_WITH_SYS_TIME | 11582 #ifdef TIME_WITH_SYS_TIME |
11553 #include <sys/time.h> | 11583 #include <sys/time.h> |
11554 #include <time.h> | 11584 #include <time.h> |
11564 struct timezone dummy; | 11594 struct timezone dummy; |
11565 exit (gettimeofday (&time, &dummy)); | 11595 exit (gettimeofday (&time, &dummy)); |
11566 } | 11596 } |
11567 _ACEOF | 11597 _ACEOF |
11568 rm -f conftest$ac_exeext | 11598 rm -f conftest$ac_exeext |
11569 if { (eval echo "$as_me:11569: \"$ac_link\"") >&5 | 11599 if { (eval echo "$as_me:11599: \"$ac_link\"") >&5 |
11570 (eval $ac_link) 2>&5 | 11600 (eval $ac_link) 2>&5 |
11571 ac_status=$? | 11601 ac_status=$? |
11572 echo "$as_me:11572: \$? = $ac_status" >&5 | 11602 echo "$as_me:11602: \$? = $ac_status" >&5 |
11573 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 11603 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
11574 { (eval echo "$as_me:11574: \"$ac_try\"") >&5 | 11604 { (eval echo "$as_me:11604: \"$ac_try\"") >&5 |
11575 (eval $ac_try) 2>&5 | 11605 (eval $ac_try) 2>&5 |
11576 ac_status=$? | 11606 ac_status=$? |
11577 echo "$as_me:11577: \$? = $ac_status" >&5 | 11607 echo "$as_me:11607: \$? = $ac_status" >&5 |
11578 (exit $ac_status); }; }; then | 11608 (exit $ac_status); }; }; then |
11579 emacs_cv_struct_timezone=yes | 11609 emacs_cv_struct_timezone=yes |
11580 else | 11610 else |
11581 echo "$as_me: program exited with status $ac_status" >&5 | 11611 echo "$as_me: program exited with status $ac_status" >&5 |
11582 echo "$as_me: failed program was:" >&5 | 11612 echo "$as_me: failed program was:" >&5 |
11590 cat conftest.$ac_ext >&5 | 11620 cat conftest.$ac_ext >&5 |
11591 emacs_cv_struct_timezone=no | 11621 emacs_cv_struct_timezone=no |
11592 fi | 11622 fi |
11593 rm -f conftest.$ac_objext conftest.$ac_ext | 11623 rm -f conftest.$ac_objext conftest.$ac_ext |
11594 fi | 11624 fi |
11595 echo "$as_me:11595: result: $emacs_cv_struct_timezone" >&5 | 11625 echo "$as_me:11625: result: $emacs_cv_struct_timezone" >&5 |
11596 echo "${ECHO_T}$emacs_cv_struct_timezone" >&6 | 11626 echo "${ECHO_T}$emacs_cv_struct_timezone" >&6 |
11597 fi | 11627 fi |
11598 | 11628 |
11599 ok_so_far=yes | 11629 ok_so_far=yes |
11600 echo "$as_me:11600: checking for socket" >&5 | 11630 echo "$as_me:11630: checking for socket" >&5 |
11601 echo $ECHO_N "checking for socket... $ECHO_C" >&6 | 11631 echo $ECHO_N "checking for socket... $ECHO_C" >&6 |
11602 if test "${ac_cv_func_socket+set}" = set; then | 11632 if test "${ac_cv_func_socket+set}" = set; then |
11603 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11633 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11604 else | 11634 else |
11605 cat >conftest.$ac_ext <<_ACEOF | 11635 cat >conftest.$ac_ext <<_ACEOF |
11606 #line 11606 "configure" | 11636 #line 11636 "configure" |
11607 #include "confdefs.h" | 11637 #include "confdefs.h" |
11608 /* System header to define __stub macros and hopefully few prototypes, | 11638 /* System header to define __stub macros and hopefully few prototypes, |
11609 which can conflict with char socket (); below. */ | 11639 which can conflict with char socket (); below. */ |
11610 #include <assert.h> | 11640 #include <assert.h> |
11611 /* Override any gcc2 internal prototype to avoid an error. */ | 11641 /* Override any gcc2 internal prototype to avoid an error. */ |
11632 ; | 11662 ; |
11633 return 0; | 11663 return 0; |
11634 } | 11664 } |
11635 _ACEOF | 11665 _ACEOF |
11636 rm -f conftest.$ac_objext conftest$ac_exeext | 11666 rm -f conftest.$ac_objext conftest$ac_exeext |
11637 if { (eval echo "$as_me:11637: \"$ac_link\"") >&5 | 11667 if { (eval echo "$as_me:11667: \"$ac_link\"") >&5 |
11638 (eval $ac_link) 2>&5 | 11668 (eval $ac_link) 2>&5 |
11639 ac_status=$? | 11669 ac_status=$? |
11640 echo "$as_me:11640: \$? = $ac_status" >&5 | 11670 echo "$as_me:11670: \$? = $ac_status" >&5 |
11641 (exit $ac_status); } && | 11671 (exit $ac_status); } && |
11642 { ac_try='test -s conftest$ac_exeext' | 11672 { ac_try='test -s conftest$ac_exeext' |
11643 { (eval echo "$as_me:11643: \"$ac_try\"") >&5 | 11673 { (eval echo "$as_me:11673: \"$ac_try\"") >&5 |
11644 (eval $ac_try) 2>&5 | 11674 (eval $ac_try) 2>&5 |
11645 ac_status=$? | 11675 ac_status=$? |
11646 echo "$as_me:11646: \$? = $ac_status" >&5 | 11676 echo "$as_me:11676: \$? = $ac_status" >&5 |
11647 (exit $ac_status); }; }; then | 11677 (exit $ac_status); }; }; then |
11648 ac_cv_func_socket=yes | 11678 ac_cv_func_socket=yes |
11649 else | 11679 else |
11650 echo "$as_me: failed program was:" >&5 | 11680 echo "$as_me: failed program was:" >&5 |
11651 cat conftest.$ac_ext >&5 | 11681 cat conftest.$ac_ext >&5 |
11652 ac_cv_func_socket=no | 11682 ac_cv_func_socket=no |
11653 fi | 11683 fi |
11654 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 11684 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
11655 fi | 11685 fi |
11656 echo "$as_me:11656: result: $ac_cv_func_socket" >&5 | 11686 echo "$as_me:11686: result: $ac_cv_func_socket" >&5 |
11657 echo "${ECHO_T}$ac_cv_func_socket" >&6 | 11687 echo "${ECHO_T}$ac_cv_func_socket" >&6 |
11658 if test $ac_cv_func_socket = yes; then | 11688 if test $ac_cv_func_socket = yes; then |
11659 : | 11689 : |
11660 else | 11690 else |
11661 ok_so_far=no | 11691 ok_so_far=no |
11662 fi | 11692 fi |
11663 | 11693 |
11664 if test $ok_so_far = yes; then | 11694 if test $ok_so_far = yes; then |
11665 echo "$as_me:11665: checking for netinet/in.h" >&5 | 11695 echo "$as_me:11695: checking for netinet/in.h" >&5 |
11666 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6 | 11696 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6 |
11667 if test "${ac_cv_header_netinet_in_h+set}" = set; then | 11697 if test "${ac_cv_header_netinet_in_h+set}" = set; then |
11668 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11698 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11669 else | 11699 else |
11670 cat >conftest.$ac_ext <<_ACEOF | 11700 cat >conftest.$ac_ext <<_ACEOF |
11671 #line 11671 "configure" | 11701 #line 11701 "configure" |
11672 #include "confdefs.h" | 11702 #include "confdefs.h" |
11673 #include <netinet/in.h> | 11703 #include <netinet/in.h> |
11674 _ACEOF | 11704 _ACEOF |
11675 if { (eval echo "$as_me:11675: \"$ac_cpp conftest.$ac_ext\"") >&5 | 11705 if { (eval echo "$as_me:11705: \"$ac_cpp conftest.$ac_ext\"") >&5 |
11676 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 11706 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
11677 ac_status=$? | 11707 ac_status=$? |
11678 egrep -v '^ *\+' conftest.er1 >conftest.err | 11708 egrep -v '^ *\+' conftest.er1 >conftest.err |
11679 rm -f conftest.er1 | 11709 rm -f conftest.er1 |
11680 cat conftest.err >&5 | 11710 cat conftest.err >&5 |
11681 echo "$as_me:11681: \$? = $ac_status" >&5 | 11711 echo "$as_me:11711: \$? = $ac_status" >&5 |
11682 (exit $ac_status); } >/dev/null; then | 11712 (exit $ac_status); } >/dev/null; then |
11683 if test -s conftest.err; then | 11713 if test -s conftest.err; then |
11684 ac_cpp_err=$ac_c_preproc_warn_flag | 11714 ac_cpp_err=$ac_c_preproc_warn_flag |
11685 else | 11715 else |
11686 ac_cpp_err= | 11716 ac_cpp_err= |
11695 cat conftest.$ac_ext >&5 | 11725 cat conftest.$ac_ext >&5 |
11696 ac_cv_header_netinet_in_h=no | 11726 ac_cv_header_netinet_in_h=no |
11697 fi | 11727 fi |
11698 rm -f conftest.err conftest.$ac_ext | 11728 rm -f conftest.err conftest.$ac_ext |
11699 fi | 11729 fi |
11700 echo "$as_me:11700: result: $ac_cv_header_netinet_in_h" >&5 | 11730 echo "$as_me:11730: result: $ac_cv_header_netinet_in_h" >&5 |
11701 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6 | 11731 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6 |
11702 if test $ac_cv_header_netinet_in_h = yes; then | 11732 if test $ac_cv_header_netinet_in_h = yes; then |
11703 : | 11733 : |
11704 else | 11734 else |
11705 ok_so_far=no | 11735 ok_so_far=no |
11706 fi | 11736 fi |
11707 | 11737 |
11708 fi | 11738 fi |
11709 if test $ok_so_far = yes; then | 11739 if test $ok_so_far = yes; then |
11710 echo "$as_me:11710: checking for arpa/inet.h" >&5 | 11740 echo "$as_me:11740: checking for arpa/inet.h" >&5 |
11711 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 | 11741 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 |
11712 if test "${ac_cv_header_arpa_inet_h+set}" = set; then | 11742 if test "${ac_cv_header_arpa_inet_h+set}" = set; then |
11713 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11743 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11714 else | 11744 else |
11715 cat >conftest.$ac_ext <<_ACEOF | 11745 cat >conftest.$ac_ext <<_ACEOF |
11716 #line 11716 "configure" | 11746 #line 11746 "configure" |
11717 #include "confdefs.h" | 11747 #include "confdefs.h" |
11718 #include <arpa/inet.h> | 11748 #include <arpa/inet.h> |
11719 _ACEOF | 11749 _ACEOF |
11720 if { (eval echo "$as_me:11720: \"$ac_cpp conftest.$ac_ext\"") >&5 | 11750 if { (eval echo "$as_me:11750: \"$ac_cpp conftest.$ac_ext\"") >&5 |
11721 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 11751 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
11722 ac_status=$? | 11752 ac_status=$? |
11723 egrep -v '^ *\+' conftest.er1 >conftest.err | 11753 egrep -v '^ *\+' conftest.er1 >conftest.err |
11724 rm -f conftest.er1 | 11754 rm -f conftest.er1 |
11725 cat conftest.err >&5 | 11755 cat conftest.err >&5 |
11726 echo "$as_me:11726: \$? = $ac_status" >&5 | 11756 echo "$as_me:11756: \$? = $ac_status" >&5 |
11727 (exit $ac_status); } >/dev/null; then | 11757 (exit $ac_status); } >/dev/null; then |
11728 if test -s conftest.err; then | 11758 if test -s conftest.err; then |
11729 ac_cpp_err=$ac_c_preproc_warn_flag | 11759 ac_cpp_err=$ac_c_preproc_warn_flag |
11730 else | 11760 else |
11731 ac_cpp_err= | 11761 ac_cpp_err= |
11740 cat conftest.$ac_ext >&5 | 11770 cat conftest.$ac_ext >&5 |
11741 ac_cv_header_arpa_inet_h=no | 11771 ac_cv_header_arpa_inet_h=no |
11742 fi | 11772 fi |
11743 rm -f conftest.err conftest.$ac_ext | 11773 rm -f conftest.err conftest.$ac_ext |
11744 fi | 11774 fi |
11745 echo "$as_me:11745: result: $ac_cv_header_arpa_inet_h" >&5 | 11775 echo "$as_me:11775: result: $ac_cv_header_arpa_inet_h" >&5 |
11746 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 | 11776 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 |
11747 if test $ac_cv_header_arpa_inet_h = yes; then | 11777 if test $ac_cv_header_arpa_inet_h = yes; then |
11748 : | 11778 : |
11749 else | 11779 else |
11750 ok_so_far=no | 11780 ok_so_far=no |
11763 #define HAVE_AIX_SMT_EXP 1 | 11793 #define HAVE_AIX_SMT_EXP 1 |
11764 EOF | 11794 EOF |
11765 | 11795 |
11766 fi | 11796 fi |
11767 | 11797 |
11768 echo "$as_me:11768: checking whether system supports dynamic ptys" >&5 | 11798 echo "$as_me:11798: checking whether system supports dynamic ptys" >&5 |
11769 echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6 | 11799 echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6 |
11770 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then | 11800 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then |
11771 echo "$as_me:11771: result: yes" >&5 | 11801 echo "$as_me:11801: result: yes" >&5 |
11772 echo "${ECHO_T}yes" >&6 | 11802 echo "${ECHO_T}yes" >&6 |
11773 cat >>confdefs.h <<\EOF | 11803 cat >>confdefs.h <<\EOF |
11774 #define HAVE_DEV_PTMX 1 | 11804 #define HAVE_DEV_PTMX 1 |
11775 EOF | 11805 EOF |
11776 | 11806 |
11777 else | 11807 else |
11778 echo "$as_me:11778: result: no" >&5 | 11808 echo "$as_me:11808: result: no" >&5 |
11779 echo "${ECHO_T}no" >&6 | 11809 echo "${ECHO_T}no" >&6 |
11780 fi | 11810 fi |
11781 | 11811 |
11782 echo "$as_me:11782: checking for pid_t" >&5 | 11812 echo "$as_me:11812: checking for pid_t" >&5 |
11783 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 | 11813 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 |
11784 if test "${ac_cv_type_pid_t+set}" = set; then | 11814 if test "${ac_cv_type_pid_t+set}" = set; then |
11785 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11815 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11786 else | 11816 else |
11787 cat >conftest.$ac_ext <<_ACEOF | 11817 cat >conftest.$ac_ext <<_ACEOF |
11788 #line 11788 "configure" | 11818 #line 11818 "configure" |
11789 #include "confdefs.h" | 11819 #include "confdefs.h" |
11790 $ac_includes_default | 11820 $ac_includes_default |
11791 int | 11821 int |
11792 main () | 11822 main () |
11793 { | 11823 { |
11798 ; | 11828 ; |
11799 return 0; | 11829 return 0; |
11800 } | 11830 } |
11801 _ACEOF | 11831 _ACEOF |
11802 rm -f conftest.$ac_objext | 11832 rm -f conftest.$ac_objext |
11803 if { (eval echo "$as_me:11803: \"$ac_compile\"") >&5 | 11833 if { (eval echo "$as_me:11833: \"$ac_compile\"") >&5 |
11804 (eval $ac_compile) 2>&5 | 11834 (eval $ac_compile) 2>&5 |
11805 ac_status=$? | 11835 ac_status=$? |
11806 echo "$as_me:11806: \$? = $ac_status" >&5 | 11836 echo "$as_me:11836: \$? = $ac_status" >&5 |
11807 (exit $ac_status); } && | 11837 (exit $ac_status); } && |
11808 { ac_try='test -s conftest.$ac_objext' | 11838 { ac_try='test -s conftest.$ac_objext' |
11809 { (eval echo "$as_me:11809: \"$ac_try\"") >&5 | 11839 { (eval echo "$as_me:11839: \"$ac_try\"") >&5 |
11810 (eval $ac_try) 2>&5 | 11840 (eval $ac_try) 2>&5 |
11811 ac_status=$? | 11841 ac_status=$? |
11812 echo "$as_me:11812: \$? = $ac_status" >&5 | 11842 echo "$as_me:11842: \$? = $ac_status" >&5 |
11813 (exit $ac_status); }; }; then | 11843 (exit $ac_status); }; }; then |
11814 ac_cv_type_pid_t=yes | 11844 ac_cv_type_pid_t=yes |
11815 else | 11845 else |
11816 echo "$as_me: failed program was:" >&5 | 11846 echo "$as_me: failed program was:" >&5 |
11817 cat conftest.$ac_ext >&5 | 11847 cat conftest.$ac_ext >&5 |
11818 ac_cv_type_pid_t=no | 11848 ac_cv_type_pid_t=no |
11819 fi | 11849 fi |
11820 rm -f conftest.$ac_objext conftest.$ac_ext | 11850 rm -f conftest.$ac_objext conftest.$ac_ext |
11821 fi | 11851 fi |
11822 echo "$as_me:11822: result: $ac_cv_type_pid_t" >&5 | 11852 echo "$as_me:11852: result: $ac_cv_type_pid_t" >&5 |
11823 echo "${ECHO_T}$ac_cv_type_pid_t" >&6 | 11853 echo "${ECHO_T}$ac_cv_type_pid_t" >&6 |
11824 if test $ac_cv_type_pid_t = yes; then | 11854 if test $ac_cv_type_pid_t = yes; then |
11825 : | 11855 : |
11826 else | 11856 else |
11827 | 11857 |
11832 fi | 11862 fi |
11833 | 11863 |
11834 for ac_header in unistd.h vfork.h | 11864 for ac_header in unistd.h vfork.h |
11835 do | 11865 do |
11836 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 11866 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
11837 echo "$as_me:11837: checking for $ac_header" >&5 | 11867 echo "$as_me:11867: checking for $ac_header" >&5 |
11838 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 11868 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
11839 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 11869 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
11840 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11870 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11841 else | 11871 else |
11842 cat >conftest.$ac_ext <<_ACEOF | 11872 cat >conftest.$ac_ext <<_ACEOF |
11843 #line 11843 "configure" | 11873 #line 11873 "configure" |
11844 #include "confdefs.h" | 11874 #include "confdefs.h" |
11845 #include <$ac_header> | 11875 #include <$ac_header> |
11846 _ACEOF | 11876 _ACEOF |
11847 if { (eval echo "$as_me:11847: \"$ac_cpp conftest.$ac_ext\"") >&5 | 11877 if { (eval echo "$as_me:11877: \"$ac_cpp conftest.$ac_ext\"") >&5 |
11848 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 11878 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
11849 ac_status=$? | 11879 ac_status=$? |
11850 egrep -v '^ *\+' conftest.er1 >conftest.err | 11880 egrep -v '^ *\+' conftest.er1 >conftest.err |
11851 rm -f conftest.er1 | 11881 rm -f conftest.er1 |
11852 cat conftest.err >&5 | 11882 cat conftest.err >&5 |
11853 echo "$as_me:11853: \$? = $ac_status" >&5 | 11883 echo "$as_me:11883: \$? = $ac_status" >&5 |
11854 (exit $ac_status); } >/dev/null; then | 11884 (exit $ac_status); } >/dev/null; then |
11855 if test -s conftest.err; then | 11885 if test -s conftest.err; then |
11856 ac_cpp_err=$ac_c_preproc_warn_flag | 11886 ac_cpp_err=$ac_c_preproc_warn_flag |
11857 else | 11887 else |
11858 ac_cpp_err= | 11888 ac_cpp_err= |
11867 cat conftest.$ac_ext >&5 | 11897 cat conftest.$ac_ext >&5 |
11868 eval "$as_ac_Header=no" | 11898 eval "$as_ac_Header=no" |
11869 fi | 11899 fi |
11870 rm -f conftest.err conftest.$ac_ext | 11900 rm -f conftest.err conftest.$ac_ext |
11871 fi | 11901 fi |
11872 echo "$as_me:11872: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 11902 echo "$as_me:11902: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
11873 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 11903 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
11874 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 11904 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
11875 cat >>confdefs.h <<EOF | 11905 cat >>confdefs.h <<EOF |
11876 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 11906 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
11877 EOF | 11907 EOF |
11880 done | 11910 done |
11881 | 11911 |
11882 for ac_func in fork vfork | 11912 for ac_func in fork vfork |
11883 do | 11913 do |
11884 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11914 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11885 echo "$as_me:11885: checking for $ac_func" >&5 | 11915 echo "$as_me:11915: checking for $ac_func" >&5 |
11886 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 11916 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
11887 if eval "test \"\${$as_ac_var+set}\" = set"; then | 11917 if eval "test \"\${$as_ac_var+set}\" = set"; then |
11888 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11918 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11889 else | 11919 else |
11890 cat >conftest.$ac_ext <<_ACEOF | 11920 cat >conftest.$ac_ext <<_ACEOF |
11891 #line 11891 "configure" | 11921 #line 11921 "configure" |
11892 #include "confdefs.h" | 11922 #include "confdefs.h" |
11893 /* System header to define __stub macros and hopefully few prototypes, | 11923 /* System header to define __stub macros and hopefully few prototypes, |
11894 which can conflict with char $ac_func (); below. */ | 11924 which can conflict with char $ac_func (); below. */ |
11895 #include <assert.h> | 11925 #include <assert.h> |
11896 /* Override any gcc2 internal prototype to avoid an error. */ | 11926 /* Override any gcc2 internal prototype to avoid an error. */ |
11917 ; | 11947 ; |
11918 return 0; | 11948 return 0; |
11919 } | 11949 } |
11920 _ACEOF | 11950 _ACEOF |
11921 rm -f conftest.$ac_objext conftest$ac_exeext | 11951 rm -f conftest.$ac_objext conftest$ac_exeext |
11922 if { (eval echo "$as_me:11922: \"$ac_link\"") >&5 | 11952 if { (eval echo "$as_me:11952: \"$ac_link\"") >&5 |
11923 (eval $ac_link) 2>&5 | 11953 (eval $ac_link) 2>&5 |
11924 ac_status=$? | 11954 ac_status=$? |
11925 echo "$as_me:11925: \$? = $ac_status" >&5 | 11955 echo "$as_me:11955: \$? = $ac_status" >&5 |
11926 (exit $ac_status); } && | 11956 (exit $ac_status); } && |
11927 { ac_try='test -s conftest$ac_exeext' | 11957 { ac_try='test -s conftest$ac_exeext' |
11928 { (eval echo "$as_me:11928: \"$ac_try\"") >&5 | 11958 { (eval echo "$as_me:11958: \"$ac_try\"") >&5 |
11929 (eval $ac_try) 2>&5 | 11959 (eval $ac_try) 2>&5 |
11930 ac_status=$? | 11960 ac_status=$? |
11931 echo "$as_me:11931: \$? = $ac_status" >&5 | 11961 echo "$as_me:11961: \$? = $ac_status" >&5 |
11932 (exit $ac_status); }; }; then | 11962 (exit $ac_status); }; }; then |
11933 eval "$as_ac_var=yes" | 11963 eval "$as_ac_var=yes" |
11934 else | 11964 else |
11935 echo "$as_me: failed program was:" >&5 | 11965 echo "$as_me: failed program was:" >&5 |
11936 cat conftest.$ac_ext >&5 | 11966 cat conftest.$ac_ext >&5 |
11937 eval "$as_ac_var=no" | 11967 eval "$as_ac_var=no" |
11938 fi | 11968 fi |
11939 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 11969 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
11940 fi | 11970 fi |
11941 echo "$as_me:11941: result: `eval echo '${'$as_ac_var'}'`" >&5 | 11971 echo "$as_me:11971: result: `eval echo '${'$as_ac_var'}'`" >&5 |
11942 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 11972 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
11943 if test `eval echo '${'$as_ac_var'}'` = yes; then | 11973 if test `eval echo '${'$as_ac_var'}'` = yes; then |
11944 cat >>confdefs.h <<EOF | 11974 cat >>confdefs.h <<EOF |
11945 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 11975 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
11946 EOF | 11976 EOF |
11948 fi | 11978 fi |
11949 done | 11979 done |
11950 | 11980 |
11951 ac_cv_func_fork_works=$ac_cv_func_fork | 11981 ac_cv_func_fork_works=$ac_cv_func_fork |
11952 if test "x$ac_cv_func_fork" = xyes; then | 11982 if test "x$ac_cv_func_fork" = xyes; then |
11953 echo "$as_me:11953: checking for working fork" >&5 | 11983 echo "$as_me:11983: checking for working fork" >&5 |
11954 echo $ECHO_N "checking for working fork... $ECHO_C" >&6 | 11984 echo $ECHO_N "checking for working fork... $ECHO_C" >&6 |
11955 if test "${ac_cv_func_fork_works+set}" = set; then | 11985 if test "${ac_cv_func_fork_works+set}" = set; then |
11956 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11986 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11957 else | 11987 else |
11958 if test "$cross_compiling" = yes; then | 11988 if test "$cross_compiling" = yes; then |
11971 exit (1); | 12001 exit (1); |
11972 exit (0); | 12002 exit (0); |
11973 } | 12003 } |
11974 _ACEOF | 12004 _ACEOF |
11975 rm -f conftest$ac_exeext | 12005 rm -f conftest$ac_exeext |
11976 if { (eval echo "$as_me:11976: \"$ac_link\"") >&5 | 12006 if { (eval echo "$as_me:12006: \"$ac_link\"") >&5 |
11977 (eval $ac_link) 2>&5 | 12007 (eval $ac_link) 2>&5 |
11978 ac_status=$? | 12008 ac_status=$? |
11979 echo "$as_me:11979: \$? = $ac_status" >&5 | 12009 echo "$as_me:12009: \$? = $ac_status" >&5 |
11980 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 12010 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
11981 { (eval echo "$as_me:11981: \"$ac_try\"") >&5 | 12011 { (eval echo "$as_me:12011: \"$ac_try\"") >&5 |
11982 (eval $ac_try) 2>&5 | 12012 (eval $ac_try) 2>&5 |
11983 ac_status=$? | 12013 ac_status=$? |
11984 echo "$as_me:11984: \$? = $ac_status" >&5 | 12014 echo "$as_me:12014: \$? = $ac_status" >&5 |
11985 (exit $ac_status); }; }; then | 12015 (exit $ac_status); }; }; then |
11986 ac_cv_func_fork_works=yes | 12016 ac_cv_func_fork_works=yes |
11987 else | 12017 else |
11988 echo "$as_me: program exited with status $ac_status" >&5 | 12018 echo "$as_me: program exited with status $ac_status" >&5 |
11989 echo "$as_me: failed program was:" >&5 | 12019 echo "$as_me: failed program was:" >&5 |
11991 ac_cv_func_fork_works=no | 12021 ac_cv_func_fork_works=no |
11992 fi | 12022 fi |
11993 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 12023 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11994 fi | 12024 fi |
11995 fi | 12025 fi |
11996 echo "$as_me:11996: result: $ac_cv_func_fork_works" >&5 | 12026 echo "$as_me:12026: result: $ac_cv_func_fork_works" >&5 |
11997 echo "${ECHO_T}$ac_cv_func_fork_works" >&6 | 12027 echo "${ECHO_T}$ac_cv_func_fork_works" >&6 |
11998 | 12028 |
11999 fi | 12029 fi |
12000 if test "x$ac_cv_func_fork_works" = xcross; then | 12030 if test "x$ac_cv_func_fork_works" = xcross; then |
12001 case $host in | 12031 case $host in |
12005 ;; | 12035 ;; |
12006 *) | 12036 *) |
12007 ac_cv_func_fork_works=yes | 12037 ac_cv_func_fork_works=yes |
12008 ;; | 12038 ;; |
12009 esac | 12039 esac |
12010 { echo "$as_me:12010: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5 | 12040 { echo "$as_me:12040: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5 |
12011 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&2;} | 12041 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&2;} |
12012 fi | 12042 fi |
12013 ac_cv_func_vfork_works=$ac_cv_func_vfork | 12043 ac_cv_func_vfork_works=$ac_cv_func_vfork |
12014 if test "x$ac_cv_func_vfork" = xyes; then | 12044 if test "x$ac_cv_func_vfork" = xyes; then |
12015 echo "$as_me:12015: checking for working vfork" >&5 | 12045 echo "$as_me:12045: checking for working vfork" >&5 |
12016 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6 | 12046 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6 |
12017 if test "${ac_cv_func_vfork_works+set}" = set; then | 12047 if test "${ac_cv_func_vfork_works+set}" = set; then |
12018 echo $ECHO_N "(cached) $ECHO_C" >&6 | 12048 echo $ECHO_N "(cached) $ECHO_C" >&6 |
12019 else | 12049 else |
12020 if test "$cross_compiling" = yes; then | 12050 if test "$cross_compiling" = yes; then |
12021 ac_cv_func_vfork_works=cross | 12051 ac_cv_func_vfork_works=cross |
12022 else | 12052 else |
12023 cat >conftest.$ac_ext <<_ACEOF | 12053 cat >conftest.$ac_ext <<_ACEOF |
12024 #line 12024 "configure" | 12054 #line 12054 "configure" |
12025 #include "confdefs.h" | 12055 #include "confdefs.h" |
12026 /* Thanks to Paul Eggert for this test. */ | 12056 /* Thanks to Paul Eggert for this test. */ |
12027 #include <stdio.h> | 12057 #include <stdio.h> |
12028 #include <sys/types.h> | 12058 #include <sys/types.h> |
12029 #include <sys/stat.h> | 12059 #include <sys/stat.h> |
12116 ); | 12146 ); |
12117 } | 12147 } |
12118 } | 12148 } |
12119 _ACEOF | 12149 _ACEOF |
12120 rm -f conftest$ac_exeext | 12150 rm -f conftest$ac_exeext |
12121 if { (eval echo "$as_me:12121: \"$ac_link\"") >&5 | 12151 if { (eval echo "$as_me:12151: \"$ac_link\"") >&5 |
12122 (eval $ac_link) 2>&5 | 12152 (eval $ac_link) 2>&5 |
12123 ac_status=$? | 12153 ac_status=$? |
12124 echo "$as_me:12124: \$? = $ac_status" >&5 | 12154 echo "$as_me:12154: \$? = $ac_status" >&5 |
12125 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 12155 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
12126 { (eval echo "$as_me:12126: \"$ac_try\"") >&5 | 12156 { (eval echo "$as_me:12156: \"$ac_try\"") >&5 |
12127 (eval $ac_try) 2>&5 | 12157 (eval $ac_try) 2>&5 |
12128 ac_status=$? | 12158 ac_status=$? |
12129 echo "$as_me:12129: \$? = $ac_status" >&5 | 12159 echo "$as_me:12159: \$? = $ac_status" >&5 |
12130 (exit $ac_status); }; }; then | 12160 (exit $ac_status); }; }; then |
12131 ac_cv_func_vfork_works=yes | 12161 ac_cv_func_vfork_works=yes |
12132 else | 12162 else |
12133 echo "$as_me: program exited with status $ac_status" >&5 | 12163 echo "$as_me: program exited with status $ac_status" >&5 |
12134 echo "$as_me: failed program was:" >&5 | 12164 echo "$as_me: failed program was:" >&5 |
12136 ac_cv_func_vfork_works=no | 12166 ac_cv_func_vfork_works=no |
12137 fi | 12167 fi |
12138 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 12168 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
12139 fi | 12169 fi |
12140 fi | 12170 fi |
12141 echo "$as_me:12141: result: $ac_cv_func_vfork_works" >&5 | 12171 echo "$as_me:12171: result: $ac_cv_func_vfork_works" >&5 |
12142 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6 | 12172 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6 |
12143 | 12173 |
12144 fi; | 12174 fi; |
12145 if test "x$ac_cv_func_fork_works" = xcross; then | 12175 if test "x$ac_cv_func_fork_works" = xcross; then |
12146 ac_cv_func_vfork_works=ac_cv_func_vfork | 12176 ac_cv_func_vfork_works=ac_cv_func_vfork |
12147 { echo "$as_me:12147: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5 | 12177 { echo "$as_me:12177: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5 |
12148 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&2;} | 12178 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&2;} |
12149 fi | 12179 fi |
12150 | 12180 |
12151 if test "x$ac_cv_func_vfork_works" = xyes; then | 12181 if test "x$ac_cv_func_vfork_works" = xyes; then |
12152 | 12182 |
12168 EOF | 12198 EOF |
12169 | 12199 |
12170 fi | 12200 fi |
12171 | 12201 |
12172 # Fixme: This should be replaced when we have autoconf 2.14. | 12202 # Fixme: This should be replaced when we have autoconf 2.14. |
12173 echo "$as_me:12173: checking for size_t" >&5 | 12203 echo "$as_me:12203: checking for size_t" >&5 |
12174 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 | 12204 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 |
12175 if test "${ac_cv_type_size_t+set}" = set; then | 12205 if test "${ac_cv_type_size_t+set}" = set; then |
12176 echo $ECHO_N "(cached) $ECHO_C" >&6 | 12206 echo $ECHO_N "(cached) $ECHO_C" >&6 |
12177 else | 12207 else |
12178 cat >conftest.$ac_ext <<_ACEOF | 12208 cat >conftest.$ac_ext <<_ACEOF |
12179 #line 12179 "configure" | 12209 #line 12209 "configure" |
12180 #include "confdefs.h" | 12210 #include "confdefs.h" |
12181 $ac_includes_default | 12211 $ac_includes_default |
12182 int | 12212 int |
12183 main () | 12213 main () |
12184 { | 12214 { |
12189 ; | 12219 ; |
12190 return 0; | 12220 return 0; |
12191 } | 12221 } |
12192 _ACEOF | 12222 _ACEOF |
12193 rm -f conftest.$ac_objext | 12223 rm -f conftest.$ac_objext |
12194 if { (eval echo "$as_me:12194: \"$ac_compile\"") >&5 | 12224 if { (eval echo "$as_me:12224: \"$ac_compile\"") >&5 |
12195 (eval $ac_compile) 2>&5 | 12225 (eval $ac_compile) 2>&5 |
12196 ac_status=$? | 12226 ac_status=$? |
12197 echo "$as_me:12197: \$? = $ac_status" >&5 | 12227 echo "$as_me:12227: \$? = $ac_status" >&5 |
12198 (exit $ac_status); } && | 12228 (exit $ac_status); } && |
12199 { ac_try='test -s conftest.$ac_objext' | 12229 { ac_try='test -s conftest.$ac_objext' |
12200 { (eval echo "$as_me:12200: \"$ac_try\"") >&5 | 12230 { (eval echo "$as_me:12230: \"$ac_try\"") >&5 |
12201 (eval $ac_try) 2>&5 | 12231 (eval $ac_try) 2>&5 |
12202 ac_status=$? | 12232 ac_status=$? |
12203 echo "$as_me:12203: \$? = $ac_status" >&5 | 12233 echo "$as_me:12233: \$? = $ac_status" >&5 |
12204 (exit $ac_status); }; }; then | 12234 (exit $ac_status); }; }; then |
12205 ac_cv_type_size_t=yes | 12235 ac_cv_type_size_t=yes |
12206 else | 12236 else |
12207 echo "$as_me: failed program was:" >&5 | 12237 echo "$as_me: failed program was:" >&5 |
12208 cat conftest.$ac_ext >&5 | 12238 cat conftest.$ac_ext >&5 |
12209 ac_cv_type_size_t=no | 12239 ac_cv_type_size_t=no |
12210 fi | 12240 fi |
12211 rm -f conftest.$ac_objext conftest.$ac_ext | 12241 rm -f conftest.$ac_objext conftest.$ac_ext |
12212 fi | 12242 fi |
12213 echo "$as_me:12213: result: $ac_cv_type_size_t" >&5 | 12243 echo "$as_me:12243: result: $ac_cv_type_size_t" >&5 |
12214 echo "${ECHO_T}$ac_cv_type_size_t" >&6 | 12244 echo "${ECHO_T}$ac_cv_type_size_t" >&6 |
12215 if test $ac_cv_type_size_t = yes; then | 12245 if test $ac_cv_type_size_t = yes; then |
12216 : | 12246 : |
12217 else | 12247 else |
12218 | 12248 |
12228 | 12258 |
12229 #### Find out which version of Emacs this is. | 12259 #### Find out which version of Emacs this is. |
12230 version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \ | 12260 version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \ |
12231 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` | 12261 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` |
12232 if test x"${version}" = x; then | 12262 if test x"${version}" = x; then |
12233 { { echo "$as_me:12233: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5 | 12263 { { echo "$as_me:12263: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5 |
12234 echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;} | 12264 echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;} |
12235 { (exit 1); exit 1; }; } | 12265 { (exit 1); exit 1; }; } |
12236 fi | 12266 fi |
12237 | 12267 |
12238 ### Specify what sort of things we'll be editing into Makefile and config.h. | 12268 ### Specify what sort of things we'll be editing into Makefile and config.h. |
12314 fi | 12344 fi |
12315 | 12345 |
12316 for ac_header in nlist.h | 12346 for ac_header in nlist.h |
12317 do | 12347 do |
12318 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 12348 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
12319 echo "$as_me:12319: checking for $ac_header" >&5 | 12349 echo "$as_me:12349: checking for $ac_header" >&5 |
12320 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 12350 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
12321 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 12351 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
12322 echo $ECHO_N "(cached) $ECHO_C" >&6 | 12352 echo $ECHO_N "(cached) $ECHO_C" >&6 |
12323 else | 12353 else |
12324 cat >conftest.$ac_ext <<_ACEOF | 12354 cat >conftest.$ac_ext <<_ACEOF |
12325 #line 12325 "configure" | 12355 #line 12355 "configure" |
12326 #include "confdefs.h" | 12356 #include "confdefs.h" |
12327 #include <$ac_header> | 12357 #include <$ac_header> |
12328 _ACEOF | 12358 _ACEOF |
12329 if { (eval echo "$as_me:12329: \"$ac_cpp conftest.$ac_ext\"") >&5 | 12359 if { (eval echo "$as_me:12359: \"$ac_cpp conftest.$ac_ext\"") >&5 |
12330 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 12360 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
12331 ac_status=$? | 12361 ac_status=$? |
12332 egrep -v '^ *\+' conftest.er1 >conftest.err | 12362 egrep -v '^ *\+' conftest.er1 >conftest.err |
12333 rm -f conftest.er1 | 12363 rm -f conftest.er1 |
12334 cat conftest.err >&5 | 12364 cat conftest.err >&5 |
12335 echo "$as_me:12335: \$? = $ac_status" >&5 | 12365 echo "$as_me:12365: \$? = $ac_status" >&5 |
12336 (exit $ac_status); } >/dev/null; then | 12366 (exit $ac_status); } >/dev/null; then |
12337 if test -s conftest.err; then | 12367 if test -s conftest.err; then |
12338 ac_cpp_err=$ac_c_preproc_warn_flag | 12368 ac_cpp_err=$ac_c_preproc_warn_flag |
12339 else | 12369 else |
12340 ac_cpp_err= | 12370 ac_cpp_err= |
12349 cat conftest.$ac_ext >&5 | 12379 cat conftest.$ac_ext >&5 |
12350 eval "$as_ac_Header=no" | 12380 eval "$as_ac_Header=no" |
12351 fi | 12381 fi |
12352 rm -f conftest.err conftest.$ac_ext | 12382 rm -f conftest.err conftest.$ac_ext |
12353 fi | 12383 fi |
12354 echo "$as_me:12354: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 12384 echo "$as_me:12384: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
12355 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 12385 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
12356 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 12386 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
12357 cat >>confdefs.h <<EOF | 12387 cat >>confdefs.h <<EOF |
12358 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 12388 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
12359 EOF | 12389 EOF |
12409 ## CPP_NEED_TRADITIONAL to `yes' so that the code to generate Makefile | 12439 ## CPP_NEED_TRADITIONAL to `yes' so that the code to generate Makefile |
12410 ## from Makefile.c can correctly provide the arg `-traditional' to the | 12440 ## from Makefile.c can correctly provide the arg `-traditional' to the |
12411 ## C preprocessor. | 12441 ## C preprocessor. |
12412 | 12442 |
12413 cat >conftest.$ac_ext <<_ACEOF | 12443 cat >conftest.$ac_ext <<_ACEOF |
12414 #line 12414 "configure" | 12444 #line 12444 "configure" |
12415 #include "confdefs.h" | 12445 #include "confdefs.h" |
12416 yes..yes | 12446 yes..yes |
12417 _ACEOF | 12447 _ACEOF |
12418 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 12448 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
12419 egrep "yes..yes" >/dev/null 2>&1; then | 12449 egrep "yes..yes" >/dev/null 2>&1; then |
12502 DEFS=-DHAVE_CONFIG_H | 12532 DEFS=-DHAVE_CONFIG_H |
12503 | 12533 |
12504 : ${CONFIG_STATUS=./config.status} | 12534 : ${CONFIG_STATUS=./config.status} |
12505 ac_clean_files_save=$ac_clean_files | 12535 ac_clean_files_save=$ac_clean_files |
12506 ac_clean_files="$ac_clean_files $CONFIG_STATUS" | 12536 ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
12507 { echo "$as_me:12507: creating $CONFIG_STATUS" >&5 | 12537 { echo "$as_me:12537: creating $CONFIG_STATUS" >&5 |
12508 echo "$as_me: creating $CONFIG_STATUS" >&6;} | 12538 echo "$as_me: creating $CONFIG_STATUS" >&6;} |
12509 cat >$CONFIG_STATUS <<_ACEOF | 12539 cat >$CONFIG_STATUS <<_ACEOF |
12510 #! $SHELL | 12540 #! $SHELL |
12511 # Generated automatically by configure. | 12541 # Generated automatically by configure. |
12512 # Run this file to recreate the current configuration. | 12542 # Run this file to recreate the current configuration. |
12678 cat >>$CONFIG_STATUS <<\EOF | 12708 cat >>$CONFIG_STATUS <<\EOF |
12679 --version | --vers* | -V ) | 12709 --version | --vers* | -V ) |
12680 echo "$ac_cs_version"; exit 0 ;; | 12710 echo "$ac_cs_version"; exit 0 ;; |
12681 --he | --h) | 12711 --he | --h) |
12682 # Conflict between --help and --header | 12712 # Conflict between --help and --header |
12683 { { echo "$as_me:12683: error: ambiguous option: $1 | 12713 { { echo "$as_me:12713: error: ambiguous option: $1 |
12684 Try \`$0 --help' for more information." >&5 | 12714 Try \`$0 --help' for more information." >&5 |
12685 echo "$as_me: error: ambiguous option: $1 | 12715 echo "$as_me: error: ambiguous option: $1 |
12686 Try \`$0 --help' for more information." >&2;} | 12716 Try \`$0 --help' for more information." >&2;} |
12687 { (exit 1); exit 1; }; };; | 12717 { (exit 1); exit 1; }; };; |
12688 --help | --hel | -h ) | 12718 --help | --hel | -h ) |
12697 shift | 12727 shift |
12698 CONFIG_HEADERS="$CONFIG_HEADERS $1" | 12728 CONFIG_HEADERS="$CONFIG_HEADERS $1" |
12699 ac_need_defaults=false;; | 12729 ac_need_defaults=false;; |
12700 | 12730 |
12701 # This is an error. | 12731 # This is an error. |
12702 -*) { { echo "$as_me:12702: error: unrecognized option: $1 | 12732 -*) { { echo "$as_me:12732: error: unrecognized option: $1 |
12703 Try \`$0 --help' for more information." >&5 | 12733 Try \`$0 --help' for more information." >&5 |
12704 echo "$as_me: error: unrecognized option: $1 | 12734 echo "$as_me: error: unrecognized option: $1 |
12705 Try \`$0 --help' for more information." >&2;} | 12735 Try \`$0 --help' for more information." >&2;} |
12706 { (exit 1); exit 1; }; } ;; | 12736 { (exit 1); exit 1; }; } ;; |
12707 | 12737 |
12753 "lispref/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispref/Makefile" ;; | 12783 "lispref/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispref/Makefile" ;; |
12754 "lispintro/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispintro/Makefile" ;; | 12784 "lispintro/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispintro/Makefile" ;; |
12755 "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; | 12785 "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; |
12756 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; | 12786 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; |
12757 "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:src/config.in" ;; | 12787 "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:src/config.in" ;; |
12758 *) { { echo "$as_me:12758: error: invalid argument: $ac_config_target" >&5 | 12788 *) { { echo "$as_me:12788: error: invalid argument: $ac_config_target" >&5 |
12759 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | 12789 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
12760 { (exit 1); exit 1; }; };; | 12790 { (exit 1); exit 1; }; };; |
12761 esac | 12791 esac |
12762 done | 12792 done |
12763 | 12793 |
13000 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | 13030 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
13001 *) ac_INSTALL=$ac_dots$INSTALL ;; | 13031 *) ac_INSTALL=$ac_dots$INSTALL ;; |
13002 esac | 13032 esac |
13003 | 13033 |
13004 if test x"$ac_file" != x-; then | 13034 if test x"$ac_file" != x-; then |
13005 { echo "$as_me:13005: creating $ac_file" >&5 | 13035 { echo "$as_me:13035: creating $ac_file" >&5 |
13006 echo "$as_me: creating $ac_file" >&6;} | 13036 echo "$as_me: creating $ac_file" >&6;} |
13007 rm -f "$ac_file" | 13037 rm -f "$ac_file" |
13008 fi | 13038 fi |
13009 # Let's still pretend it is `configure' which instantiates (i.e., don't | 13039 # Let's still pretend it is `configure' which instantiates (i.e., don't |
13010 # use $as_me), people would be surprised to read: | 13040 # use $as_me), people would be surprised to read: |
13018 for f in $ac_file_in; do | 13048 for f in $ac_file_in; do |
13019 case $f in | 13049 case $f in |
13020 -) echo $tmp/stdin ;; | 13050 -) echo $tmp/stdin ;; |
13021 [\\/$]*) | 13051 [\\/$]*) |
13022 # Absolute (can't be DOS-style, as IFS=:) | 13052 # Absolute (can't be DOS-style, as IFS=:) |
13023 test -f "$f" || { { echo "$as_me:13023: error: cannot find input file: $f" >&5 | 13053 test -f "$f" || { { echo "$as_me:13053: error: cannot find input file: $f" >&5 |
13024 echo "$as_me: error: cannot find input file: $f" >&2;} | 13054 echo "$as_me: error: cannot find input file: $f" >&2;} |
13025 { (exit 1); exit 1; }; } | 13055 { (exit 1); exit 1; }; } |
13026 echo $f;; | 13056 echo $f;; |
13027 *) # Relative | 13057 *) # Relative |
13028 if test -f "$f"; then | 13058 if test -f "$f"; then |
13031 elif test -f "$srcdir/$f"; then | 13061 elif test -f "$srcdir/$f"; then |
13032 # Source tree | 13062 # Source tree |
13033 echo $srcdir/$f | 13063 echo $srcdir/$f |
13034 else | 13064 else |
13035 # /dev/null tree | 13065 # /dev/null tree |
13036 { { echo "$as_me:13036: error: cannot find input file: $f" >&5 | 13066 { { echo "$as_me:13066: error: cannot find input file: $f" >&5 |
13037 echo "$as_me: error: cannot find input file: $f" >&2;} | 13067 echo "$as_me: error: cannot find input file: $f" >&2;} |
13038 { (exit 1); exit 1; }; } | 13068 { (exit 1); exit 1; }; } |
13039 fi;; | 13069 fi;; |
13040 esac | 13070 esac |
13041 done` || { (exit 1); exit 1; } | 13071 done` || { (exit 1); exit 1; } |
13092 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 13122 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
13093 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 13123 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
13094 * ) ac_file_in=$ac_file.in ;; | 13124 * ) ac_file_in=$ac_file.in ;; |
13095 esac | 13125 esac |
13096 | 13126 |
13097 test x"$ac_file" != x- && { echo "$as_me:13097: creating $ac_file" >&5 | 13127 test x"$ac_file" != x- && { echo "$as_me:13127: creating $ac_file" >&5 |
13098 echo "$as_me: creating $ac_file" >&6;} | 13128 echo "$as_me: creating $ac_file" >&6;} |
13099 | 13129 |
13100 # First look for the input files in the build tree, otherwise in the | 13130 # First look for the input files in the build tree, otherwise in the |
13101 # src tree. | 13131 # src tree. |
13102 ac_file_inputs=`IFS=: | 13132 ac_file_inputs=`IFS=: |
13103 for f in $ac_file_in; do | 13133 for f in $ac_file_in; do |
13104 case $f in | 13134 case $f in |
13105 -) echo $tmp/stdin ;; | 13135 -) echo $tmp/stdin ;; |
13106 [\\/$]*) | 13136 [\\/$]*) |
13107 # Absolute (can't be DOS-style, as IFS=:) | 13137 # Absolute (can't be DOS-style, as IFS=:) |
13108 test -f "$f" || { { echo "$as_me:13108: error: cannot find input file: $f" >&5 | 13138 test -f "$f" || { { echo "$as_me:13138: error: cannot find input file: $f" >&5 |
13109 echo "$as_me: error: cannot find input file: $f" >&2;} | 13139 echo "$as_me: error: cannot find input file: $f" >&2;} |
13110 { (exit 1); exit 1; }; } | 13140 { (exit 1); exit 1; }; } |
13111 echo $f;; | 13141 echo $f;; |
13112 *) # Relative | 13142 *) # Relative |
13113 if test -f "$f"; then | 13143 if test -f "$f"; then |
13116 elif test -f "$srcdir/$f"; then | 13146 elif test -f "$srcdir/$f"; then |
13117 # Source tree | 13147 # Source tree |
13118 echo $srcdir/$f | 13148 echo $srcdir/$f |
13119 else | 13149 else |
13120 # /dev/null tree | 13150 # /dev/null tree |
13121 { { echo "$as_me:13121: error: cannot find input file: $f" >&5 | 13151 { { echo "$as_me:13151: error: cannot find input file: $f" >&5 |
13122 echo "$as_me: error: cannot find input file: $f" >&2;} | 13152 echo "$as_me: error: cannot find input file: $f" >&2;} |
13123 { (exit 1); exit 1; }; } | 13153 { (exit 1); exit 1; }; } |
13124 fi;; | 13154 fi;; |
13125 esac | 13155 esac |
13126 done` || { (exit 1); exit 1; } | 13156 done` || { (exit 1); exit 1; } |
13233 fi | 13263 fi |
13234 cat $tmp/in >>$tmp/config.h | 13264 cat $tmp/in >>$tmp/config.h |
13235 rm -f $tmp/in | 13265 rm -f $tmp/in |
13236 if test x"$ac_file" != x-; then | 13266 if test x"$ac_file" != x-; then |
13237 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then | 13267 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then |
13238 { echo "$as_me:13238: $ac_file is unchanged" >&5 | 13268 { echo "$as_me:13268: $ac_file is unchanged" >&5 |
13239 echo "$as_me: $ac_file is unchanged" >&6;} | 13269 echo "$as_me: $ac_file is unchanged" >&6;} |
13240 else | 13270 else |
13241 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 13271 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
13242 X"$ac_file" : 'X\(//\)[^/]' \| \ | 13272 X"$ac_file" : 'X\(//\)[^/]' \| \ |
13243 X"$ac_file" : 'X\(//\)$' \| \ | 13273 X"$ac_file" : 'X\(//\)$' \| \ |