aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure678
1 files changed, 336 insertions, 342 deletions
diff --git a/configure b/configure
index 7da3c4f08b8..36d9f74064a 100755
--- a/configure
+++ b/configure
@@ -3504,7 +3504,7 @@ else
3504int main() { 3504int main() {
3505 3505
3506/* Ultrix mips cc rejects this. */ 3506/* Ultrix mips cc rejects this. */
3507typedef int charset[2]; const charset x; 3507typedef int charset[2]; const charset x = {0,0};
3508/* SunOS 4.1.1 cc rejects this. */ 3508/* SunOS 4.1.1 cc rejects this. */
3509char const *const *ccp; 3509char const *const *ccp;
3510char **p; 3510char **p;
@@ -4152,8 +4152,8 @@ if test x"${REL_ALLOC}" = x; then
4152 REL_ALLOC=${GNU_MALLOC} 4152 REL_ALLOC=${GNU_MALLOC}
4153fi 4153fi
4154 4154
4155@@@ 4155
4156for ac_hdr in unistd.h 4156for ac_hdr in stdlib.h unistd.h sys/stat.h
4157do 4157do
4158ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 4158ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4159echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 4159echo $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> 4290char *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
4330extern "C" { void *malloc(unsigned); }
4331#else
4332char *malloc();
4333#endif
4334
4335int 4336int
4336main() 4337main ()
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}
4399EOF 4393EOF
4400if { (eval echo configure:4401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 4394if { (eval echo configure:4395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4401then 4395then
4402 ac_cv_func_mmap_fixed_mapped=yes 4396 ac_cv_func_mmap_fixed_mapped=yes
4403else 4397else
@@ -4426,7 +4420,7 @@ fi
4426LIBS="$libsrc_libs $LIBS" 4420LIBS="$libsrc_libs $LIBS"
4427 4421
4428echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 4422echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
4429echo "configure:4430: checking for dnet_ntoa in -ldnet" >&5 4423echo "configure:4424: checking for dnet_ntoa in -ldnet" >&5
4430ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` 4424ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
4431if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4425if 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"
4435LIBS="-ldnet $LIBS" 4429LIBS="-ldnet $LIBS"
4436cat > conftest.$ac_ext <<EOF 4430cat > 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() {
4445dnet_ntoa() 4439dnet_ntoa()
4446; return 0; } 4440; return 0; }
4447EOF 4441EOF
4448if { (eval echo configure:4449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4442if { (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"
4451else 4445else
@@ -4474,7 +4468,7 @@ fi
4474 4468
4475 4469
4476echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 4470echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6
4477echo "configure:4478: checking for main in -lXbsd" >&5 4471echo "configure:4472: checking for main in -lXbsd" >&5
4478ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` 4472ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'`
4479if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4473if 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"
4483LIBS="-lXbsd $LIBS" 4477LIBS="-lXbsd $LIBS"
4484cat > conftest.$ac_ext <<EOF 4478cat > conftest.$ac_ext <<EOF
4485#line 4486 "configure" 4479#line 4480 "configure"
4486#include "confdefs.h" 4480#include "confdefs.h"
4487 4481
4488int main() { 4482int main() {
4489main() 4483main()
4490; return 0; } 4484; return 0; }
4491EOF 4485EOF
4492if { (eval echo configure:4493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4486if { (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"
4495else 4489else
@@ -4511,7 +4505,7 @@ fi
4511 4505
4512 4506
4513echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 4507echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6
4514echo "configure:4515: checking for cma_open in -lpthreads" >&5 4508echo "configure:4509: checking for cma_open in -lpthreads" >&5
4515ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` 4509ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'`
4516if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4510if 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"
4520LIBS="-lpthreads $LIBS" 4514LIBS="-lpthreads $LIBS"
4521cat > conftest.$ac_ext <<EOF 4515cat > 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() {
4530cma_open() 4524cma_open()
4531; return 0; } 4525; return 0; }
4532EOF 4526EOF
4533if { (eval echo configure:4534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4527if { (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"
4536else 4530else
@@ -4559,7 +4553,7 @@ fi
4559 4553
4560 4554
4561echo $ac_n "checking for XFree86 in /usr/X386""... $ac_c" 1>&6 4555echo $ac_n "checking for XFree86 in /usr/X386""... $ac_c" 1>&6
4562echo "configure:4563: checking for XFree86 in /usr/X386" >&5 4556echo "configure:4557: checking for XFree86 in /usr/X386" >&5
4563if test -d /usr/X386/include; then 4557if 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
4594echo "configure:4595: checking whether X on GNU/Linux needs -b to link" >&5 4588echo "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
4599int main() { 4593int main() {
4600XOpenDisplay ("foo"); 4594XOpenDisplay ("foo");
4601; return 0; } 4595; return 0; }
4602EOF 4596EOF
4603if { (eval echo configure:4604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4597if { (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
4606else 4600else
@@ -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
4626int main() { 4620int main() {
4627XOpenDisplay ("foo"); 4621XOpenDisplay ("foo");
4628; return 0; } 4622; return 0; }
4629EOF 4623EOF
4630if { (eval echo configure:4631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4624if { (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
4633else 4627else
@@ -4657,12 +4651,12 @@ rm -f conftest*
4657XScreenNumberOfScreen XSetWMProtocols 4651XScreenNumberOfScreen XSetWMProtocols
4658do 4652do
4659echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4653echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4660echo "configure:4661: checking for $ac_func" >&5 4654echo "configure:4655: checking for $ac_func" >&5
4661if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4655if 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
4663else 4657else
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; }
4687EOF 4681EOF
4688if { (eval echo configure:4689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4682if { (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"
4691else 4685else
@@ -4713,12 +4707,12 @@ fi
4713 4707
4714if test "${window_system}" = "x11"; then 4708if 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
4716echo "configure:4717: checking X11 version 6" >&5 4710echo "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
4719else 4713else
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>
4724int main() { 4718int main() {
@@ -4728,7 +4722,7 @@ fail;
4728 4722
4729; return 0; } 4723; return 0; }
4730EOF 4724EOF
4731if { (eval echo configure:4732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4725if { (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
4734else 4728else
@@ -4753,12 +4747,12 @@ fi
4753 4747
4754if test "${window_system}" = "x11"; then 4748if 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
4756echo "configure:4757: checking X11 version 5" >&5 4750echo "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
4759else 4753else
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>
4764int main() { 4758int main() {
@@ -4768,7 +4762,7 @@ fail;
4768 4762
4769; return 0; } 4763; return 0; }
4770EOF 4764EOF
4771if { (eval echo configure:4772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4765if { (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
4774else 4768else
@@ -4796,12 +4790,12 @@ fi
4796if test x"${USE_X_TOOLKIT}" = xmaybe; then 4790if 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
4799echo "configure:4800: checking X11 version 5 with Xaw" >&5 4793echo "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
4802else 4796else
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; }
4812EOF 4806EOF
4813if { (eval echo configure:4814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4807if { (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
4816else 4810else
@@ -4838,12 +4832,12 @@ X_TOOLKIT_TYPE=$USE_X_TOOLKIT
4838 4832
4839if test "${USE_X_TOOLKIT}" != "none"; then 4833if 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
4841echo "configure:4842: checking X11 toolkit version" >&5 4835echo "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
4844else 4838else
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>
4849int main() { 4843int main() {
@@ -4853,7 +4847,7 @@ fail;
4853 4847
4854; return 0; } 4848; return 0; }
4855EOF 4849EOF
4856if { (eval echo configure:4857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4850if { (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
4859else 4853else
@@ -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
4886echo "configure:4887: checking for XmuConvertStandardSelection in -lXmu" >&5 4880echo "configure:4881: checking for XmuConvertStandardSelection in -lXmu" >&5
4887ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'` 4881ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'`
4888if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4882if 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"
4892LIBS="-lXmu $LIBS" 4886LIBS="-lXmu $LIBS"
4893cat > conftest.$ac_ext <<EOF 4887cat > 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() {
4902XmuConvertStandardSelection() 4896XmuConvertStandardSelection()
4903; return 0; } 4897; return 0; }
4904EOF 4898EOF
4905if { (eval echo configure:4906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4899if { (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"
4908else 4902else
@@ -4934,12 +4928,12 @@ fi
4934 4928
4935if test "${USE_X_TOOLKIT}" = "MOTIF"; then 4929if 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
4937echo "configure:4938: checking for Motif version 2.1" >&5 4931echo "configure:4932: checking for Motif version 2.1" >&5
4938if eval "test \"`echo '$''{'emacs_cv_motif_version_2_1'+set}'`\" = set"; then 4932if 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
4940else 4934else
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>
4945int main() { 4939int main() {
@@ -4950,7 +4944,7 @@ Motif version prior to 2.1.
4950#endif 4944#endif
4951; return 0; } 4945; return 0; }
4952EOF 4946EOF
4953if { (eval echo configure:4954: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4947if { (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
4956else 4950else
@@ -4970,7 +4964,7 @@ echo "$ac_t""$emacs_cv_motif_version_2_1" 1>&6
4970EOF 4964EOF
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
4973echo "configure:4974: checking for XpCreateContext in -lXp" >&5 4967echo "configure:4968: checking for XpCreateContext in -lXp" >&5
4974ac_lib_var=`echo Xp'_'XpCreateContext | sed 'y%./+-%__p_%'` 4968ac_lib_var=`echo Xp'_'XpCreateContext | sed 'y%./+-%__p_%'`
4975if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4969if 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"
4979LIBS="-lXp -lXext $LIBS" 4973LIBS="-lXp -lXext $LIBS"
4980cat > conftest.$ac_ext <<EOF 4974cat > 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() {
4989XpCreateContext() 4983XpCreateContext()
4990; return 0; } 4984; return 0; }
4991EOF 4985EOF
4992if { (eval echo configure:4993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4986if { (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"
4995else 4989else
@@ -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_%'`
5028echo $ac_n "checking for X11/Xaw3d/Scrollbar.h""... $ac_c" 1>&6 5022echo $ac_n "checking for X11/Xaw3d/Scrollbar.h""... $ac_c" 1>&6
5029echo "configure:5030: checking for X11/Xaw3d/Scrollbar.h" >&5 5023echo "configure:5024: checking for X11/Xaw3d/Scrollbar.h" >&5
5030if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5024if 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
5032else 5026else
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>
5037EOF 5031EOF
5038ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5032ac_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; }
5040ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5034ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5041if test -z "$ac_err"; then 5035if test -z "$ac_err"; then
5042 rm -rf conftest* 5036 rm -rf conftest*
@@ -5053,7 +5047,7 @@ fi
5053if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 5047if 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
5056echo "configure:5057: checking for XawScrollbarSetThumb in -lXaw3d" >&5 5050echo "configure:5051: checking for XawScrollbarSetThumb in -lXaw3d" >&5
5057ac_lib_var=`echo Xaw3d'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` 5051ac_lib_var=`echo Xaw3d'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'`
5058if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5052if 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"
5062LIBS="-lXaw3d -lX11 $LIBS" 5056LIBS="-lXaw3d -lX11 $LIBS"
5063cat > conftest.$ac_ext <<EOF 5057cat > 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() {
5072XawScrollbarSetThumb() 5066XawScrollbarSetThumb()
5073; return 0; } 5067; return 0; }
5074EOF 5068EOF
5075if { (eval echo configure:5076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5069if { (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"
5078else 5072else
@@ -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_%'`
5146echo $ac_n "checking for X11/xpm.h""... $ac_c" 1>&6 5140echo $ac_n "checking for X11/xpm.h""... $ac_c" 1>&6
5147echo "configure:5148: checking for X11/xpm.h" >&5 5141echo "configure:5142: checking for X11/xpm.h" >&5
5148if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5142if 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
5150else 5144else
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>
5155EOF 5149EOF
5156ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5150ac_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; }
5158ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5152ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5159if test -z "$ac_err"; then 5153if test -z "$ac_err"; then
5160 rm -rf conftest* 5154 rm -rf conftest*
@@ -5171,7 +5165,7 @@ fi
5171if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 5165if 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
5174echo "configure:5175: checking for XpmReadFileToPixmap in -lXpm" >&5 5168echo "configure:5169: checking for XpmReadFileToPixmap in -lXpm" >&5
5175ac_lib_var=`echo Xpm'_'XpmReadFileToPixmap | sed 'y%./+-%__p_%'` 5169ac_lib_var=`echo Xpm'_'XpmReadFileToPixmap | sed 'y%./+-%__p_%'`
5176if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5170if 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"
5180LIBS="-lXpm -lX11 $LIBS" 5174LIBS="-lXpm -lX11 $LIBS"
5181cat > conftest.$ac_ext <<EOF 5175cat > 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() {
5190XpmReadFileToPixmap() 5184XpmReadFileToPixmap()
5191; return 0; } 5185; return 0; }
5192EOF 5186EOF
5193if { (eval echo configure:5194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5187if { (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"
5196else 5190else
@@ -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
5219echo "configure:5220: checking for XpmReturnAllocPixels preprocessor define" >&5 5213echo "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_%'`
5263echo $ac_n "checking for jerror.h""... $ac_c" 1>&6 5257echo $ac_n "checking for jerror.h""... $ac_c" 1>&6
5264echo "configure:5265: checking for jerror.h" >&5 5258echo "configure:5259: checking for jerror.h" >&5
5265if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5259if 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
5267else 5261else
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>
5272EOF 5266EOF
5273ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5267ac_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; }
5275ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5269ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5276if test -z "$ac_err"; then 5270if test -z "$ac_err"; then
5277 rm -rf conftest* 5271 rm -rf conftest*
@@ -5288,7 +5282,7 @@ fi
5288if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 5282if 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
5291echo "configure:5292: checking for jpeg_destroy_compress in -ljpeg" >&5 5285echo "configure:5286: checking for jpeg_destroy_compress in -ljpeg" >&5
5292ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'` 5286ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'`
5293if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5287if 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"
5297LIBS="-ljpeg -lX11 $LIBS" 5291LIBS="-ljpeg -lX11 $LIBS"
5298cat > conftest.$ac_ext <<EOF 5292cat > 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() {
5307jpeg_destroy_compress() 5301jpeg_destroy_compress()
5308; return 0; } 5302; return 0; }
5309EOF 5303EOF
5310if { (eval echo configure:5311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5304if { (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"
5313else 5307else
@@ -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_%'`
5352echo $ac_n "checking for png.h""... $ac_c" 1>&6 5346echo $ac_n "checking for png.h""... $ac_c" 1>&6
5353echo "configure:5354: checking for png.h" >&5 5347echo "configure:5348: checking for png.h" >&5
5354if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5348if 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
5356else 5350else
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>
5361EOF 5355EOF
5362ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5356ac_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; }
5364ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5358ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5365if test -z "$ac_err"; then 5359if test -z "$ac_err"; then
5366 rm -rf conftest* 5360 rm -rf conftest*
@@ -5377,7 +5371,7 @@ fi
5377if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 5371if 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
5380echo "configure:5381: checking for png_set_expand in -lpng" >&5 5374echo "configure:5375: checking for png_set_expand in -lpng" >&5
5381ac_lib_var=`echo png'_'png_set_expand | sed 'y%./+-%__p_%'` 5375ac_lib_var=`echo png'_'png_set_expand | sed 'y%./+-%__p_%'`
5382if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5376if 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"
5386LIBS="-lpng -lX11 -lz -lm $LIBS" 5380LIBS="-lpng -lX11 -lz -lm $LIBS"
5387cat > conftest.$ac_ext <<EOF 5381cat > 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() {
5396png_set_expand() 5390png_set_expand()
5397; return 0; } 5391; return 0; }
5398EOF 5392EOF
5399if { (eval echo configure:5400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5393if { (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"
5402else 5396else
@@ -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_%'`
5441echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 5435echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
5442echo "configure:5443: checking for tiffio.h" >&5 5436echo "configure:5437: checking for tiffio.h" >&5
5443if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5437if 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
5445else 5439else
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>
5450EOF 5444EOF
5451ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5445ac_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; }
5453ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5447ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5454if test -z "$ac_err"; then 5448if 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
5472echo "configure:5473: checking for TIFFGetVersion in -ltiff" >&5 5466echo "configure:5467: checking for TIFFGetVersion in -ltiff" >&5
5473ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'` 5467ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'`
5474if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5468if 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"
5478LIBS="-ltiff $tifflibs $LIBS" 5472LIBS="-ltiff $tifflibs $LIBS"
5479cat > conftest.$ac_ext <<EOF 5473cat > 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() {
5488TIFFGetVersion() 5482TIFFGetVersion()
5489; return 0; } 5483; return 0; }
5490EOF 5484EOF
5491if { (eval echo configure:5492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5485if { (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"
5494else 5488else
@@ -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_%'`
5533echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 5527echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6
5534echo "configure:5535: checking for gif_lib.h" >&5 5528echo "configure:5529: checking for gif_lib.h" >&5
5535if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5529if 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
5537else 5531else
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>
5542EOF 5536EOF
5543ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5537ac_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; }
5545ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5539ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5546if test -z "$ac_err"; then 5540if test -z "$ac_err"; then
5547 rm -rf conftest* 5541 rm -rf conftest*
@@ -5558,7 +5552,7 @@ fi
5558if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 5552if 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
5561echo "configure:5562: checking for DGifOpen in -lungif" >&5 5555echo "configure:5556: checking for DGifOpen in -lungif" >&5
5562ac_lib_var=`echo ungif'_'DGifOpen | sed 'y%./+-%__p_%'` 5556ac_lib_var=`echo ungif'_'DGifOpen | sed 'y%./+-%__p_%'`
5563if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5557if 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"
5567LIBS="-lungif -lX11 $LIBS" 5561LIBS="-lungif -lX11 $LIBS"
5568cat > conftest.$ac_ext <<EOF 5562cat > 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() {
5577DGifOpen() 5571DGifOpen()
5578; return 0; } 5572; return 0; }
5579EOF 5573EOF
5580if { (eval echo configure:5581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5574if { (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"
5583else 5577else
@@ -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.
5616echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 5610echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6
5617echo "configure:5618: checking whether netdb declares h_errno" >&5 5611echo "configure:5612: checking whether netdb declares h_errno" >&5
5618if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then 5612if 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
5620else 5614else
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>
5625int main() { 5619int main() {
5626return h_errno; 5620return h_errno;
5627; return 0; } 5621; return 0; }
5628EOF 5622EOF
5629if { (eval echo configure:5630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5623if { (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
5632else 5626else
@@ -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!
5651echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 5645echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
5652echo "configure:5653: checking for working alloca.h" >&5 5646echo "configure:5647: checking for working alloca.h" >&5
5653if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 5647if 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
5655else 5649else
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>
5660int main() { 5654int main() {
5661char *p = alloca(2 * sizeof(int)); 5655void *p = alloca(2 * sizeof(int));
5662; return 0; } 5656; return 0; }
5663EOF 5657EOF
5664if { (eval echo configure:5665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5658if { (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
5667else 5661else
@@ -5682,12 +5676,12 @@ EOF
5682fi 5676fi
5683 5677
5684echo $ac_n "checking for alloca""... $ac_c" 1>&6 5678echo $ac_n "checking for alloca""... $ac_c" 1>&6
5685echo "configure:5686: checking for alloca" >&5 5679echo "configure:5680: checking for alloca" >&5
5686if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 5680if 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
5688else 5682else
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() {
5715char *p = (char *) alloca(1); 5709char *p = (char *) alloca(1);
5716; return 0; } 5710; return 0; }
5717EOF 5711EOF
5718if { (eval echo configure:5719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5712if { (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
5721else 5715else
@@ -5747,12 +5741,12 @@ EOF
5747 5741
5748 5742
5749echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 5743echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
5750echo "configure:5751: checking whether alloca needs Cray hooks" >&5 5744echo "configure:5745: checking whether alloca needs Cray hooks" >&5
5751if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 5745if 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
5753else 5747else
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)
5758webecray 5752webecray
@@ -5777,12 +5771,12 @@ echo "$ac_t""$ac_cv_os_cray" 1>&6
5777if test $ac_cv_os_cray = yes; then 5771if test $ac_cv_os_cray = yes; then
5778for ac_func in _getb67 GETB67 getb67; do 5772for 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
5780echo "configure:5781: checking for $ac_func" >&5 5774echo "configure:5775: checking for $ac_func" >&5
5781if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5775if 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
5783else 5777else
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; }
5807EOF 5801EOF
5808if { (eval echo configure:5809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5802if { (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"
5811else 5805else
@@ -5832,7 +5826,7 @@ done
5832fi 5826fi
5833 5827
5834echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 5828echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
5835echo "configure:5836: checking stack direction for C alloca" >&5 5829echo "configure:5830: checking stack direction for C alloca" >&5
5836if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 5830if 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
5838else 5832else
@@ -5840,7 +5834,7 @@ else
5840 ac_cv_c_stack_direction=0 5834 ac_cv_c_stack_direction=0
5841else 5835else
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"
5845find_stack_direction () 5839find_stack_direction ()
5846{ 5840{
@@ -5859,7 +5853,7 @@ main ()
5859 exit (find_stack_direction() < 0); 5853 exit (find_stack_direction() < 0);
5860} 5854}
5861EOF 5855EOF
5862if { (eval echo configure:5863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 5856if { (eval echo configure:5857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5863then 5857then
5864 ac_cv_c_stack_direction=1 5858 ac_cv_c_stack_direction=1
5865else 5859else
@@ -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.
5886echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 5880echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6
5887echo "configure:5888: checking for sqrt in -lm" >&5 5881echo "configure:5882: checking for sqrt in -lm" >&5
5888ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` 5882ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'`
5889if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5883if 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"
5893LIBS="-lm $LIBS" 5887LIBS="-lm $LIBS"
5894cat > conftest.$ac_ext <<EOF 5888cat > 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() {
5903sqrt() 5897sqrt()
5904; return 0; } 5898; return 0; }
5905EOF 5899EOF
5906if { (eval echo configure:5907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5900if { (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"
5909else 5903else
@@ -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
5935echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6 5929echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6
5936echo "configure:5937: checking for maillock in -lmail" >&5 5930echo "configure:5931: checking for maillock in -lmail" >&5
5937ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'` 5931ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'`
5938if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5932if 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"
5942LIBS="-lmail $LIBS" 5936LIBS="-lmail $LIBS"
5943cat > conftest.$ac_ext <<EOF 5937cat > 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() {
5952maillock() 5946maillock()
5953; return 0; } 5947; return 0; }
5954EOF 5948EOF
5955if { (eval echo configure:5956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5949if { (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"
5958else 5952else
@@ -5980,7 +5974,7 @@ else
5980fi 5974fi
5981 5975
5982echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6 5976echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6
5983echo "configure:5984: checking for maillock in -llockfile" >&5 5977echo "configure:5978: checking for maillock in -llockfile" >&5
5984ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'` 5978ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'`
5985if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5979if 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"
5989LIBS="-llockfile $LIBS" 5983LIBS="-llockfile $LIBS"
5990cat > conftest.$ac_ext <<EOF 5984cat > 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() {
5999maillock() 5993maillock()
6000; return 0; } 5994; return 0; }
6001EOF 5995EOF
6002if { (eval echo configure:6003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5996if { (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"
6005else 5999else
@@ -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.
6034set dummy liblockfile.so; ac_word=$2 6028set dummy liblockfile.so; ac_word=$2
6035echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 6029echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6036echo "configure:6037: checking for $ac_word" >&5 6030echo "configure:6031: checking for $ac_word" >&5
6037if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then 6031if 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
6039else 6033else
@@ -6074,12 +6068,12 @@ fi
6074for ac_func in touchlock 6068for ac_func in touchlock
6075do 6069do
6076echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 6070echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6077echo "configure:6078: checking for $ac_func" >&5 6071echo "configure:6072: checking for $ac_func" >&5
6078if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 6072if 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
6080else 6074else
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; }
6104EOF 6098EOF
6105if { (eval echo configure:6106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6099if { (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"
6108else 6102else
@@ -6130,17 +6124,17 @@ for ac_hdr in maillock.h
6130do 6124do
6131ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6125ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6132echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6126echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6133echo "configure:6134: checking for $ac_hdr" >&5 6127echo "configure:6128: checking for $ac_hdr" >&5
6134if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6128if 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
6136else 6130else
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>
6141EOF 6135EOF
6142ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6136ac_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; }
6144ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6138ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6145if test -z "$ac_err"; then 6139if 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
6176do 6170do
6177echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 6171echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6178echo "configure:6179: checking for $ac_func" >&5 6172echo "configure:6173: checking for $ac_func" >&5
6179if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 6173if 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
6181else 6175else
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; }
6205EOF 6199EOF
6206if { (eval echo configure:6207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6200if { (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"
6209else 6203else
@@ -6232,17 +6226,17 @@ for ac_hdr in sys/time.h unistd.h
6232do 6226do
6233ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6227ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6234echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6228echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6235echo "configure:6236: checking for $ac_hdr" >&5 6229echo "configure:6230: checking for $ac_hdr" >&5
6236if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6230if 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
6238else 6232else
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>
6243EOF 6237EOF
6244ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6238ac_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; }
6246ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6240ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6247if test -z "$ac_err"; then 6241if test -z "$ac_err"; then
6248 rm -rf conftest* 6242 rm -rf conftest*
@@ -6271,12 +6265,12 @@ done
6271for ac_func in alarm 6265for ac_func in alarm
6272do 6266do
6273echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 6267echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6274echo "configure:6275: checking for $ac_func" >&5 6268echo "configure:6269: checking for $ac_func" >&5
6275if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 6269if 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
6277else 6271else
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; }
6301EOF 6295EOF
6302if { (eval echo configure:6303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6296if { (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"
6305else 6299else
@@ -6324,7 +6318,7 @@ fi
6324done 6318done
6325 6319
6326echo $ac_n "checking for working mktime""... $ac_c" 1>&6 6320echo $ac_n "checking for working mktime""... $ac_c" 1>&6
6327echo "configure:6328: checking for working mktime" >&5 6321echo "configure:6322: checking for working mktime" >&5
6328if eval "test \"`echo '$''{'ac_cv_func_working_mktime'+set}'`\" = set"; then 6322if 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
6330else 6324else
@@ -6332,7 +6326,7 @@ else
6332 ac_cv_func_working_mktime=no 6326 ac_cv_func_working_mktime=no
6333else 6327else
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}
6483EOF 6477EOF
6484if { (eval echo configure:6485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 6478if { (eval echo configure:6479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6485then 6479then
6486 ac_cv_func_working_mktime=yes 6480 ac_cv_func_working_mktime=yes
6487else 6481else
@@ -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.
6515echo $ac_n "checking for elf_begin in -lelf""... $ac_c" 1>&6 6509echo $ac_n "checking for elf_begin in -lelf""... $ac_c" 1>&6
6516echo "configure:6517: checking for elf_begin in -lelf" >&5 6510echo "configure:6511: checking for elf_begin in -lelf" >&5
6517ac_lib_var=`echo elf'_'elf_begin | sed 'y%./+-%__p_%'` 6511ac_lib_var=`echo elf'_'elf_begin | sed 'y%./+-%__p_%'`
6518if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6512if 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"
6522LIBS="-lelf $LIBS" 6516LIBS="-lelf $LIBS"
6523cat > conftest.$ac_ext <<EOF 6517cat > 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() {
6532elf_begin() 6526elf_begin()
6533; return 0; } 6527; return 0; }
6534EOF 6528EOF
6535if { (eval echo configure:6536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6529if { (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"
6538else 6532else
@@ -6553,7 +6547,7 @@ else
6553fi 6547fi
6554 6548
6555echo $ac_n "checking for kvm_open in -lkvm""... $ac_c" 1>&6 6549echo $ac_n "checking for kvm_open in -lkvm""... $ac_c" 1>&6
6556echo "configure:6557: checking for kvm_open in -lkvm" >&5 6550echo "configure:6551: checking for kvm_open in -lkvm" >&5
6557ac_lib_var=`echo kvm'_'kvm_open | sed 'y%./+-%__p_%'` 6551ac_lib_var=`echo kvm'_'kvm_open | sed 'y%./+-%__p_%'`
6558if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6552if 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"
6562LIBS="-lkvm $LIBS" 6556LIBS="-lkvm $LIBS"
6563cat > conftest.$ac_ext <<EOF 6557cat > 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() {
6572kvm_open() 6566kvm_open()
6573; return 0; } 6567; return 0; }
6574EOF 6568EOF
6575if { (eval echo configure:6576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6569if { (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"
6578else 6572else
@@ -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.
6596echo $ac_n "checking for getloadavg in -lutil""... $ac_c" 1>&6 6590echo $ac_n "checking for getloadavg in -lutil""... $ac_c" 1>&6
6597echo "configure:6598: checking for getloadavg in -lutil" >&5 6591echo "configure:6592: checking for getloadavg in -lutil" >&5
6598ac_lib_var=`echo util'_'getloadavg | sed 'y%./+-%__p_%'` 6592ac_lib_var=`echo util'_'getloadavg | sed 'y%./+-%__p_%'`
6599if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6593if 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"
6603LIBS="-lutil $LIBS" 6597LIBS="-lutil $LIBS"
6604cat > conftest.$ac_ext <<EOF 6598cat > 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() {
6613getloadavg() 6607getloadavg()
6614; return 0; } 6608; return 0; }
6615EOF 6609EOF
6616if { (eval echo configure:6617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6610if { (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"
6619else 6613else
@@ -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
6642echo "configure:6643: checking for getloadavg in -lgetloadavg" >&5 6636echo "configure:6637: checking for getloadavg in -lgetloadavg" >&5
6643ac_lib_var=`echo getloadavg'_'getloadavg | sed 'y%./+-%__p_%'` 6637ac_lib_var=`echo getloadavg'_'getloadavg | sed 'y%./+-%__p_%'`
6644if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6638if 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"
6648LIBS="-lgetloadavg $LIBS" 6642LIBS="-lgetloadavg $LIBS"
6649cat > conftest.$ac_ext <<EOF 6643cat > 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() {
6658getloadavg() 6652getloadavg()
6659; return 0; } 6653; return 0; }
6660EOF 6654EOF
6661if { (eval echo configure:6662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6655if { (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"
6664else 6658else
@@ -6685,12 +6679,12 @@ fi
6685for ac_func in getloadavg 6679for ac_func in getloadavg
6686do 6680do
6687echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 6681echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6688echo "configure:6689: checking for $ac_func" >&5 6682echo "configure:6683: checking for $ac_func" >&5
6689if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 6683if 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
6691else 6685else
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; }
6715EOF 6709EOF
6716if { (eval echo configure:6717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6710if { (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"
6719else 6713else
@@ -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_%'`
6753echo $ac_n "checking for sys/dg_sys_info.h""... $ac_c" 1>&6 6747echo $ac_n "checking for sys/dg_sys_info.h""... $ac_c" 1>&6
6754echo "configure:6755: checking for sys/dg_sys_info.h" >&5 6748echo "configure:6749: checking for sys/dg_sys_info.h" >&5
6755if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6749if 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
6757else 6751else
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>
6762EOF 6756EOF
6763ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6757ac_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; }
6765ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6759ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6766if test -z "$ac_err"; then 6760if 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
6782EOF 6776EOF
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
6785echo "configure:6786: checking for dg_sys_info in -ldgc" >&5 6779echo "configure:6780: checking for dg_sys_info in -ldgc" >&5
6786ac_lib_var=`echo dgc'_'dg_sys_info | sed 'y%./+-%__p_%'` 6780ac_lib_var=`echo dgc'_'dg_sys_info | sed 'y%./+-%__p_%'`
6787if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6781if 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"
6791LIBS="-ldgc $LIBS" 6785LIBS="-ldgc $LIBS"
6792cat > conftest.$ac_ext <<EOF 6786cat > 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() {
6801dg_sys_info() 6795dg_sys_info()
6802; return 0; } 6796; return 0; }
6803EOF 6797EOF
6804if { (eval echo configure:6805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6798if { (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"
6807else 6801else
@@ -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_%'`
6848echo $ac_n "checking for inq_stats/cpustats.h""... $ac_c" 1>&6 6842echo $ac_n "checking for inq_stats/cpustats.h""... $ac_c" 1>&6
6849echo "configure:6850: checking for inq_stats/cpustats.h" >&5 6843echo "configure:6844: checking for inq_stats/cpustats.h" >&5
6850if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6844if 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
6852else 6846else
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>
6857EOF 6851EOF
6858ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6852ac_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; }
6860ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6854ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6861if test -z "$ac_err"; then 6855if 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_%'`
6891echo $ac_n "checking for sys/cpustats.h""... $ac_c" 1>&6 6885echo $ac_n "checking for sys/cpustats.h""... $ac_c" 1>&6
6892echo "configure:6893: checking for sys/cpustats.h" >&5 6886echo "configure:6887: checking for sys/cpustats.h" >&5
6893if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6887if 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
6895else 6889else
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>
6900EOF 6894EOF
6901ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6895ac_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; }
6903ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6897ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6904if test -z "$ac_err"; then 6898if test -z "$ac_err"; then
6905 rm -rf conftest* 6899 rm -rf conftest*
@@ -6930,17 +6924,17 @@ fi
6930do 6924do
6931ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6925ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6932echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6926echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6933echo "configure:6934: checking for $ac_hdr" >&5 6927echo "configure:6928: checking for $ac_hdr" >&5
6934if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6928if 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
6936else 6930else
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>
6941EOF 6935EOF
6942ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6936ac_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; }
6944ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6938ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6945if test -z "$ac_err"; then 6939if 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_%'`
6972echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 6966echo $ac_n "checking for nlist.h""... $ac_c" 1>&6
6973echo "configure:6974: checking for nlist.h" >&5 6967echo "configure:6968: checking for nlist.h" >&5
6974if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6968if 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
6976else 6970else
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>
6981EOF 6975EOF
6982ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6976ac_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; }
6984ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6978ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6985if test -z "$ac_err"; then 6979if 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
7001EOF 6995EOF
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
7004echo "configure:7005: checking for n_un in struct nlist" >&5 6998echo "configure:6999: checking for n_un in struct nlist" >&5
7005if eval "test \"`echo '$''{'ac_cv_struct_nlist_n_un'+set}'`\" = set"; then 6999if 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
7007else 7001else
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>
7012int main() { 7006int main() {
7013struct nlist n; n.n_un.n_name = 0; 7007struct nlist n; n.n_un.n_name = 0;
7014; return 0; } 7008; return 0; }
7015EOF 7009EOF
7016if { (eval echo configure:7017: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 7010if { (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
7019else 7013else
@@ -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.
7042echo $ac_n "checking whether getloadavg requires setgid""... $ac_c" 1>&6 7036echo $ac_n "checking whether getloadavg requires setgid""... $ac_c" 1>&6
7043echo "configure:7044: checking whether getloadavg requires setgid" >&5 7037echo "configure:7038: checking whether getloadavg requires setgid" >&5
7044if eval "test \"`echo '$''{'ac_cv_func_getloadavg_setgid'+set}'`\" = set"; then 7038if 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
7046else 7040else
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
7077if test $ac_cv_func_getloadavg_setgid = yes; then 7071if 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
7079echo "configure:7080: checking group of /dev/kmem" >&5 7073echo "configure:7074: checking group of /dev/kmem" >&5
7080if eval "test \"`echo '$''{'ac_cv_group_kmem'+set}'`\" = set"; then 7074if 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
7082else 7076else
@@ -7099,12 +7093,12 @@ fi
7099for ac_func in ftello 7093for ac_func in ftello
7100do 7094do
7101echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 7095echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7102echo "configure:7103: checking for $ac_func" >&5 7096echo "configure:7097: checking for $ac_func" >&5
7103if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 7097if 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
7105else 7099else
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; }
7129EOF 7123EOF
7130if { (eval echo configure:7131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7124if { (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"
7133else 7127else
@@ -7157,12 +7151,12 @@ done
7157for ac_func in grantpt 7151for ac_func in grantpt
7158do 7152do
7159echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 7153echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7160echo "configure:7161: checking for $ac_func" >&5 7154echo "configure:7155: checking for $ac_func" >&5
7161if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 7155if 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
7163else 7157else
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; }
7187EOF 7181EOF
7188if { (eval echo configure:7189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7182if { (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"
7191else 7185else
@@ -7214,12 +7208,12 @@ done
7214for ac_func in getpt 7208for ac_func in getpt
7215do 7209do
7216echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 7210echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7217echo "configure:7218: checking for $ac_func" >&5 7211echo "configure:7212: checking for $ac_func" >&5
7218if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 7212if 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
7220else 7214else
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; }
7244EOF 7238EOF
7245if { (eval echo configure:7246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7239if { (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"
7248else 7242else
@@ -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.
7274echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6 7268echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6
7275echo "configure:7276: checking for tparm in -lncurses" >&5 7269echo "configure:7270: checking for tparm in -lncurses" >&5
7276ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'` 7270ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'`
7277if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7271if 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"
7281LIBS="-lncurses $LIBS" 7275LIBS="-lncurses $LIBS"
7282cat > conftest.$ac_ext <<EOF 7276cat > 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() {
7291tparm() 7285tparm()
7292; return 0; } 7286; return 0; }
7293EOF 7287EOF
7294if { (eval echo configure:7295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7288if { (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"
7297else 7291else
@@ -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.
7323if test "${with_kerberos+set}" = set; then 7317if 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
7325echo "configure:7326: checking for com_err in -lcom_err" >&5 7319echo "configure:7320: checking for com_err in -lcom_err" >&5
7326ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'` 7320ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'`
7327if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7321if 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"
7331LIBS="-lcom_err $LIBS" 7325LIBS="-lcom_err $LIBS"
7332cat > conftest.$ac_ext <<EOF 7326cat > 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() {
7341com_err() 7335com_err()
7342; return 0; } 7336; return 0; }
7343EOF 7337EOF
7344if { (eval echo configure:7345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7338if { (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"
7347else 7341else
@@ -7369,7 +7363,7 @@ else
7369fi 7363fi
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
7372echo "configure:7373: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 7366echo "configure:7367: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
7373ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` 7367ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'`
7374if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7368if 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"
7378LIBS="-lk5crypto $LIBS" 7372LIBS="-lk5crypto $LIBS"
7379cat > conftest.$ac_ext <<EOF 7373cat > 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() {
7388mit_des_cbc_encrypt() 7382mit_des_cbc_encrypt()
7389; return 0; } 7383; return 0; }
7390EOF 7384EOF
7391if { (eval echo configure:7392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7385if { (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"
7394else 7388else
@@ -7416,7 +7410,7 @@ else
7416fi 7410fi
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
7419echo "configure:7420: checking for mit_des_cbc_encrypt in -lcrypto" >&5 7413echo "configure:7414: checking for mit_des_cbc_encrypt in -lcrypto" >&5
7420ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` 7414ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'`
7421if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7415if 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"
7425LIBS="-lcrypto $LIBS" 7419LIBS="-lcrypto $LIBS"
7426cat > conftest.$ac_ext <<EOF 7420cat > 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() {
7435mit_des_cbc_encrypt() 7429mit_des_cbc_encrypt()
7436; return 0; } 7430; return 0; }
7437EOF 7431EOF
7438if { (eval echo configure:7439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7432if { (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"
7441else 7435else
@@ -7463,7 +7457,7 @@ else
7463fi 7457fi
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
7466echo "configure:7467: checking for krb5_init_context in -lkrb5" >&5 7460echo "configure:7461: checking for krb5_init_context in -lkrb5" >&5
7467ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'` 7461ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'`
7468if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7462if 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"
7472LIBS="-lkrb5 $LIBS" 7466LIBS="-lkrb5 $LIBS"
7473cat > conftest.$ac_ext <<EOF 7467cat > 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() {
7482krb5_init_context() 7476krb5_init_context()
7483; return 0; } 7477; return 0; }
7484EOF 7478EOF
7485if { (eval echo configure:7486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7479if { (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"
7488else 7482else
@@ -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
7514echo "configure:7515: checking for des_cbc_encrypt in -ldes425" >&5 7508echo "configure:7509: checking for des_cbc_encrypt in -ldes425" >&5
7515ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` 7509ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'`
7516if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7510if 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"
7520LIBS="-ldes425 $LIBS" 7514LIBS="-ldes425 $LIBS"
7521cat > conftest.$ac_ext <<EOF 7515cat > 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() {
7530des_cbc_encrypt() 7524des_cbc_encrypt()
7531; return 0; } 7525; return 0; }
7532EOF 7526EOF
7533if { (eval echo configure:7534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7527if { (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"
7536else 7530else
@@ -7556,7 +7550,7 @@ EOF
7556else 7550else
7557 echo "$ac_t""no" 1>&6 7551 echo "$ac_t""no" 1>&6
7558echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6 7552echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6
7559echo "configure:7560: checking for des_cbc_encrypt in -ldes" >&5 7553echo "configure:7554: checking for des_cbc_encrypt in -ldes" >&5
7560ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` 7554ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'`
7561if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7555if 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"
7565LIBS="-ldes $LIBS" 7559LIBS="-ldes $LIBS"
7566cat > conftest.$ac_ext <<EOF 7560cat > 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() {
7575des_cbc_encrypt() 7569des_cbc_encrypt()
7576; return 0; } 7570; return 0; }
7577EOF 7571EOF
7578if { (eval echo configure:7579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7572if { (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"
7581else 7575else
@@ -7605,7 +7599,7 @@ fi
7605fi 7599fi
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
7608echo "configure:7609: checking for krb_get_cred in -lkrb4" >&5 7602echo "configure:7603: checking for krb_get_cred in -lkrb4" >&5
7609ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'` 7603ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'`
7610if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7604if 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"
7614LIBS="-lkrb4 $LIBS" 7608LIBS="-lkrb4 $LIBS"
7615cat > conftest.$ac_ext <<EOF 7609cat > 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() {
7624krb_get_cred() 7618krb_get_cred()
7625; return 0; } 7619; return 0; }
7626EOF 7620EOF
7627if { (eval echo configure:7628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7621if { (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"
7630else 7624else
@@ -7650,7 +7644,7 @@ EOF
7650else 7644else
7651 echo "$ac_t""no" 1>&6 7645 echo "$ac_t""no" 1>&6
7652echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6 7646echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6
7653echo "configure:7654: checking for krb_get_cred in -lkrb" >&5 7647echo "configure:7648: checking for krb_get_cred in -lkrb" >&5
7654ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'` 7648ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'`
7655if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7649if 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"
7659LIBS="-lkrb $LIBS" 7653LIBS="-lkrb $LIBS"
7660cat > conftest.$ac_ext <<EOF 7654cat > 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() {
7669krb_get_cred() 7663krb_get_cred()
7670; return 0; } 7664; return 0; }
7671EOF 7665EOF
7672if { (eval echo configure:7673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7666if { (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"
7675else 7669else
@@ -7705,17 +7699,17 @@ fi
7705do 7699do
7706ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7700ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7707echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7701echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7708echo "configure:7709: checking for $ac_hdr" >&5 7702echo "configure:7703: checking for $ac_hdr" >&5
7709if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7703if 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
7711else 7705else
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>
7716EOF 7710EOF
7717ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7711ac_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; }
7719ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7713ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7720if test -z "$ac_err"; then 7714if test -z "$ac_err"; then
7721 rm -rf conftest* 7715 rm -rf conftest*
@@ -7746,17 +7740,17 @@ done
7746do 7740do
7747ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7741ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7748echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7742echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7749echo "configure:7750: checking for $ac_hdr" >&5 7743echo "configure:7744: checking for $ac_hdr" >&5
7750if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7744if 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
7752else 7746else
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>
7757EOF 7751EOF
7758ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7752ac_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; }
7760ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7754ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7761if test -z "$ac_err"; then 7755if test -z "$ac_err"; then
7762 rm -rf conftest* 7756 rm -rf conftest*
@@ -7783,17 +7777,17 @@ for ac_hdr in kerberosIV/des.h
7783do 7777do
7784ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7778ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7785echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7779echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7786echo "configure:7787: checking for $ac_hdr" >&5 7780echo "configure:7781: checking for $ac_hdr" >&5
7787if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7781if 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
7789else 7783else
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>
7794EOF 7788EOF
7795ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7789ac_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; }
7797ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7791ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7798if test -z "$ac_err"; then 7792if test -z "$ac_err"; then
7799 rm -rf conftest* 7793 rm -rf conftest*
@@ -7820,17 +7814,17 @@ for ac_hdr in kerberos/des.h
7820do 7814do
7821ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7815ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7822echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7816echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7823echo "configure:7824: checking for $ac_hdr" >&5 7817echo "configure:7818: checking for $ac_hdr" >&5
7824if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7818if 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
7826else 7820else
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>
7831EOF 7825EOF
7832ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7826ac_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; }
7834ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7828ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7835if test -z "$ac_err"; then 7829if test -z "$ac_err"; then
7836 rm -rf conftest* 7830 rm -rf conftest*
@@ -7866,17 +7860,17 @@ done
7866do 7860do
7867ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7861ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7868echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7862echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7869echo "configure:7870: checking for $ac_hdr" >&5 7863echo "configure:7864: checking for $ac_hdr" >&5
7870if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7864if 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
7872else 7866else
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>
7877EOF 7871EOF
7878ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7872ac_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; }
7880ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7874ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7881if test -z "$ac_err"; then 7875if test -z "$ac_err"; then
7882 rm -rf conftest* 7876 rm -rf conftest*
@@ -7903,17 +7897,17 @@ for ac_hdr in kerberosIV/krb.h
7903do 7897do
7904ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7898ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7905echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7899echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7906echo "configure:7907: checking for $ac_hdr" >&5 7900echo "configure:7901: checking for $ac_hdr" >&5
7907if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7901if 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
7909else 7903else
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>
7914EOF 7908EOF
7915ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7909ac_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; }
7917ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7911ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7918if test -z "$ac_err"; then 7912if test -z "$ac_err"; then
7919 rm -rf conftest* 7913 rm -rf conftest*
@@ -7940,17 +7934,17 @@ for ac_hdr in kerberos/krb.h
7940do 7934do
7941ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7935ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7942echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7936echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7943echo "configure:7944: checking for $ac_hdr" >&5 7937echo "configure:7938: checking for $ac_hdr" >&5
7944if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7938if 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
7946else 7940else
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>
7951EOF 7945EOF
7952ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7946ac_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; }
7954ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7948ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7955if test -z "$ac_err"; then 7949if test -z "$ac_err"; then
7956 rm -rf conftest* 7950 rm -rf conftest*
@@ -7987,17 +7981,17 @@ done
7987do 7981do
7988ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7982ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7989echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7983echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7990echo "configure:7991: checking for $ac_hdr" >&5 7984echo "configure:7985: checking for $ac_hdr" >&5
7991if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7985if 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
7993else 7987else
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>
7998EOF 7992EOF
7999ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7993ac_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; }
8001ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7995ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8002if test -z "$ac_err"; then 7996if 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.
8030echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6 8024echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6
8031echo "configure:8032: checking for dgettext in -lintl" >&5 8025echo "configure:8026: checking for dgettext in -lintl" >&5
8032ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'` 8026ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'`
8033if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 8027if 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"
8037LIBS="-lintl $LIBS" 8031LIBS="-lintl $LIBS"
8038cat > conftest.$ac_ext <<EOF 8032cat > 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() {
8047dgettext() 8041dgettext()
8048; return 0; } 8042; return 0; }
8049EOF 8043EOF
8050if { (eval echo configure:8051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8044if { (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"
8053else 8047else
@@ -8076,7 +8070,7 @@ fi
8076 8070
8077 8071
8078echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 8072echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6
8079echo "configure:8080: checking whether localtime caches TZ" >&5 8073echo "configure:8074: checking whether localtime caches TZ" >&5
8080if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then 8074if 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
8082else 8076else
@@ -8086,7 +8080,7 @@ if test "$cross_compiling" = yes; then
8086emacs_cv_localtime_cache=yes 8080emacs_cv_localtime_cache=yes
8087else 8081else
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>
8092extern char **environ; 8086extern char **environ;
@@ -8118,7 +8112,7 @@ main()
8118 exit (0); 8112 exit (0);
8119} 8113}
8120EOF 8114EOF
8121if { (eval echo configure:8122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 8115if { (eval echo configure:8116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8122then 8116then
8123 emacs_cv_localtime_cache=no 8117 emacs_cv_localtime_cache=no
8124else 8118else
@@ -8148,12 +8142,12 @@ if test "x$HAVE_TIMEVAL" = xyes; then
8148 for ac_func in gettimeofday 8142 for ac_func in gettimeofday
8149do 8143do
8150echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 8144echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8151echo "configure:8152: checking for $ac_func" >&5 8145echo "configure:8146: checking for $ac_func" >&5
8152if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 8146if 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
8154else 8148else
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; }
8178EOF 8172EOF
8179if { (eval echo configure:8180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8173if { (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"
8182else 8176else
@@ -8201,12 +8195,12 @@ fi
8201done 8195done
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
8204echo "configure:8205: checking whether gettimeofday can accept two arguments" >&5 8198echo "configure:8199: checking whether gettimeofday can accept two arguments" >&5
8205if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then 8199if 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
8207else 8201else
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; }
8226EOF 8220EOF
8227if { (eval echo configure:8228: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 8221if { (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
8230else 8224else
@@ -8247,25 +8241,25 @@ fi
8247 8241
8248if test "$ac_cv_func_gettimeofday" = yes; then 8242if 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
8250echo "configure:8251: checking for struct timezone" >&5 8244echo "configure:8245: checking for struct timezone" >&5
8251if eval "test \"`echo '$''{'emacs_cv_struct_timezone'+set}'`\" = set"; then 8245if 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
8253else 8247else
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>
8258int main() { 8252int main() {
8259struct timezone tz; 8253struct timezone tz;
8260; return 0; } 8254; return 0; }
8261EOF 8255EOF
8262if { (eval echo configure:8263: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 8256if { (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
8266else 8260else
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}
8286EOF 8280EOF
8287if { (eval echo configure:8288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 8281if { (eval echo configure:8282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8288then 8282then
8289 emacs_cv_struct_timezone=yes 8283 emacs_cv_struct_timezone=yes
8290else 8284else
@@ -8310,12 +8304,12 @@ fi
8310 8304
8311ok_so_far=yes 8305ok_so_far=yes
8312echo $ac_n "checking for socket""... $ac_c" 1>&6 8306echo $ac_n "checking for socket""... $ac_c" 1>&6
8313echo "configure:8314: checking for socket" >&5 8307echo "configure:8308: checking for socket" >&5
8314if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then 8308if 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
8316else 8310else
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; }
8340EOF 8334EOF
8341if { (eval echo configure:8342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8335if { (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"
8344else 8338else
@@ -8361,17 +8355,17 @@ fi
8361if test $ok_so_far = yes; then 8355if 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_%'`
8363echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 8357echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6
8364echo "configure:8365: checking for netinet/in.h" >&5 8358echo "configure:8359: checking for netinet/in.h" >&5
8365if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 8359if 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
8367else 8361else
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>
8372EOF 8366EOF
8373ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8367ac_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; }
8375ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8369ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8376if test -z "$ac_err"; then 8370if test -z "$ac_err"; then
8377 rm -rf conftest* 8371 rm -rf conftest*
@@ -8397,17 +8391,17 @@ fi
8397if test $ok_so_far = yes; then 8391if 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_%'`
8399echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 8393echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6
8400echo "configure:8401: checking for arpa/inet.h" >&5 8394echo "configure:8395: checking for arpa/inet.h" >&5
8401if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 8395if 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
8403else 8397else
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>
8408EOF 8402EOF
8409ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8403ac_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; }
8411ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8405ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8412if test -z "$ac_err"; then 8406if test -z "$ac_err"; then
8413 rm -rf conftest* 8407 rm -rf conftest*
@@ -8445,7 +8439,7 @@ EOF
8445fi 8439fi
8446 8440
8447echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6 8441echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6
8448echo "configure:8449: checking whether system supports dynamic ptys" >&5 8442echo "configure:8443: checking whether system supports dynamic ptys" >&5
8449if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then 8443if 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
8457fi 8451fi
8458 8452
8459echo $ac_n "checking for pid_t""... $ac_c" 1>&6 8453echo $ac_n "checking for pid_t""... $ac_c" 1>&6
8460echo "configure:8461: checking for pid_t" >&5 8454echo "configure:8455: checking for pid_t" >&5
8461if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then 8455if 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
8463else 8457else
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
8492ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` 8486ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'`
8493echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 8487echo $ac_n "checking for vfork.h""... $ac_c" 1>&6
8494echo "configure:8495: checking for vfork.h" >&5 8488echo "configure:8489: checking for vfork.h" >&5
8495if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 8489if 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
8497else 8491else
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>
8502EOF 8496EOF
8503ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8497ac_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; }
8505ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8499ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8506if test -z "$ac_err"; then 8500if test -z "$ac_err"; then
8507 rm -rf conftest* 8501 rm -rf conftest*
@@ -8526,18 +8520,18 @@ else
8526fi 8520fi
8527 8521
8528echo $ac_n "checking for working vfork""... $ac_c" 1>&6 8522echo $ac_n "checking for working vfork""... $ac_c" 1>&6
8529echo "configure:8530: checking for working vfork" >&5 8523echo "configure:8524: checking for working vfork" >&5
8530if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then 8524if 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
8532else 8526else
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
8535echo "configure:8536: checking for vfork" >&5 8529echo "configure:8530: checking for vfork" >&5
8536if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then 8530if 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
8538else 8532else
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; }
8562EOF 8556EOF
8563if { (eval echo configure:8564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8557if { (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"
8566else 8560else
@@ -8582,7 +8576,7 @@ fi
8582ac_cv_func_vfork_works=$ac_cv_func_vfork 8576ac_cv_func_vfork_works=$ac_cv_func_vfork
8583else 8577else
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}
8679EOF 8673EOF
8680if { (eval echo configure:8681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 8674if { (eval echo configure:8675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8681then 8675then
8682 ac_cv_func_vfork_works=yes 8676 ac_cv_func_vfork_works=yes
8683else 8677else
@@ -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.
8704echo $ac_n "checking for size_t""... $ac_c" 1>&6 8698echo $ac_n "checking for size_t""... $ac_c" 1>&6
8705echo "configure:8706: checking for size_t" >&5 8699echo "configure:8700: checking for size_t" >&5
8706if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then 8700if 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
8708else 8702else
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