aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure591
1 files changed, 297 insertions, 294 deletions
diff --git a/configure b/configure
index befe1a6a49d..09f03f07ec0 100755
--- a/configure
+++ b/configure
@@ -3804,10 +3804,13 @@ if test "${x_libraries}" != NONE && test -n "${x_libraries}"; then
3804 LD_SWITCH_X_SITE_AUX=-R`echo ${x_libraries} | sed -e "s/:/ -R/g"` 3804 LD_SWITCH_X_SITE_AUX=-R`echo ${x_libraries} | sed -e "s/:/ -R/g"`
3805 x_default_search_path="" 3805 x_default_search_path=""
3806 for x_library in `echo ${x_libraries} | sed -e "s/:/ /g"`; do 3806 for x_library in `echo ${x_libraries} | sed -e "s/:/ /g"`; do
3807 x_search_path="${x_library}/X11/%L/%T/%N%C%S:\ 3807 x_search_path="\
3808${x_library}/X11/%L/%T/%N%C%S:${x_libary}/X11/%l/%T/%N%C%S:\ 3808${x_library}/X11/%L/%T/%N%C%S:\
3809${x_library}/X11/%T/%N%C%S:${x_library}/X11/%L/%T/%N%S:\ 3809${x_library}/X11/%l/%T/%N%C%S:\
3810${x_library}/X11/%l/%T/%N%S:${x_library}/X11/%T/%N%S" 3810${x_library}/X11/%T/%N%C%S:\
3811${x_library}/X11/%L/%T/%N%S:\
3812${x_library}/X11/%l/%T/%N%S:\
3813${x_library}/X11/%T/%N%S"
3811 if test x"${x_default_search_path}" = x; then 3814 if test x"${x_default_search_path}" = x; then
3812 x_default_search_path=${x_search_path} 3815 x_default_search_path=${x_search_path}
3813 else 3816 else
@@ -3885,12 +3888,12 @@ UNEXEC_SRC="`echo ${unexec} | sed 's/\.o/.c/'`"
3885GNU_MALLOC=yes 3888GNU_MALLOC=yes
3886doug_lea_malloc=yes 3889doug_lea_malloc=yes
3887echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 3890echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6
3888echo "configure:3889: checking for malloc_get_state" >&5 3891echo "configure:3892: checking for malloc_get_state" >&5
3889if eval "test \"`echo '$''{'ac_cv_func_malloc_get_state'+set}'`\" = set"; then 3892if eval "test \"`echo '$''{'ac_cv_func_malloc_get_state'+set}'`\" = set"; then
3890 echo $ac_n "(cached) $ac_c" 1>&6 3893 echo $ac_n "(cached) $ac_c" 1>&6
3891else 3894else
3892 cat > conftest.$ac_ext <<EOF 3895 cat > conftest.$ac_ext <<EOF
3893#line 3894 "configure" 3896#line 3897 "configure"
3894#include "confdefs.h" 3897#include "confdefs.h"
3895/* System header to define __stub macros and hopefully few prototypes, 3898/* System header to define __stub macros and hopefully few prototypes,
3896 which can conflict with char malloc_get_state(); below. */ 3899 which can conflict with char malloc_get_state(); below. */
@@ -3913,7 +3916,7 @@ malloc_get_state();
3913 3916
3914; return 0; } 3917; return 0; }
3915EOF 3918EOF
3916if { (eval echo configure:3917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3919if { (eval echo configure:3920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3917 rm -rf conftest* 3920 rm -rf conftest*
3918 eval "ac_cv_func_malloc_get_state=yes" 3921 eval "ac_cv_func_malloc_get_state=yes"
3919else 3922else
@@ -3934,12 +3937,12 @@ doug_lea_malloc=no
3934fi 3937fi
3935 3938
3936echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 3939echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6
3937echo "configure:3938: checking for malloc_set_state" >&5 3940echo "configure:3941: checking for malloc_set_state" >&5
3938if eval "test \"`echo '$''{'ac_cv_func_malloc_set_state'+set}'`\" = set"; then 3941if eval "test \"`echo '$''{'ac_cv_func_malloc_set_state'+set}'`\" = set"; then
3939 echo $ac_n "(cached) $ac_c" 1>&6 3942 echo $ac_n "(cached) $ac_c" 1>&6
3940else 3943else
3941 cat > conftest.$ac_ext <<EOF 3944 cat > conftest.$ac_ext <<EOF
3942#line 3943 "configure" 3945#line 3946 "configure"
3943#include "confdefs.h" 3946#include "confdefs.h"
3944/* System header to define __stub macros and hopefully few prototypes, 3947/* System header to define __stub macros and hopefully few prototypes,
3945 which can conflict with char malloc_set_state(); below. */ 3948 which can conflict with char malloc_set_state(); below. */
@@ -3962,7 +3965,7 @@ malloc_set_state();
3962 3965
3963; return 0; } 3966; return 0; }
3964EOF 3967EOF
3965if { (eval echo configure:3966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3968if { (eval echo configure:3969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3966 rm -rf conftest* 3969 rm -rf conftest*
3967 eval "ac_cv_func_malloc_set_state=yes" 3970 eval "ac_cv_func_malloc_set_state=yes"
3968else 3971else
@@ -3983,19 +3986,19 @@ doug_lea_malloc=no
3983fi 3986fi
3984 3987
3985echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 3988echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6
3986echo "configure:3987: checking whether __after_morecore_hook exists" >&5 3989echo "configure:3990: checking whether __after_morecore_hook exists" >&5
3987if eval "test \"`echo '$''{'emacs_cv_var___after_morecore_hook'+set}'`\" = set"; then 3990if eval "test \"`echo '$''{'emacs_cv_var___after_morecore_hook'+set}'`\" = set"; then
3988 echo $ac_n "(cached) $ac_c" 1>&6 3991 echo $ac_n "(cached) $ac_c" 1>&6
3989else 3992else
3990 cat > conftest.$ac_ext <<EOF 3993 cat > conftest.$ac_ext <<EOF
3991#line 3992 "configure" 3994#line 3995 "configure"
3992#include "confdefs.h" 3995#include "confdefs.h"
3993extern void (* __after_morecore_hook)(); 3996extern void (* __after_morecore_hook)();
3994int main() { 3997int main() {
3995__after_morecore_hook = 0 3998__after_morecore_hook = 0
3996; return 0; } 3999; return 0; }
3997EOF 4000EOF
3998if { (eval echo configure:3999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4001if { (eval echo configure:4002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3999 rm -rf conftest* 4002 rm -rf conftest*
4000 emacs_cv_var___after_morecore_hook=yes 4003 emacs_cv_var___after_morecore_hook=yes
4001else 4004else
@@ -4036,17 +4039,17 @@ for ac_hdr in stdlib.h unistd.h sys/stat.h
4036do 4039do
4037ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 4040ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4038echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 4041echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4039echo "configure:4040: checking for $ac_hdr" >&5 4042echo "configure:4043: checking for $ac_hdr" >&5
4040if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4043if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4041 echo $ac_n "(cached) $ac_c" 1>&6 4044 echo $ac_n "(cached) $ac_c" 1>&6
4042else 4045else
4043 cat > conftest.$ac_ext <<EOF 4046 cat > conftest.$ac_ext <<EOF
4044#line 4045 "configure" 4047#line 4048 "configure"
4045#include "confdefs.h" 4048#include "confdefs.h"
4046#include <$ac_hdr> 4049#include <$ac_hdr>
4047EOF 4050EOF
4048ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4051ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4049{ (eval echo configure:4050: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4052{ (eval echo configure:4053: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4050ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4053ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4051if test -z "$ac_err"; then 4054if test -z "$ac_err"; then
4052 rm -rf conftest* 4055 rm -rf conftest*
@@ -4075,12 +4078,12 @@ done
4075for ac_func in getpagesize 4078for ac_func in getpagesize
4076do 4079do
4077echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4080echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4078echo "configure:4079: checking for $ac_func" >&5 4081echo "configure:4082: checking for $ac_func" >&5
4079if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4082if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4080 echo $ac_n "(cached) $ac_c" 1>&6 4083 echo $ac_n "(cached) $ac_c" 1>&6
4081else 4084else
4082 cat > conftest.$ac_ext <<EOF 4085 cat > conftest.$ac_ext <<EOF
4083#line 4084 "configure" 4086#line 4087 "configure"
4084#include "confdefs.h" 4087#include "confdefs.h"
4085/* System header to define __stub macros and hopefully few prototypes, 4088/* System header to define __stub macros and hopefully few prototypes,
4086 which can conflict with char $ac_func(); below. */ 4089 which can conflict with char $ac_func(); below. */
@@ -4103,7 +4106,7 @@ $ac_func();
4103 4106
4104; return 0; } 4107; return 0; }
4105EOF 4108EOF
4106if { (eval echo configure:4107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4109if { (eval echo configure:4110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4107 rm -rf conftest* 4110 rm -rf conftest*
4108 eval "ac_cv_func_$ac_func=yes" 4111 eval "ac_cv_func_$ac_func=yes"
4109else 4112else
@@ -4128,7 +4131,7 @@ fi
4128done 4131done
4129 4132
4130echo $ac_n "checking for working mmap""... $ac_c" 1>&6 4133echo $ac_n "checking for working mmap""... $ac_c" 1>&6
4131echo "configure:4132: checking for working mmap" >&5 4134echo "configure:4135: checking for working mmap" >&5
4132if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then 4135if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
4133 echo $ac_n "(cached) $ac_c" 1>&6 4136 echo $ac_n "(cached) $ac_c" 1>&6
4134else 4137else
@@ -4136,7 +4139,7 @@ else
4136 ac_cv_func_mmap_fixed_mapped=no 4139 ac_cv_func_mmap_fixed_mapped=no
4137else 4140else
4138 cat > conftest.$ac_ext <<EOF 4141 cat > conftest.$ac_ext <<EOF
4139#line 4140 "configure" 4142#line 4143 "configure"
4140#include "confdefs.h" 4143#include "confdefs.h"
4141/* Thanks to Mike Haertel and Jim Avera for this test. 4144/* Thanks to Mike Haertel and Jim Avera for this test.
4142 Here is a matrix of mmap possibilities: 4145 Here is a matrix of mmap possibilities:
@@ -4270,7 +4273,7 @@ main ()
4270 exit (0); 4273 exit (0);
4271} 4274}
4272EOF 4275EOF
4273if { (eval echo configure:4274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 4276if { (eval echo configure:4277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4274then 4277then
4275 ac_cv_func_mmap_fixed_mapped=yes 4278 ac_cv_func_mmap_fixed_mapped=yes
4276else 4279else
@@ -4299,7 +4302,7 @@ fi
4299LIBS="$libsrc_libs $LIBS" 4302LIBS="$libsrc_libs $LIBS"
4300 4303
4301echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 4304echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
4302echo "configure:4303: checking for dnet_ntoa in -ldnet" >&5 4305echo "configure:4306: checking for dnet_ntoa in -ldnet" >&5
4303ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` 4306ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
4304if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4307if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4305 echo $ac_n "(cached) $ac_c" 1>&6 4308 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4307,7 +4310,7 @@ else
4307 ac_save_LIBS="$LIBS" 4310 ac_save_LIBS="$LIBS"
4308LIBS="-ldnet $LIBS" 4311LIBS="-ldnet $LIBS"
4309cat > conftest.$ac_ext <<EOF 4312cat > conftest.$ac_ext <<EOF
4310#line 4311 "configure" 4313#line 4314 "configure"
4311#include "confdefs.h" 4314#include "confdefs.h"
4312/* Override any gcc2 internal prototype to avoid an error. */ 4315/* Override any gcc2 internal prototype to avoid an error. */
4313/* We use char because int might match the return type of a gcc2 4316/* We use char because int might match the return type of a gcc2
@@ -4318,7 +4321,7 @@ int main() {
4318dnet_ntoa() 4321dnet_ntoa()
4319; return 0; } 4322; return 0; }
4320EOF 4323EOF
4321if { (eval echo configure:4322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4324if { (eval echo configure:4325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4322 rm -rf conftest* 4325 rm -rf conftest*
4323 eval "ac_cv_lib_$ac_lib_var=yes" 4326 eval "ac_cv_lib_$ac_lib_var=yes"
4324else 4327else
@@ -4347,7 +4350,7 @@ fi
4347 4350
4348 4351
4349echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 4352echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6
4350echo "configure:4351: checking for main in -lXbsd" >&5 4353echo "configure:4354: checking for main in -lXbsd" >&5
4351ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` 4354ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'`
4352if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4355if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4353 echo $ac_n "(cached) $ac_c" 1>&6 4356 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4355,14 +4358,14 @@ else
4355 ac_save_LIBS="$LIBS" 4358 ac_save_LIBS="$LIBS"
4356LIBS="-lXbsd $LIBS" 4359LIBS="-lXbsd $LIBS"
4357cat > conftest.$ac_ext <<EOF 4360cat > conftest.$ac_ext <<EOF
4358#line 4359 "configure" 4361#line 4362 "configure"
4359#include "confdefs.h" 4362#include "confdefs.h"
4360 4363
4361int main() { 4364int main() {
4362main() 4365main()
4363; return 0; } 4366; return 0; }
4364EOF 4367EOF
4365if { (eval echo configure:4366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4368if { (eval echo configure:4369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4366 rm -rf conftest* 4369 rm -rf conftest*
4367 eval "ac_cv_lib_$ac_lib_var=yes" 4370 eval "ac_cv_lib_$ac_lib_var=yes"
4368else 4371else
@@ -4384,7 +4387,7 @@ fi
4384 4387
4385 4388
4386echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 4389echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6
4387echo "configure:4388: checking for cma_open in -lpthreads" >&5 4390echo "configure:4391: checking for cma_open in -lpthreads" >&5
4388ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` 4391ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'`
4389if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4392if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4390 echo $ac_n "(cached) $ac_c" 1>&6 4393 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4392,7 +4395,7 @@ else
4392 ac_save_LIBS="$LIBS" 4395 ac_save_LIBS="$LIBS"
4393LIBS="-lpthreads $LIBS" 4396LIBS="-lpthreads $LIBS"
4394cat > conftest.$ac_ext <<EOF 4397cat > conftest.$ac_ext <<EOF
4395#line 4396 "configure" 4398#line 4399 "configure"
4396#include "confdefs.h" 4399#include "confdefs.h"
4397/* Override any gcc2 internal prototype to avoid an error. */ 4400/* Override any gcc2 internal prototype to avoid an error. */
4398/* We use char because int might match the return type of a gcc2 4401/* We use char because int might match the return type of a gcc2
@@ -4403,7 +4406,7 @@ int main() {
4403cma_open() 4406cma_open()
4404; return 0; } 4407; return 0; }
4405EOF 4408EOF
4406if { (eval echo configure:4407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4409if { (eval echo configure:4410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4407 rm -rf conftest* 4410 rm -rf conftest*
4408 eval "ac_cv_lib_$ac_lib_var=yes" 4411 eval "ac_cv_lib_$ac_lib_var=yes"
4409else 4412else
@@ -4432,7 +4435,7 @@ fi
4432 4435
4433 4436
4434echo $ac_n "checking for XFree86 in /usr/X386""... $ac_c" 1>&6 4437echo $ac_n "checking for XFree86 in /usr/X386""... $ac_c" 1>&6
4435echo "configure:4436: checking for XFree86 in /usr/X386" >&5 4438echo "configure:4439: checking for XFree86 in /usr/X386" >&5
4436if test -d /usr/X386/include; then 4439if test -d /usr/X386/include; then
4437 HAVE_XFREE386=yes 4440 HAVE_XFREE386=yes
4438 : ${C_SWITCH_X_SITE="-I/usr/X386/include"} 4441 : ${C_SWITCH_X_SITE="-I/usr/X386/include"}
@@ -4464,16 +4467,16 @@ if test "${HAVE_X11}" = "yes"; then
4464 4467
4465 if test "${opsys}" = "gnu-linux"; then 4468 if test "${opsys}" = "gnu-linux"; then
4466 echo $ac_n "checking whether X on GNU/Linux needs -b to link""... $ac_c" 1>&6 4469 echo $ac_n "checking whether X on GNU/Linux needs -b to link""... $ac_c" 1>&6
4467echo "configure:4468: checking whether X on GNU/Linux needs -b to link" >&5 4470echo "configure:4471: checking whether X on GNU/Linux needs -b to link" >&5
4468 cat > conftest.$ac_ext <<EOF 4471 cat > conftest.$ac_ext <<EOF
4469#line 4470 "configure" 4472#line 4473 "configure"
4470#include "confdefs.h" 4473#include "confdefs.h"
4471 4474
4472int main() { 4475int main() {
4473XOpenDisplay ("foo"); 4476XOpenDisplay ("foo");
4474; return 0; } 4477; return 0; }
4475EOF 4478EOF
4476if { (eval echo configure:4477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4479if { (eval echo configure:4480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4477 rm -rf conftest* 4480 rm -rf conftest*
4478 xlinux_first_failure=no 4481 xlinux_first_failure=no
4479else 4482else
@@ -4493,14 +4496,14 @@ rm -f conftest*
4493 CPPFLAGS="$CPPFLAGS -b i486-linuxaout" 4496 CPPFLAGS="$CPPFLAGS -b i486-linuxaout"
4494 LIBS="$LIBS -b i486-linuxaout" 4497 LIBS="$LIBS -b i486-linuxaout"
4495 cat > conftest.$ac_ext <<EOF 4498 cat > conftest.$ac_ext <<EOF
4496#line 4497 "configure" 4499#line 4500 "configure"
4497#include "confdefs.h" 4500#include "confdefs.h"
4498 4501
4499int main() { 4502int main() {
4500XOpenDisplay ("foo"); 4503XOpenDisplay ("foo");
4501; return 0; } 4504; return 0; }
4502EOF 4505EOF
4503if { (eval echo configure:4504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4506if { (eval echo configure:4507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4504 rm -rf conftest* 4507 rm -rf conftest*
4505 xlinux_second_failure=no 4508 xlinux_second_failure=no
4506else 4509else
@@ -4529,9 +4532,9 @@ rm -f conftest*
4529 # Reportedly, some broken Solaris systems have XKBlib.h but are missing 4532 # Reportedly, some broken Solaris systems have XKBlib.h but are missing
4530 # header files included from there. 4533 # header files included from there.
4531 echo $ac_n "checking for Xkb""... $ac_c" 1>&6 4534 echo $ac_n "checking for Xkb""... $ac_c" 1>&6
4532echo "configure:4533: checking for Xkb" >&5 4535echo "configure:4536: checking for Xkb" >&5
4533 cat > conftest.$ac_ext <<EOF 4536 cat > conftest.$ac_ext <<EOF
4534#line 4535 "configure" 4537#line 4538 "configure"
4535#include "confdefs.h" 4538#include "confdefs.h"
4536#include <X11/Xlib.h> 4539#include <X11/Xlib.h>
4537#include <X11/XKBlib.h> 4540#include <X11/XKBlib.h>
@@ -4539,7 +4542,7 @@ int main() {
4539XkbDescPtr kb = XkbGetKeyboard (0, XkbAllComponentsMask, XkbUseCoreKbd); 4542XkbDescPtr kb = XkbGetKeyboard (0, XkbAllComponentsMask, XkbUseCoreKbd);
4540; return 0; } 4543; return 0; }
4541EOF 4544EOF
4542if { (eval echo configure:4543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4545if { (eval echo configure:4546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4543 rm -rf conftest* 4546 rm -rf conftest*
4544 emacs_xkb=yes 4547 emacs_xkb=yes
4545else 4548else
@@ -4561,12 +4564,12 @@ EOF
4561XScreenNumberOfScreen XSetWMProtocols 4564XScreenNumberOfScreen XSetWMProtocols
4562do 4565do
4563echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4566echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4564echo "configure:4565: checking for $ac_func" >&5 4567echo "configure:4568: checking for $ac_func" >&5
4565if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4568if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4566 echo $ac_n "(cached) $ac_c" 1>&6 4569 echo $ac_n "(cached) $ac_c" 1>&6
4567else 4570else
4568 cat > conftest.$ac_ext <<EOF 4571 cat > conftest.$ac_ext <<EOF
4569#line 4570 "configure" 4572#line 4573 "configure"
4570#include "confdefs.h" 4573#include "confdefs.h"
4571/* System header to define __stub macros and hopefully few prototypes, 4574/* System header to define __stub macros and hopefully few prototypes,
4572 which can conflict with char $ac_func(); below. */ 4575 which can conflict with char $ac_func(); below. */
@@ -4589,7 +4592,7 @@ $ac_func();
4589 4592
4590; return 0; } 4593; return 0; }
4591EOF 4594EOF
4592if { (eval echo configure:4593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4595if { (eval echo configure:4596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4593 rm -rf conftest* 4596 rm -rf conftest*
4594 eval "ac_cv_func_$ac_func=yes" 4597 eval "ac_cv_func_$ac_func=yes"
4595else 4598else
@@ -4617,12 +4620,12 @@ fi
4617 4620
4618if test "${window_system}" = "x11"; then 4621if test "${window_system}" = "x11"; then
4619 echo $ac_n "checking X11 version 6""... $ac_c" 1>&6 4622 echo $ac_n "checking X11 version 6""... $ac_c" 1>&6
4620echo "configure:4621: checking X11 version 6" >&5 4623echo "configure:4624: checking X11 version 6" >&5
4621 if eval "test \"`echo '$''{'emacs_cv_x11_version_6'+set}'`\" = set"; then 4624 if eval "test \"`echo '$''{'emacs_cv_x11_version_6'+set}'`\" = set"; then
4622 echo $ac_n "(cached) $ac_c" 1>&6 4625 echo $ac_n "(cached) $ac_c" 1>&6
4623else 4626else
4624 cat > conftest.$ac_ext <<EOF 4627 cat > conftest.$ac_ext <<EOF
4625#line 4626 "configure" 4628#line 4629 "configure"
4626#include "confdefs.h" 4629#include "confdefs.h"
4627#include <X11/Xlib.h> 4630#include <X11/Xlib.h>
4628int main() { 4631int main() {
@@ -4632,7 +4635,7 @@ fail;
4632 4635
4633; return 0; } 4636; return 0; }
4634EOF 4637EOF
4635if { (eval echo configure:4636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4638if { (eval echo configure:4639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4636 rm -rf conftest* 4639 rm -rf conftest*
4637 emacs_cv_x11_version_6=yes 4640 emacs_cv_x11_version_6=yes
4638else 4641else
@@ -4657,12 +4660,12 @@ fi
4657 4660
4658if test "${window_system}" = "x11"; then 4661if test "${window_system}" = "x11"; then
4659 echo $ac_n "checking X11 version 5""... $ac_c" 1>&6 4662 echo $ac_n "checking X11 version 5""... $ac_c" 1>&6
4660echo "configure:4661: checking X11 version 5" >&5 4663echo "configure:4664: checking X11 version 5" >&5
4661 if eval "test \"`echo '$''{'emacs_cv_x11_version_5'+set}'`\" = set"; then 4664 if eval "test \"`echo '$''{'emacs_cv_x11_version_5'+set}'`\" = set"; then
4662 echo $ac_n "(cached) $ac_c" 1>&6 4665 echo $ac_n "(cached) $ac_c" 1>&6
4663else 4666else
4664 cat > conftest.$ac_ext <<EOF 4667 cat > conftest.$ac_ext <<EOF
4665#line 4666 "configure" 4668#line 4669 "configure"
4666#include "confdefs.h" 4669#include "confdefs.h"
4667#include <X11/Xlib.h> 4670#include <X11/Xlib.h>
4668int main() { 4671int main() {
@@ -4672,7 +4675,7 @@ fail;
4672 4675
4673; return 0; } 4676; return 0; }
4674EOF 4677EOF
4675if { (eval echo configure:4676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4678if { (eval echo configure:4679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4676 rm -rf conftest* 4679 rm -rf conftest*
4677 emacs_cv_x11_version_5=yes 4680 emacs_cv_x11_version_5=yes
4678else 4681else
@@ -4700,12 +4703,12 @@ fi
4700if test x"${USE_X_TOOLKIT}" = xmaybe; then 4703if test x"${USE_X_TOOLKIT}" = xmaybe; then
4701 if test x"${HAVE_X11R5}" = xyes; then 4704 if test x"${HAVE_X11R5}" = xyes; then
4702 echo $ac_n "checking X11 version 5 with Xaw""... $ac_c" 1>&6 4705 echo $ac_n "checking X11 version 5 with Xaw""... $ac_c" 1>&6
4703echo "configure:4704: checking X11 version 5 with Xaw" >&5 4706echo "configure:4707: checking X11 version 5 with Xaw" >&5
4704 if eval "test \"`echo '$''{'emacs_cv_x11_version_5_with_xaw'+set}'`\" = set"; then 4707 if eval "test \"`echo '$''{'emacs_cv_x11_version_5_with_xaw'+set}'`\" = set"; then
4705 echo $ac_n "(cached) $ac_c" 1>&6 4708 echo $ac_n "(cached) $ac_c" 1>&6
4706else 4709else
4707 cat > conftest.$ac_ext <<EOF 4710 cat > conftest.$ac_ext <<EOF
4708#line 4709 "configure" 4711#line 4712 "configure"
4709#include "confdefs.h" 4712#include "confdefs.h"
4710 4713
4711#include <X11/Intrinsic.h> 4714#include <X11/Intrinsic.h>
@@ -4714,7 +4717,7 @@ int main() {
4714 4717
4715; return 0; } 4718; return 0; }
4716EOF 4719EOF
4717if { (eval echo configure:4718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4720if { (eval echo configure:4721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4718 rm -rf conftest* 4721 rm -rf conftest*
4719 emacs_cv_x11_version_5_with_xaw=yes 4722 emacs_cv_x11_version_5_with_xaw=yes
4720else 4723else
@@ -4742,12 +4745,12 @@ X_TOOLKIT_TYPE=$USE_X_TOOLKIT
4742 4745
4743if test "${USE_X_TOOLKIT}" != "none"; then 4746if test "${USE_X_TOOLKIT}" != "none"; then
4744 echo $ac_n "checking X11 toolkit version""... $ac_c" 1>&6 4747 echo $ac_n "checking X11 toolkit version""... $ac_c" 1>&6
4745echo "configure:4746: checking X11 toolkit version" >&5 4748echo "configure:4749: checking X11 toolkit version" >&5
4746 if eval "test \"`echo '$''{'emacs_cv_x11_toolkit_version_6'+set}'`\" = set"; then 4749 if eval "test \"`echo '$''{'emacs_cv_x11_toolkit_version_6'+set}'`\" = set"; then
4747 echo $ac_n "(cached) $ac_c" 1>&6 4750 echo $ac_n "(cached) $ac_c" 1>&6
4748else 4751else
4749 cat > conftest.$ac_ext <<EOF 4752 cat > conftest.$ac_ext <<EOF
4750#line 4751 "configure" 4753#line 4754 "configure"
4751#include "confdefs.h" 4754#include "confdefs.h"
4752#include <X11/Intrinsic.h> 4755#include <X11/Intrinsic.h>
4753int main() { 4756int main() {
@@ -4757,7 +4760,7 @@ fail;
4757 4760
4758; return 0; } 4761; return 0; }
4759EOF 4762EOF
4760if { (eval echo configure:4761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4763if { (eval echo configure:4764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4761 rm -rf conftest* 4764 rm -rf conftest*
4762 emacs_cv_x11_toolkit_version_6=yes 4765 emacs_cv_x11_toolkit_version_6=yes
4763else 4766else
@@ -4787,7 +4790,7 @@ EOF
4787 LIBS="-lXt $LIBS" 4790 LIBS="-lXt $LIBS"
4788 fi 4791 fi
4789 echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6 4792 echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6
4790echo "configure:4791: checking for XmuConvertStandardSelection in -lXmu" >&5 4793echo "configure:4794: checking for XmuConvertStandardSelection in -lXmu" >&5
4791ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'` 4794ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'`
4792if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4795if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4793 echo $ac_n "(cached) $ac_c" 1>&6 4796 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4795,7 +4798,7 @@ else
4795 ac_save_LIBS="$LIBS" 4798 ac_save_LIBS="$LIBS"
4796LIBS="-lXmu $LIBS" 4799LIBS="-lXmu $LIBS"
4797cat > conftest.$ac_ext <<EOF 4800cat > conftest.$ac_ext <<EOF
4798#line 4799 "configure" 4801#line 4802 "configure"
4799#include "confdefs.h" 4802#include "confdefs.h"
4800/* Override any gcc2 internal prototype to avoid an error. */ 4803/* Override any gcc2 internal prototype to avoid an error. */
4801/* We use char because int might match the return type of a gcc2 4804/* We use char because int might match the return type of a gcc2
@@ -4806,7 +4809,7 @@ int main() {
4806XmuConvertStandardSelection() 4809XmuConvertStandardSelection()
4807; return 0; } 4810; return 0; }
4808EOF 4811EOF
4809if { (eval echo configure:4810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4812if { (eval echo configure:4813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4810 rm -rf conftest* 4813 rm -rf conftest*
4811 eval "ac_cv_lib_$ac_lib_var=yes" 4814 eval "ac_cv_lib_$ac_lib_var=yes"
4812else 4815else
@@ -4840,7 +4843,7 @@ fi
4840if test "${HAVE_X11}" = "yes"; then 4843if test "${HAVE_X11}" = "yes"; then
4841 if test "${USE_X_TOOLKIT}" != "none"; then 4844 if test "${USE_X_TOOLKIT}" != "none"; then
4842 echo $ac_n "checking for XShapeQueryExtension in -lXext""... $ac_c" 1>&6 4845 echo $ac_n "checking for XShapeQueryExtension in -lXext""... $ac_c" 1>&6
4843echo "configure:4844: checking for XShapeQueryExtension in -lXext" >&5 4846echo "configure:4847: checking for XShapeQueryExtension in -lXext" >&5
4844ac_lib_var=`echo Xext'_'XShapeQueryExtension | sed 'y%./+-%__p_%'` 4847ac_lib_var=`echo Xext'_'XShapeQueryExtension | sed 'y%./+-%__p_%'`
4845if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4848if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4846 echo $ac_n "(cached) $ac_c" 1>&6 4849 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4848,7 +4851,7 @@ else
4848 ac_save_LIBS="$LIBS" 4851 ac_save_LIBS="$LIBS"
4849LIBS="-lXext $LIBS" 4852LIBS="-lXext $LIBS"
4850cat > conftest.$ac_ext <<EOF 4853cat > conftest.$ac_ext <<EOF
4851#line 4852 "configure" 4854#line 4855 "configure"
4852#include "confdefs.h" 4855#include "confdefs.h"
4853/* Override any gcc2 internal prototype to avoid an error. */ 4856/* Override any gcc2 internal prototype to avoid an error. */
4854/* We use char because int might match the return type of a gcc2 4857/* We use char because int might match the return type of a gcc2
@@ -4859,7 +4862,7 @@ int main() {
4859XShapeQueryExtension() 4862XShapeQueryExtension()
4860; return 0; } 4863; return 0; }
4861EOF 4864EOF
4862if { (eval echo configure:4863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4865if { (eval echo configure:4866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4863 rm -rf conftest* 4866 rm -rf conftest*
4864 eval "ac_cv_lib_$ac_lib_var=yes" 4867 eval "ac_cv_lib_$ac_lib_var=yes"
4865else 4868else
@@ -4891,12 +4894,12 @@ fi
4891 4894
4892if test "${USE_X_TOOLKIT}" = "MOTIF"; then 4895if test "${USE_X_TOOLKIT}" = "MOTIF"; then
4893 echo $ac_n "checking for Motif version 2.1""... $ac_c" 1>&6 4896 echo $ac_n "checking for Motif version 2.1""... $ac_c" 1>&6
4894echo "configure:4895: checking for Motif version 2.1" >&5 4897echo "configure:4898: checking for Motif version 2.1" >&5
4895if eval "test \"`echo '$''{'emacs_cv_motif_version_2_1'+set}'`\" = set"; then 4898if eval "test \"`echo '$''{'emacs_cv_motif_version_2_1'+set}'`\" = set"; then
4896 echo $ac_n "(cached) $ac_c" 1>&6 4899 echo $ac_n "(cached) $ac_c" 1>&6
4897else 4900else
4898 cat > conftest.$ac_ext <<EOF 4901 cat > conftest.$ac_ext <<EOF
4899#line 4900 "configure" 4902#line 4903 "configure"
4900#include "confdefs.h" 4903#include "confdefs.h"
4901#include <Xm/Xm.h> 4904#include <Xm/Xm.h>
4902int main() { 4905int main() {
@@ -4907,7 +4910,7 @@ Motif version prior to 2.1.
4907#endif 4910#endif
4908; return 0; } 4911; return 0; }
4909EOF 4912EOF
4910if { (eval echo configure:4911: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4913if { (eval echo configure:4914: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4911 rm -rf conftest* 4914 rm -rf conftest*
4912 emacs_cv_motif_version_2_1=yes 4915 emacs_cv_motif_version_2_1=yes
4913else 4916else
@@ -4928,7 +4931,7 @@ echo "$ac_t""$emacs_cv_motif_version_2_1" 1>&6
4928EOF 4931EOF
4929 4932
4930 echo $ac_n "checking for XpCreateContext in -lXp""... $ac_c" 1>&6 4933 echo $ac_n "checking for XpCreateContext in -lXp""... $ac_c" 1>&6
4931echo "configure:4932: checking for XpCreateContext in -lXp" >&5 4934echo "configure:4935: checking for XpCreateContext in -lXp" >&5
4932ac_lib_var=`echo Xp'_'XpCreateContext | sed 'y%./+-%__p_%'` 4935ac_lib_var=`echo Xp'_'XpCreateContext | sed 'y%./+-%__p_%'`
4933if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4936if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4934 echo $ac_n "(cached) $ac_c" 1>&6 4937 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4936,7 +4939,7 @@ else
4936 ac_save_LIBS="$LIBS" 4939 ac_save_LIBS="$LIBS"
4937LIBS="-lXp $LIBS" 4940LIBS="-lXp $LIBS"
4938cat > conftest.$ac_ext <<EOF 4941cat > conftest.$ac_ext <<EOF
4939#line 4940 "configure" 4942#line 4943 "configure"
4940#include "confdefs.h" 4943#include "confdefs.h"
4941/* Override any gcc2 internal prototype to avoid an error. */ 4944/* Override any gcc2 internal prototype to avoid an error. */
4942/* We use char because int might match the return type of a gcc2 4945/* We use char because int might match the return type of a gcc2
@@ -4947,7 +4950,7 @@ int main() {
4947XpCreateContext() 4950XpCreateContext()
4948; return 0; } 4951; return 0; }
4949EOF 4952EOF
4950if { (eval echo configure:4951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4953if { (eval echo configure:4954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4951 rm -rf conftest* 4954 rm -rf conftest*
4952 eval "ac_cv_lib_$ac_lib_var=yes" 4955 eval "ac_cv_lib_$ac_lib_var=yes"
4953else 4956else
@@ -4982,17 +4985,17 @@ if test "${HAVE_X11}" = "yes"; then
4982 if test "${USE_X_TOOLKIT}" != "none"; then 4985 if test "${USE_X_TOOLKIT}" != "none"; then
4983 ac_safe=`echo "X11/Xaw3d/Scrollbar.h" | sed 'y%./+-%__p_%'` 4986 ac_safe=`echo "X11/Xaw3d/Scrollbar.h" | sed 'y%./+-%__p_%'`
4984echo $ac_n "checking for X11/Xaw3d/Scrollbar.h""... $ac_c" 1>&6 4987echo $ac_n "checking for X11/Xaw3d/Scrollbar.h""... $ac_c" 1>&6
4985echo "configure:4986: checking for X11/Xaw3d/Scrollbar.h" >&5 4988echo "configure:4989: checking for X11/Xaw3d/Scrollbar.h" >&5
4986if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4989if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4987 echo $ac_n "(cached) $ac_c" 1>&6 4990 echo $ac_n "(cached) $ac_c" 1>&6
4988else 4991else
4989 cat > conftest.$ac_ext <<EOF 4992 cat > conftest.$ac_ext <<EOF
4990#line 4991 "configure" 4993#line 4994 "configure"
4991#include "confdefs.h" 4994#include "confdefs.h"
4992#include <X11/Xaw3d/Scrollbar.h> 4995#include <X11/Xaw3d/Scrollbar.h>
4993EOF 4996EOF
4994ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4997ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4995{ (eval echo configure:4996: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4998{ (eval echo configure:4999: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4996ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4999ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4997if test -z "$ac_err"; then 5000if test -z "$ac_err"; then
4998 rm -rf conftest* 5001 rm -rf conftest*
@@ -5009,7 +5012,7 @@ fi
5009if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 5012if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5010 echo "$ac_t""yes" 1>&6 5013 echo "$ac_t""yes" 1>&6
5011 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw3d""... $ac_c" 1>&6 5014 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw3d""... $ac_c" 1>&6
5012echo "configure:5013: checking for XawScrollbarSetThumb in -lXaw3d" >&5 5015echo "configure:5016: checking for XawScrollbarSetThumb in -lXaw3d" >&5
5013ac_lib_var=`echo Xaw3d'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` 5016ac_lib_var=`echo Xaw3d'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'`
5014if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5017if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5015 echo $ac_n "(cached) $ac_c" 1>&6 5018 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5017,7 +5020,7 @@ else
5017 ac_save_LIBS="$LIBS" 5020 ac_save_LIBS="$LIBS"
5018LIBS="-lXaw3d $LIBS" 5021LIBS="-lXaw3d $LIBS"
5019cat > conftest.$ac_ext <<EOF 5022cat > conftest.$ac_ext <<EOF
5020#line 5021 "configure" 5023#line 5024 "configure"
5021#include "confdefs.h" 5024#include "confdefs.h"
5022/* Override any gcc2 internal prototype to avoid an error. */ 5025/* Override any gcc2 internal prototype to avoid an error. */
5023/* We use char because int might match the return type of a gcc2 5026/* We use char because int might match the return type of a gcc2
@@ -5028,7 +5031,7 @@ int main() {
5028XawScrollbarSetThumb() 5031XawScrollbarSetThumb()
5029; return 0; } 5032; return 0; }
5030EOF 5033EOF
5031if { (eval echo configure:5032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5034if { (eval echo configure:5035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5032 rm -rf conftest* 5035 rm -rf conftest*
5033 eval "ac_cv_lib_$ac_lib_var=yes" 5036 eval "ac_cv_lib_$ac_lib_var=yes"
5034else 5037else
@@ -5096,17 +5099,17 @@ if test "${HAVE_X11}" = "yes"; then
5096 if test "${with_xpm}" != "no"; then 5099 if test "${with_xpm}" != "no"; then
5097 ac_safe=`echo "X11/xpm.h" | sed 'y%./+-%__p_%'` 5100 ac_safe=`echo "X11/xpm.h" | sed 'y%./+-%__p_%'`
5098echo $ac_n "checking for X11/xpm.h""... $ac_c" 1>&6 5101echo $ac_n "checking for X11/xpm.h""... $ac_c" 1>&6
5099echo "configure:5100: checking for X11/xpm.h" >&5 5102echo "configure:5103: checking for X11/xpm.h" >&5
5100if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5103if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5101 echo $ac_n "(cached) $ac_c" 1>&6 5104 echo $ac_n "(cached) $ac_c" 1>&6
5102else 5105else
5103 cat > conftest.$ac_ext <<EOF 5106 cat > conftest.$ac_ext <<EOF
5104#line 5105 "configure" 5107#line 5108 "configure"
5105#include "confdefs.h" 5108#include "confdefs.h"
5106#include <X11/xpm.h> 5109#include <X11/xpm.h>
5107EOF 5110EOF
5108ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5111ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5109{ (eval echo configure:5110: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5112{ (eval echo configure:5113: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5110ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5113ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5111if test -z "$ac_err"; then 5114if test -z "$ac_err"; then
5112 rm -rf conftest* 5115 rm -rf conftest*
@@ -5123,7 +5126,7 @@ fi
5123if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 5126if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5124 echo "$ac_t""yes" 1>&6 5127 echo "$ac_t""yes" 1>&6
5125 echo $ac_n "checking for XpmReadFileToPixmap in -lXpm""... $ac_c" 1>&6 5128 echo $ac_n "checking for XpmReadFileToPixmap in -lXpm""... $ac_c" 1>&6
5126echo "configure:5127: checking for XpmReadFileToPixmap in -lXpm" >&5 5129echo "configure:5130: checking for XpmReadFileToPixmap in -lXpm" >&5
5127ac_lib_var=`echo Xpm'_'XpmReadFileToPixmap | sed 'y%./+-%__p_%'` 5130ac_lib_var=`echo Xpm'_'XpmReadFileToPixmap | sed 'y%./+-%__p_%'`
5128if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5131if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5129 echo $ac_n "(cached) $ac_c" 1>&6 5132 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5131,7 +5134,7 @@ else
5131 ac_save_LIBS="$LIBS" 5134 ac_save_LIBS="$LIBS"
5132LIBS="-lXpm -lX11 $LIBS" 5135LIBS="-lXpm -lX11 $LIBS"
5133cat > conftest.$ac_ext <<EOF 5136cat > conftest.$ac_ext <<EOF
5134#line 5135 "configure" 5137#line 5138 "configure"
5135#include "confdefs.h" 5138#include "confdefs.h"
5136/* Override any gcc2 internal prototype to avoid an error. */ 5139/* Override any gcc2 internal prototype to avoid an error. */
5137/* We use char because int might match the return type of a gcc2 5140/* We use char because int might match the return type of a gcc2
@@ -5142,7 +5145,7 @@ int main() {
5142XpmReadFileToPixmap() 5145XpmReadFileToPixmap()
5143; return 0; } 5146; return 0; }
5144EOF 5147EOF
5145if { (eval echo configure:5146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5148if { (eval echo configure:5149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5146 rm -rf conftest* 5149 rm -rf conftest*
5147 eval "ac_cv_lib_$ac_lib_var=yes" 5150 eval "ac_cv_lib_$ac_lib_var=yes"
5148else 5151else
@@ -5168,9 +5171,9 @@ fi
5168 5171
5169 if test "${HAVE_XPM}" = "yes"; then 5172 if test "${HAVE_XPM}" = "yes"; then
5170 echo $ac_n "checking for XpmReturnAllocPixels preprocessor define""... $ac_c" 1>&6 5173 echo $ac_n "checking for XpmReturnAllocPixels preprocessor define""... $ac_c" 1>&6
5171echo "configure:5172: checking for XpmReturnAllocPixels preprocessor define" >&5 5174echo "configure:5175: checking for XpmReturnAllocPixels preprocessor define" >&5
5172 cat > conftest.$ac_ext <<EOF 5175 cat > conftest.$ac_ext <<EOF
5173#line 5174 "configure" 5176#line 5177 "configure"
5174#include "confdefs.h" 5177#include "confdefs.h"
5175#include "X11/xpm.h" 5178#include "X11/xpm.h"
5176#ifndef XpmReturnAllocPixels 5179#ifndef XpmReturnAllocPixels
@@ -5210,17 +5213,17 @@ if test "${HAVE_X11}" = "yes"; then
5210 if test "${with_jpeg}" != "no"; then 5213 if test "${with_jpeg}" != "no"; then
5211 ac_safe=`echo "jerror.h" | sed 'y%./+-%__p_%'` 5214 ac_safe=`echo "jerror.h" | sed 'y%./+-%__p_%'`
5212echo $ac_n "checking for jerror.h""... $ac_c" 1>&6 5215echo $ac_n "checking for jerror.h""... $ac_c" 1>&6
5213echo "configure:5214: checking for jerror.h" >&5 5216echo "configure:5217: checking for jerror.h" >&5
5214if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5217if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5215 echo $ac_n "(cached) $ac_c" 1>&6 5218 echo $ac_n "(cached) $ac_c" 1>&6
5216else 5219else
5217 cat > conftest.$ac_ext <<EOF 5220 cat > conftest.$ac_ext <<EOF
5218#line 5219 "configure" 5221#line 5222 "configure"
5219#include "confdefs.h" 5222#include "confdefs.h"
5220#include <jerror.h> 5223#include <jerror.h>
5221EOF 5224EOF
5222ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5225ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5223{ (eval echo configure:5224: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5226{ (eval echo configure:5227: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5224ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5227ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5225if test -z "$ac_err"; then 5228if test -z "$ac_err"; then
5226 rm -rf conftest* 5229 rm -rf conftest*
@@ -5237,7 +5240,7 @@ fi
5237if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 5240if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5238 echo "$ac_t""yes" 1>&6 5241 echo "$ac_t""yes" 1>&6
5239 echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6 5242 echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6
5240echo "configure:5241: checking for jpeg_destroy_compress in -ljpeg" >&5 5243echo "configure:5244: checking for jpeg_destroy_compress in -ljpeg" >&5
5241ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'` 5244ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'`
5242if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5245if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5243 echo $ac_n "(cached) $ac_c" 1>&6 5246 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5245,7 +5248,7 @@ else
5245 ac_save_LIBS="$LIBS" 5248 ac_save_LIBS="$LIBS"
5246LIBS="-ljpeg $LIBS" 5249LIBS="-ljpeg $LIBS"
5247cat > conftest.$ac_ext <<EOF 5250cat > conftest.$ac_ext <<EOF
5248#line 5249 "configure" 5251#line 5252 "configure"
5249#include "confdefs.h" 5252#include "confdefs.h"
5250/* Override any gcc2 internal prototype to avoid an error. */ 5253/* Override any gcc2 internal prototype to avoid an error. */
5251/* We use char because int might match the return type of a gcc2 5254/* We use char because int might match the return type of a gcc2
@@ -5256,7 +5259,7 @@ int main() {
5256jpeg_destroy_compress() 5259jpeg_destroy_compress()
5257; return 0; } 5260; return 0; }
5258EOF 5261EOF
5259if { (eval echo configure:5260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5262if { (eval echo configure:5263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5260 rm -rf conftest* 5263 rm -rf conftest*
5261 eval "ac_cv_lib_$ac_lib_var=yes" 5264 eval "ac_cv_lib_$ac_lib_var=yes"
5262else 5265else
@@ -5296,17 +5299,17 @@ if test "${HAVE_X11}" = "yes"; then
5296 if test "${with_png}" != "no"; then 5299 if test "${with_png}" != "no"; then
5297 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` 5300 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'`
5298echo $ac_n "checking for png.h""... $ac_c" 1>&6 5301echo $ac_n "checking for png.h""... $ac_c" 1>&6
5299echo "configure:5300: checking for png.h" >&5 5302echo "configure:5303: checking for png.h" >&5
5300if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5303if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5301 echo $ac_n "(cached) $ac_c" 1>&6 5304 echo $ac_n "(cached) $ac_c" 1>&6
5302else 5305else
5303 cat > conftest.$ac_ext <<EOF 5306 cat > conftest.$ac_ext <<EOF
5304#line 5305 "configure" 5307#line 5308 "configure"
5305#include "confdefs.h" 5308#include "confdefs.h"
5306#include <png.h> 5309#include <png.h>
5307EOF 5310EOF
5308ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5311ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5309{ (eval echo configure:5310: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5312{ (eval echo configure:5313: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5310ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5313ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5311if test -z "$ac_err"; then 5314if test -z "$ac_err"; then
5312 rm -rf conftest* 5315 rm -rf conftest*
@@ -5323,7 +5326,7 @@ fi
5323if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 5326if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5324 echo "$ac_t""yes" 1>&6 5327 echo "$ac_t""yes" 1>&6
5325 echo $ac_n "checking for png_get_channels in -lpng""... $ac_c" 1>&6 5328 echo $ac_n "checking for png_get_channels in -lpng""... $ac_c" 1>&6
5326echo "configure:5327: checking for png_get_channels in -lpng" >&5 5329echo "configure:5330: checking for png_get_channels in -lpng" >&5
5327ac_lib_var=`echo png'_'png_get_channels | sed 'y%./+-%__p_%'` 5330ac_lib_var=`echo png'_'png_get_channels | sed 'y%./+-%__p_%'`
5328if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5331if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5329 echo $ac_n "(cached) $ac_c" 1>&6 5332 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5331,7 +5334,7 @@ else
5331 ac_save_LIBS="$LIBS" 5334 ac_save_LIBS="$LIBS"
5332LIBS="-lpng -lz -lm $LIBS" 5335LIBS="-lpng -lz -lm $LIBS"
5333cat > conftest.$ac_ext <<EOF 5336cat > conftest.$ac_ext <<EOF
5334#line 5335 "configure" 5337#line 5338 "configure"
5335#include "confdefs.h" 5338#include "confdefs.h"
5336/* Override any gcc2 internal prototype to avoid an error. */ 5339/* Override any gcc2 internal prototype to avoid an error. */
5337/* We use char because int might match the return type of a gcc2 5340/* We use char because int might match the return type of a gcc2
@@ -5342,7 +5345,7 @@ int main() {
5342png_get_channels() 5345png_get_channels()
5343; return 0; } 5346; return 0; }
5344EOF 5347EOF
5345if { (eval echo configure:5346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5348if { (eval echo configure:5349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5346 rm -rf conftest* 5349 rm -rf conftest*
5347 eval "ac_cv_lib_$ac_lib_var=yes" 5350 eval "ac_cv_lib_$ac_lib_var=yes"
5348else 5351else
@@ -5382,17 +5385,17 @@ if test "${HAVE_X11}" = "yes"; then
5382 if test "${with_tiff}" != "no"; then 5385 if test "${with_tiff}" != "no"; then
5383 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` 5386 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
5384echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 5387echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
5385echo "configure:5386: checking for tiffio.h" >&5 5388echo "configure:5389: checking for tiffio.h" >&5
5386if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5389if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5387 echo $ac_n "(cached) $ac_c" 1>&6 5390 echo $ac_n "(cached) $ac_c" 1>&6
5388else 5391else
5389 cat > conftest.$ac_ext <<EOF 5392 cat > conftest.$ac_ext <<EOF
5390#line 5391 "configure" 5393#line 5394 "configure"
5391#include "confdefs.h" 5394#include "confdefs.h"
5392#include <tiffio.h> 5395#include <tiffio.h>
5393EOF 5396EOF
5394ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5397ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5395{ (eval echo configure:5396: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5398{ (eval echo configure:5399: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5396ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5399ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5397if test -z "$ac_err"; then 5400if test -z "$ac_err"; then
5398 rm -rf conftest* 5401 rm -rf conftest*
@@ -5412,7 +5415,7 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5412 # At least one tiff package requires the jpeg library. 5415 # At least one tiff package requires the jpeg library.
5413 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi 5416 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
5414 echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6 5417 echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6
5415echo "configure:5416: checking for TIFFGetVersion in -ltiff" >&5 5418echo "configure:5419: checking for TIFFGetVersion in -ltiff" >&5
5416ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'` 5419ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'`
5417if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5420if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5418 echo $ac_n "(cached) $ac_c" 1>&6 5421 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5420,7 +5423,7 @@ else
5420 ac_save_LIBS="$LIBS" 5423 ac_save_LIBS="$LIBS"
5421LIBS="-ltiff $tifflibs $LIBS" 5424LIBS="-ltiff $tifflibs $LIBS"
5422cat > conftest.$ac_ext <<EOF 5425cat > conftest.$ac_ext <<EOF
5423#line 5424 "configure" 5426#line 5427 "configure"
5424#include "confdefs.h" 5427#include "confdefs.h"
5425/* Override any gcc2 internal prototype to avoid an error. */ 5428/* Override any gcc2 internal prototype to avoid an error. */
5426/* We use char because int might match the return type of a gcc2 5429/* We use char because int might match the return type of a gcc2
@@ -5431,7 +5434,7 @@ int main() {
5431TIFFGetVersion() 5434TIFFGetVersion()
5432; return 0; } 5435; return 0; }
5433EOF 5436EOF
5434if { (eval echo configure:5435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5437if { (eval echo configure:5438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5435 rm -rf conftest* 5438 rm -rf conftest*
5436 eval "ac_cv_lib_$ac_lib_var=yes" 5439 eval "ac_cv_lib_$ac_lib_var=yes"
5437else 5440else
@@ -5471,17 +5474,17 @@ if test "${HAVE_X11}" = "yes"; then
5471 if test "${with_gif}" != "no"; then 5474 if test "${with_gif}" != "no"; then
5472 ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` 5475 ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'`
5473echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 5476echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6
5474echo "configure:5475: checking for gif_lib.h" >&5 5477echo "configure:5478: checking for gif_lib.h" >&5
5475if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5478if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5476 echo $ac_n "(cached) $ac_c" 1>&6 5479 echo $ac_n "(cached) $ac_c" 1>&6
5477else 5480else
5478 cat > conftest.$ac_ext <<EOF 5481 cat > conftest.$ac_ext <<EOF
5479#line 5480 "configure" 5482#line 5483 "configure"
5480#include "confdefs.h" 5483#include "confdefs.h"
5481#include <gif_lib.h> 5484#include <gif_lib.h>
5482EOF 5485EOF
5483ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5486ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5484{ (eval echo configure:5485: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5487{ (eval echo configure:5488: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5485ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5488ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5486if test -z "$ac_err"; then 5489if test -z "$ac_err"; then
5487 rm -rf conftest* 5490 rm -rf conftest*
@@ -5498,7 +5501,7 @@ fi
5498if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 5501if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5499 echo "$ac_t""yes" 1>&6 5502 echo "$ac_t""yes" 1>&6
5500 echo $ac_n "checking for DGifOpen in -lungif""... $ac_c" 1>&6 5503 echo $ac_n "checking for DGifOpen in -lungif""... $ac_c" 1>&6
5501echo "configure:5502: checking for DGifOpen in -lungif" >&5 5504echo "configure:5505: checking for DGifOpen in -lungif" >&5
5502ac_lib_var=`echo ungif'_'DGifOpen | sed 'y%./+-%__p_%'` 5505ac_lib_var=`echo ungif'_'DGifOpen | sed 'y%./+-%__p_%'`
5503if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5506if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5504 echo $ac_n "(cached) $ac_c" 1>&6 5507 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5506,7 +5509,7 @@ else
5506 ac_save_LIBS="$LIBS" 5509 ac_save_LIBS="$LIBS"
5507LIBS="-lungif $LIBS" 5510LIBS="-lungif $LIBS"
5508cat > conftest.$ac_ext <<EOF 5511cat > conftest.$ac_ext <<EOF
5509#line 5510 "configure" 5512#line 5513 "configure"
5510#include "confdefs.h" 5513#include "confdefs.h"
5511/* Override any gcc2 internal prototype to avoid an error. */ 5514/* Override any gcc2 internal prototype to avoid an error. */
5512/* We use char because int might match the return type of a gcc2 5515/* We use char because int might match the return type of a gcc2
@@ -5517,7 +5520,7 @@ int main() {
5517DGifOpen() 5520DGifOpen()
5518; return 0; } 5521; return 0; }
5519EOF 5522EOF
5520if { (eval echo configure:5521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5523if { (eval echo configure:5524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5521 rm -rf conftest* 5524 rm -rf conftest*
5522 eval "ac_cv_lib_$ac_lib_var=yes" 5525 eval "ac_cv_lib_$ac_lib_var=yes"
5523else 5526else
@@ -5553,19 +5556,19 @@ fi
5553 5556
5554# If netdb.h doesn't declare h_errno, we must declare it by hand. 5557# If netdb.h doesn't declare h_errno, we must declare it by hand.
5555echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 5558echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6
5556echo "configure:5557: checking whether netdb declares h_errno" >&5 5559echo "configure:5560: checking whether netdb declares h_errno" >&5
5557if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then 5560if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then
5558 echo $ac_n "(cached) $ac_c" 1>&6 5561 echo $ac_n "(cached) $ac_c" 1>&6
5559else 5562else
5560 cat > conftest.$ac_ext <<EOF 5563 cat > conftest.$ac_ext <<EOF
5561#line 5562 "configure" 5564#line 5565 "configure"
5562#include "confdefs.h" 5565#include "confdefs.h"
5563#include <netdb.h> 5566#include <netdb.h>
5564int main() { 5567int main() {
5565return h_errno; 5568return h_errno;
5566; return 0; } 5569; return 0; }
5567EOF 5570EOF
5568if { (eval echo configure:5569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5571if { (eval echo configure:5572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5569 rm -rf conftest* 5572 rm -rf conftest*
5570 emacs_cv_netdb_declares_h_errno=yes 5573 emacs_cv_netdb_declares_h_errno=yes
5571else 5574else
@@ -5588,19 +5591,19 @@ fi
5588# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 5591# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5589# for constant arguments. Useless! 5592# for constant arguments. Useless!
5590echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 5593echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
5591echo "configure:5592: checking for working alloca.h" >&5 5594echo "configure:5595: checking for working alloca.h" >&5
5592if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 5595if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
5593 echo $ac_n "(cached) $ac_c" 1>&6 5596 echo $ac_n "(cached) $ac_c" 1>&6
5594else 5597else
5595 cat > conftest.$ac_ext <<EOF 5598 cat > conftest.$ac_ext <<EOF
5596#line 5597 "configure" 5599#line 5600 "configure"
5597#include "confdefs.h" 5600#include "confdefs.h"
5598#include <alloca.h> 5601#include <alloca.h>
5599int main() { 5602int main() {
5600char *p = alloca(2 * sizeof(int)); 5603char *p = alloca(2 * sizeof(int));
5601; return 0; } 5604; return 0; }
5602EOF 5605EOF
5603if { (eval echo configure:5604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5606if { (eval echo configure:5607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5604 rm -rf conftest* 5607 rm -rf conftest*
5605 ac_cv_header_alloca_h=yes 5608 ac_cv_header_alloca_h=yes
5606else 5609else
@@ -5621,12 +5624,12 @@ EOF
5621fi 5624fi
5622 5625
5623echo $ac_n "checking for alloca""... $ac_c" 1>&6 5626echo $ac_n "checking for alloca""... $ac_c" 1>&6
5624echo "configure:5625: checking for alloca" >&5 5627echo "configure:5628: checking for alloca" >&5
5625if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 5628if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
5626 echo $ac_n "(cached) $ac_c" 1>&6 5629 echo $ac_n "(cached) $ac_c" 1>&6
5627else 5630else
5628 cat > conftest.$ac_ext <<EOF 5631 cat > conftest.$ac_ext <<EOF
5629#line 5630 "configure" 5632#line 5633 "configure"
5630#include "confdefs.h" 5633#include "confdefs.h"
5631 5634
5632#ifdef __GNUC__ 5635#ifdef __GNUC__
@@ -5654,7 +5657,7 @@ int main() {
5654char *p = (char *) alloca(1); 5657char *p = (char *) alloca(1);
5655; return 0; } 5658; return 0; }
5656EOF 5659EOF
5657if { (eval echo configure:5658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5660if { (eval echo configure:5661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5658 rm -rf conftest* 5661 rm -rf conftest*
5659 ac_cv_func_alloca_works=yes 5662 ac_cv_func_alloca_works=yes
5660else 5663else
@@ -5686,12 +5689,12 @@ EOF
5686 5689
5687 5690
5688echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 5691echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
5689echo "configure:5690: checking whether alloca needs Cray hooks" >&5 5692echo "configure:5693: checking whether alloca needs Cray hooks" >&5
5690if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 5693if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
5691 echo $ac_n "(cached) $ac_c" 1>&6 5694 echo $ac_n "(cached) $ac_c" 1>&6
5692else 5695else
5693 cat > conftest.$ac_ext <<EOF 5696 cat > conftest.$ac_ext <<EOF
5694#line 5695 "configure" 5697#line 5698 "configure"
5695#include "confdefs.h" 5698#include "confdefs.h"
5696#if defined(CRAY) && ! defined(CRAY2) 5699#if defined(CRAY) && ! defined(CRAY2)
5697webecray 5700webecray
@@ -5716,12 +5719,12 @@ echo "$ac_t""$ac_cv_os_cray" 1>&6
5716if test $ac_cv_os_cray = yes; then 5719if test $ac_cv_os_cray = yes; then
5717for ac_func in _getb67 GETB67 getb67; do 5720for ac_func in _getb67 GETB67 getb67; do
5718 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5721 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5719echo "configure:5720: checking for $ac_func" >&5 5722echo "configure:5723: checking for $ac_func" >&5
5720if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5723if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5721 echo $ac_n "(cached) $ac_c" 1>&6 5724 echo $ac_n "(cached) $ac_c" 1>&6
5722else 5725else
5723 cat > conftest.$ac_ext <<EOF 5726 cat > conftest.$ac_ext <<EOF
5724#line 5725 "configure" 5727#line 5728 "configure"
5725#include "confdefs.h" 5728#include "confdefs.h"
5726/* System header to define __stub macros and hopefully few prototypes, 5729/* System header to define __stub macros and hopefully few prototypes,
5727 which can conflict with char $ac_func(); below. */ 5730 which can conflict with char $ac_func(); below. */
@@ -5744,7 +5747,7 @@ $ac_func();
5744 5747
5745; return 0; } 5748; return 0; }
5746EOF 5749EOF
5747if { (eval echo configure:5748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5750if { (eval echo configure:5751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5748 rm -rf conftest* 5751 rm -rf conftest*
5749 eval "ac_cv_func_$ac_func=yes" 5752 eval "ac_cv_func_$ac_func=yes"
5750else 5753else
@@ -5771,7 +5774,7 @@ done
5771fi 5774fi
5772 5775
5773echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 5776echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
5774echo "configure:5775: checking stack direction for C alloca" >&5 5777echo "configure:5778: checking stack direction for C alloca" >&5
5775if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 5778if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
5776 echo $ac_n "(cached) $ac_c" 1>&6 5779 echo $ac_n "(cached) $ac_c" 1>&6
5777else 5780else
@@ -5779,7 +5782,7 @@ else
5779 ac_cv_c_stack_direction=0 5782 ac_cv_c_stack_direction=0
5780else 5783else
5781 cat > conftest.$ac_ext <<EOF 5784 cat > conftest.$ac_ext <<EOF
5782#line 5783 "configure" 5785#line 5786 "configure"
5783#include "confdefs.h" 5786#include "confdefs.h"
5784find_stack_direction () 5787find_stack_direction ()
5785{ 5788{
@@ -5798,7 +5801,7 @@ main ()
5798 exit (find_stack_direction() < 0); 5801 exit (find_stack_direction() < 0);
5799} 5802}
5800EOF 5803EOF
5801if { (eval echo configure:5802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 5804if { (eval echo configure:5805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5802then 5805then
5803 ac_cv_c_stack_direction=1 5806 ac_cv_c_stack_direction=1
5804else 5807else
@@ -5823,7 +5826,7 @@ fi
5823# fmod, logb, and frexp are found in -lm on most systems. 5826# fmod, logb, and frexp are found in -lm on most systems.
5824# On HPUX 9.01, -lm does not contain logb, so check for sqrt. 5827# On HPUX 9.01, -lm does not contain logb, so check for sqrt.
5825echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 5828echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6
5826echo "configure:5827: checking for sqrt in -lm" >&5 5829echo "configure:5830: checking for sqrt in -lm" >&5
5827ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` 5830ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'`
5828if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5831if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5829 echo $ac_n "(cached) $ac_c" 1>&6 5832 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5831,7 +5834,7 @@ else
5831 ac_save_LIBS="$LIBS" 5834 ac_save_LIBS="$LIBS"
5832LIBS="-lm $LIBS" 5835LIBS="-lm $LIBS"
5833cat > conftest.$ac_ext <<EOF 5836cat > conftest.$ac_ext <<EOF
5834#line 5835 "configure" 5837#line 5838 "configure"
5835#include "confdefs.h" 5838#include "confdefs.h"
5836/* Override any gcc2 internal prototype to avoid an error. */ 5839/* Override any gcc2 internal prototype to avoid an error. */
5837/* We use char because int might match the return type of a gcc2 5840/* We use char because int might match the return type of a gcc2
@@ -5842,7 +5845,7 @@ int main() {
5842sqrt() 5845sqrt()
5843; return 0; } 5846; return 0; }
5844EOF 5847EOF
5845if { (eval echo configure:5846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5848if { (eval echo configure:5849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5846 rm -rf conftest* 5849 rm -rf conftest*
5847 eval "ac_cv_lib_$ac_lib_var=yes" 5850 eval "ac_cv_lib_$ac_lib_var=yes"
5848else 5851else
@@ -5872,7 +5875,7 @@ fi
5872 5875
5873# Check for mail-locking functions in a "mail" library 5876# Check for mail-locking functions in a "mail" library
5874echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6 5877echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6
5875echo "configure:5876: checking for maillock in -lmail" >&5 5878echo "configure:5879: checking for maillock in -lmail" >&5
5876ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'` 5879ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'`
5877if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5880if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5878 echo $ac_n "(cached) $ac_c" 1>&6 5881 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5880,7 +5883,7 @@ else
5880 ac_save_LIBS="$LIBS" 5883 ac_save_LIBS="$LIBS"
5881LIBS="-lmail $LIBS" 5884LIBS="-lmail $LIBS"
5882cat > conftest.$ac_ext <<EOF 5885cat > conftest.$ac_ext <<EOF
5883#line 5884 "configure" 5886#line 5887 "configure"
5884#include "confdefs.h" 5887#include "confdefs.h"
5885/* Override any gcc2 internal prototype to avoid an error. */ 5888/* Override any gcc2 internal prototype to avoid an error. */
5886/* We use char because int might match the return type of a gcc2 5889/* We use char because int might match the return type of a gcc2
@@ -5891,7 +5894,7 @@ int main() {
5891maillock() 5894maillock()
5892; return 0; } 5895; return 0; }
5893EOF 5896EOF
5894if { (eval echo configure:5895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5897if { (eval echo configure:5898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5895 rm -rf conftest* 5898 rm -rf conftest*
5896 eval "ac_cv_lib_$ac_lib_var=yes" 5899 eval "ac_cv_lib_$ac_lib_var=yes"
5897else 5900else
@@ -5919,7 +5922,7 @@ else
5919fi 5922fi
5920 5923
5921echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6 5924echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6
5922echo "configure:5923: checking for maillock in -llockfile" >&5 5925echo "configure:5926: checking for maillock in -llockfile" >&5
5923ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'` 5926ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'`
5924if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5927if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5925 echo $ac_n "(cached) $ac_c" 1>&6 5928 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5927,7 +5930,7 @@ else
5927 ac_save_LIBS="$LIBS" 5930 ac_save_LIBS="$LIBS"
5928LIBS="-llockfile $LIBS" 5931LIBS="-llockfile $LIBS"
5929cat > conftest.$ac_ext <<EOF 5932cat > conftest.$ac_ext <<EOF
5930#line 5931 "configure" 5933#line 5934 "configure"
5931#include "confdefs.h" 5934#include "confdefs.h"
5932/* Override any gcc2 internal prototype to avoid an error. */ 5935/* Override any gcc2 internal prototype to avoid an error. */
5933/* We use char because int might match the return type of a gcc2 5936/* We use char because int might match the return type of a gcc2
@@ -5938,7 +5941,7 @@ int main() {
5938maillock() 5941maillock()
5939; return 0; } 5942; return 0; }
5940EOF 5943EOF
5941if { (eval echo configure:5942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5944if { (eval echo configure:5945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5942 rm -rf conftest* 5945 rm -rf conftest*
5943 eval "ac_cv_lib_$ac_lib_var=yes" 5946 eval "ac_cv_lib_$ac_lib_var=yes"
5944else 5947else
@@ -5972,7 +5975,7 @@ if test "$ac_cv_lib_lockfile_maillock" = no; then
5972 # Extract the first word of "liblockfile.so", so it can be a program name with args. 5975 # Extract the first word of "liblockfile.so", so it can be a program name with args.
5973set dummy liblockfile.so; ac_word=$2 5976set dummy liblockfile.so; ac_word=$2
5974echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 5977echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5975echo "configure:5976: checking for $ac_word" >&5 5978echo "configure:5979: checking for $ac_word" >&5
5976if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then 5979if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then
5977 echo $ac_n "(cached) $ac_c" 1>&6 5980 echo $ac_n "(cached) $ac_c" 1>&6
5978else 5981else
@@ -6013,12 +6016,12 @@ fi
6013for ac_func in touchlock 6016for ac_func in touchlock
6014do 6017do
6015echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 6018echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6016echo "configure:6017: checking for $ac_func" >&5 6019echo "configure:6020: checking for $ac_func" >&5
6017if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 6020if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6018 echo $ac_n "(cached) $ac_c" 1>&6 6021 echo $ac_n "(cached) $ac_c" 1>&6
6019else 6022else
6020 cat > conftest.$ac_ext <<EOF 6023 cat > conftest.$ac_ext <<EOF
6021#line 6022 "configure" 6024#line 6025 "configure"
6022#include "confdefs.h" 6025#include "confdefs.h"
6023/* System header to define __stub macros and hopefully few prototypes, 6026/* System header to define __stub macros and hopefully few prototypes,
6024 which can conflict with char $ac_func(); below. */ 6027 which can conflict with char $ac_func(); below. */
@@ -6041,7 +6044,7 @@ $ac_func();
6041 6044
6042; return 0; } 6045; return 0; }
6043EOF 6046EOF
6044if { (eval echo configure:6045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6047if { (eval echo configure:6048: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6045 rm -rf conftest* 6048 rm -rf conftest*
6046 eval "ac_cv_func_$ac_func=yes" 6049 eval "ac_cv_func_$ac_func=yes"
6047else 6050else
@@ -6069,17 +6072,17 @@ for ac_hdr in maillock.h
6069do 6072do
6070ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6073ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6071echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6074echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6072echo "configure:6073: checking for $ac_hdr" >&5 6075echo "configure:6076: checking for $ac_hdr" >&5
6073if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6076if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6074 echo $ac_n "(cached) $ac_c" 1>&6 6077 echo $ac_n "(cached) $ac_c" 1>&6
6075else 6078else
6076 cat > conftest.$ac_ext <<EOF 6079 cat > conftest.$ac_ext <<EOF
6077#line 6078 "configure" 6080#line 6081 "configure"
6078#include "confdefs.h" 6081#include "confdefs.h"
6079#include <$ac_hdr> 6082#include <$ac_hdr>
6080EOF 6083EOF
6081ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6084ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6082{ (eval echo configure:6083: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6085{ (eval echo configure:6086: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6083ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6086ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6084if test -z "$ac_err"; then 6087if test -z "$ac_err"; then
6085 rm -rf conftest* 6088 rm -rf conftest*
@@ -6115,12 +6118,12 @@ __fpending mblen mbrlen strsignal setitimer ualarm index rindex \
6115gai_strerror mkstemp 6118gai_strerror mkstemp
6116do 6119do
6117echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 6120echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6118echo "configure:6119: checking for $ac_func" >&5 6121echo "configure:6122: checking for $ac_func" >&5
6119if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 6122if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6120 echo $ac_n "(cached) $ac_c" 1>&6 6123 echo $ac_n "(cached) $ac_c" 1>&6
6121else 6124else
6122 cat > conftest.$ac_ext <<EOF 6125 cat > conftest.$ac_ext <<EOF
6123#line 6124 "configure" 6126#line 6127 "configure"
6124#include "confdefs.h" 6127#include "confdefs.h"
6125/* System header to define __stub macros and hopefully few prototypes, 6128/* System header to define __stub macros and hopefully few prototypes,
6126 which can conflict with char $ac_func(); below. */ 6129 which can conflict with char $ac_func(); below. */
@@ -6143,7 +6146,7 @@ $ac_func();
6143 6146
6144; return 0; } 6147; return 0; }
6145EOF 6148EOF
6146if { (eval echo configure:6147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6149if { (eval echo configure:6150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6147 rm -rf conftest* 6150 rm -rf conftest*
6148 eval "ac_cv_func_$ac_func=yes" 6151 eval "ac_cv_func_$ac_func=yes"
6149else 6152else
@@ -6172,17 +6175,17 @@ for ac_hdr in sys/time.h unistd.h
6172do 6175do
6173ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6176ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6174echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6177echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6175echo "configure:6176: checking for $ac_hdr" >&5 6178echo "configure:6179: checking for $ac_hdr" >&5
6176if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6179if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6177 echo $ac_n "(cached) $ac_c" 1>&6 6180 echo $ac_n "(cached) $ac_c" 1>&6
6178else 6181else
6179 cat > conftest.$ac_ext <<EOF 6182 cat > conftest.$ac_ext <<EOF
6180#line 6181 "configure" 6183#line 6184 "configure"
6181#include "confdefs.h" 6184#include "confdefs.h"
6182#include <$ac_hdr> 6185#include <$ac_hdr>
6183EOF 6186EOF
6184ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6187ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6185{ (eval echo configure:6186: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6188{ (eval echo configure:6189: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6186ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6189ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6187if test -z "$ac_err"; then 6190if test -z "$ac_err"; then
6188 rm -rf conftest* 6191 rm -rf conftest*
@@ -6211,12 +6214,12 @@ done
6211for ac_func in alarm 6214for ac_func in alarm
6212do 6215do
6213echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 6216echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6214echo "configure:6215: checking for $ac_func" >&5 6217echo "configure:6218: checking for $ac_func" >&5
6215if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 6218if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6216 echo $ac_n "(cached) $ac_c" 1>&6 6219 echo $ac_n "(cached) $ac_c" 1>&6
6217else 6220else
6218 cat > conftest.$ac_ext <<EOF 6221 cat > conftest.$ac_ext <<EOF
6219#line 6220 "configure" 6222#line 6223 "configure"
6220#include "confdefs.h" 6223#include "confdefs.h"
6221/* System header to define __stub macros and hopefully few prototypes, 6224/* System header to define __stub macros and hopefully few prototypes,
6222 which can conflict with char $ac_func(); below. */ 6225 which can conflict with char $ac_func(); below. */
@@ -6239,7 +6242,7 @@ $ac_func();
6239 6242
6240; return 0; } 6243; return 0; }
6241EOF 6244EOF
6242if { (eval echo configure:6243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6245if { (eval echo configure:6246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6243 rm -rf conftest* 6246 rm -rf conftest*
6244 eval "ac_cv_func_$ac_func=yes" 6247 eval "ac_cv_func_$ac_func=yes"
6245else 6248else
@@ -6264,7 +6267,7 @@ fi
6264done 6267done
6265 6268
6266echo $ac_n "checking for working mktime""... $ac_c" 1>&6 6269echo $ac_n "checking for working mktime""... $ac_c" 1>&6
6267echo "configure:6268: checking for working mktime" >&5 6270echo "configure:6271: checking for working mktime" >&5
6268if eval "test \"`echo '$''{'ac_cv_func_working_mktime'+set}'`\" = set"; then 6271if eval "test \"`echo '$''{'ac_cv_func_working_mktime'+set}'`\" = set"; then
6269 echo $ac_n "(cached) $ac_c" 1>&6 6272 echo $ac_n "(cached) $ac_c" 1>&6
6270else 6273else
@@ -6272,7 +6275,7 @@ else
6272 ac_cv_func_working_mktime=no 6275 ac_cv_func_working_mktime=no
6273else 6276else
6274 cat > conftest.$ac_ext <<EOF 6277 cat > conftest.$ac_ext <<EOF
6275#line 6276 "configure" 6278#line 6279 "configure"
6276#include "confdefs.h" 6279#include "confdefs.h"
6277/* Test program from Paul Eggert (eggert@twinsun.com) 6280/* Test program from Paul Eggert (eggert@twinsun.com)
6278 and Tony Leneis (tony@plaza.ds.adp.com). */ 6281 and Tony Leneis (tony@plaza.ds.adp.com). */
@@ -6421,7 +6424,7 @@ main ()
6421 exit (0); 6424 exit (0);
6422} 6425}
6423EOF 6426EOF
6424if { (eval echo configure:6425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 6427if { (eval echo configure:6428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6425then 6428then
6426 ac_cv_func_working_mktime=yes 6429 ac_cv_func_working_mktime=yes
6427else 6430else
@@ -6453,7 +6456,7 @@ ac_have_func=no # yes means we've found a way to get the load average.
6453# On Solaris, -lkvm requires nlist from -lelf, so check that first 6456# On Solaris, -lkvm requires nlist from -lelf, so check that first
6454# to get the right answer into the cache. 6457# to get the right answer into the cache.
6455echo $ac_n "checking for elf_begin in -lelf""... $ac_c" 1>&6 6458echo $ac_n "checking for elf_begin in -lelf""... $ac_c" 1>&6
6456echo "configure:6457: checking for elf_begin in -lelf" >&5 6459echo "configure:6460: checking for elf_begin in -lelf" >&5
6457ac_lib_var=`echo elf'_'elf_begin | sed 'y%./+-%__p_%'` 6460ac_lib_var=`echo elf'_'elf_begin | sed 'y%./+-%__p_%'`
6458if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6461if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6459 echo $ac_n "(cached) $ac_c" 1>&6 6462 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6461,7 +6464,7 @@ else
6461 ac_save_LIBS="$LIBS" 6464 ac_save_LIBS="$LIBS"
6462LIBS="-lelf $LIBS" 6465LIBS="-lelf $LIBS"
6463cat > conftest.$ac_ext <<EOF 6466cat > conftest.$ac_ext <<EOF
6464#line 6465 "configure" 6467#line 6468 "configure"
6465#include "confdefs.h" 6468#include "confdefs.h"
6466/* Override any gcc2 internal prototype to avoid an error. */ 6469/* Override any gcc2 internal prototype to avoid an error. */
6467/* We use char because int might match the return type of a gcc2 6470/* We use char because int might match the return type of a gcc2
@@ -6472,7 +6475,7 @@ int main() {
6472elf_begin() 6475elf_begin()
6473; return 0; } 6476; return 0; }
6474EOF 6477EOF
6475if { (eval echo configure:6476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6478if { (eval echo configure:6479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6476 rm -rf conftest* 6479 rm -rf conftest*
6477 eval "ac_cv_lib_$ac_lib_var=yes" 6480 eval "ac_cv_lib_$ac_lib_var=yes"
6478else 6481else
@@ -6493,7 +6496,7 @@ else
6493fi 6496fi
6494 6497
6495echo $ac_n "checking for kvm_open in -lkvm""... $ac_c" 1>&6 6498echo $ac_n "checking for kvm_open in -lkvm""... $ac_c" 1>&6
6496echo "configure:6497: checking for kvm_open in -lkvm" >&5 6499echo "configure:6500: checking for kvm_open in -lkvm" >&5
6497ac_lib_var=`echo kvm'_'kvm_open | sed 'y%./+-%__p_%'` 6500ac_lib_var=`echo kvm'_'kvm_open | sed 'y%./+-%__p_%'`
6498if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6501if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6499 echo $ac_n "(cached) $ac_c" 1>&6 6502 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6501,7 +6504,7 @@ else
6501 ac_save_LIBS="$LIBS" 6504 ac_save_LIBS="$LIBS"
6502LIBS="-lkvm $LIBS" 6505LIBS="-lkvm $LIBS"
6503cat > conftest.$ac_ext <<EOF 6506cat > conftest.$ac_ext <<EOF
6504#line 6505 "configure" 6507#line 6508 "configure"
6505#include "confdefs.h" 6508#include "confdefs.h"
6506/* Override any gcc2 internal prototype to avoid an error. */ 6509/* Override any gcc2 internal prototype to avoid an error. */
6507/* We use char because int might match the return type of a gcc2 6510/* We use char because int might match the return type of a gcc2
@@ -6512,7 +6515,7 @@ int main() {
6512kvm_open() 6515kvm_open()
6513; return 0; } 6516; return 0; }
6514EOF 6517EOF
6515if { (eval echo configure:6516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6518if { (eval echo configure:6519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6516 rm -rf conftest* 6519 rm -rf conftest*
6517 eval "ac_cv_lib_$ac_lib_var=yes" 6520 eval "ac_cv_lib_$ac_lib_var=yes"
6518else 6521else
@@ -6534,7 +6537,7 @@ fi
6534 6537
6535# Check for the 4.4BSD definition of getloadavg. 6538# Check for the 4.4BSD definition of getloadavg.
6536echo $ac_n "checking for getloadavg in -lutil""... $ac_c" 1>&6 6539echo $ac_n "checking for getloadavg in -lutil""... $ac_c" 1>&6
6537echo "configure:6538: checking for getloadavg in -lutil" >&5 6540echo "configure:6541: checking for getloadavg in -lutil" >&5
6538ac_lib_var=`echo util'_'getloadavg | sed 'y%./+-%__p_%'` 6541ac_lib_var=`echo util'_'getloadavg | sed 'y%./+-%__p_%'`
6539if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6542if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6540 echo $ac_n "(cached) $ac_c" 1>&6 6543 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6542,7 +6545,7 @@ else
6542 ac_save_LIBS="$LIBS" 6545 ac_save_LIBS="$LIBS"
6543LIBS="-lutil $LIBS" 6546LIBS="-lutil $LIBS"
6544cat > conftest.$ac_ext <<EOF 6547cat > conftest.$ac_ext <<EOF
6545#line 6546 "configure" 6548#line 6549 "configure"
6546#include "confdefs.h" 6549#include "confdefs.h"
6547/* Override any gcc2 internal prototype to avoid an error. */ 6550/* Override any gcc2 internal prototype to avoid an error. */
6548/* We use char because int might match the return type of a gcc2 6551/* We use char because int might match the return type of a gcc2
@@ -6553,7 +6556,7 @@ int main() {
6553getloadavg() 6556getloadavg()
6554; return 0; } 6557; return 0; }
6555EOF 6558EOF
6556if { (eval echo configure:6557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6559if { (eval echo configure:6560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6557 rm -rf conftest* 6560 rm -rf conftest*
6558 eval "ac_cv_lib_$ac_lib_var=yes" 6561 eval "ac_cv_lib_$ac_lib_var=yes"
6559else 6562else
@@ -6579,7 +6582,7 @@ if test $ac_have_func = no; then
6579 # Since it is not a standard part of AIX, it might be installed locally. 6582 # Since it is not a standard part of AIX, it might be installed locally.
6580 ac_getloadavg_LIBS="$LIBS"; LIBS="-L/usr/local/lib $LIBS" 6583 ac_getloadavg_LIBS="$LIBS"; LIBS="-L/usr/local/lib $LIBS"
6581 echo $ac_n "checking for getloadavg in -lgetloadavg""... $ac_c" 1>&6 6584 echo $ac_n "checking for getloadavg in -lgetloadavg""... $ac_c" 1>&6
6582echo "configure:6583: checking for getloadavg in -lgetloadavg" >&5 6585echo "configure:6586: checking for getloadavg in -lgetloadavg" >&5
6583ac_lib_var=`echo getloadavg'_'getloadavg | sed 'y%./+-%__p_%'` 6586ac_lib_var=`echo getloadavg'_'getloadavg | sed 'y%./+-%__p_%'`
6584if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6587if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6585 echo $ac_n "(cached) $ac_c" 1>&6 6588 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6587,7 +6590,7 @@ else
6587 ac_save_LIBS="$LIBS" 6590 ac_save_LIBS="$LIBS"
6588LIBS="-lgetloadavg $LIBS" 6591LIBS="-lgetloadavg $LIBS"
6589cat > conftest.$ac_ext <<EOF 6592cat > conftest.$ac_ext <<EOF
6590#line 6591 "configure" 6593#line 6594 "configure"
6591#include "confdefs.h" 6594#include "confdefs.h"
6592/* Override any gcc2 internal prototype to avoid an error. */ 6595/* Override any gcc2 internal prototype to avoid an error. */
6593/* We use char because int might match the return type of a gcc2 6596/* We use char because int might match the return type of a gcc2
@@ -6598,7 +6601,7 @@ int main() {
6598getloadavg() 6601getloadavg()
6599; return 0; } 6602; return 0; }
6600EOF 6603EOF
6601if { (eval echo configure:6602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6604if { (eval echo configure:6605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6602 rm -rf conftest* 6605 rm -rf conftest*
6603 eval "ac_cv_lib_$ac_lib_var=yes" 6606 eval "ac_cv_lib_$ac_lib_var=yes"
6604else 6607else
@@ -6625,12 +6628,12 @@ fi
6625for ac_func in getloadavg 6628for ac_func in getloadavg
6626do 6629do
6627echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 6630echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6628echo "configure:6629: checking for $ac_func" >&5 6631echo "configure:6632: checking for $ac_func" >&5
6629if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 6632if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6630 echo $ac_n "(cached) $ac_c" 1>&6 6633 echo $ac_n "(cached) $ac_c" 1>&6
6631else 6634else
6632 cat > conftest.$ac_ext <<EOF 6635 cat > conftest.$ac_ext <<EOF
6633#line 6634 "configure" 6636#line 6637 "configure"
6634#include "confdefs.h" 6637#include "confdefs.h"
6635/* System header to define __stub macros and hopefully few prototypes, 6638/* System header to define __stub macros and hopefully few prototypes,
6636 which can conflict with char $ac_func(); below. */ 6639 which can conflict with char $ac_func(); below. */
@@ -6653,7 +6656,7 @@ $ac_func();
6653 6656
6654; return 0; } 6657; return 0; }
6655EOF 6658EOF
6656if { (eval echo configure:6657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6659if { (eval echo configure:6660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6657 rm -rf conftest* 6660 rm -rf conftest*
6658 eval "ac_cv_func_$ac_func=yes" 6661 eval "ac_cv_func_$ac_func=yes"
6659else 6662else
@@ -6691,17 +6694,17 @@ else
6691 ac_have_func=no 6694 ac_have_func=no
6692 ac_safe=`echo "sys/dg_sys_info.h" | sed 'y%./+-%__p_%'` 6695 ac_safe=`echo "sys/dg_sys_info.h" | sed 'y%./+-%__p_%'`
6693echo $ac_n "checking for sys/dg_sys_info.h""... $ac_c" 1>&6 6696echo $ac_n "checking for sys/dg_sys_info.h""... $ac_c" 1>&6
6694echo "configure:6695: checking for sys/dg_sys_info.h" >&5 6697echo "configure:6698: checking for sys/dg_sys_info.h" >&5
6695if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6698if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6696 echo $ac_n "(cached) $ac_c" 1>&6 6699 echo $ac_n "(cached) $ac_c" 1>&6
6697else 6700else
6698 cat > conftest.$ac_ext <<EOF 6701 cat > conftest.$ac_ext <<EOF
6699#line 6700 "configure" 6702#line 6703 "configure"
6700#include "confdefs.h" 6703#include "confdefs.h"
6701#include <sys/dg_sys_info.h> 6704#include <sys/dg_sys_info.h>
6702EOF 6705EOF
6703ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6706ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6704{ (eval echo configure:6705: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6707{ (eval echo configure:6708: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6705ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6708ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6706if test -z "$ac_err"; then 6709if test -z "$ac_err"; then
6707 rm -rf conftest* 6710 rm -rf conftest*
@@ -6722,7 +6725,7 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6722EOF 6725EOF
6723 6726
6724 echo $ac_n "checking for dg_sys_info in -ldgc""... $ac_c" 1>&6 6727 echo $ac_n "checking for dg_sys_info in -ldgc""... $ac_c" 1>&6
6725echo "configure:6726: checking for dg_sys_info in -ldgc" >&5 6728echo "configure:6729: checking for dg_sys_info in -ldgc" >&5
6726ac_lib_var=`echo dgc'_'dg_sys_info | sed 'y%./+-%__p_%'` 6729ac_lib_var=`echo dgc'_'dg_sys_info | sed 'y%./+-%__p_%'`
6727if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6730if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6728 echo $ac_n "(cached) $ac_c" 1>&6 6731 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6730,7 +6733,7 @@ else
6730 ac_save_LIBS="$LIBS" 6733 ac_save_LIBS="$LIBS"
6731LIBS="-ldgc $LIBS" 6734LIBS="-ldgc $LIBS"
6732cat > conftest.$ac_ext <<EOF 6735cat > conftest.$ac_ext <<EOF
6733#line 6734 "configure" 6736#line 6737 "configure"
6734#include "confdefs.h" 6737#include "confdefs.h"
6735/* Override any gcc2 internal prototype to avoid an error. */ 6738/* Override any gcc2 internal prototype to avoid an error. */
6736/* We use char because int might match the return type of a gcc2 6739/* We use char because int might match the return type of a gcc2
@@ -6741,7 +6744,7 @@ int main() {
6741dg_sys_info() 6744dg_sys_info()
6742; return 0; } 6745; return 0; }
6743EOF 6746EOF
6744if { (eval echo configure:6745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6747if { (eval echo configure:6748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6745 rm -rf conftest* 6748 rm -rf conftest*
6746 eval "ac_cv_lib_$ac_lib_var=yes" 6749 eval "ac_cv_lib_$ac_lib_var=yes"
6747else 6750else
@@ -6786,17 +6789,17 @@ EOF
6786 if test $ac_have_func = no; then 6789 if test $ac_have_func = no; then
6787 ac_safe=`echo "inq_stats/cpustats.h" | sed 'y%./+-%__p_%'` 6790 ac_safe=`echo "inq_stats/cpustats.h" | sed 'y%./+-%__p_%'`
6788echo $ac_n "checking for inq_stats/cpustats.h""... $ac_c" 1>&6 6791echo $ac_n "checking for inq_stats/cpustats.h""... $ac_c" 1>&6
6789echo "configure:6790: checking for inq_stats/cpustats.h" >&5 6792echo "configure:6793: checking for inq_stats/cpustats.h" >&5
6790if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6793if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6791 echo $ac_n "(cached) $ac_c" 1>&6 6794 echo $ac_n "(cached) $ac_c" 1>&6
6792else 6795else
6793 cat > conftest.$ac_ext <<EOF 6796 cat > conftest.$ac_ext <<EOF
6794#line 6795 "configure" 6797#line 6798 "configure"
6795#include "confdefs.h" 6798#include "confdefs.h"
6796#include <inq_stats/cpustats.h> 6799#include <inq_stats/cpustats.h>
6797EOF 6800EOF
6798ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6801ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6799{ (eval echo configure:6800: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6802{ (eval echo configure:6803: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6800ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6803ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6801if test -z "$ac_err"; then 6804if test -z "$ac_err"; then
6802 rm -rf conftest* 6805 rm -rf conftest*
@@ -6829,17 +6832,17 @@ fi
6829 if test $ac_have_func = no; then 6832 if test $ac_have_func = no; then
6830 ac_safe=`echo "sys/cpustats.h" | sed 'y%./+-%__p_%'` 6833 ac_safe=`echo "sys/cpustats.h" | sed 'y%./+-%__p_%'`
6831echo $ac_n "checking for sys/cpustats.h""... $ac_c" 1>&6 6834echo $ac_n "checking for sys/cpustats.h""... $ac_c" 1>&6
6832echo "configure:6833: checking for sys/cpustats.h" >&5 6835echo "configure:6836: checking for sys/cpustats.h" >&5
6833if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6836if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6834 echo $ac_n "(cached) $ac_c" 1>&6 6837 echo $ac_n "(cached) $ac_c" 1>&6
6835else 6838else
6836 cat > conftest.$ac_ext <<EOF 6839 cat > conftest.$ac_ext <<EOF
6837#line 6838 "configure" 6840#line 6841 "configure"
6838#include "confdefs.h" 6841#include "confdefs.h"
6839#include <sys/cpustats.h> 6842#include <sys/cpustats.h>
6840EOF 6843EOF
6841ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6844ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6842{ (eval echo configure:6843: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6845{ (eval echo configure:6846: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6843ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6846ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6844if test -z "$ac_err"; then 6847if test -z "$ac_err"; then
6845 rm -rf conftest* 6848 rm -rf conftest*
@@ -6870,17 +6873,17 @@ fi
6870do 6873do
6871ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6874ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6872echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6875echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6873echo "configure:6874: checking for $ac_hdr" >&5 6876echo "configure:6877: checking for $ac_hdr" >&5
6874if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6877if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6875 echo $ac_n "(cached) $ac_c" 1>&6 6878 echo $ac_n "(cached) $ac_c" 1>&6
6876else 6879else
6877 cat > conftest.$ac_ext <<EOF 6880 cat > conftest.$ac_ext <<EOF
6878#line 6879 "configure" 6881#line 6882 "configure"
6879#include "confdefs.h" 6882#include "confdefs.h"
6880#include <$ac_hdr> 6883#include <$ac_hdr>
6881EOF 6884EOF
6882ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6885ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6883{ (eval echo configure:6884: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6886{ (eval echo configure:6887: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6884ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6887ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6885if test -z "$ac_err"; then 6888if test -z "$ac_err"; then
6886 rm -rf conftest* 6889 rm -rf conftest*
@@ -6910,17 +6913,17 @@ done
6910 6913
6911 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` 6914 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'`
6912echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 6915echo $ac_n "checking for nlist.h""... $ac_c" 1>&6
6913echo "configure:6914: checking for nlist.h" >&5 6916echo "configure:6917: checking for nlist.h" >&5
6914if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6917if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6915 echo $ac_n "(cached) $ac_c" 1>&6 6918 echo $ac_n "(cached) $ac_c" 1>&6
6916else 6919else
6917 cat > conftest.$ac_ext <<EOF 6920 cat > conftest.$ac_ext <<EOF
6918#line 6919 "configure" 6921#line 6922 "configure"
6919#include "confdefs.h" 6922#include "confdefs.h"
6920#include <nlist.h> 6923#include <nlist.h>
6921EOF 6924EOF
6922ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6925ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6923{ (eval echo configure:6924: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6926{ (eval echo configure:6927: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6924ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6927ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6925if test -z "$ac_err"; then 6928if test -z "$ac_err"; then
6926 rm -rf conftest* 6929 rm -rf conftest*
@@ -6941,19 +6944,19 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6941EOF 6944EOF
6942 6945
6943 echo $ac_n "checking for n_un in struct nlist""... $ac_c" 1>&6 6946 echo $ac_n "checking for n_un in struct nlist""... $ac_c" 1>&6
6944echo "configure:6945: checking for n_un in struct nlist" >&5 6947echo "configure:6948: checking for n_un in struct nlist" >&5
6945if eval "test \"`echo '$''{'ac_cv_struct_nlist_n_un'+set}'`\" = set"; then 6948if eval "test \"`echo '$''{'ac_cv_struct_nlist_n_un'+set}'`\" = set"; then
6946 echo $ac_n "(cached) $ac_c" 1>&6 6949 echo $ac_n "(cached) $ac_c" 1>&6
6947else 6950else
6948 cat > conftest.$ac_ext <<EOF 6951 cat > conftest.$ac_ext <<EOF
6949#line 6950 "configure" 6952#line 6953 "configure"
6950#include "confdefs.h" 6953#include "confdefs.h"
6951#include <nlist.h> 6954#include <nlist.h>
6952int main() { 6955int main() {
6953struct nlist n; n.n_un.n_name = 0; 6956struct nlist n; n.n_un.n_name = 0;
6954; return 0; } 6957; return 0; }
6955EOF 6958EOF
6956if { (eval echo configure:6957: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 6959if { (eval echo configure:6960: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6957 rm -rf conftest* 6960 rm -rf conftest*
6958 ac_cv_struct_nlist_n_un=yes 6961 ac_cv_struct_nlist_n_un=yes
6959else 6962else
@@ -6980,12 +6983,12 @@ fi # Do not have getloadavg in system libraries.
6980 6983
6981# Some definitions of getloadavg require that the program be installed setgid. 6984# Some definitions of getloadavg require that the program be installed setgid.
6982echo $ac_n "checking whether getloadavg requires setgid""... $ac_c" 1>&6 6985echo $ac_n "checking whether getloadavg requires setgid""... $ac_c" 1>&6
6983echo "configure:6984: checking whether getloadavg requires setgid" >&5 6986echo "configure:6987: checking whether getloadavg requires setgid" >&5
6984if eval "test \"`echo '$''{'ac_cv_func_getloadavg_setgid'+set}'`\" = set"; then 6987if eval "test \"`echo '$''{'ac_cv_func_getloadavg_setgid'+set}'`\" = set"; then
6985 echo $ac_n "(cached) $ac_c" 1>&6 6988 echo $ac_n "(cached) $ac_c" 1>&6
6986else 6989else
6987 cat > conftest.$ac_ext <<EOF 6990 cat > conftest.$ac_ext <<EOF
6988#line 6989 "configure" 6991#line 6992 "configure"
6989#include "confdefs.h" 6992#include "confdefs.h"
6990#include "$srcdir/getloadavg.c" 6993#include "$srcdir/getloadavg.c"
6991#ifdef LDAV_PRIVILEGED 6994#ifdef LDAV_PRIVILEGED
@@ -7016,7 +7019,7 @@ fi
7016 7019
7017if test $ac_cv_func_getloadavg_setgid = yes; then 7020if test $ac_cv_func_getloadavg_setgid = yes; then
7018 echo $ac_n "checking group of /dev/kmem""... $ac_c" 1>&6 7021 echo $ac_n "checking group of /dev/kmem""... $ac_c" 1>&6
7019echo "configure:7020: checking group of /dev/kmem" >&5 7022echo "configure:7023: checking group of /dev/kmem" >&5
7020if eval "test \"`echo '$''{'ac_cv_group_kmem'+set}'`\" = set"; then 7023if eval "test \"`echo '$''{'ac_cv_group_kmem'+set}'`\" = set"; then
7021 echo $ac_n "(cached) $ac_c" 1>&6 7024 echo $ac_n "(cached) $ac_c" 1>&6
7022else 7025else
@@ -7037,27 +7040,27 @@ fi
7037 7040
7038 7041
7039echo $ac_n "checking for _LARGEFILE_SOURCE value needed for large files""... $ac_c" 1>&6 7042echo $ac_n "checking for _LARGEFILE_SOURCE value needed for large files""... $ac_c" 1>&6
7040echo "configure:7041: checking for _LARGEFILE_SOURCE value needed for large files" >&5 7043echo "configure:7044: checking for _LARGEFILE_SOURCE value needed for large files" >&5
7041if eval "test \"`echo '$''{'ac_cv_sys_largefile_source'+set}'`\" = set"; then 7044if eval "test \"`echo '$''{'ac_cv_sys_largefile_source'+set}'`\" = set"; then
7042 echo $ac_n "(cached) $ac_c" 1>&6 7045 echo $ac_n "(cached) $ac_c" 1>&6
7043else 7046else
7044 ac_cv_sys_largefile_source=no 7047 ac_cv_sys_largefile_source=no
7045 cat > conftest.$ac_ext <<EOF 7048 cat > conftest.$ac_ext <<EOF
7046#line 7047 "configure" 7049#line 7050 "configure"
7047#include "confdefs.h" 7050#include "confdefs.h"
7048#include <stdio.h> 7051#include <stdio.h>
7049int main() { 7052int main() {
7050return !fseeko; 7053return !fseeko;
7051; return 0; } 7054; return 0; }
7052EOF 7055EOF
7053if { (eval echo configure:7054: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 7056if { (eval echo configure:7057: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7054 : 7057 :
7055else 7058else
7056 echo "configure: failed program was:" >&5 7059 echo "configure: failed program was:" >&5
7057 cat conftest.$ac_ext >&5 7060 cat conftest.$ac_ext >&5
7058 rm -rf conftest* 7061 rm -rf conftest*
7059 cat > conftest.$ac_ext <<EOF 7062 cat > conftest.$ac_ext <<EOF
7060#line 7061 "configure" 7063#line 7064 "configure"
7061#include "confdefs.h" 7064#include "confdefs.h"
7062#define _LARGEFILE_SOURCE 1 7065#define _LARGEFILE_SOURCE 1
7063#include <stdio.h> 7066#include <stdio.h>
@@ -7066,7 +7069,7 @@ int main() {
7066return !fseeko; 7069return !fseeko;
7067; return 0; } 7070; return 0; }
7068EOF 7071EOF
7069if { (eval echo configure:7070: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 7072if { (eval echo configure:7073: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7070 rm -rf conftest* 7073 rm -rf conftest*
7071 ac_cv_sys_largefile_source=1 7074 ac_cv_sys_largefile_source=1
7072else 7075else
@@ -7090,20 +7093,20 @@ EOF
7090 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. 7093 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
7091 7094
7092 echo $ac_n "checking for fseeko""... $ac_c" 1>&6 7095 echo $ac_n "checking for fseeko""... $ac_c" 1>&6
7093echo "configure:7094: checking for fseeko" >&5 7096echo "configure:7097: checking for fseeko" >&5
7094if eval "test \"`echo '$''{'ac_cv_func_fseeko'+set}'`\" = set"; then 7097if eval "test \"`echo '$''{'ac_cv_func_fseeko'+set}'`\" = set"; then
7095 echo $ac_n "(cached) $ac_c" 1>&6 7098 echo $ac_n "(cached) $ac_c" 1>&6
7096else 7099else
7097 ac_cv_func_fseeko=no 7100 ac_cv_func_fseeko=no
7098 cat > conftest.$ac_ext <<EOF 7101 cat > conftest.$ac_ext <<EOF
7099#line 7100 "configure" 7102#line 7103 "configure"
7100#include "confdefs.h" 7103#include "confdefs.h"
7101#include <stdio.h> 7104#include <stdio.h>
7102int main() { 7105int main() {
7103return fseeko && fseeko (stdin, 0, 0); 7106return fseeko && fseeko (stdin, 0, 0);
7104; return 0; } 7107; return 0; }
7105EOF 7108EOF
7106if { (eval echo configure:7107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7109if { (eval echo configure:7110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7107 rm -rf conftest* 7110 rm -rf conftest*
7108 ac_cv_func_fseeko=yes 7111 ac_cv_func_fseeko=yes
7109else 7112else
@@ -7125,12 +7128,12 @@ EOF
7125for ac_func in grantpt 7128for ac_func in grantpt
7126do 7129do
7127echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 7130echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7128echo "configure:7129: checking for $ac_func" >&5 7131echo "configure:7132: checking for $ac_func" >&5
7129if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 7132if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7130 echo $ac_n "(cached) $ac_c" 1>&6 7133 echo $ac_n "(cached) $ac_c" 1>&6
7131else 7134else
7132 cat > conftest.$ac_ext <<EOF 7135 cat > conftest.$ac_ext <<EOF
7133#line 7134 "configure" 7136#line 7137 "configure"
7134#include "confdefs.h" 7137#include "confdefs.h"
7135/* System header to define __stub macros and hopefully few prototypes, 7138/* System header to define __stub macros and hopefully few prototypes,
7136 which can conflict with char $ac_func(); below. */ 7139 which can conflict with char $ac_func(); below. */
@@ -7153,7 +7156,7 @@ $ac_func();
7153 7156
7154; return 0; } 7157; return 0; }
7155EOF 7158EOF
7156if { (eval echo configure:7157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7159if { (eval echo configure:7160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7157 rm -rf conftest* 7160 rm -rf conftest*
7158 eval "ac_cv_func_$ac_func=yes" 7161 eval "ac_cv_func_$ac_func=yes"
7159else 7162else
@@ -7182,12 +7185,12 @@ done
7182for ac_func in getpt 7185for ac_func in getpt
7183do 7186do
7184echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 7187echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7185echo "configure:7186: checking for $ac_func" >&5 7188echo "configure:7189: checking for $ac_func" >&5
7186if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 7189if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7187 echo $ac_n "(cached) $ac_c" 1>&6 7190 echo $ac_n "(cached) $ac_c" 1>&6
7188else 7191else
7189 cat > conftest.$ac_ext <<EOF 7192 cat > conftest.$ac_ext <<EOF
7190#line 7191 "configure" 7193#line 7194 "configure"
7191#include "confdefs.h" 7194#include "confdefs.h"
7192/* System header to define __stub macros and hopefully few prototypes, 7195/* System header to define __stub macros and hopefully few prototypes,
7193 which can conflict with char $ac_func(); below. */ 7196 which can conflict with char $ac_func(); below. */
@@ -7210,7 +7213,7 @@ $ac_func();
7210 7213
7211; return 0; } 7214; return 0; }
7212EOF 7215EOF
7213if { (eval echo configure:7214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7216if { (eval echo configure:7217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7214 rm -rf conftest* 7217 rm -rf conftest*
7215 eval "ac_cv_func_$ac_func=yes" 7218 eval "ac_cv_func_$ac_func=yes"
7216else 7219else
@@ -7240,7 +7243,7 @@ done
7240# It's better to believe a function is not available 7243# It's better to believe a function is not available
7241# than to expect to find it in ncurses. 7244# than to expect to find it in ncurses.
7242echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6 7245echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6
7243echo "configure:7244: checking for tparm in -lncurses" >&5 7246echo "configure:7247: checking for tparm in -lncurses" >&5
7244ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'` 7247ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'`
7245if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7248if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7246 echo $ac_n "(cached) $ac_c" 1>&6 7249 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7248,7 +7251,7 @@ else
7248 ac_save_LIBS="$LIBS" 7251 ac_save_LIBS="$LIBS"
7249LIBS="-lncurses $LIBS" 7252LIBS="-lncurses $LIBS"
7250cat > conftest.$ac_ext <<EOF 7253cat > conftest.$ac_ext <<EOF
7251#line 7252 "configure" 7254#line 7255 "configure"
7252#include "confdefs.h" 7255#include "confdefs.h"
7253/* Override any gcc2 internal prototype to avoid an error. */ 7256/* Override any gcc2 internal prototype to avoid an error. */
7254/* We use char because int might match the return type of a gcc2 7257/* We use char because int might match the return type of a gcc2
@@ -7259,7 +7262,7 @@ int main() {
7259tparm() 7262tparm()
7260; return 0; } 7263; return 0; }
7261EOF 7264EOF
7262if { (eval echo configure:7263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7265if { (eval echo configure:7266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7263 rm -rf conftest* 7266 rm -rf conftest*
7264 eval "ac_cv_lib_$ac_lib_var=yes" 7267 eval "ac_cv_lib_$ac_lib_var=yes"
7265else 7268else
@@ -7290,7 +7293,7 @@ fi
7290# These tell us which Kerberos-related libraries to use. 7293# These tell us which Kerberos-related libraries to use.
7291if test "${with_kerberos+set}" = set; then 7294if test "${with_kerberos+set}" = set; then
7292 echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6 7295 echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6
7293echo "configure:7294: checking for com_err in -lcom_err" >&5 7296echo "configure:7297: checking for com_err in -lcom_err" >&5
7294ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'` 7297ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'`
7295if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7298if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7296 echo $ac_n "(cached) $ac_c" 1>&6 7299 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7298,7 +7301,7 @@ else
7298 ac_save_LIBS="$LIBS" 7301 ac_save_LIBS="$LIBS"
7299LIBS="-lcom_err $LIBS" 7302LIBS="-lcom_err $LIBS"
7300cat > conftest.$ac_ext <<EOF 7303cat > conftest.$ac_ext <<EOF
7301#line 7302 "configure" 7304#line 7305 "configure"
7302#include "confdefs.h" 7305#include "confdefs.h"
7303/* Override any gcc2 internal prototype to avoid an error. */ 7306/* Override any gcc2 internal prototype to avoid an error. */
7304/* We use char because int might match the return type of a gcc2 7307/* We use char because int might match the return type of a gcc2
@@ -7309,7 +7312,7 @@ int main() {
7309com_err() 7312com_err()
7310; return 0; } 7313; return 0; }
7311EOF 7314EOF
7312if { (eval echo configure:7313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7315if { (eval echo configure:7316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7313 rm -rf conftest* 7316 rm -rf conftest*
7314 eval "ac_cv_lib_$ac_lib_var=yes" 7317 eval "ac_cv_lib_$ac_lib_var=yes"
7315else 7318else
@@ -7337,7 +7340,7 @@ else
7337fi 7340fi
7338 7341
7339 echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6 7342 echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6
7340echo "configure:7341: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 7343echo "configure:7344: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
7341ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` 7344ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'`
7342if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7345if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7343 echo $ac_n "(cached) $ac_c" 1>&6 7346 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7345,7 +7348,7 @@ else
7345 ac_save_LIBS="$LIBS" 7348 ac_save_LIBS="$LIBS"
7346LIBS="-lk5crypto $LIBS" 7349LIBS="-lk5crypto $LIBS"
7347cat > conftest.$ac_ext <<EOF 7350cat > conftest.$ac_ext <<EOF
7348#line 7349 "configure" 7351#line 7352 "configure"
7349#include "confdefs.h" 7352#include "confdefs.h"
7350/* Override any gcc2 internal prototype to avoid an error. */ 7353/* Override any gcc2 internal prototype to avoid an error. */
7351/* We use char because int might match the return type of a gcc2 7354/* We use char because int might match the return type of a gcc2
@@ -7356,7 +7359,7 @@ int main() {
7356mit_des_cbc_encrypt() 7359mit_des_cbc_encrypt()
7357; return 0; } 7360; return 0; }
7358EOF 7361EOF
7359if { (eval echo configure:7360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7362if { (eval echo configure:7363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7360 rm -rf conftest* 7363 rm -rf conftest*
7361 eval "ac_cv_lib_$ac_lib_var=yes" 7364 eval "ac_cv_lib_$ac_lib_var=yes"
7362else 7365else
@@ -7384,7 +7387,7 @@ else
7384fi 7387fi
7385 7388
7386 echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6 7389 echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6
7387echo "configure:7388: checking for mit_des_cbc_encrypt in -lcrypto" >&5 7390echo "configure:7391: checking for mit_des_cbc_encrypt in -lcrypto" >&5
7388ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` 7391ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'`
7389if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7392if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7390 echo $ac_n "(cached) $ac_c" 1>&6 7393 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7392,7 +7395,7 @@ else
7392 ac_save_LIBS="$LIBS" 7395 ac_save_LIBS="$LIBS"
7393LIBS="-lcrypto $LIBS" 7396LIBS="-lcrypto $LIBS"
7394cat > conftest.$ac_ext <<EOF 7397cat > conftest.$ac_ext <<EOF
7395#line 7396 "configure" 7398#line 7399 "configure"
7396#include "confdefs.h" 7399#include "confdefs.h"
7397/* Override any gcc2 internal prototype to avoid an error. */ 7400/* Override any gcc2 internal prototype to avoid an error. */
7398/* We use char because int might match the return type of a gcc2 7401/* We use char because int might match the return type of a gcc2
@@ -7403,7 +7406,7 @@ int main() {
7403mit_des_cbc_encrypt() 7406mit_des_cbc_encrypt()
7404; return 0; } 7407; return 0; }
7405EOF 7408EOF
7406if { (eval echo configure:7407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7409if { (eval echo configure:7410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7407 rm -rf conftest* 7410 rm -rf conftest*
7408 eval "ac_cv_lib_$ac_lib_var=yes" 7411 eval "ac_cv_lib_$ac_lib_var=yes"
7409else 7412else
@@ -7431,7 +7434,7 @@ else
7431fi 7434fi
7432 7435
7433 echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6 7436 echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6
7434echo "configure:7435: checking for krb5_init_context in -lkrb5" >&5 7437echo "configure:7438: checking for krb5_init_context in -lkrb5" >&5
7435ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'` 7438ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'`
7436if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7439if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7437 echo $ac_n "(cached) $ac_c" 1>&6 7440 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7439,7 +7442,7 @@ else
7439 ac_save_LIBS="$LIBS" 7442 ac_save_LIBS="$LIBS"
7440LIBS="-lkrb5 $LIBS" 7443LIBS="-lkrb5 $LIBS"
7441cat > conftest.$ac_ext <<EOF 7444cat > conftest.$ac_ext <<EOF
7442#line 7443 "configure" 7445#line 7446 "configure"
7443#include "confdefs.h" 7446#include "confdefs.h"
7444/* Override any gcc2 internal prototype to avoid an error. */ 7447/* Override any gcc2 internal prototype to avoid an error. */
7445/* We use char because int might match the return type of a gcc2 7448/* We use char because int might match the return type of a gcc2
@@ -7450,7 +7453,7 @@ int main() {
7450krb5_init_context() 7453krb5_init_context()
7451; return 0; } 7454; return 0; }
7452EOF 7455EOF
7453if { (eval echo configure:7454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7456if { (eval echo configure:7457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7454 rm -rf conftest* 7457 rm -rf conftest*
7455 eval "ac_cv_lib_$ac_lib_var=yes" 7458 eval "ac_cv_lib_$ac_lib_var=yes"
7456else 7459else
@@ -7479,7 +7482,7 @@ fi
7479 7482
7480 if test "${with_kerberos5+set}" != set; then 7483 if test "${with_kerberos5+set}" != set; then
7481 echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6 7484 echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6
7482echo "configure:7483: checking for des_cbc_encrypt in -ldes425" >&5 7485echo "configure:7486: checking for des_cbc_encrypt in -ldes425" >&5
7483ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` 7486ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'`
7484if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7487if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7485 echo $ac_n "(cached) $ac_c" 1>&6 7488 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7487,7 +7490,7 @@ else
7487 ac_save_LIBS="$LIBS" 7490 ac_save_LIBS="$LIBS"
7488LIBS="-ldes425 $LIBS" 7491LIBS="-ldes425 $LIBS"
7489cat > conftest.$ac_ext <<EOF 7492cat > conftest.$ac_ext <<EOF
7490#line 7491 "configure" 7493#line 7494 "configure"
7491#include "confdefs.h" 7494#include "confdefs.h"
7492/* Override any gcc2 internal prototype to avoid an error. */ 7495/* Override any gcc2 internal prototype to avoid an error. */
7493/* We use char because int might match the return type of a gcc2 7496/* We use char because int might match the return type of a gcc2
@@ -7498,7 +7501,7 @@ int main() {
7498des_cbc_encrypt() 7501des_cbc_encrypt()
7499; return 0; } 7502; return 0; }
7500EOF 7503EOF
7501if { (eval echo configure:7502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7504if { (eval echo configure:7505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7502 rm -rf conftest* 7505 rm -rf conftest*
7503 eval "ac_cv_lib_$ac_lib_var=yes" 7506 eval "ac_cv_lib_$ac_lib_var=yes"
7504else 7507else
@@ -7524,7 +7527,7 @@ EOF
7524else 7527else
7525 echo "$ac_t""no" 1>&6 7528 echo "$ac_t""no" 1>&6
7526echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6 7529echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6
7527echo "configure:7528: checking for des_cbc_encrypt in -ldes" >&5 7530echo "configure:7531: checking for des_cbc_encrypt in -ldes" >&5
7528ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` 7531ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'`
7529if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7532if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7530 echo $ac_n "(cached) $ac_c" 1>&6 7533 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7532,7 +7535,7 @@ else
7532 ac_save_LIBS="$LIBS" 7535 ac_save_LIBS="$LIBS"
7533LIBS="-ldes $LIBS" 7536LIBS="-ldes $LIBS"
7534cat > conftest.$ac_ext <<EOF 7537cat > conftest.$ac_ext <<EOF
7535#line 7536 "configure" 7538#line 7539 "configure"
7536#include "confdefs.h" 7539#include "confdefs.h"
7537/* Override any gcc2 internal prototype to avoid an error. */ 7540/* Override any gcc2 internal prototype to avoid an error. */
7538/* We use char because int might match the return type of a gcc2 7541/* We use char because int might match the return type of a gcc2
@@ -7543,7 +7546,7 @@ int main() {
7543des_cbc_encrypt() 7546des_cbc_encrypt()
7544; return 0; } 7547; return 0; }
7545EOF 7548EOF
7546if { (eval echo configure:7547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7549if { (eval echo configure:7550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7547 rm -rf conftest* 7550 rm -rf conftest*
7548 eval "ac_cv_lib_$ac_lib_var=yes" 7551 eval "ac_cv_lib_$ac_lib_var=yes"
7549else 7552else
@@ -7573,7 +7576,7 @@ fi
7573fi 7576fi
7574 7577
7575 echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6 7578 echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6
7576echo "configure:7577: checking for krb_get_cred in -lkrb4" >&5 7579echo "configure:7580: checking for krb_get_cred in -lkrb4" >&5
7577ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'` 7580ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'`
7578if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7581if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7579 echo $ac_n "(cached) $ac_c" 1>&6 7582 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7581,7 +7584,7 @@ else
7581 ac_save_LIBS="$LIBS" 7584 ac_save_LIBS="$LIBS"
7582LIBS="-lkrb4 $LIBS" 7585LIBS="-lkrb4 $LIBS"
7583cat > conftest.$ac_ext <<EOF 7586cat > conftest.$ac_ext <<EOF
7584#line 7585 "configure" 7587#line 7588 "configure"
7585#include "confdefs.h" 7588#include "confdefs.h"
7586/* Override any gcc2 internal prototype to avoid an error. */ 7589/* Override any gcc2 internal prototype to avoid an error. */
7587/* We use char because int might match the return type of a gcc2 7590/* We use char because int might match the return type of a gcc2
@@ -7592,7 +7595,7 @@ int main() {
7592krb_get_cred() 7595krb_get_cred()
7593; return 0; } 7596; return 0; }
7594EOF 7597EOF
7595if { (eval echo configure:7596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7598if { (eval echo configure:7599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7596 rm -rf conftest* 7599 rm -rf conftest*
7597 eval "ac_cv_lib_$ac_lib_var=yes" 7600 eval "ac_cv_lib_$ac_lib_var=yes"
7598else 7601else
@@ -7618,7 +7621,7 @@ EOF
7618else 7621else
7619 echo "$ac_t""no" 1>&6 7622 echo "$ac_t""no" 1>&6
7620echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6 7623echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6
7621echo "configure:7622: checking for krb_get_cred in -lkrb" >&5 7624echo "configure:7625: checking for krb_get_cred in -lkrb" >&5
7622ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'` 7625ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'`
7623if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7626if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7624 echo $ac_n "(cached) $ac_c" 1>&6 7627 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7626,7 +7629,7 @@ else
7626 ac_save_LIBS="$LIBS" 7629 ac_save_LIBS="$LIBS"
7627LIBS="-lkrb $LIBS" 7630LIBS="-lkrb $LIBS"
7628cat > conftest.$ac_ext <<EOF 7631cat > conftest.$ac_ext <<EOF
7629#line 7630 "configure" 7632#line 7633 "configure"
7630#include "confdefs.h" 7633#include "confdefs.h"
7631/* Override any gcc2 internal prototype to avoid an error. */ 7634/* Override any gcc2 internal prototype to avoid an error. */
7632/* We use char because int might match the return type of a gcc2 7635/* We use char because int might match the return type of a gcc2
@@ -7637,7 +7640,7 @@ int main() {
7637krb_get_cred() 7640krb_get_cred()
7638; return 0; } 7641; return 0; }
7639EOF 7642EOF
7640if { (eval echo configure:7641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7643if { (eval echo configure:7644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7641 rm -rf conftest* 7644 rm -rf conftest*
7642 eval "ac_cv_lib_$ac_lib_var=yes" 7645 eval "ac_cv_lib_$ac_lib_var=yes"
7643else 7646else
@@ -7673,17 +7676,17 @@ fi
7673do 7676do
7674ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7677ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7675echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7678echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7676echo "configure:7677: checking for $ac_hdr" >&5 7679echo "configure:7680: checking for $ac_hdr" >&5
7677if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7680if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7678 echo $ac_n "(cached) $ac_c" 1>&6 7681 echo $ac_n "(cached) $ac_c" 1>&6
7679else 7682else
7680 cat > conftest.$ac_ext <<EOF 7683 cat > conftest.$ac_ext <<EOF
7681#line 7682 "configure" 7684#line 7685 "configure"
7682#include "confdefs.h" 7685#include "confdefs.h"
7683#include <$ac_hdr> 7686#include <$ac_hdr>
7684EOF 7687EOF
7685ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7688ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7686{ (eval echo configure:7687: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7689{ (eval echo configure:7690: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7687ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7690ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7688if test -z "$ac_err"; then 7691if test -z "$ac_err"; then
7689 rm -rf conftest* 7692 rm -rf conftest*
@@ -7714,17 +7717,17 @@ done
7714do 7717do
7715ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7718ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7716echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7719echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7717echo "configure:7718: checking for $ac_hdr" >&5 7720echo "configure:7721: checking for $ac_hdr" >&5
7718if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7721if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7719 echo $ac_n "(cached) $ac_c" 1>&6 7722 echo $ac_n "(cached) $ac_c" 1>&6
7720else 7723else
7721 cat > conftest.$ac_ext <<EOF 7724 cat > conftest.$ac_ext <<EOF
7722#line 7723 "configure" 7725#line 7726 "configure"
7723#include "confdefs.h" 7726#include "confdefs.h"
7724#include <$ac_hdr> 7727#include <$ac_hdr>
7725EOF 7728EOF
7726ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7729ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7727{ (eval echo configure:7728: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7730{ (eval echo configure:7731: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7728ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7731ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7729if test -z "$ac_err"; then 7732if test -z "$ac_err"; then
7730 rm -rf conftest* 7733 rm -rf conftest*
@@ -7751,17 +7754,17 @@ for ac_hdr in kerberosIV/des.h
7751do 7754do
7752ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7755ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7753echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7756echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7754echo "configure:7755: checking for $ac_hdr" >&5 7757echo "configure:7758: checking for $ac_hdr" >&5
7755if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7758if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7756 echo $ac_n "(cached) $ac_c" 1>&6 7759 echo $ac_n "(cached) $ac_c" 1>&6
7757else 7760else
7758 cat > conftest.$ac_ext <<EOF 7761 cat > conftest.$ac_ext <<EOF
7759#line 7760 "configure" 7762#line 7763 "configure"
7760#include "confdefs.h" 7763#include "confdefs.h"
7761#include <$ac_hdr> 7764#include <$ac_hdr>
7762EOF 7765EOF
7763ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7766ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7764{ (eval echo configure:7765: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7767{ (eval echo configure:7768: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7765ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7768ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7766if test -z "$ac_err"; then 7769if test -z "$ac_err"; then
7767 rm -rf conftest* 7770 rm -rf conftest*
@@ -7788,17 +7791,17 @@ for ac_hdr in kerberos/des.h
7788do 7791do
7789ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7792ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7790echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7793echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7791echo "configure:7792: checking for $ac_hdr" >&5 7794echo "configure:7795: checking for $ac_hdr" >&5
7792if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7795if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7793 echo $ac_n "(cached) $ac_c" 1>&6 7796 echo $ac_n "(cached) $ac_c" 1>&6
7794else 7797else
7795 cat > conftest.$ac_ext <<EOF 7798 cat > conftest.$ac_ext <<EOF
7796#line 7797 "configure" 7799#line 7800 "configure"
7797#include "confdefs.h" 7800#include "confdefs.h"
7798#include <$ac_hdr> 7801#include <$ac_hdr>
7799EOF 7802EOF
7800ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7803ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7801{ (eval echo configure:7802: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7804{ (eval echo configure:7805: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7802ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7805ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7803if test -z "$ac_err"; then 7806if test -z "$ac_err"; then
7804 rm -rf conftest* 7807 rm -rf conftest*
@@ -7834,17 +7837,17 @@ done
7834do 7837do
7835ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7838ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7836echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7839echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7837echo "configure:7838: checking for $ac_hdr" >&5 7840echo "configure:7841: checking for $ac_hdr" >&5
7838if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7841if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7839 echo $ac_n "(cached) $ac_c" 1>&6 7842 echo $ac_n "(cached) $ac_c" 1>&6
7840else 7843else
7841 cat > conftest.$ac_ext <<EOF 7844 cat > conftest.$ac_ext <<EOF
7842#line 7843 "configure" 7845#line 7846 "configure"
7843#include "confdefs.h" 7846#include "confdefs.h"
7844#include <$ac_hdr> 7847#include <$ac_hdr>
7845EOF 7848EOF
7846ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7849ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7847{ (eval echo configure:7848: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7850{ (eval echo configure:7851: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7848ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7851ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7849if test -z "$ac_err"; then 7852if test -z "$ac_err"; then
7850 rm -rf conftest* 7853 rm -rf conftest*
@@ -7871,17 +7874,17 @@ for ac_hdr in kerberosIV/krb.h
7871do 7874do
7872ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7875ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7873echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7876echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7874echo "configure:7875: checking for $ac_hdr" >&5 7877echo "configure:7878: checking for $ac_hdr" >&5
7875if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7878if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7876 echo $ac_n "(cached) $ac_c" 1>&6 7879 echo $ac_n "(cached) $ac_c" 1>&6
7877else 7880else
7878 cat > conftest.$ac_ext <<EOF 7881 cat > conftest.$ac_ext <<EOF
7879#line 7880 "configure" 7882#line 7883 "configure"
7880#include "confdefs.h" 7883#include "confdefs.h"
7881#include <$ac_hdr> 7884#include <$ac_hdr>
7882EOF 7885EOF
7883ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7886ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7884{ (eval echo configure:7885: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7887{ (eval echo configure:7888: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7885ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7888ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7886if test -z "$ac_err"; then 7889if test -z "$ac_err"; then
7887 rm -rf conftest* 7890 rm -rf conftest*
@@ -7908,17 +7911,17 @@ for ac_hdr in kerberos/krb.h
7908do 7911do
7909ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7912ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7910echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7913echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7911echo "configure:7912: checking for $ac_hdr" >&5 7914echo "configure:7915: checking for $ac_hdr" >&5
7912if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7915if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7913 echo $ac_n "(cached) $ac_c" 1>&6 7916 echo $ac_n "(cached) $ac_c" 1>&6
7914else 7917else
7915 cat > conftest.$ac_ext <<EOF 7918 cat > conftest.$ac_ext <<EOF
7916#line 7917 "configure" 7919#line 7920 "configure"
7917#include "confdefs.h" 7920#include "confdefs.h"
7918#include <$ac_hdr> 7921#include <$ac_hdr>
7919EOF 7922EOF
7920ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7923ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7921{ (eval echo configure:7922: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7924{ (eval echo configure:7925: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7922ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7925ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7923if test -z "$ac_err"; then 7926if test -z "$ac_err"; then
7924 rm -rf conftest* 7927 rm -rf conftest*
@@ -7955,17 +7958,17 @@ done
7955do 7958do
7956ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7959ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7957echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7960echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7958echo "configure:7959: checking for $ac_hdr" >&5 7961echo "configure:7962: checking for $ac_hdr" >&5
7959if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7962if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7960 echo $ac_n "(cached) $ac_c" 1>&6 7963 echo $ac_n "(cached) $ac_c" 1>&6
7961else 7964else
7962 cat > conftest.$ac_ext <<EOF 7965 cat > conftest.$ac_ext <<EOF
7963#line 7964 "configure" 7966#line 7967 "configure"
7964#include "confdefs.h" 7967#include "confdefs.h"
7965#include <$ac_hdr> 7968#include <$ac_hdr>
7966EOF 7969EOF
7967ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7970ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7968{ (eval echo configure:7969: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7971{ (eval echo configure:7972: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7969ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7972ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7970if test -z "$ac_err"; then 7973if test -z "$ac_err"; then
7971 rm -rf conftest* 7974 rm -rf conftest*
@@ -7996,7 +7999,7 @@ fi
7996# Solaris requires -lintl if you want strerror (which calls dgettext) 7999# Solaris requires -lintl if you want strerror (which calls dgettext)
7997# to return localized messages. 8000# to return localized messages.
7998echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6 8001echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6
7999echo "configure:8000: checking for dgettext in -lintl" >&5 8002echo "configure:8003: checking for dgettext in -lintl" >&5
8000ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'` 8003ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'`
8001if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 8004if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8002 echo $ac_n "(cached) $ac_c" 1>&6 8005 echo $ac_n "(cached) $ac_c" 1>&6
@@ -8004,7 +8007,7 @@ else
8004 ac_save_LIBS="$LIBS" 8007 ac_save_LIBS="$LIBS"
8005LIBS="-lintl $LIBS" 8008LIBS="-lintl $LIBS"
8006cat > conftest.$ac_ext <<EOF 8009cat > conftest.$ac_ext <<EOF
8007#line 8008 "configure" 8010#line 8011 "configure"
8008#include "confdefs.h" 8011#include "confdefs.h"
8009/* Override any gcc2 internal prototype to avoid an error. */ 8012/* Override any gcc2 internal prototype to avoid an error. */
8010/* We use char because int might match the return type of a gcc2 8013/* We use char because int might match the return type of a gcc2
@@ -8015,7 +8018,7 @@ int main() {
8015dgettext() 8018dgettext()
8016; return 0; } 8019; return 0; }
8017EOF 8020EOF
8018if { (eval echo configure:8019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8021if { (eval echo configure:8022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8019 rm -rf conftest* 8022 rm -rf conftest*
8020 eval "ac_cv_lib_$ac_lib_var=yes" 8023 eval "ac_cv_lib_$ac_lib_var=yes"
8021else 8024else
@@ -8044,7 +8047,7 @@ fi
8044 8047
8045 8048
8046echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 8049echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6
8047echo "configure:8048: checking whether localtime caches TZ" >&5 8050echo "configure:8051: checking whether localtime caches TZ" >&5
8048if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then 8051if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then
8049 echo $ac_n "(cached) $ac_c" 1>&6 8052 echo $ac_n "(cached) $ac_c" 1>&6
8050else 8053else
@@ -8054,7 +8057,7 @@ if test "$cross_compiling" = yes; then
8054emacs_cv_localtime_cache=yes 8057emacs_cv_localtime_cache=yes
8055else 8058else
8056 cat > conftest.$ac_ext <<EOF 8059 cat > conftest.$ac_ext <<EOF
8057#line 8058 "configure" 8060#line 8061 "configure"
8058#include "confdefs.h" 8061#include "confdefs.h"
8059#include <time.h> 8062#include <time.h>
8060extern char **environ; 8063extern char **environ;
@@ -8086,7 +8089,7 @@ main()
8086 exit (0); 8089 exit (0);
8087} 8090}
8088EOF 8091EOF
8089if { (eval echo configure:8090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 8092if { (eval echo configure:8093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8090then 8093then
8091 emacs_cv_localtime_cache=no 8094 emacs_cv_localtime_cache=no
8092else 8095else
@@ -8116,12 +8119,12 @@ if test "x$HAVE_TIMEVAL" = xyes; then
8116 for ac_func in gettimeofday 8119 for ac_func in gettimeofday
8117do 8120do
8118echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 8121echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8119echo "configure:8120: checking for $ac_func" >&5 8122echo "configure:8123: checking for $ac_func" >&5
8120if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 8123if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8121 echo $ac_n "(cached) $ac_c" 1>&6 8124 echo $ac_n "(cached) $ac_c" 1>&6
8122else 8125else
8123 cat > conftest.$ac_ext <<EOF 8126 cat > conftest.$ac_ext <<EOF
8124#line 8125 "configure" 8127#line 8128 "configure"
8125#include "confdefs.h" 8128#include "confdefs.h"
8126/* System header to define __stub macros and hopefully few prototypes, 8129/* System header to define __stub macros and hopefully few prototypes,
8127 which can conflict with char $ac_func(); below. */ 8130 which can conflict with char $ac_func(); below. */
@@ -8144,7 +8147,7 @@ $ac_func();
8144 8147
8145; return 0; } 8148; return 0; }
8146EOF 8149EOF
8147if { (eval echo configure:8148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8150if { (eval echo configure:8151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8148 rm -rf conftest* 8151 rm -rf conftest*
8149 eval "ac_cv_func_$ac_func=yes" 8152 eval "ac_cv_func_$ac_func=yes"
8150else 8153else
@@ -8169,12 +8172,12 @@ fi
8169done 8172done
8170 8173
8171 echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6 8174 echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6
8172echo "configure:8173: checking whether gettimeofday can accept two arguments" >&5 8175echo "configure:8176: checking whether gettimeofday can accept two arguments" >&5
8173if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then 8176if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then
8174 echo $ac_n "(cached) $ac_c" 1>&6 8177 echo $ac_n "(cached) $ac_c" 1>&6
8175else 8178else
8176 cat > conftest.$ac_ext <<EOF 8179 cat > conftest.$ac_ext <<EOF
8177#line 8178 "configure" 8180#line 8181 "configure"
8178#include "confdefs.h" 8181#include "confdefs.h"
8179 8182
8180#ifdef TIME_WITH_SYS_TIME 8183#ifdef TIME_WITH_SYS_TIME
@@ -8192,7 +8195,7 @@ struct timeval time;
8192 gettimeofday (&time, 0); 8195 gettimeofday (&time, 0);
8193; return 0; } 8196; return 0; }
8194EOF 8197EOF
8195if { (eval echo configure:8196: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 8198if { (eval echo configure:8199: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8196 rm -rf conftest* 8199 rm -rf conftest*
8197 emacs_cv_gettimeofday_two_arguments=yes 8200 emacs_cv_gettimeofday_two_arguments=yes
8198else 8201else
@@ -8215,25 +8218,25 @@ fi
8215 8218
8216if test "$ac_cv_func_gettimeofday" = yes; then 8219if test "$ac_cv_func_gettimeofday" = yes; then
8217 echo $ac_n "checking for struct timezone""... $ac_c" 1>&6 8220 echo $ac_n "checking for struct timezone""... $ac_c" 1>&6
8218echo "configure:8219: checking for struct timezone" >&5 8221echo "configure:8222: checking for struct timezone" >&5
8219if eval "test \"`echo '$''{'emacs_cv_struct_timezone'+set}'`\" = set"; then 8222if eval "test \"`echo '$''{'emacs_cv_struct_timezone'+set}'`\" = set"; then
8220 echo $ac_n "(cached) $ac_c" 1>&6 8223 echo $ac_n "(cached) $ac_c" 1>&6
8221else 8224else
8222 cat > conftest.$ac_ext <<EOF 8225 cat > conftest.$ac_ext <<EOF
8223#line 8224 "configure" 8226#line 8227 "configure"
8224#include "confdefs.h" 8227#include "confdefs.h"
8225#include <sys/time.h> 8228#include <sys/time.h>
8226int main() { 8229int main() {
8227struct timezone tz; 8230struct timezone tz;
8228; return 0; } 8231; return 0; }
8229EOF 8232EOF
8230if { (eval echo configure:8231: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 8233if { (eval echo configure:8234: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8231 rm -rf conftest* 8234 rm -rf conftest*
8232 if test "$cross_compiling" = yes; then 8235 if test "$cross_compiling" = yes; then
8233 emacs_cv_struct_timezone=yes 8236 emacs_cv_struct_timezone=yes
8234else 8237else
8235 cat > conftest.$ac_ext <<EOF 8238 cat > conftest.$ac_ext <<EOF
8236#line 8237 "configure" 8239#line 8240 "configure"
8237#include "confdefs.h" 8240#include "confdefs.h"
8238 8241
8239#ifdef TIME_WITH_SYS_TIME 8242#ifdef TIME_WITH_SYS_TIME
@@ -8252,7 +8255,7 @@ main () {
8252 exit (gettimeofday (&time, &dummy)); 8255 exit (gettimeofday (&time, &dummy));
8253} 8256}
8254EOF 8257EOF
8255if { (eval echo configure:8256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 8258if { (eval echo configure:8259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8256then 8259then
8257 emacs_cv_struct_timezone=yes 8260 emacs_cv_struct_timezone=yes
8258else 8261else
@@ -8278,12 +8281,12 @@ fi
8278 8281
8279ok_so_far=yes 8282ok_so_far=yes
8280echo $ac_n "checking for socket""... $ac_c" 1>&6 8283echo $ac_n "checking for socket""... $ac_c" 1>&6
8281echo "configure:8282: checking for socket" >&5 8284echo "configure:8285: checking for socket" >&5
8282if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then 8285if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
8283 echo $ac_n "(cached) $ac_c" 1>&6 8286 echo $ac_n "(cached) $ac_c" 1>&6
8284else 8287else
8285 cat > conftest.$ac_ext <<EOF 8288 cat > conftest.$ac_ext <<EOF
8286#line 8287 "configure" 8289#line 8290 "configure"
8287#include "confdefs.h" 8290#include "confdefs.h"
8288/* System header to define __stub macros and hopefully few prototypes, 8291/* System header to define __stub macros and hopefully few prototypes,
8289 which can conflict with char socket(); below. */ 8292 which can conflict with char socket(); below. */
@@ -8306,7 +8309,7 @@ socket();
8306 8309
8307; return 0; } 8310; return 0; }
8308EOF 8311EOF
8309if { (eval echo configure:8310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8312if { (eval echo configure:8313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8310 rm -rf conftest* 8313 rm -rf conftest*
8311 eval "ac_cv_func_socket=yes" 8314 eval "ac_cv_func_socket=yes"
8312else 8315else
@@ -8329,17 +8332,17 @@ fi
8329if test $ok_so_far = yes; then 8332if test $ok_so_far = yes; then
8330 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` 8333 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'`
8331echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 8334echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6
8332echo "configure:8333: checking for netinet/in.h" >&5 8335echo "configure:8336: checking for netinet/in.h" >&5
8333if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 8336if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8334 echo $ac_n "(cached) $ac_c" 1>&6 8337 echo $ac_n "(cached) $ac_c" 1>&6
8335else 8338else
8336 cat > conftest.$ac_ext <<EOF 8339 cat > conftest.$ac_ext <<EOF
8337#line 8338 "configure" 8340#line 8341 "configure"
8338#include "confdefs.h" 8341#include "confdefs.h"
8339#include <netinet/in.h> 8342#include <netinet/in.h>
8340EOF 8343EOF
8341ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8344ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8342{ (eval echo configure:8343: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8345{ (eval echo configure:8346: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8343ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8346ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8344if test -z "$ac_err"; then 8347if test -z "$ac_err"; then
8345 rm -rf conftest* 8348 rm -rf conftest*
@@ -8365,17 +8368,17 @@ fi
8365if test $ok_so_far = yes; then 8368if test $ok_so_far = yes; then
8366 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` 8369 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'`
8367echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 8370echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6
8368echo "configure:8369: checking for arpa/inet.h" >&5 8371echo "configure:8372: checking for arpa/inet.h" >&5
8369if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 8372if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8370 echo $ac_n "(cached) $ac_c" 1>&6 8373 echo $ac_n "(cached) $ac_c" 1>&6
8371else 8374else
8372 cat > conftest.$ac_ext <<EOF 8375 cat > conftest.$ac_ext <<EOF
8373#line 8374 "configure" 8376#line 8377 "configure"
8374#include "confdefs.h" 8377#include "confdefs.h"
8375#include <arpa/inet.h> 8378#include <arpa/inet.h>
8376EOF 8379EOF
8377ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8380ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8378{ (eval echo configure:8379: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8381{ (eval echo configure:8382: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8379ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8382ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8380if test -z "$ac_err"; then 8383if test -z "$ac_err"; then
8381 rm -rf conftest* 8384 rm -rf conftest*
@@ -8413,7 +8416,7 @@ EOF
8413fi 8416fi
8414 8417
8415echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6 8418echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6
8416echo "configure:8417: checking whether system supports dynamic ptys" >&5 8419echo "configure:8420: checking whether system supports dynamic ptys" >&5
8417if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then 8420if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then
8418 echo "$ac_t""yes" 1>&6 8421 echo "$ac_t""yes" 1>&6
8419 cat >> confdefs.h <<\EOF 8422 cat >> confdefs.h <<\EOF
@@ -8425,12 +8428,12 @@ else
8425fi 8428fi
8426 8429
8427echo $ac_n "checking for pid_t""... $ac_c" 1>&6 8430echo $ac_n "checking for pid_t""... $ac_c" 1>&6
8428echo "configure:8429: checking for pid_t" >&5 8431echo "configure:8432: checking for pid_t" >&5
8429if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then 8432if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
8430 echo $ac_n "(cached) $ac_c" 1>&6 8433 echo $ac_n "(cached) $ac_c" 1>&6
8431else 8434else
8432 cat > conftest.$ac_ext <<EOF 8435 cat > conftest.$ac_ext <<EOF
8433#line 8434 "configure" 8436#line 8437 "configure"
8434#include "confdefs.h" 8437#include "confdefs.h"
8435#include <sys/types.h> 8438#include <sys/types.h>
8436#if STDC_HEADERS 8439#if STDC_HEADERS
@@ -8459,17 +8462,17 @@ fi
8459 8462
8460ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` 8463ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'`
8461echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 8464echo $ac_n "checking for vfork.h""... $ac_c" 1>&6
8462echo "configure:8463: checking for vfork.h" >&5 8465echo "configure:8466: checking for vfork.h" >&5
8463if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 8466if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8464 echo $ac_n "(cached) $ac_c" 1>&6 8467 echo $ac_n "(cached) $ac_c" 1>&6
8465else 8468else
8466 cat > conftest.$ac_ext <<EOF 8469 cat > conftest.$ac_ext <<EOF
8467#line 8468 "configure" 8470#line 8471 "configure"
8468#include "confdefs.h" 8471#include "confdefs.h"
8469#include <vfork.h> 8472#include <vfork.h>
8470EOF 8473EOF
8471ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8474ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8472{ (eval echo configure:8473: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8475{ (eval echo configure:8476: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8473ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8476ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8474if test -z "$ac_err"; then 8477if test -z "$ac_err"; then
8475 rm -rf conftest* 8478 rm -rf conftest*
@@ -8494,18 +8497,18 @@ else
8494fi 8497fi
8495 8498
8496echo $ac_n "checking for working vfork""... $ac_c" 1>&6 8499echo $ac_n "checking for working vfork""... $ac_c" 1>&6
8497echo "configure:8498: checking for working vfork" >&5 8500echo "configure:8501: checking for working vfork" >&5
8498if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then 8501if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then
8499 echo $ac_n "(cached) $ac_c" 1>&6 8502 echo $ac_n "(cached) $ac_c" 1>&6
8500else 8503else
8501 if test "$cross_compiling" = yes; then 8504 if test "$cross_compiling" = yes; then
8502 echo $ac_n "checking for vfork""... $ac_c" 1>&6 8505 echo $ac_n "checking for vfork""... $ac_c" 1>&6
8503echo "configure:8504: checking for vfork" >&5 8506echo "configure:8507: checking for vfork" >&5
8504if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then 8507if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then
8505 echo $ac_n "(cached) $ac_c" 1>&6 8508 echo $ac_n "(cached) $ac_c" 1>&6
8506else 8509else
8507 cat > conftest.$ac_ext <<EOF 8510 cat > conftest.$ac_ext <<EOF
8508#line 8509 "configure" 8511#line 8512 "configure"
8509#include "confdefs.h" 8512#include "confdefs.h"
8510/* System header to define __stub macros and hopefully few prototypes, 8513/* System header to define __stub macros and hopefully few prototypes,
8511 which can conflict with char vfork(); below. */ 8514 which can conflict with char vfork(); below. */
@@ -8528,7 +8531,7 @@ vfork();
8528 8531
8529; return 0; } 8532; return 0; }
8530EOF 8533EOF
8531if { (eval echo configure:8532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8534if { (eval echo configure:8535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8532 rm -rf conftest* 8535 rm -rf conftest*
8533 eval "ac_cv_func_vfork=yes" 8536 eval "ac_cv_func_vfork=yes"
8534else 8537else
@@ -8550,7 +8553,7 @@ fi
8550ac_cv_func_vfork_works=$ac_cv_func_vfork 8553ac_cv_func_vfork_works=$ac_cv_func_vfork
8551else 8554else
8552 cat > conftest.$ac_ext <<EOF 8555 cat > conftest.$ac_ext <<EOF
8553#line 8554 "configure" 8556#line 8557 "configure"
8554#include "confdefs.h" 8557#include "confdefs.h"
8555/* Thanks to Paul Eggert for this test. */ 8558/* Thanks to Paul Eggert for this test. */
8556#include <stdio.h> 8559#include <stdio.h>
@@ -8645,7 +8648,7 @@ main() {
8645 } 8648 }
8646} 8649}
8647EOF 8650EOF
8648if { (eval echo configure:8649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 8651if { (eval echo configure:8652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8649then 8652then
8650 ac_cv_func_vfork_works=yes 8653 ac_cv_func_vfork_works=yes
8651else 8654else
@@ -8670,12 +8673,12 @@ fi
8670 8673
8671# Fixme: This should be replaced when we have autoconf 2.14. 8674# Fixme: This should be replaced when we have autoconf 2.14.
8672echo $ac_n "checking for size_t""... $ac_c" 1>&6 8675echo $ac_n "checking for size_t""... $ac_c" 1>&6
8673echo "configure:8674: checking for size_t" >&5 8676echo "configure:8677: checking for size_t" >&5
8674if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then 8677if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
8675 echo $ac_n "(cached) $ac_c" 1>&6 8678 echo $ac_n "(cached) $ac_c" 1>&6
8676else 8679else
8677 cat > conftest.$ac_ext <<EOF 8680 cat > conftest.$ac_ext <<EOF
8678#line 8679 "configure" 8681#line 8682 "configure"
8679#include "confdefs.h" 8682#include "confdefs.h"
8680#include <sys/types.h> 8683#include <sys/types.h>
8681#if STDC_HEADERS 8684#if STDC_HEADERS