comparison configure @ 744:8ae895c67ce7

[xemacs-hg @ 2002-02-04 15:44:37 by wmperry] Enable generic toolbar support for X11. Added new toolbar-shadow-thickness specifier.
author wmperry
date Mon, 04 Feb 2002 15:44:52 +0000
parents 1f525cb38373
children 943eaba38521
comparison
equal deleted inserted replaced
743:968a715e8c6f 744:8ae895c67ce7
4283 #include "confdefs.h" 4283 #include "confdefs.h"
4284 4284
4285 int main() { 4285 int main() {
4286 4286
4287 /* Ultrix mips cc rejects this. */ 4287 /* Ultrix mips cc rejects this. */
4288 typedef int charset[2]; const charset x = {0,0}; 4288 typedef int charset[2]; const charset x;
4289 /* SunOS 4.1.1 cc rejects this. */ 4289 /* SunOS 4.1.1 cc rejects this. */
4290 char const *const *ccp; 4290 char const *const *ccp;
4291 char **p; 4291 char **p;
4292 /* NEC SVR4.0.2 mips cc rejects this. */ 4292 /* NEC SVR4.0.2 mips cc rejects this. */
4293 struct point {int x, y;}; 4293 struct point {int x, y;};
4470 4470
4471 cat > conftest.$ac_ext <<EOF 4471 cat > conftest.$ac_ext <<EOF
4472 #line 4473 "configure" 4472 #line 4473 "configure"
4473 #include "confdefs.h" 4473 #include "confdefs.h"
4474 #include <stdio.h> 4474 #include <stdio.h>
4475 #include <sys/types.h>
4475 main() 4476 main()
4476 { 4477 {
4477 FILE *f=fopen("conftestval", "w"); 4478 FILE *f=fopen("conftestval", "w");
4478 if (!f) exit(1); 4479 if (!f) exit(1);
4479 fprintf(f, "%d\n", sizeof(short)); 4480 fprintf(f, "%d\n", sizeof(short));
4480 exit(0); 4481 exit(0);
4481 } 4482 }
4482 EOF 4483 EOF
4483 if { (eval echo configure:4484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4484 if { (eval echo configure:4485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4484 then 4485 then
4485 ac_cv_sizeof_short=`cat conftestval` 4486 ac_cv_sizeof_short=`cat conftestval`
4486 else 4487 else
4487 conftest_rc="$?" 4488 conftest_rc="$?"
4488 echo "configure: failed program was:" >&5 4489 echo "configure: failed program was:" >&5
4506 echo "*** PANIC *** Configure tests are not working - compiler is broken." 4507 echo "*** PANIC *** Configure tests are not working - compiler is broken."
4507 echo "*** PANIC *** Please examine config.log for compilation errors." 4508 echo "*** PANIC *** Please examine config.log for compilation errors."
4508 exit 1 4509 exit 1
4509 fi 4510 fi
4510 echo $ac_n "checking size of int""... $ac_c" 1>&6 4511 echo $ac_n "checking size of int""... $ac_c" 1>&6
4511 echo "configure:4512: checking size of int" >&5 4512 echo "configure:4513: checking size of int" >&5
4512 4513
4513 cat > conftest.$ac_ext <<EOF 4514 cat > conftest.$ac_ext <<EOF
4514 #line 4515 "configure" 4515 #line 4516 "configure"
4515 #include "confdefs.h" 4516 #include "confdefs.h"
4516 #include <stdio.h> 4517 #include <stdio.h>
4518 #include <sys/types.h>
4517 main() 4519 main()
4518 { 4520 {
4519 FILE *f=fopen("conftestval", "w"); 4521 FILE *f=fopen("conftestval", "w");
4520 if (!f) exit(1); 4522 if (!f) exit(1);
4521 fprintf(f, "%d\n", sizeof(int)); 4523 fprintf(f, "%d\n", sizeof(int));
4522 exit(0); 4524 exit(0);
4523 } 4525 }
4524 EOF 4526 EOF
4525 if { (eval echo configure:4526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4527 if { (eval echo configure:4528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4526 then 4528 then
4527 ac_cv_sizeof_int=`cat conftestval` 4529 ac_cv_sizeof_int=`cat conftestval`
4528 else 4530 else
4529 conftest_rc="$?" 4531 conftest_rc="$?"
4530 echo "configure: failed program was:" >&5 4532 echo "configure: failed program was:" >&5
4542 EOF 4544 EOF
4543 } 4545 }
4544 4546
4545 4547
4546 echo $ac_n "checking size of long""... $ac_c" 1>&6 4548 echo $ac_n "checking size of long""... $ac_c" 1>&6
4547 echo "configure:4548: checking size of long" >&5 4549 echo "configure:4550: checking size of long" >&5
4548 4550
4549 cat > conftest.$ac_ext <<EOF 4551 cat > conftest.$ac_ext <<EOF
4550 #line 4551 "configure" 4552 #line 4553 "configure"
4551 #include "confdefs.h" 4553 #include "confdefs.h"
4552 #include <stdio.h> 4554 #include <stdio.h>
4555 #include <sys/types.h>
4553 main() 4556 main()
4554 { 4557 {
4555 FILE *f=fopen("conftestval", "w"); 4558 FILE *f=fopen("conftestval", "w");
4556 if (!f) exit(1); 4559 if (!f) exit(1);
4557 fprintf(f, "%d\n", sizeof(long)); 4560 fprintf(f, "%d\n", sizeof(long));
4558 exit(0); 4561 exit(0);
4559 } 4562 }
4560 EOF 4563 EOF
4561 if { (eval echo configure:4562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4564 if { (eval echo configure:4565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4562 then 4565 then
4563 ac_cv_sizeof_long=`cat conftestval` 4566 ac_cv_sizeof_long=`cat conftestval`
4564 else 4567 else
4565 conftest_rc="$?" 4568 conftest_rc="$?"
4566 echo "configure: failed program was:" >&5 4569 echo "configure: failed program was:" >&5
4578 EOF 4581 EOF
4579 } 4582 }
4580 4583
4581 4584
4582 echo $ac_n "checking size of long long""... $ac_c" 1>&6 4585 echo $ac_n "checking size of long long""... $ac_c" 1>&6
4583 echo "configure:4584: checking size of long long" >&5 4586 echo "configure:4587: checking size of long long" >&5
4584 4587
4585 cat > conftest.$ac_ext <<EOF 4588 cat > conftest.$ac_ext <<EOF
4586 #line 4587 "configure" 4589 #line 4590 "configure"
4587 #include "confdefs.h" 4590 #include "confdefs.h"
4588 #include <stdio.h> 4591 #include <stdio.h>
4592 #include <sys/types.h>
4589 main() 4593 main()
4590 { 4594 {
4591 FILE *f=fopen("conftestval", "w"); 4595 FILE *f=fopen("conftestval", "w");
4592 if (!f) exit(1); 4596 if (!f) exit(1);
4593 fprintf(f, "%d\n", sizeof(long long)); 4597 fprintf(f, "%d\n", sizeof(long long));
4594 exit(0); 4598 exit(0);
4595 } 4599 }
4596 EOF 4600 EOF
4597 if { (eval echo configure:4598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4601 if { (eval echo configure:4602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4598 then 4602 then
4599 ac_cv_sizeof_long_long=`cat conftestval` 4603 ac_cv_sizeof_long_long=`cat conftestval`
4600 else 4604 else
4601 conftest_rc="$?" 4605 conftest_rc="$?"
4602 echo "configure: failed program was:" >&5 4606 echo "configure: failed program was:" >&5
4614 EOF 4618 EOF
4615 } 4619 }
4616 4620
4617 4621
4618 echo $ac_n "checking size of void *""... $ac_c" 1>&6 4622 echo $ac_n "checking size of void *""... $ac_c" 1>&6
4619 echo "configure:4620: checking size of void *" >&5 4623 echo "configure:4624: checking size of void *" >&5
4620 4624
4621 cat > conftest.$ac_ext <<EOF 4625 cat > conftest.$ac_ext <<EOF
4622 #line 4623 "configure" 4626 #line 4627 "configure"
4623 #include "confdefs.h" 4627 #include "confdefs.h"
4624 #include <stdio.h> 4628 #include <stdio.h>
4629 #include <sys/types.h>
4625 main() 4630 main()
4626 { 4631 {
4627 FILE *f=fopen("conftestval", "w"); 4632 FILE *f=fopen("conftestval", "w");
4628 if (!f) exit(1); 4633 if (!f) exit(1);
4629 fprintf(f, "%d\n", sizeof(void *)); 4634 fprintf(f, "%d\n", sizeof(void *));
4630 exit(0); 4635 exit(0);
4631 } 4636 }
4632 EOF 4637 EOF
4633 if { (eval echo configure:4634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4638 if { (eval echo configure:4639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4634 then 4639 then
4635 ac_cv_sizeof_void_p=`cat conftestval` 4640 ac_cv_sizeof_void_p=`cat conftestval`
4636 else 4641 else
4637 conftest_rc="$?" 4642 conftest_rc="$?"
4638 echo "configure: failed program was:" >&5 4643 echo "configure: failed program was:" >&5
4651 } 4656 }
4652 4657
4653 4658
4654 4659
4655 echo $ac_n "checking for long file names""... $ac_c" 1>&6 4660 echo $ac_n "checking for long file names""... $ac_c" 1>&6
4656 echo "configure:4657: checking for long file names" >&5 4661 echo "configure:4662: checking for long file names" >&5
4657 4662
4658 ac_cv_sys_long_file_names=yes 4663 ac_cv_sys_long_file_names=yes
4659 # Test for long file names in all the places we know might matter: 4664 # Test for long file names in all the places we know might matter:
4660 # . the current directory, where building will happen 4665 # . the current directory, where building will happen
4661 # $prefix/lib where we will be installing things 4666 # $prefix/lib where we will be installing things
4697 4702
4698 fi 4703 fi
4699 4704
4700 4705
4701 echo $ac_n "checking for sin""... $ac_c" 1>&6 4706 echo $ac_n "checking for sin""... $ac_c" 1>&6
4702 echo "configure:4703: checking for sin" >&5 4707 echo "configure:4708: checking for sin" >&5
4703 4708
4704 cat > conftest.$ac_ext <<EOF 4709 cat > conftest.$ac_ext <<EOF
4705 #line 4706 "configure" 4710 #line 4711 "configure"
4706 #include "confdefs.h" 4711 #include "confdefs.h"
4707 /* System header to define __stub macros and hopefully few prototypes, 4712 /* System header to define __stub macros and hopefully few prototypes,
4708 which can conflict with char sin(); below. */ 4713 which can conflict with char sin(); below. */
4709 #include <assert.h> 4714 #include <assert.h>
4710 /* Override any gcc2 internal prototype to avoid an error. */ 4715 /* Override any gcc2 internal prototype to avoid an error. */
4723 sin(); 4728 sin();
4724 #endif 4729 #endif
4725 4730
4726 ; return 0; } 4731 ; return 0; }
4727 EOF 4732 EOF
4728 if { (eval echo configure:4729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4733 if { (eval echo configure:4734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4729 rm -rf conftest* 4734 rm -rf conftest*
4730 eval "ac_cv_func_sin=yes" 4735 eval "ac_cv_func_sin=yes"
4731 else 4736 else
4732 echo "configure: failed program was:" >&5 4737 echo "configure: failed program was:" >&5
4733 cat conftest.$ac_ext >&5 4738 cat conftest.$ac_ext >&5
4741 : 4746 :
4742 else 4747 else
4743 echo "$ac_t""no" 1>&6 4748 echo "$ac_t""no" 1>&6
4744 4749
4745 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 4750 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
4746 echo "configure:4747: checking for sin in -lm" >&5 4751 echo "configure:4752: checking for sin in -lm" >&5
4747 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` 4752 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
4748 4753
4749 xe_check_libs=" -lm " 4754 xe_check_libs=" -lm "
4750 cat > conftest.$ac_ext <<EOF 4755 cat > conftest.$ac_ext <<EOF
4751 #line 4752 "configure" 4756 #line 4757 "configure"
4752 #include "confdefs.h" 4757 #include "confdefs.h"
4753 /* Override any gcc2 internal prototype to avoid an error. */ 4758 /* Override any gcc2 internal prototype to avoid an error. */
4754 /* We use char because int might match the return type of a gcc2 4759 /* We use char because int might match the return type of a gcc2
4755 builtin and then its argument prototype would still apply. */ 4760 builtin and then its argument prototype would still apply. */
4756 char sin(); 4761 char sin();
4757 4762
4758 int main() { 4763 int main() {
4759 sin() 4764 sin()
4760 ; return 0; } 4765 ; return 0; }
4761 EOF 4766 EOF
4762 if { (eval echo configure:4763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4767 if { (eval echo configure:4768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4763 rm -rf conftest* 4768 rm -rf conftest*
4764 eval "ac_cv_lib_$ac_lib_var=yes" 4769 eval "ac_cv_lib_$ac_lib_var=yes"
4765 else 4770 else
4766 echo "configure: failed program was:" >&5 4771 echo "configure: failed program was:" >&5
4767 cat conftest.$ac_ext >&5 4772 cat conftest.$ac_ext >&5
4801 EOF 4806 EOF
4802 } 4807 }
4803 4808
4804 4809
4805 cat > conftest.$ac_ext <<EOF 4810 cat > conftest.$ac_ext <<EOF
4806 #line 4807 "configure" 4811 #line 4812 "configure"
4807 #include "confdefs.h" 4812 #include "confdefs.h"
4808 #include <math.h> 4813 #include <math.h>
4809 int main() { 4814 int main() {
4810 return atanh(1.0) + asinh(1.0) + acosh(1.0); 4815 return atanh(1.0) + asinh(1.0) + acosh(1.0);
4811 ; return 0; } 4816 ; return 0; }
4812 EOF 4817 EOF
4813 if { (eval echo configure:4814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4818 if { (eval echo configure:4819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4814 rm -rf conftest* 4819 rm -rf conftest*
4815 { test "$extra_verbose" = "yes" && cat << \EOF 4820 { test "$extra_verbose" = "yes" && cat << \EOF
4816 Defining HAVE_INVERSE_HYPERBOLIC 4821 Defining HAVE_INVERSE_HYPERBOLIC
4817 EOF 4822 EOF
4818 cat >> confdefs.h <<\EOF 4823 cat >> confdefs.h <<\EOF
4827 rm -f conftest* 4832 rm -f conftest*
4828 4833
4829 for ac_func in mkstemp 4834 for ac_func in mkstemp
4830 do 4835 do
4831 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4836 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4832 echo "configure:4833: checking for $ac_func" >&5 4837 echo "configure:4838: checking for $ac_func" >&5
4833 4838
4834 cat > conftest.$ac_ext <<EOF 4839 cat > conftest.$ac_ext <<EOF
4835 #line 4836 "configure" 4840 #line 4841 "configure"
4836 #include "confdefs.h" 4841 #include "confdefs.h"
4837 /* System header to define __stub macros and hopefully few prototypes, 4842 /* System header to define __stub macros and hopefully few prototypes,
4838 which can conflict with char $ac_func(); below. */ 4843 which can conflict with char $ac_func(); below. */
4839 #include <assert.h> 4844 #include <assert.h>
4840 /* Override any gcc2 internal prototype to avoid an error. */ 4845 /* Override any gcc2 internal prototype to avoid an error. */
4853 $ac_func(); 4858 $ac_func();
4854 #endif 4859 #endif
4855 4860
4856 ; return 0; } 4861 ; return 0; }
4857 EOF 4862 EOF
4858 if { (eval echo configure:4859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4863 if { (eval echo configure:4864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4859 rm -rf conftest* 4864 rm -rf conftest*
4860 eval "ac_cv_func_$ac_func=yes" 4865 eval "ac_cv_func_$ac_func=yes"
4861 else 4866 else
4862 echo "configure: failed program was:" >&5 4867 echo "configure: failed program was:" >&5
4863 cat conftest.$ac_ext >&5 4868 cat conftest.$ac_ext >&5
4882 fi 4887 fi
4883 done 4888 done
4884 4889
4885 4890
4886 echo "checking type of mail spool file locking" 1>&6 4891 echo "checking type of mail spool file locking" 1>&6
4887 echo "configure:4888: checking type of mail spool file locking" >&5 4892 echo "configure:4893: checking type of mail spool file locking" >&5
4888 for ac_func in lockf flock 4893 for ac_func in lockf flock
4889 do 4894 do
4890 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4895 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4891 echo "configure:4892: checking for $ac_func" >&5 4896 echo "configure:4897: checking for $ac_func" >&5
4892 4897
4893 cat > conftest.$ac_ext <<EOF 4898 cat > conftest.$ac_ext <<EOF
4894 #line 4895 "configure" 4899 #line 4900 "configure"
4895 #include "confdefs.h" 4900 #include "confdefs.h"
4896 /* System header to define __stub macros and hopefully few prototypes, 4901 /* System header to define __stub macros and hopefully few prototypes,
4897 which can conflict with char $ac_func(); below. */ 4902 which can conflict with char $ac_func(); below. */
4898 #include <assert.h> 4903 #include <assert.h>
4899 /* Override any gcc2 internal prototype to avoid an error. */ 4904 /* Override any gcc2 internal prototype to avoid an error. */
4912 $ac_func(); 4917 $ac_func();
4913 #endif 4918 #endif
4914 4919
4915 ; return 0; } 4920 ; return 0; }
4916 EOF 4921 EOF
4917 if { (eval echo configure:4918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4922 if { (eval echo configure:4923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4918 rm -rf conftest* 4923 rm -rf conftest*
4919 eval "ac_cv_func_$ac_func=yes" 4924 eval "ac_cv_func_$ac_func=yes"
4920 else 4925 else
4921 echo "configure: failed program was:" >&5 4926 echo "configure: failed program was:" >&5
4922 cat conftest.$ac_ext >&5 4927 cat conftest.$ac_ext >&5
4994 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } 4999 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; }
4995 5000
4996 case "$opsys" in decosf*) 5001 case "$opsys" in decosf*)
4997 5002
4998 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 5003 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6
4999 echo "configure:5000: checking for cma_open in -lpthreads" >&5 5004 echo "configure:5005: checking for cma_open in -lpthreads" >&5
5000 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` 5005 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'`
5001 5006
5002 xe_check_libs=" -lpthreads " 5007 xe_check_libs=" -lpthreads "
5003 cat > conftest.$ac_ext <<EOF 5008 cat > conftest.$ac_ext <<EOF
5004 #line 5005 "configure" 5009 #line 5010 "configure"
5005 #include "confdefs.h" 5010 #include "confdefs.h"
5006 /* Override any gcc2 internal prototype to avoid an error. */ 5011 /* Override any gcc2 internal prototype to avoid an error. */
5007 /* We use char because int might match the return type of a gcc2 5012 /* We use char because int might match the return type of a gcc2
5008 builtin and then its argument prototype would still apply. */ 5013 builtin and then its argument prototype would still apply. */
5009 char cma_open(); 5014 char cma_open();
5010 5015
5011 int main() { 5016 int main() {
5012 cma_open() 5017 cma_open()
5013 ; return 0; } 5018 ; return 0; }
5014 EOF 5019 EOF
5015 if { (eval echo configure:5016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5020 if { (eval echo configure:5021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5016 rm -rf conftest* 5021 rm -rf conftest*
5017 eval "ac_cv_lib_$ac_lib_var=yes" 5022 eval "ac_cv_lib_$ac_lib_var=yes"
5018 else 5023 else
5019 echo "configure: failed program was:" >&5 5024 echo "configure: failed program was:" >&5
5020 cat conftest.$ac_ext >&5 5025 cat conftest.$ac_ext >&5
5047 c_switch_site="$c_switch_site -threads" ;; 5052 c_switch_site="$c_switch_site -threads" ;;
5048 esac 5053 esac
5049 5054
5050 5055
5051 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 5056 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6
5052 echo "configure:5053: checking whether the -xildoff compiler flag is required" >&5 5057 echo "configure:5058: checking whether the -xildoff compiler flag is required" >&5
5053 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then 5058 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then
5054 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; 5059 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ;
5055 then echo "$ac_t""no" 1>&6; 5060 then echo "$ac_t""no" 1>&6;
5056 else echo "$ac_t""yes" 1>&6; ld_switch_site="$ld_switch_site -xildoff" && if test "$extra_verbose" = "yes"; then echo " Appending \"-xildoff\" to \$ld_switch_site"; fi 5061 else echo "$ac_t""yes" 1>&6; ld_switch_site="$ld_switch_site -xildoff" && if test "$extra_verbose" = "yes"; then echo " Appending \"-xildoff\" to \$ld_switch_site"; fi
5057 fi 5062 fi
5059 fi 5064 fi
5060 5065
5061 if test "$opsys" = "sol2"; then 5066 if test "$opsys" = "sol2"; then
5062 if test "$os_release" -ge 56; then 5067 if test "$os_release" -ge 56; then
5063 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 5068 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6
5064 echo "configure:5065: checking for \"-z ignore\" linker flag" >&5 5069 echo "configure:5070: checking for \"-z ignore\" linker flag" >&5
5065 case "`ld -h 2>&1`" in 5070 case "`ld -h 2>&1`" in
5066 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 5071 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6
5067 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; 5072 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;;
5068 *) echo "$ac_t""no" 1>&6 ;; 5073 *) echo "$ac_t""no" 1>&6 ;;
5069 esac 5074 esac
5070 fi 5075 fi
5071 fi 5076 fi
5072 5077
5073 if test "$pdump" != "yes"; then 5078 if test "$pdump" != "yes"; then
5074 echo $ac_n "checking for \"-z nocombreloc\" linker flag""... $ac_c" 1>&6 5079 echo $ac_n "checking for \"-z nocombreloc\" linker flag""... $ac_c" 1>&6
5075 echo "configure:5076: checking for \"-z nocombreloc\" linker flag" >&5 5080 echo "configure:5081: checking for \"-z nocombreloc\" linker flag" >&5
5076 case "`ld --help 2>&1`" in 5081 case "`ld --help 2>&1`" in
5077 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6 5082 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6
5078 ld_switch_site="-z nocombreloc $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z nocombreloc\" to \$ld_switch_site"; fi ;; 5083 ld_switch_site="-z nocombreloc $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z nocombreloc\" to \$ld_switch_site"; fi ;;
5079 *) echo "$ac_t""no" 1>&6 ;; 5084 *) echo "$ac_t""no" 1>&6 ;;
5080 esac 5085 esac
5081 fi 5086 fi
5082 5087
5083 5088
5084 echo "checking "for specified window system"" 1>&6 5089 echo "checking "for specified window system"" 1>&6
5085 echo "configure:5086: checking "for specified window system"" >&5 5090 echo "configure:5091: checking "for specified window system"" >&5
5086 5091
5087 5092
5088 GNOME_CONFIG=no 5093 GNOME_CONFIG=no
5089 GTK_CONFIG=no 5094 GTK_CONFIG=no
5090 5095
5091 if test "$with_gnome" != "no"; then 5096 if test "$with_gnome" != "no"; then
5092 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 5097 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6
5093 echo "configure:5094: checking for GNOME configuration script" >&5 5098 echo "configure:5099: checking for GNOME configuration script" >&5
5094 for possible in gnome-config 5099 for possible in gnome-config
5095 do 5100 do
5096 possible_version=`${possible} --version 2> /dev/null` 5101 possible_version=`${possible} --version 2> /dev/null`
5097 if test "x${possible_version}" != "x"; then 5102 if test "x${possible_version}" != "x"; then
5098 GNOME_CONFIG="${possible}" 5103 GNOME_CONFIG="${possible}"
5119 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi 5124 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi
5120 fi 5125 fi
5121 5126
5122 if test "$with_gtk" != "no";then 5127 if test "$with_gtk" != "no";then
5123 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 5128 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6
5124 echo "configure:5125: checking for GTK configuration script" >&5 5129 echo "configure:5130: checking for GTK configuration script" >&5
5125 for possible in gtk12-config gtk14-config gtk-config 5130 for possible in gtk12-config gtk14-config gtk-config
5126 do 5131 do
5127 possible_version=`${possible} --version 2> /dev/null` 5132 possible_version=`${possible} --version 2> /dev/null`
5128 if test "x${possible_version}" != "x"; then 5133 if test "x${possible_version}" != "x"; then
5129 GTK_CONFIG="${possible}" 5134 GTK_CONFIG="${possible}"
5141 echo "$ac_t""${GTK_CONFIG}" 1>&6 5146 echo "$ac_t""${GTK_CONFIG}" 1>&6
5142 fi 5147 fi
5143 5148
5144 if test "${GTK_CONFIG}" != "no"; then 5149 if test "${GTK_CONFIG}" != "no"; then
5145 echo $ac_n "checking gtk version""... $ac_c" 1>&6 5150 echo $ac_n "checking gtk version""... $ac_c" 1>&6
5146 echo "configure:5147: checking gtk version" >&5 5151 echo "configure:5152: checking gtk version" >&5
5147 GTK_VERSION=`${GTK_CONFIG} --version` 5152 GTK_VERSION=`${GTK_CONFIG} --version`
5148 echo "$ac_t""${GTK_VERSION}" 1>&6 5153 echo "$ac_t""${GTK_VERSION}" 1>&6
5149 5154
5150 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 5155 echo $ac_n "checking gtk libs""... $ac_c" 1>&6
5151 echo "configure:5152: checking gtk libs" >&5 5156 echo "configure:5157: checking gtk libs" >&5
5152 GTK_LIBS=`${GTK_CONFIG} --libs` 5157 GTK_LIBS=`${GTK_CONFIG} --libs`
5153 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi 5158 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi
5154 echo "$ac_t""${GTK_LIBS}" 1>&6 5159 echo "$ac_t""${GTK_LIBS}" 1>&6
5155 5160
5156 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 5161 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6
5157 echo "configure:5158: checking gtk cflags" >&5 5162 echo "configure:5163: checking gtk cflags" >&5
5158 GTK_CFLAGS=`${GTK_CONFIG} --cflags` 5163 GTK_CFLAGS=`${GTK_CONFIG} --cflags`
5159 if test "$GCC" = "yes"; then 5164 if test "$GCC" = "yes"; then
5160 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" 5165 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow"
5161 fi 5166 fi
5162 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi 5167 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi
5163 echo "$ac_t""${GTK_CFLAGS}" 1>&6 5168 echo "$ac_t""${GTK_CFLAGS}" 1>&6
5164 5169
5165 5170
5166 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 5171 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6
5167 echo "configure:5168: checking for main in -lgdk_imlib" >&5 5172 echo "configure:5173: checking for main in -lgdk_imlib" >&5
5168 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` 5173 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'`
5169 5174
5170 xe_check_libs=" -lgdk_imlib " 5175 xe_check_libs=" -lgdk_imlib "
5171 cat > conftest.$ac_ext <<EOF 5176 cat > conftest.$ac_ext <<EOF
5172 #line 5173 "configure" 5177 #line 5178 "configure"
5173 #include "confdefs.h" 5178 #include "confdefs.h"
5174 5179
5175 int main() { 5180 int main() {
5176 main() 5181 main()
5177 ; return 0; } 5182 ; return 0; }
5178 EOF 5183 EOF
5179 if { (eval echo configure:5180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5184 if { (eval echo configure:5185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5180 rm -rf conftest* 5185 rm -rf conftest*
5181 eval "ac_cv_lib_$ac_lib_var=yes" 5186 eval "ac_cv_lib_$ac_lib_var=yes"
5182 else 5187 else
5183 echo "configure: failed program was:" >&5 5188 echo "configure: failed program was:" >&5
5184 cat conftest.$ac_ext >&5 5189 cat conftest.$ac_ext >&5
5196 fi 5201 fi
5197 5202
5198 5203
5199 5204
5200 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 5205 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6
5201 echo "configure:5202: checking for Imlib_init in -lImlib" >&5 5206 echo "configure:5207: checking for Imlib_init in -lImlib" >&5
5202 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` 5207 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'`
5203 5208
5204 xe_check_libs=" -lImlib " 5209 xe_check_libs=" -lImlib "
5205 cat > conftest.$ac_ext <<EOF 5210 cat > conftest.$ac_ext <<EOF
5206 #line 5207 "configure" 5211 #line 5212 "configure"
5207 #include "confdefs.h" 5212 #include "confdefs.h"
5208 /* Override any gcc2 internal prototype to avoid an error. */ 5213 /* Override any gcc2 internal prototype to avoid an error. */
5209 /* We use char because int might match the return type of a gcc2 5214 /* We use char because int might match the return type of a gcc2
5210 builtin and then its argument prototype would still apply. */ 5215 builtin and then its argument prototype would still apply. */
5211 char Imlib_init(); 5216 char Imlib_init();
5212 5217
5213 int main() { 5218 int main() {
5214 Imlib_init() 5219 Imlib_init()
5215 ; return 0; } 5220 ; return 0; }
5216 EOF 5221 EOF
5217 if { (eval echo configure:5218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5222 if { (eval echo configure:5223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5218 rm -rf conftest* 5223 rm -rf conftest*
5219 eval "ac_cv_lib_$ac_lib_var=yes" 5224 eval "ac_cv_lib_$ac_lib_var=yes"
5220 else 5225 else
5221 echo "configure: failed program was:" >&5 5226 echo "configure: failed program was:" >&5
5222 cat conftest.$ac_ext >&5 5227 cat conftest.$ac_ext >&5
5235 5240
5236 5241
5237 for ac_func in gdk_imlib_init 5242 for ac_func in gdk_imlib_init
5238 do 5243 do
5239 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5244 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5240 echo "configure:5241: checking for $ac_func" >&5 5245 echo "configure:5246: checking for $ac_func" >&5
5241 5246
5242 cat > conftest.$ac_ext <<EOF 5247 cat > conftest.$ac_ext <<EOF
5243 #line 5244 "configure" 5248 #line 5249 "configure"
5244 #include "confdefs.h" 5249 #include "confdefs.h"
5245 /* System header to define __stub macros and hopefully few prototypes, 5250 /* System header to define __stub macros and hopefully few prototypes,
5246 which can conflict with char $ac_func(); below. */ 5251 which can conflict with char $ac_func(); below. */
5247 #include <assert.h> 5252 #include <assert.h>
5248 /* Override any gcc2 internal prototype to avoid an error. */ 5253 /* Override any gcc2 internal prototype to avoid an error. */
5261 $ac_func(); 5266 $ac_func();
5262 #endif 5267 #endif
5263 5268
5264 ; return 0; } 5269 ; return 0; }
5265 EOF 5270 EOF
5266 if { (eval echo configure:5267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5271 if { (eval echo configure:5272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5267 rm -rf conftest* 5272 rm -rf conftest*
5268 eval "ac_cv_func_$ac_func=yes" 5273 eval "ac_cv_func_$ac_func=yes"
5269 else 5274 else
5270 echo "configure: failed program was:" >&5 5275 echo "configure: failed program was:" >&5
5271 cat conftest.$ac_ext >&5 5276 cat conftest.$ac_ext >&5
5340 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" 5345 LDFLAGS="${LDFLAGS} ${GTK_LIBS}"
5341 for ac_hdr in glade/glade.h glade.h 5346 for ac_hdr in glade/glade.h glade.h
5342 do 5347 do
5343 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5348 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5344 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5349 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5345 echo "configure:5346: checking for $ac_hdr" >&5 5350 echo "configure:5351: checking for $ac_hdr" >&5
5346 5351
5347 cat > conftest.$ac_ext <<EOF 5352 cat > conftest.$ac_ext <<EOF
5348 #line 5349 "configure" 5353 #line 5354 "configure"
5349 #include "confdefs.h" 5354 #include "confdefs.h"
5350 #include <$ac_hdr> 5355 #include <$ac_hdr>
5351 EOF 5356 EOF
5352 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5357 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5353 { (eval echo configure:5354: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5358 { (eval echo configure:5359: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5354 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5359 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5355 if test -z "$ac_err"; then 5360 if test -z "$ac_err"; then
5356 rm -rf conftest* 5361 rm -rf conftest*
5357 eval "ac_cv_header_$ac_safe=yes" 5362 eval "ac_cv_header_$ac_safe=yes"
5358 else 5363 else
5379 fi 5384 fi
5380 done 5385 done
5381 5386
5382 5387
5383 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 5388 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6
5384 echo "configure:5385: checking for main in -lxml" >&5 5389 echo "configure:5390: checking for main in -lxml" >&5
5385 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` 5390 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'`
5386 5391
5387 xe_check_libs=" -lxml " 5392 xe_check_libs=" -lxml "
5388 cat > conftest.$ac_ext <<EOF 5393 cat > conftest.$ac_ext <<EOF
5389 #line 5390 "configure" 5394 #line 5395 "configure"
5390 #include "confdefs.h" 5395 #include "confdefs.h"
5391 5396
5392 int main() { 5397 int main() {
5393 main() 5398 main()
5394 ; return 0; } 5399 ; return 0; }
5395 EOF 5400 EOF
5396 if { (eval echo configure:5397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5401 if { (eval echo configure:5402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5397 rm -rf conftest* 5402 rm -rf conftest*
5398 eval "ac_cv_lib_$ac_lib_var=yes" 5403 eval "ac_cv_lib_$ac_lib_var=yes"
5399 else 5404 else
5400 echo "configure: failed program was:" >&5 5405 echo "configure: failed program was:" >&5
5401 cat conftest.$ac_ext >&5 5406 cat conftest.$ac_ext >&5
5413 fi 5418 fi
5414 5419
5415 5420
5416 5421
5417 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 5422 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6
5418 echo "configure:5419: checking for main in -lglade" >&5 5423 echo "configure:5424: checking for main in -lglade" >&5
5419 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` 5424 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'`
5420 5425
5421 xe_check_libs=" -lglade " 5426 xe_check_libs=" -lglade "
5422 cat > conftest.$ac_ext <<EOF 5427 cat > conftest.$ac_ext <<EOF
5423 #line 5424 "configure" 5428 #line 5429 "configure"
5424 #include "confdefs.h" 5429 #include "confdefs.h"
5425 5430
5426 int main() { 5431 int main() {
5427 main() 5432 main()
5428 ; return 0; } 5433 ; return 0; }
5429 EOF 5434 EOF
5430 if { (eval echo configure:5431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5435 if { (eval echo configure:5436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5431 rm -rf conftest* 5436 rm -rf conftest*
5432 eval "ac_cv_lib_$ac_lib_var=yes" 5437 eval "ac_cv_lib_$ac_lib_var=yes"
5433 else 5438 else
5434 echo "configure: failed program was:" >&5 5439 echo "configure: failed program was:" >&5
5435 cat conftest.$ac_ext >&5 5440 cat conftest.$ac_ext >&5
5447 fi 5452 fi
5448 5453
5449 5454
5450 5455
5451 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 5456 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6
5452 echo "configure:5453: checking for main in -lglade-gnome" >&5 5457 echo "configure:5458: checking for main in -lglade-gnome" >&5
5453 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` 5458 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'`
5454 5459
5455 xe_check_libs=" -lglade-gnome " 5460 xe_check_libs=" -lglade-gnome "
5456 cat > conftest.$ac_ext <<EOF 5461 cat > conftest.$ac_ext <<EOF
5457 #line 5458 "configure" 5462 #line 5463 "configure"
5458 #include "confdefs.h" 5463 #include "confdefs.h"
5459 5464
5460 int main() { 5465 int main() {
5461 main() 5466 main()
5462 ; return 0; } 5467 ; return 0; }
5463 EOF 5468 EOF
5464 if { (eval echo configure:5465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5469 if { (eval echo configure:5470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5465 rm -rf conftest* 5470 rm -rf conftest*
5466 eval "ac_cv_lib_$ac_lib_var=yes" 5471 eval "ac_cv_lib_$ac_lib_var=yes"
5467 else 5472 else
5468 echo "configure: failed program was:" >&5 5473 echo "configure: failed program was:" >&5
5469 cat conftest.$ac_ext >&5 5474 cat conftest.$ac_ext >&5
5480 echo "$ac_t""no" 1>&6 5485 echo "$ac_t""no" 1>&6
5481 fi 5486 fi
5482 5487
5483 5488
5484 cat > conftest.$ac_ext <<EOF 5489 cat > conftest.$ac_ext <<EOF
5485 #line 5486 "configure" 5490 #line 5491 "configure"
5486 #include "confdefs.h" 5491 #include "confdefs.h"
5487 #include <glade/glade-xml.h> 5492 #include <glade/glade-xml.h>
5488 EOF 5493 EOF
5489 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5494 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5490 egrep "char \*txtdomain;" >/dev/null 2>&1; then 5495 egrep "char \*txtdomain;" >/dev/null 2>&1; then
5539 # If we find X, set shell vars x_includes and x_libraries to the 5544 # If we find X, set shell vars x_includes and x_libraries to the
5540 # paths, otherwise set no_x=yes. 5545 # paths, otherwise set no_x=yes.
5541 # Uses ac_ vars as temps to allow command line to override cache and checks. 5546 # Uses ac_ vars as temps to allow command line to override cache and checks.
5542 # --without-x overrides everything else, but does not touch the cache. 5547 # --without-x overrides everything else, but does not touch the cache.
5543 echo $ac_n "checking for X""... $ac_c" 1>&6 5548 echo $ac_n "checking for X""... $ac_c" 1>&6
5544 echo "configure:5545: checking for X" >&5 5549 echo "configure:5550: checking for X" >&5
5545 5550
5546 # Check whether --with-x or --without-x was given. 5551 # Check whether --with-x or --without-x was given.
5547 if test "${with_x+set}" = set; then 5552 if test "${with_x+set}" = set; then
5548 withval="$with_x" 5553 withval="$with_x"
5549 : 5554 :
5599 # Guess where to find include files, by looking for this one X11 .h file. 5604 # Guess where to find include files, by looking for this one X11 .h file.
5600 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h 5605 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
5601 5606
5602 # First, try using that file with no special directory specified. 5607 # First, try using that file with no special directory specified.
5603 cat > conftest.$ac_ext <<EOF 5608 cat > conftest.$ac_ext <<EOF
5604 #line 5605 "configure" 5609 #line 5610 "configure"
5605 #include "confdefs.h" 5610 #include "confdefs.h"
5606 #include <$x_direct_test_include> 5611 #include <$x_direct_test_include>
5607 EOF 5612 EOF
5608 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5613 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5609 { (eval echo configure:5610: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5614 { (eval echo configure:5615: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5610 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5615 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5611 if test -z "$ac_err"; then 5616 if test -z "$ac_err"; then
5612 rm -rf conftest* 5617 rm -rf conftest*
5613 # We can compile using X headers with no special include directory. 5618 # We can compile using X headers with no special include directory.
5614 ac_x_includes= 5619 ac_x_includes=
5673 # See if we find them without any special options. 5678 # See if we find them without any special options.
5674 # Don't add to $LIBS permanently. 5679 # Don't add to $LIBS permanently.
5675 ac_save_LIBS="$LIBS" 5680 ac_save_LIBS="$LIBS"
5676 LIBS="-l$x_direct_test_library $LIBS" 5681 LIBS="-l$x_direct_test_library $LIBS"
5677 cat > conftest.$ac_ext <<EOF 5682 cat > conftest.$ac_ext <<EOF
5678 #line 5679 "configure" 5683 #line 5684 "configure"
5679 #include "confdefs.h" 5684 #include "confdefs.h"
5680 5685
5681 int main() { 5686 int main() {
5682 ${x_direct_test_function}() 5687 ${x_direct_test_function}()
5683 ; return 0; } 5688 ; return 0; }
5684 EOF 5689 EOF
5685 if { (eval echo configure:5686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5690 if { (eval echo configure:5691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5686 rm -rf conftest* 5691 rm -rf conftest*
5687 LIBS="$ac_save_LIBS" 5692 LIBS="$ac_save_LIBS"
5688 # We can link X programs with no special library path. 5693 # We can link X programs with no special library path.
5689 ac_x_libraries= 5694 ac_x_libraries=
5690 else 5695 else
5789 # For Solaris; some versions of Sun CC require a space after -R and 5794 # For Solaris; some versions of Sun CC require a space after -R and
5790 # others require no space. Words are not sufficient . . . . 5795 # others require no space. Words are not sufficient . . . .
5791 case "`(uname -sr) 2>/dev/null`" in 5796 case "`(uname -sr) 2>/dev/null`" in
5792 "SunOS 5"*) 5797 "SunOS 5"*)
5793 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 5798 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
5794 echo "configure:5795: checking whether -R must be followed by a space" >&5 5799 echo "configure:5800: checking whether -R must be followed by a space" >&5
5795 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" 5800 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
5796 cat > conftest.$ac_ext <<EOF 5801 cat > conftest.$ac_ext <<EOF
5797 #line 5798 "configure" 5802 #line 5803 "configure"
5798 #include "confdefs.h" 5803 #include "confdefs.h"
5799 5804
5800 int main() { 5805 int main() {
5801 5806
5802 ; return 0; } 5807 ; return 0; }
5803 EOF 5808 EOF
5804 if { (eval echo configure:5805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5809 if { (eval echo configure:5810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5805 rm -rf conftest* 5810 rm -rf conftest*
5806 ac_R_nospace=yes 5811 ac_R_nospace=yes
5807 else 5812 else
5808 echo "configure: failed program was:" >&5 5813 echo "configure: failed program was:" >&5
5809 cat conftest.$ac_ext >&5 5814 cat conftest.$ac_ext >&5
5815 echo "$ac_t""no" 1>&6 5820 echo "$ac_t""no" 1>&6
5816 X_LIBS="$X_LIBS -R$x_libraries" 5821 X_LIBS="$X_LIBS -R$x_libraries"
5817 else 5822 else
5818 LIBS="$ac_xsave_LIBS -R $x_libraries" 5823 LIBS="$ac_xsave_LIBS -R $x_libraries"
5819 cat > conftest.$ac_ext <<EOF 5824 cat > conftest.$ac_ext <<EOF
5820 #line 5821 "configure" 5825 #line 5826 "configure"
5821 #include "confdefs.h" 5826 #include "confdefs.h"
5822 5827
5823 int main() { 5828 int main() {
5824 5829
5825 ; return 0; } 5830 ; return 0; }
5826 EOF 5831 EOF
5827 if { (eval echo configure:5828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5832 if { (eval echo configure:5833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5828 rm -rf conftest* 5833 rm -rf conftest*
5829 ac_R_space=yes 5834 ac_R_space=yes
5830 else 5835 else
5831 echo "configure: failed program was:" >&5 5836 echo "configure: failed program was:" >&5
5832 cat conftest.$ac_ext >&5 5837 cat conftest.$ac_ext >&5
5858 if test "$with_dnet" = "no" ; then 5863 if test "$with_dnet" = "no" ; then
5859 ac_cv_lib_dnet_dnet_ntoa=no 5864 ac_cv_lib_dnet_dnet_ntoa=no
5860 else 5865 else
5861 5866
5862 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 5867 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
5863 echo "configure:5864: checking for dnet_ntoa in -ldnet" >&5 5868 echo "configure:5869: checking for dnet_ntoa in -ldnet" >&5
5864 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` 5869 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
5865 5870
5866 xe_check_libs=" -ldnet " 5871 xe_check_libs=" -ldnet "
5867 cat > conftest.$ac_ext <<EOF 5872 cat > conftest.$ac_ext <<EOF
5868 #line 5869 "configure" 5873 #line 5874 "configure"
5869 #include "confdefs.h" 5874 #include "confdefs.h"
5870 /* Override any gcc2 internal prototype to avoid an error. */ 5875 /* Override any gcc2 internal prototype to avoid an error. */
5871 /* We use char because int might match the return type of a gcc2 5876 /* We use char because int might match the return type of a gcc2
5872 builtin and then its argument prototype would still apply. */ 5877 builtin and then its argument prototype would still apply. */
5873 char dnet_ntoa(); 5878 char dnet_ntoa();
5874 5879
5875 int main() { 5880 int main() {
5876 dnet_ntoa() 5881 dnet_ntoa()
5877 ; return 0; } 5882 ; return 0; }
5878 EOF 5883 EOF
5879 if { (eval echo configure:5880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5884 if { (eval echo configure:5885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5880 rm -rf conftest* 5885 rm -rf conftest*
5881 eval "ac_cv_lib_$ac_lib_var=yes" 5886 eval "ac_cv_lib_$ac_lib_var=yes"
5882 else 5887 else
5883 echo "configure: failed program was:" >&5 5888 echo "configure: failed program was:" >&5
5884 cat conftest.$ac_ext >&5 5889 cat conftest.$ac_ext >&5
5898 fi 5903 fi
5899 5904
5900 if test $ac_cv_lib_dnet_dnet_ntoa = no; then 5905 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
5901 5906
5902 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 5907 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
5903 echo "configure:5904: checking for dnet_ntoa in -ldnet_stub" >&5 5908 echo "configure:5909: checking for dnet_ntoa in -ldnet_stub" >&5
5904 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` 5909 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
5905 5910
5906 xe_check_libs=" -ldnet_stub " 5911 xe_check_libs=" -ldnet_stub "
5907 cat > conftest.$ac_ext <<EOF 5912 cat > conftest.$ac_ext <<EOF
5908 #line 5909 "configure" 5913 #line 5914 "configure"
5909 #include "confdefs.h" 5914 #include "confdefs.h"
5910 /* Override any gcc2 internal prototype to avoid an error. */ 5915 /* Override any gcc2 internal prototype to avoid an error. */
5911 /* We use char because int might match the return type of a gcc2 5916 /* We use char because int might match the return type of a gcc2
5912 builtin and then its argument prototype would still apply. */ 5917 builtin and then its argument prototype would still apply. */
5913 char dnet_ntoa(); 5918 char dnet_ntoa();
5914 5919
5915 int main() { 5920 int main() {
5916 dnet_ntoa() 5921 dnet_ntoa()
5917 ; return 0; } 5922 ; return 0; }
5918 EOF 5923 EOF
5919 if { (eval echo configure:5920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5924 if { (eval echo configure:5925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5920 rm -rf conftest* 5925 rm -rf conftest*
5921 eval "ac_cv_lib_$ac_lib_var=yes" 5926 eval "ac_cv_lib_$ac_lib_var=yes"
5922 else 5927 else
5923 echo "configure: failed program was:" >&5 5928 echo "configure: failed program was:" >&5
5924 cat conftest.$ac_ext >&5 5929 cat conftest.$ac_ext >&5
5943 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) 5948 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
5944 # needs -lnsl. 5949 # needs -lnsl.
5945 # The nsl library prevents programs from opening the X display 5950 # The nsl library prevents programs from opening the X display
5946 # on Irix 5.2, according to dickey@clark.net. 5951 # on Irix 5.2, according to dickey@clark.net.
5947 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 5952 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
5948 echo "configure:5949: checking for gethostbyname" >&5 5953 echo "configure:5954: checking for gethostbyname" >&5
5949 5954
5950 cat > conftest.$ac_ext <<EOF 5955 cat > conftest.$ac_ext <<EOF
5951 #line 5952 "configure" 5956 #line 5957 "configure"
5952 #include "confdefs.h" 5957 #include "confdefs.h"
5953 /* System header to define __stub macros and hopefully few prototypes, 5958 /* System header to define __stub macros and hopefully few prototypes,
5954 which can conflict with char gethostbyname(); below. */ 5959 which can conflict with char gethostbyname(); below. */
5955 #include <assert.h> 5960 #include <assert.h>
5956 /* Override any gcc2 internal prototype to avoid an error. */ 5961 /* Override any gcc2 internal prototype to avoid an error. */
5969 gethostbyname(); 5974 gethostbyname();
5970 #endif 5975 #endif
5971 5976
5972 ; return 0; } 5977 ; return 0; }
5973 EOF 5978 EOF
5974 if { (eval echo configure:5975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5979 if { (eval echo configure:5980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5975 rm -rf conftest* 5980 rm -rf conftest*
5976 eval "ac_cv_func_gethostbyname=yes" 5981 eval "ac_cv_func_gethostbyname=yes"
5977 else 5982 else
5978 echo "configure: failed program was:" >&5 5983 echo "configure: failed program was:" >&5
5979 cat conftest.$ac_ext >&5 5984 cat conftest.$ac_ext >&5
5990 fi 5995 fi
5991 5996
5992 if test $ac_cv_func_gethostbyname = no; then 5997 if test $ac_cv_func_gethostbyname = no; then
5993 5998
5994 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 5999 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
5995 echo "configure:5996: checking for gethostbyname in -lnsl" >&5 6000 echo "configure:6001: checking for gethostbyname in -lnsl" >&5
5996 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` 6001 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
5997 6002
5998 xe_check_libs=" -lnsl " 6003 xe_check_libs=" -lnsl "
5999 cat > conftest.$ac_ext <<EOF 6004 cat > conftest.$ac_ext <<EOF
6000 #line 6001 "configure" 6005 #line 6006 "configure"
6001 #include "confdefs.h" 6006 #include "confdefs.h"
6002 /* Override any gcc2 internal prototype to avoid an error. */ 6007 /* Override any gcc2 internal prototype to avoid an error. */
6003 /* We use char because int might match the return type of a gcc2 6008 /* We use char because int might match the return type of a gcc2
6004 builtin and then its argument prototype would still apply. */ 6009 builtin and then its argument prototype would still apply. */
6005 char gethostbyname(); 6010 char gethostbyname();
6006 6011
6007 int main() { 6012 int main() {
6008 gethostbyname() 6013 gethostbyname()
6009 ; return 0; } 6014 ; return 0; }
6010 EOF 6015 EOF
6011 if { (eval echo configure:6012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6016 if { (eval echo configure:6017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6012 rm -rf conftest* 6017 rm -rf conftest*
6013 eval "ac_cv_lib_$ac_lib_var=yes" 6018 eval "ac_cv_lib_$ac_lib_var=yes"
6014 else 6019 else
6015 echo "configure: failed program was:" >&5 6020 echo "configure: failed program was:" >&5
6016 cat conftest.$ac_ext >&5 6021 cat conftest.$ac_ext >&5
6036 # on later versions), says simon@lia.di.epfl.ch: it contains 6041 # on later versions), says simon@lia.di.epfl.ch: it contains
6037 # gethostby* variants that don't use the nameserver (or something). 6042 # gethostby* variants that don't use the nameserver (or something).
6038 # -lsocket must be given before -lnsl if both are needed. 6043 # -lsocket must be given before -lnsl if both are needed.
6039 # We assume that if connect needs -lnsl, so does gethostbyname. 6044 # We assume that if connect needs -lnsl, so does gethostbyname.
6040 echo $ac_n "checking for connect""... $ac_c" 1>&6 6045 echo $ac_n "checking for connect""... $ac_c" 1>&6
6041 echo "configure:6042: checking for connect" >&5 6046 echo "configure:6047: checking for connect" >&5
6042 6047
6043 cat > conftest.$ac_ext <<EOF 6048 cat > conftest.$ac_ext <<EOF
6044 #line 6045 "configure" 6049 #line 6050 "configure"
6045 #include "confdefs.h" 6050 #include "confdefs.h"
6046 /* System header to define __stub macros and hopefully few prototypes, 6051 /* System header to define __stub macros and hopefully few prototypes,
6047 which can conflict with char connect(); below. */ 6052 which can conflict with char connect(); below. */
6048 #include <assert.h> 6053 #include <assert.h>
6049 /* Override any gcc2 internal prototype to avoid an error. */ 6054 /* Override any gcc2 internal prototype to avoid an error. */
6062 connect(); 6067 connect();
6063 #endif 6068 #endif
6064 6069
6065 ; return 0; } 6070 ; return 0; }
6066 EOF 6071 EOF
6067 if { (eval echo configure:6068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6072 if { (eval echo configure:6073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6068 rm -rf conftest* 6073 rm -rf conftest*
6069 eval "ac_cv_func_connect=yes" 6074 eval "ac_cv_func_connect=yes"
6070 else 6075 else
6071 echo "configure: failed program was:" >&5 6076 echo "configure: failed program was:" >&5
6072 cat conftest.$ac_ext >&5 6077 cat conftest.$ac_ext >&5
6085 if test $ac_cv_func_connect = no; then 6090 if test $ac_cv_func_connect = no; then
6086 6091
6087 xe_msg_checking="for connect in -lsocket" 6092 xe_msg_checking="for connect in -lsocket"
6088 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" 6093 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS"
6089 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 6094 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
6090 echo "configure:6091: checking "$xe_msg_checking"" >&5 6095 echo "configure:6096: checking "$xe_msg_checking"" >&5
6091 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` 6096 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
6092 6097
6093 xe_check_libs=" -lsocket $X_EXTRA_LIBS" 6098 xe_check_libs=" -lsocket $X_EXTRA_LIBS"
6094 cat > conftest.$ac_ext <<EOF 6099 cat > conftest.$ac_ext <<EOF
6095 #line 6096 "configure" 6100 #line 6101 "configure"
6096 #include "confdefs.h" 6101 #include "confdefs.h"
6097 /* Override any gcc2 internal prototype to avoid an error. */ 6102 /* Override any gcc2 internal prototype to avoid an error. */
6098 /* We use char because int might match the return type of a gcc2 6103 /* We use char because int might match the return type of a gcc2
6099 builtin and then its argument prototype would still apply. */ 6104 builtin and then its argument prototype would still apply. */
6100 char connect(); 6105 char connect();
6101 6106
6102 int main() { 6107 int main() {
6103 connect() 6108 connect()
6104 ; return 0; } 6109 ; return 0; }
6105 EOF 6110 EOF
6106 if { (eval echo configure:6107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6111 if { (eval echo configure:6112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6107 rm -rf conftest* 6112 rm -rf conftest*
6108 eval "ac_cv_lib_$ac_lib_var=yes" 6113 eval "ac_cv_lib_$ac_lib_var=yes"
6109 else 6114 else
6110 echo "configure: failed program was:" >&5 6115 echo "configure: failed program was:" >&5
6111 cat conftest.$ac_ext >&5 6116 cat conftest.$ac_ext >&5
6125 6130
6126 fi 6131 fi
6127 6132
6128 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. 6133 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
6129 echo $ac_n "checking for remove""... $ac_c" 1>&6 6134 echo $ac_n "checking for remove""... $ac_c" 1>&6
6130 echo "configure:6131: checking for remove" >&5 6135 echo "configure:6136: checking for remove" >&5
6131 6136
6132 cat > conftest.$ac_ext <<EOF 6137 cat > conftest.$ac_ext <<EOF
6133 #line 6134 "configure" 6138 #line 6139 "configure"
6134 #include "confdefs.h" 6139 #include "confdefs.h"
6135 /* System header to define __stub macros and hopefully few prototypes, 6140 /* System header to define __stub macros and hopefully few prototypes,
6136 which can conflict with char remove(); below. */ 6141 which can conflict with char remove(); below. */
6137 #include <assert.h> 6142 #include <assert.h>
6138 /* Override any gcc2 internal prototype to avoid an error. */ 6143 /* Override any gcc2 internal prototype to avoid an error. */
6151 remove(); 6156 remove();
6152 #endif 6157 #endif
6153 6158
6154 ; return 0; } 6159 ; return 0; }
6155 EOF 6160 EOF
6156 if { (eval echo configure:6157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6161 if { (eval echo configure:6162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6157 rm -rf conftest* 6162 rm -rf conftest*
6158 eval "ac_cv_func_remove=yes" 6163 eval "ac_cv_func_remove=yes"
6159 else 6164 else
6160 echo "configure: failed program was:" >&5 6165 echo "configure: failed program was:" >&5
6161 cat conftest.$ac_ext >&5 6166 cat conftest.$ac_ext >&5
6172 fi 6177 fi
6173 6178
6174 if test $ac_cv_func_remove = no; then 6179 if test $ac_cv_func_remove = no; then
6175 6180
6176 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 6181 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
6177 echo "configure:6178: checking for remove in -lposix" >&5 6182 echo "configure:6183: checking for remove in -lposix" >&5
6178 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` 6183 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`
6179 6184
6180 xe_check_libs=" -lposix " 6185 xe_check_libs=" -lposix "
6181 cat > conftest.$ac_ext <<EOF 6186 cat > conftest.$ac_ext <<EOF
6182 #line 6183 "configure" 6187 #line 6188 "configure"
6183 #include "confdefs.h" 6188 #include "confdefs.h"
6184 /* Override any gcc2 internal prototype to avoid an error. */ 6189 /* Override any gcc2 internal prototype to avoid an error. */
6185 /* We use char because int might match the return type of a gcc2 6190 /* We use char because int might match the return type of a gcc2
6186 builtin and then its argument prototype would still apply. */ 6191 builtin and then its argument prototype would still apply. */
6187 char remove(); 6192 char remove();
6188 6193
6189 int main() { 6194 int main() {
6190 remove() 6195 remove()
6191 ; return 0; } 6196 ; return 0; }
6192 EOF 6197 EOF
6193 if { (eval echo configure:6194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6198 if { (eval echo configure:6199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6194 rm -rf conftest* 6199 rm -rf conftest*
6195 eval "ac_cv_lib_$ac_lib_var=yes" 6200 eval "ac_cv_lib_$ac_lib_var=yes"
6196 else 6201 else
6197 echo "configure: failed program was:" >&5 6202 echo "configure: failed program was:" >&5
6198 cat conftest.$ac_ext >&5 6203 cat conftest.$ac_ext >&5
6212 6217
6213 fi 6218 fi
6214 6219
6215 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. 6220 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
6216 echo $ac_n "checking for shmat""... $ac_c" 1>&6 6221 echo $ac_n "checking for shmat""... $ac_c" 1>&6
6217 echo "configure:6218: checking for shmat" >&5 6222 echo "configure:6223: checking for shmat" >&5
6218 6223
6219 cat > conftest.$ac_ext <<EOF 6224 cat > conftest.$ac_ext <<EOF
6220 #line 6221 "configure" 6225 #line 6226 "configure"
6221 #include "confdefs.h" 6226 #include "confdefs.h"
6222 /* System header to define __stub macros and hopefully few prototypes, 6227 /* System header to define __stub macros and hopefully few prototypes,
6223 which can conflict with char shmat(); below. */ 6228 which can conflict with char shmat(); below. */
6224 #include <assert.h> 6229 #include <assert.h>
6225 /* Override any gcc2 internal prototype to avoid an error. */ 6230 /* Override any gcc2 internal prototype to avoid an error. */
6238 shmat(); 6243 shmat();
6239 #endif 6244 #endif
6240 6245
6241 ; return 0; } 6246 ; return 0; }
6242 EOF 6247 EOF
6243 if { (eval echo configure:6244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6248 if { (eval echo configure:6249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6244 rm -rf conftest* 6249 rm -rf conftest*
6245 eval "ac_cv_func_shmat=yes" 6250 eval "ac_cv_func_shmat=yes"
6246 else 6251 else
6247 echo "configure: failed program was:" >&5 6252 echo "configure: failed program was:" >&5
6248 cat conftest.$ac_ext >&5 6253 cat conftest.$ac_ext >&5
6259 fi 6264 fi
6260 6265
6261 if test $ac_cv_func_shmat = no; then 6266 if test $ac_cv_func_shmat = no; then
6262 6267
6263 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 6268 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
6264 echo "configure:6265: checking for shmat in -lipc" >&5 6269 echo "configure:6270: checking for shmat in -lipc" >&5
6265 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` 6270 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
6266 6271
6267 xe_check_libs=" -lipc " 6272 xe_check_libs=" -lipc "
6268 cat > conftest.$ac_ext <<EOF 6273 cat > conftest.$ac_ext <<EOF
6269 #line 6270 "configure" 6274 #line 6275 "configure"
6270 #include "confdefs.h" 6275 #include "confdefs.h"
6271 /* Override any gcc2 internal prototype to avoid an error. */ 6276 /* Override any gcc2 internal prototype to avoid an error. */
6272 /* We use char because int might match the return type of a gcc2 6277 /* We use char because int might match the return type of a gcc2
6273 builtin and then its argument prototype would still apply. */ 6278 builtin and then its argument prototype would still apply. */
6274 char shmat(); 6279 char shmat();
6275 6280
6276 int main() { 6281 int main() {
6277 shmat() 6282 shmat()
6278 ; return 0; } 6283 ; return 0; }
6279 EOF 6284 EOF
6280 if { (eval echo configure:6281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6285 if { (eval echo configure:6286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6281 rm -rf conftest* 6286 rm -rf conftest*
6282 eval "ac_cv_lib_$ac_lib_var=yes" 6287 eval "ac_cv_lib_$ac_lib_var=yes"
6283 else 6288 else
6284 echo "configure: failed program was:" >&5 6289 echo "configure: failed program was:" >&5
6285 cat conftest.$ac_ext >&5 6290 cat conftest.$ac_ext >&5
6311 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. 6316 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
6312 6317
6313 xe_msg_checking="for IceConnectionNumber in -lICE" 6318 xe_msg_checking="for IceConnectionNumber in -lICE"
6314 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" 6319 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS"
6315 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 6320 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
6316 echo "configure:6317: checking "$xe_msg_checking"" >&5 6321 echo "configure:6322: checking "$xe_msg_checking"" >&5
6317 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` 6322 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
6318 6323
6319 xe_check_libs=" -lICE $X_EXTRA_LIBS" 6324 xe_check_libs=" -lICE $X_EXTRA_LIBS"
6320 cat > conftest.$ac_ext <<EOF 6325 cat > conftest.$ac_ext <<EOF
6321 #line 6322 "configure" 6326 #line 6327 "configure"
6322 #include "confdefs.h" 6327 #include "confdefs.h"
6323 /* Override any gcc2 internal prototype to avoid an error. */ 6328 /* Override any gcc2 internal prototype to avoid an error. */
6324 /* We use char because int might match the return type of a gcc2 6329 /* We use char because int might match the return type of a gcc2
6325 builtin and then its argument prototype would still apply. */ 6330 builtin and then its argument prototype would still apply. */
6326 char IceConnectionNumber(); 6331 char IceConnectionNumber();
6327 6332
6328 int main() { 6333 int main() {
6329 IceConnectionNumber() 6334 IceConnectionNumber()
6330 ; return 0; } 6335 ; return 0; }
6331 EOF 6336 EOF
6332 if { (eval echo configure:6333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6337 if { (eval echo configure:6338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6333 rm -rf conftest* 6338 rm -rf conftest*
6334 eval "ac_cv_lib_$ac_lib_var=yes" 6339 eval "ac_cv_lib_$ac_lib_var=yes"
6335 else 6340 else
6336 echo "configure: failed program was:" >&5 6341 echo "configure: failed program was:" >&5
6337 cat conftest.$ac_ext >&5 6342 cat conftest.$ac_ext >&5
6494 EOF 6499 EOF
6495 } 6500 }
6496 6501
6497 6502
6498 echo "checking for X defines extracted by xmkmf" 1>&6 6503 echo "checking for X defines extracted by xmkmf" 1>&6
6499 echo "configure:6500: checking for X defines extracted by xmkmf" >&5 6504 echo "configure:6505: checking for X defines extracted by xmkmf" >&5
6500 rm -fr conftestdir 6505 rm -fr conftestdir
6501 if mkdir conftestdir; then 6506 if mkdir conftestdir; then
6502 cd conftestdir 6507 cd conftestdir
6503 cat > Imakefile <<'EOF' 6508 cat > Imakefile <<'EOF'
6504 xetest: 6509 xetest:
6543 done 6548 done
6544 fi 6549 fi
6545 6550
6546 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` 6551 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'`
6547 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 6552 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6
6548 echo "configure:6549: checking for X11/Intrinsic.h" >&5 6553 echo "configure:6554: checking for X11/Intrinsic.h" >&5
6549 6554
6550 cat > conftest.$ac_ext <<EOF 6555 cat > conftest.$ac_ext <<EOF
6551 #line 6552 "configure" 6556 #line 6557 "configure"
6552 #include "confdefs.h" 6557 #include "confdefs.h"
6553 #include <X11/Intrinsic.h> 6558 #include <X11/Intrinsic.h>
6554 EOF 6559 EOF
6555 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6560 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6556 { (eval echo configure:6557: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6561 { (eval echo configure:6562: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6557 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6562 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6558 if test -z "$ac_err"; then 6563 if test -z "$ac_err"; then
6559 rm -rf conftest* 6564 rm -rf conftest*
6560 eval "ac_cv_header_$ac_safe=yes" 6565 eval "ac_cv_header_$ac_safe=yes"
6561 else 6566 else
6575 fi 6580 fi
6576 6581
6577 6582
6578 6583
6579 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 6584 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6
6580 echo "configure:6581: checking for XOpenDisplay in -lX11" >&5 6585 echo "configure:6586: checking for XOpenDisplay in -lX11" >&5
6581 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` 6586 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'`
6582 6587
6583 xe_check_libs=" -lX11 " 6588 xe_check_libs=" -lX11 "
6584 cat > conftest.$ac_ext <<EOF 6589 cat > conftest.$ac_ext <<EOF
6585 #line 6586 "configure" 6590 #line 6591 "configure"
6586 #include "confdefs.h" 6591 #include "confdefs.h"
6587 /* Override any gcc2 internal prototype to avoid an error. */ 6592 /* Override any gcc2 internal prototype to avoid an error. */
6588 /* We use char because int might match the return type of a gcc2 6593 /* We use char because int might match the return type of a gcc2
6589 builtin and then its argument prototype would still apply. */ 6594 builtin and then its argument prototype would still apply. */
6590 char XOpenDisplay(); 6595 char XOpenDisplay();
6591 6596
6592 int main() { 6597 int main() {
6593 XOpenDisplay() 6598 XOpenDisplay()
6594 ; return 0; } 6599 ; return 0; }
6595 EOF 6600 EOF
6596 if { (eval echo configure:6597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6601 if { (eval echo configure:6602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6597 rm -rf conftest* 6602 rm -rf conftest*
6598 eval "ac_cv_lib_$ac_lib_var=yes" 6603 eval "ac_cv_lib_$ac_lib_var=yes"
6599 else 6604 else
6600 echo "configure: failed program was:" >&5 6605 echo "configure: failed program was:" >&5
6601 cat conftest.$ac_ext >&5 6606 cat conftest.$ac_ext >&5
6616 if test "$have_lib_x11" != "yes"; then 6621 if test "$have_lib_x11" != "yes"; then
6617 6622
6618 xe_msg_checking="for XGetFontProperty in -lX11" 6623 xe_msg_checking="for XGetFontProperty in -lX11"
6619 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" 6624 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout"
6620 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 6625 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
6621 echo "configure:6622: checking "$xe_msg_checking"" >&5 6626 echo "configure:6627: checking "$xe_msg_checking"" >&5
6622 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` 6627 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'`
6623 6628
6624 xe_check_libs=" -lX11 -b i486-linuxaout" 6629 xe_check_libs=" -lX11 -b i486-linuxaout"
6625 cat > conftest.$ac_ext <<EOF 6630 cat > conftest.$ac_ext <<EOF
6626 #line 6627 "configure" 6631 #line 6632 "configure"
6627 #include "confdefs.h" 6632 #include "confdefs.h"
6628 /* Override any gcc2 internal prototype to avoid an error. */ 6633 /* Override any gcc2 internal prototype to avoid an error. */
6629 /* We use char because int might match the return type of a gcc2 6634 /* We use char because int might match the return type of a gcc2
6630 builtin and then its argument prototype would still apply. */ 6635 builtin and then its argument prototype would still apply. */
6631 char XGetFontProperty(); 6636 char XGetFontProperty();
6632 6637
6633 int main() { 6638 int main() {
6634 XGetFontProperty() 6639 XGetFontProperty()
6635 ; return 0; } 6640 ; return 0; }
6636 EOF 6641 EOF
6637 if { (eval echo configure:6638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6642 if { (eval echo configure:6643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6638 rm -rf conftest* 6643 rm -rf conftest*
6639 eval "ac_cv_lib_$ac_lib_var=yes" 6644 eval "ac_cv_lib_$ac_lib_var=yes"
6640 else 6645 else
6641 echo "configure: failed program was:" >&5 6646 echo "configure: failed program was:" >&5
6642 cat conftest.$ac_ext >&5 6647 cat conftest.$ac_ext >&5
6659 libs_x="-lX11" 6664 libs_x="-lX11"
6660 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" 6665 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\""
6661 6666
6662 6667
6663 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 6668 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6
6664 echo "configure:6665: checking for XShapeSelectInput in -lXext" >&5 6669 echo "configure:6670: checking for XShapeSelectInput in -lXext" >&5
6665 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` 6670 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'`
6666 6671
6667 xe_check_libs=" -lXext " 6672 xe_check_libs=" -lXext "
6668 cat > conftest.$ac_ext <<EOF 6673 cat > conftest.$ac_ext <<EOF
6669 #line 6670 "configure" 6674 #line 6675 "configure"
6670 #include "confdefs.h" 6675 #include "confdefs.h"
6671 /* Override any gcc2 internal prototype to avoid an error. */ 6676 /* Override any gcc2 internal prototype to avoid an error. */
6672 /* We use char because int might match the return type of a gcc2 6677 /* We use char because int might match the return type of a gcc2
6673 builtin and then its argument prototype would still apply. */ 6678 builtin and then its argument prototype would still apply. */
6674 char XShapeSelectInput(); 6679 char XShapeSelectInput();
6675 6680
6676 int main() { 6681 int main() {
6677 XShapeSelectInput() 6682 XShapeSelectInput()
6678 ; return 0; } 6683 ; return 0; }
6679 EOF 6684 EOF
6680 if { (eval echo configure:6681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6685 if { (eval echo configure:6686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6681 rm -rf conftest* 6686 rm -rf conftest*
6682 eval "ac_cv_lib_$ac_lib_var=yes" 6687 eval "ac_cv_lib_$ac_lib_var=yes"
6683 else 6688 else
6684 echo "configure: failed program was:" >&5 6689 echo "configure: failed program was:" >&5
6685 cat conftest.$ac_ext >&5 6690 cat conftest.$ac_ext >&5
6698 6703
6699 6704
6700 6705
6701 6706
6702 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 6707 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6
6703 echo "configure:6704: checking for XtOpenDisplay in -lXt" >&5 6708 echo "configure:6709: checking for XtOpenDisplay in -lXt" >&5
6704 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` 6709 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'`
6705 6710
6706 xe_check_libs=" -lXt " 6711 xe_check_libs=" -lXt "
6707 cat > conftest.$ac_ext <<EOF 6712 cat > conftest.$ac_ext <<EOF
6708 #line 6709 "configure" 6713 #line 6714 "configure"
6709 #include "confdefs.h" 6714 #include "confdefs.h"
6710 /* Override any gcc2 internal prototype to avoid an error. */ 6715 /* Override any gcc2 internal prototype to avoid an error. */
6711 /* We use char because int might match the return type of a gcc2 6716 /* We use char because int might match the return type of a gcc2
6712 builtin and then its argument prototype would still apply. */ 6717 builtin and then its argument prototype would still apply. */
6713 char XtOpenDisplay(); 6718 char XtOpenDisplay();
6714 6719
6715 int main() { 6720 int main() {
6716 XtOpenDisplay() 6721 XtOpenDisplay()
6717 ; return 0; } 6722 ; return 0; }
6718 EOF 6723 EOF
6719 if { (eval echo configure:6720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6724 if { (eval echo configure:6725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6720 rm -rf conftest* 6725 rm -rf conftest*
6721 eval "ac_cv_lib_$ac_lib_var=yes" 6726 eval "ac_cv_lib_$ac_lib_var=yes"
6722 else 6727 else
6723 echo "configure: failed program was:" >&5 6728 echo "configure: failed program was:" >&5
6724 cat conftest.$ac_ext >&5 6729 cat conftest.$ac_ext >&5
6737 fi 6742 fi
6738 6743
6739 6744
6740 6745
6741 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 6746 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6
6742 echo "configure:6743: checking the version of X11 being used" >&5 6747 echo "configure:6748: checking the version of X11 being used" >&5
6743 cat > conftest.$ac_ext <<EOF 6748 cat > conftest.$ac_ext <<EOF
6744 #line 6745 "configure" 6749 #line 6750 "configure"
6745 #include "confdefs.h" 6750 #include "confdefs.h"
6746 #include <X11/Intrinsic.h> 6751 #include <X11/Intrinsic.h>
6747 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } 6752 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; }
6748 EOF 6753 EOF
6749 if { (eval echo configure:6750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 6754 if { (eval echo configure:6755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
6750 then 6755 then
6751 ./conftest foobar; x11_release=$? 6756 ./conftest foobar; x11_release=$?
6752 else 6757 else
6753 conftest_rc="$?" 6758 conftest_rc="$?"
6754 echo "configure: failed program was:" >&5 6759 echo "configure: failed program was:" >&5
6775 fi 6780 fi
6776 6781
6777 for ac_func in XConvertCase 6782 for ac_func in XConvertCase
6778 do 6783 do
6779 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 6784 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6780 echo "configure:6781: checking for $ac_func" >&5 6785 echo "configure:6786: checking for $ac_func" >&5
6781 6786
6782 cat > conftest.$ac_ext <<EOF 6787 cat > conftest.$ac_ext <<EOF
6783 #line 6784 "configure" 6788 #line 6789 "configure"
6784 #include "confdefs.h" 6789 #include "confdefs.h"
6785 /* System header to define __stub macros and hopefully few prototypes, 6790 /* System header to define __stub macros and hopefully few prototypes,
6786 which can conflict with char $ac_func(); below. */ 6791 which can conflict with char $ac_func(); below. */
6787 #include <assert.h> 6792 #include <assert.h>
6788 /* Override any gcc2 internal prototype to avoid an error. */ 6793 /* Override any gcc2 internal prototype to avoid an error. */
6801 $ac_func(); 6806 $ac_func();
6802 #endif 6807 #endif
6803 6808
6804 ; return 0; } 6809 ; return 0; }
6805 EOF 6810 EOF
6806 if { (eval echo configure:6807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6811 if { (eval echo configure:6812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6807 rm -rf conftest* 6812 rm -rf conftest*
6808 eval "ac_cv_func_$ac_func=yes" 6813 eval "ac_cv_func_$ac_func=yes"
6809 else 6814 else
6810 echo "configure: failed program was:" >&5 6815 echo "configure: failed program was:" >&5
6811 cat conftest.$ac_ext >&5 6816 cat conftest.$ac_ext >&5
6833 6838
6834 for ac_hdr in X11/Xlocale.h 6839 for ac_hdr in X11/Xlocale.h
6835 do 6840 do
6836 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6841 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6837 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6842 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6838 echo "configure:6839: checking for $ac_hdr" >&5 6843 echo "configure:6844: checking for $ac_hdr" >&5
6839 6844
6840 cat > conftest.$ac_ext <<EOF 6845 cat > conftest.$ac_ext <<EOF
6841 #line 6842 "configure" 6846 #line 6847 "configure"
6842 #include "confdefs.h" 6847 #include "confdefs.h"
6843 #include <$ac_hdr> 6848 #include <$ac_hdr>
6844 EOF 6849 EOF
6845 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6850 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6846 { (eval echo configure:6847: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6851 { (eval echo configure:6852: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6847 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6852 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6848 if test -z "$ac_err"; then 6853 if test -z "$ac_err"; then
6849 rm -rf conftest* 6854 rm -rf conftest*
6850 eval "ac_cv_header_$ac_safe=yes" 6855 eval "ac_cv_header_$ac_safe=yes"
6851 else 6856 else
6874 6879
6875 6880
6876 for ac_func in XRegisterIMInstantiateCallback 6881 for ac_func in XRegisterIMInstantiateCallback
6877 do 6882 do
6878 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 6883 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6879 echo "configure:6880: checking for $ac_func" >&5 6884 echo "configure:6885: checking for $ac_func" >&5
6880 6885
6881 cat > conftest.$ac_ext <<EOF 6886 cat > conftest.$ac_ext <<EOF
6882 #line 6883 "configure" 6887 #line 6888 "configure"
6883 #include "confdefs.h" 6888 #include "confdefs.h"
6884 /* System header to define __stub macros and hopefully few prototypes, 6889 /* System header to define __stub macros and hopefully few prototypes,
6885 which can conflict with char $ac_func(); below. */ 6890 which can conflict with char $ac_func(); below. */
6886 #include <assert.h> 6891 #include <assert.h>
6887 /* Override any gcc2 internal prototype to avoid an error. */ 6892 /* Override any gcc2 internal prototype to avoid an error. */
6900 $ac_func(); 6905 $ac_func();
6901 #endif 6906 #endif
6902 6907
6903 ; return 0; } 6908 ; return 0; }
6904 EOF 6909 EOF
6905 if { (eval echo configure:6906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6910 if { (eval echo configure:6911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6906 rm -rf conftest* 6911 rm -rf conftest*
6907 eval "ac_cv_func_$ac_func=yes" 6912 eval "ac_cv_func_$ac_func=yes"
6908 else 6913 else
6909 echo "configure: failed program was:" >&5 6914 echo "configure: failed program was:" >&5
6910 cat conftest.$ac_ext >&5 6915 cat conftest.$ac_ext >&5
6928 echo "$ac_t""no" 1>&6 6933 echo "$ac_t""no" 1>&6
6929 fi 6934 fi
6930 done 6935 done
6931 6936
6932 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 6937 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6
6933 echo "configure:6934: checking for standard XRegisterIMInstantiateCallback prototype" >&5 6938 echo "configure:6939: checking for standard XRegisterIMInstantiateCallback prototype" >&5
6934 cat > conftest.$ac_ext <<EOF 6939 cat > conftest.$ac_ext <<EOF
6935 #line 6936 "configure" 6940 #line 6941 "configure"
6936 #include "confdefs.h" 6941 #include "confdefs.h"
6937 6942
6938 #define NeedFunctionPrototypes 1 6943 #define NeedFunctionPrototypes 1
6939 #include <X11/Xlib.h> 6944 #include <X11/Xlib.h>
6940 extern Bool XRegisterIMInstantiateCallback( 6945 extern Bool XRegisterIMInstantiateCallback(
6942 6947
6943 int main() { 6948 int main() {
6944 6949
6945 ; return 0; } 6950 ; return 0; }
6946 EOF 6951 EOF
6947 if { (eval echo configure:6948: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 6952 if { (eval echo configure:6953: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6948 rm -rf conftest* 6953 rm -rf conftest*
6949 echo "$ac_t""yes" 1>&6 6954 echo "$ac_t""yes" 1>&6
6950 else 6955 else
6951 echo "configure: failed program was:" >&5 6956 echo "configure: failed program was:" >&5
6952 cat conftest.$ac_ext >&5 6957 cat conftest.$ac_ext >&5
6963 fi 6968 fi
6964 rm -f conftest* 6969 rm -f conftest*
6965 6970
6966 test -z "$with_xmu" && { 6971 test -z "$with_xmu" && {
6967 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 6972 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6
6968 echo "configure:6969: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 6973 echo "configure:6974: checking for XmuReadBitmapDataFromFile in -lXmu" >&5
6969 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` 6974 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'`
6970 6975
6971 xe_check_libs=" -lXmu " 6976 xe_check_libs=" -lXmu "
6972 cat > conftest.$ac_ext <<EOF 6977 cat > conftest.$ac_ext <<EOF
6973 #line 6974 "configure" 6978 #line 6979 "configure"
6974 #include "confdefs.h" 6979 #include "confdefs.h"
6975 /* Override any gcc2 internal prototype to avoid an error. */ 6980 /* Override any gcc2 internal prototype to avoid an error. */
6976 /* We use char because int might match the return type of a gcc2 6981 /* We use char because int might match the return type of a gcc2
6977 builtin and then its argument prototype would still apply. */ 6982 builtin and then its argument prototype would still apply. */
6978 char XmuReadBitmapDataFromFile(); 6983 char XmuReadBitmapDataFromFile();
6979 6984
6980 int main() { 6985 int main() {
6981 XmuReadBitmapDataFromFile() 6986 XmuReadBitmapDataFromFile()
6982 ; return 0; } 6987 ; return 0; }
6983 EOF 6988 EOF
6984 if { (eval echo configure:6985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6989 if { (eval echo configure:6990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6985 rm -rf conftest* 6990 rm -rf conftest*
6986 eval "ac_cv_lib_$ac_lib_var=yes" 6991 eval "ac_cv_lib_$ac_lib_var=yes"
6987 else 6992 else
6988 echo "configure: failed program was:" >&5 6993 echo "configure: failed program was:" >&5
6989 cat conftest.$ac_ext >&5 6994 cat conftest.$ac_ext >&5
7018 7023
7019 fi 7024 fi
7020 7025
7021 7026
7022 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 7027 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6
7023 echo "configure:7024: checking for main in -lXbsd" >&5 7028 echo "configure:7029: checking for main in -lXbsd" >&5
7024 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` 7029 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'`
7025 7030
7026 xe_check_libs=" -lXbsd " 7031 xe_check_libs=" -lXbsd "
7027 cat > conftest.$ac_ext <<EOF 7032 cat > conftest.$ac_ext <<EOF
7028 #line 7029 "configure" 7033 #line 7034 "configure"
7029 #include "confdefs.h" 7034 #include "confdefs.h"
7030 7035
7031 int main() { 7036 int main() {
7032 main() 7037 main()
7033 ; return 0; } 7038 ; return 0; }
7034 EOF 7039 EOF
7035 if { (eval echo configure:7036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7040 if { (eval echo configure:7041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7036 rm -rf conftest* 7041 rm -rf conftest*
7037 eval "ac_cv_lib_$ac_lib_var=yes" 7042 eval "ac_cv_lib_$ac_lib_var=yes"
7038 else 7043 else
7039 echo "configure: failed program was:" >&5 7044 echo "configure: failed program was:" >&5
7040 cat conftest.$ac_ext >&5 7045 cat conftest.$ac_ext >&5
7067 fi 7072 fi
7068 7073
7069 fi 7074 fi
7070 if test "$with_msw" != "no"; then 7075 if test "$with_msw" != "no"; then
7071 echo "checking for MS-Windows" 1>&6 7076 echo "checking for MS-Windows" 1>&6
7072 echo "configure:7073: checking for MS-Windows" >&5 7077 echo "configure:7078: checking for MS-Windows" >&5
7073 7078
7074 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 7079 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6
7075 echo "configure:7076: checking for main in -lgdi32" >&5 7080 echo "configure:7081: checking for main in -lgdi32" >&5
7076 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` 7081 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'`
7077 7082
7078 xe_check_libs=" -lgdi32 " 7083 xe_check_libs=" -lgdi32 "
7079 cat > conftest.$ac_ext <<EOF 7084 cat > conftest.$ac_ext <<EOF
7080 #line 7081 "configure" 7085 #line 7086 "configure"
7081 #include "confdefs.h" 7086 #include "confdefs.h"
7082 7087
7083 int main() { 7088 int main() {
7084 main() 7089 main()
7085 ; return 0; } 7090 ; return 0; }
7086 EOF 7091 EOF
7087 if { (eval echo configure:7088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7092 if { (eval echo configure:7093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7088 rm -rf conftest* 7093 rm -rf conftest*
7089 eval "ac_cv_lib_$ac_lib_var=yes" 7094 eval "ac_cv_lib_$ac_lib_var=yes"
7090 else 7095 else
7091 echo "configure: failed program was:" >&5 7096 echo "configure: failed program was:" >&5
7092 cat conftest.$ac_ext >&5 7097 cat conftest.$ac_ext >&5
7155 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then 7160 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then
7156 echo " xemacs will be linked with \"dialog-msw.o\"" 7161 echo " xemacs will be linked with \"dialog-msw.o\""
7157 fi 7162 fi
7158 fi 7163 fi
7159 cat > conftest.$ac_ext <<EOF 7164 cat > conftest.$ac_ext <<EOF
7160 #line 7161 "configure" 7165 #line 7166 "configure"
7161 #include "confdefs.h" 7166 #include "confdefs.h"
7162 #include <fcntl.h> 7167 #include <fcntl.h>
7163 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } 7168 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; }
7164 EOF 7169 EOF
7165 if { (eval echo configure:7166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 7170 if { (eval echo configure:7171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
7166 then 7171 then
7167 need_event_unixoid=yes; { test "$extra_verbose" = "yes" && cat << \EOF 7172 need_event_unixoid=yes; { test "$extra_verbose" = "yes" && cat << \EOF
7168 Defining HAVE_MSG_SELECT 7173 Defining HAVE_MSG_SELECT
7169 EOF 7174 EOF
7170 cat >> confdefs.h <<\EOF 7175 cat >> confdefs.h <<\EOF
7224 fi 7229 fi
7225 7230
7226 if test "$with_x11" = "yes"; then 7231 if test "$with_x11" = "yes"; then
7227 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` 7232 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'`
7228 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 7233 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6
7229 echo "configure:7230: checking for X11/extensions/shape.h" >&5 7234 echo "configure:7235: checking for X11/extensions/shape.h" >&5
7230 7235
7231 cat > conftest.$ac_ext <<EOF 7236 cat > conftest.$ac_ext <<EOF
7232 #line 7233 "configure" 7237 #line 7238 "configure"
7233 #include "confdefs.h" 7238 #include "confdefs.h"
7234 #include <X11/extensions/shape.h> 7239 #include <X11/extensions/shape.h>
7235 EOF 7240 EOF
7236 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7241 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7237 { (eval echo configure:7238: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7242 { (eval echo configure:7243: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7238 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7243 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7239 if test -z "$ac_err"; then 7244 if test -z "$ac_err"; then
7240 rm -rf conftest* 7245 rm -rf conftest*
7241 eval "ac_cv_header_$ac_safe=yes" 7246 eval "ac_cv_header_$ac_safe=yes"
7242 else 7247 else
7284 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" 7289 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h"
7285 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" 7290 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h"
7286 esac 7291 esac
7287 7292
7288 echo "checking for WM_COMMAND option" 1>&6 7293 echo "checking for WM_COMMAND option" 1>&6
7289 echo "configure:7290: checking for WM_COMMAND option" >&5; 7294 echo "configure:7295: checking for WM_COMMAND option" >&5;
7290 if test "$with_wmcommand" != "no"; then 7295 if test "$with_wmcommand" != "no"; then
7291 { test "$extra_verbose" = "yes" && cat << \EOF 7296 { test "$extra_verbose" = "yes" && cat << \EOF
7292 Defining HAVE_WMCOMMAND 7297 Defining HAVE_WMCOMMAND
7293 EOF 7298 EOF
7294 cat >> confdefs.h <<\EOF 7299 cat >> confdefs.h <<\EOF
7299 fi 7304 fi
7300 7305
7301 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no 7306 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no
7302 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` 7307 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'`
7303 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 7308 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6
7304 echo "configure:7305: checking for X11/Xauth.h" >&5 7309 echo "configure:7310: checking for X11/Xauth.h" >&5
7305 7310
7306 cat > conftest.$ac_ext <<EOF 7311 cat > conftest.$ac_ext <<EOF
7307 #line 7308 "configure" 7312 #line 7313 "configure"
7308 #include "confdefs.h" 7313 #include "confdefs.h"
7309 #include <X11/Xauth.h> 7314 #include <X11/Xauth.h>
7310 EOF 7315 EOF
7311 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7316 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7312 { (eval echo configure:7313: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7317 { (eval echo configure:7318: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7313 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7318 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7314 if test -z "$ac_err"; then 7319 if test -z "$ac_err"; then
7315 rm -rf conftest* 7320 rm -rf conftest*
7316 eval "ac_cv_header_$ac_safe=yes" 7321 eval "ac_cv_header_$ac_safe=yes"
7317 else 7322 else
7330 with_xauth=no 7335 with_xauth=no
7331 fi 7336 fi
7332 } 7337 }
7333 test -z "$with_xauth" && { 7338 test -z "$with_xauth" && {
7334 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 7339 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6
7335 echo "configure:7336: checking for XauGetAuthByAddr in -lXau" >&5 7340 echo "configure:7341: checking for XauGetAuthByAddr in -lXau" >&5
7336 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` 7341 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'`
7337 7342
7338 xe_check_libs=" -lXau " 7343 xe_check_libs=" -lXau "
7339 cat > conftest.$ac_ext <<EOF 7344 cat > conftest.$ac_ext <<EOF
7340 #line 7341 "configure" 7345 #line 7346 "configure"
7341 #include "confdefs.h" 7346 #include "confdefs.h"
7342 /* Override any gcc2 internal prototype to avoid an error. */ 7347 /* Override any gcc2 internal prototype to avoid an error. */
7343 /* We use char because int might match the return type of a gcc2 7348 /* We use char because int might match the return type of a gcc2
7344 builtin and then its argument prototype would still apply. */ 7349 builtin and then its argument prototype would still apply. */
7345 char XauGetAuthByAddr(); 7350 char XauGetAuthByAddr();
7346 7351
7347 int main() { 7352 int main() {
7348 XauGetAuthByAddr() 7353 XauGetAuthByAddr()
7349 ; return 0; } 7354 ; return 0; }
7350 EOF 7355 EOF
7351 if { (eval echo configure:7352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7356 if { (eval echo configure:7357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7352 rm -rf conftest* 7357 rm -rf conftest*
7353 eval "ac_cv_lib_$ac_lib_var=yes" 7358 eval "ac_cv_lib_$ac_lib_var=yes"
7354 else 7359 else
7355 echo "configure: failed program was:" >&5 7360 echo "configure: failed program was:" >&5
7356 cat conftest.$ac_ext >&5 7361 cat conftest.$ac_ext >&5
7391 7396
7392 if test "$with_tooltalk" != "no" ; then 7397 if test "$with_tooltalk" != "no" ; then
7393 for dir in "" "Tt/" "desktop/" ; do 7398 for dir in "" "Tt/" "desktop/" ; do
7394 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` 7399 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'`
7395 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 7400 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6
7396 echo "configure:7397: checking for ${dir}tt_c.h" >&5 7401 echo "configure:7402: checking for ${dir}tt_c.h" >&5
7397 7402
7398 cat > conftest.$ac_ext <<EOF 7403 cat > conftest.$ac_ext <<EOF
7399 #line 7400 "configure" 7404 #line 7405 "configure"
7400 #include "confdefs.h" 7405 #include "confdefs.h"
7401 #include <${dir}tt_c.h> 7406 #include <${dir}tt_c.h>
7402 EOF 7407 EOF
7403 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7408 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7404 { (eval echo configure:7405: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7409 { (eval echo configure:7410: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7405 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7410 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7406 if test -z "$ac_err"; then 7411 if test -z "$ac_err"; then
7407 rm -rf conftest* 7412 rm -rf conftest*
7408 eval "ac_cv_header_$ac_safe=yes" 7413 eval "ac_cv_header_$ac_safe=yes"
7409 else 7414 else
7435 for extra_libs in "" "-lI18N -lce" "-lcxx"; do 7440 for extra_libs in "" "-lI18N -lce" "-lcxx"; do
7436 7441
7437 xe_msg_checking="for tt_message_create in -ltt" 7442 xe_msg_checking="for tt_message_create in -ltt"
7438 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" 7443 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs"
7439 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 7444 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
7440 echo "configure:7441: checking "$xe_msg_checking"" >&5 7445 echo "configure:7446: checking "$xe_msg_checking"" >&5
7441 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` 7446 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'`
7442 7447
7443 xe_check_libs=" -ltt $extra_libs" 7448 xe_check_libs=" -ltt $extra_libs"
7444 cat > conftest.$ac_ext <<EOF 7449 cat > conftest.$ac_ext <<EOF
7445 #line 7446 "configure" 7450 #line 7451 "configure"
7446 #include "confdefs.h" 7451 #include "confdefs.h"
7447 /* Override any gcc2 internal prototype to avoid an error. */ 7452 /* Override any gcc2 internal prototype to avoid an error. */
7448 /* We use char because int might match the return type of a gcc2 7453 /* We use char because int might match the return type of a gcc2
7449 builtin and then its argument prototype would still apply. */ 7454 builtin and then its argument prototype would still apply. */
7450 char tt_message_create(); 7455 char tt_message_create();
7451 7456
7452 int main() { 7457 int main() {
7453 tt_message_create() 7458 tt_message_create()
7454 ; return 0; } 7459 ; return 0; }
7455 EOF 7460 EOF
7456 if { (eval echo configure:7457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7461 if { (eval echo configure:7462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7457 rm -rf conftest* 7462 rm -rf conftest*
7458 eval "ac_cv_lib_$ac_lib_var=yes" 7463 eval "ac_cv_lib_$ac_lib_var=yes"
7459 else 7464 else
7460 echo "configure: failed program was:" >&5 7465 echo "configure: failed program was:" >&5
7461 cat conftest.$ac_ext >&5 7466 cat conftest.$ac_ext >&5
7508 fi 7513 fi
7509 fi 7514 fi
7510 7515
7511 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` 7516 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'`
7512 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 7517 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6
7513 echo "configure:7514: checking for Dt/Dt.h" >&5 7518 echo "configure:7519: checking for Dt/Dt.h" >&5
7514 7519
7515 cat > conftest.$ac_ext <<EOF 7520 cat > conftest.$ac_ext <<EOF
7516 #line 7517 "configure" 7521 #line 7522 "configure"
7517 #include "confdefs.h" 7522 #include "confdefs.h"
7518 #include <Dt/Dt.h> 7523 #include <Dt/Dt.h>
7519 EOF 7524 EOF
7520 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7525 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7521 { (eval echo configure:7522: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7526 { (eval echo configure:7527: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7522 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7527 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7523 if test -z "$ac_err"; then 7528 if test -z "$ac_err"; then
7524 rm -rf conftest* 7529 rm -rf conftest*
7525 eval "ac_cv_header_$ac_safe=yes" 7530 eval "ac_cv_header_$ac_safe=yes"
7526 else 7531 else
7539 with_cde=no 7544 with_cde=no
7540 fi 7545 fi
7541 } 7546 }
7542 test -z "$with_cde" && { 7547 test -z "$with_cde" && {
7543 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 7548 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6
7544 echo "configure:7545: checking for DtDndDragStart in -lDtSvc" >&5 7549 echo "configure:7550: checking for DtDndDragStart in -lDtSvc" >&5
7545 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` 7550 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'`
7546 7551
7547 xe_check_libs=" -lDtSvc " 7552 xe_check_libs=" -lDtSvc "
7548 cat > conftest.$ac_ext <<EOF 7553 cat > conftest.$ac_ext <<EOF
7549 #line 7550 "configure" 7554 #line 7555 "configure"
7550 #include "confdefs.h" 7555 #include "confdefs.h"
7551 /* Override any gcc2 internal prototype to avoid an error. */ 7556 /* Override any gcc2 internal prototype to avoid an error. */
7552 /* We use char because int might match the return type of a gcc2 7557 /* We use char because int might match the return type of a gcc2
7553 builtin and then its argument prototype would still apply. */ 7558 builtin and then its argument prototype would still apply. */
7554 char DtDndDragStart(); 7559 char DtDndDragStart();
7555 7560
7556 int main() { 7561 int main() {
7557 DtDndDragStart() 7562 DtDndDragStart()
7558 ; return 0; } 7563 ; return 0; }
7559 EOF 7564 EOF
7560 if { (eval echo configure:7561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7565 if { (eval echo configure:7566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7561 rm -rf conftest* 7566 rm -rf conftest*
7562 eval "ac_cv_lib_$ac_lib_var=yes" 7567 eval "ac_cv_lib_$ac_lib_var=yes"
7563 else 7568 else
7564 echo "configure: failed program was:" >&5 7569 echo "configure: failed program was:" >&5
7565 cat conftest.$ac_ext >&5 7570 cat conftest.$ac_ext >&5
7636 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi 7641 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi
7637 fi 7642 fi
7638 7643
7639 if test "$with_dragndrop" != "no" ; then 7644 if test "$with_dragndrop" != "no" ; then
7640 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 7645 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6
7641 echo "configure:7642: checking if drag and drop API is needed" >&5 7646 echo "configure:7647: checking if drag and drop API is needed" >&5
7642 if test -n "$dragndrop_proto" ; then 7647 if test -n "$dragndrop_proto" ; then
7643 with_dragndrop=yes 7648 with_dragndrop=yes
7644 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 7649 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6
7645 { test "$extra_verbose" = "yes" && cat << \EOF 7650 { test "$extra_verbose" = "yes" && cat << \EOF
7646 Defining HAVE_DRAGNDROP 7651 Defining HAVE_DRAGNDROP
7656 echo "$ac_t""no" 1>&6 7661 echo "$ac_t""no" 1>&6
7657 fi 7662 fi
7658 fi 7663 fi
7659 7664
7660 echo "checking for LDAP" 1>&6 7665 echo "checking for LDAP" 1>&6
7661 echo "configure:7662: checking for LDAP" >&5 7666 echo "configure:7667: checking for LDAP" >&5
7662 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` 7667 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'`
7663 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 7668 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6
7664 echo "configure:7665: checking for ldap.h" >&5 7669 echo "configure:7670: checking for ldap.h" >&5
7665 7670
7666 cat > conftest.$ac_ext <<EOF 7671 cat > conftest.$ac_ext <<EOF
7667 #line 7668 "configure" 7672 #line 7673 "configure"
7668 #include "confdefs.h" 7673 #include "confdefs.h"
7669 #include <ldap.h> 7674 #include <ldap.h>
7670 EOF 7675 EOF
7671 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7676 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7672 { (eval echo configure:7673: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7677 { (eval echo configure:7678: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7673 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7678 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7674 if test -z "$ac_err"; then 7679 if test -z "$ac_err"; then
7675 rm -rf conftest* 7680 rm -rf conftest*
7676 eval "ac_cv_header_$ac_safe=yes" 7681 eval "ac_cv_header_$ac_safe=yes"
7677 else 7682 else
7690 with_ldap=no 7695 with_ldap=no
7691 fi 7696 fi
7692 } 7697 }
7693 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` 7698 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'`
7694 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 7699 echo $ac_n "checking for lber.h""... $ac_c" 1>&6
7695 echo "configure:7696: checking for lber.h" >&5 7700 echo "configure:7701: checking for lber.h" >&5
7696 7701
7697 cat > conftest.$ac_ext <<EOF 7702 cat > conftest.$ac_ext <<EOF
7698 #line 7699 "configure" 7703 #line 7704 "configure"
7699 #include "confdefs.h" 7704 #include "confdefs.h"
7700 #include <lber.h> 7705 #include <lber.h>
7701 EOF 7706 EOF
7702 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7707 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7703 { (eval echo configure:7704: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7708 { (eval echo configure:7709: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7704 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7709 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7705 if test -z "$ac_err"; then 7710 if test -z "$ac_err"; then
7706 rm -rf conftest* 7711 rm -rf conftest*
7707 eval "ac_cv_header_$ac_safe=yes" 7712 eval "ac_cv_header_$ac_safe=yes"
7708 else 7713 else
7722 fi 7727 fi
7723 } 7728 }
7724 if test "$with_ldap" != "no"; then 7729 if test "$with_ldap" != "no"; then
7725 7730
7726 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 7731 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6
7727 echo "configure:7728: checking for ldap_search in -lldap" >&5 7732 echo "configure:7733: checking for ldap_search in -lldap" >&5
7728 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` 7733 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'`
7729 7734
7730 xe_check_libs=" -lldap " 7735 xe_check_libs=" -lldap "
7731 cat > conftest.$ac_ext <<EOF 7736 cat > conftest.$ac_ext <<EOF
7732 #line 7733 "configure" 7737 #line 7738 "configure"
7733 #include "confdefs.h" 7738 #include "confdefs.h"
7734 /* Override any gcc2 internal prototype to avoid an error. */ 7739 /* Override any gcc2 internal prototype to avoid an error. */
7735 /* We use char because int might match the return type of a gcc2 7740 /* We use char because int might match the return type of a gcc2
7736 builtin and then its argument prototype would still apply. */ 7741 builtin and then its argument prototype would still apply. */
7737 char ldap_search(); 7742 char ldap_search();
7738 7743
7739 int main() { 7744 int main() {
7740 ldap_search() 7745 ldap_search()
7741 ; return 0; } 7746 ; return 0; }
7742 EOF 7747 EOF
7743 if { (eval echo configure:7744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7748 if { (eval echo configure:7749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7744 rm -rf conftest* 7749 rm -rf conftest*
7745 eval "ac_cv_lib_$ac_lib_var=yes" 7750 eval "ac_cv_lib_$ac_lib_var=yes"
7746 else 7751 else
7747 echo "configure: failed program was:" >&5 7752 echo "configure: failed program was:" >&5
7748 cat conftest.$ac_ext >&5 7753 cat conftest.$ac_ext >&5
7763 7768
7764 test "$with_ldap_nolber" = "no" && { 7769 test "$with_ldap_nolber" = "no" && {
7765 xe_msg_checking="for ldap_open in -lldap" 7770 xe_msg_checking="for ldap_open in -lldap"
7766 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" 7771 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber"
7767 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 7772 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
7768 echo "configure:7769: checking "$xe_msg_checking"" >&5 7773 echo "configure:7774: checking "$xe_msg_checking"" >&5
7769 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` 7774 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'`
7770 7775
7771 xe_check_libs=" -lldap -llber" 7776 xe_check_libs=" -lldap -llber"
7772 cat > conftest.$ac_ext <<EOF 7777 cat > conftest.$ac_ext <<EOF
7773 #line 7774 "configure" 7778 #line 7779 "configure"
7774 #include "confdefs.h" 7779 #include "confdefs.h"
7775 /* Override any gcc2 internal prototype to avoid an error. */ 7780 /* Override any gcc2 internal prototype to avoid an error. */
7776 /* We use char because int might match the return type of a gcc2 7781 /* We use char because int might match the return type of a gcc2
7777 builtin and then its argument prototype would still apply. */ 7782 builtin and then its argument prototype would still apply. */
7778 char ldap_open(); 7783 char ldap_open();
7779 7784
7780 int main() { 7785 int main() {
7781 ldap_open() 7786 ldap_open()
7782 ; return 0; } 7787 ; return 0; }
7783 EOF 7788 EOF
7784 if { (eval echo configure:7785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7789 if { (eval echo configure:7790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7785 rm -rf conftest* 7790 rm -rf conftest*
7786 eval "ac_cv_lib_$ac_lib_var=yes" 7791 eval "ac_cv_lib_$ac_lib_var=yes"
7787 else 7792 else
7788 echo "configure: failed program was:" >&5 7793 echo "configure: failed program was:" >&5
7789 cat conftest.$ac_ext >&5 7794 cat conftest.$ac_ext >&5
7804 } 7809 }
7805 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { 7810 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && {
7806 xe_msg_checking="for ldap_open in -lldap" 7811 xe_msg_checking="for ldap_open in -lldap"
7807 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" 7812 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb"
7808 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 7813 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
7809 echo "configure:7810: checking "$xe_msg_checking"" >&5 7814 echo "configure:7815: checking "$xe_msg_checking"" >&5
7810 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` 7815 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'`
7811 7816
7812 xe_check_libs=" -lldap -llber -lkrb" 7817 xe_check_libs=" -lldap -llber -lkrb"
7813 cat > conftest.$ac_ext <<EOF 7818 cat > conftest.$ac_ext <<EOF
7814 #line 7815 "configure" 7819 #line 7820 "configure"
7815 #include "confdefs.h" 7820 #include "confdefs.h"
7816 /* Override any gcc2 internal prototype to avoid an error. */ 7821 /* Override any gcc2 internal prototype to avoid an error. */
7817 /* We use char because int might match the return type of a gcc2 7822 /* We use char because int might match the return type of a gcc2
7818 builtin and then its argument prototype would still apply. */ 7823 builtin and then its argument prototype would still apply. */
7819 char ldap_open(); 7824 char ldap_open();
7820 7825
7821 int main() { 7826 int main() {
7822 ldap_open() 7827 ldap_open()
7823 ; return 0; } 7828 ; return 0; }
7824 EOF 7829 EOF
7825 if { (eval echo configure:7826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7830 if { (eval echo configure:7831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7826 rm -rf conftest* 7831 rm -rf conftest*
7827 eval "ac_cv_lib_$ac_lib_var=yes" 7832 eval "ac_cv_lib_$ac_lib_var=yes"
7828 else 7833 else
7829 echo "configure: failed program was:" >&5 7834 echo "configure: failed program was:" >&5
7830 cat conftest.$ac_ext >&5 7835 cat conftest.$ac_ext >&5
7845 } 7850 }
7846 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { 7851 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && {
7847 xe_msg_checking="for ldap_open in -lldap" 7852 xe_msg_checking="for ldap_open in -lldap"
7848 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" 7853 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes"
7849 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 7854 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
7850 echo "configure:7851: checking "$xe_msg_checking"" >&5 7855 echo "configure:7856: checking "$xe_msg_checking"" >&5
7851 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` 7856 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'`
7852 7857
7853 xe_check_libs=" -lldap -llber -lkrb -ldes" 7858 xe_check_libs=" -lldap -llber -lkrb -ldes"
7854 cat > conftest.$ac_ext <<EOF 7859 cat > conftest.$ac_ext <<EOF
7855 #line 7856 "configure" 7860 #line 7861 "configure"
7856 #include "confdefs.h" 7861 #include "confdefs.h"
7857 /* Override any gcc2 internal prototype to avoid an error. */ 7862 /* Override any gcc2 internal prototype to avoid an error. */
7858 /* We use char because int might match the return type of a gcc2 7863 /* We use char because int might match the return type of a gcc2
7859 builtin and then its argument prototype would still apply. */ 7864 builtin and then its argument prototype would still apply. */
7860 char ldap_open(); 7865 char ldap_open();
7861 7866
7862 int main() { 7867 int main() {
7863 ldap_open() 7868 ldap_open()
7864 ; return 0; } 7869 ; return 0; }
7865 EOF 7870 EOF
7866 if { (eval echo configure:7867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7871 if { (eval echo configure:7872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7867 rm -rf conftest* 7872 rm -rf conftest*
7868 eval "ac_cv_lib_$ac_lib_var=yes" 7873 eval "ac_cv_lib_$ac_lib_var=yes"
7869 else 7874 else
7870 echo "configure: failed program was:" >&5 7875 echo "configure: failed program was:" >&5
7871 cat conftest.$ac_ext >&5 7876 cat conftest.$ac_ext >&5
7912 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi 7917 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi
7913 fi 7918 fi
7914 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result 7919 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result
7915 do 7920 do
7916 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 7921 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7917 echo "configure:7918: checking for $ac_func" >&5 7922 echo "configure:7923: checking for $ac_func" >&5
7918 7923
7919 cat > conftest.$ac_ext <<EOF 7924 cat > conftest.$ac_ext <<EOF
7920 #line 7921 "configure" 7925 #line 7926 "configure"
7921 #include "confdefs.h" 7926 #include "confdefs.h"
7922 /* System header to define __stub macros and hopefully few prototypes, 7927 /* System header to define __stub macros and hopefully few prototypes,
7923 which can conflict with char $ac_func(); below. */ 7928 which can conflict with char $ac_func(); below. */
7924 #include <assert.h> 7929 #include <assert.h>
7925 /* Override any gcc2 internal prototype to avoid an error. */ 7930 /* Override any gcc2 internal prototype to avoid an error. */
7938 $ac_func(); 7943 $ac_func();
7939 #endif 7944 #endif
7940 7945
7941 ; return 0; } 7946 ; return 0; }
7942 EOF 7947 EOF
7943 if { (eval echo configure:7944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7948 if { (eval echo configure:7949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7944 rm -rf conftest* 7949 rm -rf conftest*
7945 eval "ac_cv_func_$ac_func=yes" 7950 eval "ac_cv_func_$ac_func=yes"
7946 else 7951 else
7947 echo "configure: failed program was:" >&5 7952 echo "configure: failed program was:" >&5
7948 cat conftest.$ac_ext >&5 7953 cat conftest.$ac_ext >&5
7969 7974
7970 fi 7975 fi
7971 7976
7972 if test "$with_postgresql" != "no"; then 7977 if test "$with_postgresql" != "no"; then
7973 echo "checking for PostgreSQL" 1>&6 7978 echo "checking for PostgreSQL" 1>&6
7974 echo "configure:7975: checking for PostgreSQL" >&5 7979 echo "configure:7980: checking for PostgreSQL" >&5
7975 7980
7976 for header_dir in "" "pgsql/" "postgresql/"; do 7981 for header_dir in "" "pgsql/" "postgresql/"; do
7977 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` 7982 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'`
7978 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 7983 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6
7979 echo "configure:7980: checking for ${header_dir}libpq-fe.h" >&5 7984 echo "configure:7985: checking for ${header_dir}libpq-fe.h" >&5
7980 7985
7981 cat > conftest.$ac_ext <<EOF 7986 cat > conftest.$ac_ext <<EOF
7982 #line 7983 "configure" 7987 #line 7988 "configure"
7983 #include "confdefs.h" 7988 #include "confdefs.h"
7984 #include <${header_dir}libpq-fe.h> 7989 #include <${header_dir}libpq-fe.h>
7985 EOF 7990 EOF
7986 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7991 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7987 { (eval echo configure:7988: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7992 { (eval echo configure:7993: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7988 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7993 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7989 if test -z "$ac_err"; then 7994 if test -z "$ac_err"; then
7990 rm -rf conftest* 7995 rm -rf conftest*
7991 eval "ac_cv_header_$ac_safe=yes" 7996 eval "ac_cv_header_$ac_safe=yes"
7992 else 7997 else
8006 8011
8007 done 8012 done
8008 8013
8009 test -n "$libpq_fe_h_file" && { 8014 test -n "$libpq_fe_h_file" && {
8010 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 8015 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6
8011 echo "configure:8012: checking for PQconnectdb in -lpq" >&5 8016 echo "configure:8017: checking for PQconnectdb in -lpq" >&5
8012 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` 8017 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'`
8013 8018
8014 xe_check_libs=" -lpq " 8019 xe_check_libs=" -lpq "
8015 cat > conftest.$ac_ext <<EOF 8020 cat > conftest.$ac_ext <<EOF
8016 #line 8017 "configure" 8021 #line 8022 "configure"
8017 #include "confdefs.h" 8022 #include "confdefs.h"
8018 /* Override any gcc2 internal prototype to avoid an error. */ 8023 /* Override any gcc2 internal prototype to avoid an error. */
8019 /* We use char because int might match the return type of a gcc2 8024 /* We use char because int might match the return type of a gcc2
8020 builtin and then its argument prototype would still apply. */ 8025 builtin and then its argument prototype would still apply. */
8021 char PQconnectdb(); 8026 char PQconnectdb();
8022 8027
8023 int main() { 8028 int main() {
8024 PQconnectdb() 8029 PQconnectdb()
8025 ; return 0; } 8030 ; return 0; }
8026 EOF 8031 EOF
8027 if { (eval echo configure:8028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8032 if { (eval echo configure:8033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8028 rm -rf conftest* 8033 rm -rf conftest*
8029 eval "ac_cv_lib_$ac_lib_var=yes" 8034 eval "ac_cv_lib_$ac_lib_var=yes"
8030 else 8035 else
8031 echo "configure: failed program was:" >&5 8036 echo "configure: failed program was:" >&5
8032 cat conftest.$ac_ext >&5 8037 cat conftest.$ac_ext >&5
8055 EOF 8060 EOF
8056 } 8061 }
8057 8062
8058 8063
8059 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 8064 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6
8060 echo "configure:8061: checking for PQconnectStart in -lpq" >&5 8065 echo "configure:8066: checking for PQconnectStart in -lpq" >&5
8061 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` 8066 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'`
8062 8067
8063 xe_check_libs=" -lpq " 8068 xe_check_libs=" -lpq "
8064 cat > conftest.$ac_ext <<EOF 8069 cat > conftest.$ac_ext <<EOF
8065 #line 8066 "configure" 8070 #line 8071 "configure"
8066 #include "confdefs.h" 8071 #include "confdefs.h"
8067 /* Override any gcc2 internal prototype to avoid an error. */ 8072 /* Override any gcc2 internal prototype to avoid an error. */
8068 /* We use char because int might match the return type of a gcc2 8073 /* We use char because int might match the return type of a gcc2
8069 builtin and then its argument prototype would still apply. */ 8074 builtin and then its argument prototype would still apply. */
8070 char PQconnectStart(); 8075 char PQconnectStart();
8071 8076
8072 int main() { 8077 int main() {
8073 PQconnectStart() 8078 PQconnectStart()
8074 ; return 0; } 8079 ; return 0; }
8075 EOF 8080 EOF
8076 if { (eval echo configure:8077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8081 if { (eval echo configure:8082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8077 rm -rf conftest* 8082 rm -rf conftest*
8078 eval "ac_cv_lib_$ac_lib_var=yes" 8083 eval "ac_cv_lib_$ac_lib_var=yes"
8079 else 8084 else
8080 echo "configure: failed program was:" >&5 8085 echo "configure: failed program was:" >&5
8081 cat conftest.$ac_ext >&5 8086 cat conftest.$ac_ext >&5
8119 fi 8124 fi
8120 8125
8121 8126
8122 if test "$window_system" != "none"; then 8127 if test "$window_system" != "none"; then
8123 echo "checking for graphics libraries" 1>&6 8128 echo "checking for graphics libraries" 1>&6
8124 echo "configure:8125: checking for graphics libraries" >&5 8129 echo "configure:8130: checking for graphics libraries" >&5
8125 8130
8126 libpath_xpm= 8131 libpath_xpm=
8127 incpath_xpm= 8132 incpath_xpm=
8128 case "$opsys" in 8133 case "$opsys" in
8129 cygwin*) 8134 cygwin*)
8145 xpm_problem="" 8150 xpm_problem=""
8146 if test -z "$with_xpm"; then 8151 if test -z "$with_xpm"; then
8147 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi 8152 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi
8148 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi 8153 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi
8149 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 8154 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6
8150 echo "configure:8151: checking for Xpm - no older than 3.4f" >&5 8155 echo "configure:8156: checking for Xpm - no older than 3.4f" >&5
8151 xe_check_libs=-lXpm 8156 xe_check_libs=-lXpm
8152 cat > conftest.$ac_ext <<EOF 8157 cat > conftest.$ac_ext <<EOF
8153 #line 8154 "configure" 8158 #line 8159 "configure"
8154 #include "confdefs.h" 8159 #include "confdefs.h"
8155 #define XPM_NUMBERS 8160 #define XPM_NUMBERS
8156 #include <X11/xpm.h> 8161 #include <X11/xpm.h>
8157 int main(int c, char **v) { 8162 int main(int c, char **v) {
8158 return c == 1 ? 0 : 8163 return c == 1 ? 0 :
8159 XpmIncludeVersion != XpmLibraryVersion() ? 1 : 8164 XpmIncludeVersion != XpmLibraryVersion() ? 1 :
8160 XpmIncludeVersion < 30406 ? 2 : 0 ;} 8165 XpmIncludeVersion < 30406 ? 2 : 0 ;}
8161 EOF 8166 EOF
8162 if { (eval echo configure:8163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 8167 if { (eval echo configure:8168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
8163 then 8168 then
8164 ./conftest dummy_arg; xpm_status=$?; 8169 ./conftest dummy_arg; xpm_status=$?;
8165 if test "$xpm_status" = "0"; then 8170 if test "$xpm_status" = "0"; then
8166 with_xpm=yes; 8171 with_xpm=yes;
8167 else 8172 else
8201 8206
8202 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi 8207 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi
8203 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi 8208 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi
8204 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi 8209 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi
8205 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 8210 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6
8206 echo "configure:8207: checking for \"FOR_MSW\" xpm" >&5 8211 echo "configure:8212: checking for \"FOR_MSW\" xpm" >&5
8207 xe_check_libs=-lXpm 8212 xe_check_libs=-lXpm
8208 cat > conftest.$ac_ext <<EOF 8213 cat > conftest.$ac_ext <<EOF
8209 #line 8210 "configure" 8214 #line 8215 "configure"
8210 #include "confdefs.h" 8215 #include "confdefs.h"
8211 8216
8212 int main() { 8217 int main() {
8213 XpmCreatePixmapFromData() 8218 XpmCreatePixmapFromData()
8214 ; return 0; } 8219 ; return 0; }
8215 EOF 8220 EOF
8216 if { (eval echo configure:8217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8221 if { (eval echo configure:8222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8217 rm -rf conftest* 8222 rm -rf conftest*
8218 xpm_for_msw=no 8223 xpm_for_msw=no
8219 else 8224 else
8220 echo "configure: failed program was:" >&5 8225 echo "configure: failed program was:" >&5
8221 cat conftest.$ac_ext >&5 8226 cat conftest.$ac_ext >&5
8237 fi 8242 fi
8238 fi 8243 fi
8239 8244
8240 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` 8245 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'`
8241 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 8246 echo $ac_n "checking for compface.h""... $ac_c" 1>&6
8242 echo "configure:8243: checking for compface.h" >&5 8247 echo "configure:8248: checking for compface.h" >&5
8243 8248
8244 cat > conftest.$ac_ext <<EOF 8249 cat > conftest.$ac_ext <<EOF
8245 #line 8246 "configure" 8250 #line 8251 "configure"
8246 #include "confdefs.h" 8251 #include "confdefs.h"
8247 #include <compface.h> 8252 #include <compface.h>
8248 EOF 8253 EOF
8249 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8254 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8250 { (eval echo configure:8251: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8255 { (eval echo configure:8256: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8251 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8256 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8252 if test -z "$ac_err"; then 8257 if test -z "$ac_err"; then
8253 rm -rf conftest* 8258 rm -rf conftest*
8254 eval "ac_cv_header_$ac_safe=yes" 8259 eval "ac_cv_header_$ac_safe=yes"
8255 else 8260 else
8268 with_xface=no 8273 with_xface=no
8269 fi 8274 fi
8270 } 8275 }
8271 test -z "$with_xface" && { 8276 test -z "$with_xface" && {
8272 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 8277 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6
8273 echo "configure:8274: checking for UnGenFace in -lcompface" >&5 8278 echo "configure:8279: checking for UnGenFace in -lcompface" >&5
8274 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` 8279 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'`
8275 8280
8276 xe_check_libs=" -lcompface " 8281 xe_check_libs=" -lcompface "
8277 cat > conftest.$ac_ext <<EOF 8282 cat > conftest.$ac_ext <<EOF
8278 #line 8279 "configure" 8283 #line 8284 "configure"
8279 #include "confdefs.h" 8284 #include "confdefs.h"
8280 /* Override any gcc2 internal prototype to avoid an error. */ 8285 /* Override any gcc2 internal prototype to avoid an error. */
8281 /* We use char because int might match the return type of a gcc2 8286 /* We use char because int might match the return type of a gcc2
8282 builtin and then its argument prototype would still apply. */ 8287 builtin and then its argument prototype would still apply. */
8283 char UnGenFace(); 8288 char UnGenFace();
8284 8289
8285 int main() { 8290 int main() {
8286 UnGenFace() 8291 UnGenFace()
8287 ; return 0; } 8292 ; return 0; }
8288 EOF 8293 EOF
8289 if { (eval echo configure:8290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8294 if { (eval echo configure:8295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8290 rm -rf conftest* 8295 rm -rf conftest*
8291 eval "ac_cv_lib_$ac_lib_var=yes" 8296 eval "ac_cv_lib_$ac_lib_var=yes"
8292 else 8297 else
8293 echo "configure: failed program was:" >&5 8298 echo "configure: failed program was:" >&5
8294 cat conftest.$ac_ext >&5 8299 cat conftest.$ac_ext >&5
8336 fi 8341 fi
8337 8342
8338 if test "$with_png $with_tiff" != "no no"; then 8343 if test "$with_png $with_tiff" != "no no"; then
8339 8344
8340 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 8345 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6
8341 echo "configure:8342: checking for inflate in -lc" >&5 8346 echo "configure:8347: checking for inflate in -lc" >&5
8342 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` 8347 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'`
8343 8348
8344 xe_check_libs=" -lc " 8349 xe_check_libs=" -lc "
8345 cat > conftest.$ac_ext <<EOF 8350 cat > conftest.$ac_ext <<EOF
8346 #line 8347 "configure" 8351 #line 8352 "configure"
8347 #include "confdefs.h" 8352 #include "confdefs.h"
8348 /* Override any gcc2 internal prototype to avoid an error. */ 8353 /* Override any gcc2 internal prototype to avoid an error. */
8349 /* We use char because int might match the return type of a gcc2 8354 /* We use char because int might match the return type of a gcc2
8350 builtin and then its argument prototype would still apply. */ 8355 builtin and then its argument prototype would still apply. */
8351 char inflate(); 8356 char inflate();
8352 8357
8353 int main() { 8358 int main() {
8354 inflate() 8359 inflate()
8355 ; return 0; } 8360 ; return 0; }
8356 EOF 8361 EOF
8357 if { (eval echo configure:8358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8362 if { (eval echo configure:8363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8358 rm -rf conftest* 8363 rm -rf conftest*
8359 eval "ac_cv_lib_$ac_lib_var=yes" 8364 eval "ac_cv_lib_$ac_lib_var=yes"
8360 else 8365 else
8361 echo "configure: failed program was:" >&5 8366 echo "configure: failed program was:" >&5
8362 cat conftest.$ac_ext >&5 8367 cat conftest.$ac_ext >&5
8371 : 8376 :
8372 else 8377 else
8373 echo "$ac_t""no" 1>&6 8378 echo "$ac_t""no" 1>&6
8374 8379
8375 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 8380 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6
8376 echo "configure:8377: checking for inflate in -lz" >&5 8381 echo "configure:8382: checking for inflate in -lz" >&5
8377 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` 8382 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'`
8378 8383
8379 xe_check_libs=" -lz " 8384 xe_check_libs=" -lz "
8380 cat > conftest.$ac_ext <<EOF 8385 cat > conftest.$ac_ext <<EOF
8381 #line 8382 "configure" 8386 #line 8387 "configure"
8382 #include "confdefs.h" 8387 #include "confdefs.h"
8383 /* Override any gcc2 internal prototype to avoid an error. */ 8388 /* Override any gcc2 internal prototype to avoid an error. */
8384 /* We use char because int might match the return type of a gcc2 8389 /* We use char because int might match the return type of a gcc2
8385 builtin and then its argument prototype would still apply. */ 8390 builtin and then its argument prototype would still apply. */
8386 char inflate(); 8391 char inflate();
8387 8392
8388 int main() { 8393 int main() {
8389 inflate() 8394 inflate()
8390 ; return 0; } 8395 ; return 0; }
8391 EOF 8396 EOF
8392 if { (eval echo configure:8393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8397 if { (eval echo configure:8398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8393 rm -rf conftest* 8398 rm -rf conftest*
8394 eval "ac_cv_lib_$ac_lib_var=yes" 8399 eval "ac_cv_lib_$ac_lib_var=yes"
8395 else 8400 else
8396 echo "configure: failed program was:" >&5 8401 echo "configure: failed program was:" >&5
8397 cat conftest.$ac_ext >&5 8402 cat conftest.$ac_ext >&5
8406 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi 8411 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi
8407 else 8412 else
8408 echo "$ac_t""no" 1>&6 8413 echo "$ac_t""no" 1>&6
8409 8414
8410 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 8415 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6
8411 echo "configure:8412: checking for inflate in -lgz" >&5 8416 echo "configure:8417: checking for inflate in -lgz" >&5
8412 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` 8417 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'`
8413 8418
8414 xe_check_libs=" -lgz " 8419 xe_check_libs=" -lgz "
8415 cat > conftest.$ac_ext <<EOF 8420 cat > conftest.$ac_ext <<EOF
8416 #line 8417 "configure" 8421 #line 8422 "configure"
8417 #include "confdefs.h" 8422 #include "confdefs.h"
8418 /* Override any gcc2 internal prototype to avoid an error. */ 8423 /* Override any gcc2 internal prototype to avoid an error. */
8419 /* We use char because int might match the return type of a gcc2 8424 /* We use char because int might match the return type of a gcc2
8420 builtin and then its argument prototype would still apply. */ 8425 builtin and then its argument prototype would still apply. */
8421 char inflate(); 8426 char inflate();
8422 8427
8423 int main() { 8428 int main() {
8424 inflate() 8429 inflate()
8425 ; return 0; } 8430 ; return 0; }
8426 EOF 8431 EOF
8427 if { (eval echo configure:8428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8432 if { (eval echo configure:8433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8428 rm -rf conftest* 8433 rm -rf conftest*
8429 eval "ac_cv_lib_$ac_lib_var=yes" 8434 eval "ac_cv_lib_$ac_lib_var=yes"
8430 else 8435 else
8431 echo "configure: failed program was:" >&5 8436 echo "configure: failed program was:" >&5
8432 cat conftest.$ac_ext >&5 8437 cat conftest.$ac_ext >&5
8452 8457
8453 fi 8458 fi
8454 8459
8455 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` 8460 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'`
8456 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 8461 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
8457 echo "configure:8458: checking for jpeglib.h" >&5 8462 echo "configure:8463: checking for jpeglib.h" >&5
8458 8463
8459 cat > conftest.$ac_ext <<EOF 8464 cat > conftest.$ac_ext <<EOF
8460 #line 8461 "configure" 8465 #line 8466 "configure"
8461 #include "confdefs.h" 8466 #include "confdefs.h"
8462 #include <jpeglib.h> 8467 #include <jpeglib.h>
8463 EOF 8468 EOF
8464 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8469 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8465 { (eval echo configure:8466: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8470 { (eval echo configure:8471: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8466 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8471 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8467 if test -z "$ac_err"; then 8472 if test -z "$ac_err"; then
8468 rm -rf conftest* 8473 rm -rf conftest*
8469 eval "ac_cv_header_$ac_safe=yes" 8474 eval "ac_cv_header_$ac_safe=yes"
8470 else 8475 else
8483 with_jpeg=no 8488 with_jpeg=no
8484 fi 8489 fi
8485 } 8490 }
8486 test -z "$with_jpeg" && { 8491 test -z "$with_jpeg" && {
8487 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 8492 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6
8488 echo "configure:8489: checking for jpeg_destroy_decompress in -ljpeg" >&5 8493 echo "configure:8494: checking for jpeg_destroy_decompress in -ljpeg" >&5
8489 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` 8494 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'`
8490 8495
8491 xe_check_libs=" -ljpeg " 8496 xe_check_libs=" -ljpeg "
8492 cat > conftest.$ac_ext <<EOF 8497 cat > conftest.$ac_ext <<EOF
8493 #line 8494 "configure" 8498 #line 8499 "configure"
8494 #include "confdefs.h" 8499 #include "confdefs.h"
8495 /* Override any gcc2 internal prototype to avoid an error. */ 8500 /* Override any gcc2 internal prototype to avoid an error. */
8496 /* We use char because int might match the return type of a gcc2 8501 /* We use char because int might match the return type of a gcc2
8497 builtin and then its argument prototype would still apply. */ 8502 builtin and then its argument prototype would still apply. */
8498 char jpeg_destroy_decompress(); 8503 char jpeg_destroy_decompress();
8499 8504
8500 int main() { 8505 int main() {
8501 jpeg_destroy_decompress() 8506 jpeg_destroy_decompress()
8502 ; return 0; } 8507 ; return 0; }
8503 EOF 8508 EOF
8504 if { (eval echo configure:8505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8509 if { (eval echo configure:8510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8505 rm -rf conftest* 8510 rm -rf conftest*
8506 eval "ac_cv_lib_$ac_lib_var=yes" 8511 eval "ac_cv_lib_$ac_lib_var=yes"
8507 else 8512 else
8508 echo "configure: failed program was:" >&5 8513 echo "configure: failed program was:" >&5
8509 cat conftest.$ac_ext >&5 8514 cat conftest.$ac_ext >&5
8535 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi 8540 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi
8536 fi 8541 fi
8537 8542
8538 png_problem="" 8543 png_problem=""
8539 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 8544 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6
8540 echo "configure:8541: checking for pow" >&5 8545 echo "configure:8546: checking for pow" >&5
8541 8546
8542 cat > conftest.$ac_ext <<EOF 8547 cat > conftest.$ac_ext <<EOF
8543 #line 8544 "configure" 8548 #line 8549 "configure"
8544 #include "confdefs.h" 8549 #include "confdefs.h"
8545 /* System header to define __stub macros and hopefully few prototypes, 8550 /* System header to define __stub macros and hopefully few prototypes,
8546 which can conflict with char pow(); below. */ 8551 which can conflict with char pow(); below. */
8547 #include <assert.h> 8552 #include <assert.h>
8548 /* Override any gcc2 internal prototype to avoid an error. */ 8553 /* Override any gcc2 internal prototype to avoid an error. */
8561 pow(); 8566 pow();
8562 #endif 8567 #endif
8563 8568
8564 ; return 0; } 8569 ; return 0; }
8565 EOF 8570 EOF
8566 if { (eval echo configure:8567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8571 if { (eval echo configure:8572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8567 rm -rf conftest* 8572 rm -rf conftest*
8568 eval "ac_cv_func_pow=yes" 8573 eval "ac_cv_func_pow=yes"
8569 else 8574 else
8570 echo "configure: failed program was:" >&5 8575 echo "configure: failed program was:" >&5
8571 cat conftest.$ac_ext >&5 8576 cat conftest.$ac_ext >&5
8582 with_png=no 8587 with_png=no
8583 fi 8588 fi
8584 } 8589 }
8585 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` 8590 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'`
8586 echo $ac_n "checking for png.h""... $ac_c" 1>&6 8591 echo $ac_n "checking for png.h""... $ac_c" 1>&6
8587 echo "configure:8588: checking for png.h" >&5 8592 echo "configure:8593: checking for png.h" >&5
8588 8593
8589 cat > conftest.$ac_ext <<EOF 8594 cat > conftest.$ac_ext <<EOF
8590 #line 8591 "configure" 8595 #line 8596 "configure"
8591 #include "confdefs.h" 8596 #include "confdefs.h"
8592 #include <png.h> 8597 #include <png.h>
8593 EOF 8598 EOF
8594 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8599 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8595 { (eval echo configure:8596: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8600 { (eval echo configure:8601: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8596 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8601 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8597 if test -z "$ac_err"; then 8602 if test -z "$ac_err"; then
8598 rm -rf conftest* 8603 rm -rf conftest*
8599 eval "ac_cv_header_$ac_safe=yes" 8604 eval "ac_cv_header_$ac_safe=yes"
8600 else 8605 else
8613 with_png=no 8618 with_png=no
8614 fi 8619 fi
8615 } 8620 }
8616 test -z "$with_png" && { 8621 test -z "$with_png" && {
8617 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 8622 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6
8618 echo "configure:8619: checking for png_read_image in -lpng" >&5 8623 echo "configure:8624: checking for png_read_image in -lpng" >&5
8619 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` 8624 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'`
8620 8625
8621 xe_check_libs=" -lpng " 8626 xe_check_libs=" -lpng "
8622 cat > conftest.$ac_ext <<EOF 8627 cat > conftest.$ac_ext <<EOF
8623 #line 8624 "configure" 8628 #line 8629 "configure"
8624 #include "confdefs.h" 8629 #include "confdefs.h"
8625 /* Override any gcc2 internal prototype to avoid an error. */ 8630 /* Override any gcc2 internal prototype to avoid an error. */
8626 /* We use char because int might match the return type of a gcc2 8631 /* We use char because int might match the return type of a gcc2
8627 builtin and then its argument prototype would still apply. */ 8632 builtin and then its argument prototype would still apply. */
8628 char png_read_image(); 8633 char png_read_image();
8629 8634
8630 int main() { 8635 int main() {
8631 png_read_image() 8636 png_read_image()
8632 ; return 0; } 8637 ; return 0; }
8633 EOF 8638 EOF
8634 if { (eval echo configure:8635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8639 if { (eval echo configure:8640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8635 rm -rf conftest* 8640 rm -rf conftest*
8636 eval "ac_cv_lib_$ac_lib_var=yes" 8641 eval "ac_cv_lib_$ac_lib_var=yes"
8637 else 8642 else
8638 echo "configure: failed program was:" >&5 8643 echo "configure: failed program was:" >&5
8639 cat conftest.$ac_ext >&5 8644 cat conftest.$ac_ext >&5
8652 fi 8657 fi
8653 8658
8654 } 8659 }
8655 if test -z "$with_png"; then 8660 if test -z "$with_png"; then
8656 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 8661 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6
8657 echo "configure:8658: checking for workable png version information" >&5 8662 echo "configure:8663: checking for workable png version information" >&5
8658 xe_check_libs="-lpng -lz" 8663 xe_check_libs="-lpng -lz"
8659 cat > conftest.$ac_ext <<EOF 8664 cat > conftest.$ac_ext <<EOF
8660 #line 8661 "configure" 8665 #line 8666 "configure"
8661 #include "confdefs.h" 8666 #include "confdefs.h"
8662 #include <png.h> 8667 #include <png.h>
8663 int main(int c, char **v) { 8668 int main(int c, char **v) {
8664 if (c == 1) return 0; 8669 if (c == 1) return 0;
8665 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; 8670 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1;
8666 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} 8671 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;}
8667 EOF 8672 EOF
8668 if { (eval echo configure:8669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 8673 if { (eval echo configure:8674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
8669 then 8674 then
8670 ./conftest dummy_arg; png_status=$?; 8675 ./conftest dummy_arg; png_status=$?;
8671 if test "$png_status" = "0"; then 8676 if test "$png_status" = "0"; then
8672 with_png=yes; 8677 with_png=yes;
8673 else 8678 else
8706 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi 8711 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi
8707 fi 8712 fi
8708 8713
8709 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` 8714 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
8710 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 8715 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
8711 echo "configure:8712: checking for tiffio.h" >&5 8716 echo "configure:8717: checking for tiffio.h" >&5
8712 8717
8713 cat > conftest.$ac_ext <<EOF 8718 cat > conftest.$ac_ext <<EOF
8714 #line 8715 "configure" 8719 #line 8720 "configure"
8715 #include "confdefs.h" 8720 #include "confdefs.h"
8716 #include <tiffio.h> 8721 #include <tiffio.h>
8717 EOF 8722 EOF
8718 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8723 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8719 { (eval echo configure:8720: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8724 { (eval echo configure:8725: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8720 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8725 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8721 if test -z "$ac_err"; then 8726 if test -z "$ac_err"; then
8722 rm -rf conftest* 8727 rm -rf conftest*
8723 eval "ac_cv_header_$ac_safe=yes" 8728 eval "ac_cv_header_$ac_safe=yes"
8724 else 8729 else
8737 with_tiff=no 8742 with_tiff=no
8738 fi 8743 fi
8739 } 8744 }
8740 test -z "$with_tiff" && { 8745 test -z "$with_tiff" && {
8741 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 8746 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6
8742 echo "configure:8743: checking for TIFFClientOpen in -ltiff" >&5 8747 echo "configure:8748: checking for TIFFClientOpen in -ltiff" >&5
8743 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` 8748 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'`
8744 8749
8745 xe_check_libs=" -ltiff " 8750 xe_check_libs=" -ltiff "
8746 cat > conftest.$ac_ext <<EOF 8751 cat > conftest.$ac_ext <<EOF
8747 #line 8748 "configure" 8752 #line 8753 "configure"
8748 #include "confdefs.h" 8753 #include "confdefs.h"
8749 /* Override any gcc2 internal prototype to avoid an error. */ 8754 /* Override any gcc2 internal prototype to avoid an error. */
8750 /* We use char because int might match the return type of a gcc2 8755 /* We use char because int might match the return type of a gcc2
8751 builtin and then its argument prototype would still apply. */ 8756 builtin and then its argument prototype would still apply. */
8752 char TIFFClientOpen(); 8757 char TIFFClientOpen();
8753 8758
8754 int main() { 8759 int main() {
8755 TIFFClientOpen() 8760 TIFFClientOpen()
8756 ; return 0; } 8761 ; return 0; }
8757 EOF 8762 EOF
8758 if { (eval echo configure:8759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8763 if { (eval echo configure:8764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8759 rm -rf conftest* 8764 rm -rf conftest*
8760 eval "ac_cv_lib_$ac_lib_var=yes" 8765 eval "ac_cv_lib_$ac_lib_var=yes"
8761 else 8766 else
8762 echo "configure: failed program was:" >&5 8767 echo "configure: failed program was:" >&5
8763 cat conftest.$ac_ext >&5 8768 cat conftest.$ac_ext >&5
8792 8797
8793 8798
8794 if test "$with_gtk" = "yes"; then 8799 if test "$with_gtk" = "yes"; then
8795 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` 8800 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'`
8796 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 8801 echo $ac_n "checking for compface.h""... $ac_c" 1>&6
8797 echo "configure:8798: checking for compface.h" >&5 8802 echo "configure:8803: checking for compface.h" >&5
8798 8803
8799 cat > conftest.$ac_ext <<EOF 8804 cat > conftest.$ac_ext <<EOF
8800 #line 8801 "configure" 8805 #line 8806 "configure"
8801 #include "confdefs.h" 8806 #include "confdefs.h"
8802 #include <compface.h> 8807 #include <compface.h>
8803 EOF 8808 EOF
8804 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8809 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8805 { (eval echo configure:8806: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8810 { (eval echo configure:8811: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8806 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8811 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8807 if test -z "$ac_err"; then 8812 if test -z "$ac_err"; then
8808 rm -rf conftest* 8813 rm -rf conftest*
8809 eval "ac_cv_header_$ac_safe=yes" 8814 eval "ac_cv_header_$ac_safe=yes"
8810 else 8815 else
8823 with_xface=no 8828 with_xface=no
8824 fi 8829 fi
8825 } 8830 }
8826 test -z "$with_xface" && { 8831 test -z "$with_xface" && {
8827 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 8832 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6
8828 echo "configure:8829: checking for UnGenFace in -lcompface" >&5 8833 echo "configure:8834: checking for UnGenFace in -lcompface" >&5
8829 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` 8834 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'`
8830 8835
8831 xe_check_libs=" -lcompface " 8836 xe_check_libs=" -lcompface "
8832 cat > conftest.$ac_ext <<EOF 8837 cat > conftest.$ac_ext <<EOF
8833 #line 8834 "configure" 8838 #line 8839 "configure"
8834 #include "confdefs.h" 8839 #include "confdefs.h"
8835 /* Override any gcc2 internal prototype to avoid an error. */ 8840 /* Override any gcc2 internal prototype to avoid an error. */
8836 /* We use char because int might match the return type of a gcc2 8841 /* We use char because int might match the return type of a gcc2
8837 builtin and then its argument prototype would still apply. */ 8842 builtin and then its argument prototype would still apply. */
8838 char UnGenFace(); 8843 char UnGenFace();
8839 8844
8840 int main() { 8845 int main() {
8841 UnGenFace() 8846 UnGenFace()
8842 ; return 0; } 8847 ; return 0; }
8843 EOF 8848 EOF
8844 if { (eval echo configure:8845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8849 if { (eval echo configure:8850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8845 rm -rf conftest* 8850 rm -rf conftest*
8846 eval "ac_cv_lib_$ac_lib_var=yes" 8851 eval "ac_cv_lib_$ac_lib_var=yes"
8847 else 8852 else
8848 echo "configure: failed program was:" >&5 8853 echo "configure: failed program was:" >&5
8849 cat conftest.$ac_ext >&5 8854 cat conftest.$ac_ext >&5
8878 8883
8879 8884
8880 8885
8881 if test "$with_x11" = "yes"; then 8886 if test "$with_x11" = "yes"; then
8882 echo "checking for X11 graphics libraries" 1>&6 8887 echo "checking for X11 graphics libraries" 1>&6
8883 echo "configure:8884: checking for X11 graphics libraries" >&5 8888 echo "configure:8889: checking for X11 graphics libraries" >&5
8884 fi 8889 fi
8885 8890
8886 case "$with_widgets" in 8891 case "$with_widgets" in
8887 "yes" | "athena") detect_athena=yes ;; 8892 "yes" | "athena") detect_athena=yes ;;
8888 *) detect_athena=no ;; 8893 *) detect_athena=no ;;
8889 esac 8894 esac
8890 8895
8891 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then 8896 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then
8892 echo "checking for the Athena widgets" 1>&6 8897 echo "checking for the Athena widgets" 1>&6
8893 echo "configure:8894: checking for the Athena widgets" >&5 8898 echo "configure:8899: checking for the Athena widgets" >&5
8894 8899
8895 case "$with_athena" in 8900 case "$with_athena" in
8896 "xaw" | "") athena_variant=Xaw athena_3d=no ;; 8901 "xaw" | "") athena_variant=Xaw athena_3d=no ;;
8897 "3d") athena_variant=Xaw3d athena_3d=yes ;; 8902 "3d") athena_variant=Xaw3d athena_3d=yes ;;
8898 "next") athena_variant=neXtaw athena_3d=yes ;; 8903 "next") athena_variant=neXtaw athena_3d=yes ;;
8902 esac 8907 esac
8903 8908
8904 if test "$athena_3d" = "no"; then 8909 if test "$athena_3d" = "no"; then
8905 8910
8906 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 8911 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6
8907 echo "configure:8908: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 8912 echo "configure:8913: checking for XawScrollbarSetThumb in -l$athena_variant" >&5
8908 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` 8913 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'`
8909 8914
8910 xe_check_libs=" -l$athena_variant " 8915 xe_check_libs=" -l$athena_variant "
8911 cat > conftest.$ac_ext <<EOF 8916 cat > conftest.$ac_ext <<EOF
8912 #line 8913 "configure" 8917 #line 8918 "configure"
8913 #include "confdefs.h" 8918 #include "confdefs.h"
8914 /* Override any gcc2 internal prototype to avoid an error. */ 8919 /* Override any gcc2 internal prototype to avoid an error. */
8915 /* We use char because int might match the return type of a gcc2 8920 /* We use char because int might match the return type of a gcc2
8916 builtin and then its argument prototype would still apply. */ 8921 builtin and then its argument prototype would still apply. */
8917 char XawScrollbarSetThumb(); 8922 char XawScrollbarSetThumb();
8918 8923
8919 int main() { 8924 int main() {
8920 XawScrollbarSetThumb() 8925 XawScrollbarSetThumb()
8921 ; return 0; } 8926 ; return 0; }
8922 EOF 8927 EOF
8923 if { (eval echo configure:8924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8928 if { (eval echo configure:8929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8924 rm -rf conftest* 8929 rm -rf conftest*
8925 eval "ac_cv_lib_$ac_lib_var=yes" 8930 eval "ac_cv_lib_$ac_lib_var=yes"
8926 else 8931 else
8927 echo "configure: failed program was:" >&5 8932 echo "configure: failed program was:" >&5
8928 cat conftest.$ac_ext >&5 8933 cat conftest.$ac_ext >&5
8934 8939
8935 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then 8940 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then
8936 echo "$ac_t""yes" 1>&6 8941 echo "$ac_t""yes" 1>&6
8937 8942
8938 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 8943 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6
8939 echo "configure:8940: checking for threeDClassRec in -l$athena_variant" >&5 8944 echo "configure:8945: checking for threeDClassRec in -l$athena_variant" >&5
8940 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` 8945 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'`
8941 8946
8942 xe_check_libs=" -l$athena_variant " 8947 xe_check_libs=" -l$athena_variant "
8943 cat > conftest.$ac_ext <<EOF 8948 cat > conftest.$ac_ext <<EOF
8944 #line 8945 "configure" 8949 #line 8950 "configure"
8945 #include "confdefs.h" 8950 #include "confdefs.h"
8946 /* Override any gcc2 internal prototype to avoid an error. */ 8951 /* Override any gcc2 internal prototype to avoid an error. */
8947 /* We use char because int might match the return type of a gcc2 8952 /* We use char because int might match the return type of a gcc2
8948 builtin and then its argument prototype would still apply. */ 8953 builtin and then its argument prototype would still apply. */
8949 char threeDClassRec(); 8954 char threeDClassRec();
8950 8955
8951 int main() { 8956 int main() {
8952 threeDClassRec() 8957 threeDClassRec()
8953 ; return 0; } 8958 ; return 0; }
8954 EOF 8959 EOF
8955 if { (eval echo configure:8956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8960 if { (eval echo configure:8961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8956 rm -rf conftest* 8961 rm -rf conftest*
8957 eval "ac_cv_lib_$ac_lib_var=yes" 8962 eval "ac_cv_lib_$ac_lib_var=yes"
8958 else 8963 else
8959 echo "configure: failed program was:" >&5 8964 echo "configure: failed program was:" >&5
8960 cat conftest.$ac_ext >&5 8965 cat conftest.$ac_ext >&5
8981 8986
8982 8987
8983 else 8988 else
8984 8989
8985 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 8990 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6
8986 echo "configure:8987: checking for threeDClassRec in -l$athena_variant" >&5 8991 echo "configure:8992: checking for threeDClassRec in -l$athena_variant" >&5
8987 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` 8992 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'`
8988 8993
8989 xe_check_libs=" -l$athena_variant " 8994 xe_check_libs=" -l$athena_variant "
8990 cat > conftest.$ac_ext <<EOF 8995 cat > conftest.$ac_ext <<EOF
8991 #line 8992 "configure" 8996 #line 8997 "configure"
8992 #include "confdefs.h" 8997 #include "confdefs.h"
8993 /* Override any gcc2 internal prototype to avoid an error. */ 8998 /* Override any gcc2 internal prototype to avoid an error. */
8994 /* We use char because int might match the return type of a gcc2 8999 /* We use char because int might match the return type of a gcc2
8995 builtin and then its argument prototype would still apply. */ 9000 builtin and then its argument prototype would still apply. */
8996 char threeDClassRec(); 9001 char threeDClassRec();
8997 9002
8998 int main() { 9003 int main() {
8999 threeDClassRec() 9004 threeDClassRec()
9000 ; return 0; } 9005 ; return 0; }
9001 EOF 9006 EOF
9002 if { (eval echo configure:9003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9007 if { (eval echo configure:9008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9003 rm -rf conftest* 9008 rm -rf conftest*
9004 eval "ac_cv_lib_$ac_lib_var=yes" 9009 eval "ac_cv_lib_$ac_lib_var=yes"
9005 else 9010 else
9006 echo "configure: failed program was:" >&5 9011 echo "configure: failed program was:" >&5
9007 cat conftest.$ac_ext >&5 9012 cat conftest.$ac_ext >&5
9015 echo "$ac_t""yes" 1>&6 9020 echo "$ac_t""yes" 1>&6
9016 athena_lib=$athena_variant 9021 athena_lib=$athena_variant
9017 else 9022 else
9018 echo "$ac_t""no" 1>&6 9023 echo "$ac_t""no" 1>&6
9019 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 9024 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6
9020 echo "configure:9021: checking for threeDClassRec in -lXaw" >&5 9025 echo "configure:9026: checking for threeDClassRec in -lXaw" >&5
9021 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` 9026 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'`
9022 9027
9023 xe_check_libs=" -lXaw " 9028 xe_check_libs=" -lXaw "
9024 cat > conftest.$ac_ext <<EOF 9029 cat > conftest.$ac_ext <<EOF
9025 #line 9026 "configure" 9030 #line 9031 "configure"
9026 #include "confdefs.h" 9031 #include "confdefs.h"
9027 /* Override any gcc2 internal prototype to avoid an error. */ 9032 /* Override any gcc2 internal prototype to avoid an error. */
9028 /* We use char because int might match the return type of a gcc2 9033 /* We use char because int might match the return type of a gcc2
9029 builtin and then its argument prototype would still apply. */ 9034 builtin and then its argument prototype would still apply. */
9030 char threeDClassRec(); 9035 char threeDClassRec();
9031 9036
9032 int main() { 9037 int main() {
9033 threeDClassRec() 9038 threeDClassRec()
9034 ; return 0; } 9039 ; return 0; }
9035 EOF 9040 EOF
9036 if { (eval echo configure:9037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9041 if { (eval echo configure:9042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9037 rm -rf conftest* 9042 rm -rf conftest*
9038 eval "ac_cv_lib_$ac_lib_var=yes" 9043 eval "ac_cv_lib_$ac_lib_var=yes"
9039 else 9044 else
9040 echo "configure: failed program was:" >&5 9045 echo "configure: failed program was:" >&5
9041 cat conftest.$ac_ext >&5 9046 cat conftest.$ac_ext >&5
9062 fi 9067 fi
9063 9068
9064 if test "$athena_3d" = "no"; then 9069 if test "$athena_3d" = "no"; then
9065 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` 9070 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'`
9066 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 9071 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6
9067 echo "configure:9068: checking for X11/Xaw/ThreeD.h" >&5 9072 echo "configure:9073: checking for X11/Xaw/ThreeD.h" >&5
9068 9073
9069 cat > conftest.$ac_ext <<EOF 9074 cat > conftest.$ac_ext <<EOF
9070 #line 9071 "configure" 9075 #line 9076 "configure"
9071 #include "confdefs.h" 9076 #include "confdefs.h"
9072 #include <X11/Xaw/ThreeD.h> 9077 #include <X11/Xaw/ThreeD.h>
9073 EOF 9078 EOF
9074 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9079 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9075 { (eval echo configure:9076: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9080 { (eval echo configure:9081: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9076 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9081 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9077 if test -z "$ac_err"; then 9082 if test -z "$ac_err"; then
9078 rm -rf conftest* 9083 rm -rf conftest*
9079 eval "ac_cv_header_$ac_safe=yes" 9084 eval "ac_cv_header_$ac_safe=yes"
9080 else 9085 else
9090 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 9095 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2
9091 else 9096 else
9092 echo "$ac_t""no" 1>&6 9097 echo "$ac_t""no" 1>&6
9093 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` 9098 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'`
9094 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 9099 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6
9095 echo "configure:9096: checking for X11/Xaw/XawInit.h" >&5 9100 echo "configure:9101: checking for X11/Xaw/XawInit.h" >&5
9096 9101
9097 cat > conftest.$ac_ext <<EOF 9102 cat > conftest.$ac_ext <<EOF
9098 #line 9099 "configure" 9103 #line 9104 "configure"
9099 #include "confdefs.h" 9104 #include "confdefs.h"
9100 #include <X11/Xaw/XawInit.h> 9105 #include <X11/Xaw/XawInit.h>
9101 EOF 9106 EOF
9102 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9107 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9103 { (eval echo configure:9104: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9108 { (eval echo configure:9109: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9104 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9109 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9105 if test -z "$ac_err"; then 9110 if test -z "$ac_err"; then
9106 rm -rf conftest* 9111 rm -rf conftest*
9107 eval "ac_cv_header_$ac_safe=yes" 9112 eval "ac_cv_header_$ac_safe=yes"
9108 else 9113 else
9124 fi 9129 fi
9125 9130
9126 else 9131 else
9127 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` 9132 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'`
9128 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 9133 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6
9129 echo "configure:9130: checking for X11/$athena_variant/XawInit.h" >&5 9134 echo "configure:9135: checking for X11/$athena_variant/XawInit.h" >&5
9130 9135
9131 cat > conftest.$ac_ext <<EOF 9136 cat > conftest.$ac_ext <<EOF
9132 #line 9133 "configure" 9137 #line 9138 "configure"
9133 #include "confdefs.h" 9138 #include "confdefs.h"
9134 #include <X11/$athena_variant/XawInit.h> 9139 #include <X11/$athena_variant/XawInit.h>
9135 EOF 9140 EOF
9136 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9141 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9137 { (eval echo configure:9138: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9142 { (eval echo configure:9143: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9138 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9143 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9139 if test -z "$ac_err"; then 9144 if test -z "$ac_err"; then
9140 rm -rf conftest* 9145 rm -rf conftest*
9141 eval "ac_cv_header_$ac_safe=yes" 9146 eval "ac_cv_header_$ac_safe=yes"
9142 else 9147 else
9149 rm -f conftest* 9154 rm -f conftest*
9150 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 9155 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9151 echo "$ac_t""yes" 1>&6 9156 echo "$ac_t""yes" 1>&6
9152 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` 9157 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'`
9153 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 9158 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6
9154 echo "configure:9155: checking for X11/$athena_variant/ThreeD.h" >&5 9159 echo "configure:9160: checking for X11/$athena_variant/ThreeD.h" >&5
9155 9160
9156 cat > conftest.$ac_ext <<EOF 9161 cat > conftest.$ac_ext <<EOF
9157 #line 9158 "configure" 9162 #line 9163 "configure"
9158 #include "confdefs.h" 9163 #include "confdefs.h"
9159 #include <X11/$athena_variant/ThreeD.h> 9164 #include <X11/$athena_variant/ThreeD.h>
9160 EOF 9165 EOF
9161 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9166 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9162 { (eval echo configure:9163: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9167 { (eval echo configure:9168: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9163 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9168 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9164 if test -z "$ac_err"; then 9169 if test -z "$ac_err"; then
9165 rm -rf conftest* 9170 rm -rf conftest*
9166 eval "ac_cv_header_$ac_safe=yes" 9171 eval "ac_cv_header_$ac_safe=yes"
9167 else 9172 else
9185 9190
9186 9191
9187 if test -z "$athena_h_path"; then 9192 if test -z "$athena_h_path"; then
9188 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` 9193 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'`
9189 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 9194 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6
9190 echo "configure:9191: checking for $athena_variant/XawInit.h" >&5 9195 echo "configure:9196: checking for $athena_variant/XawInit.h" >&5
9191 9196
9192 cat > conftest.$ac_ext <<EOF 9197 cat > conftest.$ac_ext <<EOF
9193 #line 9194 "configure" 9198 #line 9199 "configure"
9194 #include "confdefs.h" 9199 #include "confdefs.h"
9195 #include <$athena_variant/XawInit.h> 9200 #include <$athena_variant/XawInit.h>
9196 EOF 9201 EOF
9197 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9202 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9198 { (eval echo configure:9199: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9203 { (eval echo configure:9204: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9199 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9204 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9200 if test -z "$ac_err"; then 9205 if test -z "$ac_err"; then
9201 rm -rf conftest* 9206 rm -rf conftest*
9202 eval "ac_cv_header_$ac_safe=yes" 9207 eval "ac_cv_header_$ac_safe=yes"
9203 else 9208 else
9210 rm -f conftest* 9215 rm -f conftest*
9211 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 9216 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9212 echo "$ac_t""yes" 1>&6 9217 echo "$ac_t""yes" 1>&6
9213 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` 9218 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'`
9214 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 9219 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6
9215 echo "configure:9216: checking for $athena_variant/ThreeD.h" >&5 9220 echo "configure:9221: checking for $athena_variant/ThreeD.h" >&5
9216 9221
9217 cat > conftest.$ac_ext <<EOF 9222 cat > conftest.$ac_ext <<EOF
9218 #line 9219 "configure" 9223 #line 9224 "configure"
9219 #include "confdefs.h" 9224 #include "confdefs.h"
9220 #include <$athena_variant/ThreeD.h> 9225 #include <$athena_variant/ThreeD.h>
9221 EOF 9226 EOF
9222 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9227 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9223 { (eval echo configure:9224: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9228 { (eval echo configure:9229: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9224 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9229 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9225 if test -z "$ac_err"; then 9230 if test -z "$ac_err"; then
9226 rm -rf conftest* 9231 rm -rf conftest*
9227 eval "ac_cv_header_$ac_safe=yes" 9232 eval "ac_cv_header_$ac_safe=yes"
9228 else 9233 else
9247 fi 9252 fi
9248 9253
9249 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then 9254 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then
9250 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` 9255 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'`
9251 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 9256 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6
9252 echo "configure:9253: checking for X11/Xaw3d/XawInit.h" >&5 9257 echo "configure:9258: checking for X11/Xaw3d/XawInit.h" >&5
9253 9258
9254 cat > conftest.$ac_ext <<EOF 9259 cat > conftest.$ac_ext <<EOF
9255 #line 9256 "configure" 9260 #line 9261 "configure"
9256 #include "confdefs.h" 9261 #include "confdefs.h"
9257 #include <X11/Xaw3d/XawInit.h> 9262 #include <X11/Xaw3d/XawInit.h>
9258 EOF 9263 EOF
9259 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9264 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9260 { (eval echo configure:9261: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9265 { (eval echo configure:9266: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9261 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9266 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9262 if test -z "$ac_err"; then 9267 if test -z "$ac_err"; then
9263 rm -rf conftest* 9268 rm -rf conftest*
9264 eval "ac_cv_header_$ac_safe=yes" 9269 eval "ac_cv_header_$ac_safe=yes"
9265 else 9270 else
9272 rm -f conftest* 9277 rm -f conftest*
9273 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 9278 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9274 echo "$ac_t""yes" 1>&6 9279 echo "$ac_t""yes" 1>&6
9275 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` 9280 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'`
9276 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 9281 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6
9277 echo "configure:9278: checking for X11/Xaw3d/ThreeD.h" >&5 9282 echo "configure:9283: checking for X11/Xaw3d/ThreeD.h" >&5
9278 9283
9279 cat > conftest.$ac_ext <<EOF 9284 cat > conftest.$ac_ext <<EOF
9280 #line 9281 "configure" 9285 #line 9286 "configure"
9281 #include "confdefs.h" 9286 #include "confdefs.h"
9282 #include <X11/Xaw3d/ThreeD.h> 9287 #include <X11/Xaw3d/ThreeD.h>
9283 EOF 9288 EOF
9284 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9289 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9285 { (eval echo configure:9286: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9290 { (eval echo configure:9291: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9286 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9291 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9287 if test -z "$ac_err"; then 9292 if test -z "$ac_err"; then
9288 rm -rf conftest* 9293 rm -rf conftest*
9289 eval "ac_cv_header_$ac_safe=yes" 9294 eval "ac_cv_header_$ac_safe=yes"
9290 else 9295 else
9312 fi 9317 fi
9313 9318
9314 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then 9319 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then
9315 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` 9320 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'`
9316 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 9321 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6
9317 echo "configure:9318: checking for Xaw3d/XawInit.h" >&5 9322 echo "configure:9323: checking for Xaw3d/XawInit.h" >&5
9318 9323
9319 cat > conftest.$ac_ext <<EOF 9324 cat > conftest.$ac_ext <<EOF
9320 #line 9321 "configure" 9325 #line 9326 "configure"
9321 #include "confdefs.h" 9326 #include "confdefs.h"
9322 #include <Xaw3d/XawInit.h> 9327 #include <Xaw3d/XawInit.h>
9323 EOF 9328 EOF
9324 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9329 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9325 { (eval echo configure:9326: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9330 { (eval echo configure:9331: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9326 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9331 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9327 if test -z "$ac_err"; then 9332 if test -z "$ac_err"; then
9328 rm -rf conftest* 9333 rm -rf conftest*
9329 eval "ac_cv_header_$ac_safe=yes" 9334 eval "ac_cv_header_$ac_safe=yes"
9330 else 9335 else
9337 rm -f conftest* 9342 rm -f conftest*
9338 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 9343 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9339 echo "$ac_t""yes" 1>&6 9344 echo "$ac_t""yes" 1>&6
9340 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` 9345 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'`
9341 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 9346 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6
9342 echo "configure:9343: checking for Xaw3d/ThreeD.h" >&5 9347 echo "configure:9348: checking for Xaw3d/ThreeD.h" >&5
9343 9348
9344 cat > conftest.$ac_ext <<EOF 9349 cat > conftest.$ac_ext <<EOF
9345 #line 9346 "configure" 9350 #line 9351 "configure"
9346 #include "confdefs.h" 9351 #include "confdefs.h"
9347 #include <Xaw3d/ThreeD.h> 9352 #include <Xaw3d/ThreeD.h>
9348 EOF 9353 EOF
9349 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9354 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9350 { (eval echo configure:9351: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9355 { (eval echo configure:9356: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9351 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9356 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9352 if test -z "$ac_err"; then 9357 if test -z "$ac_err"; then
9353 rm -rf conftest* 9358 rm -rf conftest*
9354 eval "ac_cv_header_$ac_safe=yes" 9359 eval "ac_cv_header_$ac_safe=yes"
9355 else 9360 else
9377 fi 9382 fi
9378 9383
9379 if test -z "$athena_h_path"; then 9384 if test -z "$athena_h_path"; then
9380 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` 9385 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'`
9381 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 9386 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6
9382 echo "configure:9383: checking for X11/Xaw/ThreeD.h" >&5 9387 echo "configure:9388: checking for X11/Xaw/ThreeD.h" >&5
9383 9388
9384 cat > conftest.$ac_ext <<EOF 9389 cat > conftest.$ac_ext <<EOF
9385 #line 9386 "configure" 9390 #line 9391 "configure"
9386 #include "confdefs.h" 9391 #include "confdefs.h"
9387 #include <X11/Xaw/ThreeD.h> 9392 #include <X11/Xaw/ThreeD.h>
9388 EOF 9393 EOF
9389 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9394 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9390 { (eval echo configure:9391: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9395 { (eval echo configure:9396: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9391 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9396 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9392 if test -z "$ac_err"; then 9397 if test -z "$ac_err"; then
9393 rm -rf conftest* 9398 rm -rf conftest*
9394 eval "ac_cv_header_$ac_safe=yes" 9399 eval "ac_cv_header_$ac_safe=yes"
9395 else 9400 else
9424 have_xaw=no 9429 have_xaw=no
9425 fi 9430 fi
9426 if test "$with_x11" = "yes"; then 9431 if test "$with_x11" = "yes"; then
9427 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` 9432 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'`
9428 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 9433 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6
9429 echo "configure:9430: checking for Xm/Xm.h" >&5 9434 echo "configure:9435: checking for Xm/Xm.h" >&5
9430 9435
9431 cat > conftest.$ac_ext <<EOF 9436 cat > conftest.$ac_ext <<EOF
9432 #line 9433 "configure" 9437 #line 9438 "configure"
9433 #include "confdefs.h" 9438 #include "confdefs.h"
9434 #include <Xm/Xm.h> 9439 #include <Xm/Xm.h>
9435 EOF 9440 EOF
9436 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9441 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9437 { (eval echo configure:9438: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9442 { (eval echo configure:9443: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9438 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9443 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9439 if test -z "$ac_err"; then 9444 if test -z "$ac_err"; then
9440 rm -rf conftest* 9445 rm -rf conftest*
9441 eval "ac_cv_header_$ac_safe=yes" 9446 eval "ac_cv_header_$ac_safe=yes"
9442 else 9447 else
9449 rm -f conftest* 9454 rm -f conftest*
9450 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 9455 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9451 echo "$ac_t""yes" 1>&6 9456 echo "$ac_t""yes" 1>&6
9452 9457
9453 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 9458 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6
9454 echo "configure:9455: checking for XmStringFree in -lXm" >&5 9459 echo "configure:9460: checking for XmStringFree in -lXm" >&5
9455 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` 9460 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'`
9456 9461
9457 xe_check_libs=" -lXm " 9462 xe_check_libs=" -lXm "
9458 cat > conftest.$ac_ext <<EOF 9463 cat > conftest.$ac_ext <<EOF
9459 #line 9460 "configure" 9464 #line 9465 "configure"
9460 #include "confdefs.h" 9465 #include "confdefs.h"
9461 /* Override any gcc2 internal prototype to avoid an error. */ 9466 /* Override any gcc2 internal prototype to avoid an error. */
9462 /* We use char because int might match the return type of a gcc2 9467 /* We use char because int might match the return type of a gcc2
9463 builtin and then its argument prototype would still apply. */ 9468 builtin and then its argument prototype would still apply. */
9464 char XmStringFree(); 9469 char XmStringFree();
9465 9470
9466 int main() { 9471 int main() {
9467 XmStringFree() 9472 XmStringFree()
9468 ; return 0; } 9473 ; return 0; }
9469 EOF 9474 EOF
9470 if { (eval echo configure:9471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9475 if { (eval echo configure:9476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9471 rm -rf conftest* 9476 rm -rf conftest*
9472 eval "ac_cv_lib_$ac_lib_var=yes" 9477 eval "ac_cv_lib_$ac_lib_var=yes"
9473 else 9478 else
9474 echo "configure: failed program was:" >&5 9479 echo "configure: failed program was:" >&5
9475 cat conftest.$ac_ext >&5 9480 cat conftest.$ac_ext >&5
9494 fi 9499 fi
9495 9500
9496 9501
9497 if test "$have_motif" = "yes"; then 9502 if test "$have_motif" = "yes"; then
9498 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 9503 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6
9499 echo "configure:9500: checking for Lesstif" >&5 9504 echo "configure:9505: checking for Lesstif" >&5
9500 cat > conftest.$ac_ext <<EOF 9505 cat > conftest.$ac_ext <<EOF
9501 #line 9502 "configure" 9506 #line 9507 "configure"
9502 #include "confdefs.h" 9507 #include "confdefs.h"
9503 #include <Xm/Xm.h> 9508 #include <Xm/Xm.h>
9504 #ifdef LESSTIF_VERSION 9509 #ifdef LESSTIF_VERSION
9505 yes 9510 yes
9506 #endif 9511 #endif
9891 echo " xemacs will be linked with \"scrollbar-x.o\"" 9896 echo " xemacs will be linked with \"scrollbar-x.o\""
9892 fi 9897 fi
9893 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-x.o" && if test "$extra_verbose" = "yes"; then 9898 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-x.o" && if test "$extra_verbose" = "yes"; then
9894 echo " xemacs will be linked with \"dialog-x.o\"" 9899 echo " xemacs will be linked with \"dialog-x.o\""
9895 fi 9900 fi
9896 test "$with_toolbars" != "no" && extra_objs="$extra_objs toolbar-x.o" && if test "$extra_verbose" = "yes"; then 9901 test "$with_toolbars" != "no" && extra_objs="$extra_objs toolbar-common.o toolbar-x.o" && if test "$extra_verbose" = "yes"; then
9897 echo " xemacs will be linked with \"toolbar-x.o\"" 9902 echo " xemacs will be linked with \"toolbar-common.o toolbar-x.o\""
9898 fi 9903 fi
9899 test "$all_widgets" != "no no no no no" && extra_objs="$extra_objs gui-x.o" && if test "$extra_verbose" = "yes"; then 9904 test "$all_widgets" != "no no no no no" && extra_objs="$extra_objs gui-x.o" && if test "$extra_verbose" = "yes"; then
9900 echo " xemacs will be linked with \"gui-x.o\"" 9905 echo " xemacs will be linked with \"gui-x.o\""
9901 fi 9906 fi
9902 fi 9907 fi
9926 9931
9927 test -z "$with_file_coding" && with_file_coding=no 9932 test -z "$with_file_coding" && with_file_coding=no
9928 9933
9929 if test "$with_mule" = "yes" ; then 9934 if test "$with_mule" = "yes" ; then
9930 echo "checking for Mule-related features" 1>&6 9935 echo "checking for Mule-related features" 1>&6
9931 echo "configure:9932: checking for Mule-related features" >&5 9936 echo "configure:9937: checking for Mule-related features" >&5
9932 { test "$extra_verbose" = "yes" && cat << \EOF 9937 { test "$extra_verbose" = "yes" && cat << \EOF
9933 Defining MULE 9938 Defining MULE
9934 EOF 9939 EOF
9935 cat >> confdefs.h <<\EOF 9940 cat >> confdefs.h <<\EOF
9936 #define MULE 1 9941 #define MULE 1
9951 9956
9952 for ac_hdr in libintl.h 9957 for ac_hdr in libintl.h
9953 do 9958 do
9954 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 9959 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9955 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 9960 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9956 echo "configure:9957: checking for $ac_hdr" >&5 9961 echo "configure:9962: checking for $ac_hdr" >&5
9957 9962
9958 cat > conftest.$ac_ext <<EOF 9963 cat > conftest.$ac_ext <<EOF
9959 #line 9960 "configure" 9964 #line 9965 "configure"
9960 #include "confdefs.h" 9965 #include "confdefs.h"
9961 #include <$ac_hdr> 9966 #include <$ac_hdr>
9962 EOF 9967 EOF
9963 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9968 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9964 { (eval echo configure:9965: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9969 { (eval echo configure:9970: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9965 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9970 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9966 if test -z "$ac_err"; then 9971 if test -z "$ac_err"; then
9967 rm -rf conftest* 9972 rm -rf conftest*
9968 eval "ac_cv_header_$ac_safe=yes" 9973 eval "ac_cv_header_$ac_safe=yes"
9969 else 9974 else
9990 fi 9995 fi
9991 done 9996 done
9992 9997
9993 9998
9994 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 9999 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6
9995 echo "configure:9996: checking for strerror in -lintl" >&5 10000 echo "configure:10001: checking for strerror in -lintl" >&5
9996 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` 10001 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'`
9997 10002
9998 xe_check_libs=" -lintl " 10003 xe_check_libs=" -lintl "
9999 cat > conftest.$ac_ext <<EOF 10004 cat > conftest.$ac_ext <<EOF
10000 #line 10001 "configure" 10005 #line 10006 "configure"
10001 #include "confdefs.h" 10006 #include "confdefs.h"
10002 /* Override any gcc2 internal prototype to avoid an error. */ 10007 /* Override any gcc2 internal prototype to avoid an error. */
10003 /* We use char because int might match the return type of a gcc2 10008 /* We use char because int might match the return type of a gcc2
10004 builtin and then its argument prototype would still apply. */ 10009 builtin and then its argument prototype would still apply. */
10005 char strerror(); 10010 char strerror();
10006 10011
10007 int main() { 10012 int main() {
10008 strerror() 10013 strerror()
10009 ; return 0; } 10014 ; return 0; }
10010 EOF 10015 EOF
10011 if { (eval echo configure:10012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10016 if { (eval echo configure:10017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10012 rm -rf conftest* 10017 rm -rf conftest*
10013 eval "ac_cv_lib_$ac_lib_var=yes" 10018 eval "ac_cv_lib_$ac_lib_var=yes"
10014 else 10019 else
10015 echo "configure: failed program was:" >&5 10020 echo "configure: failed program was:" >&5
10016 cat conftest.$ac_ext >&5 10021 cat conftest.$ac_ext >&5
10039 fi 10044 fi
10040 10045
10041 10046
10042 10047
10043 echo "checking for Mule input methods" 1>&6 10048 echo "checking for Mule input methods" 1>&6
10044 echo "configure:10045: checking for Mule input methods" >&5 10049 echo "configure:10050: checking for Mule input methods" >&5
10045 case "$with_xim" in "" | "yes" ) 10050 case "$with_xim" in "" | "yes" )
10046 echo "checking for XIM" 1>&6 10051 echo "checking for XIM" 1>&6
10047 echo "configure:10048: checking for XIM" >&5 10052 echo "configure:10053: checking for XIM" >&5
10048 10053
10049 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 10054 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6
10050 echo "configure:10051: checking for XOpenIM in -lX11" >&5 10055 echo "configure:10056: checking for XOpenIM in -lX11" >&5
10051 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` 10056 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'`
10052 10057
10053 xe_check_libs=" -lX11 " 10058 xe_check_libs=" -lX11 "
10054 cat > conftest.$ac_ext <<EOF 10059 cat > conftest.$ac_ext <<EOF
10055 #line 10056 "configure" 10060 #line 10061 "configure"
10056 #include "confdefs.h" 10061 #include "confdefs.h"
10057 /* Override any gcc2 internal prototype to avoid an error. */ 10062 /* Override any gcc2 internal prototype to avoid an error. */
10058 /* We use char because int might match the return type of a gcc2 10063 /* We use char because int might match the return type of a gcc2
10059 builtin and then its argument prototype would still apply. */ 10064 builtin and then its argument prototype would still apply. */
10060 char XOpenIM(); 10065 char XOpenIM();
10061 10066
10062 int main() { 10067 int main() {
10063 XOpenIM() 10068 XOpenIM()
10064 ; return 0; } 10069 ; return 0; }
10065 EOF 10070 EOF
10066 if { (eval echo configure:10067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10071 if { (eval echo configure:10072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10067 rm -rf conftest* 10072 rm -rf conftest*
10068 eval "ac_cv_lib_$ac_lib_var=yes" 10073 eval "ac_cv_lib_$ac_lib_var=yes"
10069 else 10074 else
10070 echo "configure: failed program was:" >&5 10075 echo "configure: failed program was:" >&5
10071 cat conftest.$ac_ext >&5 10076 cat conftest.$ac_ext >&5
10085 10090
10086 10091
10087 if test "$have_motif $have_lesstif" = "yes no"; then 10092 if test "$have_motif $have_lesstif" = "yes no"; then
10088 10093
10089 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 10094 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6
10090 echo "configure:10091: checking for XmImMbLookupString in -lXm" >&5 10095 echo "configure:10096: checking for XmImMbLookupString in -lXm" >&5
10091 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` 10096 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'`
10092 10097
10093 xe_check_libs=" -lXm " 10098 xe_check_libs=" -lXm "
10094 cat > conftest.$ac_ext <<EOF 10099 cat > conftest.$ac_ext <<EOF
10095 #line 10096 "configure" 10100 #line 10101 "configure"
10096 #include "confdefs.h" 10101 #include "confdefs.h"
10097 /* Override any gcc2 internal prototype to avoid an error. */ 10102 /* Override any gcc2 internal prototype to avoid an error. */
10098 /* We use char because int might match the return type of a gcc2 10103 /* We use char because int might match the return type of a gcc2
10099 builtin and then its argument prototype would still apply. */ 10104 builtin and then its argument prototype would still apply. */
10100 char XmImMbLookupString(); 10105 char XmImMbLookupString();
10101 10106
10102 int main() { 10107 int main() {
10103 XmImMbLookupString() 10108 XmImMbLookupString()
10104 ; return 0; } 10109 ; return 0; }
10105 EOF 10110 EOF
10106 if { (eval echo configure:10107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10111 if { (eval echo configure:10112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10107 rm -rf conftest* 10112 rm -rf conftest*
10108 eval "ac_cv_lib_$ac_lib_var=yes" 10113 eval "ac_cv_lib_$ac_lib_var=yes"
10109 else 10114 else
10110 echo "configure: failed program was:" >&5 10115 echo "configure: failed program was:" >&5
10111 cat conftest.$ac_ext >&5 10116 cat conftest.$ac_ext >&5
10166 fi 10171 fi
10167 fi 10172 fi
10168 10173
10169 if test "$with_xfs" = "yes" ; then 10174 if test "$with_xfs" = "yes" ; then
10170 echo "checking for XFontSet" 1>&6 10175 echo "checking for XFontSet" 1>&6
10171 echo "configure:10172: checking for XFontSet" >&5 10176 echo "configure:10177: checking for XFontSet" >&5
10172 10177
10173 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 10178 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6
10174 echo "configure:10175: checking for XmbDrawString in -lX11" >&5 10179 echo "configure:10180: checking for XmbDrawString in -lX11" >&5
10175 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` 10180 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'`
10176 10181
10177 xe_check_libs=" -lX11 " 10182 xe_check_libs=" -lX11 "
10178 cat > conftest.$ac_ext <<EOF 10183 cat > conftest.$ac_ext <<EOF
10179 #line 10180 "configure" 10184 #line 10185 "configure"
10180 #include "confdefs.h" 10185 #include "confdefs.h"
10181 /* Override any gcc2 internal prototype to avoid an error. */ 10186 /* Override any gcc2 internal prototype to avoid an error. */
10182 /* We use char because int might match the return type of a gcc2 10187 /* We use char because int might match the return type of a gcc2
10183 builtin and then its argument prototype would still apply. */ 10188 builtin and then its argument prototype would still apply. */
10184 char XmbDrawString(); 10189 char XmbDrawString();
10185 10190
10186 int main() { 10191 int main() {
10187 XmbDrawString() 10192 XmbDrawString()
10188 ; return 0; } 10193 ; return 0; }
10189 EOF 10194 EOF
10190 if { (eval echo configure:10191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10195 if { (eval echo configure:10196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10191 rm -rf conftest* 10196 rm -rf conftest*
10192 eval "ac_cv_lib_$ac_lib_var=yes" 10197 eval "ac_cv_lib_$ac_lib_var=yes"
10193 else 10198 else
10194 echo "configure: failed program was:" >&5 10199 echo "configure: failed program was:" >&5
10195 cat conftest.$ac_ext >&5 10200 cat conftest.$ac_ext >&5
10225 fi 10230 fi
10226 fi 10231 fi
10227 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support 10232 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support
10228 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` 10233 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'`
10229 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 10234 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6
10230 echo "configure:10231: checking for wnn/jllib.h" >&5 10235 echo "configure:10236: checking for wnn/jllib.h" >&5
10231 10236
10232 cat > conftest.$ac_ext <<EOF 10237 cat > conftest.$ac_ext <<EOF
10233 #line 10234 "configure" 10238 #line 10239 "configure"
10234 #include "confdefs.h" 10239 #include "confdefs.h"
10235 #include <wnn/jllib.h> 10240 #include <wnn/jllib.h>
10236 EOF 10241 EOF
10237 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10242 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10238 { (eval echo configure:10239: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10243 { (eval echo configure:10244: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10239 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10244 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10240 if test -z "$ac_err"; then 10245 if test -z "$ac_err"; then
10241 rm -rf conftest* 10246 rm -rf conftest*
10242 eval "ac_cv_header_$ac_safe=yes" 10247 eval "ac_cv_header_$ac_safe=yes"
10243 else 10248 else
10256 with_wnn=no 10261 with_wnn=no
10257 fi 10262 fi
10258 } 10263 }
10259 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` 10264 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'`
10260 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 10265 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6
10261 echo "configure:10262: checking for wnn/commonhd.h" >&5 10266 echo "configure:10267: checking for wnn/commonhd.h" >&5
10262 10267
10263 cat > conftest.$ac_ext <<EOF 10268 cat > conftest.$ac_ext <<EOF
10264 #line 10265 "configure" 10269 #line 10270 "configure"
10265 #include "confdefs.h" 10270 #include "confdefs.h"
10266 #include <wnn/commonhd.h> 10271 #include <wnn/commonhd.h>
10267 EOF 10272 EOF
10268 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10273 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10269 { (eval echo configure:10270: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10274 { (eval echo configure:10275: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10270 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10275 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10271 if test -z "$ac_err"; then 10276 if test -z "$ac_err"; then
10272 rm -rf conftest* 10277 rm -rf conftest*
10273 eval "ac_cv_header_$ac_safe=yes" 10278 eval "ac_cv_header_$ac_safe=yes"
10274 else 10279 else
10289 } 10294 }
10290 if test "$with_wnn" != "no"; then 10295 if test "$with_wnn" != "no"; then
10291 for ac_func in crypt 10296 for ac_func in crypt
10292 do 10297 do
10293 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 10298 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10294 echo "configure:10295: checking for $ac_func" >&5 10299 echo "configure:10300: checking for $ac_func" >&5
10295 10300
10296 cat > conftest.$ac_ext <<EOF 10301 cat > conftest.$ac_ext <<EOF
10297 #line 10298 "configure" 10302 #line 10303 "configure"
10298 #include "confdefs.h" 10303 #include "confdefs.h"
10299 /* System header to define __stub macros and hopefully few prototypes, 10304 /* System header to define __stub macros and hopefully few prototypes,
10300 which can conflict with char $ac_func(); below. */ 10305 which can conflict with char $ac_func(); below. */
10301 #include <assert.h> 10306 #include <assert.h>
10302 /* Override any gcc2 internal prototype to avoid an error. */ 10307 /* Override any gcc2 internal prototype to avoid an error. */
10315 $ac_func(); 10320 $ac_func();
10316 #endif 10321 #endif
10317 10322
10318 ; return 0; } 10323 ; return 0; }
10319 EOF 10324 EOF
10320 if { (eval echo configure:10321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10325 if { (eval echo configure:10326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10321 rm -rf conftest* 10326 rm -rf conftest*
10322 eval "ac_cv_func_$ac_func=yes" 10327 eval "ac_cv_func_$ac_func=yes"
10323 else 10328 else
10324 echo "configure: failed program was:" >&5 10329 echo "configure: failed program was:" >&5
10325 cat conftest.$ac_ext >&5 10330 cat conftest.$ac_ext >&5
10344 fi 10349 fi
10345 done 10350 done
10346 10351
10347 test "$ac_cv_func_crypt" != "yes" && { 10352 test "$ac_cv_func_crypt" != "yes" && {
10348 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 10353 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6
10349 echo "configure:10350: checking for crypt in -lcrypt" >&5 10354 echo "configure:10355: checking for crypt in -lcrypt" >&5
10350 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` 10355 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'`
10351 10356
10352 xe_check_libs=" -lcrypt " 10357 xe_check_libs=" -lcrypt "
10353 cat > conftest.$ac_ext <<EOF 10358 cat > conftest.$ac_ext <<EOF
10354 #line 10355 "configure" 10359 #line 10360 "configure"
10355 #include "confdefs.h" 10360 #include "confdefs.h"
10356 /* Override any gcc2 internal prototype to avoid an error. */ 10361 /* Override any gcc2 internal prototype to avoid an error. */
10357 /* We use char because int might match the return type of a gcc2 10362 /* We use char because int might match the return type of a gcc2
10358 builtin and then its argument prototype would still apply. */ 10363 builtin and then its argument prototype would still apply. */
10359 char crypt(); 10364 char crypt();
10360 10365
10361 int main() { 10366 int main() {
10362 crypt() 10367 crypt()
10363 ; return 0; } 10368 ; return 0; }
10364 EOF 10369 EOF
10365 if { (eval echo configure:10366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10370 if { (eval echo configure:10371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10366 rm -rf conftest* 10371 rm -rf conftest*
10367 eval "ac_cv_lib_$ac_lib_var=yes" 10372 eval "ac_cv_lib_$ac_lib_var=yes"
10368 else 10373 else
10369 echo "configure: failed program was:" >&5 10374 echo "configure: failed program was:" >&5
10370 cat conftest.$ac_ext >&5 10375 cat conftest.$ac_ext >&5
10395 } 10400 }
10396 fi 10401 fi
10397 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then 10402 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then
10398 10403
10399 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 10404 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6
10400 echo "configure:10401: checking for jl_dic_list_e in -lwnn" >&5 10405 echo "configure:10406: checking for jl_dic_list_e in -lwnn" >&5
10401 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` 10406 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'`
10402 10407
10403 xe_check_libs=" -lwnn " 10408 xe_check_libs=" -lwnn "
10404 cat > conftest.$ac_ext <<EOF 10409 cat > conftest.$ac_ext <<EOF
10405 #line 10406 "configure" 10410 #line 10411 "configure"
10406 #include "confdefs.h" 10411 #include "confdefs.h"
10407 /* Override any gcc2 internal prototype to avoid an error. */ 10412 /* Override any gcc2 internal prototype to avoid an error. */
10408 /* We use char because int might match the return type of a gcc2 10413 /* We use char because int might match the return type of a gcc2
10409 builtin and then its argument prototype would still apply. */ 10414 builtin and then its argument prototype would still apply. */
10410 char jl_dic_list_e(); 10415 char jl_dic_list_e();
10411 10416
10412 int main() { 10417 int main() {
10413 jl_dic_list_e() 10418 jl_dic_list_e()
10414 ; return 0; } 10419 ; return 0; }
10415 EOF 10420 EOF
10416 if { (eval echo configure:10417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10421 if { (eval echo configure:10422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10417 rm -rf conftest* 10422 rm -rf conftest*
10418 eval "ac_cv_lib_$ac_lib_var=yes" 10423 eval "ac_cv_lib_$ac_lib_var=yes"
10419 else 10424 else
10420 echo "configure: failed program was:" >&5 10425 echo "configure: failed program was:" >&5
10421 cat conftest.$ac_ext >&5 10426 cat conftest.$ac_ext >&5
10429 echo "$ac_t""yes" 1>&6 10434 echo "$ac_t""yes" 1>&6
10430 libwnn=wnn 10435 libwnn=wnn
10431 else 10436 else
10432 echo "$ac_t""no" 1>&6 10437 echo "$ac_t""no" 1>&6
10433 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 10438 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6
10434 echo "configure:10435: checking for jl_dic_list_e in -lwnn4" >&5 10439 echo "configure:10440: checking for jl_dic_list_e in -lwnn4" >&5
10435 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` 10440 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'`
10436 10441
10437 xe_check_libs=" -lwnn4 " 10442 xe_check_libs=" -lwnn4 "
10438 cat > conftest.$ac_ext <<EOF 10443 cat > conftest.$ac_ext <<EOF
10439 #line 10440 "configure" 10444 #line 10445 "configure"
10440 #include "confdefs.h" 10445 #include "confdefs.h"
10441 /* Override any gcc2 internal prototype to avoid an error. */ 10446 /* Override any gcc2 internal prototype to avoid an error. */
10442 /* We use char because int might match the return type of a gcc2 10447 /* We use char because int might match the return type of a gcc2
10443 builtin and then its argument prototype would still apply. */ 10448 builtin and then its argument prototype would still apply. */
10444 char jl_dic_list_e(); 10449 char jl_dic_list_e();
10445 10450
10446 int main() { 10451 int main() {
10447 jl_dic_list_e() 10452 jl_dic_list_e()
10448 ; return 0; } 10453 ; return 0; }
10449 EOF 10454 EOF
10450 if { (eval echo configure:10451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10455 if { (eval echo configure:10456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10451 rm -rf conftest* 10456 rm -rf conftest*
10452 eval "ac_cv_lib_$ac_lib_var=yes" 10457 eval "ac_cv_lib_$ac_lib_var=yes"
10453 else 10458 else
10454 echo "configure: failed program was:" >&5 10459 echo "configure: failed program was:" >&5
10455 cat conftest.$ac_ext >&5 10460 cat conftest.$ac_ext >&5
10463 echo "$ac_t""yes" 1>&6 10468 echo "$ac_t""yes" 1>&6
10464 libwnn=wnn4 10469 libwnn=wnn4
10465 else 10470 else
10466 echo "$ac_t""no" 1>&6 10471 echo "$ac_t""no" 1>&6
10467 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 10472 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6
10468 echo "configure:10469: checking for jl_dic_list_e in -lwnn6" >&5 10473 echo "configure:10474: checking for jl_dic_list_e in -lwnn6" >&5
10469 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` 10474 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'`
10470 10475
10471 xe_check_libs=" -lwnn6 " 10476 xe_check_libs=" -lwnn6 "
10472 cat > conftest.$ac_ext <<EOF 10477 cat > conftest.$ac_ext <<EOF
10473 #line 10474 "configure" 10478 #line 10479 "configure"
10474 #include "confdefs.h" 10479 #include "confdefs.h"
10475 /* Override any gcc2 internal prototype to avoid an error. */ 10480 /* Override any gcc2 internal prototype to avoid an error. */
10476 /* We use char because int might match the return type of a gcc2 10481 /* We use char because int might match the return type of a gcc2
10477 builtin and then its argument prototype would still apply. */ 10482 builtin and then its argument prototype would still apply. */
10478 char jl_dic_list_e(); 10483 char jl_dic_list_e();
10479 10484
10480 int main() { 10485 int main() {
10481 jl_dic_list_e() 10486 jl_dic_list_e()
10482 ; return 0; } 10487 ; return 0; }
10483 EOF 10488 EOF
10484 if { (eval echo configure:10485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10489 if { (eval echo configure:10490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10485 rm -rf conftest* 10490 rm -rf conftest*
10486 eval "ac_cv_lib_$ac_lib_var=yes" 10491 eval "ac_cv_lib_$ac_lib_var=yes"
10487 else 10492 else
10488 echo "configure: failed program was:" >&5 10493 echo "configure: failed program was:" >&5
10489 cat conftest.$ac_ext >&5 10494 cat conftest.$ac_ext >&5
10497 echo "$ac_t""yes" 1>&6 10502 echo "$ac_t""yes" 1>&6
10498 libwnn=wnn6 10503 libwnn=wnn6
10499 else 10504 else
10500 echo "$ac_t""no" 1>&6 10505 echo "$ac_t""no" 1>&6
10501 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 10506 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6
10502 echo "configure:10503: checking for dic_list_e in -lwnn6_fromsrc" >&5 10507 echo "configure:10508: checking for dic_list_e in -lwnn6_fromsrc" >&5
10503 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` 10508 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'`
10504 10509
10505 xe_check_libs=" -lwnn6_fromsrc " 10510 xe_check_libs=" -lwnn6_fromsrc "
10506 cat > conftest.$ac_ext <<EOF 10511 cat > conftest.$ac_ext <<EOF
10507 #line 10508 "configure" 10512 #line 10513 "configure"
10508 #include "confdefs.h" 10513 #include "confdefs.h"
10509 /* Override any gcc2 internal prototype to avoid an error. */ 10514 /* Override any gcc2 internal prototype to avoid an error. */
10510 /* We use char because int might match the return type of a gcc2 10515 /* We use char because int might match the return type of a gcc2
10511 builtin and then its argument prototype would still apply. */ 10516 builtin and then its argument prototype would still apply. */
10512 char dic_list_e(); 10517 char dic_list_e();
10513 10518
10514 int main() { 10519 int main() {
10515 dic_list_e() 10520 dic_list_e()
10516 ; return 0; } 10521 ; return 0; }
10517 EOF 10522 EOF
10518 if { (eval echo configure:10519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10523 if { (eval echo configure:10524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10519 rm -rf conftest* 10524 rm -rf conftest*
10520 eval "ac_cv_lib_$ac_lib_var=yes" 10525 eval "ac_cv_lib_$ac_lib_var=yes"
10521 else 10526 else
10522 echo "configure: failed program was:" >&5 10527 echo "configure: failed program was:" >&5
10523 cat conftest.$ac_ext >&5 10528 cat conftest.$ac_ext >&5
10561 echo " xemacs will be linked with \"mule-wnnfns.o\"" 10566 echo " xemacs will be linked with \"mule-wnnfns.o\""
10562 fi 10567 fi
10563 if test "$with_wnn6" != "no"; then 10568 if test "$with_wnn6" != "no"; then
10564 10569
10565 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 10570 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6
10566 echo "configure:10567: checking for jl_fi_dic_list in -l$libwnn" >&5 10571 echo "configure:10572: checking for jl_fi_dic_list in -l$libwnn" >&5
10567 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` 10572 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'`
10568 10573
10569 xe_check_libs=" -l$libwnn " 10574 xe_check_libs=" -l$libwnn "
10570 cat > conftest.$ac_ext <<EOF 10575 cat > conftest.$ac_ext <<EOF
10571 #line 10572 "configure" 10576 #line 10577 "configure"
10572 #include "confdefs.h" 10577 #include "confdefs.h"
10573 /* Override any gcc2 internal prototype to avoid an error. */ 10578 /* Override any gcc2 internal prototype to avoid an error. */
10574 /* We use char because int might match the return type of a gcc2 10579 /* We use char because int might match the return type of a gcc2
10575 builtin and then its argument prototype would still apply. */ 10580 builtin and then its argument prototype would still apply. */
10576 char jl_fi_dic_list(); 10581 char jl_fi_dic_list();
10577 10582
10578 int main() { 10583 int main() {
10579 jl_fi_dic_list() 10584 jl_fi_dic_list()
10580 ; return 0; } 10585 ; return 0; }
10581 EOF 10586 EOF
10582 if { (eval echo configure:10583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10587 if { (eval echo configure:10588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10583 rm -rf conftest* 10588 rm -rf conftest*
10584 eval "ac_cv_lib_$ac_lib_var=yes" 10589 eval "ac_cv_lib_$ac_lib_var=yes"
10585 else 10590 else
10586 echo "configure: failed program was:" >&5 10591 echo "configure: failed program was:" >&5
10587 cat conftest.$ac_ext >&5 10592 cat conftest.$ac_ext >&5
10612 10617
10613 canna_includes_found=no 10618 canna_includes_found=no
10614 if test "$with_canna" != "no"; then 10619 if test "$with_canna" != "no"; then
10615 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` 10620 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'`
10616 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 10621 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6
10617 echo "configure:10618: checking for canna/jrkanji.h" >&5 10622 echo "configure:10623: checking for canna/jrkanji.h" >&5
10618 10623
10619 cat > conftest.$ac_ext <<EOF 10624 cat > conftest.$ac_ext <<EOF
10620 #line 10621 "configure" 10625 #line 10626 "configure"
10621 #include "confdefs.h" 10626 #include "confdefs.h"
10622 #include <canna/jrkanji.h> 10627 #include <canna/jrkanji.h>
10623 EOF 10628 EOF
10624 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10629 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10625 { (eval echo configure:10626: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10630 { (eval echo configure:10631: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10626 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10631 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10627 if test -z "$ac_err"; then 10632 if test -z "$ac_err"; then
10628 rm -rf conftest* 10633 rm -rf conftest*
10629 eval "ac_cv_header_$ac_safe=yes" 10634 eval "ac_cv_header_$ac_safe=yes"
10630 else 10635 else
10647 -d "/usr/local/canna/include"; then 10652 -d "/usr/local/canna/include"; then
10648 save_c_switch_site="$c_switch_site" 10653 save_c_switch_site="$c_switch_site"
10649 c_switch_site="$c_switch_site -I/usr/local/canna/include" 10654 c_switch_site="$c_switch_site -I/usr/local/canna/include"
10650 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` 10655 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'`
10651 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 10656 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6
10652 echo "configure:10653: checking for canna/jrkanji.h" >&5 10657 echo "configure:10658: checking for canna/jrkanji.h" >&5
10653 10658
10654 cat > conftest.$ac_ext <<EOF 10659 cat > conftest.$ac_ext <<EOF
10655 #line 10656 "configure" 10660 #line 10661 "configure"
10656 #include "confdefs.h" 10661 #include "confdefs.h"
10657 #include <canna/jrkanji.h> 10662 #include <canna/jrkanji.h>
10658 EOF 10663 EOF
10659 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10664 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10660 { (eval echo configure:10661: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10665 { (eval echo configure:10666: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10661 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10666 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10662 if test -z "$ac_err"; then 10667 if test -z "$ac_err"; then
10663 rm -rf conftest* 10668 rm -rf conftest*
10664 eval "ac_cv_header_$ac_safe=yes" 10669 eval "ac_cv_header_$ac_safe=yes"
10665 else 10670 else
10683 fi 10688 fi
10684 fi 10689 fi
10685 10690
10686 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` 10691 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'`
10687 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 10692 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6
10688 echo "configure:10689: checking for canna/RK.h" >&5 10693 echo "configure:10694: checking for canna/RK.h" >&5
10689 10694
10690 cat > conftest.$ac_ext <<EOF 10695 cat > conftest.$ac_ext <<EOF
10691 #line 10692 "configure" 10696 #line 10697 "configure"
10692 #include "confdefs.h" 10697 #include "confdefs.h"
10693 #include <canna/RK.h> 10698 #include <canna/RK.h>
10694 EOF 10699 EOF
10695 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10700 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10696 { (eval echo configure:10697: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10701 { (eval echo configure:10702: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10697 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10702 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10698 if test -z "$ac_err"; then 10703 if test -z "$ac_err"; then
10699 rm -rf conftest* 10704 rm -rf conftest*
10700 eval "ac_cv_header_$ac_safe=yes" 10705 eval "ac_cv_header_$ac_safe=yes"
10701 else 10706 else
10714 with_canna=no 10719 with_canna=no
10715 fi 10720 fi
10716 } 10721 }
10717 test -z "$with_canna" && { 10722 test -z "$with_canna" && {
10718 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 10723 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6
10719 echo "configure:10720: checking for RkBgnBun in -lRKC" >&5 10724 echo "configure:10725: checking for RkBgnBun in -lRKC" >&5
10720 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` 10725 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'`
10721 10726
10722 xe_check_libs=" -lRKC " 10727 xe_check_libs=" -lRKC "
10723 cat > conftest.$ac_ext <<EOF 10728 cat > conftest.$ac_ext <<EOF
10724 #line 10725 "configure" 10729 #line 10730 "configure"
10725 #include "confdefs.h" 10730 #include "confdefs.h"
10726 /* Override any gcc2 internal prototype to avoid an error. */ 10731 /* Override any gcc2 internal prototype to avoid an error. */
10727 /* We use char because int might match the return type of a gcc2 10732 /* We use char because int might match the return type of a gcc2
10728 builtin and then its argument prototype would still apply. */ 10733 builtin and then its argument prototype would still apply. */
10729 char RkBgnBun(); 10734 char RkBgnBun();
10730 10735
10731 int main() { 10736 int main() {
10732 RkBgnBun() 10737 RkBgnBun()
10733 ; return 0; } 10738 ; return 0; }
10734 EOF 10739 EOF
10735 if { (eval echo configure:10736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10740 if { (eval echo configure:10741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10736 rm -rf conftest* 10741 rm -rf conftest*
10737 eval "ac_cv_lib_$ac_lib_var=yes" 10742 eval "ac_cv_lib_$ac_lib_var=yes"
10738 else 10743 else
10739 echo "configure: failed program was:" >&5 10744 echo "configure: failed program was:" >&5
10740 cat conftest.$ac_ext >&5 10745 cat conftest.$ac_ext >&5
10753 fi 10758 fi
10754 10759
10755 } 10760 }
10756 test -z "$with_canna" && { 10761 test -z "$with_canna" && {
10757 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 10762 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6
10758 echo "configure:10759: checking for jrKanjiControl in -lcanna" >&5 10763 echo "configure:10764: checking for jrKanjiControl in -lcanna" >&5
10759 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` 10764 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'`
10760 10765
10761 xe_check_libs=" -lcanna " 10766 xe_check_libs=" -lcanna "
10762 cat > conftest.$ac_ext <<EOF 10767 cat > conftest.$ac_ext <<EOF
10763 #line 10764 "configure" 10768 #line 10769 "configure"
10764 #include "confdefs.h" 10769 #include "confdefs.h"
10765 /* Override any gcc2 internal prototype to avoid an error. */ 10770 /* Override any gcc2 internal prototype to avoid an error. */
10766 /* We use char because int might match the return type of a gcc2 10771 /* We use char because int might match the return type of a gcc2
10767 builtin and then its argument prototype would still apply. */ 10772 builtin and then its argument prototype would still apply. */
10768 char jrKanjiControl(); 10773 char jrKanjiControl();
10769 10774
10770 int main() { 10775 int main() {
10771 jrKanjiControl() 10776 jrKanjiControl()
10772 ; return 0; } 10777 ; return 0; }
10773 EOF 10778 EOF
10774 if { (eval echo configure:10775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10779 if { (eval echo configure:10780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10775 rm -rf conftest* 10780 rm -rf conftest*
10776 eval "ac_cv_lib_$ac_lib_var=yes" 10781 eval "ac_cv_lib_$ac_lib_var=yes"
10777 else 10782 else
10778 echo "configure: failed program was:" >&5 10783 echo "configure: failed program was:" >&5
10779 cat conftest.$ac_ext >&5 10784 cat conftest.$ac_ext >&5
10818 10823
10819 if test "$need_motif" = "yes" ; then 10824 if test "$need_motif" = "yes" ; then
10820 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi 10825 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi
10821 10826
10822 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 10827 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6
10823 echo "configure:10824: checking for layout_object_getvalue in -li18n" >&5 10828 echo "configure:10829: checking for layout_object_getvalue in -li18n" >&5
10824 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` 10829 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'`
10825 10830
10826 xe_check_libs=" -li18n " 10831 xe_check_libs=" -li18n "
10827 cat > conftest.$ac_ext <<EOF 10832 cat > conftest.$ac_ext <<EOF
10828 #line 10829 "configure" 10833 #line 10834 "configure"
10829 #include "confdefs.h" 10834 #include "confdefs.h"
10830 /* Override any gcc2 internal prototype to avoid an error. */ 10835 /* Override any gcc2 internal prototype to avoid an error. */
10831 /* We use char because int might match the return type of a gcc2 10836 /* We use char because int might match the return type of a gcc2
10832 builtin and then its argument prototype would still apply. */ 10837 builtin and then its argument prototype would still apply. */
10833 char layout_object_getvalue(); 10838 char layout_object_getvalue();
10834 10839
10835 int main() { 10840 int main() {
10836 layout_object_getvalue() 10841 layout_object_getvalue()
10837 ; return 0; } 10842 ; return 0; }
10838 EOF 10843 EOF
10839 if { (eval echo configure:10840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10844 if { (eval echo configure:10845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10840 rm -rf conftest* 10845 rm -rf conftest*
10841 eval "ac_cv_lib_$ac_lib_var=yes" 10846 eval "ac_cv_lib_$ac_lib_var=yes"
10842 else 10847 else
10843 echo "configure: failed program was:" >&5 10848 echo "configure: failed program was:" >&5
10844 cat conftest.$ac_ext >&5 10849 cat conftest.$ac_ext >&5
10920 fi 10925 fi
10921 10926
10922 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask 10927 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask
10923 do 10928 do
10924 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 10929 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10925 echo "configure:10926: checking for $ac_func" >&5 10930 echo "configure:10931: checking for $ac_func" >&5
10926 10931
10927 cat > conftest.$ac_ext <<EOF 10932 cat > conftest.$ac_ext <<EOF
10928 #line 10929 "configure" 10933 #line 10934 "configure"
10929 #include "confdefs.h" 10934 #include "confdefs.h"
10930 /* System header to define __stub macros and hopefully few prototypes, 10935 /* System header to define __stub macros and hopefully few prototypes,
10931 which can conflict with char $ac_func(); below. */ 10936 which can conflict with char $ac_func(); below. */
10932 #include <assert.h> 10937 #include <assert.h>
10933 /* Override any gcc2 internal prototype to avoid an error. */ 10938 /* Override any gcc2 internal prototype to avoid an error. */
10946 $ac_func(); 10951 $ac_func();
10947 #endif 10952 #endif
10948 10953
10949 ; return 0; } 10954 ; return 0; }
10950 EOF 10955 EOF
10951 if { (eval echo configure:10952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10956 if { (eval echo configure:10957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10952 rm -rf conftest* 10957 rm -rf conftest*
10953 eval "ac_cv_func_$ac_func=yes" 10958 eval "ac_cv_func_$ac_func=yes"
10954 else 10959 else
10955 echo "configure: failed program was:" >&5 10960 echo "configure: failed program was:" >&5
10956 cat conftest.$ac_ext >&5 10961 cat conftest.$ac_ext >&5
10978 10983
10979 10984
10980 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp 10985 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp
10981 do 10986 do
10982 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 10987 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10983 echo "configure:10984: checking for $ac_func" >&5 10988 echo "configure:10989: checking for $ac_func" >&5
10984 10989
10985 cat > conftest.$ac_ext <<EOF 10990 cat > conftest.$ac_ext <<EOF
10986 #line 10987 "configure" 10991 #line 10992 "configure"
10987 #include "confdefs.h" 10992 #include "confdefs.h"
10988 /* System header to define __stub macros and hopefully few prototypes, 10993 /* System header to define __stub macros and hopefully few prototypes,
10989 which can conflict with char $ac_func(); below. */ 10994 which can conflict with char $ac_func(); below. */
10990 #include <assert.h> 10995 #include <assert.h>
10991 /* Override any gcc2 internal prototype to avoid an error. */ 10996 /* Override any gcc2 internal prototype to avoid an error. */
11004 $ac_func(); 11009 $ac_func();
11005 #endif 11010 #endif
11006 11011
11007 ; return 0; } 11012 ; return 0; }
11008 EOF 11013 EOF
11009 if { (eval echo configure:11010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11014 if { (eval echo configure:11015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11010 rm -rf conftest* 11015 rm -rf conftest*
11011 eval "ac_cv_func_$ac_func=yes" 11016 eval "ac_cv_func_$ac_func=yes"
11012 else 11017 else
11013 echo "configure: failed program was:" >&5 11018 echo "configure: failed program was:" >&5
11014 cat conftest.$ac_ext >&5 11019 cat conftest.$ac_ext >&5
11033 fi 11038 fi
11034 done 11039 done
11035 11040
11036 11041
11037 echo $ac_n "checking for openpty""... $ac_c" 1>&6 11042 echo $ac_n "checking for openpty""... $ac_c" 1>&6
11038 echo "configure:11039: checking for openpty" >&5 11043 echo "configure:11044: checking for openpty" >&5
11039 11044
11040 cat > conftest.$ac_ext <<EOF 11045 cat > conftest.$ac_ext <<EOF
11041 #line 11042 "configure" 11046 #line 11047 "configure"
11042 #include "confdefs.h" 11047 #include "confdefs.h"
11043 /* System header to define __stub macros and hopefully few prototypes, 11048 /* System header to define __stub macros and hopefully few prototypes,
11044 which can conflict with char openpty(); below. */ 11049 which can conflict with char openpty(); below. */
11045 #include <assert.h> 11050 #include <assert.h>
11046 /* Override any gcc2 internal prototype to avoid an error. */ 11051 /* Override any gcc2 internal prototype to avoid an error. */
11059 openpty(); 11064 openpty();
11060 #endif 11065 #endif
11061 11066
11062 ; return 0; } 11067 ; return 0; }
11063 EOF 11068 EOF
11064 if { (eval echo configure:11065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11069 if { (eval echo configure:11070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11065 rm -rf conftest* 11070 rm -rf conftest*
11066 eval "ac_cv_func_openpty=yes" 11071 eval "ac_cv_func_openpty=yes"
11067 else 11072 else
11068 echo "configure: failed program was:" >&5 11073 echo "configure: failed program was:" >&5
11069 cat conftest.$ac_ext >&5 11074 cat conftest.$ac_ext >&5
11078 else 11083 else
11079 echo "$ac_t""no" 1>&6 11084 echo "$ac_t""no" 1>&6
11080 11085
11081 11086
11082 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 11087 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6
11083 echo "configure:11084: checking for openpty in -lutil" >&5 11088 echo "configure:11089: checking for openpty in -lutil" >&5
11084 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` 11089 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'`
11085 11090
11086 xe_check_libs=" -lutil " 11091 xe_check_libs=" -lutil "
11087 cat > conftest.$ac_ext <<EOF 11092 cat > conftest.$ac_ext <<EOF
11088 #line 11089 "configure" 11093 #line 11094 "configure"
11089 #include "confdefs.h" 11094 #include "confdefs.h"
11090 /* Override any gcc2 internal prototype to avoid an error. */ 11095 /* Override any gcc2 internal prototype to avoid an error. */
11091 /* We use char because int might match the return type of a gcc2 11096 /* We use char because int might match the return type of a gcc2
11092 builtin and then its argument prototype would still apply. */ 11097 builtin and then its argument prototype would still apply. */
11093 char openpty(); 11098 char openpty();
11094 11099
11095 int main() { 11100 int main() {
11096 openpty() 11101 openpty()
11097 ; return 0; } 11102 ; return 0; }
11098 EOF 11103 EOF
11099 if { (eval echo configure:11100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11104 if { (eval echo configure:11105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11100 rm -rf conftest* 11105 rm -rf conftest*
11101 eval "ac_cv_lib_$ac_lib_var=yes" 11106 eval "ac_cv_lib_$ac_lib_var=yes"
11102 else 11107 else
11103 echo "configure: failed program was:" >&5 11108 echo "configure: failed program was:" >&5
11104 cat conftest.$ac_ext >&5 11109 cat conftest.$ac_ext >&5
11129 11134
11130 for ac_hdr in libutil.h util.h 11135 for ac_hdr in libutil.h util.h
11131 do 11136 do
11132 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 11137 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11133 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 11138 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11134 echo "configure:11135: checking for $ac_hdr" >&5 11139 echo "configure:11140: checking for $ac_hdr" >&5
11135 11140
11136 cat > conftest.$ac_ext <<EOF 11141 cat > conftest.$ac_ext <<EOF
11137 #line 11138 "configure" 11142 #line 11143 "configure"
11138 #include "confdefs.h" 11143 #include "confdefs.h"
11139 #include <$ac_hdr> 11144 #include <$ac_hdr>
11140 EOF 11145 EOF
11141 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11146 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11142 { (eval echo configure:11143: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11147 { (eval echo configure:11148: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11143 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11148 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11144 if test -z "$ac_err"; then 11149 if test -z "$ac_err"; then
11145 rm -rf conftest* 11150 rm -rf conftest*
11146 eval "ac_cv_header_$ac_safe=yes" 11151 eval "ac_cv_header_$ac_safe=yes"
11147 else 11152 else
11174 case "$opsys" in 11179 case "$opsys" in
11175 hpux*) for ac_hdr in sys/ptyio.h 11180 hpux*) for ac_hdr in sys/ptyio.h
11176 do 11181 do
11177 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 11182 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11178 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 11183 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11179 echo "configure:11180: checking for $ac_hdr" >&5 11184 echo "configure:11185: checking for $ac_hdr" >&5
11180 11185
11181 cat > conftest.$ac_ext <<EOF 11186 cat > conftest.$ac_ext <<EOF
11182 #line 11183 "configure" 11187 #line 11188 "configure"
11183 #include "confdefs.h" 11188 #include "confdefs.h"
11184 #include <$ac_hdr> 11189 #include <$ac_hdr>
11185 EOF 11190 EOF
11186 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11191 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11187 { (eval echo configure:11188: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11192 { (eval echo configure:11193: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11188 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11193 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11189 if test -z "$ac_err"; then 11194 if test -z "$ac_err"; then
11190 rm -rf conftest* 11195 rm -rf conftest*
11191 eval "ac_cv_header_$ac_safe=yes" 11196 eval "ac_cv_header_$ac_safe=yes"
11192 else 11197 else
11215 ;; 11220 ;;
11216 *) for ac_hdr in pty.h 11221 *) for ac_hdr in pty.h
11217 do 11222 do
11218 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 11223 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11219 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 11224 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11220 echo "configure:11221: checking for $ac_hdr" >&5 11225 echo "configure:11226: checking for $ac_hdr" >&5
11221 11226
11222 cat > conftest.$ac_ext <<EOF 11227 cat > conftest.$ac_ext <<EOF
11223 #line 11224 "configure" 11228 #line 11229 "configure"
11224 #include "confdefs.h" 11229 #include "confdefs.h"
11225 #include <$ac_hdr> 11230 #include <$ac_hdr>
11226 EOF 11231 EOF
11227 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11232 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11228 { (eval echo configure:11229: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11233 { (eval echo configure:11234: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11229 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11234 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11230 if test -z "$ac_err"; then 11235 if test -z "$ac_err"; then
11231 rm -rf conftest* 11236 rm -rf conftest*
11232 eval "ac_cv_header_$ac_safe=yes" 11237 eval "ac_cv_header_$ac_safe=yes"
11233 else 11238 else
11256 11261
11257 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h 11262 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h
11258 do 11263 do
11259 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 11264 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11260 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 11265 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11261 echo "configure:11262: checking for $ac_hdr" >&5 11266 echo "configure:11267: checking for $ac_hdr" >&5
11262 11267
11263 cat > conftest.$ac_ext <<EOF 11268 cat > conftest.$ac_ext <<EOF
11264 #line 11265 "configure" 11269 #line 11270 "configure"
11265 #include "confdefs.h" 11270 #include "confdefs.h"
11266 #include <$ac_hdr> 11271 #include <$ac_hdr>
11267 EOF 11272 EOF
11268 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11273 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11269 { (eval echo configure:11270: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11274 { (eval echo configure:11275: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11270 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11275 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11271 if test -z "$ac_err"; then 11276 if test -z "$ac_err"; then
11272 rm -rf conftest* 11277 rm -rf conftest*
11273 eval "ac_cv_header_$ac_safe=yes" 11278 eval "ac_cv_header_$ac_safe=yes"
11274 else 11279 else
11300 11305
11301 for ac_hdr in stropts.h 11306 for ac_hdr in stropts.h
11302 do 11307 do
11303 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 11308 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11304 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 11309 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11305 echo "configure:11306: checking for $ac_hdr" >&5 11310 echo "configure:11311: checking for $ac_hdr" >&5
11306 11311
11307 cat > conftest.$ac_ext <<EOF 11312 cat > conftest.$ac_ext <<EOF
11308 #line 11309 "configure" 11313 #line 11314 "configure"
11309 #include "confdefs.h" 11314 #include "confdefs.h"
11310 #include <$ac_hdr> 11315 #include <$ac_hdr>
11311 EOF 11316 EOF
11312 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11317 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11313 { (eval echo configure:11314: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11318 { (eval echo configure:11319: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11314 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11319 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11315 if test -z "$ac_err"; then 11320 if test -z "$ac_err"; then
11316 rm -rf conftest* 11321 rm -rf conftest*
11317 eval "ac_cv_header_$ac_safe=yes" 11322 eval "ac_cv_header_$ac_safe=yes"
11318 else 11323 else
11341 11346
11342 if test "$ac_cv_header_stropts_h" = "yes"; then 11347 if test "$ac_cv_header_stropts_h" = "yes"; then
11343 for ac_func in isastream 11348 for ac_func in isastream
11344 do 11349 do
11345 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 11350 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11346 echo "configure:11347: checking for $ac_func" >&5 11351 echo "configure:11352: checking for $ac_func" >&5
11347 11352
11348 cat > conftest.$ac_ext <<EOF 11353 cat > conftest.$ac_ext <<EOF
11349 #line 11350 "configure" 11354 #line 11355 "configure"
11350 #include "confdefs.h" 11355 #include "confdefs.h"
11351 /* System header to define __stub macros and hopefully few prototypes, 11356 /* System header to define __stub macros and hopefully few prototypes,
11352 which can conflict with char $ac_func(); below. */ 11357 which can conflict with char $ac_func(); below. */
11353 #include <assert.h> 11358 #include <assert.h>
11354 /* Override any gcc2 internal prototype to avoid an error. */ 11359 /* Override any gcc2 internal prototype to avoid an error. */
11367 $ac_func(); 11372 $ac_func();
11368 #endif 11373 #endif
11369 11374
11370 ; return 0; } 11375 ; return 0; }
11371 EOF 11376 EOF
11372 if { (eval echo configure:11373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11377 if { (eval echo configure:11378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11373 rm -rf conftest* 11378 rm -rf conftest*
11374 eval "ac_cv_func_$ac_func=yes" 11379 eval "ac_cv_func_$ac_func=yes"
11375 else 11380 else
11376 echo "configure: failed program was:" >&5 11381 echo "configure: failed program was:" >&5
11377 cat conftest.$ac_ext >&5 11382 cat conftest.$ac_ext >&5
11398 11403
11399 for ac_hdr in strtio.h 11404 for ac_hdr in strtio.h
11400 do 11405 do
11401 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 11406 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11402 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 11407 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11403 echo "configure:11404: checking for $ac_hdr" >&5 11408 echo "configure:11409: checking for $ac_hdr" >&5
11404 11409
11405 cat > conftest.$ac_ext <<EOF 11410 cat > conftest.$ac_ext <<EOF
11406 #line 11407 "configure" 11411 #line 11412 "configure"
11407 #include "confdefs.h" 11412 #include "confdefs.h"
11408 #include <$ac_hdr> 11413 #include <$ac_hdr>
11409 EOF 11414 EOF
11410 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11415 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11411 { (eval echo configure:11412: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11416 { (eval echo configure:11417: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11412 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11417 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11413 if test -z "$ac_err"; then 11418 if test -z "$ac_err"; then
11414 rm -rf conftest* 11419 rm -rf conftest*
11415 eval "ac_cv_header_$ac_safe=yes" 11420 eval "ac_cv_header_$ac_safe=yes"
11416 else 11421 else
11443 fi 11448 fi
11444 11449
11445 for ac_func in getloadavg 11450 for ac_func in getloadavg
11446 do 11451 do
11447 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 11452 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11448 echo "configure:11449: checking for $ac_func" >&5 11453 echo "configure:11454: checking for $ac_func" >&5
11449 11454
11450 cat > conftest.$ac_ext <<EOF 11455 cat > conftest.$ac_ext <<EOF
11451 #line 11452 "configure" 11456 #line 11457 "configure"
11452 #include "confdefs.h" 11457 #include "confdefs.h"
11453 /* System header to define __stub macros and hopefully few prototypes, 11458 /* System header to define __stub macros and hopefully few prototypes,
11454 which can conflict with char $ac_func(); below. */ 11459 which can conflict with char $ac_func(); below. */
11455 #include <assert.h> 11460 #include <assert.h>
11456 /* Override any gcc2 internal prototype to avoid an error. */ 11461 /* Override any gcc2 internal prototype to avoid an error. */
11469 $ac_func(); 11474 $ac_func();
11470 #endif 11475 #endif
11471 11476
11472 ; return 0; } 11477 ; return 0; }
11473 EOF 11478 EOF
11474 if { (eval echo configure:11475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11479 if { (eval echo configure:11480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11475 rm -rf conftest* 11480 rm -rf conftest*
11476 eval "ac_cv_func_$ac_func=yes" 11481 eval "ac_cv_func_$ac_func=yes"
11477 else 11482 else
11478 echo "configure: failed program was:" >&5 11483 echo "configure: failed program was:" >&5
11479 cat conftest.$ac_ext >&5 11484 cat conftest.$ac_ext >&5
11502 if test "$ac_cv_func_getloadavg" = "yes"; then 11507 if test "$ac_cv_func_getloadavg" = "yes"; then
11503 for ac_hdr in sys/loadavg.h 11508 for ac_hdr in sys/loadavg.h
11504 do 11509 do
11505 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 11510 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11506 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 11511 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11507 echo "configure:11508: checking for $ac_hdr" >&5 11512 echo "configure:11513: checking for $ac_hdr" >&5
11508 11513
11509 cat > conftest.$ac_ext <<EOF 11514 cat > conftest.$ac_ext <<EOF
11510 #line 11511 "configure" 11515 #line 11516 "configure"
11511 #include "confdefs.h" 11516 #include "confdefs.h"
11512 #include <$ac_hdr> 11517 #include <$ac_hdr>
11513 EOF 11518 EOF
11514 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11519 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11515 { (eval echo configure:11516: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11520 { (eval echo configure:11521: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11516 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11521 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11517 if test -z "$ac_err"; then 11522 if test -z "$ac_err"; then
11518 rm -rf conftest* 11523 rm -rf conftest*
11519 eval "ac_cv_header_$ac_safe=yes" 11524 eval "ac_cv_header_$ac_safe=yes"
11520 else 11525 else
11546 echo " xemacs will be linked with \"getloadavg.o\"" 11551 echo " xemacs will be linked with \"getloadavg.o\""
11547 fi 11552 fi
11548 11553
11549 11554
11550 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 11555 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6
11551 echo "configure:11552: checking for kstat_open in -lkstat" >&5 11556 echo "configure:11557: checking for kstat_open in -lkstat" >&5
11552 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` 11557 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'`
11553 11558
11554 xe_check_libs=" -lkstat " 11559 xe_check_libs=" -lkstat "
11555 cat > conftest.$ac_ext <<EOF 11560 cat > conftest.$ac_ext <<EOF
11556 #line 11557 "configure" 11561 #line 11562 "configure"
11557 #include "confdefs.h" 11562 #include "confdefs.h"
11558 /* Override any gcc2 internal prototype to avoid an error. */ 11563 /* Override any gcc2 internal prototype to avoid an error. */
11559 /* We use char because int might match the return type of a gcc2 11564 /* We use char because int might match the return type of a gcc2
11560 builtin and then its argument prototype would still apply. */ 11565 builtin and then its argument prototype would still apply. */
11561 char kstat_open(); 11566 char kstat_open();
11562 11567
11563 int main() { 11568 int main() {
11564 kstat_open() 11569 kstat_open()
11565 ; return 0; } 11570 ; return 0; }
11566 EOF 11571 EOF
11567 if { (eval echo configure:11568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11572 if { (eval echo configure:11573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11568 rm -rf conftest* 11573 rm -rf conftest*
11569 eval "ac_cv_lib_$ac_lib_var=yes" 11574 eval "ac_cv_lib_$ac_lib_var=yes"
11570 else 11575 else
11571 echo "configure: failed program was:" >&5 11576 echo "configure: failed program was:" >&5
11572 cat conftest.$ac_ext >&5 11577 cat conftest.$ac_ext >&5
11597 11602
11598 for ac_hdr in kstat.h 11603 for ac_hdr in kstat.h
11599 do 11604 do
11600 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 11605 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11601 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 11606 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11602 echo "configure:11603: checking for $ac_hdr" >&5 11607 echo "configure:11608: checking for $ac_hdr" >&5
11603 11608
11604 cat > conftest.$ac_ext <<EOF 11609 cat > conftest.$ac_ext <<EOF
11605 #line 11606 "configure" 11610 #line 11611 "configure"
11606 #include "confdefs.h" 11611 #include "confdefs.h"
11607 #include <$ac_hdr> 11612 #include <$ac_hdr>
11608 EOF 11613 EOF
11609 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11614 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11610 { (eval echo configure:11611: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11615 { (eval echo configure:11616: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11611 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11616 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11612 if test -z "$ac_err"; then 11617 if test -z "$ac_err"; then
11613 rm -rf conftest* 11618 rm -rf conftest*
11614 eval "ac_cv_header_$ac_safe=yes" 11619 eval "ac_cv_header_$ac_safe=yes"
11615 else 11620 else
11637 done 11642 done
11638 11643
11639 11644
11640 11645
11641 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 11646 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6
11642 echo "configure:11643: checking for kvm_read in -lkvm" >&5 11647 echo "configure:11648: checking for kvm_read in -lkvm" >&5
11643 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` 11648 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'`
11644 11649
11645 xe_check_libs=" -lkvm " 11650 xe_check_libs=" -lkvm "
11646 cat > conftest.$ac_ext <<EOF 11651 cat > conftest.$ac_ext <<EOF
11647 #line 11648 "configure" 11652 #line 11653 "configure"
11648 #include "confdefs.h" 11653 #include "confdefs.h"
11649 /* Override any gcc2 internal prototype to avoid an error. */ 11654 /* Override any gcc2 internal prototype to avoid an error. */
11650 /* We use char because int might match the return type of a gcc2 11655 /* We use char because int might match the return type of a gcc2
11651 builtin and then its argument prototype would still apply. */ 11656 builtin and then its argument prototype would still apply. */
11652 char kvm_read(); 11657 char kvm_read();
11653 11658
11654 int main() { 11659 int main() {
11655 kvm_read() 11660 kvm_read()
11656 ; return 0; } 11661 ; return 0; }
11657 EOF 11662 EOF
11658 if { (eval echo configure:11659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11663 if { (eval echo configure:11664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11659 rm -rf conftest* 11664 rm -rf conftest*
11660 eval "ac_cv_lib_$ac_lib_var=yes" 11665 eval "ac_cv_lib_$ac_lib_var=yes"
11661 else 11666 else
11662 echo "configure: failed program was:" >&5 11667 echo "configure: failed program was:" >&5
11663 cat conftest.$ac_ext >&5 11668 cat conftest.$ac_ext >&5
11687 11692
11688 11693
11689 fi 11694 fi
11690 11695
11691 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 11696 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6
11692 echo "configure:11693: checking whether netdb declares h_errno" >&5 11697 echo "configure:11698: checking whether netdb declares h_errno" >&5
11693 cat > conftest.$ac_ext <<EOF 11698 cat > conftest.$ac_ext <<EOF
11694 #line 11695 "configure" 11699 #line 11700 "configure"
11695 #include "confdefs.h" 11700 #include "confdefs.h"
11696 #include <netdb.h> 11701 #include <netdb.h>
11697 int main() { 11702 int main() {
11698 return h_errno; 11703 return h_errno;
11699 ; return 0; } 11704 ; return 0; }
11700 EOF 11705 EOF
11701 if { (eval echo configure:11702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11706 if { (eval echo configure:11707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11702 rm -rf conftest* 11707 rm -rf conftest*
11703 echo "$ac_t""yes" 1>&6 11708 echo "$ac_t""yes" 1>&6
11704 { test "$extra_verbose" = "yes" && cat << \EOF 11709 { test "$extra_verbose" = "yes" && cat << \EOF
11705 Defining HAVE_H_ERRNO 11710 Defining HAVE_H_ERRNO
11706 EOF 11711 EOF
11716 echo "$ac_t""no" 1>&6 11721 echo "$ac_t""no" 1>&6
11717 fi 11722 fi
11718 rm -f conftest* 11723 rm -f conftest*
11719 11724
11720 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 11725 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6
11721 echo "configure:11722: checking for sigsetjmp" >&5 11726 echo "configure:11727: checking for sigsetjmp" >&5
11722 cat > conftest.$ac_ext <<EOF 11727 cat > conftest.$ac_ext <<EOF
11723 #line 11724 "configure" 11728 #line 11729 "configure"
11724 #include "confdefs.h" 11729 #include "confdefs.h"
11725 #include <setjmp.h> 11730 #include <setjmp.h>
11726 int main() { 11731 int main() {
11727 sigjmp_buf bar; sigsetjmp (bar, 0); 11732 sigjmp_buf bar; sigsetjmp (bar, 0);
11728 ; return 0; } 11733 ; return 0; }
11729 EOF 11734 EOF
11730 if { (eval echo configure:11731: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 11735 if { (eval echo configure:11736: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11731 rm -rf conftest* 11736 rm -rf conftest*
11732 echo "$ac_t""yes" 1>&6 11737 echo "$ac_t""yes" 1>&6
11733 { test "$extra_verbose" = "yes" && cat << \EOF 11738 { test "$extra_verbose" = "yes" && cat << \EOF
11734 Defining HAVE_SIGSETJMP 11739 Defining HAVE_SIGSETJMP
11735 EOF 11740 EOF
11745 echo "$ac_t""no" 1>&6 11750 echo "$ac_t""no" 1>&6
11746 fi 11751 fi
11747 rm -f conftest* 11752 rm -f conftest*
11748 11753
11749 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 11754 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6
11750 echo "configure:11751: checking whether localtime caches TZ" >&5 11755 echo "configure:11756: checking whether localtime caches TZ" >&5
11751 11756
11752 if test "$ac_cv_func_tzset" = "yes"; then 11757 if test "$ac_cv_func_tzset" = "yes"; then
11753 cat > conftest.$ac_ext <<EOF 11758 cat > conftest.$ac_ext <<EOF
11754 #line 11755 "configure" 11759 #line 11760 "configure"
11755 #include "confdefs.h" 11760 #include "confdefs.h"
11756 #include <time.h> 11761 #include <time.h>
11757 #if STDC_HEADERS 11762 #if STDC_HEADERS
11758 # include <stdlib.h> 11763 # include <stdlib.h>
11759 #endif 11764 #endif
11784 if (localtime (&now)->tm_hour != hour_unset) 11789 if (localtime (&now)->tm_hour != hour_unset)
11785 exit (1); 11790 exit (1);
11786 exit (0); 11791 exit (0);
11787 } 11792 }
11788 EOF 11793 EOF
11789 if { (eval echo configure:11790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 11794 if { (eval echo configure:11795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
11790 then 11795 then
11791 emacs_cv_localtime_cache=no 11796 emacs_cv_localtime_cache=no
11792 else 11797 else
11793 conftest_rc="$?" 11798 conftest_rc="$?"
11794 echo "configure: failed program was:" >&5 11799 echo "configure: failed program was:" >&5
11814 11819
11815 fi 11820 fi
11816 11821
11817 if test "$HAVE_TIMEVAL" = "yes"; then 11822 if test "$HAVE_TIMEVAL" = "yes"; then
11818 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 11823 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6
11819 echo "configure:11820: checking whether gettimeofday accepts one or two arguments" >&5 11824 echo "configure:11825: checking whether gettimeofday accepts one or two arguments" >&5
11820 cat > conftest.$ac_ext <<EOF 11825 cat > conftest.$ac_ext <<EOF
11821 #line 11822 "configure" 11826 #line 11827 "configure"
11822 #include "confdefs.h" 11827 #include "confdefs.h"
11823 11828
11824 #ifdef TIME_WITH_SYS_TIME 11829 #ifdef TIME_WITH_SYS_TIME
11825 #include <sys/time.h> 11830 #include <sys/time.h>
11826 #include <time.h> 11831 #include <time.h>
11837 struct timeval time; 11842 struct timeval time;
11838 gettimeofday (&time, 0); 11843 gettimeofday (&time, 0);
11839 11844
11840 ; return 0; } 11845 ; return 0; }
11841 EOF 11846 EOF
11842 if { (eval echo configure:11843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11847 if { (eval echo configure:11848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11843 rm -rf conftest* 11848 rm -rf conftest*
11844 echo "$ac_t""two" 1>&6 11849 echo "$ac_t""two" 1>&6
11845 else 11850 else
11846 echo "configure: failed program was:" >&5 11851 echo "configure: failed program was:" >&5
11847 cat conftest.$ac_ext >&5 11852 cat conftest.$ac_ext >&5
11859 rm -f conftest* 11864 rm -f conftest*
11860 fi 11865 fi
11861 11866
11862 11867
11863 echo $ac_n "checking for inline""... $ac_c" 1>&6 11868 echo $ac_n "checking for inline""... $ac_c" 1>&6
11864 echo "configure:11865: checking for inline" >&5 11869 echo "configure:11870: checking for inline" >&5
11865 11870
11866 ac_cv_c_inline=no 11871 ac_cv_c_inline=no
11867 for ac_kw in inline __inline__ __inline; do 11872 for ac_kw in inline __inline__ __inline; do
11868 cat > conftest.$ac_ext <<EOF 11873 cat > conftest.$ac_ext <<EOF
11869 #line 11870 "configure" 11874 #line 11875 "configure"
11870 #include "confdefs.h" 11875 #include "confdefs.h"
11871 11876
11872 int main() { 11877 int main() {
11873 } int $ac_kw foo() { 11878 } $ac_kw foo() {
11874 ; return 0; } 11879 ; return 0; }
11875 EOF 11880 EOF
11876 if { (eval echo configure:11877: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 11881 if { (eval echo configure:11882: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11877 rm -rf conftest* 11882 rm -rf conftest*
11878 ac_cv_c_inline=$ac_kw; break 11883 ac_cv_c_inline=$ac_kw; break
11879 else 11884 else
11880 echo "configure: failed program was:" >&5 11885 echo "configure: failed program was:" >&5
11881 cat conftest.$ac_ext >&5 11886 cat conftest.$ac_ext >&5
11912 11917
11913 if test "$__DECC" != "yes"; then 11918 if test "$__DECC" != "yes"; then
11914 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 11919 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
11915 # for constant arguments. Useless! 11920 # for constant arguments. Useless!
11916 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 11921 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
11917 echo "configure:11918: checking for working alloca.h" >&5 11922 echo "configure:11923: checking for working alloca.h" >&5
11918 11923
11919 cat > conftest.$ac_ext <<EOF 11924 cat > conftest.$ac_ext <<EOF
11920 #line 11921 "configure" 11925 #line 11926 "configure"
11921 #include "confdefs.h" 11926 #include "confdefs.h"
11922 #include <alloca.h> 11927 #include <alloca.h>
11923 int main() { 11928 int main() {
11924 void *p = alloca(2 * sizeof(int)); 11929 char *p = alloca(2 * sizeof(int));
11925 ; return 0; } 11930 ; return 0; }
11926 EOF 11931 EOF
11927 if { (eval echo configure:11928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11932 if { (eval echo configure:11933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11928 rm -rf conftest* 11933 rm -rf conftest*
11929 ac_cv_header_alloca_h=yes 11934 ac_cv_header_alloca_h=yes
11930 else 11935 else
11931 echo "configure: failed program was:" >&5 11936 echo "configure: failed program was:" >&5
11932 cat conftest.$ac_ext >&5 11937 cat conftest.$ac_ext >&5
11946 } 11951 }
11947 11952
11948 fi 11953 fi
11949 11954
11950 echo $ac_n "checking for alloca""... $ac_c" 1>&6 11955 echo $ac_n "checking for alloca""... $ac_c" 1>&6
11951 echo "configure:11952: checking for alloca" >&5 11956 echo "configure:11957: checking for alloca" >&5
11952 11957
11953 cat > conftest.$ac_ext <<EOF 11958 cat > conftest.$ac_ext <<EOF
11954 #line 11955 "configure" 11959 #line 11960 "configure"
11955 #include "confdefs.h" 11960 #include "confdefs.h"
11956 11961
11957 #ifdef __GNUC__ 11962 #ifdef __GNUC__
11958 # define alloca __builtin_alloca 11963 # define alloca __builtin_alloca
11959 #else 11964 #else
11977 11982
11978 int main() { 11983 int main() {
11979 char *p = (char *) alloca(1); 11984 char *p = (char *) alloca(1);
11980 ; return 0; } 11985 ; return 0; }
11981 EOF 11986 EOF
11982 if { (eval echo configure:11983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11987 if { (eval echo configure:11988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11983 rm -rf conftest* 11988 rm -rf conftest*
11984 ac_cv_func_alloca_works=yes 11989 ac_cv_func_alloca_works=yes
11985 else 11990 else
11986 echo "configure: failed program was:" >&5 11991 echo "configure: failed program was:" >&5
11987 cat conftest.$ac_ext >&5 11992 cat conftest.$ac_ext >&5
12016 EOF 12021 EOF
12017 } 12022 }
12018 12023
12019 12024
12020 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 12025 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
12021 echo "configure:12022: checking whether alloca needs Cray hooks" >&5 12026 echo "configure:12027: checking whether alloca needs Cray hooks" >&5
12022 12027
12023 cat > conftest.$ac_ext <<EOF 12028 cat > conftest.$ac_ext <<EOF
12024 #line 12025 "configure" 12029 #line 12030 "configure"
12025 #include "confdefs.h" 12030 #include "confdefs.h"
12026 #if defined(CRAY) && ! defined(CRAY2) 12031 #if defined(CRAY) && ! defined(CRAY2)
12027 webecray 12032 webecray
12028 #else 12033 #else
12029 wenotbecray 12034 wenotbecray
12043 12048
12044 echo "$ac_t""$ac_cv_os_cray" 1>&6 12049 echo "$ac_t""$ac_cv_os_cray" 1>&6
12045 if test $ac_cv_os_cray = yes; then 12050 if test $ac_cv_os_cray = yes; then
12046 for ac_func in _getb67 GETB67 getb67; do 12051 for ac_func in _getb67 GETB67 getb67; do
12047 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 12052 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12048 echo "configure:12049: checking for $ac_func" >&5 12053 echo "configure:12054: checking for $ac_func" >&5
12049 12054
12050 cat > conftest.$ac_ext <<EOF 12055 cat > conftest.$ac_ext <<EOF
12051 #line 12052 "configure" 12056 #line 12057 "configure"
12052 #include "confdefs.h" 12057 #include "confdefs.h"
12053 /* System header to define __stub macros and hopefully few prototypes, 12058 /* System header to define __stub macros and hopefully few prototypes,
12054 which can conflict with char $ac_func(); below. */ 12059 which can conflict with char $ac_func(); below. */
12055 #include <assert.h> 12060 #include <assert.h>
12056 /* Override any gcc2 internal prototype to avoid an error. */ 12061 /* Override any gcc2 internal prototype to avoid an error. */
12069 $ac_func(); 12074 $ac_func();
12070 #endif 12075 #endif
12071 12076
12072 ; return 0; } 12077 ; return 0; }
12073 EOF 12078 EOF
12074 if { (eval echo configure:12075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12079 if { (eval echo configure:12080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12075 rm -rf conftest* 12080 rm -rf conftest*
12076 eval "ac_cv_func_$ac_func=yes" 12081 eval "ac_cv_func_$ac_func=yes"
12077 else 12082 else
12078 echo "configure: failed program was:" >&5 12083 echo "configure: failed program was:" >&5
12079 cat conftest.$ac_ext >&5 12084 cat conftest.$ac_ext >&5
12099 12104
12100 done 12105 done
12101 fi 12106 fi
12102 12107
12103 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 12108 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
12104 echo "configure:12105: checking stack direction for C alloca" >&5 12109 echo "configure:12110: checking stack direction for C alloca" >&5
12105 12110
12106 cat > conftest.$ac_ext <<EOF 12111 cat > conftest.$ac_ext <<EOF
12107 #line 12108 "configure" 12112 #line 12113 "configure"
12108 #include "confdefs.h" 12113 #include "confdefs.h"
12109 find_stack_direction () 12114 find_stack_direction ()
12110 { 12115 {
12111 static char *addr = 0; 12116 static char *addr = 0;
12112 auto char dummy; 12117 auto char dummy;
12121 main () 12126 main ()
12122 { 12127 {
12123 exit (find_stack_direction() < 0); 12128 exit (find_stack_direction() < 0);
12124 } 12129 }
12125 EOF 12130 EOF
12126 if { (eval echo configure:12127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 12131 if { (eval echo configure:12132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
12127 then 12132 then
12128 ac_cv_c_stack_direction=1 12133 ac_cv_c_stack_direction=1
12129 else 12134 else
12130 conftest_rc="$?" 12135 conftest_rc="$?"
12131 echo "configure: failed program was:" >&5 12136 echo "configure: failed program was:" >&5
12151 fi 12156 fi
12152 fi 12157 fi
12153 12158
12154 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` 12159 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'`
12155 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 12160 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6
12156 echo "configure:12157: checking for vfork.h" >&5 12161 echo "configure:12162: checking for vfork.h" >&5
12157 12162
12158 cat > conftest.$ac_ext <<EOF 12163 cat > conftest.$ac_ext <<EOF
12159 #line 12160 "configure" 12164 #line 12165 "configure"
12160 #include "confdefs.h" 12165 #include "confdefs.h"
12161 #include <vfork.h> 12166 #include <vfork.h>
12162 EOF 12167 EOF
12163 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12168 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12164 { (eval echo configure:12165: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12169 { (eval echo configure:12170: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12165 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12170 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12166 if test -z "$ac_err"; then 12171 if test -z "$ac_err"; then
12167 rm -rf conftest* 12172 rm -rf conftest*
12168 eval "ac_cv_header_$ac_safe=yes" 12173 eval "ac_cv_header_$ac_safe=yes"
12169 else 12174 else
12187 else 12192 else
12188 echo "$ac_t""no" 1>&6 12193 echo "$ac_t""no" 1>&6
12189 fi 12194 fi
12190 12195
12191 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 12196 echo $ac_n "checking for working vfork""... $ac_c" 1>&6
12192 echo "configure:12193: checking for working vfork" >&5 12197 echo "configure:12198: checking for working vfork" >&5
12193 12198
12194 cat > conftest.$ac_ext <<EOF 12199 cat > conftest.$ac_ext <<EOF
12195 #line 12196 "configure" 12200 #line 12201 "configure"
12196 #include "confdefs.h" 12201 #include "confdefs.h"
12197 /* Thanks to Paul Eggert for this test. */ 12202 /* Thanks to Paul Eggert for this test. */
12198 #include <stdio.h> 12203 #include <stdio.h>
12199 #include <sys/types.h> 12204 #include <sys/types.h>
12200 #include <sys/stat.h> 12205 #include <sys/stat.h>
12285 || fstat(fileno(stdout), &st) != 0 12290 || fstat(fileno(stdout), &st) != 0
12286 ); 12291 );
12287 } 12292 }
12288 } 12293 }
12289 EOF 12294 EOF
12290 if { (eval echo configure:12291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 12295 if { (eval echo configure:12296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
12291 then 12296 then
12292 ac_cv_func_vfork_works=yes 12297 ac_cv_func_vfork_works=yes
12293 else 12298 else
12294 conftest_rc="$?" 12299 conftest_rc="$?"
12295 echo "configure: failed program was:" >&5 12300 echo "configure: failed program was:" >&5
12311 12316
12312 fi 12317 fi
12313 12318
12314 12319
12315 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 12320 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6
12316 echo "configure:12317: checking for working strcoll" >&5 12321 echo "configure:12322: checking for working strcoll" >&5
12317 12322
12318 cat > conftest.$ac_ext <<EOF 12323 cat > conftest.$ac_ext <<EOF
12319 #line 12320 "configure" 12324 #line 12325 "configure"
12320 #include "confdefs.h" 12325 #include "confdefs.h"
12321 #include <string.h> 12326 #include <string.h>
12322 main () 12327 main ()
12323 { 12328 {
12324 exit (strcoll ("abc", "def") >= 0 || 12329 exit (strcoll ("abc", "def") >= 0 ||
12325 strcoll ("ABC", "DEF") >= 0 || 12330 strcoll ("ABC", "DEF") >= 0 ||
12326 strcoll ("123", "456") >= 0); 12331 strcoll ("123", "456") >= 0);
12327 } 12332 }
12328 EOF 12333 EOF
12329 if { (eval echo configure:12330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 12334 if { (eval echo configure:12335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
12330 then 12335 then
12331 ac_cv_func_strcoll_works=yes 12336 ac_cv_func_strcoll_works=yes
12332 else 12337 else
12333 conftest_rc="$?" 12338 conftest_rc="$?"
12334 echo "configure: failed program was:" >&5 12339 echo "configure: failed program was:" >&5
12352 12357
12353 12358
12354 for ac_func in getpgrp 12359 for ac_func in getpgrp
12355 do 12360 do
12356 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 12361 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12357 echo "configure:12358: checking for $ac_func" >&5 12362 echo "configure:12363: checking for $ac_func" >&5
12358 12363
12359 cat > conftest.$ac_ext <<EOF 12364 cat > conftest.$ac_ext <<EOF
12360 #line 12361 "configure" 12365 #line 12366 "configure"
12361 #include "confdefs.h" 12366 #include "confdefs.h"
12362 /* System header to define __stub macros and hopefully few prototypes, 12367 /* System header to define __stub macros and hopefully few prototypes,
12363 which can conflict with char $ac_func(); below. */ 12368 which can conflict with char $ac_func(); below. */
12364 #include <assert.h> 12369 #include <assert.h>
12365 /* Override any gcc2 internal prototype to avoid an error. */ 12370 /* Override any gcc2 internal prototype to avoid an error. */
12378 $ac_func(); 12383 $ac_func();
12379 #endif 12384 #endif
12380 12385
12381 ; return 0; } 12386 ; return 0; }
12382 EOF 12387 EOF
12383 if { (eval echo configure:12384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12388 if { (eval echo configure:12389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12384 rm -rf conftest* 12389 rm -rf conftest*
12385 eval "ac_cv_func_$ac_func=yes" 12390 eval "ac_cv_func_$ac_func=yes"
12386 else 12391 else
12387 echo "configure: failed program was:" >&5 12392 echo "configure: failed program was:" >&5
12388 cat conftest.$ac_ext >&5 12393 cat conftest.$ac_ext >&5
12406 echo "$ac_t""no" 1>&6 12411 echo "$ac_t""no" 1>&6
12407 fi 12412 fi
12408 done 12413 done
12409 12414
12410 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 12415 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6
12411 echo "configure:12412: checking whether getpgrp takes no argument" >&5 12416 echo "configure:12417: checking whether getpgrp takes no argument" >&5
12412 12417
12413 cat > conftest.$ac_ext <<EOF 12418 cat > conftest.$ac_ext <<EOF
12414 #line 12415 "configure" 12419 #line 12420 "configure"
12415 #include "confdefs.h" 12420 #include "confdefs.h"
12416 12421
12417 /* 12422 /*
12418 * If this system has a BSD-style getpgrp(), 12423 * If this system has a BSD-style getpgrp(),
12419 * which takes a pid argument, exit unsuccessfully. 12424 * which takes a pid argument, exit unsuccessfully.
12464 exit(s>>8); 12469 exit(s>>8);
12465 } 12470 }
12466 } 12471 }
12467 12472
12468 EOF 12473 EOF
12469 if { (eval echo configure:12470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 12474 if { (eval echo configure:12475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
12470 then 12475 then
12471 ac_cv_func_getpgrp_void=yes 12476 ac_cv_func_getpgrp_void=yes
12472 else 12477 else
12473 conftest_rc="$?" 12478 conftest_rc="$?"
12474 echo "configure: failed program was:" >&5 12479 echo "configure: failed program was:" >&5
12491 12496
12492 fi 12497 fi
12493 12498
12494 12499
12495 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 12500 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
12496 echo "configure:12497: checking for working mmap" >&5 12501 echo "configure:12502: checking for working mmap" >&5
12497 case "$opsys" in ultrix* ) have_mmap=no ;; *) 12502 case "$opsys" in ultrix* ) have_mmap=no ;; *)
12498 cat > conftest.$ac_ext <<EOF 12503 cat > conftest.$ac_ext <<EOF
12499 #line 12500 "configure" 12504 #line 12505 "configure"
12500 #include "confdefs.h" 12505 #include "confdefs.h"
12501 #include <stdio.h> 12506 #include <stdio.h>
12502 #include <unistd.h> 12507 #include <unistd.h>
12503 #include <fcntl.h> 12508 #include <fcntl.h>
12504 #include <sys/mman.h> 12509 #include <sys/mman.h>
12527 return 0; 12532 return 0;
12528 perror ("conftest: mmap failed"); 12533 perror ("conftest: mmap failed");
12529 return 1; 12534 return 1;
12530 } 12535 }
12531 EOF 12536 EOF
12532 if { (eval echo configure:12533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 12537 if { (eval echo configure:12538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
12533 then 12538 then
12534 have_mmap=yes 12539 have_mmap=yes
12535 else 12540 else
12536 conftest_rc="$?" 12541 conftest_rc="$?"
12537 echo "configure: failed program was:" >&5 12542 echo "configure: failed program was:" >&5
12556 esac 12561 esac
12557 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no 12562 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no
12558 if test "$rel_alloc $have_mmap" = "default yes"; then 12563 if test "$rel_alloc $have_mmap" = "default yes"; then
12559 if test "$doug_lea_malloc" = "yes"; then 12564 if test "$doug_lea_malloc" = "yes"; then
12560 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 12565 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6
12561 echo "configure:12562: checking for M_MMAP_THRESHOLD" >&5 12566 echo "configure:12567: checking for M_MMAP_THRESHOLD" >&5
12562 cat > conftest.$ac_ext <<EOF 12567 cat > conftest.$ac_ext <<EOF
12563 #line 12564 "configure" 12568 #line 12569 "configure"
12564 #include "confdefs.h" 12569 #include "confdefs.h"
12565 #include <malloc.h> 12570 #include <malloc.h>
12566 int main() { 12571 int main() {
12567 12572
12568 #ifndef M_MMAP_THRESHOLD 12573 #ifndef M_MMAP_THRESHOLD
12570 !@+$%^&*_)(_ - unlikely to compile... 12575 !@+$%^&*_)(_ - unlikely to compile...
12571 #endif 12576 #endif
12572 12577
12573 ; return 0; } 12578 ; return 0; }
12574 EOF 12579 EOF
12575 if { (eval echo configure:12576: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 12580 if { (eval echo configure:12581: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12576 rm -rf conftest* 12581 rm -rf conftest*
12577 rel_alloc=no; echo "$ac_t""yes" 1>&6; 12582 rel_alloc=no; echo "$ac_t""yes" 1>&6;
12578 else 12583 else
12579 echo "configure: failed program was:" >&5 12584 echo "configure: failed program was:" >&5
12580 cat conftest.$ac_ext >&5 12585 cat conftest.$ac_ext >&5
12595 } 12600 }
12596 12601
12597 12602
12598 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` 12603 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'`
12599 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 12604 echo $ac_n "checking for termios.h""... $ac_c" 1>&6
12600 echo "configure:12601: checking for termios.h" >&5 12605 echo "configure:12606: checking for termios.h" >&5
12601 12606
12602 cat > conftest.$ac_ext <<EOF 12607 cat > conftest.$ac_ext <<EOF
12603 #line 12604 "configure" 12608 #line 12609 "configure"
12604 #include "confdefs.h" 12609 #include "confdefs.h"
12605 #include <termios.h> 12610 #include <termios.h>
12606 EOF 12611 EOF
12607 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12612 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12608 { (eval echo configure:12609: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12613 { (eval echo configure:12614: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12609 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12614 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12610 if test -z "$ac_err"; then 12615 if test -z "$ac_err"; then
12611 rm -rf conftest* 12616 rm -rf conftest*
12612 eval "ac_cv_header_$ac_safe=yes" 12617 eval "ac_cv_header_$ac_safe=yes"
12613 else 12618 else
12646 12651
12647 else 12652 else
12648 echo "$ac_t""no" 1>&6 12653 echo "$ac_t""no" 1>&6
12649 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` 12654 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'`
12650 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 12655 echo $ac_n "checking for termio.h""... $ac_c" 1>&6
12651 echo "configure:12652: checking for termio.h" >&5 12656 echo "configure:12657: checking for termio.h" >&5
12652 12657
12653 cat > conftest.$ac_ext <<EOF 12658 cat > conftest.$ac_ext <<EOF
12654 #line 12655 "configure" 12659 #line 12660 "configure"
12655 #include "confdefs.h" 12660 #include "confdefs.h"
12656 #include <termio.h> 12661 #include <termio.h>
12657 EOF 12662 EOF
12658 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12663 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12659 { (eval echo configure:12660: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12664 { (eval echo configure:12665: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12660 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12665 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12661 if test -z "$ac_err"; then 12666 if test -z "$ac_err"; then
12662 rm -rf conftest* 12667 rm -rf conftest*
12663 eval "ac_cv_header_$ac_safe=yes" 12668 eval "ac_cv_header_$ac_safe=yes"
12664 else 12669 else
12686 fi 12691 fi
12687 12692
12688 12693
12689 12694
12690 echo $ac_n "checking for socket""... $ac_c" 1>&6 12695 echo $ac_n "checking for socket""... $ac_c" 1>&6
12691 echo "configure:12692: checking for socket" >&5 12696 echo "configure:12697: checking for socket" >&5
12692 12697
12693 cat > conftest.$ac_ext <<EOF 12698 cat > conftest.$ac_ext <<EOF
12694 #line 12695 "configure" 12699 #line 12700 "configure"
12695 #include "confdefs.h" 12700 #include "confdefs.h"
12696 /* System header to define __stub macros and hopefully few prototypes, 12701 /* System header to define __stub macros and hopefully few prototypes,
12697 which can conflict with char socket(); below. */ 12702 which can conflict with char socket(); below. */
12698 #include <assert.h> 12703 #include <assert.h>
12699 /* Override any gcc2 internal prototype to avoid an error. */ 12704 /* Override any gcc2 internal prototype to avoid an error. */
12712 socket(); 12717 socket();
12713 #endif 12718 #endif
12714 12719
12715 ; return 0; } 12720 ; return 0; }
12716 EOF 12721 EOF
12717 if { (eval echo configure:12718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12722 if { (eval echo configure:12723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12718 rm -rf conftest* 12723 rm -rf conftest*
12719 eval "ac_cv_func_socket=yes" 12724 eval "ac_cv_func_socket=yes"
12720 else 12725 else
12721 echo "configure: failed program was:" >&5 12726 echo "configure: failed program was:" >&5
12722 cat conftest.$ac_ext >&5 12727 cat conftest.$ac_ext >&5
12727 12732
12728 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then 12733 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
12729 echo "$ac_t""yes" 1>&6 12734 echo "$ac_t""yes" 1>&6
12730 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` 12735 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'`
12731 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 12736 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6
12732 echo "configure:12733: checking for netinet/in.h" >&5 12737 echo "configure:12738: checking for netinet/in.h" >&5
12733 12738
12734 cat > conftest.$ac_ext <<EOF 12739 cat > conftest.$ac_ext <<EOF
12735 #line 12736 "configure" 12740 #line 12741 "configure"
12736 #include "confdefs.h" 12741 #include "confdefs.h"
12737 #include <netinet/in.h> 12742 #include <netinet/in.h>
12738 EOF 12743 EOF
12739 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12744 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12740 { (eval echo configure:12741: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12745 { (eval echo configure:12746: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12741 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12746 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12742 if test -z "$ac_err"; then 12747 if test -z "$ac_err"; then
12743 rm -rf conftest* 12748 rm -rf conftest*
12744 eval "ac_cv_header_$ac_safe=yes" 12749 eval "ac_cv_header_$ac_safe=yes"
12745 else 12750 else
12752 rm -f conftest* 12757 rm -f conftest*
12753 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 12758 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12754 echo "$ac_t""yes" 1>&6 12759 echo "$ac_t""yes" 1>&6
12755 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` 12760 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'`
12756 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 12761 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6
12757 echo "configure:12758: checking for arpa/inet.h" >&5 12762 echo "configure:12763: checking for arpa/inet.h" >&5
12758 12763
12759 cat > conftest.$ac_ext <<EOF 12764 cat > conftest.$ac_ext <<EOF
12760 #line 12761 "configure" 12765 #line 12766 "configure"
12761 #include "confdefs.h" 12766 #include "confdefs.h"
12762 #include <arpa/inet.h> 12767 #include <arpa/inet.h>
12763 EOF 12768 EOF
12764 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12769 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12765 { (eval echo configure:12766: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12770 { (eval echo configure:12771: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12766 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12771 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12767 if test -z "$ac_err"; then 12772 if test -z "$ac_err"; then
12768 rm -rf conftest* 12773 rm -rf conftest*
12769 eval "ac_cv_header_$ac_safe=yes" 12774 eval "ac_cv_header_$ac_safe=yes"
12770 else 12775 else
12785 #define HAVE_SOCKETS 1 12790 #define HAVE_SOCKETS 1
12786 EOF 12791 EOF
12787 } 12792 }
12788 12793
12789 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 12794 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6
12790 echo "configure:12791: checking "for sun_len member in struct sockaddr_un"" >&5 12795 echo "configure:12796: checking "for sun_len member in struct sockaddr_un"" >&5
12791 cat > conftest.$ac_ext <<EOF 12796 cat > conftest.$ac_ext <<EOF
12792 #line 12793 "configure" 12797 #line 12798 "configure"
12793 #include "confdefs.h" 12798 #include "confdefs.h"
12794 12799
12795 #include <sys/types.h> 12800 #include <sys/types.h>
12796 #include <sys/socket.h> 12801 #include <sys/socket.h>
12797 #include <sys/un.h> 12802 #include <sys/un.h>
12798 12803
12799 int main() { 12804 int main() {
12800 static struct sockaddr_un x; x.sun_len = 1; 12805 static struct sockaddr_un x; x.sun_len = 1;
12801 ; return 0; } 12806 ; return 0; }
12802 EOF 12807 EOF
12803 if { (eval echo configure:12804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12808 if { (eval echo configure:12809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12804 rm -rf conftest* 12809 rm -rf conftest*
12805 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF 12810 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF
12806 Defining HAVE_SOCKADDR_SUN_LEN 12811 Defining HAVE_SOCKADDR_SUN_LEN
12807 EOF 12812 EOF
12808 cat >> confdefs.h <<\EOF 12813 cat >> confdefs.h <<\EOF
12816 rm -rf conftest* 12821 rm -rf conftest*
12817 echo "$ac_t""no" 1>&6 12822 echo "$ac_t""no" 1>&6
12818 fi 12823 fi
12819 rm -f conftest* 12824 rm -f conftest*
12820 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 12825 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6
12821 echo "configure:12822: checking "for ip_mreq struct in netinet/in.h"" >&5 12826 echo "configure:12827: checking "for ip_mreq struct in netinet/in.h"" >&5
12822 cat > conftest.$ac_ext <<EOF 12827 cat > conftest.$ac_ext <<EOF
12823 #line 12824 "configure" 12828 #line 12829 "configure"
12824 #include "confdefs.h" 12829 #include "confdefs.h"
12825 12830
12826 #include <sys/types.h> 12831 #include <sys/types.h>
12827 #include <netinet/in.h> 12832 #include <netinet/in.h>
12828 12833
12829 int main() { 12834 int main() {
12830 static struct ip_mreq x; 12835 static struct ip_mreq x;
12831 ; return 0; } 12836 ; return 0; }
12832 EOF 12837 EOF
12833 if { (eval echo configure:12834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12838 if { (eval echo configure:12839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12834 rm -rf conftest* 12839 rm -rf conftest*
12835 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF 12840 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF
12836 Defining HAVE_MULTICAST 12841 Defining HAVE_MULTICAST
12837 EOF 12842 EOF
12838 cat >> confdefs.h <<\EOF 12843 cat >> confdefs.h <<\EOF
12859 echo "$ac_t""no" 1>&6 12864 echo "$ac_t""no" 1>&6
12860 fi 12865 fi
12861 12866
12862 12867
12863 echo $ac_n "checking for msgget""... $ac_c" 1>&6 12868 echo $ac_n "checking for msgget""... $ac_c" 1>&6
12864 echo "configure:12865: checking for msgget" >&5 12869 echo "configure:12870: checking for msgget" >&5
12865 12870
12866 cat > conftest.$ac_ext <<EOF 12871 cat > conftest.$ac_ext <<EOF
12867 #line 12868 "configure" 12872 #line 12873 "configure"
12868 #include "confdefs.h" 12873 #include "confdefs.h"
12869 /* System header to define __stub macros and hopefully few prototypes, 12874 /* System header to define __stub macros and hopefully few prototypes,
12870 which can conflict with char msgget(); below. */ 12875 which can conflict with char msgget(); below. */
12871 #include <assert.h> 12876 #include <assert.h>
12872 /* Override any gcc2 internal prototype to avoid an error. */ 12877 /* Override any gcc2 internal prototype to avoid an error. */
12885 msgget(); 12890 msgget();
12886 #endif 12891 #endif
12887 12892
12888 ; return 0; } 12893 ; return 0; }
12889 EOF 12894 EOF
12890 if { (eval echo configure:12891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12895 if { (eval echo configure:12896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12891 rm -rf conftest* 12896 rm -rf conftest*
12892 eval "ac_cv_func_msgget=yes" 12897 eval "ac_cv_func_msgget=yes"
12893 else 12898 else
12894 echo "configure: failed program was:" >&5 12899 echo "configure: failed program was:" >&5
12895 cat conftest.$ac_ext >&5 12900 cat conftest.$ac_ext >&5
12900 12905
12901 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then 12906 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then
12902 echo "$ac_t""yes" 1>&6 12907 echo "$ac_t""yes" 1>&6
12903 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` 12908 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'`
12904 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 12909 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6
12905 echo "configure:12906: checking for sys/ipc.h" >&5 12910 echo "configure:12911: checking for sys/ipc.h" >&5
12906 12911
12907 cat > conftest.$ac_ext <<EOF 12912 cat > conftest.$ac_ext <<EOF
12908 #line 12909 "configure" 12913 #line 12914 "configure"
12909 #include "confdefs.h" 12914 #include "confdefs.h"
12910 #include <sys/ipc.h> 12915 #include <sys/ipc.h>
12911 EOF 12916 EOF
12912 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12917 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12913 { (eval echo configure:12914: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12918 { (eval echo configure:12919: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12914 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12919 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12915 if test -z "$ac_err"; then 12920 if test -z "$ac_err"; then
12916 rm -rf conftest* 12921 rm -rf conftest*
12917 eval "ac_cv_header_$ac_safe=yes" 12922 eval "ac_cv_header_$ac_safe=yes"
12918 else 12923 else
12925 rm -f conftest* 12930 rm -f conftest*
12926 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 12931 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12927 echo "$ac_t""yes" 1>&6 12932 echo "$ac_t""yes" 1>&6
12928 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` 12933 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'`
12929 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 12934 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6
12930 echo "configure:12931: checking for sys/msg.h" >&5 12935 echo "configure:12936: checking for sys/msg.h" >&5
12931 12936
12932 cat > conftest.$ac_ext <<EOF 12937 cat > conftest.$ac_ext <<EOF
12933 #line 12934 "configure" 12938 #line 12939 "configure"
12934 #include "confdefs.h" 12939 #include "confdefs.h"
12935 #include <sys/msg.h> 12940 #include <sys/msg.h>
12936 EOF 12941 EOF
12937 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12942 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12938 { (eval echo configure:12939: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12943 { (eval echo configure:12944: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12939 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12944 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12940 if test -z "$ac_err"; then 12945 if test -z "$ac_err"; then
12941 rm -rf conftest* 12946 rm -rf conftest*
12942 eval "ac_cv_header_$ac_safe=yes" 12947 eval "ac_cv_header_$ac_safe=yes"
12943 else 12948 else
12971 fi 12976 fi
12972 12977
12973 12978
12974 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` 12979 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'`
12975 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 12980 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6
12976 echo "configure:12977: checking for dirent.h" >&5 12981 echo "configure:12982: checking for dirent.h" >&5
12977 12982
12978 cat > conftest.$ac_ext <<EOF 12983 cat > conftest.$ac_ext <<EOF
12979 #line 12980 "configure" 12984 #line 12985 "configure"
12980 #include "confdefs.h" 12985 #include "confdefs.h"
12981 #include <dirent.h> 12986 #include <dirent.h>
12982 EOF 12987 EOF
12983 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12988 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12984 { (eval echo configure:12985: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12989 { (eval echo configure:12990: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12985 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12990 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12986 if test -z "$ac_err"; then 12991 if test -z "$ac_err"; then
12987 rm -rf conftest* 12992 rm -rf conftest*
12988 eval "ac_cv_header_$ac_safe=yes" 12993 eval "ac_cv_header_$ac_safe=yes"
12989 else 12994 else
13006 13011
13007 else 13012 else
13008 echo "$ac_t""no" 1>&6 13013 echo "$ac_t""no" 1>&6
13009 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` 13014 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'`
13010 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 13015 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6
13011 echo "configure:13012: checking for sys/dir.h" >&5 13016 echo "configure:13017: checking for sys/dir.h" >&5
13012 13017
13013 cat > conftest.$ac_ext <<EOF 13018 cat > conftest.$ac_ext <<EOF
13014 #line 13015 "configure" 13019 #line 13020 "configure"
13015 #include "confdefs.h" 13020 #include "confdefs.h"
13016 #include <sys/dir.h> 13021 #include <sys/dir.h>
13017 EOF 13022 EOF
13018 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13023 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13019 { (eval echo configure:13020: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13024 { (eval echo configure:13025: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13020 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13025 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13021 if test -z "$ac_err"; then 13026 if test -z "$ac_err"; then
13022 rm -rf conftest* 13027 rm -rf conftest*
13023 eval "ac_cv_header_$ac_safe=yes" 13028 eval "ac_cv_header_$ac_safe=yes"
13024 else 13029 else
13047 fi 13052 fi
13048 13053
13049 13054
13050 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` 13055 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'`
13051 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 13056 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6
13052 echo "configure:13053: checking for nlist.h" >&5 13057 echo "configure:13058: checking for nlist.h" >&5
13053 13058
13054 cat > conftest.$ac_ext <<EOF 13059 cat > conftest.$ac_ext <<EOF
13055 #line 13056 "configure" 13060 #line 13061 "configure"
13056 #include "confdefs.h" 13061 #include "confdefs.h"
13057 #include <nlist.h> 13062 #include <nlist.h>
13058 EOF 13063 EOF
13059 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13064 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13060 { (eval echo configure:13061: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13065 { (eval echo configure:13066: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13061 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13066 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13062 if test -z "$ac_err"; then 13067 if test -z "$ac_err"; then
13063 rm -rf conftest* 13068 rm -rf conftest*
13064 eval "ac_cv_header_$ac_safe=yes" 13069 eval "ac_cv_header_$ac_safe=yes"
13065 else 13070 else
13085 fi 13090 fi
13086 13091
13087 13092
13088 13093
13089 echo "checking "for sound support"" 1>&6 13094 echo "checking "for sound support"" 1>&6
13090 echo "configure:13091: checking "for sound support"" >&5 13095 echo "configure:13096: checking "for sound support"" >&5
13091 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes 13096 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes
13092 13097
13093 if test "$with_native_sound" != "no"; then 13098 if test "$with_native_sound" != "no"; then
13094 if test -n "$native_sound_lib"; then 13099 if test -n "$native_sound_lib"; then
13095 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` 13100 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'`
13096 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 13101 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6
13097 echo "configure:13098: checking for multimedia/audio_device.h" >&5 13102 echo "configure:13103: checking for multimedia/audio_device.h" >&5
13098 13103
13099 cat > conftest.$ac_ext <<EOF 13104 cat > conftest.$ac_ext <<EOF
13100 #line 13101 "configure" 13105 #line 13106 "configure"
13101 #include "confdefs.h" 13106 #include "confdefs.h"
13102 #include <multimedia/audio_device.h> 13107 #include <multimedia/audio_device.h>
13103 EOF 13108 EOF
13104 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13109 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13105 { (eval echo configure:13106: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13110 { (eval echo configure:13111: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13106 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13111 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13107 if test -z "$ac_err"; then 13112 if test -z "$ac_err"; then
13108 rm -rf conftest* 13113 rm -rf conftest*
13109 eval "ac_cv_header_$ac_safe=yes" 13114 eval "ac_cv_header_$ac_safe=yes"
13110 else 13115 else
13148 case "$canonical" in 13153 case "$canonical" in
13149 *-sgi-* ) 13154 *-sgi-* )
13150 if test -z "$native_sound_lib"; then 13155 if test -z "$native_sound_lib"; then
13151 13156
13152 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 13157 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6
13153 echo "configure:13154: checking for ALopenport in -laudio" >&5 13158 echo "configure:13159: checking for ALopenport in -laudio" >&5
13154 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` 13159 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'`
13155 13160
13156 xe_check_libs=" -laudio " 13161 xe_check_libs=" -laudio "
13157 cat > conftest.$ac_ext <<EOF 13162 cat > conftest.$ac_ext <<EOF
13158 #line 13159 "configure" 13163 #line 13164 "configure"
13159 #include "confdefs.h" 13164 #include "confdefs.h"
13160 /* Override any gcc2 internal prototype to avoid an error. */ 13165 /* Override any gcc2 internal prototype to avoid an error. */
13161 /* We use char because int might match the return type of a gcc2 13166 /* We use char because int might match the return type of a gcc2
13162 builtin and then its argument prototype would still apply. */ 13167 builtin and then its argument prototype would still apply. */
13163 char ALopenport(); 13168 char ALopenport();
13164 13169
13165 int main() { 13170 int main() {
13166 ALopenport() 13171 ALopenport()
13167 ; return 0; } 13172 ; return 0; }
13168 EOF 13173 EOF
13169 if { (eval echo configure:13170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13174 if { (eval echo configure:13175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13170 rm -rf conftest* 13175 rm -rf conftest*
13171 eval "ac_cv_lib_$ac_lib_var=yes" 13176 eval "ac_cv_lib_$ac_lib_var=yes"
13172 else 13177 else
13173 echo "configure: failed program was:" >&5 13178 echo "configure: failed program was:" >&5
13174 cat conftest.$ac_ext >&5 13179 cat conftest.$ac_ext >&5
13195 fi ;; 13200 fi ;;
13196 hppa*-hp-hpux* ) 13201 hppa*-hp-hpux* )
13197 if test -z "$native_sound_lib"; then 13202 if test -z "$native_sound_lib"; then
13198 13203
13199 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 13204 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6
13200 echo "configure:13201: checking for AOpenAudio in -lAlib" >&5 13205 echo "configure:13206: checking for AOpenAudio in -lAlib" >&5
13201 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` 13206 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'`
13202 13207
13203 xe_check_libs=" -lAlib " 13208 xe_check_libs=" -lAlib "
13204 cat > conftest.$ac_ext <<EOF 13209 cat > conftest.$ac_ext <<EOF
13205 #line 13206 "configure" 13210 #line 13211 "configure"
13206 #include "confdefs.h" 13211 #include "confdefs.h"
13207 /* Override any gcc2 internal prototype to avoid an error. */ 13212 /* Override any gcc2 internal prototype to avoid an error. */
13208 /* We use char because int might match the return type of a gcc2 13213 /* We use char because int might match the return type of a gcc2
13209 builtin and then its argument prototype would still apply. */ 13214 builtin and then its argument prototype would still apply. */
13210 char AOpenAudio(); 13215 char AOpenAudio();
13211 13216
13212 int main() { 13217 int main() {
13213 AOpenAudio() 13218 AOpenAudio()
13214 ; return 0; } 13219 ; return 0; }
13215 EOF 13220 EOF
13216 if { (eval echo configure:13217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13221 if { (eval echo configure:13222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13217 rm -rf conftest* 13222 rm -rf conftest*
13218 eval "ac_cv_lib_$ac_lib_var=yes" 13223 eval "ac_cv_lib_$ac_lib_var=yes"
13219 else 13224 else
13220 echo "configure: failed program was:" >&5 13225 echo "configure: failed program was:" >&5
13221 cat conftest.$ac_ext >&5 13226 cat conftest.$ac_ext >&5
13259 13264
13260 if test -z "$sound_found"; then 13265 if test -z "$sound_found"; then
13261 for dir in "machine" "sys" "linux"; do 13266 for dir in "machine" "sys" "linux"; do
13262 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` 13267 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'`
13263 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 13268 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6
13264 echo "configure:13265: checking for ${dir}/soundcard.h" >&5 13269 echo "configure:13270: checking for ${dir}/soundcard.h" >&5
13265 13270
13266 cat > conftest.$ac_ext <<EOF 13271 cat > conftest.$ac_ext <<EOF
13267 #line 13268 "configure" 13272 #line 13273 "configure"
13268 #include "confdefs.h" 13273 #include "confdefs.h"
13269 #include <${dir}/soundcard.h> 13274 #include <${dir}/soundcard.h>
13270 EOF 13275 EOF
13271 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13276 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13272 { (eval echo configure:13273: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13277 { (eval echo configure:13278: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13273 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13278 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13274 if test -z "$ac_err"; then 13279 if test -z "$ac_err"; then
13275 rm -rf conftest* 13280 rm -rf conftest*
13276 eval "ac_cv_header_$ac_safe=yes" 13281 eval "ac_cv_header_$ac_safe=yes"
13277 else 13282 else
13321 fi 13326 fi
13322 13327
13323 if test "$with_nas_sound" != "no"; then 13328 if test "$with_nas_sound" != "no"; then
13324 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` 13329 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'`
13325 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 13330 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6
13326 echo "configure:13327: checking for audio/audiolib.h" >&5 13331 echo "configure:13332: checking for audio/audiolib.h" >&5
13327 13332
13328 cat > conftest.$ac_ext <<EOF 13333 cat > conftest.$ac_ext <<EOF
13329 #line 13330 "configure" 13334 #line 13335 "configure"
13330 #include "confdefs.h" 13335 #include "confdefs.h"
13331 #include <audio/audiolib.h> 13336 #include <audio/audiolib.h>
13332 EOF 13337 EOF
13333 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13338 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13334 { (eval echo configure:13335: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13339 { (eval echo configure:13340: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13335 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13340 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13336 if test -z "$ac_err"; then 13341 if test -z "$ac_err"; then
13337 rm -rf conftest* 13342 rm -rf conftest*
13338 eval "ac_cv_header_$ac_safe=yes" 13343 eval "ac_cv_header_$ac_safe=yes"
13339 else 13344 else
13347 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 13352 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13348 echo "$ac_t""yes" 1>&6 13353 echo "$ac_t""yes" 1>&6
13349 13354
13350 13355
13351 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 13356 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6
13352 echo "configure:13353: checking for AuOpenServer in -laudio" >&5 13357 echo "configure:13358: checking for AuOpenServer in -laudio" >&5
13353 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` 13358 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'`
13354 13359
13355 xe_check_libs=" -laudio " 13360 xe_check_libs=" -laudio "
13356 cat > conftest.$ac_ext <<EOF 13361 cat > conftest.$ac_ext <<EOF
13357 #line 13358 "configure" 13362 #line 13363 "configure"
13358 #include "confdefs.h" 13363 #include "confdefs.h"
13359 /* Override any gcc2 internal prototype to avoid an error. */ 13364 /* Override any gcc2 internal prototype to avoid an error. */
13360 /* We use char because int might match the return type of a gcc2 13365 /* We use char because int might match the return type of a gcc2
13361 builtin and then its argument prototype would still apply. */ 13366 builtin and then its argument prototype would still apply. */
13362 char AuOpenServer(); 13367 char AuOpenServer();
13363 13368
13364 int main() { 13369 int main() {
13365 AuOpenServer() 13370 AuOpenServer()
13366 ; return 0; } 13371 ; return 0; }
13367 EOF 13372 EOF
13368 if { (eval echo configure:13369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13373 if { (eval echo configure:13374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13369 rm -rf conftest* 13374 rm -rf conftest*
13370 eval "ac_cv_lib_$ac_lib_var=yes" 13375 eval "ac_cv_lib_$ac_lib_var=yes"
13371 else 13376 else
13372 echo "configure: failed program was:" >&5 13377 echo "configure: failed program was:" >&5
13373 cat conftest.$ac_ext >&5 13378 cat conftest.$ac_ext >&5
13402 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then 13407 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then
13403 echo " xemacs will be linked with \"nas.o\"" 13408 echo " xemacs will be linked with \"nas.o\""
13404 fi 13409 fi
13405 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi 13410 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi
13406 cat > conftest.$ac_ext <<EOF 13411 cat > conftest.$ac_ext <<EOF
13407 #line 13408 "configure" 13412 #line 13413 "configure"
13408 #include "confdefs.h" 13413 #include "confdefs.h"
13409 #include <audio/Xtutil.h> 13414 #include <audio/Xtutil.h>
13410 EOF 13415 EOF
13411 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 13416 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13412 egrep "AuXtErrorJump" >/dev/null 2>&1; then 13417 egrep "AuXtErrorJump" >/dev/null 2>&1; then
13433 13438
13434 if test "$with_esd_sound" != "no"; then 13439 if test "$with_esd_sound" != "no"; then
13435 # Extract the first word of "esd-config", so it can be a program name with args. 13440 # Extract the first word of "esd-config", so it can be a program name with args.
13436 set dummy esd-config; ac_word=$2 13441 set dummy esd-config; ac_word=$2
13437 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 13442 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
13438 echo "configure:13439: checking for $ac_word" >&5 13443 echo "configure:13444: checking for $ac_word" >&5
13439 13444
13440 if test -n "$have_esd_config"; then 13445 if test -n "$have_esd_config"; then
13441 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. 13446 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test.
13442 else 13447 else
13443 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 13448 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
13462 if test "$have_esd_config" = "yes"; then 13467 if test "$have_esd_config" = "yes"; then
13463 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" 13468 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS"
13464 c_switch_site="$c_switch_site `esd-config --cflags`" && if test "$extra_verbose" = "yes"; then echo " Appending \"`esd-config --cflags`\" to \$c_switch_site"; fi 13469 c_switch_site="$c_switch_site `esd-config --cflags`" && if test "$extra_verbose" = "yes"; then echo " Appending \"`esd-config --cflags`\" to \$c_switch_site"; fi
13465 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi 13470 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi
13466 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 13471 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6
13467 echo "configure:13468: checking for esd_play_stream" >&5 13472 echo "configure:13473: checking for esd_play_stream" >&5
13468 13473
13469 cat > conftest.$ac_ext <<EOF 13474 cat > conftest.$ac_ext <<EOF
13470 #line 13471 "configure" 13475 #line 13476 "configure"
13471 #include "confdefs.h" 13476 #include "confdefs.h"
13472 /* System header to define __stub macros and hopefully few prototypes, 13477 /* System header to define __stub macros and hopefully few prototypes,
13473 which can conflict with char esd_play_stream(); below. */ 13478 which can conflict with char esd_play_stream(); below. */
13474 #include <assert.h> 13479 #include <assert.h>
13475 /* Override any gcc2 internal prototype to avoid an error. */ 13480 /* Override any gcc2 internal prototype to avoid an error. */
13488 esd_play_stream(); 13493 esd_play_stream();
13489 #endif 13494 #endif
13490 13495
13491 ; return 0; } 13496 ; return 0; }
13492 EOF 13497 EOF
13493 if { (eval echo configure:13494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13498 if { (eval echo configure:13499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13494 rm -rf conftest* 13499 rm -rf conftest*
13495 eval "ac_cv_func_esd_play_stream=yes" 13500 eval "ac_cv_func_esd_play_stream=yes"
13496 else 13501 else
13497 echo "configure: failed program was:" >&5 13502 echo "configure: failed program was:" >&5
13498 cat conftest.$ac_ext >&5 13503 cat conftest.$ac_ext >&5
13539 13544
13540 test -z "$with_tty" && with_tty=yes 13545 test -z "$with_tty" && with_tty=yes
13541 13546
13542 if test "$with_tty" = "yes" ; then 13547 if test "$with_tty" = "yes" ; then
13543 echo "checking for TTY-related features" 1>&6 13548 echo "checking for TTY-related features" 1>&6
13544 echo "configure:13545: checking for TTY-related features" >&5 13549 echo "configure:13550: checking for TTY-related features" >&5
13545 { test "$extra_verbose" = "yes" && cat << \EOF 13550 { test "$extra_verbose" = "yes" && cat << \EOF
13546 Defining HAVE_TTY 13551 Defining HAVE_TTY
13547 EOF 13552 EOF
13548 cat >> confdefs.h <<\EOF 13553 cat >> confdefs.h <<\EOF
13549 #define HAVE_TTY 1 13554 #define HAVE_TTY 1
13555 fi 13560 fi
13556 13561
13557 if test -z "$with_ncurses"; then 13562 if test -z "$with_ncurses"; then
13558 13563
13559 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 13564 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6
13560 echo "configure:13561: checking for tgetent in -lncurses" >&5 13565 echo "configure:13566: checking for tgetent in -lncurses" >&5
13561 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` 13566 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'`
13562 13567
13563 xe_check_libs=" -lncurses " 13568 xe_check_libs=" -lncurses "
13564 cat > conftest.$ac_ext <<EOF 13569 cat > conftest.$ac_ext <<EOF
13565 #line 13566 "configure" 13570 #line 13571 "configure"
13566 #include "confdefs.h" 13571 #include "confdefs.h"
13567 /* Override any gcc2 internal prototype to avoid an error. */ 13572 /* Override any gcc2 internal prototype to avoid an error. */
13568 /* We use char because int might match the return type of a gcc2 13573 /* We use char because int might match the return type of a gcc2
13569 builtin and then its argument prototype would still apply. */ 13574 builtin and then its argument prototype would still apply. */
13570 char tgetent(); 13575 char tgetent();
13571 13576
13572 int main() { 13577 int main() {
13573 tgetent() 13578 tgetent()
13574 ; return 0; } 13579 ; return 0; }
13575 EOF 13580 EOF
13576 if { (eval echo configure:13577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13581 if { (eval echo configure:13582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13577 rm -rf conftest* 13582 rm -rf conftest*
13578 eval "ac_cv_lib_$ac_lib_var=yes" 13583 eval "ac_cv_lib_$ac_lib_var=yes"
13579 else 13584 else
13580 echo "configure: failed program was:" >&5 13585 echo "configure: failed program was:" >&5
13581 cat conftest.$ac_ext >&5 13586 cat conftest.$ac_ext >&5
13604 EOF 13609 EOF
13605 } 13610 }
13606 13611
13607 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` 13612 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'`
13608 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 13613 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6
13609 echo "configure:13610: checking for ncurses/curses.h" >&5 13614 echo "configure:13615: checking for ncurses/curses.h" >&5
13610 13615
13611 cat > conftest.$ac_ext <<EOF 13616 cat > conftest.$ac_ext <<EOF
13612 #line 13613 "configure" 13617 #line 13618 "configure"
13613 #include "confdefs.h" 13618 #include "confdefs.h"
13614 #include <ncurses/curses.h> 13619 #include <ncurses/curses.h>
13615 EOF 13620 EOF
13616 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13621 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13617 { (eval echo configure:13618: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13622 { (eval echo configure:13623: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13618 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13623 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13619 if test -z "$ac_err"; then 13624 if test -z "$ac_err"; then
13620 rm -rf conftest* 13625 rm -rf conftest*
13621 eval "ac_cv_header_$ac_safe=yes" 13626 eval "ac_cv_header_$ac_safe=yes"
13622 else 13627 else
13634 echo "$ac_t""no" 1>&6 13639 echo "$ac_t""no" 1>&6
13635 fi 13640 fi
13636 13641
13637 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` 13642 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'`
13638 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 13643 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6
13639 echo "configure:13640: checking for ncurses/term.h" >&5 13644 echo "configure:13645: checking for ncurses/term.h" >&5
13640 13645
13641 cat > conftest.$ac_ext <<EOF 13646 cat > conftest.$ac_ext <<EOF
13642 #line 13643 "configure" 13647 #line 13648 "configure"
13643 #include "confdefs.h" 13648 #include "confdefs.h"
13644 #include <ncurses/term.h> 13649 #include <ncurses/term.h>
13645 EOF 13650 EOF
13646 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13651 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13647 { (eval echo configure:13648: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13652 { (eval echo configure:13653: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13648 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13653 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13649 if test -z "$ac_err"; then 13654 if test -z "$ac_err"; then
13650 rm -rf conftest* 13655 rm -rf conftest*
13651 eval "ac_cv_header_$ac_safe=yes" 13656 eval "ac_cv_header_$ac_safe=yes"
13652 else 13657 else
13672 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then 13677 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then
13673 save_c_switch_site="$c_switch_site" 13678 save_c_switch_site="$c_switch_site"
13674 c_switch_site="$c_switch_site -I/usr/include/ncurses" 13679 c_switch_site="$c_switch_site -I/usr/include/ncurses"
13675 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` 13680 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'`
13676 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 13681 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6
13677 echo "configure:13678: checking for ncurses/curses.h" >&5 13682 echo "configure:13683: checking for ncurses/curses.h" >&5
13678 13683
13679 cat > conftest.$ac_ext <<EOF 13684 cat > conftest.$ac_ext <<EOF
13680 #line 13681 "configure" 13685 #line 13686 "configure"
13681 #include "confdefs.h" 13686 #include "confdefs.h"
13682 #include <ncurses/curses.h> 13687 #include <ncurses/curses.h>
13683 EOF 13688 EOF
13684 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13689 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13685 { (eval echo configure:13686: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13690 { (eval echo configure:13691: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13686 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13691 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13687 if test -z "$ac_err"; then 13692 if test -z "$ac_err"; then
13688 rm -rf conftest* 13693 rm -rf conftest*
13689 eval "ac_cv_header_$ac_safe=yes" 13694 eval "ac_cv_header_$ac_safe=yes"
13690 else 13695 else
13715 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi 13720 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi
13716 else 13721 else
13717 for lib in curses termlib termcap; do 13722 for lib in curses termlib termcap; do
13718 13723
13719 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 13724 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6
13720 echo "configure:13721: checking for tgetent in -l$lib" >&5 13725 echo "configure:13726: checking for tgetent in -l$lib" >&5
13721 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` 13726 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'`
13722 13727
13723 xe_check_libs=" -l$lib " 13728 xe_check_libs=" -l$lib "
13724 cat > conftest.$ac_ext <<EOF 13729 cat > conftest.$ac_ext <<EOF
13725 #line 13726 "configure" 13730 #line 13731 "configure"
13726 #include "confdefs.h" 13731 #include "confdefs.h"
13727 /* Override any gcc2 internal prototype to avoid an error. */ 13732 /* Override any gcc2 internal prototype to avoid an error. */
13728 /* We use char because int might match the return type of a gcc2 13733 /* We use char because int might match the return type of a gcc2
13729 builtin and then its argument prototype would still apply. */ 13734 builtin and then its argument prototype would still apply. */
13730 char tgetent(); 13735 char tgetent();
13731 13736
13732 int main() { 13737 int main() {
13733 tgetent() 13738 tgetent()
13734 ; return 0; } 13739 ; return 0; }
13735 EOF 13740 EOF
13736 if { (eval echo configure:13737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13741 if { (eval echo configure:13742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13737 rm -rf conftest* 13742 rm -rf conftest*
13738 eval "ac_cv_lib_$ac_lib_var=yes" 13743 eval "ac_cv_lib_$ac_lib_var=yes"
13739 else 13744 else
13740 echo "configure: failed program was:" >&5 13745 echo "configure: failed program was:" >&5
13741 cat conftest.$ac_ext >&5 13746 cat conftest.$ac_ext >&5
13762 if test -n "$libs_termcap"; then 13767 if test -n "$libs_termcap"; then
13763 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi 13768 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi
13764 else 13769 else
13765 13770
13766 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 13771 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6
13767 echo "configure:13768: checking for tgetent in -lcurses" >&5 13772 echo "configure:13773: checking for tgetent in -lcurses" >&5
13768 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` 13773 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'`
13769 13774
13770 xe_check_libs=" -lcurses " 13775 xe_check_libs=" -lcurses "
13771 cat > conftest.$ac_ext <<EOF 13776 cat > conftest.$ac_ext <<EOF
13772 #line 13773 "configure" 13777 #line 13778 "configure"
13773 #include "confdefs.h" 13778 #include "confdefs.h"
13774 /* Override any gcc2 internal prototype to avoid an error. */ 13779 /* Override any gcc2 internal prototype to avoid an error. */
13775 /* We use char because int might match the return type of a gcc2 13780 /* We use char because int might match the return type of a gcc2
13776 builtin and then its argument prototype would still apply. */ 13781 builtin and then its argument prototype would still apply. */
13777 char tgetent(); 13782 char tgetent();
13778 13783
13779 int main() { 13784 int main() {
13780 tgetent() 13785 tgetent()
13781 ; return 0; } 13786 ; return 0; }
13782 EOF 13787 EOF
13783 if { (eval echo configure:13784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13788 if { (eval echo configure:13789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13784 rm -rf conftest* 13789 rm -rf conftest*
13785 eval "ac_cv_lib_$ac_lib_var=yes" 13790 eval "ac_cv_lib_$ac_lib_var=yes"
13786 else 13791 else
13787 echo "configure: failed program was:" >&5 13792 echo "configure: failed program was:" >&5
13788 cat conftest.$ac_ext >&5 13793 cat conftest.$ac_ext >&5
13796 echo "$ac_t""yes" 1>&6 13801 echo "$ac_t""yes" 1>&6
13797 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi 13802 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi
13798 else 13803 else
13799 echo "$ac_t""no" 1>&6 13804 echo "$ac_t""no" 1>&6
13800 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 13805 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6
13801 echo "configure:13802: checking for tgetent in -ltermcap" >&5 13806 echo "configure:13807: checking for tgetent in -ltermcap" >&5
13802 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` 13807 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'`
13803 13808
13804 xe_check_libs=" -ltermcap " 13809 xe_check_libs=" -ltermcap "
13805 cat > conftest.$ac_ext <<EOF 13810 cat > conftest.$ac_ext <<EOF
13806 #line 13807 "configure" 13811 #line 13812 "configure"
13807 #include "confdefs.h" 13812 #include "confdefs.h"
13808 /* Override any gcc2 internal prototype to avoid an error. */ 13813 /* Override any gcc2 internal prototype to avoid an error. */
13809 /* We use char because int might match the return type of a gcc2 13814 /* We use char because int might match the return type of a gcc2
13810 builtin and then its argument prototype would still apply. */ 13815 builtin and then its argument prototype would still apply. */
13811 char tgetent(); 13816 char tgetent();
13812 13817
13813 int main() { 13818 int main() {
13814 tgetent() 13819 tgetent()
13815 ; return 0; } 13820 ; return 0; }
13816 EOF 13821 EOF
13817 if { (eval echo configure:13818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13822 if { (eval echo configure:13823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13818 rm -rf conftest* 13823 rm -rf conftest*
13819 eval "ac_cv_lib_$ac_lib_var=yes" 13824 eval "ac_cv_lib_$ac_lib_var=yes"
13820 else 13825 else
13821 echo "configure: failed program was:" >&5 13826 echo "configure: failed program was:" >&5
13822 cat conftest.$ac_ext >&5 13827 cat conftest.$ac_ext >&5
13860 } 13865 }
13861 13866
13862 13867
13863 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` 13868 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'`
13864 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 13869 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6
13865 echo "configure:13866: checking for gpm.h" >&5 13870 echo "configure:13871: checking for gpm.h" >&5
13866 13871
13867 cat > conftest.$ac_ext <<EOF 13872 cat > conftest.$ac_ext <<EOF
13868 #line 13869 "configure" 13873 #line 13874 "configure"
13869 #include "confdefs.h" 13874 #include "confdefs.h"
13870 #include <gpm.h> 13875 #include <gpm.h>
13871 EOF 13876 EOF
13872 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13877 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13873 { (eval echo configure:13874: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13878 { (eval echo configure:13879: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13874 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13879 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13875 if test -z "$ac_err"; then 13880 if test -z "$ac_err"; then
13876 rm -rf conftest* 13881 rm -rf conftest*
13877 eval "ac_cv_header_$ac_safe=yes" 13882 eval "ac_cv_header_$ac_safe=yes"
13878 else 13883 else
13891 with_gpm=no 13896 with_gpm=no
13892 fi 13897 fi
13893 } 13898 }
13894 test -z "$with_gpm" && { 13899 test -z "$with_gpm" && {
13895 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 13900 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6
13896 echo "configure:13897: checking for Gpm_Open in -lgpm" >&5 13901 echo "configure:13902: checking for Gpm_Open in -lgpm" >&5
13897 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` 13902 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'`
13898 13903
13899 xe_check_libs=" -lgpm " 13904 xe_check_libs=" -lgpm "
13900 cat > conftest.$ac_ext <<EOF 13905 cat > conftest.$ac_ext <<EOF
13901 #line 13902 "configure" 13906 #line 13907 "configure"
13902 #include "confdefs.h" 13907 #include "confdefs.h"
13903 /* Override any gcc2 internal prototype to avoid an error. */ 13908 /* Override any gcc2 internal prototype to avoid an error. */
13904 /* We use char because int might match the return type of a gcc2 13909 /* We use char because int might match the return type of a gcc2
13905 builtin and then its argument prototype would still apply. */ 13910 builtin and then its argument prototype would still apply. */
13906 char Gpm_Open(); 13911 char Gpm_Open();
13907 13912
13908 int main() { 13913 int main() {
13909 Gpm_Open() 13914 Gpm_Open()
13910 ; return 0; } 13915 ; return 0; }
13911 EOF 13916 EOF
13912 if { (eval echo configure:13913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13917 if { (eval echo configure:13918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13913 rm -rf conftest* 13918 rm -rf conftest*
13914 eval "ac_cv_lib_$ac_lib_var=yes" 13919 eval "ac_cv_lib_$ac_lib_var=yes"
13915 else 13920 else
13916 echo "configure: failed program was:" >&5 13921 echo "configure: failed program was:" >&5
13917 cat conftest.$ac_ext >&5 13922 cat conftest.$ac_ext >&5
13957 fi 13962 fi
13958 13963
13959 13964
13960 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ 13965 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \
13961 != "no no no" && echo "checking for database support" 1>&6 13966 != "no no no" && echo "checking for database support" 1>&6
13962 echo "configure:13963: checking for database support" >&5 13967 echo "configure:13968: checking for database support" >&5
13963 13968
13964 if test "$with_database_gdbm $with_database_dbm" != "no no"; then 13969 if test "$with_database_gdbm $with_database_dbm" != "no no"; then
13965 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` 13970 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'`
13966 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 13971 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6
13967 echo "configure:13968: checking for ndbm.h" >&5 13972 echo "configure:13973: checking for ndbm.h" >&5
13968 13973
13969 cat > conftest.$ac_ext <<EOF 13974 cat > conftest.$ac_ext <<EOF
13970 #line 13971 "configure" 13975 #line 13976 "configure"
13971 #include "confdefs.h" 13976 #include "confdefs.h"
13972 #include <ndbm.h> 13977 #include <ndbm.h>
13973 EOF 13978 EOF
13974 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13979 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13975 { (eval echo configure:13976: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13980 { (eval echo configure:13981: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13976 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13981 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13977 if test -z "$ac_err"; then 13982 if test -z "$ac_err"; then
13978 rm -rf conftest* 13983 rm -rf conftest*
13979 eval "ac_cv_header_$ac_safe=yes" 13984 eval "ac_cv_header_$ac_safe=yes"
13980 else 13985 else
14000 fi 14005 fi
14001 14006
14002 if test "$with_database_gdbm" != "no"; then 14007 if test "$with_database_gdbm" != "no"; then
14003 14008
14004 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 14009 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6
14005 echo "configure:14006: checking for dbm_open in -lgdbm" >&5 14010 echo "configure:14011: checking for dbm_open in -lgdbm" >&5
14006 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` 14011 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'`
14007 14012
14008 xe_check_libs=" -lgdbm " 14013 xe_check_libs=" -lgdbm "
14009 cat > conftest.$ac_ext <<EOF 14014 cat > conftest.$ac_ext <<EOF
14010 #line 14011 "configure" 14015 #line 14016 "configure"
14011 #include "confdefs.h" 14016 #include "confdefs.h"
14012 /* Override any gcc2 internal prototype to avoid an error. */ 14017 /* Override any gcc2 internal prototype to avoid an error. */
14013 /* We use char because int might match the return type of a gcc2 14018 /* We use char because int might match the return type of a gcc2
14014 builtin and then its argument prototype would still apply. */ 14019 builtin and then its argument prototype would still apply. */
14015 char dbm_open(); 14020 char dbm_open();
14016 14021
14017 int main() { 14022 int main() {
14018 dbm_open() 14023 dbm_open()
14019 ; return 0; } 14024 ; return 0; }
14020 EOF 14025 EOF
14021 if { (eval echo configure:14022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14026 if { (eval echo configure:14027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14022 rm -rf conftest* 14027 rm -rf conftest*
14023 eval "ac_cv_lib_$ac_lib_var=yes" 14028 eval "ac_cv_lib_$ac_lib_var=yes"
14024 else 14029 else
14025 echo "configure: failed program was:" >&5 14030 echo "configure: failed program was:" >&5
14026 cat conftest.$ac_ext >&5 14031 cat conftest.$ac_ext >&5
14044 14049
14045 fi 14050 fi
14046 14051
14047 if test "$with_database_dbm" != "no"; then 14052 if test "$with_database_dbm" != "no"; then
14048 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 14053 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6
14049 echo "configure:14050: checking for dbm_open" >&5 14054 echo "configure:14055: checking for dbm_open" >&5
14050 14055
14051 cat > conftest.$ac_ext <<EOF 14056 cat > conftest.$ac_ext <<EOF
14052 #line 14053 "configure" 14057 #line 14058 "configure"
14053 #include "confdefs.h" 14058 #include "confdefs.h"
14054 /* System header to define __stub macros and hopefully few prototypes, 14059 /* System header to define __stub macros and hopefully few prototypes,
14055 which can conflict with char dbm_open(); below. */ 14060 which can conflict with char dbm_open(); below. */
14056 #include <assert.h> 14061 #include <assert.h>
14057 /* Override any gcc2 internal prototype to avoid an error. */ 14062 /* Override any gcc2 internal prototype to avoid an error. */
14070 dbm_open(); 14075 dbm_open();
14071 #endif 14076 #endif
14072 14077
14073 ; return 0; } 14078 ; return 0; }
14074 EOF 14079 EOF
14075 if { (eval echo configure:14076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14080 if { (eval echo configure:14081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14076 rm -rf conftest* 14081 rm -rf conftest*
14077 eval "ac_cv_func_dbm_open=yes" 14082 eval "ac_cv_func_dbm_open=yes"
14078 else 14083 else
14079 echo "configure: failed program was:" >&5 14084 echo "configure: failed program was:" >&5
14080 cat conftest.$ac_ext >&5 14085 cat conftest.$ac_ext >&5
14089 else 14094 else
14090 echo "$ac_t""no" 1>&6 14095 echo "$ac_t""no" 1>&6
14091 14096
14092 14097
14093 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 14098 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6
14094 echo "configure:14095: checking for dbm_open in -ldbm" >&5 14099 echo "configure:14100: checking for dbm_open in -ldbm" >&5
14095 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` 14100 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'`
14096 14101
14097 xe_check_libs=" -ldbm " 14102 xe_check_libs=" -ldbm "
14098 cat > conftest.$ac_ext <<EOF 14103 cat > conftest.$ac_ext <<EOF
14099 #line 14100 "configure" 14104 #line 14105 "configure"
14100 #include "confdefs.h" 14105 #include "confdefs.h"
14101 /* Override any gcc2 internal prototype to avoid an error. */ 14106 /* Override any gcc2 internal prototype to avoid an error. */
14102 /* We use char because int might match the return type of a gcc2 14107 /* We use char because int might match the return type of a gcc2
14103 builtin and then its argument prototype would still apply. */ 14108 builtin and then its argument prototype would still apply. */
14104 char dbm_open(); 14109 char dbm_open();
14105 14110
14106 int main() { 14111 int main() {
14107 dbm_open() 14112 dbm_open()
14108 ; return 0; } 14113 ; return 0; }
14109 EOF 14114 EOF
14110 if { (eval echo configure:14111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14115 if { (eval echo configure:14116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14111 rm -rf conftest* 14116 rm -rf conftest*
14112 eval "ac_cv_lib_$ac_lib_var=yes" 14117 eval "ac_cv_lib_$ac_lib_var=yes"
14113 else 14118 else
14114 echo "configure: failed program was:" >&5 14119 echo "configure: failed program was:" >&5
14115 cat conftest.$ac_ext >&5 14120 cat conftest.$ac_ext >&5
14146 } 14151 }
14147 14152
14148 14153
14149 if test "$with_database_berkdb" != "no"; then 14154 if test "$with_database_berkdb" != "no"; then
14150 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 14155 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6
14151 echo "configure:14152: checking for Berkeley db.h" >&5 14156 echo "configure:14157: checking for Berkeley db.h" >&5
14152 for header in "db/db.h" "db.h"; do 14157 for header in "db/db.h" "db.h"; do
14153 cat > conftest.$ac_ext <<EOF 14158 cat > conftest.$ac_ext <<EOF
14154 #line 14155 "configure" 14159 #line 14160 "configure"
14155 #include "confdefs.h" 14160 #include "confdefs.h"
14156 14161
14157 #include <stdlib.h> 14162 #include <stdlib.h>
14158 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) 14163 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1)
14159 #ifdef HAVE_INTTYPES_H 14164 #ifdef HAVE_INTTYPES_H
14171 14176
14172 int main() { 14177 int main() {
14173 14178
14174 ; return 0; } 14179 ; return 0; }
14175 EOF 14180 EOF
14176 if { (eval echo configure:14177: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 14181 if { (eval echo configure:14182: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14177 rm -rf conftest* 14182 rm -rf conftest*
14178 db_h_file="$header"; break 14183 db_h_file="$header"; break
14179 else 14184 else
14180 echo "configure: failed program was:" >&5 14185 echo "configure: failed program was:" >&5
14181 cat conftest.$ac_ext >&5 14186 cat conftest.$ac_ext >&5
14187 else echo "$ac_t""$db_h_file" 1>&6 14192 else echo "$ac_t""$db_h_file" 1>&6
14188 fi 14193 fi
14189 14194
14190 if test "$with_database_berkdb" != "no"; then 14195 if test "$with_database_berkdb" != "no"; then
14191 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 14196 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6
14192 echo "configure:14193: checking for Berkeley DB version" >&5 14197 echo "configure:14198: checking for Berkeley DB version" >&5
14193 cat > conftest.$ac_ext <<EOF 14198 cat > conftest.$ac_ext <<EOF
14194 #line 14195 "configure" 14199 #line 14200 "configure"
14195 #include "confdefs.h" 14200 #include "confdefs.h"
14196 #include <$db_h_file> 14201 #include <$db_h_file>
14197 #if DB_VERSION_MAJOR > 1 14202 #if DB_VERSION_MAJOR > 1
14198 yes 14203 yes
14199 #endif 14204 #endif
14201 EOF 14206 EOF
14202 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 14207 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14203 egrep "yes" >/dev/null 2>&1; then 14208 egrep "yes" >/dev/null 2>&1; then
14204 rm -rf conftest* 14209 rm -rf conftest*
14205 cat > conftest.$ac_ext <<EOF 14210 cat > conftest.$ac_ext <<EOF
14206 #line 14207 "configure" 14211 #line 14212 "configure"
14207 #include "confdefs.h" 14212 #include "confdefs.h"
14208 #include <$db_h_file> 14213 #include <$db_h_file>
14209 #if DB_VERSION_MAJOR > 2 14214 #if DB_VERSION_MAJOR > 2
14210 yes 14215 yes
14211 #endif 14216 #endif
14228 echo "$ac_t""1" 1>&6; dbfunc=dbopen 14233 echo "$ac_t""1" 1>&6; dbfunc=dbopen
14229 fi 14234 fi
14230 rm -f conftest* 14235 rm -f conftest*
14231 14236
14232 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 14237 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6
14233 echo "configure:14234: checking for $dbfunc" >&5 14238 echo "configure:14239: checking for $dbfunc" >&5
14234 14239
14235 cat > conftest.$ac_ext <<EOF 14240 cat > conftest.$ac_ext <<EOF
14236 #line 14237 "configure" 14241 #line 14242 "configure"
14237 #include "confdefs.h" 14242 #include "confdefs.h"
14238 /* System header to define __stub macros and hopefully few prototypes, 14243 /* System header to define __stub macros and hopefully few prototypes,
14239 which can conflict with char $dbfunc(); below. */ 14244 which can conflict with char $dbfunc(); below. */
14240 #include <assert.h> 14245 #include <assert.h>
14241 /* Override any gcc2 internal prototype to avoid an error. */ 14246 /* Override any gcc2 internal prototype to avoid an error. */
14254 $dbfunc(); 14259 $dbfunc();
14255 #endif 14260 #endif
14256 14261
14257 ; return 0; } 14262 ; return 0; }
14258 EOF 14263 EOF
14259 if { (eval echo configure:14260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14264 if { (eval echo configure:14265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14260 rm -rf conftest* 14265 rm -rf conftest*
14261 eval "ac_cv_func_$dbfunc=yes" 14266 eval "ac_cv_func_$dbfunc=yes"
14262 else 14267 else
14263 echo "configure: failed program was:" >&5 14268 echo "configure: failed program was:" >&5
14264 cat conftest.$ac_ext >&5 14269 cat conftest.$ac_ext >&5
14273 else 14278 else
14274 echo "$ac_t""no" 1>&6 14279 echo "$ac_t""no" 1>&6
14275 14280
14276 14281
14277 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 14282 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6
14278 echo "configure:14279: checking for $dbfunc in -ldb" >&5 14283 echo "configure:14284: checking for $dbfunc in -ldb" >&5
14279 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` 14284 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'`
14280 14285
14281 xe_check_libs=" -ldb " 14286 xe_check_libs=" -ldb "
14282 cat > conftest.$ac_ext <<EOF 14287 cat > conftest.$ac_ext <<EOF
14283 #line 14284 "configure" 14288 #line 14289 "configure"
14284 #include "confdefs.h" 14289 #include "confdefs.h"
14285 /* Override any gcc2 internal prototype to avoid an error. */ 14290 /* Override any gcc2 internal prototype to avoid an error. */
14286 /* We use char because int might match the return type of a gcc2 14291 /* We use char because int might match the return type of a gcc2
14287 builtin and then its argument prototype would still apply. */ 14292 builtin and then its argument prototype would still apply. */
14288 char $dbfunc(); 14293 char $dbfunc();
14289 14294
14290 int main() { 14295 int main() {
14291 $dbfunc() 14296 $dbfunc()
14292 ; return 0; } 14297 ; return 0; }
14293 EOF 14298 EOF
14294 if { (eval echo configure:14295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14299 if { (eval echo configure:14300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14295 rm -rf conftest* 14300 rm -rf conftest*
14296 eval "ac_cv_lib_$ac_lib_var=yes" 14301 eval "ac_cv_lib_$ac_lib_var=yes"
14297 else 14302 else
14298 echo "configure: failed program was:" >&5 14303 echo "configure: failed program was:" >&5
14299 cat conftest.$ac_ext >&5 14304 cat conftest.$ac_ext >&5
14353 fi 14358 fi
14354 14359
14355 if test "$with_socks" = "yes"; then 14360 if test "$with_socks" = "yes"; then
14356 14361
14357 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 14362 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6
14358 echo "configure:14359: checking for SOCKSinit in -lsocks" >&5 14363 echo "configure:14364: checking for SOCKSinit in -lsocks" >&5
14359 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` 14364 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'`
14360 14365
14361 xe_check_libs=" -lsocks " 14366 xe_check_libs=" -lsocks "
14362 cat > conftest.$ac_ext <<EOF 14367 cat > conftest.$ac_ext <<EOF
14363 #line 14364 "configure" 14368 #line 14369 "configure"
14364 #include "confdefs.h" 14369 #include "confdefs.h"
14365 /* Override any gcc2 internal prototype to avoid an error. */ 14370 /* Override any gcc2 internal prototype to avoid an error. */
14366 /* We use char because int might match the return type of a gcc2 14371 /* We use char because int might match the return type of a gcc2
14367 builtin and then its argument prototype would still apply. */ 14372 builtin and then its argument prototype would still apply. */
14368 char SOCKSinit(); 14373 char SOCKSinit();
14369 14374
14370 int main() { 14375 int main() {
14371 SOCKSinit() 14376 SOCKSinit()
14372 ; return 0; } 14377 ; return 0; }
14373 EOF 14378 EOF
14374 if { (eval echo configure:14375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14379 if { (eval echo configure:14380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14375 rm -rf conftest* 14380 rm -rf conftest*
14376 eval "ac_cv_lib_$ac_lib_var=yes" 14381 eval "ac_cv_lib_$ac_lib_var=yes"
14377 else 14382 else
14378 echo "configure: failed program was:" >&5 14383 echo "configure: failed program was:" >&5
14379 cat conftest.$ac_ext >&5 14384 cat conftest.$ac_ext >&5
14424 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi 14429 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi
14425 fi 14430 fi
14426 14431
14427 if test "$with_modules" != "no"; then 14432 if test "$with_modules" != "no"; then
14428 echo "checking for module support" 1>&6 14433 echo "checking for module support" 1>&6
14429 echo "configure:14430: checking for module support" >&5 14434 echo "configure:14435: checking for module support" >&5
14430 14435
14431 if test "$with_msw" = "yes"; then 14436 if test "$with_msw" = "yes"; then
14432 have_dl=yes; 14437 have_dl=yes;
14433 else 14438 else
14434 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` 14439 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'`
14435 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 14440 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6
14436 echo "configure:14437: checking for dlfcn.h" >&5 14441 echo "configure:14442: checking for dlfcn.h" >&5
14437 14442
14438 cat > conftest.$ac_ext <<EOF 14443 cat > conftest.$ac_ext <<EOF
14439 #line 14440 "configure" 14444 #line 14445 "configure"
14440 #include "confdefs.h" 14445 #include "confdefs.h"
14441 #include <dlfcn.h> 14446 #include <dlfcn.h>
14442 EOF 14447 EOF
14443 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14448 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14444 { (eval echo configure:14445: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14449 { (eval echo configure:14450: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14445 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14450 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14446 if test -z "$ac_err"; then 14451 if test -z "$ac_err"; then
14447 rm -rf conftest* 14452 rm -rf conftest*
14448 eval "ac_cv_header_$ac_safe=yes" 14453 eval "ac_cv_header_$ac_safe=yes"
14449 else 14454 else
14456 rm -f conftest* 14461 rm -f conftest*
14457 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 14462 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14458 echo "$ac_t""yes" 1>&6 14463 echo "$ac_t""yes" 1>&6
14459 14464
14460 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 14465 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6
14461 echo "configure:14462: checking for dlopen in -lc" >&5 14466 echo "configure:14467: checking for dlopen in -lc" >&5
14462 cat > conftest.$ac_ext <<EOF 14467 cat > conftest.$ac_ext <<EOF
14463 #line 14464 "configure" 14468 #line 14469 "configure"
14464 #include "confdefs.h" 14469 #include "confdefs.h"
14465 #include <dlfcn.h> 14470 #include <dlfcn.h>
14466 int main() { 14471 int main() {
14467 dlopen ("", 0); 14472 dlopen ("", 0);
14468 ; return 0; } 14473 ; return 0; }
14469 EOF 14474 EOF
14470 if { (eval echo configure:14471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14475 if { (eval echo configure:14476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14471 rm -rf conftest* 14476 rm -rf conftest*
14472 have_dl=yes 14477 have_dl=yes
14473 else 14478 else
14474 echo "configure: failed program was:" >&5 14479 echo "configure: failed program was:" >&5
14475 cat conftest.$ac_ext >&5 14480 cat conftest.$ac_ext >&5
14476 rm -rf conftest* 14481 rm -rf conftest*
14477 14482
14478 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 14483 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
14479 echo "configure:14480: checking for dlopen in -ldl" >&5 14484 echo "configure:14485: checking for dlopen in -ldl" >&5
14480 ac_save_LIBS="$LIBS" 14485 ac_save_LIBS="$LIBS"
14481 LIBS="-ldl $LIBS" 14486 LIBS="-ldl $LIBS"
14482 cat > conftest.$ac_ext <<EOF 14487 cat > conftest.$ac_ext <<EOF
14483 #line 14484 "configure" 14488 #line 14489 "configure"
14484 #include "confdefs.h" 14489 #include "confdefs.h"
14485 #include <dlfcn.h> 14490 #include <dlfcn.h>
14486 int main() { 14491 int main() {
14487 dlopen ("", 0); 14492 dlopen ("", 0);
14488 ; return 0; } 14493 ; return 0; }
14489 EOF 14494 EOF
14490 if { (eval echo configure:14491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14495 if { (eval echo configure:14496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14491 rm -rf conftest* 14496 rm -rf conftest*
14492 have_dl=yes 14497 have_dl=yes
14493 else 14498 else
14494 echo "configure: failed program was:" >&5 14499 echo "configure: failed program was:" >&5
14495 cat conftest.$ac_ext >&5 14500 cat conftest.$ac_ext >&5
14514 } 14519 }
14515 14520
14516 else 14521 else
14517 14522
14518 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 14523 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6
14519 echo "configure:14520: checking for shl_load in -ldld" >&5 14524 echo "configure:14525: checking for shl_load in -ldld" >&5
14520 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` 14525 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`
14521 14526
14522 xe_check_libs=" -ldld " 14527 xe_check_libs=" -ldld "
14523 cat > conftest.$ac_ext <<EOF 14528 cat > conftest.$ac_ext <<EOF
14524 #line 14525 "configure" 14529 #line 14530 "configure"
14525 #include "confdefs.h" 14530 #include "confdefs.h"
14526 /* Override any gcc2 internal prototype to avoid an error. */ 14531 /* Override any gcc2 internal prototype to avoid an error. */
14527 /* We use char because int might match the return type of a gcc2 14532 /* We use char because int might match the return type of a gcc2
14528 builtin and then its argument prototype would still apply. */ 14533 builtin and then its argument prototype would still apply. */
14529 char shl_load(); 14534 char shl_load();
14530 14535
14531 int main() { 14536 int main() {
14532 shl_load() 14537 shl_load()
14533 ; return 0; } 14538 ; return 0; }
14534 EOF 14539 EOF
14535 if { (eval echo configure:14536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14540 if { (eval echo configure:14541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14536 rm -rf conftest* 14541 rm -rf conftest*
14537 eval "ac_cv_lib_$ac_lib_var=yes" 14542 eval "ac_cv_lib_$ac_lib_var=yes"
14538 else 14543 else
14539 echo "configure: failed program was:" >&5 14544 echo "configure: failed program was:" >&5
14540 cat conftest.$ac_ext >&5 14545 cat conftest.$ac_ext >&5
14557 14562
14558 else 14563 else
14559 echo "$ac_t""no" 1>&6 14564 echo "$ac_t""no" 1>&6
14560 14565
14561 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 14566 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6
14562 echo "configure:14563: checking for dld_init in -ldld" >&5 14567 echo "configure:14568: checking for dld_init in -ldld" >&5
14563 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` 14568 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'`
14564 14569
14565 xe_check_libs=" -ldld " 14570 xe_check_libs=" -ldld "
14566 cat > conftest.$ac_ext <<EOF 14571 cat > conftest.$ac_ext <<EOF
14567 #line 14568 "configure" 14572 #line 14573 "configure"
14568 #include "confdefs.h" 14573 #include "confdefs.h"
14569 /* Override any gcc2 internal prototype to avoid an error. */ 14574 /* Override any gcc2 internal prototype to avoid an error. */
14570 /* We use char because int might match the return type of a gcc2 14575 /* We use char because int might match the return type of a gcc2
14571 builtin and then its argument prototype would still apply. */ 14576 builtin and then its argument prototype would still apply. */
14572 char dld_init(); 14577 char dld_init();
14573 14578
14574 int main() { 14579 int main() {
14575 dld_init() 14580 dld_init()
14576 ; return 0; } 14581 ; return 0; }
14577 EOF 14582 EOF
14578 if { (eval echo configure:14579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14583 if { (eval echo configure:14584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14579 rm -rf conftest* 14584 rm -rf conftest*
14580 eval "ac_cv_lib_$ac_lib_var=yes" 14585 eval "ac_cv_lib_$ac_lib_var=yes"
14581 else 14586 else
14582 echo "configure: failed program was:" >&5 14587 echo "configure: failed program was:" >&5
14583 cat conftest.$ac_ext >&5 14588 cat conftest.$ac_ext >&5
14618 ld_dynamic_link_flags= 14623 ld_dynamic_link_flags=
14619 xehost=$canonical 14624 xehost=$canonical
14620 xealias=$internal_configuration 14625 xealias=$internal_configuration
14621 14626
14622 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 14627 echo "checking how to build dynamic libraries for ${xehost}" 1>&6
14623 echo "configure:14624: checking how to build dynamic libraries for ${xehost}" >&5 14628 echo "configure:14629: checking how to build dynamic libraries for ${xehost}" >&5
14624 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. 14629 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts.
14625 case "$xehost" in 14630 case "$xehost" in
14626 *-*-linux-gnu*) ;; 14631 *-*-linux-gnu*) ;;
14627 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` 14632 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
14628 esac 14633 esac
14646 # Now see if the compiler is really GCC. 14651 # Now see if the compiler is really GCC.
14647 if test "$GCC" = "yes"; then 14652 if test "$GCC" = "yes"; then
14648 XEGCC=yes 14653 XEGCC=yes
14649 else 14654 else
14650 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 14655 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6
14651 echo "configure:14652: checking checking whether we are using GNU C" >&5 14656 echo "configure:14657: checking checking whether we are using GNU C" >&5
14652 cat > conftest.$ac_ext <<EOF 14657 cat > conftest.$ac_ext <<EOF
14653 #line 14654 "configure" 14658 #line 14659 "configure"
14654 #include "confdefs.h" 14659 #include "confdefs.h"
14655 14660
14656 #ifdef __GNUC__ 14661 #ifdef __GNUC__
14657 yes; 14662 yes;
14658 #endif 14663 #endif
14670 14675
14671 echo "$ac_t""${XEGCC}" 1>&6 14676 echo "$ac_t""${XEGCC}" 1>&6
14672 fi 14677 fi
14673 14678
14674 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 14679 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6
14675 echo "configure:14676: checking how to produce PIC code" >&5 14680 echo "configure:14681: checking how to produce PIC code" >&5
14676 wl= 14681 wl=
14677 14682
14678 can_build_shared=yes 14683 can_build_shared=yes
14679 if test "$XEGCC" = yes; then 14684 if test "$XEGCC" = yes; then
14680 wl='-Wl,' 14685 wl='-Wl,'
14771 if test -n "$dll_cflags"; then 14776 if test -n "$dll_cflags"; then
14772 echo "$ac_t""${dll_cflags}" 1>&6 14777 echo "$ac_t""${dll_cflags}" 1>&6
14773 14778
14774 # Check to make sure the dll_cflags actually works. 14779 # Check to make sure the dll_cflags actually works.
14775 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 14780 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6
14776 echo "configure:14777: checking if PIC flag ${dll_cflags} really works" >&5 14781 echo "configure:14782: checking if PIC flag ${dll_cflags} really works" >&5
14777 save_CFLAGS="$CFLAGS" 14782 save_CFLAGS="$CFLAGS"
14778 CFLAGS="$CFLAGS $dll_cflags -DPIC" 14783 CFLAGS="$CFLAGS $dll_cflags -DPIC"
14779 cat > conftest.$ac_ext <<EOF 14784 cat > conftest.$ac_ext <<EOF
14780 #line 14781 "configure" 14785 #line 14786 "configure"
14781 #include "confdefs.h" 14786 #include "confdefs.h"
14782 14787
14783 int main() { 14788 int main() {
14784 int x=0; 14789 int x=0;
14785 ; return 0; } 14790 ; return 0; }
14786 EOF 14791 EOF
14787 if { (eval echo configure:14788: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 14792 if { (eval echo configure:14793: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14788 rm -rf conftest* 14793 rm -rf conftest*
14789 14794
14790 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also 14795 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also
14791 # reports no error. So, we need to grep stderr for (Bundled). 14796 # reports no error. So, we need to grep stderr for (Bundled).
14792 if grep '(Bundled)' config.log >/dev/null; then 14797 if grep '(Bundled)' config.log >/dev/null; then
14813 if test "$can_build_shared" = "yes"; then 14818 if test "$can_build_shared" = "yes"; then
14814 cc_produces_so=no 14819 cc_produces_so=no
14815 xldf= 14820 xldf=
14816 xcldf= 14821 xcldf=
14817 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 14822 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6
14818 echo "configure:14819: checking if C compiler can produce shared libraries" >&5 14823 echo "configure:14824: checking if C compiler can produce shared libraries" >&5
14819 if test "$XEGCC" = yes; then 14824 if test "$XEGCC" = yes; then
14820 xcldf="-shared" 14825 xcldf="-shared"
14821 xldf="-shared" 14826 xldf="-shared"
14822 else # Not using GCC 14827 else # Not using GCC
14823 case "$xehost_os" in 14828 case "$xehost_os" in
14864 LDFLAGS="$xcldf $LDFLAGS" 14869 LDFLAGS="$xcldf $LDFLAGS"
14865 LIBS= 14870 LIBS=
14866 xe_libs= 14871 xe_libs=
14867 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' 14872 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5'
14868 cat > conftest.$ac_ext <<EOF 14873 cat > conftest.$ac_ext <<EOF
14869 #line 14870 "configure" 14874 #line 14875 "configure"
14870 #include "confdefs.h" 14875 #include "confdefs.h"
14871 14876
14872 int main() { 14877 int main() {
14873 int x=0; 14878 int x=0;
14874 ; return 0; } 14879 ; return 0; }
14875 EOF 14880 EOF
14876 if { (eval echo configure:14877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14881 if { (eval echo configure:14882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14877 rm -rf conftest* 14882 rm -rf conftest*
14878 cc_produces_so=yes 14883 cc_produces_so=yes
14879 else 14884 else
14880 echo "configure: failed program was:" >&5 14885 echo "configure: failed program was:" >&5
14881 cat conftest.$ac_ext >&5 14886 cat conftest.$ac_ext >&5
14896 if test -z "$LTLD"; then 14901 if test -z "$LTLD"; then
14897 ac_prog=ld 14902 ac_prog=ld
14898 if test "$XEGCC" = yes; then 14903 if test "$XEGCC" = yes; then
14899 # Check if gcc -print-prog-name=ld gives a path. 14904 # Check if gcc -print-prog-name=ld gives a path.
14900 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 14905 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
14901 echo "configure:14902: checking for ld used by GCC" >&5 14906 echo "configure:14907: checking for ld used by GCC" >&5
14902 ac_prog=`($CC -print-prog-name=ld) 2>&5` 14907 ac_prog=`($CC -print-prog-name=ld) 2>&5`
14903 case "$ac_prog" in 14908 case "$ac_prog" in
14904 # Accept absolute paths. 14909 # Accept absolute paths.
14905 /*) 14910 /*)
14906 if test -z "$LTLD"; then 14911 if test -z "$LTLD"; then
14922 with_gnu_ld=unknown 14927 with_gnu_ld=unknown
14923 ;; 14928 ;;
14924 esac 14929 esac
14925 else 14930 else
14926 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 14931 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
14927 echo "configure:14928: checking for GNU ld" >&5 14932 echo "configure:14933: checking for GNU ld" >&5
14928 fi 14933 fi
14929 14934
14930 if test -z "$LTLD"; then 14935 if test -z "$LTLD"; then
14931 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 14936 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
14932 for ac_dir in $PATH; do 14937 for ac_dir in $PATH; do
14960 14965
14961 ld_dynamic_link_flags= 14966 ld_dynamic_link_flags=
14962 14967
14963 # Check to see if it really is or isn't GNU ld. 14968 # Check to see if it really is or isn't GNU ld.
14964 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 14969 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6
14965 echo "configure:14966: checking if the linker is GNU ld" >&5 14970 echo "configure:14971: checking if the linker is GNU ld" >&5
14966 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 14971 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
14967 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then 14972 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
14968 xe_gnu_ld=yes 14973 xe_gnu_ld=yes
14969 else 14974 else
14970 xe_gnu_ld=no 14975 xe_gnu_ld=no
14988 ld_shlibs=yes 14993 ld_shlibs=yes
14989 else 14994 else
14990 # OK - only NOW do we futz about with ld. 14995 # OK - only NOW do we futz about with ld.
14991 # See if the linker supports building shared libraries. 14996 # See if the linker supports building shared libraries.
14992 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 14997 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6
14993 echo "configure:14994: checking whether the linker supports shared libraries" >&5 14998 echo "configure:14999: checking whether the linker supports shared libraries" >&5
14994 dll_ld=$CC 14999 dll_ld=$CC
14995 dll_ldflags=$LDFLAGS 15000 dll_ldflags=$LDFLAGS
14996 ld_shlibs=yes 15001 ld_shlibs=yes
14997 can_build_shared=yes 15002 can_build_shared=yes
14998 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then 15003 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then
15199 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi 15204 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi
15200 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi 15205 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi
15201 for ac_func in dlerror _dlerror 15206 for ac_func in dlerror _dlerror
15202 do 15207 do
15203 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 15208 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15204 echo "configure:15205: checking for $ac_func" >&5 15209 echo "configure:15210: checking for $ac_func" >&5
15205 15210
15206 cat > conftest.$ac_ext <<EOF 15211 cat > conftest.$ac_ext <<EOF
15207 #line 15208 "configure" 15212 #line 15213 "configure"
15208 #include "confdefs.h" 15213 #include "confdefs.h"
15209 /* System header to define __stub macros and hopefully few prototypes, 15214 /* System header to define __stub macros and hopefully few prototypes,
15210 which can conflict with char $ac_func(); below. */ 15215 which can conflict with char $ac_func(); below. */
15211 #include <assert.h> 15216 #include <assert.h>
15212 /* Override any gcc2 internal prototype to avoid an error. */ 15217 /* Override any gcc2 internal prototype to avoid an error. */
15225 $ac_func(); 15230 $ac_func();
15226 #endif 15231 #endif
15227 15232
15228 ; return 0; } 15233 ; return 0; }
15229 EOF 15234 EOF
15230 if { (eval echo configure:15231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15235 if { (eval echo configure:15236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15231 rm -rf conftest* 15236 rm -rf conftest*
15232 eval "ac_cv_func_$ac_func=yes" 15237 eval "ac_cv_func_$ac_func=yes"
15233 else 15238 else
15234 echo "configure: failed program was:" >&5 15239 echo "configure: failed program was:" >&5
15235 cat conftest.$ac_ext >&5 15240 cat conftest.$ac_ext >&5
15264 with_modules=no 15269 with_modules=no
15265 fi 15270 fi
15266 fi 15271 fi
15267 15272
15268 cat > conftest.$ac_ext <<EOF 15273 cat > conftest.$ac_ext <<EOF
15269 #line 15270 "configure" 15274 #line 15275 "configure"
15270 #include "confdefs.h" 15275 #include "confdefs.h"
15271 int main(int c,char *v[]){return 0;} 15276 int main(int c,char *v[]){return 0;}
15272 EOF 15277 EOF
15273 if { (eval echo configure:15274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 15278 if { (eval echo configure:15279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
15274 then 15279 then
15275 : 15280 :
15276 else 15281 else
15277 conftest_rc="$?" 15282 conftest_rc="$?"
15278 echo "configure: failed program was:" >&5 15283 echo "configure: failed program was:" >&5