diff options
| author | Dave Love | 2000-09-08 16:14:29 +0000 |
|---|---|---|
| committer | Dave Love | 2000-09-08 16:14:29 +0000 |
| commit | 1932bc86eb4e67438c3753d2d371fef00f6be2f2 (patch) | |
| tree | c22b5fe587aa97c1dbe5266eb3e8fda51fa9d2c6 | |
| parent | 8b05edb34e43fd3b6871bc3c313ddc8e0d89e176 (diff) | |
| download | emacs-1932bc86eb4e67438c3753d2d371fef00f6be2f2.tar.gz emacs-1932bc86eb4e67438c3753d2d371fef00f6be2f2.zip | |
*** empty log message ***
| -rwxr-xr-x | configure | 678 |
1 files changed, 336 insertions, 342 deletions
| @@ -3504,7 +3504,7 @@ else | |||
| 3504 | int main() { | 3504 | int main() { |
| 3505 | 3505 | ||
| 3506 | /* Ultrix mips cc rejects this. */ | 3506 | /* Ultrix mips cc rejects this. */ |
| 3507 | typedef int charset[2]; const charset x; | 3507 | typedef int charset[2]; const charset x = {0,0}; |
| 3508 | /* SunOS 4.1.1 cc rejects this. */ | 3508 | /* SunOS 4.1.1 cc rejects this. */ |
| 3509 | char const *const *ccp; | 3509 | char const *const *ccp; |
| 3510 | char **p; | 3510 | char **p; |
| @@ -4152,8 +4152,8 @@ if test x"${REL_ALLOC}" = x; then | |||
| 4152 | REL_ALLOC=${GNU_MALLOC} | 4152 | REL_ALLOC=${GNU_MALLOC} |
| 4153 | fi | 4153 | fi |
| 4154 | 4154 | ||
| 4155 | @@@ | 4155 | |
| 4156 | for ac_hdr in unistd.h | 4156 | for ac_hdr in stdlib.h unistd.h sys/stat.h |
| 4157 | do | 4157 | do |
| 4158 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 4158 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 4159 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 4159 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| @@ -4259,7 +4259,6 @@ else | |||
| 4259 | cat > conftest.$ac_ext <<EOF | 4259 | cat > conftest.$ac_ext <<EOF |
| 4260 | #line 4261 "configure" | 4260 | #line 4261 "configure" |
| 4261 | #include "confdefs.h" | 4261 | #include "confdefs.h" |
| 4262 | |||
| 4263 | /* Thanks to Mike Haertel and Jim Avera for this test. | 4262 | /* Thanks to Mike Haertel and Jim Avera for this test. |
| 4264 | Here is a matrix of mmap possibilities: | 4263 | Here is a matrix of mmap possibilities: |
| 4265 | mmap private not fixed | 4264 | mmap private not fixed |
| @@ -4272,7 +4271,7 @@ else | |||
| 4272 | back from the file, nor mmap's back from the file at a different | 4271 | back from the file, nor mmap's back from the file at a different |
| 4273 | address. (There have been systems where private was not correctly | 4272 | address. (There have been systems where private was not correctly |
| 4274 | implemented like the infamous i386 svr4.0, and systems where the | 4273 | implemented like the infamous i386 svr4.0, and systems where the |
| 4275 | VM page cache was not coherent with the filesystem buffer cache | 4274 | VM page cache was not coherent with the file system buffer cache |
| 4276 | like early versions of FreeBSD and possibly contemporary NetBSD.) | 4275 | like early versions of FreeBSD and possibly contemporary NetBSD.) |
| 4277 | For shared mappings, we should conversely verify that changes get | 4276 | For shared mappings, we should conversely verify that changes get |
| 4278 | propogated back to all the places they're supposed to be. | 4277 | propogated back to all the places they're supposed to be. |
| @@ -4285,21 +4284,29 @@ else | |||
| 4285 | #include <fcntl.h> | 4284 | #include <fcntl.h> |
| 4286 | #include <sys/mman.h> | 4285 | #include <sys/mman.h> |
| 4287 | 4286 | ||
| 4288 | /* This mess was copied from the GNU getpagesize.h. */ | 4287 | #if STDC_HEADERS || HAVE_STDLIB_H |
| 4289 | #ifndef HAVE_GETPAGESIZE | 4288 | # include <stdlib.h> |
| 4290 | # ifdef HAVE_UNISTD_H | 4289 | #else |
| 4291 | # include <unistd.h> | 4290 | char *malloc (); |
| 4292 | # endif | 4291 | #endif |
| 4292 | #if HAVE_UNISTD_H | ||
| 4293 | # include <unistd.h> | ||
| 4294 | #endif | ||
| 4295 | #if HAVE_SYS_STAT_H | ||
| 4296 | # include <sys/stat.h> | ||
| 4297 | #endif | ||
| 4293 | 4298 | ||
| 4299 | /* This mess was copied from the GNU getpagesize.h. */ | ||
| 4300 | #if !HAVE_GETPAGESIZE | ||
| 4294 | /* Assume that all systems that can run configure have sys/param.h. */ | 4301 | /* Assume that all systems that can run configure have sys/param.h. */ |
| 4295 | # ifndef HAVE_SYS_PARAM_H | 4302 | # if !HAVE_SYS_PARAM_H |
| 4296 | # define HAVE_SYS_PARAM_H 1 | 4303 | # define HAVE_SYS_PARAM_H 1 |
| 4297 | # endif | 4304 | # endif |
| 4298 | 4305 | ||
| 4299 | # ifdef _SC_PAGESIZE | 4306 | # ifdef _SC_PAGESIZE |
| 4300 | # define getpagesize() sysconf(_SC_PAGESIZE) | 4307 | # define getpagesize() sysconf(_SC_PAGESIZE) |
| 4301 | # else /* no _SC_PAGESIZE */ | 4308 | # else /* no _SC_PAGESIZE */ |
| 4302 | # ifdef HAVE_SYS_PARAM_H | 4309 | # if HAVE_SYS_PARAM_H |
| 4303 | # include <sys/param.h> | 4310 | # include <sys/param.h> |
| 4304 | # ifdef EXEC_PAGESIZE | 4311 | # ifdef EXEC_PAGESIZE |
| 4305 | # define getpagesize() EXEC_PAGESIZE | 4312 | # define getpagesize() EXEC_PAGESIZE |
| @@ -4326,78 +4333,65 @@ else | |||
| 4326 | 4333 | ||
| 4327 | #endif /* no HAVE_GETPAGESIZE */ | 4334 | #endif /* no HAVE_GETPAGESIZE */ |
| 4328 | 4335 | ||
| 4329 | #ifdef __cplusplus | ||
| 4330 | extern "C" { void *malloc(unsigned); } | ||
| 4331 | #else | ||
| 4332 | char *malloc(); | ||
| 4333 | #endif | ||
| 4334 | |||
| 4335 | int | 4336 | int |
| 4336 | main() | 4337 | main () |
| 4337 | { | 4338 | { |
| 4338 | char *data, *data2, *data3; | 4339 | char *data, *data2, *data3; |
| 4339 | int i, pagesize; | 4340 | int i, pagesize; |
| 4340 | int fd; | 4341 | int fd; |
| 4341 | 4342 | ||
| 4342 | pagesize = getpagesize(); | 4343 | pagesize = getpagesize (); |
| 4343 | 4344 | ||
| 4344 | /* | 4345 | /* First, make a file with some known garbage in it. */ |
| 4345 | * First, make a file with some known garbage in it. | 4346 | data = (char *) malloc (pagesize); |
| 4346 | */ | 4347 | if (!data) |
| 4347 | data = malloc(pagesize); | 4348 | exit (1); |
| 4348 | if (!data) | 4349 | for (i = 0; i < pagesize; ++i) |
| 4349 | exit(1); | 4350 | *(data + i) = rand (); |
| 4350 | for (i = 0; i < pagesize; ++i) | 4351 | umask (0); |
| 4351 | *(data + i) = rand(); | 4352 | fd = creat ("conftestmmap", 0600); |
| 4352 | umask(0); | 4353 | if (fd < 0) |
| 4353 | fd = creat("conftestmmap", 0600); | 4354 | exit (1); |
| 4354 | if (fd < 0) | 4355 | if (write (fd, data, pagesize) != pagesize) |
| 4355 | exit(1); | 4356 | exit (1); |
| 4356 | if (write(fd, data, pagesize) != pagesize) | 4357 | close (fd); |
| 4357 | exit(1); | ||
| 4358 | close(fd); | ||
| 4359 | |||
| 4360 | /* | ||
| 4361 | * Next, try to mmap the file at a fixed address which | ||
| 4362 | * already has something else allocated at it. If we can, | ||
| 4363 | * also make sure that we see the same garbage. | ||
| 4364 | */ | ||
| 4365 | fd = open("conftestmmap", O_RDWR); | ||
| 4366 | if (fd < 0) | ||
| 4367 | exit(1); | ||
| 4368 | data2 = malloc(2 * pagesize); | ||
| 4369 | if (!data2) | ||
| 4370 | exit(1); | ||
| 4371 | data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1); | ||
| 4372 | if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE, | ||
| 4373 | MAP_PRIVATE | MAP_FIXED, fd, 0L)) | ||
| 4374 | exit(1); | ||
| 4375 | for (i = 0; i < pagesize; ++i) | ||
| 4376 | if (*(data + i) != *(data2 + i)) | ||
| 4377 | exit(1); | ||
| 4378 | |||
| 4379 | /* | ||
| 4380 | * Finally, make sure that changes to the mapped area | ||
| 4381 | * do not percolate back to the file as seen by read(). | ||
| 4382 | * (This is a bug on some variants of i386 svr4.0.) | ||
| 4383 | */ | ||
| 4384 | for (i = 0; i < pagesize; ++i) | ||
| 4385 | *(data2 + i) = *(data2 + i) + 1; | ||
| 4386 | data3 = malloc(pagesize); | ||
| 4387 | if (!data3) | ||
| 4388 | exit(1); | ||
| 4389 | if (read(fd, data3, pagesize) != pagesize) | ||
| 4390 | exit(1); | ||
| 4391 | for (i = 0; i < pagesize; ++i) | ||
| 4392 | if (*(data + i) != *(data3 + i)) | ||
| 4393 | exit(1); | ||
| 4394 | close(fd); | ||
| 4395 | unlink("conftestmmap"); | ||
| 4396 | exit(0); | ||
| 4397 | } | ||
| 4398 | 4358 | ||
| 4359 | /* Next, try to mmap the file at a fixed address which already has | ||
| 4360 | something else allocated at it. If we can, also make sure that | ||
| 4361 | we see the same garbage. */ | ||
| 4362 | fd = open ("conftestmmap", O_RDWR); | ||
| 4363 | if (fd < 0) | ||
| 4364 | exit (1); | ||
| 4365 | data2 = (char *) malloc (2 * pagesize); | ||
| 4366 | if (!data2) | ||
| 4367 | exit (1); | ||
| 4368 | data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1); | ||
| 4369 | if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE, | ||
| 4370 | MAP_PRIVATE | MAP_FIXED, fd, 0L)) | ||
| 4371 | exit (1); | ||
| 4372 | for (i = 0; i < pagesize; ++i) | ||
| 4373 | if (*(data + i) != *(data2 + i)) | ||
| 4374 | exit (1); | ||
| 4375 | |||
| 4376 | /* Finally, make sure that changes to the mapped area do not | ||
| 4377 | percolate back to the file as seen by read(). (This is a bug on | ||
| 4378 | some variants of i386 svr4.0.) */ | ||
| 4379 | for (i = 0; i < pagesize; ++i) | ||
| 4380 | *(data2 + i) = *(data2 + i) + 1; | ||
| 4381 | data3 = (char *) malloc (pagesize); | ||
| 4382 | if (!data3) | ||
| 4383 | exit (1); | ||
| 4384 | if (read (fd, data3, pagesize) != pagesize) | ||
| 4385 | exit (1); | ||
| 4386 | for (i = 0; i < pagesize; ++i) | ||
| 4387 | if (*(data + i) != *(data3 + i)) | ||
| 4388 | exit (1); | ||
| 4389 | close (fd); | ||
| 4390 | unlink ("conftestmmap"); | ||
| 4391 | exit (0); | ||
| 4392 | } | ||
| 4399 | EOF | 4393 | EOF |
| 4400 | if { (eval echo configure:4401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 4394 | if { (eval echo configure:4395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
| 4401 | then | 4395 | then |
| 4402 | ac_cv_func_mmap_fixed_mapped=yes | 4396 | ac_cv_func_mmap_fixed_mapped=yes |
| 4403 | else | 4397 | else |
| @@ -4426,7 +4420,7 @@ fi | |||
| 4426 | LIBS="$libsrc_libs $LIBS" | 4420 | LIBS="$libsrc_libs $LIBS" |
| 4427 | 4421 | ||
| 4428 | echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 4422 | echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
| 4429 | echo "configure:4430: checking for dnet_ntoa in -ldnet" >&5 | 4423 | echo "configure:4424: checking for dnet_ntoa in -ldnet" >&5 |
| 4430 | ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4424 | ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
| 4431 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4425 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 4432 | echo $ac_n "(cached) $ac_c" 1>&6 | 4426 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -4434,7 +4428,7 @@ else | |||
| 4434 | ac_save_LIBS="$LIBS" | 4428 | ac_save_LIBS="$LIBS" |
| 4435 | LIBS="-ldnet $LIBS" | 4429 | LIBS="-ldnet $LIBS" |
| 4436 | cat > conftest.$ac_ext <<EOF | 4430 | cat > conftest.$ac_ext <<EOF |
| 4437 | #line 4438 "configure" | 4431 | #line 4432 "configure" |
| 4438 | #include "confdefs.h" | 4432 | #include "confdefs.h" |
| 4439 | /* Override any gcc2 internal prototype to avoid an error. */ | 4433 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 4440 | /* We use char because int might match the return type of a gcc2 | 4434 | /* We use char because int might match the return type of a gcc2 |
| @@ -4445,7 +4439,7 @@ int main() { | |||
| 4445 | dnet_ntoa() | 4439 | dnet_ntoa() |
| 4446 | ; return 0; } | 4440 | ; return 0; } |
| 4447 | EOF | 4441 | EOF |
| 4448 | if { (eval echo configure:4449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4442 | if { (eval echo configure:4443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4449 | rm -rf conftest* | 4443 | rm -rf conftest* |
| 4450 | eval "ac_cv_lib_$ac_lib_var=yes" | 4444 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 4451 | else | 4445 | else |
| @@ -4474,7 +4468,7 @@ fi | |||
| 4474 | 4468 | ||
| 4475 | 4469 | ||
| 4476 | echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 4470 | echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
| 4477 | echo "configure:4478: checking for main in -lXbsd" >&5 | 4471 | echo "configure:4472: checking for main in -lXbsd" >&5 |
| 4478 | ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 4472 | ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
| 4479 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4473 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 4480 | echo $ac_n "(cached) $ac_c" 1>&6 | 4474 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -4482,14 +4476,14 @@ else | |||
| 4482 | ac_save_LIBS="$LIBS" | 4476 | ac_save_LIBS="$LIBS" |
| 4483 | LIBS="-lXbsd $LIBS" | 4477 | LIBS="-lXbsd $LIBS" |
| 4484 | cat > conftest.$ac_ext <<EOF | 4478 | cat > conftest.$ac_ext <<EOF |
| 4485 | #line 4486 "configure" | 4479 | #line 4480 "configure" |
| 4486 | #include "confdefs.h" | 4480 | #include "confdefs.h" |
| 4487 | 4481 | ||
| 4488 | int main() { | 4482 | int main() { |
| 4489 | main() | 4483 | main() |
| 4490 | ; return 0; } | 4484 | ; return 0; } |
| 4491 | EOF | 4485 | EOF |
| 4492 | if { (eval echo configure:4493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4486 | if { (eval echo configure:4487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4493 | rm -rf conftest* | 4487 | rm -rf conftest* |
| 4494 | eval "ac_cv_lib_$ac_lib_var=yes" | 4488 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 4495 | else | 4489 | else |
| @@ -4511,7 +4505,7 @@ fi | |||
| 4511 | 4505 | ||
| 4512 | 4506 | ||
| 4513 | echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 4507 | echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
| 4514 | echo "configure:4515: checking for cma_open in -lpthreads" >&5 | 4508 | echo "configure:4509: checking for cma_open in -lpthreads" >&5 |
| 4515 | ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 4509 | ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
| 4516 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4510 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 4517 | echo $ac_n "(cached) $ac_c" 1>&6 | 4511 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -4519,7 +4513,7 @@ else | |||
| 4519 | ac_save_LIBS="$LIBS" | 4513 | ac_save_LIBS="$LIBS" |
| 4520 | LIBS="-lpthreads $LIBS" | 4514 | LIBS="-lpthreads $LIBS" |
| 4521 | cat > conftest.$ac_ext <<EOF | 4515 | cat > conftest.$ac_ext <<EOF |
| 4522 | #line 4523 "configure" | 4516 | #line 4517 "configure" |
| 4523 | #include "confdefs.h" | 4517 | #include "confdefs.h" |
| 4524 | /* Override any gcc2 internal prototype to avoid an error. */ | 4518 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 4525 | /* We use char because int might match the return type of a gcc2 | 4519 | /* We use char because int might match the return type of a gcc2 |
| @@ -4530,7 +4524,7 @@ int main() { | |||
| 4530 | cma_open() | 4524 | cma_open() |
| 4531 | ; return 0; } | 4525 | ; return 0; } |
| 4532 | EOF | 4526 | EOF |
| 4533 | if { (eval echo configure:4534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4527 | if { (eval echo configure:4528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4534 | rm -rf conftest* | 4528 | rm -rf conftest* |
| 4535 | eval "ac_cv_lib_$ac_lib_var=yes" | 4529 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 4536 | else | 4530 | else |
| @@ -4559,7 +4553,7 @@ fi | |||
| 4559 | 4553 | ||
| 4560 | 4554 | ||
| 4561 | echo $ac_n "checking for XFree86 in /usr/X386""... $ac_c" 1>&6 | 4555 | echo $ac_n "checking for XFree86 in /usr/X386""... $ac_c" 1>&6 |
| 4562 | echo "configure:4563: checking for XFree86 in /usr/X386" >&5 | 4556 | echo "configure:4557: checking for XFree86 in /usr/X386" >&5 |
| 4563 | if test -d /usr/X386/include; then | 4557 | if test -d /usr/X386/include; then |
| 4564 | HAVE_XFREE386=yes | 4558 | HAVE_XFREE386=yes |
| 4565 | : ${C_SWITCH_X_SITE="-I/usr/X386/include"} | 4559 | : ${C_SWITCH_X_SITE="-I/usr/X386/include"} |
| @@ -4591,16 +4585,16 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 4591 | 4585 | ||
| 4592 | if test "${opsys}" = "gnu-linux"; then | 4586 | if test "${opsys}" = "gnu-linux"; then |
| 4593 | echo $ac_n "checking whether X on GNU/Linux needs -b to link""... $ac_c" 1>&6 | 4587 | echo $ac_n "checking whether X on GNU/Linux needs -b to link""... $ac_c" 1>&6 |
| 4594 | echo "configure:4595: checking whether X on GNU/Linux needs -b to link" >&5 | 4588 | echo "configure:4589: checking whether X on GNU/Linux needs -b to link" >&5 |
| 4595 | cat > conftest.$ac_ext <<EOF | 4589 | cat > conftest.$ac_ext <<EOF |
| 4596 | #line 4597 "configure" | 4590 | #line 4591 "configure" |
| 4597 | #include "confdefs.h" | 4591 | #include "confdefs.h" |
| 4598 | 4592 | ||
| 4599 | int main() { | 4593 | int main() { |
| 4600 | XOpenDisplay ("foo"); | 4594 | XOpenDisplay ("foo"); |
| 4601 | ; return 0; } | 4595 | ; return 0; } |
| 4602 | EOF | 4596 | EOF |
| 4603 | if { (eval echo configure:4604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4597 | if { (eval echo configure:4598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4604 | rm -rf conftest* | 4598 | rm -rf conftest* |
| 4605 | xlinux_first_failure=no | 4599 | xlinux_first_failure=no |
| 4606 | else | 4600 | else |
| @@ -4620,14 +4614,14 @@ rm -f conftest* | |||
| 4620 | CPPFLAGS="$CPPFLAGS -b i486-linuxaout" | 4614 | CPPFLAGS="$CPPFLAGS -b i486-linuxaout" |
| 4621 | LIBS="$LIBS -b i486-linuxaout" | 4615 | LIBS="$LIBS -b i486-linuxaout" |
| 4622 | cat > conftest.$ac_ext <<EOF | 4616 | cat > conftest.$ac_ext <<EOF |
| 4623 | #line 4624 "configure" | 4617 | #line 4618 "configure" |
| 4624 | #include "confdefs.h" | 4618 | #include "confdefs.h" |
| 4625 | 4619 | ||
| 4626 | int main() { | 4620 | int main() { |
| 4627 | XOpenDisplay ("foo"); | 4621 | XOpenDisplay ("foo"); |
| 4628 | ; return 0; } | 4622 | ; return 0; } |
| 4629 | EOF | 4623 | EOF |
| 4630 | if { (eval echo configure:4631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4624 | if { (eval echo configure:4625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4631 | rm -rf conftest* | 4625 | rm -rf conftest* |
| 4632 | xlinux_second_failure=no | 4626 | xlinux_second_failure=no |
| 4633 | else | 4627 | else |
| @@ -4657,12 +4651,12 @@ rm -f conftest* | |||
| 4657 | XScreenNumberOfScreen XSetWMProtocols | 4651 | XScreenNumberOfScreen XSetWMProtocols |
| 4658 | do | 4652 | do |
| 4659 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 4653 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 4660 | echo "configure:4661: checking for $ac_func" >&5 | 4654 | echo "configure:4655: checking for $ac_func" >&5 |
| 4661 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 4655 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
| 4662 | echo $ac_n "(cached) $ac_c" 1>&6 | 4656 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 4663 | else | 4657 | else |
| 4664 | cat > conftest.$ac_ext <<EOF | 4658 | cat > conftest.$ac_ext <<EOF |
| 4665 | #line 4666 "configure" | 4659 | #line 4660 "configure" |
| 4666 | #include "confdefs.h" | 4660 | #include "confdefs.h" |
| 4667 | /* System header to define __stub macros and hopefully few prototypes, | 4661 | /* System header to define __stub macros and hopefully few prototypes, |
| 4668 | which can conflict with char $ac_func(); below. */ | 4662 | which can conflict with char $ac_func(); below. */ |
| @@ -4685,7 +4679,7 @@ $ac_func(); | |||
| 4685 | 4679 | ||
| 4686 | ; return 0; } | 4680 | ; return 0; } |
| 4687 | EOF | 4681 | EOF |
| 4688 | if { (eval echo configure:4689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4682 | if { (eval echo configure:4683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4689 | rm -rf conftest* | 4683 | rm -rf conftest* |
| 4690 | eval "ac_cv_func_$ac_func=yes" | 4684 | eval "ac_cv_func_$ac_func=yes" |
| 4691 | else | 4685 | else |
| @@ -4713,12 +4707,12 @@ fi | |||
| 4713 | 4707 | ||
| 4714 | if test "${window_system}" = "x11"; then | 4708 | if test "${window_system}" = "x11"; then |
| 4715 | echo $ac_n "checking X11 version 6""... $ac_c" 1>&6 | 4709 | echo $ac_n "checking X11 version 6""... $ac_c" 1>&6 |
| 4716 | echo "configure:4717: checking X11 version 6" >&5 | 4710 | echo "configure:4711: checking X11 version 6" >&5 |
| 4717 | if eval "test \"`echo '$''{'emacs_cv_x11_version_6'+set}'`\" = set"; then | 4711 | if eval "test \"`echo '$''{'emacs_cv_x11_version_6'+set}'`\" = set"; then |
| 4718 | echo $ac_n "(cached) $ac_c" 1>&6 | 4712 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 4719 | else | 4713 | else |
| 4720 | cat > conftest.$ac_ext <<EOF | 4714 | cat > conftest.$ac_ext <<EOF |
| 4721 | #line 4722 "configure" | 4715 | #line 4716 "configure" |
| 4722 | #include "confdefs.h" | 4716 | #include "confdefs.h" |
| 4723 | #include <X11/Xlib.h> | 4717 | #include <X11/Xlib.h> |
| 4724 | int main() { | 4718 | int main() { |
| @@ -4728,7 +4722,7 @@ fail; | |||
| 4728 | 4722 | ||
| 4729 | ; return 0; } | 4723 | ; return 0; } |
| 4730 | EOF | 4724 | EOF |
| 4731 | if { (eval echo configure:4732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4725 | if { (eval echo configure:4726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4732 | rm -rf conftest* | 4726 | rm -rf conftest* |
| 4733 | emacs_cv_x11_version_6=yes | 4727 | emacs_cv_x11_version_6=yes |
| 4734 | else | 4728 | else |
| @@ -4753,12 +4747,12 @@ fi | |||
| 4753 | 4747 | ||
| 4754 | if test "${window_system}" = "x11"; then | 4748 | if test "${window_system}" = "x11"; then |
| 4755 | echo $ac_n "checking X11 version 5""... $ac_c" 1>&6 | 4749 | echo $ac_n "checking X11 version 5""... $ac_c" 1>&6 |
| 4756 | echo "configure:4757: checking X11 version 5" >&5 | 4750 | echo "configure:4751: checking X11 version 5" >&5 |
| 4757 | if eval "test \"`echo '$''{'emacs_cv_x11_version_5'+set}'`\" = set"; then | 4751 | if eval "test \"`echo '$''{'emacs_cv_x11_version_5'+set}'`\" = set"; then |
| 4758 | echo $ac_n "(cached) $ac_c" 1>&6 | 4752 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 4759 | else | 4753 | else |
| 4760 | cat > conftest.$ac_ext <<EOF | 4754 | cat > conftest.$ac_ext <<EOF |
| 4761 | #line 4762 "configure" | 4755 | #line 4756 "configure" |
| 4762 | #include "confdefs.h" | 4756 | #include "confdefs.h" |
| 4763 | #include <X11/Xlib.h> | 4757 | #include <X11/Xlib.h> |
| 4764 | int main() { | 4758 | int main() { |
| @@ -4768,7 +4762,7 @@ fail; | |||
| 4768 | 4762 | ||
| 4769 | ; return 0; } | 4763 | ; return 0; } |
| 4770 | EOF | 4764 | EOF |
| 4771 | if { (eval echo configure:4772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4765 | if { (eval echo configure:4766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4772 | rm -rf conftest* | 4766 | rm -rf conftest* |
| 4773 | emacs_cv_x11_version_5=yes | 4767 | emacs_cv_x11_version_5=yes |
| 4774 | else | 4768 | else |
| @@ -4796,12 +4790,12 @@ fi | |||
| 4796 | if test x"${USE_X_TOOLKIT}" = xmaybe; then | 4790 | if test x"${USE_X_TOOLKIT}" = xmaybe; then |
| 4797 | if test x"${HAVE_X11R5}" = xyes; then | 4791 | if test x"${HAVE_X11R5}" = xyes; then |
| 4798 | echo $ac_n "checking X11 version 5 with Xaw""... $ac_c" 1>&6 | 4792 | echo $ac_n "checking X11 version 5 with Xaw""... $ac_c" 1>&6 |
| 4799 | echo "configure:4800: checking X11 version 5 with Xaw" >&5 | 4793 | echo "configure:4794: checking X11 version 5 with Xaw" >&5 |
| 4800 | if eval "test \"`echo '$''{'emacs_cv_x11_version_5_with_xaw'+set}'`\" = set"; then | 4794 | if eval "test \"`echo '$''{'emacs_cv_x11_version_5_with_xaw'+set}'`\" = set"; then |
| 4801 | echo $ac_n "(cached) $ac_c" 1>&6 | 4795 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 4802 | else | 4796 | else |
| 4803 | cat > conftest.$ac_ext <<EOF | 4797 | cat > conftest.$ac_ext <<EOF |
| 4804 | #line 4805 "configure" | 4798 | #line 4799 "configure" |
| 4805 | #include "confdefs.h" | 4799 | #include "confdefs.h" |
| 4806 | 4800 | ||
| 4807 | #include <X11/Intrinsic.h> | 4801 | #include <X11/Intrinsic.h> |
| @@ -4810,7 +4804,7 @@ int main() { | |||
| 4810 | 4804 | ||
| 4811 | ; return 0; } | 4805 | ; return 0; } |
| 4812 | EOF | 4806 | EOF |
| 4813 | if { (eval echo configure:4814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4807 | if { (eval echo configure:4808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4814 | rm -rf conftest* | 4808 | rm -rf conftest* |
| 4815 | emacs_cv_x11_version_5_with_xaw=yes | 4809 | emacs_cv_x11_version_5_with_xaw=yes |
| 4816 | else | 4810 | else |
| @@ -4838,12 +4832,12 @@ X_TOOLKIT_TYPE=$USE_X_TOOLKIT | |||
| 4838 | 4832 | ||
| 4839 | if test "${USE_X_TOOLKIT}" != "none"; then | 4833 | if test "${USE_X_TOOLKIT}" != "none"; then |
| 4840 | echo $ac_n "checking X11 toolkit version""... $ac_c" 1>&6 | 4834 | echo $ac_n "checking X11 toolkit version""... $ac_c" 1>&6 |
| 4841 | echo "configure:4842: checking X11 toolkit version" >&5 | 4835 | echo "configure:4836: checking X11 toolkit version" >&5 |
| 4842 | if eval "test \"`echo '$''{'emacs_cv_x11_toolkit_version_6'+set}'`\" = set"; then | 4836 | if eval "test \"`echo '$''{'emacs_cv_x11_toolkit_version_6'+set}'`\" = set"; then |
| 4843 | echo $ac_n "(cached) $ac_c" 1>&6 | 4837 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 4844 | else | 4838 | else |
| 4845 | cat > conftest.$ac_ext <<EOF | 4839 | cat > conftest.$ac_ext <<EOF |
| 4846 | #line 4847 "configure" | 4840 | #line 4841 "configure" |
| 4847 | #include "confdefs.h" | 4841 | #include "confdefs.h" |
| 4848 | #include <X11/Intrinsic.h> | 4842 | #include <X11/Intrinsic.h> |
| 4849 | int main() { | 4843 | int main() { |
| @@ -4853,7 +4847,7 @@ fail; | |||
| 4853 | 4847 | ||
| 4854 | ; return 0; } | 4848 | ; return 0; } |
| 4855 | EOF | 4849 | EOF |
| 4856 | if { (eval echo configure:4857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4850 | if { (eval echo configure:4851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4857 | rm -rf conftest* | 4851 | rm -rf conftest* |
| 4858 | emacs_cv_x11_toolkit_version_6=yes | 4852 | emacs_cv_x11_toolkit_version_6=yes |
| 4859 | else | 4853 | else |
| @@ -4883,7 +4877,7 @@ EOF | |||
| 4883 | LIBS="-lXt $LIBS" | 4877 | LIBS="-lXt $LIBS" |
| 4884 | fi | 4878 | fi |
| 4885 | echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6 | 4879 | echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6 |
| 4886 | echo "configure:4887: checking for XmuConvertStandardSelection in -lXmu" >&5 | 4880 | echo "configure:4881: checking for XmuConvertStandardSelection in -lXmu" >&5 |
| 4887 | ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'` | 4881 | ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'` |
| 4888 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4882 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 4889 | echo $ac_n "(cached) $ac_c" 1>&6 | 4883 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -4891,7 +4885,7 @@ else | |||
| 4891 | ac_save_LIBS="$LIBS" | 4885 | ac_save_LIBS="$LIBS" |
| 4892 | LIBS="-lXmu $LIBS" | 4886 | LIBS="-lXmu $LIBS" |
| 4893 | cat > conftest.$ac_ext <<EOF | 4887 | cat > conftest.$ac_ext <<EOF |
| 4894 | #line 4895 "configure" | 4888 | #line 4889 "configure" |
| 4895 | #include "confdefs.h" | 4889 | #include "confdefs.h" |
| 4896 | /* Override any gcc2 internal prototype to avoid an error. */ | 4890 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 4897 | /* We use char because int might match the return type of a gcc2 | 4891 | /* We use char because int might match the return type of a gcc2 |
| @@ -4902,7 +4896,7 @@ int main() { | |||
| 4902 | XmuConvertStandardSelection() | 4896 | XmuConvertStandardSelection() |
| 4903 | ; return 0; } | 4897 | ; return 0; } |
| 4904 | EOF | 4898 | EOF |
| 4905 | if { (eval echo configure:4906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4899 | if { (eval echo configure:4900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4906 | rm -rf conftest* | 4900 | rm -rf conftest* |
| 4907 | eval "ac_cv_lib_$ac_lib_var=yes" | 4901 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 4908 | else | 4902 | else |
| @@ -4934,12 +4928,12 @@ fi | |||
| 4934 | 4928 | ||
| 4935 | if test "${USE_X_TOOLKIT}" = "MOTIF"; then | 4929 | if test "${USE_X_TOOLKIT}" = "MOTIF"; then |
| 4936 | echo $ac_n "checking for Motif version 2.1""... $ac_c" 1>&6 | 4930 | echo $ac_n "checking for Motif version 2.1""... $ac_c" 1>&6 |
| 4937 | echo "configure:4938: checking for Motif version 2.1" >&5 | 4931 | echo "configure:4932: checking for Motif version 2.1" >&5 |
| 4938 | if eval "test \"`echo '$''{'emacs_cv_motif_version_2_1'+set}'`\" = set"; then | 4932 | if eval "test \"`echo '$''{'emacs_cv_motif_version_2_1'+set}'`\" = set"; then |
| 4939 | echo $ac_n "(cached) $ac_c" 1>&6 | 4933 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 4940 | else | 4934 | else |
| 4941 | cat > conftest.$ac_ext <<EOF | 4935 | cat > conftest.$ac_ext <<EOF |
| 4942 | #line 4943 "configure" | 4936 | #line 4937 "configure" |
| 4943 | #include "confdefs.h" | 4937 | #include "confdefs.h" |
| 4944 | #include <Xm/Xm.h> | 4938 | #include <Xm/Xm.h> |
| 4945 | int main() { | 4939 | int main() { |
| @@ -4950,7 +4944,7 @@ Motif version prior to 2.1. | |||
| 4950 | #endif | 4944 | #endif |
| 4951 | ; return 0; } | 4945 | ; return 0; } |
| 4952 | EOF | 4946 | EOF |
| 4953 | if { (eval echo configure:4954: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4947 | if { (eval echo configure:4948: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 4954 | rm -rf conftest* | 4948 | rm -rf conftest* |
| 4955 | emacs_cv_motif_version_2_1=yes | 4949 | emacs_cv_motif_version_2_1=yes |
| 4956 | else | 4950 | else |
| @@ -4970,7 +4964,7 @@ echo "$ac_t""$emacs_cv_motif_version_2_1" 1>&6 | |||
| 4970 | EOF | 4964 | EOF |
| 4971 | 4965 | ||
| 4972 | echo $ac_n "checking for XpCreateContext in -lXp""... $ac_c" 1>&6 | 4966 | echo $ac_n "checking for XpCreateContext in -lXp""... $ac_c" 1>&6 |
| 4973 | echo "configure:4974: checking for XpCreateContext in -lXp" >&5 | 4967 | echo "configure:4968: checking for XpCreateContext in -lXp" >&5 |
| 4974 | ac_lib_var=`echo Xp'_'XpCreateContext | sed 'y%./+-%__p_%'` | 4968 | ac_lib_var=`echo Xp'_'XpCreateContext | sed 'y%./+-%__p_%'` |
| 4975 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4969 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 4976 | echo $ac_n "(cached) $ac_c" 1>&6 | 4970 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -4978,7 +4972,7 @@ else | |||
| 4978 | ac_save_LIBS="$LIBS" | 4972 | ac_save_LIBS="$LIBS" |
| 4979 | LIBS="-lXp -lXext $LIBS" | 4973 | LIBS="-lXp -lXext $LIBS" |
| 4980 | cat > conftest.$ac_ext <<EOF | 4974 | cat > conftest.$ac_ext <<EOF |
| 4981 | #line 4982 "configure" | 4975 | #line 4976 "configure" |
| 4982 | #include "confdefs.h" | 4976 | #include "confdefs.h" |
| 4983 | /* Override any gcc2 internal prototype to avoid an error. */ | 4977 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 4984 | /* We use char because int might match the return type of a gcc2 | 4978 | /* We use char because int might match the return type of a gcc2 |
| @@ -4989,7 +4983,7 @@ int main() { | |||
| 4989 | XpCreateContext() | 4983 | XpCreateContext() |
| 4990 | ; return 0; } | 4984 | ; return 0; } |
| 4991 | EOF | 4985 | EOF |
| 4992 | if { (eval echo configure:4993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4986 | if { (eval echo configure:4987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4993 | rm -rf conftest* | 4987 | rm -rf conftest* |
| 4994 | eval "ac_cv_lib_$ac_lib_var=yes" | 4988 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 4995 | else | 4989 | else |
| @@ -5026,17 +5020,17 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 5026 | CFLAGS="${LD_SWITCH_X_SITE}" | 5020 | CFLAGS="${LD_SWITCH_X_SITE}" |
| 5027 | ac_safe=`echo "X11/Xaw3d/Scrollbar.h" | sed 'y%./+-%__p_%'` | 5021 | ac_safe=`echo "X11/Xaw3d/Scrollbar.h" | sed 'y%./+-%__p_%'` |
| 5028 | echo $ac_n "checking for X11/Xaw3d/Scrollbar.h""... $ac_c" 1>&6 | 5022 | echo $ac_n "checking for X11/Xaw3d/Scrollbar.h""... $ac_c" 1>&6 |
| 5029 | echo "configure:5030: checking for X11/Xaw3d/Scrollbar.h" >&5 | 5023 | echo "configure:5024: checking for X11/Xaw3d/Scrollbar.h" >&5 |
| 5030 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5024 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 5031 | echo $ac_n "(cached) $ac_c" 1>&6 | 5025 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 5032 | else | 5026 | else |
| 5033 | cat > conftest.$ac_ext <<EOF | 5027 | cat > conftest.$ac_ext <<EOF |
| 5034 | #line 5035 "configure" | 5028 | #line 5029 "configure" |
| 5035 | #include "confdefs.h" | 5029 | #include "confdefs.h" |
| 5036 | #include <X11/Xaw3d/Scrollbar.h> | 5030 | #include <X11/Xaw3d/Scrollbar.h> |
| 5037 | EOF | 5031 | EOF |
| 5038 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5032 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5039 | { (eval echo configure:5040: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5033 | { (eval echo configure:5034: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5040 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5034 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 5041 | if test -z "$ac_err"; then | 5035 | if test -z "$ac_err"; then |
| 5042 | rm -rf conftest* | 5036 | rm -rf conftest* |
| @@ -5053,7 +5047,7 @@ fi | |||
| 5053 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 5047 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 5054 | echo "$ac_t""yes" 1>&6 | 5048 | echo "$ac_t""yes" 1>&6 |
| 5055 | echo $ac_n "checking for XawScrollbarSetThumb in -lXaw3d""... $ac_c" 1>&6 | 5049 | echo $ac_n "checking for XawScrollbarSetThumb in -lXaw3d""... $ac_c" 1>&6 |
| 5056 | echo "configure:5057: checking for XawScrollbarSetThumb in -lXaw3d" >&5 | 5050 | echo "configure:5051: checking for XawScrollbarSetThumb in -lXaw3d" >&5 |
| 5057 | ac_lib_var=`echo Xaw3d'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 5051 | ac_lib_var=`echo Xaw3d'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
| 5058 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5052 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 5059 | echo $ac_n "(cached) $ac_c" 1>&6 | 5053 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -5061,7 +5055,7 @@ else | |||
| 5061 | ac_save_LIBS="$LIBS" | 5055 | ac_save_LIBS="$LIBS" |
| 5062 | LIBS="-lXaw3d -lX11 $LIBS" | 5056 | LIBS="-lXaw3d -lX11 $LIBS" |
| 5063 | cat > conftest.$ac_ext <<EOF | 5057 | cat > conftest.$ac_ext <<EOF |
| 5064 | #line 5065 "configure" | 5058 | #line 5059 "configure" |
| 5065 | #include "confdefs.h" | 5059 | #include "confdefs.h" |
| 5066 | /* Override any gcc2 internal prototype to avoid an error. */ | 5060 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 5067 | /* We use char because int might match the return type of a gcc2 | 5061 | /* We use char because int might match the return type of a gcc2 |
| @@ -5072,7 +5066,7 @@ int main() { | |||
| 5072 | XawScrollbarSetThumb() | 5066 | XawScrollbarSetThumb() |
| 5073 | ; return 0; } | 5067 | ; return 0; } |
| 5074 | EOF | 5068 | EOF |
| 5075 | if { (eval echo configure:5076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5069 | if { (eval echo configure:5070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5076 | rm -rf conftest* | 5070 | rm -rf conftest* |
| 5077 | eval "ac_cv_lib_$ac_lib_var=yes" | 5071 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 5078 | else | 5072 | else |
| @@ -5144,17 +5138,17 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 5144 | CFLAGS="${LD_SWITCH_X_SITE}" | 5138 | CFLAGS="${LD_SWITCH_X_SITE}" |
| 5145 | ac_safe=`echo "X11/xpm.h" | sed 'y%./+-%__p_%'` | 5139 | ac_safe=`echo "X11/xpm.h" | sed 'y%./+-%__p_%'` |
| 5146 | echo $ac_n "checking for X11/xpm.h""... $ac_c" 1>&6 | 5140 | echo $ac_n "checking for X11/xpm.h""... $ac_c" 1>&6 |
| 5147 | echo "configure:5148: checking for X11/xpm.h" >&5 | 5141 | echo "configure:5142: checking for X11/xpm.h" >&5 |
| 5148 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5142 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 5149 | echo $ac_n "(cached) $ac_c" 1>&6 | 5143 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 5150 | else | 5144 | else |
| 5151 | cat > conftest.$ac_ext <<EOF | 5145 | cat > conftest.$ac_ext <<EOF |
| 5152 | #line 5153 "configure" | 5146 | #line 5147 "configure" |
| 5153 | #include "confdefs.h" | 5147 | #include "confdefs.h" |
| 5154 | #include <X11/xpm.h> | 5148 | #include <X11/xpm.h> |
| 5155 | EOF | 5149 | EOF |
| 5156 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5150 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5157 | { (eval echo configure:5158: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5151 | { (eval echo configure:5152: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5158 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5152 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 5159 | if test -z "$ac_err"; then | 5153 | if test -z "$ac_err"; then |
| 5160 | rm -rf conftest* | 5154 | rm -rf conftest* |
| @@ -5171,7 +5165,7 @@ fi | |||
| 5171 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 5165 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 5172 | echo "$ac_t""yes" 1>&6 | 5166 | echo "$ac_t""yes" 1>&6 |
| 5173 | echo $ac_n "checking for XpmReadFileToPixmap in -lXpm""... $ac_c" 1>&6 | 5167 | echo $ac_n "checking for XpmReadFileToPixmap in -lXpm""... $ac_c" 1>&6 |
| 5174 | echo "configure:5175: checking for XpmReadFileToPixmap in -lXpm" >&5 | 5168 | echo "configure:5169: checking for XpmReadFileToPixmap in -lXpm" >&5 |
| 5175 | ac_lib_var=`echo Xpm'_'XpmReadFileToPixmap | sed 'y%./+-%__p_%'` | 5169 | ac_lib_var=`echo Xpm'_'XpmReadFileToPixmap | sed 'y%./+-%__p_%'` |
| 5176 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5170 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 5177 | echo $ac_n "(cached) $ac_c" 1>&6 | 5171 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -5179,7 +5173,7 @@ else | |||
| 5179 | ac_save_LIBS="$LIBS" | 5173 | ac_save_LIBS="$LIBS" |
| 5180 | LIBS="-lXpm -lX11 $LIBS" | 5174 | LIBS="-lXpm -lX11 $LIBS" |
| 5181 | cat > conftest.$ac_ext <<EOF | 5175 | cat > conftest.$ac_ext <<EOF |
| 5182 | #line 5183 "configure" | 5176 | #line 5177 "configure" |
| 5183 | #include "confdefs.h" | 5177 | #include "confdefs.h" |
| 5184 | /* Override any gcc2 internal prototype to avoid an error. */ | 5178 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 5185 | /* We use char because int might match the return type of a gcc2 | 5179 | /* We use char because int might match the return type of a gcc2 |
| @@ -5190,7 +5184,7 @@ int main() { | |||
| 5190 | XpmReadFileToPixmap() | 5184 | XpmReadFileToPixmap() |
| 5191 | ; return 0; } | 5185 | ; return 0; } |
| 5192 | EOF | 5186 | EOF |
| 5193 | if { (eval echo configure:5194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5187 | if { (eval echo configure:5188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5194 | rm -rf conftest* | 5188 | rm -rf conftest* |
| 5195 | eval "ac_cv_lib_$ac_lib_var=yes" | 5189 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 5196 | else | 5190 | else |
| @@ -5216,9 +5210,9 @@ fi | |||
| 5216 | 5210 | ||
| 5217 | if test "${HAVE_XPM}" = "yes"; then | 5211 | if test "${HAVE_XPM}" = "yes"; then |
| 5218 | echo $ac_n "checking for XpmReturnAllocPixels preprocessor define""... $ac_c" 1>&6 | 5212 | echo $ac_n "checking for XpmReturnAllocPixels preprocessor define""... $ac_c" 1>&6 |
| 5219 | echo "configure:5220: checking for XpmReturnAllocPixels preprocessor define" >&5 | 5213 | echo "configure:5214: checking for XpmReturnAllocPixels preprocessor define" >&5 |
| 5220 | cat > conftest.$ac_ext <<EOF | 5214 | cat > conftest.$ac_ext <<EOF |
| 5221 | #line 5222 "configure" | 5215 | #line 5216 "configure" |
| 5222 | #include "confdefs.h" | 5216 | #include "confdefs.h" |
| 5223 | #include "X11/xpm.h" | 5217 | #include "X11/xpm.h" |
| 5224 | #ifndef XpmReturnAllocPixels | 5218 | #ifndef XpmReturnAllocPixels |
| @@ -5261,17 +5255,17 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 5261 | CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" | 5255 | CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" |
| 5262 | ac_safe=`echo "jerror.h" | sed 'y%./+-%__p_%'` | 5256 | ac_safe=`echo "jerror.h" | sed 'y%./+-%__p_%'` |
| 5263 | echo $ac_n "checking for jerror.h""... $ac_c" 1>&6 | 5257 | echo $ac_n "checking for jerror.h""... $ac_c" 1>&6 |
| 5264 | echo "configure:5265: checking for jerror.h" >&5 | 5258 | echo "configure:5259: checking for jerror.h" >&5 |
| 5265 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5259 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 5266 | echo $ac_n "(cached) $ac_c" 1>&6 | 5260 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 5267 | else | 5261 | else |
| 5268 | cat > conftest.$ac_ext <<EOF | 5262 | cat > conftest.$ac_ext <<EOF |
| 5269 | #line 5270 "configure" | 5263 | #line 5264 "configure" |
| 5270 | #include "confdefs.h" | 5264 | #include "confdefs.h" |
| 5271 | #include <jerror.h> | 5265 | #include <jerror.h> |
| 5272 | EOF | 5266 | EOF |
| 5273 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5267 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5274 | { (eval echo configure:5275: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5268 | { (eval echo configure:5269: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5275 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5269 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 5276 | if test -z "$ac_err"; then | 5270 | if test -z "$ac_err"; then |
| 5277 | rm -rf conftest* | 5271 | rm -rf conftest* |
| @@ -5288,7 +5282,7 @@ fi | |||
| 5288 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 5282 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 5289 | echo "$ac_t""yes" 1>&6 | 5283 | echo "$ac_t""yes" 1>&6 |
| 5290 | echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6 | 5284 | echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6 |
| 5291 | echo "configure:5292: checking for jpeg_destroy_compress in -ljpeg" >&5 | 5285 | echo "configure:5286: checking for jpeg_destroy_compress in -ljpeg" >&5 |
| 5292 | ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'` | 5286 | ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'` |
| 5293 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5287 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 5294 | echo $ac_n "(cached) $ac_c" 1>&6 | 5288 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -5296,7 +5290,7 @@ else | |||
| 5296 | ac_save_LIBS="$LIBS" | 5290 | ac_save_LIBS="$LIBS" |
| 5297 | LIBS="-ljpeg -lX11 $LIBS" | 5291 | LIBS="-ljpeg -lX11 $LIBS" |
| 5298 | cat > conftest.$ac_ext <<EOF | 5292 | cat > conftest.$ac_ext <<EOF |
| 5299 | #line 5300 "configure" | 5293 | #line 5294 "configure" |
| 5300 | #include "confdefs.h" | 5294 | #include "confdefs.h" |
| 5301 | /* Override any gcc2 internal prototype to avoid an error. */ | 5295 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 5302 | /* We use char because int might match the return type of a gcc2 | 5296 | /* We use char because int might match the return type of a gcc2 |
| @@ -5307,7 +5301,7 @@ int main() { | |||
| 5307 | jpeg_destroy_compress() | 5301 | jpeg_destroy_compress() |
| 5308 | ; return 0; } | 5302 | ; return 0; } |
| 5309 | EOF | 5303 | EOF |
| 5310 | if { (eval echo configure:5311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5304 | if { (eval echo configure:5305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5311 | rm -rf conftest* | 5305 | rm -rf conftest* |
| 5312 | eval "ac_cv_lib_$ac_lib_var=yes" | 5306 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 5313 | else | 5307 | else |
| @@ -5350,17 +5344,17 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 5350 | CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" | 5344 | CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" |
| 5351 | ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 5345 | ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
| 5352 | echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 5346 | echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
| 5353 | echo "configure:5354: checking for png.h" >&5 | 5347 | echo "configure:5348: checking for png.h" >&5 |
| 5354 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5348 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 5355 | echo $ac_n "(cached) $ac_c" 1>&6 | 5349 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 5356 | else | 5350 | else |
| 5357 | cat > conftest.$ac_ext <<EOF | 5351 | cat > conftest.$ac_ext <<EOF |
| 5358 | #line 5359 "configure" | 5352 | #line 5353 "configure" |
| 5359 | #include "confdefs.h" | 5353 | #include "confdefs.h" |
| 5360 | #include <png.h> | 5354 | #include <png.h> |
| 5361 | EOF | 5355 | EOF |
| 5362 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5356 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5363 | { (eval echo configure:5364: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5357 | { (eval echo configure:5358: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5364 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5358 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 5365 | if test -z "$ac_err"; then | 5359 | if test -z "$ac_err"; then |
| 5366 | rm -rf conftest* | 5360 | rm -rf conftest* |
| @@ -5377,7 +5371,7 @@ fi | |||
| 5377 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 5371 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 5378 | echo "$ac_t""yes" 1>&6 | 5372 | echo "$ac_t""yes" 1>&6 |
| 5379 | echo $ac_n "checking for png_set_expand in -lpng""... $ac_c" 1>&6 | 5373 | echo $ac_n "checking for png_set_expand in -lpng""... $ac_c" 1>&6 |
| 5380 | echo "configure:5381: checking for png_set_expand in -lpng" >&5 | 5374 | echo "configure:5375: checking for png_set_expand in -lpng" >&5 |
| 5381 | ac_lib_var=`echo png'_'png_set_expand | sed 'y%./+-%__p_%'` | 5375 | ac_lib_var=`echo png'_'png_set_expand | sed 'y%./+-%__p_%'` |
| 5382 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5376 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 5383 | echo $ac_n "(cached) $ac_c" 1>&6 | 5377 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -5385,7 +5379,7 @@ else | |||
| 5385 | ac_save_LIBS="$LIBS" | 5379 | ac_save_LIBS="$LIBS" |
| 5386 | LIBS="-lpng -lX11 -lz -lm $LIBS" | 5380 | LIBS="-lpng -lX11 -lz -lm $LIBS" |
| 5387 | cat > conftest.$ac_ext <<EOF | 5381 | cat > conftest.$ac_ext <<EOF |
| 5388 | #line 5389 "configure" | 5382 | #line 5383 "configure" |
| 5389 | #include "confdefs.h" | 5383 | #include "confdefs.h" |
| 5390 | /* Override any gcc2 internal prototype to avoid an error. */ | 5384 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 5391 | /* We use char because int might match the return type of a gcc2 | 5385 | /* We use char because int might match the return type of a gcc2 |
| @@ -5396,7 +5390,7 @@ int main() { | |||
| 5396 | png_set_expand() | 5390 | png_set_expand() |
| 5397 | ; return 0; } | 5391 | ; return 0; } |
| 5398 | EOF | 5392 | EOF |
| 5399 | if { (eval echo configure:5400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5393 | if { (eval echo configure:5394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5400 | rm -rf conftest* | 5394 | rm -rf conftest* |
| 5401 | eval "ac_cv_lib_$ac_lib_var=yes" | 5395 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 5402 | else | 5396 | else |
| @@ -5439,17 +5433,17 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 5439 | CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" | 5433 | CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" |
| 5440 | ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 5434 | ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
| 5441 | echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 5435 | echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
| 5442 | echo "configure:5443: checking for tiffio.h" >&5 | 5436 | echo "configure:5437: checking for tiffio.h" >&5 |
| 5443 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5437 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 5444 | echo $ac_n "(cached) $ac_c" 1>&6 | 5438 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 5445 | else | 5439 | else |
| 5446 | cat > conftest.$ac_ext <<EOF | 5440 | cat > conftest.$ac_ext <<EOF |
| 5447 | #line 5448 "configure" | 5441 | #line 5442 "configure" |
| 5448 | #include "confdefs.h" | 5442 | #include "confdefs.h" |
| 5449 | #include <tiffio.h> | 5443 | #include <tiffio.h> |
| 5450 | EOF | 5444 | EOF |
| 5451 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5445 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5452 | { (eval echo configure:5453: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5446 | { (eval echo configure:5447: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5453 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5447 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 5454 | if test -z "$ac_err"; then | 5448 | if test -z "$ac_err"; then |
| 5455 | rm -rf conftest* | 5449 | rm -rf conftest* |
| @@ -5469,7 +5463,7 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |||
| 5469 | # At least one tiff package requires the jpeg library. | 5463 | # At least one tiff package requires the jpeg library. |
| 5470 | if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi | 5464 | if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi |
| 5471 | echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6 | 5465 | echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6 |
| 5472 | echo "configure:5473: checking for TIFFGetVersion in -ltiff" >&5 | 5466 | echo "configure:5467: checking for TIFFGetVersion in -ltiff" >&5 |
| 5473 | ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'` | 5467 | ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'` |
| 5474 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5468 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 5475 | echo $ac_n "(cached) $ac_c" 1>&6 | 5469 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -5477,7 +5471,7 @@ else | |||
| 5477 | ac_save_LIBS="$LIBS" | 5471 | ac_save_LIBS="$LIBS" |
| 5478 | LIBS="-ltiff $tifflibs $LIBS" | 5472 | LIBS="-ltiff $tifflibs $LIBS" |
| 5479 | cat > conftest.$ac_ext <<EOF | 5473 | cat > conftest.$ac_ext <<EOF |
| 5480 | #line 5481 "configure" | 5474 | #line 5475 "configure" |
| 5481 | #include "confdefs.h" | 5475 | #include "confdefs.h" |
| 5482 | /* Override any gcc2 internal prototype to avoid an error. */ | 5476 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 5483 | /* We use char because int might match the return type of a gcc2 | 5477 | /* We use char because int might match the return type of a gcc2 |
| @@ -5488,7 +5482,7 @@ int main() { | |||
| 5488 | TIFFGetVersion() | 5482 | TIFFGetVersion() |
| 5489 | ; return 0; } | 5483 | ; return 0; } |
| 5490 | EOF | 5484 | EOF |
| 5491 | if { (eval echo configure:5492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5485 | if { (eval echo configure:5486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5492 | rm -rf conftest* | 5486 | rm -rf conftest* |
| 5493 | eval "ac_cv_lib_$ac_lib_var=yes" | 5487 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 5494 | else | 5488 | else |
| @@ -5531,17 +5525,17 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 5531 | CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" | 5525 | CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" |
| 5532 | ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` | 5526 | ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` |
| 5533 | echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 | 5527 | echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 |
| 5534 | echo "configure:5535: checking for gif_lib.h" >&5 | 5528 | echo "configure:5529: checking for gif_lib.h" >&5 |
| 5535 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5529 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 5536 | echo $ac_n "(cached) $ac_c" 1>&6 | 5530 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 5537 | else | 5531 | else |
| 5538 | cat > conftest.$ac_ext <<EOF | 5532 | cat > conftest.$ac_ext <<EOF |
| 5539 | #line 5540 "configure" | 5533 | #line 5534 "configure" |
| 5540 | #include "confdefs.h" | 5534 | #include "confdefs.h" |
| 5541 | #include <gif_lib.h> | 5535 | #include <gif_lib.h> |
| 5542 | EOF | 5536 | EOF |
| 5543 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5537 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5544 | { (eval echo configure:5545: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5538 | { (eval echo configure:5539: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5545 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5539 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 5546 | if test -z "$ac_err"; then | 5540 | if test -z "$ac_err"; then |
| 5547 | rm -rf conftest* | 5541 | rm -rf conftest* |
| @@ -5558,7 +5552,7 @@ fi | |||
| 5558 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 5552 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 5559 | echo "$ac_t""yes" 1>&6 | 5553 | echo "$ac_t""yes" 1>&6 |
| 5560 | echo $ac_n "checking for DGifOpen in -lungif""... $ac_c" 1>&6 | 5554 | echo $ac_n "checking for DGifOpen in -lungif""... $ac_c" 1>&6 |
| 5561 | echo "configure:5562: checking for DGifOpen in -lungif" >&5 | 5555 | echo "configure:5556: checking for DGifOpen in -lungif" >&5 |
| 5562 | ac_lib_var=`echo ungif'_'DGifOpen | sed 'y%./+-%__p_%'` | 5556 | ac_lib_var=`echo ungif'_'DGifOpen | sed 'y%./+-%__p_%'` |
| 5563 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5557 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 5564 | echo $ac_n "(cached) $ac_c" 1>&6 | 5558 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -5566,7 +5560,7 @@ else | |||
| 5566 | ac_save_LIBS="$LIBS" | 5560 | ac_save_LIBS="$LIBS" |
| 5567 | LIBS="-lungif -lX11 $LIBS" | 5561 | LIBS="-lungif -lX11 $LIBS" |
| 5568 | cat > conftest.$ac_ext <<EOF | 5562 | cat > conftest.$ac_ext <<EOF |
| 5569 | #line 5570 "configure" | 5563 | #line 5564 "configure" |
| 5570 | #include "confdefs.h" | 5564 | #include "confdefs.h" |
| 5571 | /* Override any gcc2 internal prototype to avoid an error. */ | 5565 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 5572 | /* We use char because int might match the return type of a gcc2 | 5566 | /* We use char because int might match the return type of a gcc2 |
| @@ -5577,7 +5571,7 @@ int main() { | |||
| 5577 | DGifOpen() | 5571 | DGifOpen() |
| 5578 | ; return 0; } | 5572 | ; return 0; } |
| 5579 | EOF | 5573 | EOF |
| 5580 | if { (eval echo configure:5581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5574 | if { (eval echo configure:5575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5581 | rm -rf conftest* | 5575 | rm -rf conftest* |
| 5582 | eval "ac_cv_lib_$ac_lib_var=yes" | 5576 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 5583 | else | 5577 | else |
| @@ -5614,19 +5608,19 @@ fi | |||
| 5614 | 5608 | ||
| 5615 | # If netdb.h doesn't declare h_errno, we must declare it by hand. | 5609 | # If netdb.h doesn't declare h_errno, we must declare it by hand. |
| 5616 | echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 5610 | echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
| 5617 | echo "configure:5618: checking whether netdb declares h_errno" >&5 | 5611 | echo "configure:5612: checking whether netdb declares h_errno" >&5 |
| 5618 | if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then | 5612 | if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then |
| 5619 | echo $ac_n "(cached) $ac_c" 1>&6 | 5613 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 5620 | else | 5614 | else |
| 5621 | cat > conftest.$ac_ext <<EOF | 5615 | cat > conftest.$ac_ext <<EOF |
| 5622 | #line 5623 "configure" | 5616 | #line 5617 "configure" |
| 5623 | #include "confdefs.h" | 5617 | #include "confdefs.h" |
| 5624 | #include <netdb.h> | 5618 | #include <netdb.h> |
| 5625 | int main() { | 5619 | int main() { |
| 5626 | return h_errno; | 5620 | return h_errno; |
| 5627 | ; return 0; } | 5621 | ; return 0; } |
| 5628 | EOF | 5622 | EOF |
| 5629 | if { (eval echo configure:5630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5623 | if { (eval echo configure:5624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5630 | rm -rf conftest* | 5624 | rm -rf conftest* |
| 5631 | emacs_cv_netdb_declares_h_errno=yes | 5625 | emacs_cv_netdb_declares_h_errno=yes |
| 5632 | else | 5626 | else |
| @@ -5649,19 +5643,19 @@ fi | |||
| 5649 | # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 5643 | # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
| 5650 | # for constant arguments. Useless! | 5644 | # for constant arguments. Useless! |
| 5651 | echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 5645 | echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
| 5652 | echo "configure:5653: checking for working alloca.h" >&5 | 5646 | echo "configure:5647: checking for working alloca.h" >&5 |
| 5653 | if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then | 5647 | if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then |
| 5654 | echo $ac_n "(cached) $ac_c" 1>&6 | 5648 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 5655 | else | 5649 | else |
| 5656 | cat > conftest.$ac_ext <<EOF | 5650 | cat > conftest.$ac_ext <<EOF |
| 5657 | #line 5658 "configure" | 5651 | #line 5652 "configure" |
| 5658 | #include "confdefs.h" | 5652 | #include "confdefs.h" |
| 5659 | #include <alloca.h> | 5653 | #include <alloca.h> |
| 5660 | int main() { | 5654 | int main() { |
| 5661 | char *p = alloca(2 * sizeof(int)); | 5655 | void *p = alloca(2 * sizeof(int)); |
| 5662 | ; return 0; } | 5656 | ; return 0; } |
| 5663 | EOF | 5657 | EOF |
| 5664 | if { (eval echo configure:5665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5658 | if { (eval echo configure:5659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5665 | rm -rf conftest* | 5659 | rm -rf conftest* |
| 5666 | ac_cv_header_alloca_h=yes | 5660 | ac_cv_header_alloca_h=yes |
| 5667 | else | 5661 | else |
| @@ -5682,12 +5676,12 @@ EOF | |||
| 5682 | fi | 5676 | fi |
| 5683 | 5677 | ||
| 5684 | echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 5678 | echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
| 5685 | echo "configure:5686: checking for alloca" >&5 | 5679 | echo "configure:5680: checking for alloca" >&5 |
| 5686 | if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then | 5680 | if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then |
| 5687 | echo $ac_n "(cached) $ac_c" 1>&6 | 5681 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 5688 | else | 5682 | else |
| 5689 | cat > conftest.$ac_ext <<EOF | 5683 | cat > conftest.$ac_ext <<EOF |
| 5690 | #line 5691 "configure" | 5684 | #line 5685 "configure" |
| 5691 | #include "confdefs.h" | 5685 | #include "confdefs.h" |
| 5692 | 5686 | ||
| 5693 | #ifdef __GNUC__ | 5687 | #ifdef __GNUC__ |
| @@ -5715,7 +5709,7 @@ int main() { | |||
| 5715 | char *p = (char *) alloca(1); | 5709 | char *p = (char *) alloca(1); |
| 5716 | ; return 0; } | 5710 | ; return 0; } |
| 5717 | EOF | 5711 | EOF |
| 5718 | if { (eval echo configure:5719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5712 | if { (eval echo configure:5713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5719 | rm -rf conftest* | 5713 | rm -rf conftest* |
| 5720 | ac_cv_func_alloca_works=yes | 5714 | ac_cv_func_alloca_works=yes |
| 5721 | else | 5715 | else |
| @@ -5747,12 +5741,12 @@ EOF | |||
| 5747 | 5741 | ||
| 5748 | 5742 | ||
| 5749 | echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 5743 | echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
| 5750 | echo "configure:5751: checking whether alloca needs Cray hooks" >&5 | 5744 | echo "configure:5745: checking whether alloca needs Cray hooks" >&5 |
| 5751 | if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then | 5745 | if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then |
| 5752 | echo $ac_n "(cached) $ac_c" 1>&6 | 5746 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 5753 | else | 5747 | else |
| 5754 | cat > conftest.$ac_ext <<EOF | 5748 | cat > conftest.$ac_ext <<EOF |
| 5755 | #line 5756 "configure" | 5749 | #line 5750 "configure" |
| 5756 | #include "confdefs.h" | 5750 | #include "confdefs.h" |
| 5757 | #if defined(CRAY) && ! defined(CRAY2) | 5751 | #if defined(CRAY) && ! defined(CRAY2) |
| 5758 | webecray | 5752 | webecray |
| @@ -5777,12 +5771,12 @@ echo "$ac_t""$ac_cv_os_cray" 1>&6 | |||
| 5777 | if test $ac_cv_os_cray = yes; then | 5771 | if test $ac_cv_os_cray = yes; then |
| 5778 | for ac_func in _getb67 GETB67 getb67; do | 5772 | for ac_func in _getb67 GETB67 getb67; do |
| 5779 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5773 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 5780 | echo "configure:5781: checking for $ac_func" >&5 | 5774 | echo "configure:5775: checking for $ac_func" >&5 |
| 5781 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 5775 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
| 5782 | echo $ac_n "(cached) $ac_c" 1>&6 | 5776 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 5783 | else | 5777 | else |
| 5784 | cat > conftest.$ac_ext <<EOF | 5778 | cat > conftest.$ac_ext <<EOF |
| 5785 | #line 5786 "configure" | 5779 | #line 5780 "configure" |
| 5786 | #include "confdefs.h" | 5780 | #include "confdefs.h" |
| 5787 | /* System header to define __stub macros and hopefully few prototypes, | 5781 | /* System header to define __stub macros and hopefully few prototypes, |
| 5788 | which can conflict with char $ac_func(); below. */ | 5782 | which can conflict with char $ac_func(); below. */ |
| @@ -5805,7 +5799,7 @@ $ac_func(); | |||
| 5805 | 5799 | ||
| 5806 | ; return 0; } | 5800 | ; return 0; } |
| 5807 | EOF | 5801 | EOF |
| 5808 | if { (eval echo configure:5809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5802 | if { (eval echo configure:5803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5809 | rm -rf conftest* | 5803 | rm -rf conftest* |
| 5810 | eval "ac_cv_func_$ac_func=yes" | 5804 | eval "ac_cv_func_$ac_func=yes" |
| 5811 | else | 5805 | else |
| @@ -5832,7 +5826,7 @@ done | |||
| 5832 | fi | 5826 | fi |
| 5833 | 5827 | ||
| 5834 | echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 5828 | echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
| 5835 | echo "configure:5836: checking stack direction for C alloca" >&5 | 5829 | echo "configure:5830: checking stack direction for C alloca" >&5 |
| 5836 | if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then | 5830 | if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then |
| 5837 | echo $ac_n "(cached) $ac_c" 1>&6 | 5831 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 5838 | else | 5832 | else |
| @@ -5840,7 +5834,7 @@ else | |||
| 5840 | ac_cv_c_stack_direction=0 | 5834 | ac_cv_c_stack_direction=0 |
| 5841 | else | 5835 | else |
| 5842 | cat > conftest.$ac_ext <<EOF | 5836 | cat > conftest.$ac_ext <<EOF |
| 5843 | #line 5844 "configure" | 5837 | #line 5838 "configure" |
| 5844 | #include "confdefs.h" | 5838 | #include "confdefs.h" |
| 5845 | find_stack_direction () | 5839 | find_stack_direction () |
| 5846 | { | 5840 | { |
| @@ -5859,7 +5853,7 @@ main () | |||
| 5859 | exit (find_stack_direction() < 0); | 5853 | exit (find_stack_direction() < 0); |
| 5860 | } | 5854 | } |
| 5861 | EOF | 5855 | EOF |
| 5862 | if { (eval echo configure:5863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 5856 | if { (eval echo configure:5857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
| 5863 | then | 5857 | then |
| 5864 | ac_cv_c_stack_direction=1 | 5858 | ac_cv_c_stack_direction=1 |
| 5865 | else | 5859 | else |
| @@ -5884,7 +5878,7 @@ fi | |||
| 5884 | # fmod, logb, and frexp are found in -lm on most systems. | 5878 | # fmod, logb, and frexp are found in -lm on most systems. |
| 5885 | # On HPUX 9.01, -lm does not contain logb, so check for sqrt. | 5879 | # On HPUX 9.01, -lm does not contain logb, so check for sqrt. |
| 5886 | echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 | 5880 | echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 |
| 5887 | echo "configure:5888: checking for sqrt in -lm" >&5 | 5881 | echo "configure:5882: checking for sqrt in -lm" >&5 |
| 5888 | ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` | 5882 | ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` |
| 5889 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5883 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 5890 | echo $ac_n "(cached) $ac_c" 1>&6 | 5884 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -5892,7 +5886,7 @@ else | |||
| 5892 | ac_save_LIBS="$LIBS" | 5886 | ac_save_LIBS="$LIBS" |
| 5893 | LIBS="-lm $LIBS" | 5887 | LIBS="-lm $LIBS" |
| 5894 | cat > conftest.$ac_ext <<EOF | 5888 | cat > conftest.$ac_ext <<EOF |
| 5895 | #line 5896 "configure" | 5889 | #line 5890 "configure" |
| 5896 | #include "confdefs.h" | 5890 | #include "confdefs.h" |
| 5897 | /* Override any gcc2 internal prototype to avoid an error. */ | 5891 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 5898 | /* We use char because int might match the return type of a gcc2 | 5892 | /* We use char because int might match the return type of a gcc2 |
| @@ -5903,7 +5897,7 @@ int main() { | |||
| 5903 | sqrt() | 5897 | sqrt() |
| 5904 | ; return 0; } | 5898 | ; return 0; } |
| 5905 | EOF | 5899 | EOF |
| 5906 | if { (eval echo configure:5907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5900 | if { (eval echo configure:5901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5907 | rm -rf conftest* | 5901 | rm -rf conftest* |
| 5908 | eval "ac_cv_lib_$ac_lib_var=yes" | 5902 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 5909 | else | 5903 | else |
| @@ -5933,7 +5927,7 @@ fi | |||
| 5933 | 5927 | ||
| 5934 | # Check for mail-locking functions in a "mail" library | 5928 | # Check for mail-locking functions in a "mail" library |
| 5935 | echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6 | 5929 | echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6 |
| 5936 | echo "configure:5937: checking for maillock in -lmail" >&5 | 5930 | echo "configure:5931: checking for maillock in -lmail" >&5 |
| 5937 | ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'` | 5931 | ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'` |
| 5938 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5932 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 5939 | echo $ac_n "(cached) $ac_c" 1>&6 | 5933 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -5941,7 +5935,7 @@ else | |||
| 5941 | ac_save_LIBS="$LIBS" | 5935 | ac_save_LIBS="$LIBS" |
| 5942 | LIBS="-lmail $LIBS" | 5936 | LIBS="-lmail $LIBS" |
| 5943 | cat > conftest.$ac_ext <<EOF | 5937 | cat > conftest.$ac_ext <<EOF |
| 5944 | #line 5945 "configure" | 5938 | #line 5939 "configure" |
| 5945 | #include "confdefs.h" | 5939 | #include "confdefs.h" |
| 5946 | /* Override any gcc2 internal prototype to avoid an error. */ | 5940 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 5947 | /* We use char because int might match the return type of a gcc2 | 5941 | /* We use char because int might match the return type of a gcc2 |
| @@ -5952,7 +5946,7 @@ int main() { | |||
| 5952 | maillock() | 5946 | maillock() |
| 5953 | ; return 0; } | 5947 | ; return 0; } |
| 5954 | EOF | 5948 | EOF |
| 5955 | if { (eval echo configure:5956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5949 | if { (eval echo configure:5950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5956 | rm -rf conftest* | 5950 | rm -rf conftest* |
| 5957 | eval "ac_cv_lib_$ac_lib_var=yes" | 5951 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 5958 | else | 5952 | else |
| @@ -5980,7 +5974,7 @@ else | |||
| 5980 | fi | 5974 | fi |
| 5981 | 5975 | ||
| 5982 | echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6 | 5976 | echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6 |
| 5983 | echo "configure:5984: checking for maillock in -llockfile" >&5 | 5977 | echo "configure:5978: checking for maillock in -llockfile" >&5 |
| 5984 | ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'` | 5978 | ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'` |
| 5985 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5979 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 5986 | echo $ac_n "(cached) $ac_c" 1>&6 | 5980 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -5988,7 +5982,7 @@ else | |||
| 5988 | ac_save_LIBS="$LIBS" | 5982 | ac_save_LIBS="$LIBS" |
| 5989 | LIBS="-llockfile $LIBS" | 5983 | LIBS="-llockfile $LIBS" |
| 5990 | cat > conftest.$ac_ext <<EOF | 5984 | cat > conftest.$ac_ext <<EOF |
| 5991 | #line 5992 "configure" | 5985 | #line 5986 "configure" |
| 5992 | #include "confdefs.h" | 5986 | #include "confdefs.h" |
| 5993 | /* Override any gcc2 internal prototype to avoid an error. */ | 5987 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 5994 | /* We use char because int might match the return type of a gcc2 | 5988 | /* We use char because int might match the return type of a gcc2 |
| @@ -5999,7 +5993,7 @@ int main() { | |||
| 5999 | maillock() | 5993 | maillock() |
| 6000 | ; return 0; } | 5994 | ; return 0; } |
| 6001 | EOF | 5995 | EOF |
| 6002 | if { (eval echo configure:6003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5996 | if { (eval echo configure:5997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6003 | rm -rf conftest* | 5997 | rm -rf conftest* |
| 6004 | eval "ac_cv_lib_$ac_lib_var=yes" | 5998 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 6005 | else | 5999 | else |
| @@ -6033,7 +6027,7 @@ if test "$ac_cv_lib_lockfile_maillock" = no; then | |||
| 6033 | # Extract the first word of "liblockfile.so", so it can be a program name with args. | 6027 | # Extract the first word of "liblockfile.so", so it can be a program name with args. |
| 6034 | set dummy liblockfile.so; ac_word=$2 | 6028 | set dummy liblockfile.so; ac_word=$2 |
| 6035 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 6029 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 6036 | echo "configure:6037: checking for $ac_word" >&5 | 6030 | echo "configure:6031: checking for $ac_word" >&5 |
| 6037 | if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then | 6031 | if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then |
| 6038 | echo $ac_n "(cached) $ac_c" 1>&6 | 6032 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 6039 | else | 6033 | else |
| @@ -6074,12 +6068,12 @@ fi | |||
| 6074 | for ac_func in touchlock | 6068 | for ac_func in touchlock |
| 6075 | do | 6069 | do |
| 6076 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6070 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 6077 | echo "configure:6078: checking for $ac_func" >&5 | 6071 | echo "configure:6072: checking for $ac_func" >&5 |
| 6078 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 6072 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
| 6079 | echo $ac_n "(cached) $ac_c" 1>&6 | 6073 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 6080 | else | 6074 | else |
| 6081 | cat > conftest.$ac_ext <<EOF | 6075 | cat > conftest.$ac_ext <<EOF |
| 6082 | #line 6083 "configure" | 6076 | #line 6077 "configure" |
| 6083 | #include "confdefs.h" | 6077 | #include "confdefs.h" |
| 6084 | /* System header to define __stub macros and hopefully few prototypes, | 6078 | /* System header to define __stub macros and hopefully few prototypes, |
| 6085 | which can conflict with char $ac_func(); below. */ | 6079 | which can conflict with char $ac_func(); below. */ |
| @@ -6102,7 +6096,7 @@ $ac_func(); | |||
| 6102 | 6096 | ||
| 6103 | ; return 0; } | 6097 | ; return 0; } |
| 6104 | EOF | 6098 | EOF |
| 6105 | if { (eval echo configure:6106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6099 | if { (eval echo configure:6100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6106 | rm -rf conftest* | 6100 | rm -rf conftest* |
| 6107 | eval "ac_cv_func_$ac_func=yes" | 6101 | eval "ac_cv_func_$ac_func=yes" |
| 6108 | else | 6102 | else |
| @@ -6130,17 +6124,17 @@ for ac_hdr in maillock.h | |||
| 6130 | do | 6124 | do |
| 6131 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6125 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 6132 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6126 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 6133 | echo "configure:6134: checking for $ac_hdr" >&5 | 6127 | echo "configure:6128: checking for $ac_hdr" >&5 |
| 6134 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6128 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 6135 | echo $ac_n "(cached) $ac_c" 1>&6 | 6129 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 6136 | else | 6130 | else |
| 6137 | cat > conftest.$ac_ext <<EOF | 6131 | cat > conftest.$ac_ext <<EOF |
| 6138 | #line 6139 "configure" | 6132 | #line 6133 "configure" |
| 6139 | #include "confdefs.h" | 6133 | #include "confdefs.h" |
| 6140 | #include <$ac_hdr> | 6134 | #include <$ac_hdr> |
| 6141 | EOF | 6135 | EOF |
| 6142 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6136 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6143 | { (eval echo configure:6144: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6137 | { (eval echo configure:6138: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6144 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6138 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 6145 | if test -z "$ac_err"; then | 6139 | if test -z "$ac_err"; then |
| 6146 | rm -rf conftest* | 6140 | rm -rf conftest* |
| @@ -6175,12 +6169,12 @@ utimes setrlimit setpgid getcwd getwd shutdown strftime getaddrinfo \ | |||
| 6175 | __fpending mblen mbrlen strsignal setitimer ualarm index rindex | 6169 | __fpending mblen mbrlen strsignal setitimer ualarm index rindex |
| 6176 | do | 6170 | do |
| 6177 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6171 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 6178 | echo "configure:6179: checking for $ac_func" >&5 | 6172 | echo "configure:6173: checking for $ac_func" >&5 |
| 6179 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 6173 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
| 6180 | echo $ac_n "(cached) $ac_c" 1>&6 | 6174 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 6181 | else | 6175 | else |
| 6182 | cat > conftest.$ac_ext <<EOF | 6176 | cat > conftest.$ac_ext <<EOF |
| 6183 | #line 6184 "configure" | 6177 | #line 6178 "configure" |
| 6184 | #include "confdefs.h" | 6178 | #include "confdefs.h" |
| 6185 | /* System header to define __stub macros and hopefully few prototypes, | 6179 | /* System header to define __stub macros and hopefully few prototypes, |
| 6186 | which can conflict with char $ac_func(); below. */ | 6180 | which can conflict with char $ac_func(); below. */ |
| @@ -6203,7 +6197,7 @@ $ac_func(); | |||
| 6203 | 6197 | ||
| 6204 | ; return 0; } | 6198 | ; return 0; } |
| 6205 | EOF | 6199 | EOF |
| 6206 | if { (eval echo configure:6207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6200 | if { (eval echo configure:6201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6207 | rm -rf conftest* | 6201 | rm -rf conftest* |
| 6208 | eval "ac_cv_func_$ac_func=yes" | 6202 | eval "ac_cv_func_$ac_func=yes" |
| 6209 | else | 6203 | else |
| @@ -6232,17 +6226,17 @@ for ac_hdr in sys/time.h unistd.h | |||
| 6232 | do | 6226 | do |
| 6233 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6227 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 6234 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6228 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 6235 | echo "configure:6236: checking for $ac_hdr" >&5 | 6229 | echo "configure:6230: checking for $ac_hdr" >&5 |
| 6236 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6230 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 6237 | echo $ac_n "(cached) $ac_c" 1>&6 | 6231 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 6238 | else | 6232 | else |
| 6239 | cat > conftest.$ac_ext <<EOF | 6233 | cat > conftest.$ac_ext <<EOF |
| 6240 | #line 6241 "configure" | 6234 | #line 6235 "configure" |
| 6241 | #include "confdefs.h" | 6235 | #include "confdefs.h" |
| 6242 | #include <$ac_hdr> | 6236 | #include <$ac_hdr> |
| 6243 | EOF | 6237 | EOF |
| 6244 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6238 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6245 | { (eval echo configure:6246: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6239 | { (eval echo configure:6240: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6246 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6240 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 6247 | if test -z "$ac_err"; then | 6241 | if test -z "$ac_err"; then |
| 6248 | rm -rf conftest* | 6242 | rm -rf conftest* |
| @@ -6271,12 +6265,12 @@ done | |||
| 6271 | for ac_func in alarm | 6265 | for ac_func in alarm |
| 6272 | do | 6266 | do |
| 6273 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6267 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 6274 | echo "configure:6275: checking for $ac_func" >&5 | 6268 | echo "configure:6269: checking for $ac_func" >&5 |
| 6275 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 6269 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
| 6276 | echo $ac_n "(cached) $ac_c" 1>&6 | 6270 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 6277 | else | 6271 | else |
| 6278 | cat > conftest.$ac_ext <<EOF | 6272 | cat > conftest.$ac_ext <<EOF |
| 6279 | #line 6280 "configure" | 6273 | #line 6274 "configure" |
| 6280 | #include "confdefs.h" | 6274 | #include "confdefs.h" |
| 6281 | /* System header to define __stub macros and hopefully few prototypes, | 6275 | /* System header to define __stub macros and hopefully few prototypes, |
| 6282 | which can conflict with char $ac_func(); below. */ | 6276 | which can conflict with char $ac_func(); below. */ |
| @@ -6299,7 +6293,7 @@ $ac_func(); | |||
| 6299 | 6293 | ||
| 6300 | ; return 0; } | 6294 | ; return 0; } |
| 6301 | EOF | 6295 | EOF |
| 6302 | if { (eval echo configure:6303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6296 | if { (eval echo configure:6297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6303 | rm -rf conftest* | 6297 | rm -rf conftest* |
| 6304 | eval "ac_cv_func_$ac_func=yes" | 6298 | eval "ac_cv_func_$ac_func=yes" |
| 6305 | else | 6299 | else |
| @@ -6324,7 +6318,7 @@ fi | |||
| 6324 | done | 6318 | done |
| 6325 | 6319 | ||
| 6326 | echo $ac_n "checking for working mktime""... $ac_c" 1>&6 | 6320 | echo $ac_n "checking for working mktime""... $ac_c" 1>&6 |
| 6327 | echo "configure:6328: checking for working mktime" >&5 | 6321 | echo "configure:6322: checking for working mktime" >&5 |
| 6328 | if eval "test \"`echo '$''{'ac_cv_func_working_mktime'+set}'`\" = set"; then | 6322 | if eval "test \"`echo '$''{'ac_cv_func_working_mktime'+set}'`\" = set"; then |
| 6329 | echo $ac_n "(cached) $ac_c" 1>&6 | 6323 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 6330 | else | 6324 | else |
| @@ -6332,7 +6326,7 @@ else | |||
| 6332 | ac_cv_func_working_mktime=no | 6326 | ac_cv_func_working_mktime=no |
| 6333 | else | 6327 | else |
| 6334 | cat > conftest.$ac_ext <<EOF | 6328 | cat > conftest.$ac_ext <<EOF |
| 6335 | #line 6336 "configure" | 6329 | #line 6330 "configure" |
| 6336 | #include "confdefs.h" | 6330 | #include "confdefs.h" |
| 6337 | /* Test program from Paul Eggert (eggert@twinsun.com) | 6331 | /* Test program from Paul Eggert (eggert@twinsun.com) |
| 6338 | and Tony Leneis (tony@plaza.ds.adp.com). */ | 6332 | and Tony Leneis (tony@plaza.ds.adp.com). */ |
| @@ -6481,7 +6475,7 @@ main () | |||
| 6481 | exit (0); | 6475 | exit (0); |
| 6482 | } | 6476 | } |
| 6483 | EOF | 6477 | EOF |
| 6484 | if { (eval echo configure:6485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 6478 | if { (eval echo configure:6479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
| 6485 | then | 6479 | then |
| 6486 | ac_cv_func_working_mktime=yes | 6480 | ac_cv_func_working_mktime=yes |
| 6487 | else | 6481 | else |
| @@ -6513,7 +6507,7 @@ ac_have_func=no # yes means we've found a way to get the load average. | |||
| 6513 | # On Solaris, -lkvm requires nlist from -lelf, so check that first | 6507 | # On Solaris, -lkvm requires nlist from -lelf, so check that first |
| 6514 | # to get the right answer into the cache. | 6508 | # to get the right answer into the cache. |
| 6515 | echo $ac_n "checking for elf_begin in -lelf""... $ac_c" 1>&6 | 6509 | echo $ac_n "checking for elf_begin in -lelf""... $ac_c" 1>&6 |
| 6516 | echo "configure:6517: checking for elf_begin in -lelf" >&5 | 6510 | echo "configure:6511: checking for elf_begin in -lelf" >&5 |
| 6517 | ac_lib_var=`echo elf'_'elf_begin | sed 'y%./+-%__p_%'` | 6511 | ac_lib_var=`echo elf'_'elf_begin | sed 'y%./+-%__p_%'` |
| 6518 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6512 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 6519 | echo $ac_n "(cached) $ac_c" 1>&6 | 6513 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -6521,7 +6515,7 @@ else | |||
| 6521 | ac_save_LIBS="$LIBS" | 6515 | ac_save_LIBS="$LIBS" |
| 6522 | LIBS="-lelf $LIBS" | 6516 | LIBS="-lelf $LIBS" |
| 6523 | cat > conftest.$ac_ext <<EOF | 6517 | cat > conftest.$ac_ext <<EOF |
| 6524 | #line 6525 "configure" | 6518 | #line 6519 "configure" |
| 6525 | #include "confdefs.h" | 6519 | #include "confdefs.h" |
| 6526 | /* Override any gcc2 internal prototype to avoid an error. */ | 6520 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 6527 | /* We use char because int might match the return type of a gcc2 | 6521 | /* We use char because int might match the return type of a gcc2 |
| @@ -6532,7 +6526,7 @@ int main() { | |||
| 6532 | elf_begin() | 6526 | elf_begin() |
| 6533 | ; return 0; } | 6527 | ; return 0; } |
| 6534 | EOF | 6528 | EOF |
| 6535 | if { (eval echo configure:6536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6529 | if { (eval echo configure:6530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6536 | rm -rf conftest* | 6530 | rm -rf conftest* |
| 6537 | eval "ac_cv_lib_$ac_lib_var=yes" | 6531 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 6538 | else | 6532 | else |
| @@ -6553,7 +6547,7 @@ else | |||
| 6553 | fi | 6547 | fi |
| 6554 | 6548 | ||
| 6555 | echo $ac_n "checking for kvm_open in -lkvm""... $ac_c" 1>&6 | 6549 | echo $ac_n "checking for kvm_open in -lkvm""... $ac_c" 1>&6 |
| 6556 | echo "configure:6557: checking for kvm_open in -lkvm" >&5 | 6550 | echo "configure:6551: checking for kvm_open in -lkvm" >&5 |
| 6557 | ac_lib_var=`echo kvm'_'kvm_open | sed 'y%./+-%__p_%'` | 6551 | ac_lib_var=`echo kvm'_'kvm_open | sed 'y%./+-%__p_%'` |
| 6558 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6552 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 6559 | echo $ac_n "(cached) $ac_c" 1>&6 | 6553 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -6561,7 +6555,7 @@ else | |||
| 6561 | ac_save_LIBS="$LIBS" | 6555 | ac_save_LIBS="$LIBS" |
| 6562 | LIBS="-lkvm $LIBS" | 6556 | LIBS="-lkvm $LIBS" |
| 6563 | cat > conftest.$ac_ext <<EOF | 6557 | cat > conftest.$ac_ext <<EOF |
| 6564 | #line 6565 "configure" | 6558 | #line 6559 "configure" |
| 6565 | #include "confdefs.h" | 6559 | #include "confdefs.h" |
| 6566 | /* Override any gcc2 internal prototype to avoid an error. */ | 6560 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 6567 | /* We use char because int might match the return type of a gcc2 | 6561 | /* We use char because int might match the return type of a gcc2 |
| @@ -6572,7 +6566,7 @@ int main() { | |||
| 6572 | kvm_open() | 6566 | kvm_open() |
| 6573 | ; return 0; } | 6567 | ; return 0; } |
| 6574 | EOF | 6568 | EOF |
| 6575 | if { (eval echo configure:6576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6569 | if { (eval echo configure:6570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6576 | rm -rf conftest* | 6570 | rm -rf conftest* |
| 6577 | eval "ac_cv_lib_$ac_lib_var=yes" | 6571 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 6578 | else | 6572 | else |
| @@ -6594,7 +6588,7 @@ fi | |||
| 6594 | 6588 | ||
| 6595 | # Check for the 4.4BSD definition of getloadavg. | 6589 | # Check for the 4.4BSD definition of getloadavg. |
| 6596 | echo $ac_n "checking for getloadavg in -lutil""... $ac_c" 1>&6 | 6590 | echo $ac_n "checking for getloadavg in -lutil""... $ac_c" 1>&6 |
| 6597 | echo "configure:6598: checking for getloadavg in -lutil" >&5 | 6591 | echo "configure:6592: checking for getloadavg in -lutil" >&5 |
| 6598 | ac_lib_var=`echo util'_'getloadavg | sed 'y%./+-%__p_%'` | 6592 | ac_lib_var=`echo util'_'getloadavg | sed 'y%./+-%__p_%'` |
| 6599 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6593 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 6600 | echo $ac_n "(cached) $ac_c" 1>&6 | 6594 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -6602,7 +6596,7 @@ else | |||
| 6602 | ac_save_LIBS="$LIBS" | 6596 | ac_save_LIBS="$LIBS" |
| 6603 | LIBS="-lutil $LIBS" | 6597 | LIBS="-lutil $LIBS" |
| 6604 | cat > conftest.$ac_ext <<EOF | 6598 | cat > conftest.$ac_ext <<EOF |
| 6605 | #line 6606 "configure" | 6599 | #line 6600 "configure" |
| 6606 | #include "confdefs.h" | 6600 | #include "confdefs.h" |
| 6607 | /* Override any gcc2 internal prototype to avoid an error. */ | 6601 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 6608 | /* We use char because int might match the return type of a gcc2 | 6602 | /* We use char because int might match the return type of a gcc2 |
| @@ -6613,7 +6607,7 @@ int main() { | |||
| 6613 | getloadavg() | 6607 | getloadavg() |
| 6614 | ; return 0; } | 6608 | ; return 0; } |
| 6615 | EOF | 6609 | EOF |
| 6616 | if { (eval echo configure:6617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6610 | if { (eval echo configure:6611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6617 | rm -rf conftest* | 6611 | rm -rf conftest* |
| 6618 | eval "ac_cv_lib_$ac_lib_var=yes" | 6612 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 6619 | else | 6613 | else |
| @@ -6639,7 +6633,7 @@ if test $ac_have_func = no; then | |||
| 6639 | # Since it is not a standard part of AIX, it might be installed locally. | 6633 | # Since it is not a standard part of AIX, it might be installed locally. |
| 6640 | ac_getloadavg_LIBS="$LIBS"; LIBS="-L/usr/local/lib $LIBS" | 6634 | ac_getloadavg_LIBS="$LIBS"; LIBS="-L/usr/local/lib $LIBS" |
| 6641 | echo $ac_n "checking for getloadavg in -lgetloadavg""... $ac_c" 1>&6 | 6635 | echo $ac_n "checking for getloadavg in -lgetloadavg""... $ac_c" 1>&6 |
| 6642 | echo "configure:6643: checking for getloadavg in -lgetloadavg" >&5 | 6636 | echo "configure:6637: checking for getloadavg in -lgetloadavg" >&5 |
| 6643 | ac_lib_var=`echo getloadavg'_'getloadavg | sed 'y%./+-%__p_%'` | 6637 | ac_lib_var=`echo getloadavg'_'getloadavg | sed 'y%./+-%__p_%'` |
| 6644 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6638 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 6645 | echo $ac_n "(cached) $ac_c" 1>&6 | 6639 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -6647,7 +6641,7 @@ else | |||
| 6647 | ac_save_LIBS="$LIBS" | 6641 | ac_save_LIBS="$LIBS" |
| 6648 | LIBS="-lgetloadavg $LIBS" | 6642 | LIBS="-lgetloadavg $LIBS" |
| 6649 | cat > conftest.$ac_ext <<EOF | 6643 | cat > conftest.$ac_ext <<EOF |
| 6650 | #line 6651 "configure" | 6644 | #line 6645 "configure" |
| 6651 | #include "confdefs.h" | 6645 | #include "confdefs.h" |
| 6652 | /* Override any gcc2 internal prototype to avoid an error. */ | 6646 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 6653 | /* We use char because int might match the return type of a gcc2 | 6647 | /* We use char because int might match the return type of a gcc2 |
| @@ -6658,7 +6652,7 @@ int main() { | |||
| 6658 | getloadavg() | 6652 | getloadavg() |
| 6659 | ; return 0; } | 6653 | ; return 0; } |
| 6660 | EOF | 6654 | EOF |
| 6661 | if { (eval echo configure:6662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6655 | if { (eval echo configure:6656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6662 | rm -rf conftest* | 6656 | rm -rf conftest* |
| 6663 | eval "ac_cv_lib_$ac_lib_var=yes" | 6657 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 6664 | else | 6658 | else |
| @@ -6685,12 +6679,12 @@ fi | |||
| 6685 | for ac_func in getloadavg | 6679 | for ac_func in getloadavg |
| 6686 | do | 6680 | do |
| 6687 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6681 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 6688 | echo "configure:6689: checking for $ac_func" >&5 | 6682 | echo "configure:6683: checking for $ac_func" >&5 |
| 6689 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 6683 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
| 6690 | echo $ac_n "(cached) $ac_c" 1>&6 | 6684 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 6691 | else | 6685 | else |
| 6692 | cat > conftest.$ac_ext <<EOF | 6686 | cat > conftest.$ac_ext <<EOF |
| 6693 | #line 6694 "configure" | 6687 | #line 6688 "configure" |
| 6694 | #include "confdefs.h" | 6688 | #include "confdefs.h" |
| 6695 | /* System header to define __stub macros and hopefully few prototypes, | 6689 | /* System header to define __stub macros and hopefully few prototypes, |
| 6696 | which can conflict with char $ac_func(); below. */ | 6690 | which can conflict with char $ac_func(); below. */ |
| @@ -6713,7 +6707,7 @@ $ac_func(); | |||
| 6713 | 6707 | ||
| 6714 | ; return 0; } | 6708 | ; return 0; } |
| 6715 | EOF | 6709 | EOF |
| 6716 | if { (eval echo configure:6717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6710 | if { (eval echo configure:6711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6717 | rm -rf conftest* | 6711 | rm -rf conftest* |
| 6718 | eval "ac_cv_func_$ac_func=yes" | 6712 | eval "ac_cv_func_$ac_func=yes" |
| 6719 | else | 6713 | else |
| @@ -6751,17 +6745,17 @@ else | |||
| 6751 | ac_have_func=no | 6745 | ac_have_func=no |
| 6752 | ac_safe=`echo "sys/dg_sys_info.h" | sed 'y%./+-%__p_%'` | 6746 | ac_safe=`echo "sys/dg_sys_info.h" | sed 'y%./+-%__p_%'` |
| 6753 | echo $ac_n "checking for sys/dg_sys_info.h""... $ac_c" 1>&6 | 6747 | echo $ac_n "checking for sys/dg_sys_info.h""... $ac_c" 1>&6 |
| 6754 | echo "configure:6755: checking for sys/dg_sys_info.h" >&5 | 6748 | echo "configure:6749: checking for sys/dg_sys_info.h" >&5 |
| 6755 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6749 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 6756 | echo $ac_n "(cached) $ac_c" 1>&6 | 6750 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 6757 | else | 6751 | else |
| 6758 | cat > conftest.$ac_ext <<EOF | 6752 | cat > conftest.$ac_ext <<EOF |
| 6759 | #line 6760 "configure" | 6753 | #line 6754 "configure" |
| 6760 | #include "confdefs.h" | 6754 | #include "confdefs.h" |
| 6761 | #include <sys/dg_sys_info.h> | 6755 | #include <sys/dg_sys_info.h> |
| 6762 | EOF | 6756 | EOF |
| 6763 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6757 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6764 | { (eval echo configure:6765: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6758 | { (eval echo configure:6759: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6765 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6759 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 6766 | if test -z "$ac_err"; then | 6760 | if test -z "$ac_err"; then |
| 6767 | rm -rf conftest* | 6761 | rm -rf conftest* |
| @@ -6782,7 +6776,7 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |||
| 6782 | EOF | 6776 | EOF |
| 6783 | 6777 | ||
| 6784 | echo $ac_n "checking for dg_sys_info in -ldgc""... $ac_c" 1>&6 | 6778 | echo $ac_n "checking for dg_sys_info in -ldgc""... $ac_c" 1>&6 |
| 6785 | echo "configure:6786: checking for dg_sys_info in -ldgc" >&5 | 6779 | echo "configure:6780: checking for dg_sys_info in -ldgc" >&5 |
| 6786 | ac_lib_var=`echo dgc'_'dg_sys_info | sed 'y%./+-%__p_%'` | 6780 | ac_lib_var=`echo dgc'_'dg_sys_info | sed 'y%./+-%__p_%'` |
| 6787 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6781 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 6788 | echo $ac_n "(cached) $ac_c" 1>&6 | 6782 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -6790,7 +6784,7 @@ else | |||
| 6790 | ac_save_LIBS="$LIBS" | 6784 | ac_save_LIBS="$LIBS" |
| 6791 | LIBS="-ldgc $LIBS" | 6785 | LIBS="-ldgc $LIBS" |
| 6792 | cat > conftest.$ac_ext <<EOF | 6786 | cat > conftest.$ac_ext <<EOF |
| 6793 | #line 6794 "configure" | 6787 | #line 6788 "configure" |
| 6794 | #include "confdefs.h" | 6788 | #include "confdefs.h" |
| 6795 | /* Override any gcc2 internal prototype to avoid an error. */ | 6789 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 6796 | /* We use char because int might match the return type of a gcc2 | 6790 | /* We use char because int might match the return type of a gcc2 |
| @@ -6801,7 +6795,7 @@ int main() { | |||
| 6801 | dg_sys_info() | 6795 | dg_sys_info() |
| 6802 | ; return 0; } | 6796 | ; return 0; } |
| 6803 | EOF | 6797 | EOF |
| 6804 | if { (eval echo configure:6805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6798 | if { (eval echo configure:6799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6805 | rm -rf conftest* | 6799 | rm -rf conftest* |
| 6806 | eval "ac_cv_lib_$ac_lib_var=yes" | 6800 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 6807 | else | 6801 | else |
| @@ -6846,17 +6840,17 @@ EOF | |||
| 6846 | if test $ac_have_func = no; then | 6840 | if test $ac_have_func = no; then |
| 6847 | ac_safe=`echo "inq_stats/cpustats.h" | sed 'y%./+-%__p_%'` | 6841 | ac_safe=`echo "inq_stats/cpustats.h" | sed 'y%./+-%__p_%'` |
| 6848 | echo $ac_n "checking for inq_stats/cpustats.h""... $ac_c" 1>&6 | 6842 | echo $ac_n "checking for inq_stats/cpustats.h""... $ac_c" 1>&6 |
| 6849 | echo "configure:6850: checking for inq_stats/cpustats.h" >&5 | 6843 | echo "configure:6844: checking for inq_stats/cpustats.h" >&5 |
| 6850 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6844 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 6851 | echo $ac_n "(cached) $ac_c" 1>&6 | 6845 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 6852 | else | 6846 | else |
| 6853 | cat > conftest.$ac_ext <<EOF | 6847 | cat > conftest.$ac_ext <<EOF |
| 6854 | #line 6855 "configure" | 6848 | #line 6849 "configure" |
| 6855 | #include "confdefs.h" | 6849 | #include "confdefs.h" |
| 6856 | #include <inq_stats/cpustats.h> | 6850 | #include <inq_stats/cpustats.h> |
| 6857 | EOF | 6851 | EOF |
| 6858 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6852 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6859 | { (eval echo configure:6860: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6853 | { (eval echo configure:6854: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6860 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6854 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 6861 | if test -z "$ac_err"; then | 6855 | if test -z "$ac_err"; then |
| 6862 | rm -rf conftest* | 6856 | rm -rf conftest* |
| @@ -6889,17 +6883,17 @@ fi | |||
| 6889 | if test $ac_have_func = no; then | 6883 | if test $ac_have_func = no; then |
| 6890 | ac_safe=`echo "sys/cpustats.h" | sed 'y%./+-%__p_%'` | 6884 | ac_safe=`echo "sys/cpustats.h" | sed 'y%./+-%__p_%'` |
| 6891 | echo $ac_n "checking for sys/cpustats.h""... $ac_c" 1>&6 | 6885 | echo $ac_n "checking for sys/cpustats.h""... $ac_c" 1>&6 |
| 6892 | echo "configure:6893: checking for sys/cpustats.h" >&5 | 6886 | echo "configure:6887: checking for sys/cpustats.h" >&5 |
| 6893 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6887 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 6894 | echo $ac_n "(cached) $ac_c" 1>&6 | 6888 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 6895 | else | 6889 | else |
| 6896 | cat > conftest.$ac_ext <<EOF | 6890 | cat > conftest.$ac_ext <<EOF |
| 6897 | #line 6898 "configure" | 6891 | #line 6892 "configure" |
| 6898 | #include "confdefs.h" | 6892 | #include "confdefs.h" |
| 6899 | #include <sys/cpustats.h> | 6893 | #include <sys/cpustats.h> |
| 6900 | EOF | 6894 | EOF |
| 6901 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6895 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6902 | { (eval echo configure:6903: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6896 | { (eval echo configure:6897: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6903 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6897 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 6904 | if test -z "$ac_err"; then | 6898 | if test -z "$ac_err"; then |
| 6905 | rm -rf conftest* | 6899 | rm -rf conftest* |
| @@ -6930,17 +6924,17 @@ fi | |||
| 6930 | do | 6924 | do |
| 6931 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6925 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 6932 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6926 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 6933 | echo "configure:6934: checking for $ac_hdr" >&5 | 6927 | echo "configure:6928: checking for $ac_hdr" >&5 |
| 6934 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6928 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 6935 | echo $ac_n "(cached) $ac_c" 1>&6 | 6929 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 6936 | else | 6930 | else |
| 6937 | cat > conftest.$ac_ext <<EOF | 6931 | cat > conftest.$ac_ext <<EOF |
| 6938 | #line 6939 "configure" | 6932 | #line 6933 "configure" |
| 6939 | #include "confdefs.h" | 6933 | #include "confdefs.h" |
| 6940 | #include <$ac_hdr> | 6934 | #include <$ac_hdr> |
| 6941 | EOF | 6935 | EOF |
| 6942 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6936 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6943 | { (eval echo configure:6944: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6937 | { (eval echo configure:6938: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6944 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6938 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 6945 | if test -z "$ac_err"; then | 6939 | if test -z "$ac_err"; then |
| 6946 | rm -rf conftest* | 6940 | rm -rf conftest* |
| @@ -6970,17 +6964,17 @@ done | |||
| 6970 | 6964 | ||
| 6971 | ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 6965 | ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
| 6972 | echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 6966 | echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
| 6973 | echo "configure:6974: checking for nlist.h" >&5 | 6967 | echo "configure:6968: checking for nlist.h" >&5 |
| 6974 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6968 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 6975 | echo $ac_n "(cached) $ac_c" 1>&6 | 6969 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 6976 | else | 6970 | else |
| 6977 | cat > conftest.$ac_ext <<EOF | 6971 | cat > conftest.$ac_ext <<EOF |
| 6978 | #line 6979 "configure" | 6972 | #line 6973 "configure" |
| 6979 | #include "confdefs.h" | 6973 | #include "confdefs.h" |
| 6980 | #include <nlist.h> | 6974 | #include <nlist.h> |
| 6981 | EOF | 6975 | EOF |
| 6982 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6976 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6983 | { (eval echo configure:6984: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6977 | { (eval echo configure:6978: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6984 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6978 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 6985 | if test -z "$ac_err"; then | 6979 | if test -z "$ac_err"; then |
| 6986 | rm -rf conftest* | 6980 | rm -rf conftest* |
| @@ -7001,19 +6995,19 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |||
| 7001 | EOF | 6995 | EOF |
| 7002 | 6996 | ||
| 7003 | echo $ac_n "checking for n_un in struct nlist""... $ac_c" 1>&6 | 6997 | echo $ac_n "checking for n_un in struct nlist""... $ac_c" 1>&6 |
| 7004 | echo "configure:7005: checking for n_un in struct nlist" >&5 | 6998 | echo "configure:6999: checking for n_un in struct nlist" >&5 |
| 7005 | if eval "test \"`echo '$''{'ac_cv_struct_nlist_n_un'+set}'`\" = set"; then | 6999 | if eval "test \"`echo '$''{'ac_cv_struct_nlist_n_un'+set}'`\" = set"; then |
| 7006 | echo $ac_n "(cached) $ac_c" 1>&6 | 7000 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 7007 | else | 7001 | else |
| 7008 | cat > conftest.$ac_ext <<EOF | 7002 | cat > conftest.$ac_ext <<EOF |
| 7009 | #line 7010 "configure" | 7003 | #line 7004 "configure" |
| 7010 | #include "confdefs.h" | 7004 | #include "confdefs.h" |
| 7011 | #include <nlist.h> | 7005 | #include <nlist.h> |
| 7012 | int main() { | 7006 | int main() { |
| 7013 | struct nlist n; n.n_un.n_name = 0; | 7007 | struct nlist n; n.n_un.n_name = 0; |
| 7014 | ; return 0; } | 7008 | ; return 0; } |
| 7015 | EOF | 7009 | EOF |
| 7016 | if { (eval echo configure:7017: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7010 | if { (eval echo configure:7011: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 7017 | rm -rf conftest* | 7011 | rm -rf conftest* |
| 7018 | ac_cv_struct_nlist_n_un=yes | 7012 | ac_cv_struct_nlist_n_un=yes |
| 7019 | else | 7013 | else |
| @@ -7040,12 +7034,12 @@ fi # Do not have getloadavg in system libraries. | |||
| 7040 | 7034 | ||
| 7041 | # Some definitions of getloadavg require that the program be installed setgid. | 7035 | # Some definitions of getloadavg require that the program be installed setgid. |
| 7042 | echo $ac_n "checking whether getloadavg requires setgid""... $ac_c" 1>&6 | 7036 | echo $ac_n "checking whether getloadavg requires setgid""... $ac_c" 1>&6 |
| 7043 | echo "configure:7044: checking whether getloadavg requires setgid" >&5 | 7037 | echo "configure:7038: checking whether getloadavg requires setgid" >&5 |
| 7044 | if eval "test \"`echo '$''{'ac_cv_func_getloadavg_setgid'+set}'`\" = set"; then | 7038 | if eval "test \"`echo '$''{'ac_cv_func_getloadavg_setgid'+set}'`\" = set"; then |
| 7045 | echo $ac_n "(cached) $ac_c" 1>&6 | 7039 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 7046 | else | 7040 | else |
| 7047 | cat > conftest.$ac_ext <<EOF | 7041 | cat > conftest.$ac_ext <<EOF |
| 7048 | #line 7049 "configure" | 7042 | #line 7043 "configure" |
| 7049 | #include "confdefs.h" | 7043 | #include "confdefs.h" |
| 7050 | #include "$srcdir/getloadavg.c" | 7044 | #include "$srcdir/getloadavg.c" |
| 7051 | #ifdef LDAV_PRIVILEGED | 7045 | #ifdef LDAV_PRIVILEGED |
| @@ -7076,7 +7070,7 @@ fi | |||
| 7076 | 7070 | ||
| 7077 | if test $ac_cv_func_getloadavg_setgid = yes; then | 7071 | if test $ac_cv_func_getloadavg_setgid = yes; then |
| 7078 | echo $ac_n "checking group of /dev/kmem""... $ac_c" 1>&6 | 7072 | echo $ac_n "checking group of /dev/kmem""... $ac_c" 1>&6 |
| 7079 | echo "configure:7080: checking group of /dev/kmem" >&5 | 7073 | echo "configure:7074: checking group of /dev/kmem" >&5 |
| 7080 | if eval "test \"`echo '$''{'ac_cv_group_kmem'+set}'`\" = set"; then | 7074 | if eval "test \"`echo '$''{'ac_cv_group_kmem'+set}'`\" = set"; then |
| 7081 | echo $ac_n "(cached) $ac_c" 1>&6 | 7075 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 7082 | else | 7076 | else |
| @@ -7099,12 +7093,12 @@ fi | |||
| 7099 | for ac_func in ftello | 7093 | for ac_func in ftello |
| 7100 | do | 7094 | do |
| 7101 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7095 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 7102 | echo "configure:7103: checking for $ac_func" >&5 | 7096 | echo "configure:7097: checking for $ac_func" >&5 |
| 7103 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 7097 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
| 7104 | echo $ac_n "(cached) $ac_c" 1>&6 | 7098 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 7105 | else | 7099 | else |
| 7106 | cat > conftest.$ac_ext <<EOF | 7100 | cat > conftest.$ac_ext <<EOF |
| 7107 | #line 7108 "configure" | 7101 | #line 7102 "configure" |
| 7108 | #include "confdefs.h" | 7102 | #include "confdefs.h" |
| 7109 | /* System header to define __stub macros and hopefully few prototypes, | 7103 | /* System header to define __stub macros and hopefully few prototypes, |
| 7110 | which can conflict with char $ac_func(); below. */ | 7104 | which can conflict with char $ac_func(); below. */ |
| @@ -7127,7 +7121,7 @@ $ac_func(); | |||
| 7127 | 7121 | ||
| 7128 | ; return 0; } | 7122 | ; return 0; } |
| 7129 | EOF | 7123 | EOF |
| 7130 | if { (eval echo configure:7131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7124 | if { (eval echo configure:7125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7131 | rm -rf conftest* | 7125 | rm -rf conftest* |
| 7132 | eval "ac_cv_func_$ac_func=yes" | 7126 | eval "ac_cv_func_$ac_func=yes" |
| 7133 | else | 7127 | else |
| @@ -7157,12 +7151,12 @@ done | |||
| 7157 | for ac_func in grantpt | 7151 | for ac_func in grantpt |
| 7158 | do | 7152 | do |
| 7159 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7153 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 7160 | echo "configure:7161: checking for $ac_func" >&5 | 7154 | echo "configure:7155: checking for $ac_func" >&5 |
| 7161 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 7155 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
| 7162 | echo $ac_n "(cached) $ac_c" 1>&6 | 7156 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 7163 | else | 7157 | else |
| 7164 | cat > conftest.$ac_ext <<EOF | 7158 | cat > conftest.$ac_ext <<EOF |
| 7165 | #line 7166 "configure" | 7159 | #line 7160 "configure" |
| 7166 | #include "confdefs.h" | 7160 | #include "confdefs.h" |
| 7167 | /* System header to define __stub macros and hopefully few prototypes, | 7161 | /* System header to define __stub macros and hopefully few prototypes, |
| 7168 | which can conflict with char $ac_func(); below. */ | 7162 | which can conflict with char $ac_func(); below. */ |
| @@ -7185,7 +7179,7 @@ $ac_func(); | |||
| 7185 | 7179 | ||
| 7186 | ; return 0; } | 7180 | ; return 0; } |
| 7187 | EOF | 7181 | EOF |
| 7188 | if { (eval echo configure:7189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7182 | if { (eval echo configure:7183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7189 | rm -rf conftest* | 7183 | rm -rf conftest* |
| 7190 | eval "ac_cv_func_$ac_func=yes" | 7184 | eval "ac_cv_func_$ac_func=yes" |
| 7191 | else | 7185 | else |
| @@ -7214,12 +7208,12 @@ done | |||
| 7214 | for ac_func in getpt | 7208 | for ac_func in getpt |
| 7215 | do | 7209 | do |
| 7216 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7210 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 7217 | echo "configure:7218: checking for $ac_func" >&5 | 7211 | echo "configure:7212: checking for $ac_func" >&5 |
| 7218 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 7212 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
| 7219 | echo $ac_n "(cached) $ac_c" 1>&6 | 7213 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 7220 | else | 7214 | else |
| 7221 | cat > conftest.$ac_ext <<EOF | 7215 | cat > conftest.$ac_ext <<EOF |
| 7222 | #line 7223 "configure" | 7216 | #line 7217 "configure" |
| 7223 | #include "confdefs.h" | 7217 | #include "confdefs.h" |
| 7224 | /* System header to define __stub macros and hopefully few prototypes, | 7218 | /* System header to define __stub macros and hopefully few prototypes, |
| 7225 | which can conflict with char $ac_func(); below. */ | 7219 | which can conflict with char $ac_func(); below. */ |
| @@ -7242,7 +7236,7 @@ $ac_func(); | |||
| 7242 | 7236 | ||
| 7243 | ; return 0; } | 7237 | ; return 0; } |
| 7244 | EOF | 7238 | EOF |
| 7245 | if { (eval echo configure:7246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7239 | if { (eval echo configure:7240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7246 | rm -rf conftest* | 7240 | rm -rf conftest* |
| 7247 | eval "ac_cv_func_$ac_func=yes" | 7241 | eval "ac_cv_func_$ac_func=yes" |
| 7248 | else | 7242 | else |
| @@ -7272,7 +7266,7 @@ done | |||
| 7272 | # It's better to believe a function is not available | 7266 | # It's better to believe a function is not available |
| 7273 | # than to expect to find it in ncurses. | 7267 | # than to expect to find it in ncurses. |
| 7274 | echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6 | 7268 | echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6 |
| 7275 | echo "configure:7276: checking for tparm in -lncurses" >&5 | 7269 | echo "configure:7270: checking for tparm in -lncurses" >&5 |
| 7276 | ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'` | 7270 | ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'` |
| 7277 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7271 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 7278 | echo $ac_n "(cached) $ac_c" 1>&6 | 7272 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -7280,7 +7274,7 @@ else | |||
| 7280 | ac_save_LIBS="$LIBS" | 7274 | ac_save_LIBS="$LIBS" |
| 7281 | LIBS="-lncurses $LIBS" | 7275 | LIBS="-lncurses $LIBS" |
| 7282 | cat > conftest.$ac_ext <<EOF | 7276 | cat > conftest.$ac_ext <<EOF |
| 7283 | #line 7284 "configure" | 7277 | #line 7278 "configure" |
| 7284 | #include "confdefs.h" | 7278 | #include "confdefs.h" |
| 7285 | /* Override any gcc2 internal prototype to avoid an error. */ | 7279 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 7286 | /* We use char because int might match the return type of a gcc2 | 7280 | /* We use char because int might match the return type of a gcc2 |
| @@ -7291,7 +7285,7 @@ int main() { | |||
| 7291 | tparm() | 7285 | tparm() |
| 7292 | ; return 0; } | 7286 | ; return 0; } |
| 7293 | EOF | 7287 | EOF |
| 7294 | if { (eval echo configure:7295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7288 | if { (eval echo configure:7289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7295 | rm -rf conftest* | 7289 | rm -rf conftest* |
| 7296 | eval "ac_cv_lib_$ac_lib_var=yes" | 7290 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 7297 | else | 7291 | else |
| @@ -7322,7 +7316,7 @@ fi | |||
| 7322 | # These tell us which Kerberos-related libraries to use. | 7316 | # These tell us which Kerberos-related libraries to use. |
| 7323 | if test "${with_kerberos+set}" = set; then | 7317 | if test "${with_kerberos+set}" = set; then |
| 7324 | echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6 | 7318 | echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6 |
| 7325 | echo "configure:7326: checking for com_err in -lcom_err" >&5 | 7319 | echo "configure:7320: checking for com_err in -lcom_err" >&5 |
| 7326 | ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'` | 7320 | ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'` |
| 7327 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7321 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 7328 | echo $ac_n "(cached) $ac_c" 1>&6 | 7322 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -7330,7 +7324,7 @@ else | |||
| 7330 | ac_save_LIBS="$LIBS" | 7324 | ac_save_LIBS="$LIBS" |
| 7331 | LIBS="-lcom_err $LIBS" | 7325 | LIBS="-lcom_err $LIBS" |
| 7332 | cat > conftest.$ac_ext <<EOF | 7326 | cat > conftest.$ac_ext <<EOF |
| 7333 | #line 7334 "configure" | 7327 | #line 7328 "configure" |
| 7334 | #include "confdefs.h" | 7328 | #include "confdefs.h" |
| 7335 | /* Override any gcc2 internal prototype to avoid an error. */ | 7329 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 7336 | /* We use char because int might match the return type of a gcc2 | 7330 | /* We use char because int might match the return type of a gcc2 |
| @@ -7341,7 +7335,7 @@ int main() { | |||
| 7341 | com_err() | 7335 | com_err() |
| 7342 | ; return 0; } | 7336 | ; return 0; } |
| 7343 | EOF | 7337 | EOF |
| 7344 | if { (eval echo configure:7345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7338 | if { (eval echo configure:7339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7345 | rm -rf conftest* | 7339 | rm -rf conftest* |
| 7346 | eval "ac_cv_lib_$ac_lib_var=yes" | 7340 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 7347 | else | 7341 | else |
| @@ -7369,7 +7363,7 @@ else | |||
| 7369 | fi | 7363 | fi |
| 7370 | 7364 | ||
| 7371 | echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6 | 7365 | echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6 |
| 7372 | echo "configure:7373: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 | 7366 | echo "configure:7367: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 |
| 7373 | ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` | 7367 | ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` |
| 7374 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7368 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 7375 | echo $ac_n "(cached) $ac_c" 1>&6 | 7369 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -7377,7 +7371,7 @@ else | |||
| 7377 | ac_save_LIBS="$LIBS" | 7371 | ac_save_LIBS="$LIBS" |
| 7378 | LIBS="-lk5crypto $LIBS" | 7372 | LIBS="-lk5crypto $LIBS" |
| 7379 | cat > conftest.$ac_ext <<EOF | 7373 | cat > conftest.$ac_ext <<EOF |
| 7380 | #line 7381 "configure" | 7374 | #line 7375 "configure" |
| 7381 | #include "confdefs.h" | 7375 | #include "confdefs.h" |
| 7382 | /* Override any gcc2 internal prototype to avoid an error. */ | 7376 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 7383 | /* We use char because int might match the return type of a gcc2 | 7377 | /* We use char because int might match the return type of a gcc2 |
| @@ -7388,7 +7382,7 @@ int main() { | |||
| 7388 | mit_des_cbc_encrypt() | 7382 | mit_des_cbc_encrypt() |
| 7389 | ; return 0; } | 7383 | ; return 0; } |
| 7390 | EOF | 7384 | EOF |
| 7391 | if { (eval echo configure:7392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7385 | if { (eval echo configure:7386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7392 | rm -rf conftest* | 7386 | rm -rf conftest* |
| 7393 | eval "ac_cv_lib_$ac_lib_var=yes" | 7387 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 7394 | else | 7388 | else |
| @@ -7416,7 +7410,7 @@ else | |||
| 7416 | fi | 7410 | fi |
| 7417 | 7411 | ||
| 7418 | echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6 | 7412 | echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6 |
| 7419 | echo "configure:7420: checking for mit_des_cbc_encrypt in -lcrypto" >&5 | 7413 | echo "configure:7414: checking for mit_des_cbc_encrypt in -lcrypto" >&5 |
| 7420 | ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` | 7414 | ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` |
| 7421 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7415 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 7422 | echo $ac_n "(cached) $ac_c" 1>&6 | 7416 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -7424,7 +7418,7 @@ else | |||
| 7424 | ac_save_LIBS="$LIBS" | 7418 | ac_save_LIBS="$LIBS" |
| 7425 | LIBS="-lcrypto $LIBS" | 7419 | LIBS="-lcrypto $LIBS" |
| 7426 | cat > conftest.$ac_ext <<EOF | 7420 | cat > conftest.$ac_ext <<EOF |
| 7427 | #line 7428 "configure" | 7421 | #line 7422 "configure" |
| 7428 | #include "confdefs.h" | 7422 | #include "confdefs.h" |
| 7429 | /* Override any gcc2 internal prototype to avoid an error. */ | 7423 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 7430 | /* We use char because int might match the return type of a gcc2 | 7424 | /* We use char because int might match the return type of a gcc2 |
| @@ -7435,7 +7429,7 @@ int main() { | |||
| 7435 | mit_des_cbc_encrypt() | 7429 | mit_des_cbc_encrypt() |
| 7436 | ; return 0; } | 7430 | ; return 0; } |
| 7437 | EOF | 7431 | EOF |
| 7438 | if { (eval echo configure:7439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7432 | if { (eval echo configure:7433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7439 | rm -rf conftest* | 7433 | rm -rf conftest* |
| 7440 | eval "ac_cv_lib_$ac_lib_var=yes" | 7434 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 7441 | else | 7435 | else |
| @@ -7463,7 +7457,7 @@ else | |||
| 7463 | fi | 7457 | fi |
| 7464 | 7458 | ||
| 7465 | echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6 | 7459 | echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6 |
| 7466 | echo "configure:7467: checking for krb5_init_context in -lkrb5" >&5 | 7460 | echo "configure:7461: checking for krb5_init_context in -lkrb5" >&5 |
| 7467 | ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'` | 7461 | ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'` |
| 7468 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7462 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 7469 | echo $ac_n "(cached) $ac_c" 1>&6 | 7463 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -7471,7 +7465,7 @@ else | |||
| 7471 | ac_save_LIBS="$LIBS" | 7465 | ac_save_LIBS="$LIBS" |
| 7472 | LIBS="-lkrb5 $LIBS" | 7466 | LIBS="-lkrb5 $LIBS" |
| 7473 | cat > conftest.$ac_ext <<EOF | 7467 | cat > conftest.$ac_ext <<EOF |
| 7474 | #line 7475 "configure" | 7468 | #line 7469 "configure" |
| 7475 | #include "confdefs.h" | 7469 | #include "confdefs.h" |
| 7476 | /* Override any gcc2 internal prototype to avoid an error. */ | 7470 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 7477 | /* We use char because int might match the return type of a gcc2 | 7471 | /* We use char because int might match the return type of a gcc2 |
| @@ -7482,7 +7476,7 @@ int main() { | |||
| 7482 | krb5_init_context() | 7476 | krb5_init_context() |
| 7483 | ; return 0; } | 7477 | ; return 0; } |
| 7484 | EOF | 7478 | EOF |
| 7485 | if { (eval echo configure:7486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7479 | if { (eval echo configure:7480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7486 | rm -rf conftest* | 7480 | rm -rf conftest* |
| 7487 | eval "ac_cv_lib_$ac_lib_var=yes" | 7481 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 7488 | else | 7482 | else |
| @@ -7511,7 +7505,7 @@ fi | |||
| 7511 | 7505 | ||
| 7512 | if test "${with_kerberos5+set}" != set; then | 7506 | if test "${with_kerberos5+set}" != set; then |
| 7513 | echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6 | 7507 | echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6 |
| 7514 | echo "configure:7515: checking for des_cbc_encrypt in -ldes425" >&5 | 7508 | echo "configure:7509: checking for des_cbc_encrypt in -ldes425" >&5 |
| 7515 | ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` | 7509 | ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` |
| 7516 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7510 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 7517 | echo $ac_n "(cached) $ac_c" 1>&6 | 7511 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -7519,7 +7513,7 @@ else | |||
| 7519 | ac_save_LIBS="$LIBS" | 7513 | ac_save_LIBS="$LIBS" |
| 7520 | LIBS="-ldes425 $LIBS" | 7514 | LIBS="-ldes425 $LIBS" |
| 7521 | cat > conftest.$ac_ext <<EOF | 7515 | cat > conftest.$ac_ext <<EOF |
| 7522 | #line 7523 "configure" | 7516 | #line 7517 "configure" |
| 7523 | #include "confdefs.h" | 7517 | #include "confdefs.h" |
| 7524 | /* Override any gcc2 internal prototype to avoid an error. */ | 7518 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 7525 | /* We use char because int might match the return type of a gcc2 | 7519 | /* We use char because int might match the return type of a gcc2 |
| @@ -7530,7 +7524,7 @@ int main() { | |||
| 7530 | des_cbc_encrypt() | 7524 | des_cbc_encrypt() |
| 7531 | ; return 0; } | 7525 | ; return 0; } |
| 7532 | EOF | 7526 | EOF |
| 7533 | if { (eval echo configure:7534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7527 | if { (eval echo configure:7528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7534 | rm -rf conftest* | 7528 | rm -rf conftest* |
| 7535 | eval "ac_cv_lib_$ac_lib_var=yes" | 7529 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 7536 | else | 7530 | else |
| @@ -7556,7 +7550,7 @@ EOF | |||
| 7556 | else | 7550 | else |
| 7557 | echo "$ac_t""no" 1>&6 | 7551 | echo "$ac_t""no" 1>&6 |
| 7558 | echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6 | 7552 | echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6 |
| 7559 | echo "configure:7560: checking for des_cbc_encrypt in -ldes" >&5 | 7553 | echo "configure:7554: checking for des_cbc_encrypt in -ldes" >&5 |
| 7560 | ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` | 7554 | ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` |
| 7561 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7555 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 7562 | echo $ac_n "(cached) $ac_c" 1>&6 | 7556 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -7564,7 +7558,7 @@ else | |||
| 7564 | ac_save_LIBS="$LIBS" | 7558 | ac_save_LIBS="$LIBS" |
| 7565 | LIBS="-ldes $LIBS" | 7559 | LIBS="-ldes $LIBS" |
| 7566 | cat > conftest.$ac_ext <<EOF | 7560 | cat > conftest.$ac_ext <<EOF |
| 7567 | #line 7568 "configure" | 7561 | #line 7562 "configure" |
| 7568 | #include "confdefs.h" | 7562 | #include "confdefs.h" |
| 7569 | /* Override any gcc2 internal prototype to avoid an error. */ | 7563 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 7570 | /* We use char because int might match the return type of a gcc2 | 7564 | /* We use char because int might match the return type of a gcc2 |
| @@ -7575,7 +7569,7 @@ int main() { | |||
| 7575 | des_cbc_encrypt() | 7569 | des_cbc_encrypt() |
| 7576 | ; return 0; } | 7570 | ; return 0; } |
| 7577 | EOF | 7571 | EOF |
| 7578 | if { (eval echo configure:7579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7572 | if { (eval echo configure:7573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7579 | rm -rf conftest* | 7573 | rm -rf conftest* |
| 7580 | eval "ac_cv_lib_$ac_lib_var=yes" | 7574 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 7581 | else | 7575 | else |
| @@ -7605,7 +7599,7 @@ fi | |||
| 7605 | fi | 7599 | fi |
| 7606 | 7600 | ||
| 7607 | echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6 | 7601 | echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6 |
| 7608 | echo "configure:7609: checking for krb_get_cred in -lkrb4" >&5 | 7602 | echo "configure:7603: checking for krb_get_cred in -lkrb4" >&5 |
| 7609 | ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'` | 7603 | ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'` |
| 7610 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7604 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 7611 | echo $ac_n "(cached) $ac_c" 1>&6 | 7605 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -7613,7 +7607,7 @@ else | |||
| 7613 | ac_save_LIBS="$LIBS" | 7607 | ac_save_LIBS="$LIBS" |
| 7614 | LIBS="-lkrb4 $LIBS" | 7608 | LIBS="-lkrb4 $LIBS" |
| 7615 | cat > conftest.$ac_ext <<EOF | 7609 | cat > conftest.$ac_ext <<EOF |
| 7616 | #line 7617 "configure" | 7610 | #line 7611 "configure" |
| 7617 | #include "confdefs.h" | 7611 | #include "confdefs.h" |
| 7618 | /* Override any gcc2 internal prototype to avoid an error. */ | 7612 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 7619 | /* We use char because int might match the return type of a gcc2 | 7613 | /* We use char because int might match the return type of a gcc2 |
| @@ -7624,7 +7618,7 @@ int main() { | |||
| 7624 | krb_get_cred() | 7618 | krb_get_cred() |
| 7625 | ; return 0; } | 7619 | ; return 0; } |
| 7626 | EOF | 7620 | EOF |
| 7627 | if { (eval echo configure:7628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7621 | if { (eval echo configure:7622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7628 | rm -rf conftest* | 7622 | rm -rf conftest* |
| 7629 | eval "ac_cv_lib_$ac_lib_var=yes" | 7623 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 7630 | else | 7624 | else |
| @@ -7650,7 +7644,7 @@ EOF | |||
| 7650 | else | 7644 | else |
| 7651 | echo "$ac_t""no" 1>&6 | 7645 | echo "$ac_t""no" 1>&6 |
| 7652 | echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6 | 7646 | echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6 |
| 7653 | echo "configure:7654: checking for krb_get_cred in -lkrb" >&5 | 7647 | echo "configure:7648: checking for krb_get_cred in -lkrb" >&5 |
| 7654 | ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'` | 7648 | ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'` |
| 7655 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7649 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 7656 | echo $ac_n "(cached) $ac_c" 1>&6 | 7650 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -7658,7 +7652,7 @@ else | |||
| 7658 | ac_save_LIBS="$LIBS" | 7652 | ac_save_LIBS="$LIBS" |
| 7659 | LIBS="-lkrb $LIBS" | 7653 | LIBS="-lkrb $LIBS" |
| 7660 | cat > conftest.$ac_ext <<EOF | 7654 | cat > conftest.$ac_ext <<EOF |
| 7661 | #line 7662 "configure" | 7655 | #line 7656 "configure" |
| 7662 | #include "confdefs.h" | 7656 | #include "confdefs.h" |
| 7663 | /* Override any gcc2 internal prototype to avoid an error. */ | 7657 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 7664 | /* We use char because int might match the return type of a gcc2 | 7658 | /* We use char because int might match the return type of a gcc2 |
| @@ -7669,7 +7663,7 @@ int main() { | |||
| 7669 | krb_get_cred() | 7663 | krb_get_cred() |
| 7670 | ; return 0; } | 7664 | ; return 0; } |
| 7671 | EOF | 7665 | EOF |
| 7672 | if { (eval echo configure:7673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7666 | if { (eval echo configure:7667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7673 | rm -rf conftest* | 7667 | rm -rf conftest* |
| 7674 | eval "ac_cv_lib_$ac_lib_var=yes" | 7668 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 7675 | else | 7669 | else |
| @@ -7705,17 +7699,17 @@ fi | |||
| 7705 | do | 7699 | do |
| 7706 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7700 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 7707 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7701 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 7708 | echo "configure:7709: checking for $ac_hdr" >&5 | 7702 | echo "configure:7703: checking for $ac_hdr" >&5 |
| 7709 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 7703 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 7710 | echo $ac_n "(cached) $ac_c" 1>&6 | 7704 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 7711 | else | 7705 | else |
| 7712 | cat > conftest.$ac_ext <<EOF | 7706 | cat > conftest.$ac_ext <<EOF |
| 7713 | #line 7714 "configure" | 7707 | #line 7708 "configure" |
| 7714 | #include "confdefs.h" | 7708 | #include "confdefs.h" |
| 7715 | #include <$ac_hdr> | 7709 | #include <$ac_hdr> |
| 7716 | EOF | 7710 | EOF |
| 7717 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7711 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7718 | { (eval echo configure:7719: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7712 | { (eval echo configure:7713: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7719 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7713 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7720 | if test -z "$ac_err"; then | 7714 | if test -z "$ac_err"; then |
| 7721 | rm -rf conftest* | 7715 | rm -rf conftest* |
| @@ -7746,17 +7740,17 @@ done | |||
| 7746 | do | 7740 | do |
| 7747 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7741 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 7748 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7742 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 7749 | echo "configure:7750: checking for $ac_hdr" >&5 | 7743 | echo "configure:7744: checking for $ac_hdr" >&5 |
| 7750 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 7744 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 7751 | echo $ac_n "(cached) $ac_c" 1>&6 | 7745 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 7752 | else | 7746 | else |
| 7753 | cat > conftest.$ac_ext <<EOF | 7747 | cat > conftest.$ac_ext <<EOF |
| 7754 | #line 7755 "configure" | 7748 | #line 7749 "configure" |
| 7755 | #include "confdefs.h" | 7749 | #include "confdefs.h" |
| 7756 | #include <$ac_hdr> | 7750 | #include <$ac_hdr> |
| 7757 | EOF | 7751 | EOF |
| 7758 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7752 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7759 | { (eval echo configure:7760: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7753 | { (eval echo configure:7754: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7760 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7754 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7761 | if test -z "$ac_err"; then | 7755 | if test -z "$ac_err"; then |
| 7762 | rm -rf conftest* | 7756 | rm -rf conftest* |
| @@ -7783,17 +7777,17 @@ for ac_hdr in kerberosIV/des.h | |||
| 7783 | do | 7777 | do |
| 7784 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7778 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 7785 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7779 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 7786 | echo "configure:7787: checking for $ac_hdr" >&5 | 7780 | echo "configure:7781: checking for $ac_hdr" >&5 |
| 7787 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 7781 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 7788 | echo $ac_n "(cached) $ac_c" 1>&6 | 7782 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 7789 | else | 7783 | else |
| 7790 | cat > conftest.$ac_ext <<EOF | 7784 | cat > conftest.$ac_ext <<EOF |
| 7791 | #line 7792 "configure" | 7785 | #line 7786 "configure" |
| 7792 | #include "confdefs.h" | 7786 | #include "confdefs.h" |
| 7793 | #include <$ac_hdr> | 7787 | #include <$ac_hdr> |
| 7794 | EOF | 7788 | EOF |
| 7795 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7789 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7796 | { (eval echo configure:7797: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7790 | { (eval echo configure:7791: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7797 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7791 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7798 | if test -z "$ac_err"; then | 7792 | if test -z "$ac_err"; then |
| 7799 | rm -rf conftest* | 7793 | rm -rf conftest* |
| @@ -7820,17 +7814,17 @@ for ac_hdr in kerberos/des.h | |||
| 7820 | do | 7814 | do |
| 7821 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7815 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 7822 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7816 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 7823 | echo "configure:7824: checking for $ac_hdr" >&5 | 7817 | echo "configure:7818: checking for $ac_hdr" >&5 |
| 7824 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 7818 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 7825 | echo $ac_n "(cached) $ac_c" 1>&6 | 7819 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 7826 | else | 7820 | else |
| 7827 | cat > conftest.$ac_ext <<EOF | 7821 | cat > conftest.$ac_ext <<EOF |
| 7828 | #line 7829 "configure" | 7822 | #line 7823 "configure" |
| 7829 | #include "confdefs.h" | 7823 | #include "confdefs.h" |
| 7830 | #include <$ac_hdr> | 7824 | #include <$ac_hdr> |
| 7831 | EOF | 7825 | EOF |
| 7832 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7826 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7833 | { (eval echo configure:7834: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7827 | { (eval echo configure:7828: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7834 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7828 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7835 | if test -z "$ac_err"; then | 7829 | if test -z "$ac_err"; then |
| 7836 | rm -rf conftest* | 7830 | rm -rf conftest* |
| @@ -7866,17 +7860,17 @@ done | |||
| 7866 | do | 7860 | do |
| 7867 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7861 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 7868 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7862 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 7869 | echo "configure:7870: checking for $ac_hdr" >&5 | 7863 | echo "configure:7864: checking for $ac_hdr" >&5 |
| 7870 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 7864 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 7871 | echo $ac_n "(cached) $ac_c" 1>&6 | 7865 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 7872 | else | 7866 | else |
| 7873 | cat > conftest.$ac_ext <<EOF | 7867 | cat > conftest.$ac_ext <<EOF |
| 7874 | #line 7875 "configure" | 7868 | #line 7869 "configure" |
| 7875 | #include "confdefs.h" | 7869 | #include "confdefs.h" |
| 7876 | #include <$ac_hdr> | 7870 | #include <$ac_hdr> |
| 7877 | EOF | 7871 | EOF |
| 7878 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7872 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7879 | { (eval echo configure:7880: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7873 | { (eval echo configure:7874: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7880 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7874 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7881 | if test -z "$ac_err"; then | 7875 | if test -z "$ac_err"; then |
| 7882 | rm -rf conftest* | 7876 | rm -rf conftest* |
| @@ -7903,17 +7897,17 @@ for ac_hdr in kerberosIV/krb.h | |||
| 7903 | do | 7897 | do |
| 7904 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7898 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 7905 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7899 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 7906 | echo "configure:7907: checking for $ac_hdr" >&5 | 7900 | echo "configure:7901: checking for $ac_hdr" >&5 |
| 7907 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 7901 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 7908 | echo $ac_n "(cached) $ac_c" 1>&6 | 7902 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 7909 | else | 7903 | else |
| 7910 | cat > conftest.$ac_ext <<EOF | 7904 | cat > conftest.$ac_ext <<EOF |
| 7911 | #line 7912 "configure" | 7905 | #line 7906 "configure" |
| 7912 | #include "confdefs.h" | 7906 | #include "confdefs.h" |
| 7913 | #include <$ac_hdr> | 7907 | #include <$ac_hdr> |
| 7914 | EOF | 7908 | EOF |
| 7915 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7909 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7916 | { (eval echo configure:7917: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7910 | { (eval echo configure:7911: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7917 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7911 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7918 | if test -z "$ac_err"; then | 7912 | if test -z "$ac_err"; then |
| 7919 | rm -rf conftest* | 7913 | rm -rf conftest* |
| @@ -7940,17 +7934,17 @@ for ac_hdr in kerberos/krb.h | |||
| 7940 | do | 7934 | do |
| 7941 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7935 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 7942 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7936 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 7943 | echo "configure:7944: checking for $ac_hdr" >&5 | 7937 | echo "configure:7938: checking for $ac_hdr" >&5 |
| 7944 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 7938 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 7945 | echo $ac_n "(cached) $ac_c" 1>&6 | 7939 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 7946 | else | 7940 | else |
| 7947 | cat > conftest.$ac_ext <<EOF | 7941 | cat > conftest.$ac_ext <<EOF |
| 7948 | #line 7949 "configure" | 7942 | #line 7943 "configure" |
| 7949 | #include "confdefs.h" | 7943 | #include "confdefs.h" |
| 7950 | #include <$ac_hdr> | 7944 | #include <$ac_hdr> |
| 7951 | EOF | 7945 | EOF |
| 7952 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7946 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7953 | { (eval echo configure:7954: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7947 | { (eval echo configure:7948: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7954 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7948 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7955 | if test -z "$ac_err"; then | 7949 | if test -z "$ac_err"; then |
| 7956 | rm -rf conftest* | 7950 | rm -rf conftest* |
| @@ -7987,17 +7981,17 @@ done | |||
| 7987 | do | 7981 | do |
| 7988 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7982 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 7989 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7983 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 7990 | echo "configure:7991: checking for $ac_hdr" >&5 | 7984 | echo "configure:7985: checking for $ac_hdr" >&5 |
| 7991 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 7985 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 7992 | echo $ac_n "(cached) $ac_c" 1>&6 | 7986 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 7993 | else | 7987 | else |
| 7994 | cat > conftest.$ac_ext <<EOF | 7988 | cat > conftest.$ac_ext <<EOF |
| 7995 | #line 7996 "configure" | 7989 | #line 7990 "configure" |
| 7996 | #include "confdefs.h" | 7990 | #include "confdefs.h" |
| 7997 | #include <$ac_hdr> | 7991 | #include <$ac_hdr> |
| 7998 | EOF | 7992 | EOF |
| 7999 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7993 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8000 | { (eval echo configure:8001: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7994 | { (eval echo configure:7995: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8001 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7995 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 8002 | if test -z "$ac_err"; then | 7996 | if test -z "$ac_err"; then |
| 8003 | rm -rf conftest* | 7997 | rm -rf conftest* |
| @@ -8028,7 +8022,7 @@ fi | |||
| 8028 | # Solaris requires -lintl if you want strerror (which calls dgettext) | 8022 | # Solaris requires -lintl if you want strerror (which calls dgettext) |
| 8029 | # to return localized messages. | 8023 | # to return localized messages. |
| 8030 | echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6 | 8024 | echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6 |
| 8031 | echo "configure:8032: checking for dgettext in -lintl" >&5 | 8025 | echo "configure:8026: checking for dgettext in -lintl" >&5 |
| 8032 | ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'` | 8026 | ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'` |
| 8033 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 8027 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 8034 | echo $ac_n "(cached) $ac_c" 1>&6 | 8028 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -8036,7 +8030,7 @@ else | |||
| 8036 | ac_save_LIBS="$LIBS" | 8030 | ac_save_LIBS="$LIBS" |
| 8037 | LIBS="-lintl $LIBS" | 8031 | LIBS="-lintl $LIBS" |
| 8038 | cat > conftest.$ac_ext <<EOF | 8032 | cat > conftest.$ac_ext <<EOF |
| 8039 | #line 8040 "configure" | 8033 | #line 8034 "configure" |
| 8040 | #include "confdefs.h" | 8034 | #include "confdefs.h" |
| 8041 | /* Override any gcc2 internal prototype to avoid an error. */ | 8035 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 8042 | /* We use char because int might match the return type of a gcc2 | 8036 | /* We use char because int might match the return type of a gcc2 |
| @@ -8047,7 +8041,7 @@ int main() { | |||
| 8047 | dgettext() | 8041 | dgettext() |
| 8048 | ; return 0; } | 8042 | ; return 0; } |
| 8049 | EOF | 8043 | EOF |
| 8050 | if { (eval echo configure:8051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8044 | if { (eval echo configure:8045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8051 | rm -rf conftest* | 8045 | rm -rf conftest* |
| 8052 | eval "ac_cv_lib_$ac_lib_var=yes" | 8046 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 8053 | else | 8047 | else |
| @@ -8076,7 +8070,7 @@ fi | |||
| 8076 | 8070 | ||
| 8077 | 8071 | ||
| 8078 | echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 8072 | echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
| 8079 | echo "configure:8080: checking whether localtime caches TZ" >&5 | 8073 | echo "configure:8074: checking whether localtime caches TZ" >&5 |
| 8080 | if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then | 8074 | if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then |
| 8081 | echo $ac_n "(cached) $ac_c" 1>&6 | 8075 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 8082 | else | 8076 | else |
| @@ -8086,7 +8080,7 @@ if test "$cross_compiling" = yes; then | |||
| 8086 | emacs_cv_localtime_cache=yes | 8080 | emacs_cv_localtime_cache=yes |
| 8087 | else | 8081 | else |
| 8088 | cat > conftest.$ac_ext <<EOF | 8082 | cat > conftest.$ac_ext <<EOF |
| 8089 | #line 8090 "configure" | 8083 | #line 8084 "configure" |
| 8090 | #include "confdefs.h" | 8084 | #include "confdefs.h" |
| 8091 | #include <time.h> | 8085 | #include <time.h> |
| 8092 | extern char **environ; | 8086 | extern char **environ; |
| @@ -8118,7 +8112,7 @@ main() | |||
| 8118 | exit (0); | 8112 | exit (0); |
| 8119 | } | 8113 | } |
| 8120 | EOF | 8114 | EOF |
| 8121 | if { (eval echo configure:8122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 8115 | if { (eval echo configure:8116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
| 8122 | then | 8116 | then |
| 8123 | emacs_cv_localtime_cache=no | 8117 | emacs_cv_localtime_cache=no |
| 8124 | else | 8118 | else |
| @@ -8148,12 +8142,12 @@ if test "x$HAVE_TIMEVAL" = xyes; then | |||
| 8148 | for ac_func in gettimeofday | 8142 | for ac_func in gettimeofday |
| 8149 | do | 8143 | do |
| 8150 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8144 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 8151 | echo "configure:8152: checking for $ac_func" >&5 | 8145 | echo "configure:8146: checking for $ac_func" >&5 |
| 8152 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 8146 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
| 8153 | echo $ac_n "(cached) $ac_c" 1>&6 | 8147 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 8154 | else | 8148 | else |
| 8155 | cat > conftest.$ac_ext <<EOF | 8149 | cat > conftest.$ac_ext <<EOF |
| 8156 | #line 8157 "configure" | 8150 | #line 8151 "configure" |
| 8157 | #include "confdefs.h" | 8151 | #include "confdefs.h" |
| 8158 | /* System header to define __stub macros and hopefully few prototypes, | 8152 | /* System header to define __stub macros and hopefully few prototypes, |
| 8159 | which can conflict with char $ac_func(); below. */ | 8153 | which can conflict with char $ac_func(); below. */ |
| @@ -8176,7 +8170,7 @@ $ac_func(); | |||
| 8176 | 8170 | ||
| 8177 | ; return 0; } | 8171 | ; return 0; } |
| 8178 | EOF | 8172 | EOF |
| 8179 | if { (eval echo configure:8180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8173 | if { (eval echo configure:8174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8180 | rm -rf conftest* | 8174 | rm -rf conftest* |
| 8181 | eval "ac_cv_func_$ac_func=yes" | 8175 | eval "ac_cv_func_$ac_func=yes" |
| 8182 | else | 8176 | else |
| @@ -8201,12 +8195,12 @@ fi | |||
| 8201 | done | 8195 | done |
| 8202 | 8196 | ||
| 8203 | echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6 | 8197 | echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6 |
| 8204 | echo "configure:8205: checking whether gettimeofday can accept two arguments" >&5 | 8198 | echo "configure:8199: checking whether gettimeofday can accept two arguments" >&5 |
| 8205 | if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then | 8199 | if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then |
| 8206 | echo $ac_n "(cached) $ac_c" 1>&6 | 8200 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 8207 | else | 8201 | else |
| 8208 | cat > conftest.$ac_ext <<EOF | 8202 | cat > conftest.$ac_ext <<EOF |
| 8209 | #line 8210 "configure" | 8203 | #line 8204 "configure" |
| 8210 | #include "confdefs.h" | 8204 | #include "confdefs.h" |
| 8211 | 8205 | ||
| 8212 | #ifdef TIME_WITH_SYS_TIME | 8206 | #ifdef TIME_WITH_SYS_TIME |
| @@ -8224,7 +8218,7 @@ struct timeval time; | |||
| 8224 | gettimeofday (&time, 0); | 8218 | gettimeofday (&time, 0); |
| 8225 | ; return 0; } | 8219 | ; return 0; } |
| 8226 | EOF | 8220 | EOF |
| 8227 | if { (eval echo configure:8228: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 8221 | if { (eval echo configure:8222: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 8228 | rm -rf conftest* | 8222 | rm -rf conftest* |
| 8229 | emacs_cv_gettimeofday_two_arguments=yes | 8223 | emacs_cv_gettimeofday_two_arguments=yes |
| 8230 | else | 8224 | else |
| @@ -8247,25 +8241,25 @@ fi | |||
| 8247 | 8241 | ||
| 8248 | if test "$ac_cv_func_gettimeofday" = yes; then | 8242 | if test "$ac_cv_func_gettimeofday" = yes; then |
| 8249 | echo $ac_n "checking for struct timezone""... $ac_c" 1>&6 | 8243 | echo $ac_n "checking for struct timezone""... $ac_c" 1>&6 |
| 8250 | echo "configure:8251: checking for struct timezone" >&5 | 8244 | echo "configure:8245: checking for struct timezone" >&5 |
| 8251 | if eval "test \"`echo '$''{'emacs_cv_struct_timezone'+set}'`\" = set"; then | 8245 | if eval "test \"`echo '$''{'emacs_cv_struct_timezone'+set}'`\" = set"; then |
| 8252 | echo $ac_n "(cached) $ac_c" 1>&6 | 8246 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 8253 | else | 8247 | else |
| 8254 | cat > conftest.$ac_ext <<EOF | 8248 | cat > conftest.$ac_ext <<EOF |
| 8255 | #line 8256 "configure" | 8249 | #line 8250 "configure" |
| 8256 | #include "confdefs.h" | 8250 | #include "confdefs.h" |
| 8257 | #include <sys/time.h> | 8251 | #include <sys/time.h> |
| 8258 | int main() { | 8252 | int main() { |
| 8259 | struct timezone tz; | 8253 | struct timezone tz; |
| 8260 | ; return 0; } | 8254 | ; return 0; } |
| 8261 | EOF | 8255 | EOF |
| 8262 | if { (eval echo configure:8263: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 8256 | if { (eval echo configure:8257: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 8263 | rm -rf conftest* | 8257 | rm -rf conftest* |
| 8264 | if test "$cross_compiling" = yes; then | 8258 | if test "$cross_compiling" = yes; then |
| 8265 | emacs_cv_struct_timezone=yes | 8259 | emacs_cv_struct_timezone=yes |
| 8266 | else | 8260 | else |
| 8267 | cat > conftest.$ac_ext <<EOF | 8261 | cat > conftest.$ac_ext <<EOF |
| 8268 | #line 8269 "configure" | 8262 | #line 8263 "configure" |
| 8269 | #include "confdefs.h" | 8263 | #include "confdefs.h" |
| 8270 | 8264 | ||
| 8271 | #ifdef TIME_WITH_SYS_TIME | 8265 | #ifdef TIME_WITH_SYS_TIME |
| @@ -8284,7 +8278,7 @@ main () { | |||
| 8284 | exit (gettimeofday (&time, &dummy)); | 8278 | exit (gettimeofday (&time, &dummy)); |
| 8285 | } | 8279 | } |
| 8286 | EOF | 8280 | EOF |
| 8287 | if { (eval echo configure:8288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 8281 | if { (eval echo configure:8282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
| 8288 | then | 8282 | then |
| 8289 | emacs_cv_struct_timezone=yes | 8283 | emacs_cv_struct_timezone=yes |
| 8290 | else | 8284 | else |
| @@ -8310,12 +8304,12 @@ fi | |||
| 8310 | 8304 | ||
| 8311 | ok_so_far=yes | 8305 | ok_so_far=yes |
| 8312 | echo $ac_n "checking for socket""... $ac_c" 1>&6 | 8306 | echo $ac_n "checking for socket""... $ac_c" 1>&6 |
| 8313 | echo "configure:8314: checking for socket" >&5 | 8307 | echo "configure:8308: checking for socket" >&5 |
| 8314 | if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then | 8308 | if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then |
| 8315 | echo $ac_n "(cached) $ac_c" 1>&6 | 8309 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 8316 | else | 8310 | else |
| 8317 | cat > conftest.$ac_ext <<EOF | 8311 | cat > conftest.$ac_ext <<EOF |
| 8318 | #line 8319 "configure" | 8312 | #line 8313 "configure" |
| 8319 | #include "confdefs.h" | 8313 | #include "confdefs.h" |
| 8320 | /* System header to define __stub macros and hopefully few prototypes, | 8314 | /* System header to define __stub macros and hopefully few prototypes, |
| 8321 | which can conflict with char socket(); below. */ | 8315 | which can conflict with char socket(); below. */ |
| @@ -8338,7 +8332,7 @@ socket(); | |||
| 8338 | 8332 | ||
| 8339 | ; return 0; } | 8333 | ; return 0; } |
| 8340 | EOF | 8334 | EOF |
| 8341 | if { (eval echo configure:8342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8335 | if { (eval echo configure:8336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8342 | rm -rf conftest* | 8336 | rm -rf conftest* |
| 8343 | eval "ac_cv_func_socket=yes" | 8337 | eval "ac_cv_func_socket=yes" |
| 8344 | else | 8338 | else |
| @@ -8361,17 +8355,17 @@ fi | |||
| 8361 | if test $ok_so_far = yes; then | 8355 | if test $ok_so_far = yes; then |
| 8362 | ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 8356 | ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
| 8363 | echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 8357 | echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
| 8364 | echo "configure:8365: checking for netinet/in.h" >&5 | 8358 | echo "configure:8359: checking for netinet/in.h" >&5 |
| 8365 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 8359 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 8366 | echo $ac_n "(cached) $ac_c" 1>&6 | 8360 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 8367 | else | 8361 | else |
| 8368 | cat > conftest.$ac_ext <<EOF | 8362 | cat > conftest.$ac_ext <<EOF |
| 8369 | #line 8370 "configure" | 8363 | #line 8364 "configure" |
| 8370 | #include "confdefs.h" | 8364 | #include "confdefs.h" |
| 8371 | #include <netinet/in.h> | 8365 | #include <netinet/in.h> |
| 8372 | EOF | 8366 | EOF |
| 8373 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8367 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8374 | { (eval echo configure:8375: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8368 | { (eval echo configure:8369: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8375 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8369 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 8376 | if test -z "$ac_err"; then | 8370 | if test -z "$ac_err"; then |
| 8377 | rm -rf conftest* | 8371 | rm -rf conftest* |
| @@ -8397,17 +8391,17 @@ fi | |||
| 8397 | if test $ok_so_far = yes; then | 8391 | if test $ok_so_far = yes; then |
| 8398 | ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 8392 | ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
| 8399 | echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 8393 | echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
| 8400 | echo "configure:8401: checking for arpa/inet.h" >&5 | 8394 | echo "configure:8395: checking for arpa/inet.h" >&5 |
| 8401 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 8395 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 8402 | echo $ac_n "(cached) $ac_c" 1>&6 | 8396 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 8403 | else | 8397 | else |
| 8404 | cat > conftest.$ac_ext <<EOF | 8398 | cat > conftest.$ac_ext <<EOF |
| 8405 | #line 8406 "configure" | 8399 | #line 8400 "configure" |
| 8406 | #include "confdefs.h" | 8400 | #include "confdefs.h" |
| 8407 | #include <arpa/inet.h> | 8401 | #include <arpa/inet.h> |
| 8408 | EOF | 8402 | EOF |
| 8409 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8403 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8410 | { (eval echo configure:8411: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8404 | { (eval echo configure:8405: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8411 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8405 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 8412 | if test -z "$ac_err"; then | 8406 | if test -z "$ac_err"; then |
| 8413 | rm -rf conftest* | 8407 | rm -rf conftest* |
| @@ -8445,7 +8439,7 @@ EOF | |||
| 8445 | fi | 8439 | fi |
| 8446 | 8440 | ||
| 8447 | echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6 | 8441 | echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6 |
| 8448 | echo "configure:8449: checking whether system supports dynamic ptys" >&5 | 8442 | echo "configure:8443: checking whether system supports dynamic ptys" >&5 |
| 8449 | if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then | 8443 | if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then |
| 8450 | echo "$ac_t""yes" 1>&6 | 8444 | echo "$ac_t""yes" 1>&6 |
| 8451 | cat >> confdefs.h <<\EOF | 8445 | cat >> confdefs.h <<\EOF |
| @@ -8457,12 +8451,12 @@ else | |||
| 8457 | fi | 8451 | fi |
| 8458 | 8452 | ||
| 8459 | echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 8453 | echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
| 8460 | echo "configure:8461: checking for pid_t" >&5 | 8454 | echo "configure:8455: checking for pid_t" >&5 |
| 8461 | if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then | 8455 | if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then |
| 8462 | echo $ac_n "(cached) $ac_c" 1>&6 | 8456 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 8463 | else | 8457 | else |
| 8464 | cat > conftest.$ac_ext <<EOF | 8458 | cat > conftest.$ac_ext <<EOF |
| 8465 | #line 8466 "configure" | 8459 | #line 8460 "configure" |
| 8466 | #include "confdefs.h" | 8460 | #include "confdefs.h" |
| 8467 | #include <sys/types.h> | 8461 | #include <sys/types.h> |
| 8468 | #if STDC_HEADERS | 8462 | #if STDC_HEADERS |
| @@ -8491,17 +8485,17 @@ fi | |||
| 8491 | 8485 | ||
| 8492 | ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 8486 | ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
| 8493 | echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 8487 | echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
| 8494 | echo "configure:8495: checking for vfork.h" >&5 | 8488 | echo "configure:8489: checking for vfork.h" >&5 |
| 8495 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 8489 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 8496 | echo $ac_n "(cached) $ac_c" 1>&6 | 8490 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 8497 | else | 8491 | else |
| 8498 | cat > conftest.$ac_ext <<EOF | 8492 | cat > conftest.$ac_ext <<EOF |
| 8499 | #line 8500 "configure" | 8493 | #line 8494 "configure" |
| 8500 | #include "confdefs.h" | 8494 | #include "confdefs.h" |
| 8501 | #include <vfork.h> | 8495 | #include <vfork.h> |
| 8502 | EOF | 8496 | EOF |
| 8503 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8497 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8504 | { (eval echo configure:8505: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8498 | { (eval echo configure:8499: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8505 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8499 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 8506 | if test -z "$ac_err"; then | 8500 | if test -z "$ac_err"; then |
| 8507 | rm -rf conftest* | 8501 | rm -rf conftest* |
| @@ -8526,18 +8520,18 @@ else | |||
| 8526 | fi | 8520 | fi |
| 8527 | 8521 | ||
| 8528 | echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 8522 | echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
| 8529 | echo "configure:8530: checking for working vfork" >&5 | 8523 | echo "configure:8524: checking for working vfork" >&5 |
| 8530 | if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then | 8524 | if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then |
| 8531 | echo $ac_n "(cached) $ac_c" 1>&6 | 8525 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 8532 | else | 8526 | else |
| 8533 | if test "$cross_compiling" = yes; then | 8527 | if test "$cross_compiling" = yes; then |
| 8534 | echo $ac_n "checking for vfork""... $ac_c" 1>&6 | 8528 | echo $ac_n "checking for vfork""... $ac_c" 1>&6 |
| 8535 | echo "configure:8536: checking for vfork" >&5 | 8529 | echo "configure:8530: checking for vfork" >&5 |
| 8536 | if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then | 8530 | if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then |
| 8537 | echo $ac_n "(cached) $ac_c" 1>&6 | 8531 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 8538 | else | 8532 | else |
| 8539 | cat > conftest.$ac_ext <<EOF | 8533 | cat > conftest.$ac_ext <<EOF |
| 8540 | #line 8541 "configure" | 8534 | #line 8535 "configure" |
| 8541 | #include "confdefs.h" | 8535 | #include "confdefs.h" |
| 8542 | /* System header to define __stub macros and hopefully few prototypes, | 8536 | /* System header to define __stub macros and hopefully few prototypes, |
| 8543 | which can conflict with char vfork(); below. */ | 8537 | which can conflict with char vfork(); below. */ |
| @@ -8560,7 +8554,7 @@ vfork(); | |||
| 8560 | 8554 | ||
| 8561 | ; return 0; } | 8555 | ; return 0; } |
| 8562 | EOF | 8556 | EOF |
| 8563 | if { (eval echo configure:8564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8557 | if { (eval echo configure:8558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8564 | rm -rf conftest* | 8558 | rm -rf conftest* |
| 8565 | eval "ac_cv_func_vfork=yes" | 8559 | eval "ac_cv_func_vfork=yes" |
| 8566 | else | 8560 | else |
| @@ -8582,7 +8576,7 @@ fi | |||
| 8582 | ac_cv_func_vfork_works=$ac_cv_func_vfork | 8576 | ac_cv_func_vfork_works=$ac_cv_func_vfork |
| 8583 | else | 8577 | else |
| 8584 | cat > conftest.$ac_ext <<EOF | 8578 | cat > conftest.$ac_ext <<EOF |
| 8585 | #line 8586 "configure" | 8579 | #line 8580 "configure" |
| 8586 | #include "confdefs.h" | 8580 | #include "confdefs.h" |
| 8587 | /* Thanks to Paul Eggert for this test. */ | 8581 | /* Thanks to Paul Eggert for this test. */ |
| 8588 | #include <stdio.h> | 8582 | #include <stdio.h> |
| @@ -8677,7 +8671,7 @@ main() { | |||
| 8677 | } | 8671 | } |
| 8678 | } | 8672 | } |
| 8679 | EOF | 8673 | EOF |
| 8680 | if { (eval echo configure:8681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 8674 | if { (eval echo configure:8675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
| 8681 | then | 8675 | then |
| 8682 | ac_cv_func_vfork_works=yes | 8676 | ac_cv_func_vfork_works=yes |
| 8683 | else | 8677 | else |
| @@ -8702,12 +8696,12 @@ fi | |||
| 8702 | 8696 | ||
| 8703 | # Fixme: This should be replaced when we have autoconf 2.14. | 8697 | # Fixme: This should be replaced when we have autoconf 2.14. |
| 8704 | echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 8698 | echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
| 8705 | echo "configure:8706: checking for size_t" >&5 | 8699 | echo "configure:8700: checking for size_t" >&5 |
| 8706 | if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then | 8700 | if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then |
| 8707 | echo $ac_n "(cached) $ac_c" 1>&6 | 8701 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 8708 | else | 8702 | else |
| 8709 | cat > conftest.$ac_ext <<EOF | 8703 | cat > conftest.$ac_ext <<EOF |
| 8710 | #line 8711 "configure" | 8704 | #line 8705 "configure" |
| 8711 | #include "confdefs.h" | 8705 | #include "confdefs.h" |
| 8712 | #include <sys/types.h> | 8706 | #include <sys/types.h> |
| 8713 | #if STDC_HEADERS | 8707 | #if STDC_HEADERS |