Mercurial > hg > xemacs-beta
comparison configure @ 641:b17040ffddd1
[xemacs-hg @ 2001-07-28 08:14:27 by stephent]
XEmacs 21.5.2 "artichoke" is released.
author | stephent |
---|---|
date | Sat, 28 Jul 2001 08:14:59 +0000 |
parents | cdb192350f65 |
children | 6e99cc8c6ca5 |
comparison
equal
deleted
inserted
replaced
640:191dd517b9d5 | 641:b17040ffddd1 |
---|---|
4462 | 4462 |
4463 cat > conftest.$ac_ext <<EOF | 4463 cat > conftest.$ac_ext <<EOF |
4464 #line 4465 "configure" | 4464 #line 4465 "configure" |
4465 #include "confdefs.h" | 4465 #include "confdefs.h" |
4466 #include <stdio.h> | 4466 #include <stdio.h> |
4467 #include <sys/types.h> | |
4467 main() | 4468 main() |
4468 { | 4469 { |
4469 FILE *f=fopen("conftestval", "w"); | 4470 FILE *f=fopen("conftestval", "w"); |
4470 if (!f) exit(1); | 4471 if (!f) exit(1); |
4471 fprintf(f, "%d\n", sizeof(short)); | 4472 fprintf(f, "%d\n", sizeof(short)); |
4472 exit(0); | 4473 exit(0); |
4473 } | 4474 } |
4474 EOF | 4475 EOF |
4475 if { (eval echo configure:4476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4476 if { (eval echo configure:4477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4476 then | 4477 then |
4477 ac_cv_sizeof_short=`cat conftestval` | 4478 ac_cv_sizeof_short=`cat conftestval` |
4478 else | 4479 else |
4479 conftest_rc="$?" | 4480 conftest_rc="$?" |
4480 echo "configure: failed program was:" >&5 | 4481 echo "configure: failed program was:" >&5 |
4498 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 4499 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
4499 echo "*** PANIC *** Please examine config.log for compilation errors." | 4500 echo "*** PANIC *** Please examine config.log for compilation errors." |
4500 exit 1 | 4501 exit 1 |
4501 fi | 4502 fi |
4502 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 4503 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
4503 echo "configure:4504: checking size of int" >&5 | 4504 echo "configure:4505: checking size of int" >&5 |
4504 | 4505 |
4505 cat > conftest.$ac_ext <<EOF | 4506 cat > conftest.$ac_ext <<EOF |
4506 #line 4507 "configure" | 4507 #line 4508 "configure" |
4507 #include "confdefs.h" | 4508 #include "confdefs.h" |
4508 #include <stdio.h> | 4509 #include <stdio.h> |
4510 #include <sys/types.h> | |
4509 main() | 4511 main() |
4510 { | 4512 { |
4511 FILE *f=fopen("conftestval", "w"); | 4513 FILE *f=fopen("conftestval", "w"); |
4512 if (!f) exit(1); | 4514 if (!f) exit(1); |
4513 fprintf(f, "%d\n", sizeof(int)); | 4515 fprintf(f, "%d\n", sizeof(int)); |
4514 exit(0); | 4516 exit(0); |
4515 } | 4517 } |
4516 EOF | 4518 EOF |
4517 if { (eval echo configure:4518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4519 if { (eval echo configure:4520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4518 then | 4520 then |
4519 ac_cv_sizeof_int=`cat conftestval` | 4521 ac_cv_sizeof_int=`cat conftestval` |
4520 else | 4522 else |
4521 conftest_rc="$?" | 4523 conftest_rc="$?" |
4522 echo "configure: failed program was:" >&5 | 4524 echo "configure: failed program was:" >&5 |
4534 EOF | 4536 EOF |
4535 } | 4537 } |
4536 | 4538 |
4537 | 4539 |
4538 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 4540 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
4539 echo "configure:4540: checking size of long" >&5 | 4541 echo "configure:4542: checking size of long" >&5 |
4540 | 4542 |
4541 cat > conftest.$ac_ext <<EOF | 4543 cat > conftest.$ac_ext <<EOF |
4542 #line 4543 "configure" | 4544 #line 4545 "configure" |
4543 #include "confdefs.h" | 4545 #include "confdefs.h" |
4544 #include <stdio.h> | 4546 #include <stdio.h> |
4547 #include <sys/types.h> | |
4545 main() | 4548 main() |
4546 { | 4549 { |
4547 FILE *f=fopen("conftestval", "w"); | 4550 FILE *f=fopen("conftestval", "w"); |
4548 if (!f) exit(1); | 4551 if (!f) exit(1); |
4549 fprintf(f, "%d\n", sizeof(long)); | 4552 fprintf(f, "%d\n", sizeof(long)); |
4550 exit(0); | 4553 exit(0); |
4551 } | 4554 } |
4552 EOF | 4555 EOF |
4553 if { (eval echo configure:4554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4556 if { (eval echo configure:4557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4554 then | 4557 then |
4555 ac_cv_sizeof_long=`cat conftestval` | 4558 ac_cv_sizeof_long=`cat conftestval` |
4556 else | 4559 else |
4557 conftest_rc="$?" | 4560 conftest_rc="$?" |
4558 echo "configure: failed program was:" >&5 | 4561 echo "configure: failed program was:" >&5 |
4570 EOF | 4573 EOF |
4571 } | 4574 } |
4572 | 4575 |
4573 | 4576 |
4574 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 4577 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
4575 echo "configure:4576: checking size of long long" >&5 | 4578 echo "configure:4579: checking size of long long" >&5 |
4576 | 4579 |
4577 cat > conftest.$ac_ext <<EOF | 4580 cat > conftest.$ac_ext <<EOF |
4578 #line 4579 "configure" | 4581 #line 4582 "configure" |
4579 #include "confdefs.h" | 4582 #include "confdefs.h" |
4580 #include <stdio.h> | 4583 #include <stdio.h> |
4584 #include <sys/types.h> | |
4581 main() | 4585 main() |
4582 { | 4586 { |
4583 FILE *f=fopen("conftestval", "w"); | 4587 FILE *f=fopen("conftestval", "w"); |
4584 if (!f) exit(1); | 4588 if (!f) exit(1); |
4585 fprintf(f, "%d\n", sizeof(long long)); | 4589 fprintf(f, "%d\n", sizeof(long long)); |
4586 exit(0); | 4590 exit(0); |
4587 } | 4591 } |
4588 EOF | 4592 EOF |
4589 if { (eval echo configure:4590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4593 if { (eval echo configure:4594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4590 then | 4594 then |
4591 ac_cv_sizeof_long_long=`cat conftestval` | 4595 ac_cv_sizeof_long_long=`cat conftestval` |
4592 else | 4596 else |
4593 conftest_rc="$?" | 4597 conftest_rc="$?" |
4594 echo "configure: failed program was:" >&5 | 4598 echo "configure: failed program was:" >&5 |
4606 EOF | 4610 EOF |
4607 } | 4611 } |
4608 | 4612 |
4609 | 4613 |
4610 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 4614 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
4611 echo "configure:4612: checking size of void *" >&5 | 4615 echo "configure:4616: checking size of void *" >&5 |
4612 | 4616 |
4613 cat > conftest.$ac_ext <<EOF | 4617 cat > conftest.$ac_ext <<EOF |
4614 #line 4615 "configure" | 4618 #line 4619 "configure" |
4615 #include "confdefs.h" | 4619 #include "confdefs.h" |
4616 #include <stdio.h> | 4620 #include <stdio.h> |
4621 #include <sys/types.h> | |
4617 main() | 4622 main() |
4618 { | 4623 { |
4619 FILE *f=fopen("conftestval", "w"); | 4624 FILE *f=fopen("conftestval", "w"); |
4620 if (!f) exit(1); | 4625 if (!f) exit(1); |
4621 fprintf(f, "%d\n", sizeof(void *)); | 4626 fprintf(f, "%d\n", sizeof(void *)); |
4622 exit(0); | 4627 exit(0); |
4623 } | 4628 } |
4624 EOF | 4629 EOF |
4625 if { (eval echo configure:4626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4630 if { (eval echo configure:4631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4626 then | 4631 then |
4627 ac_cv_sizeof_void_p=`cat conftestval` | 4632 ac_cv_sizeof_void_p=`cat conftestval` |
4628 else | 4633 else |
4629 conftest_rc="$?" | 4634 conftest_rc="$?" |
4630 echo "configure: failed program was:" >&5 | 4635 echo "configure: failed program was:" >&5 |
4643 } | 4648 } |
4644 | 4649 |
4645 | 4650 |
4646 | 4651 |
4647 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 4652 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
4648 echo "configure:4649: checking for long file names" >&5 | 4653 echo "configure:4654: checking for long file names" >&5 |
4649 | 4654 |
4650 ac_cv_sys_long_file_names=yes | 4655 ac_cv_sys_long_file_names=yes |
4651 # Test for long file names in all the places we know might matter: | 4656 # Test for long file names in all the places we know might matter: |
4652 # . the current directory, where building will happen | 4657 # . the current directory, where building will happen |
4653 # $prefix/lib where we will be installing things | 4658 # $prefix/lib where we will be installing things |
4689 | 4694 |
4690 fi | 4695 fi |
4691 | 4696 |
4692 | 4697 |
4693 echo $ac_n "checking for sin""... $ac_c" 1>&6 | 4698 echo $ac_n "checking for sin""... $ac_c" 1>&6 |
4694 echo "configure:4695: checking for sin" >&5 | 4699 echo "configure:4700: checking for sin" >&5 |
4695 | 4700 |
4696 cat > conftest.$ac_ext <<EOF | 4701 cat > conftest.$ac_ext <<EOF |
4697 #line 4698 "configure" | 4702 #line 4703 "configure" |
4698 #include "confdefs.h" | 4703 #include "confdefs.h" |
4699 /* System header to define __stub macros and hopefully few prototypes, | 4704 /* System header to define __stub macros and hopefully few prototypes, |
4700 which can conflict with char sin(); below. */ | 4705 which can conflict with char sin(); below. */ |
4701 #include <assert.h> | 4706 #include <assert.h> |
4702 /* Override any gcc2 internal prototype to avoid an error. */ | 4707 /* Override any gcc2 internal prototype to avoid an error. */ |
4715 sin(); | 4720 sin(); |
4716 #endif | 4721 #endif |
4717 | 4722 |
4718 ; return 0; } | 4723 ; return 0; } |
4719 EOF | 4724 EOF |
4720 if { (eval echo configure:4721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4725 if { (eval echo configure:4726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4721 rm -rf conftest* | 4726 rm -rf conftest* |
4722 eval "ac_cv_func_sin=yes" | 4727 eval "ac_cv_func_sin=yes" |
4723 else | 4728 else |
4724 echo "configure: failed program was:" >&5 | 4729 echo "configure: failed program was:" >&5 |
4725 cat conftest.$ac_ext >&5 | 4730 cat conftest.$ac_ext >&5 |
4733 : | 4738 : |
4734 else | 4739 else |
4735 echo "$ac_t""no" 1>&6 | 4740 echo "$ac_t""no" 1>&6 |
4736 | 4741 |
4737 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 4742 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
4738 echo "configure:4739: checking for sin in -lm" >&5 | 4743 echo "configure:4744: checking for sin in -lm" >&5 |
4739 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 4744 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
4740 | 4745 |
4741 xe_check_libs=" -lm " | 4746 xe_check_libs=" -lm " |
4742 cat > conftest.$ac_ext <<EOF | 4747 cat > conftest.$ac_ext <<EOF |
4743 #line 4744 "configure" | 4748 #line 4749 "configure" |
4744 #include "confdefs.h" | 4749 #include "confdefs.h" |
4745 /* Override any gcc2 internal prototype to avoid an error. */ | 4750 /* Override any gcc2 internal prototype to avoid an error. */ |
4746 /* We use char because int might match the return type of a gcc2 | 4751 /* We use char because int might match the return type of a gcc2 |
4747 builtin and then its argument prototype would still apply. */ | 4752 builtin and then its argument prototype would still apply. */ |
4748 char sin(); | 4753 char sin(); |
4749 | 4754 |
4750 int main() { | 4755 int main() { |
4751 sin() | 4756 sin() |
4752 ; return 0; } | 4757 ; return 0; } |
4753 EOF | 4758 EOF |
4754 if { (eval echo configure:4755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4759 if { (eval echo configure:4760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4755 rm -rf conftest* | 4760 rm -rf conftest* |
4756 eval "ac_cv_lib_$ac_lib_var=yes" | 4761 eval "ac_cv_lib_$ac_lib_var=yes" |
4757 else | 4762 else |
4758 echo "configure: failed program was:" >&5 | 4763 echo "configure: failed program was:" >&5 |
4759 cat conftest.$ac_ext >&5 | 4764 cat conftest.$ac_ext >&5 |
4793 EOF | 4798 EOF |
4794 } | 4799 } |
4795 | 4800 |
4796 | 4801 |
4797 cat > conftest.$ac_ext <<EOF | 4802 cat > conftest.$ac_ext <<EOF |
4798 #line 4799 "configure" | 4803 #line 4804 "configure" |
4799 #include "confdefs.h" | 4804 #include "confdefs.h" |
4800 #include <math.h> | 4805 #include <math.h> |
4801 int main() { | 4806 int main() { |
4802 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 4807 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
4803 ; return 0; } | 4808 ; return 0; } |
4804 EOF | 4809 EOF |
4805 if { (eval echo configure:4806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4810 if { (eval echo configure:4811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4806 rm -rf conftest* | 4811 rm -rf conftest* |
4807 { test "$extra_verbose" = "yes" && cat << \EOF | 4812 { test "$extra_verbose" = "yes" && cat << \EOF |
4808 Defining HAVE_INVERSE_HYPERBOLIC | 4813 Defining HAVE_INVERSE_HYPERBOLIC |
4809 EOF | 4814 EOF |
4810 cat >> confdefs.h <<\EOF | 4815 cat >> confdefs.h <<\EOF |
4819 rm -f conftest* | 4824 rm -f conftest* |
4820 | 4825 |
4821 for ac_func in mkstemp | 4826 for ac_func in mkstemp |
4822 do | 4827 do |
4823 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 4828 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
4824 echo "configure:4825: checking for $ac_func" >&5 | 4829 echo "configure:4830: checking for $ac_func" >&5 |
4825 | 4830 |
4826 cat > conftest.$ac_ext <<EOF | 4831 cat > conftest.$ac_ext <<EOF |
4827 #line 4828 "configure" | 4832 #line 4833 "configure" |
4828 #include "confdefs.h" | 4833 #include "confdefs.h" |
4829 /* System header to define __stub macros and hopefully few prototypes, | 4834 /* System header to define __stub macros and hopefully few prototypes, |
4830 which can conflict with char $ac_func(); below. */ | 4835 which can conflict with char $ac_func(); below. */ |
4831 #include <assert.h> | 4836 #include <assert.h> |
4832 /* Override any gcc2 internal prototype to avoid an error. */ | 4837 /* Override any gcc2 internal prototype to avoid an error. */ |
4845 $ac_func(); | 4850 $ac_func(); |
4846 #endif | 4851 #endif |
4847 | 4852 |
4848 ; return 0; } | 4853 ; return 0; } |
4849 EOF | 4854 EOF |
4850 if { (eval echo configure:4851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4855 if { (eval echo configure:4856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4851 rm -rf conftest* | 4856 rm -rf conftest* |
4852 eval "ac_cv_func_$ac_func=yes" | 4857 eval "ac_cv_func_$ac_func=yes" |
4853 else | 4858 else |
4854 echo "configure: failed program was:" >&5 | 4859 echo "configure: failed program was:" >&5 |
4855 cat conftest.$ac_ext >&5 | 4860 cat conftest.$ac_ext >&5 |
4874 fi | 4879 fi |
4875 done | 4880 done |
4876 | 4881 |
4877 | 4882 |
4878 echo "checking type of mail spool file locking" 1>&6 | 4883 echo "checking type of mail spool file locking" 1>&6 |
4879 echo "configure:4880: checking type of mail spool file locking" >&5 | 4884 echo "configure:4885: checking type of mail spool file locking" >&5 |
4880 for ac_func in lockf flock | 4885 for ac_func in lockf flock |
4881 do | 4886 do |
4882 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 4887 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
4883 echo "configure:4884: checking for $ac_func" >&5 | 4888 echo "configure:4889: checking for $ac_func" >&5 |
4884 | 4889 |
4885 cat > conftest.$ac_ext <<EOF | 4890 cat > conftest.$ac_ext <<EOF |
4886 #line 4887 "configure" | 4891 #line 4892 "configure" |
4887 #include "confdefs.h" | 4892 #include "confdefs.h" |
4888 /* System header to define __stub macros and hopefully few prototypes, | 4893 /* System header to define __stub macros and hopefully few prototypes, |
4889 which can conflict with char $ac_func(); below. */ | 4894 which can conflict with char $ac_func(); below. */ |
4890 #include <assert.h> | 4895 #include <assert.h> |
4891 /* Override any gcc2 internal prototype to avoid an error. */ | 4896 /* Override any gcc2 internal prototype to avoid an error. */ |
4904 $ac_func(); | 4909 $ac_func(); |
4905 #endif | 4910 #endif |
4906 | 4911 |
4907 ; return 0; } | 4912 ; return 0; } |
4908 EOF | 4913 EOF |
4909 if { (eval echo configure:4910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4914 if { (eval echo configure:4915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4910 rm -rf conftest* | 4915 rm -rf conftest* |
4911 eval "ac_cv_func_$ac_func=yes" | 4916 eval "ac_cv_func_$ac_func=yes" |
4912 else | 4917 else |
4913 echo "configure: failed program was:" >&5 | 4918 echo "configure: failed program was:" >&5 |
4914 cat conftest.$ac_ext >&5 | 4919 cat conftest.$ac_ext >&5 |
4986 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } | 4991 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } |
4987 | 4992 |
4988 case "$opsys" in decosf*) | 4993 case "$opsys" in decosf*) |
4989 | 4994 |
4990 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 4995 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
4991 echo "configure:4992: checking for cma_open in -lpthreads" >&5 | 4996 echo "configure:4997: checking for cma_open in -lpthreads" >&5 |
4992 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 4997 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
4993 | 4998 |
4994 xe_check_libs=" -lpthreads " | 4999 xe_check_libs=" -lpthreads " |
4995 cat > conftest.$ac_ext <<EOF | 5000 cat > conftest.$ac_ext <<EOF |
4996 #line 4997 "configure" | 5001 #line 5002 "configure" |
4997 #include "confdefs.h" | 5002 #include "confdefs.h" |
4998 /* Override any gcc2 internal prototype to avoid an error. */ | 5003 /* Override any gcc2 internal prototype to avoid an error. */ |
4999 /* We use char because int might match the return type of a gcc2 | 5004 /* We use char because int might match the return type of a gcc2 |
5000 builtin and then its argument prototype would still apply. */ | 5005 builtin and then its argument prototype would still apply. */ |
5001 char cma_open(); | 5006 char cma_open(); |
5002 | 5007 |
5003 int main() { | 5008 int main() { |
5004 cma_open() | 5009 cma_open() |
5005 ; return 0; } | 5010 ; return 0; } |
5006 EOF | 5011 EOF |
5007 if { (eval echo configure:5008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5012 if { (eval echo configure:5013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5008 rm -rf conftest* | 5013 rm -rf conftest* |
5009 eval "ac_cv_lib_$ac_lib_var=yes" | 5014 eval "ac_cv_lib_$ac_lib_var=yes" |
5010 else | 5015 else |
5011 echo "configure: failed program was:" >&5 | 5016 echo "configure: failed program was:" >&5 |
5012 cat conftest.$ac_ext >&5 | 5017 cat conftest.$ac_ext >&5 |
5038 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ | 5043 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ |
5039 c_switch_site="$c_switch_site -threads" ;; | 5044 c_switch_site="$c_switch_site -threads" ;; |
5040 esac | 5045 esac |
5041 | 5046 |
5042 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 5047 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
5043 echo "configure:5044: checking whether the -xildoff compiler flag is required" >&5 | 5048 echo "configure:5049: checking whether the -xildoff compiler flag is required" >&5 |
5044 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 5049 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
5045 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 5050 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
5046 then echo "$ac_t""no" 1>&6; | 5051 then echo "$ac_t""no" 1>&6; |
5047 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 | 5052 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 |
5048 fi | 5053 fi |
5050 fi | 5055 fi |
5051 | 5056 |
5052 if test "$opsys" = "sol2"; then | 5057 if test "$opsys" = "sol2"; then |
5053 if test "$os_release" -ge 56; then | 5058 if test "$os_release" -ge 56; then |
5054 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 5059 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
5055 echo "configure:5056: checking for \"-z ignore\" linker flag" >&5 | 5060 echo "configure:5061: checking for \"-z ignore\" linker flag" >&5 |
5056 case "`ld -h 2>&1`" in | 5061 case "`ld -h 2>&1`" in |
5057 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 5062 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
5058 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 5063 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
5059 *) echo "$ac_t""no" 1>&6 ;; | 5064 *) echo "$ac_t""no" 1>&6 ;; |
5060 esac | 5065 esac |
5061 fi | 5066 fi |
5062 fi | 5067 fi |
5063 | 5068 |
5064 | 5069 |
5065 echo "checking "for specified window system"" 1>&6 | 5070 echo "checking "for specified window system"" 1>&6 |
5066 echo "configure:5067: checking "for specified window system"" >&5 | 5071 echo "configure:5072: checking "for specified window system"" >&5 |
5067 | 5072 |
5068 | 5073 |
5069 GNOME_CONFIG=no | 5074 GNOME_CONFIG=no |
5070 GTK_CONFIG=no | 5075 GTK_CONFIG=no |
5071 | 5076 |
5072 if test "$with_gnome" != "no"; then | 5077 if test "$with_gnome" != "no"; then |
5073 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 | 5078 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 |
5074 echo "configure:5075: checking for GNOME configuration script" >&5 | 5079 echo "configure:5080: checking for GNOME configuration script" >&5 |
5075 for possible in gnome-config | 5080 for possible in gnome-config |
5076 do | 5081 do |
5077 possible_version=`${possible} --version 2> /dev/null` | 5082 possible_version=`${possible} --version 2> /dev/null` |
5078 if test "x${possible_version}" != "x"; then | 5083 if test "x${possible_version}" != "x"; then |
5079 GNOME_CONFIG="${possible}" | 5084 GNOME_CONFIG="${possible}" |
5100 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi | 5105 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi |
5101 fi | 5106 fi |
5102 | 5107 |
5103 if test "$with_gtk" != "no";then | 5108 if test "$with_gtk" != "no";then |
5104 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 | 5109 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 |
5105 echo "configure:5106: checking for GTK configuration script" >&5 | 5110 echo "configure:5111: checking for GTK configuration script" >&5 |
5106 for possible in gtk12-config gtk14-config gtk-config | 5111 for possible in gtk12-config gtk14-config gtk-config |
5107 do | 5112 do |
5108 possible_version=`${possible} --version 2> /dev/null` | 5113 possible_version=`${possible} --version 2> /dev/null` |
5109 if test "x${possible_version}" != "x"; then | 5114 if test "x${possible_version}" != "x"; then |
5110 GTK_CONFIG="${possible}" | 5115 GTK_CONFIG="${possible}" |
5122 echo "$ac_t""${GTK_CONFIG}" 1>&6 | 5127 echo "$ac_t""${GTK_CONFIG}" 1>&6 |
5123 fi | 5128 fi |
5124 | 5129 |
5125 if test "${GTK_CONFIG}" != "no"; then | 5130 if test "${GTK_CONFIG}" != "no"; then |
5126 echo $ac_n "checking gtk version""... $ac_c" 1>&6 | 5131 echo $ac_n "checking gtk version""... $ac_c" 1>&6 |
5127 echo "configure:5128: checking gtk version" >&5 | 5132 echo "configure:5133: checking gtk version" >&5 |
5128 GTK_VERSION=`${GTK_CONFIG} --version` | 5133 GTK_VERSION=`${GTK_CONFIG} --version` |
5129 echo "$ac_t""${GTK_VERSION}" 1>&6 | 5134 echo "$ac_t""${GTK_VERSION}" 1>&6 |
5130 | 5135 |
5131 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 | 5136 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 |
5132 echo "configure:5133: checking gtk libs" >&5 | 5137 echo "configure:5138: checking gtk libs" >&5 |
5133 GTK_LIBS=`${GTK_CONFIG} --libs` | 5138 GTK_LIBS=`${GTK_CONFIG} --libs` |
5134 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi | 5139 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi |
5135 echo "$ac_t""${GTK_LIBS}" 1>&6 | 5140 echo "$ac_t""${GTK_LIBS}" 1>&6 |
5136 | 5141 |
5137 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 | 5142 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 |
5138 echo "configure:5139: checking gtk cflags" >&5 | 5143 echo "configure:5144: checking gtk cflags" >&5 |
5139 GTK_CFLAGS=`${GTK_CONFIG} --cflags` | 5144 GTK_CFLAGS=`${GTK_CONFIG} --cflags` |
5140 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi | 5145 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi |
5141 echo "$ac_t""${GTK_CFLAGS}" 1>&6 | 5146 echo "$ac_t""${GTK_CFLAGS}" 1>&6 |
5142 | 5147 |
5143 | 5148 |
5144 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 | 5149 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 |
5145 echo "configure:5146: checking for main in -lgdk_imlib" >&5 | 5150 echo "configure:5151: checking for main in -lgdk_imlib" >&5 |
5146 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` | 5151 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` |
5147 | 5152 |
5148 xe_check_libs=" -lgdk_imlib " | 5153 xe_check_libs=" -lgdk_imlib " |
5149 cat > conftest.$ac_ext <<EOF | 5154 cat > conftest.$ac_ext <<EOF |
5150 #line 5151 "configure" | 5155 #line 5156 "configure" |
5151 #include "confdefs.h" | 5156 #include "confdefs.h" |
5152 | 5157 |
5153 int main() { | 5158 int main() { |
5154 main() | 5159 main() |
5155 ; return 0; } | 5160 ; return 0; } |
5156 EOF | 5161 EOF |
5157 if { (eval echo configure:5158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5162 if { (eval echo configure:5163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5158 rm -rf conftest* | 5163 rm -rf conftest* |
5159 eval "ac_cv_lib_$ac_lib_var=yes" | 5164 eval "ac_cv_lib_$ac_lib_var=yes" |
5160 else | 5165 else |
5161 echo "configure: failed program was:" >&5 | 5166 echo "configure: failed program was:" >&5 |
5162 cat conftest.$ac_ext >&5 | 5167 cat conftest.$ac_ext >&5 |
5174 fi | 5179 fi |
5175 | 5180 |
5176 | 5181 |
5177 | 5182 |
5178 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 | 5183 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 |
5179 echo "configure:5180: checking for Imlib_init in -lImlib" >&5 | 5184 echo "configure:5185: checking for Imlib_init in -lImlib" >&5 |
5180 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` | 5185 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` |
5181 | 5186 |
5182 xe_check_libs=" -lImlib " | 5187 xe_check_libs=" -lImlib " |
5183 cat > conftest.$ac_ext <<EOF | 5188 cat > conftest.$ac_ext <<EOF |
5184 #line 5185 "configure" | 5189 #line 5190 "configure" |
5185 #include "confdefs.h" | 5190 #include "confdefs.h" |
5186 /* Override any gcc2 internal prototype to avoid an error. */ | 5191 /* Override any gcc2 internal prototype to avoid an error. */ |
5187 /* We use char because int might match the return type of a gcc2 | 5192 /* We use char because int might match the return type of a gcc2 |
5188 builtin and then its argument prototype would still apply. */ | 5193 builtin and then its argument prototype would still apply. */ |
5189 char Imlib_init(); | 5194 char Imlib_init(); |
5190 | 5195 |
5191 int main() { | 5196 int main() { |
5192 Imlib_init() | 5197 Imlib_init() |
5193 ; return 0; } | 5198 ; return 0; } |
5194 EOF | 5199 EOF |
5195 if { (eval echo configure:5196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5200 if { (eval echo configure:5201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5196 rm -rf conftest* | 5201 rm -rf conftest* |
5197 eval "ac_cv_lib_$ac_lib_var=yes" | 5202 eval "ac_cv_lib_$ac_lib_var=yes" |
5198 else | 5203 else |
5199 echo "configure: failed program was:" >&5 | 5204 echo "configure: failed program was:" >&5 |
5200 cat conftest.$ac_ext >&5 | 5205 cat conftest.$ac_ext >&5 |
5213 | 5218 |
5214 | 5219 |
5215 for ac_func in gdk_imlib_init | 5220 for ac_func in gdk_imlib_init |
5216 do | 5221 do |
5217 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5222 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5218 echo "configure:5219: checking for $ac_func" >&5 | 5223 echo "configure:5224: checking for $ac_func" >&5 |
5219 | 5224 |
5220 cat > conftest.$ac_ext <<EOF | 5225 cat > conftest.$ac_ext <<EOF |
5221 #line 5222 "configure" | 5226 #line 5227 "configure" |
5222 #include "confdefs.h" | 5227 #include "confdefs.h" |
5223 /* System header to define __stub macros and hopefully few prototypes, | 5228 /* System header to define __stub macros and hopefully few prototypes, |
5224 which can conflict with char $ac_func(); below. */ | 5229 which can conflict with char $ac_func(); below. */ |
5225 #include <assert.h> | 5230 #include <assert.h> |
5226 /* Override any gcc2 internal prototype to avoid an error. */ | 5231 /* Override any gcc2 internal prototype to avoid an error. */ |
5239 $ac_func(); | 5244 $ac_func(); |
5240 #endif | 5245 #endif |
5241 | 5246 |
5242 ; return 0; } | 5247 ; return 0; } |
5243 EOF | 5248 EOF |
5244 if { (eval echo configure:5245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5249 if { (eval echo configure:5250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5245 rm -rf conftest* | 5250 rm -rf conftest* |
5246 eval "ac_cv_func_$ac_func=yes" | 5251 eval "ac_cv_func_$ac_func=yes" |
5247 else | 5252 else |
5248 echo "configure: failed program was:" >&5 | 5253 echo "configure: failed program was:" >&5 |
5249 cat conftest.$ac_ext >&5 | 5254 cat conftest.$ac_ext >&5 |
5316 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" | 5321 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" |
5317 for ac_hdr in glade/glade.h glade.h | 5322 for ac_hdr in glade/glade.h glade.h |
5318 do | 5323 do |
5319 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5324 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5320 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5325 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5321 echo "configure:5322: checking for $ac_hdr" >&5 | 5326 echo "configure:5327: checking for $ac_hdr" >&5 |
5322 | 5327 |
5323 cat > conftest.$ac_ext <<EOF | 5328 cat > conftest.$ac_ext <<EOF |
5324 #line 5325 "configure" | 5329 #line 5330 "configure" |
5325 #include "confdefs.h" | 5330 #include "confdefs.h" |
5326 #include <$ac_hdr> | 5331 #include <$ac_hdr> |
5327 EOF | 5332 EOF |
5328 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5333 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5329 { (eval echo configure:5330: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5334 { (eval echo configure:5335: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5330 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5335 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5331 if test -z "$ac_err"; then | 5336 if test -z "$ac_err"; then |
5332 rm -rf conftest* | 5337 rm -rf conftest* |
5333 eval "ac_cv_header_$ac_safe=yes" | 5338 eval "ac_cv_header_$ac_safe=yes" |
5334 else | 5339 else |
5355 fi | 5360 fi |
5356 done | 5361 done |
5357 | 5362 |
5358 | 5363 |
5359 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 | 5364 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 |
5360 echo "configure:5361: checking for main in -lxml" >&5 | 5365 echo "configure:5366: checking for main in -lxml" >&5 |
5361 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` | 5366 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` |
5362 | 5367 |
5363 xe_check_libs=" -lxml " | 5368 xe_check_libs=" -lxml " |
5364 cat > conftest.$ac_ext <<EOF | 5369 cat > conftest.$ac_ext <<EOF |
5365 #line 5366 "configure" | 5370 #line 5371 "configure" |
5366 #include "confdefs.h" | 5371 #include "confdefs.h" |
5367 | 5372 |
5368 int main() { | 5373 int main() { |
5369 main() | 5374 main() |
5370 ; return 0; } | 5375 ; return 0; } |
5371 EOF | 5376 EOF |
5372 if { (eval echo configure:5373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5377 if { (eval echo configure:5378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5373 rm -rf conftest* | 5378 rm -rf conftest* |
5374 eval "ac_cv_lib_$ac_lib_var=yes" | 5379 eval "ac_cv_lib_$ac_lib_var=yes" |
5375 else | 5380 else |
5376 echo "configure: failed program was:" >&5 | 5381 echo "configure: failed program was:" >&5 |
5377 cat conftest.$ac_ext >&5 | 5382 cat conftest.$ac_ext >&5 |
5389 fi | 5394 fi |
5390 | 5395 |
5391 | 5396 |
5392 | 5397 |
5393 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 | 5398 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 |
5394 echo "configure:5395: checking for main in -lglade" >&5 | 5399 echo "configure:5400: checking for main in -lglade" >&5 |
5395 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` | 5400 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` |
5396 | 5401 |
5397 xe_check_libs=" -lglade " | 5402 xe_check_libs=" -lglade " |
5398 cat > conftest.$ac_ext <<EOF | 5403 cat > conftest.$ac_ext <<EOF |
5399 #line 5400 "configure" | 5404 #line 5405 "configure" |
5400 #include "confdefs.h" | 5405 #include "confdefs.h" |
5401 | 5406 |
5402 int main() { | 5407 int main() { |
5403 main() | 5408 main() |
5404 ; return 0; } | 5409 ; return 0; } |
5405 EOF | 5410 EOF |
5406 if { (eval echo configure:5407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5411 if { (eval echo configure:5412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5407 rm -rf conftest* | 5412 rm -rf conftest* |
5408 eval "ac_cv_lib_$ac_lib_var=yes" | 5413 eval "ac_cv_lib_$ac_lib_var=yes" |
5409 else | 5414 else |
5410 echo "configure: failed program was:" >&5 | 5415 echo "configure: failed program was:" >&5 |
5411 cat conftest.$ac_ext >&5 | 5416 cat conftest.$ac_ext >&5 |
5423 fi | 5428 fi |
5424 | 5429 |
5425 | 5430 |
5426 | 5431 |
5427 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 | 5432 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 |
5428 echo "configure:5429: checking for main in -lglade-gnome" >&5 | 5433 echo "configure:5434: checking for main in -lglade-gnome" >&5 |
5429 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` | 5434 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` |
5430 | 5435 |
5431 xe_check_libs=" -lglade-gnome " | 5436 xe_check_libs=" -lglade-gnome " |
5432 cat > conftest.$ac_ext <<EOF | 5437 cat > conftest.$ac_ext <<EOF |
5433 #line 5434 "configure" | 5438 #line 5439 "configure" |
5434 #include "confdefs.h" | 5439 #include "confdefs.h" |
5435 | 5440 |
5436 int main() { | 5441 int main() { |
5437 main() | 5442 main() |
5438 ; return 0; } | 5443 ; return 0; } |
5439 EOF | 5444 EOF |
5440 if { (eval echo configure:5441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5445 if { (eval echo configure:5446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5441 rm -rf conftest* | 5446 rm -rf conftest* |
5442 eval "ac_cv_lib_$ac_lib_var=yes" | 5447 eval "ac_cv_lib_$ac_lib_var=yes" |
5443 else | 5448 else |
5444 echo "configure: failed program was:" >&5 | 5449 echo "configure: failed program was:" >&5 |
5445 cat conftest.$ac_ext >&5 | 5450 cat conftest.$ac_ext >&5 |
5456 echo "$ac_t""no" 1>&6 | 5461 echo "$ac_t""no" 1>&6 |
5457 fi | 5462 fi |
5458 | 5463 |
5459 | 5464 |
5460 cat > conftest.$ac_ext <<EOF | 5465 cat > conftest.$ac_ext <<EOF |
5461 #line 5462 "configure" | 5466 #line 5467 "configure" |
5462 #include "confdefs.h" | 5467 #include "confdefs.h" |
5463 #include <glade/glade-xml.h> | 5468 #include <glade/glade-xml.h> |
5464 EOF | 5469 EOF |
5465 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 5470 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
5466 egrep "char \*txtdomain;" >/dev/null 2>&1; then | 5471 egrep "char \*txtdomain;" >/dev/null 2>&1; then |
5514 # If we find X, set shell vars x_includes and x_libraries to the | 5519 # If we find X, set shell vars x_includes and x_libraries to the |
5515 # paths, otherwise set no_x=yes. | 5520 # paths, otherwise set no_x=yes. |
5516 # Uses ac_ vars as temps to allow command line to override cache and checks. | 5521 # Uses ac_ vars as temps to allow command line to override cache and checks. |
5517 # --without-x overrides everything else, but does not touch the cache. | 5522 # --without-x overrides everything else, but does not touch the cache. |
5518 echo $ac_n "checking for X""... $ac_c" 1>&6 | 5523 echo $ac_n "checking for X""... $ac_c" 1>&6 |
5519 echo "configure:5520: checking for X" >&5 | 5524 echo "configure:5525: checking for X" >&5 |
5520 | 5525 |
5521 # Check whether --with-x or --without-x was given. | 5526 # Check whether --with-x or --without-x was given. |
5522 if test "${with_x+set}" = set; then | 5527 if test "${with_x+set}" = set; then |
5523 withval="$with_x" | 5528 withval="$with_x" |
5524 : | 5529 : |
5574 # Guess where to find include files, by looking for this one X11 .h file. | 5579 # Guess where to find include files, by looking for this one X11 .h file. |
5575 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 5580 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
5576 | 5581 |
5577 # First, try using that file with no special directory specified. | 5582 # First, try using that file with no special directory specified. |
5578 cat > conftest.$ac_ext <<EOF | 5583 cat > conftest.$ac_ext <<EOF |
5579 #line 5580 "configure" | 5584 #line 5585 "configure" |
5580 #include "confdefs.h" | 5585 #include "confdefs.h" |
5581 #include <$x_direct_test_include> | 5586 #include <$x_direct_test_include> |
5582 EOF | 5587 EOF |
5583 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5588 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5584 { (eval echo configure:5585: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5589 { (eval echo configure:5590: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5585 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5590 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5586 if test -z "$ac_err"; then | 5591 if test -z "$ac_err"; then |
5587 rm -rf conftest* | 5592 rm -rf conftest* |
5588 # We can compile using X headers with no special include directory. | 5593 # We can compile using X headers with no special include directory. |
5589 ac_x_includes= | 5594 ac_x_includes= |
5648 # See if we find them without any special options. | 5653 # See if we find them without any special options. |
5649 # Don't add to $LIBS permanently. | 5654 # Don't add to $LIBS permanently. |
5650 ac_save_LIBS="$LIBS" | 5655 ac_save_LIBS="$LIBS" |
5651 LIBS="-l$x_direct_test_library $LIBS" | 5656 LIBS="-l$x_direct_test_library $LIBS" |
5652 cat > conftest.$ac_ext <<EOF | 5657 cat > conftest.$ac_ext <<EOF |
5653 #line 5654 "configure" | 5658 #line 5659 "configure" |
5654 #include "confdefs.h" | 5659 #include "confdefs.h" |
5655 | 5660 |
5656 int main() { | 5661 int main() { |
5657 ${x_direct_test_function}() | 5662 ${x_direct_test_function}() |
5658 ; return 0; } | 5663 ; return 0; } |
5659 EOF | 5664 EOF |
5660 if { (eval echo configure:5661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5665 if { (eval echo configure:5666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5661 rm -rf conftest* | 5666 rm -rf conftest* |
5662 LIBS="$ac_save_LIBS" | 5667 LIBS="$ac_save_LIBS" |
5663 # We can link X programs with no special library path. | 5668 # We can link X programs with no special library path. |
5664 ac_x_libraries= | 5669 ac_x_libraries= |
5665 else | 5670 else |
5764 # For Solaris; some versions of Sun CC require a space after -R and | 5769 # For Solaris; some versions of Sun CC require a space after -R and |
5765 # others require no space. Words are not sufficient . . . . | 5770 # others require no space. Words are not sufficient . . . . |
5766 case "`(uname -sr) 2>/dev/null`" in | 5771 case "`(uname -sr) 2>/dev/null`" in |
5767 "SunOS 5"*) | 5772 "SunOS 5"*) |
5768 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 5773 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
5769 echo "configure:5770: checking whether -R must be followed by a space" >&5 | 5774 echo "configure:5775: checking whether -R must be followed by a space" >&5 |
5770 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 5775 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
5771 cat > conftest.$ac_ext <<EOF | 5776 cat > conftest.$ac_ext <<EOF |
5772 #line 5773 "configure" | 5777 #line 5778 "configure" |
5773 #include "confdefs.h" | 5778 #include "confdefs.h" |
5774 | 5779 |
5775 int main() { | 5780 int main() { |
5776 | 5781 |
5777 ; return 0; } | 5782 ; return 0; } |
5778 EOF | 5783 EOF |
5779 if { (eval echo configure:5780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5784 if { (eval echo configure:5785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5780 rm -rf conftest* | 5785 rm -rf conftest* |
5781 ac_R_nospace=yes | 5786 ac_R_nospace=yes |
5782 else | 5787 else |
5783 echo "configure: failed program was:" >&5 | 5788 echo "configure: failed program was:" >&5 |
5784 cat conftest.$ac_ext >&5 | 5789 cat conftest.$ac_ext >&5 |
5790 echo "$ac_t""no" 1>&6 | 5795 echo "$ac_t""no" 1>&6 |
5791 X_LIBS="$X_LIBS -R$x_libraries" | 5796 X_LIBS="$X_LIBS -R$x_libraries" |
5792 else | 5797 else |
5793 LIBS="$ac_xsave_LIBS -R $x_libraries" | 5798 LIBS="$ac_xsave_LIBS -R $x_libraries" |
5794 cat > conftest.$ac_ext <<EOF | 5799 cat > conftest.$ac_ext <<EOF |
5795 #line 5796 "configure" | 5800 #line 5801 "configure" |
5796 #include "confdefs.h" | 5801 #include "confdefs.h" |
5797 | 5802 |
5798 int main() { | 5803 int main() { |
5799 | 5804 |
5800 ; return 0; } | 5805 ; return 0; } |
5801 EOF | 5806 EOF |
5802 if { (eval echo configure:5803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5807 if { (eval echo configure:5808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5803 rm -rf conftest* | 5808 rm -rf conftest* |
5804 ac_R_space=yes | 5809 ac_R_space=yes |
5805 else | 5810 else |
5806 echo "configure: failed program was:" >&5 | 5811 echo "configure: failed program was:" >&5 |
5807 cat conftest.$ac_ext >&5 | 5812 cat conftest.$ac_ext >&5 |
5833 if test "$with_dnet" = "no" ; then | 5838 if test "$with_dnet" = "no" ; then |
5834 ac_cv_lib_dnet_dnet_ntoa=no | 5839 ac_cv_lib_dnet_dnet_ntoa=no |
5835 else | 5840 else |
5836 | 5841 |
5837 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 5842 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
5838 echo "configure:5839: checking for dnet_ntoa in -ldnet" >&5 | 5843 echo "configure:5844: checking for dnet_ntoa in -ldnet" >&5 |
5839 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 5844 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
5840 | 5845 |
5841 xe_check_libs=" -ldnet " | 5846 xe_check_libs=" -ldnet " |
5842 cat > conftest.$ac_ext <<EOF | 5847 cat > conftest.$ac_ext <<EOF |
5843 #line 5844 "configure" | 5848 #line 5849 "configure" |
5844 #include "confdefs.h" | 5849 #include "confdefs.h" |
5845 /* Override any gcc2 internal prototype to avoid an error. */ | 5850 /* Override any gcc2 internal prototype to avoid an error. */ |
5846 /* We use char because int might match the return type of a gcc2 | 5851 /* We use char because int might match the return type of a gcc2 |
5847 builtin and then its argument prototype would still apply. */ | 5852 builtin and then its argument prototype would still apply. */ |
5848 char dnet_ntoa(); | 5853 char dnet_ntoa(); |
5849 | 5854 |
5850 int main() { | 5855 int main() { |
5851 dnet_ntoa() | 5856 dnet_ntoa() |
5852 ; return 0; } | 5857 ; return 0; } |
5853 EOF | 5858 EOF |
5854 if { (eval echo configure:5855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5859 if { (eval echo configure:5860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5855 rm -rf conftest* | 5860 rm -rf conftest* |
5856 eval "ac_cv_lib_$ac_lib_var=yes" | 5861 eval "ac_cv_lib_$ac_lib_var=yes" |
5857 else | 5862 else |
5858 echo "configure: failed program was:" >&5 | 5863 echo "configure: failed program was:" >&5 |
5859 cat conftest.$ac_ext >&5 | 5864 cat conftest.$ac_ext >&5 |
5873 fi | 5878 fi |
5874 | 5879 |
5875 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 5880 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
5876 | 5881 |
5877 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 5882 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
5878 echo "configure:5879: checking for dnet_ntoa in -ldnet_stub" >&5 | 5883 echo "configure:5884: checking for dnet_ntoa in -ldnet_stub" >&5 |
5879 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 5884 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
5880 | 5885 |
5881 xe_check_libs=" -ldnet_stub " | 5886 xe_check_libs=" -ldnet_stub " |
5882 cat > conftest.$ac_ext <<EOF | 5887 cat > conftest.$ac_ext <<EOF |
5883 #line 5884 "configure" | 5888 #line 5889 "configure" |
5884 #include "confdefs.h" | 5889 #include "confdefs.h" |
5885 /* Override any gcc2 internal prototype to avoid an error. */ | 5890 /* Override any gcc2 internal prototype to avoid an error. */ |
5886 /* We use char because int might match the return type of a gcc2 | 5891 /* We use char because int might match the return type of a gcc2 |
5887 builtin and then its argument prototype would still apply. */ | 5892 builtin and then its argument prototype would still apply. */ |
5888 char dnet_ntoa(); | 5893 char dnet_ntoa(); |
5889 | 5894 |
5890 int main() { | 5895 int main() { |
5891 dnet_ntoa() | 5896 dnet_ntoa() |
5892 ; return 0; } | 5897 ; return 0; } |
5893 EOF | 5898 EOF |
5894 if { (eval echo configure:5895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5899 if { (eval echo configure:5900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5895 rm -rf conftest* | 5900 rm -rf conftest* |
5896 eval "ac_cv_lib_$ac_lib_var=yes" | 5901 eval "ac_cv_lib_$ac_lib_var=yes" |
5897 else | 5902 else |
5898 echo "configure: failed program was:" >&5 | 5903 echo "configure: failed program was:" >&5 |
5899 cat conftest.$ac_ext >&5 | 5904 cat conftest.$ac_ext >&5 |
5918 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 5923 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
5919 # needs -lnsl. | 5924 # needs -lnsl. |
5920 # The nsl library prevents programs from opening the X display | 5925 # The nsl library prevents programs from opening the X display |
5921 # on Irix 5.2, according to dickey@clark.net. | 5926 # on Irix 5.2, according to dickey@clark.net. |
5922 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 5927 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
5923 echo "configure:5924: checking for gethostbyname" >&5 | 5928 echo "configure:5929: checking for gethostbyname" >&5 |
5924 | 5929 |
5925 cat > conftest.$ac_ext <<EOF | 5930 cat > conftest.$ac_ext <<EOF |
5926 #line 5927 "configure" | 5931 #line 5932 "configure" |
5927 #include "confdefs.h" | 5932 #include "confdefs.h" |
5928 /* System header to define __stub macros and hopefully few prototypes, | 5933 /* System header to define __stub macros and hopefully few prototypes, |
5929 which can conflict with char gethostbyname(); below. */ | 5934 which can conflict with char gethostbyname(); below. */ |
5930 #include <assert.h> | 5935 #include <assert.h> |
5931 /* Override any gcc2 internal prototype to avoid an error. */ | 5936 /* Override any gcc2 internal prototype to avoid an error. */ |
5944 gethostbyname(); | 5949 gethostbyname(); |
5945 #endif | 5950 #endif |
5946 | 5951 |
5947 ; return 0; } | 5952 ; return 0; } |
5948 EOF | 5953 EOF |
5949 if { (eval echo configure:5950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5954 if { (eval echo configure:5955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5950 rm -rf conftest* | 5955 rm -rf conftest* |
5951 eval "ac_cv_func_gethostbyname=yes" | 5956 eval "ac_cv_func_gethostbyname=yes" |
5952 else | 5957 else |
5953 echo "configure: failed program was:" >&5 | 5958 echo "configure: failed program was:" >&5 |
5954 cat conftest.$ac_ext >&5 | 5959 cat conftest.$ac_ext >&5 |
5965 fi | 5970 fi |
5966 | 5971 |
5967 if test $ac_cv_func_gethostbyname = no; then | 5972 if test $ac_cv_func_gethostbyname = no; then |
5968 | 5973 |
5969 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 5974 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
5970 echo "configure:5971: checking for gethostbyname in -lnsl" >&5 | 5975 echo "configure:5976: checking for gethostbyname in -lnsl" >&5 |
5971 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 5976 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
5972 | 5977 |
5973 xe_check_libs=" -lnsl " | 5978 xe_check_libs=" -lnsl " |
5974 cat > conftest.$ac_ext <<EOF | 5979 cat > conftest.$ac_ext <<EOF |
5975 #line 5976 "configure" | 5980 #line 5981 "configure" |
5976 #include "confdefs.h" | 5981 #include "confdefs.h" |
5977 /* Override any gcc2 internal prototype to avoid an error. */ | 5982 /* Override any gcc2 internal prototype to avoid an error. */ |
5978 /* We use char because int might match the return type of a gcc2 | 5983 /* We use char because int might match the return type of a gcc2 |
5979 builtin and then its argument prototype would still apply. */ | 5984 builtin and then its argument prototype would still apply. */ |
5980 char gethostbyname(); | 5985 char gethostbyname(); |
5981 | 5986 |
5982 int main() { | 5987 int main() { |
5983 gethostbyname() | 5988 gethostbyname() |
5984 ; return 0; } | 5989 ; return 0; } |
5985 EOF | 5990 EOF |
5986 if { (eval echo configure:5987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5991 if { (eval echo configure:5992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5987 rm -rf conftest* | 5992 rm -rf conftest* |
5988 eval "ac_cv_lib_$ac_lib_var=yes" | 5993 eval "ac_cv_lib_$ac_lib_var=yes" |
5989 else | 5994 else |
5990 echo "configure: failed program was:" >&5 | 5995 echo "configure: failed program was:" >&5 |
5991 cat conftest.$ac_ext >&5 | 5996 cat conftest.$ac_ext >&5 |
6011 # on later versions), says simon@lia.di.epfl.ch: it contains | 6016 # on later versions), says simon@lia.di.epfl.ch: it contains |
6012 # gethostby* variants that don't use the nameserver (or something). | 6017 # gethostby* variants that don't use the nameserver (or something). |
6013 # -lsocket must be given before -lnsl if both are needed. | 6018 # -lsocket must be given before -lnsl if both are needed. |
6014 # We assume that if connect needs -lnsl, so does gethostbyname. | 6019 # We assume that if connect needs -lnsl, so does gethostbyname. |
6015 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 6020 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
6016 echo "configure:6017: checking for connect" >&5 | 6021 echo "configure:6022: checking for connect" >&5 |
6017 | 6022 |
6018 cat > conftest.$ac_ext <<EOF | 6023 cat > conftest.$ac_ext <<EOF |
6019 #line 6020 "configure" | 6024 #line 6025 "configure" |
6020 #include "confdefs.h" | 6025 #include "confdefs.h" |
6021 /* System header to define __stub macros and hopefully few prototypes, | 6026 /* System header to define __stub macros and hopefully few prototypes, |
6022 which can conflict with char connect(); below. */ | 6027 which can conflict with char connect(); below. */ |
6023 #include <assert.h> | 6028 #include <assert.h> |
6024 /* Override any gcc2 internal prototype to avoid an error. */ | 6029 /* Override any gcc2 internal prototype to avoid an error. */ |
6037 connect(); | 6042 connect(); |
6038 #endif | 6043 #endif |
6039 | 6044 |
6040 ; return 0; } | 6045 ; return 0; } |
6041 EOF | 6046 EOF |
6042 if { (eval echo configure:6043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6047 if { (eval echo configure:6048: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6043 rm -rf conftest* | 6048 rm -rf conftest* |
6044 eval "ac_cv_func_connect=yes" | 6049 eval "ac_cv_func_connect=yes" |
6045 else | 6050 else |
6046 echo "configure: failed program was:" >&5 | 6051 echo "configure: failed program was:" >&5 |
6047 cat conftest.$ac_ext >&5 | 6052 cat conftest.$ac_ext >&5 |
6060 if test $ac_cv_func_connect = no; then | 6065 if test $ac_cv_func_connect = no; then |
6061 | 6066 |
6062 xe_msg_checking="for connect in -lsocket" | 6067 xe_msg_checking="for connect in -lsocket" |
6063 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6068 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6064 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6069 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6065 echo "configure:6066: checking "$xe_msg_checking"" >&5 | 6070 echo "configure:6071: checking "$xe_msg_checking"" >&5 |
6066 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 6071 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
6067 | 6072 |
6068 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 6073 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
6069 cat > conftest.$ac_ext <<EOF | 6074 cat > conftest.$ac_ext <<EOF |
6070 #line 6071 "configure" | 6075 #line 6076 "configure" |
6071 #include "confdefs.h" | 6076 #include "confdefs.h" |
6072 /* Override any gcc2 internal prototype to avoid an error. */ | 6077 /* Override any gcc2 internal prototype to avoid an error. */ |
6073 /* We use char because int might match the return type of a gcc2 | 6078 /* We use char because int might match the return type of a gcc2 |
6074 builtin and then its argument prototype would still apply. */ | 6079 builtin and then its argument prototype would still apply. */ |
6075 char connect(); | 6080 char connect(); |
6076 | 6081 |
6077 int main() { | 6082 int main() { |
6078 connect() | 6083 connect() |
6079 ; return 0; } | 6084 ; return 0; } |
6080 EOF | 6085 EOF |
6081 if { (eval echo configure:6082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6086 if { (eval echo configure:6087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6082 rm -rf conftest* | 6087 rm -rf conftest* |
6083 eval "ac_cv_lib_$ac_lib_var=yes" | 6088 eval "ac_cv_lib_$ac_lib_var=yes" |
6084 else | 6089 else |
6085 echo "configure: failed program was:" >&5 | 6090 echo "configure: failed program was:" >&5 |
6086 cat conftest.$ac_ext >&5 | 6091 cat conftest.$ac_ext >&5 |
6100 | 6105 |
6101 fi | 6106 fi |
6102 | 6107 |
6103 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 6108 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
6104 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 6109 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
6105 echo "configure:6106: checking for remove" >&5 | 6110 echo "configure:6111: checking for remove" >&5 |
6106 | 6111 |
6107 cat > conftest.$ac_ext <<EOF | 6112 cat > conftest.$ac_ext <<EOF |
6108 #line 6109 "configure" | 6113 #line 6114 "configure" |
6109 #include "confdefs.h" | 6114 #include "confdefs.h" |
6110 /* System header to define __stub macros and hopefully few prototypes, | 6115 /* System header to define __stub macros and hopefully few prototypes, |
6111 which can conflict with char remove(); below. */ | 6116 which can conflict with char remove(); below. */ |
6112 #include <assert.h> | 6117 #include <assert.h> |
6113 /* Override any gcc2 internal prototype to avoid an error. */ | 6118 /* Override any gcc2 internal prototype to avoid an error. */ |
6126 remove(); | 6131 remove(); |
6127 #endif | 6132 #endif |
6128 | 6133 |
6129 ; return 0; } | 6134 ; return 0; } |
6130 EOF | 6135 EOF |
6131 if { (eval echo configure:6132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6136 if { (eval echo configure:6137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6132 rm -rf conftest* | 6137 rm -rf conftest* |
6133 eval "ac_cv_func_remove=yes" | 6138 eval "ac_cv_func_remove=yes" |
6134 else | 6139 else |
6135 echo "configure: failed program was:" >&5 | 6140 echo "configure: failed program was:" >&5 |
6136 cat conftest.$ac_ext >&5 | 6141 cat conftest.$ac_ext >&5 |
6147 fi | 6152 fi |
6148 | 6153 |
6149 if test $ac_cv_func_remove = no; then | 6154 if test $ac_cv_func_remove = no; then |
6150 | 6155 |
6151 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 6156 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
6152 echo "configure:6153: checking for remove in -lposix" >&5 | 6157 echo "configure:6158: checking for remove in -lposix" >&5 |
6153 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 6158 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
6154 | 6159 |
6155 xe_check_libs=" -lposix " | 6160 xe_check_libs=" -lposix " |
6156 cat > conftest.$ac_ext <<EOF | 6161 cat > conftest.$ac_ext <<EOF |
6157 #line 6158 "configure" | 6162 #line 6163 "configure" |
6158 #include "confdefs.h" | 6163 #include "confdefs.h" |
6159 /* Override any gcc2 internal prototype to avoid an error. */ | 6164 /* Override any gcc2 internal prototype to avoid an error. */ |
6160 /* We use char because int might match the return type of a gcc2 | 6165 /* We use char because int might match the return type of a gcc2 |
6161 builtin and then its argument prototype would still apply. */ | 6166 builtin and then its argument prototype would still apply. */ |
6162 char remove(); | 6167 char remove(); |
6163 | 6168 |
6164 int main() { | 6169 int main() { |
6165 remove() | 6170 remove() |
6166 ; return 0; } | 6171 ; return 0; } |
6167 EOF | 6172 EOF |
6168 if { (eval echo configure:6169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6173 if { (eval echo configure:6174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6169 rm -rf conftest* | 6174 rm -rf conftest* |
6170 eval "ac_cv_lib_$ac_lib_var=yes" | 6175 eval "ac_cv_lib_$ac_lib_var=yes" |
6171 else | 6176 else |
6172 echo "configure: failed program was:" >&5 | 6177 echo "configure: failed program was:" >&5 |
6173 cat conftest.$ac_ext >&5 | 6178 cat conftest.$ac_ext >&5 |
6187 | 6192 |
6188 fi | 6193 fi |
6189 | 6194 |
6190 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 6195 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
6191 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 6196 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
6192 echo "configure:6193: checking for shmat" >&5 | 6197 echo "configure:6198: checking for shmat" >&5 |
6193 | 6198 |
6194 cat > conftest.$ac_ext <<EOF | 6199 cat > conftest.$ac_ext <<EOF |
6195 #line 6196 "configure" | 6200 #line 6201 "configure" |
6196 #include "confdefs.h" | 6201 #include "confdefs.h" |
6197 /* System header to define __stub macros and hopefully few prototypes, | 6202 /* System header to define __stub macros and hopefully few prototypes, |
6198 which can conflict with char shmat(); below. */ | 6203 which can conflict with char shmat(); below. */ |
6199 #include <assert.h> | 6204 #include <assert.h> |
6200 /* Override any gcc2 internal prototype to avoid an error. */ | 6205 /* Override any gcc2 internal prototype to avoid an error. */ |
6213 shmat(); | 6218 shmat(); |
6214 #endif | 6219 #endif |
6215 | 6220 |
6216 ; return 0; } | 6221 ; return 0; } |
6217 EOF | 6222 EOF |
6218 if { (eval echo configure:6219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6223 if { (eval echo configure:6224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6219 rm -rf conftest* | 6224 rm -rf conftest* |
6220 eval "ac_cv_func_shmat=yes" | 6225 eval "ac_cv_func_shmat=yes" |
6221 else | 6226 else |
6222 echo "configure: failed program was:" >&5 | 6227 echo "configure: failed program was:" >&5 |
6223 cat conftest.$ac_ext >&5 | 6228 cat conftest.$ac_ext >&5 |
6234 fi | 6239 fi |
6235 | 6240 |
6236 if test $ac_cv_func_shmat = no; then | 6241 if test $ac_cv_func_shmat = no; then |
6237 | 6242 |
6238 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 6243 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
6239 echo "configure:6240: checking for shmat in -lipc" >&5 | 6244 echo "configure:6245: checking for shmat in -lipc" >&5 |
6240 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 6245 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
6241 | 6246 |
6242 xe_check_libs=" -lipc " | 6247 xe_check_libs=" -lipc " |
6243 cat > conftest.$ac_ext <<EOF | 6248 cat > conftest.$ac_ext <<EOF |
6244 #line 6245 "configure" | 6249 #line 6250 "configure" |
6245 #include "confdefs.h" | 6250 #include "confdefs.h" |
6246 /* Override any gcc2 internal prototype to avoid an error. */ | 6251 /* Override any gcc2 internal prototype to avoid an error. */ |
6247 /* We use char because int might match the return type of a gcc2 | 6252 /* We use char because int might match the return type of a gcc2 |
6248 builtin and then its argument prototype would still apply. */ | 6253 builtin and then its argument prototype would still apply. */ |
6249 char shmat(); | 6254 char shmat(); |
6250 | 6255 |
6251 int main() { | 6256 int main() { |
6252 shmat() | 6257 shmat() |
6253 ; return 0; } | 6258 ; return 0; } |
6254 EOF | 6259 EOF |
6255 if { (eval echo configure:6256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6260 if { (eval echo configure:6261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6256 rm -rf conftest* | 6261 rm -rf conftest* |
6257 eval "ac_cv_lib_$ac_lib_var=yes" | 6262 eval "ac_cv_lib_$ac_lib_var=yes" |
6258 else | 6263 else |
6259 echo "configure: failed program was:" >&5 | 6264 echo "configure: failed program was:" >&5 |
6260 cat conftest.$ac_ext >&5 | 6265 cat conftest.$ac_ext >&5 |
6286 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 6291 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
6287 | 6292 |
6288 xe_msg_checking="for IceConnectionNumber in -lICE" | 6293 xe_msg_checking="for IceConnectionNumber in -lICE" |
6289 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6294 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6290 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6295 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6291 echo "configure:6292: checking "$xe_msg_checking"" >&5 | 6296 echo "configure:6297: checking "$xe_msg_checking"" >&5 |
6292 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 6297 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
6293 | 6298 |
6294 xe_check_libs=" -lICE $X_EXTRA_LIBS" | 6299 xe_check_libs=" -lICE $X_EXTRA_LIBS" |
6295 cat > conftest.$ac_ext <<EOF | 6300 cat > conftest.$ac_ext <<EOF |
6296 #line 6297 "configure" | 6301 #line 6302 "configure" |
6297 #include "confdefs.h" | 6302 #include "confdefs.h" |
6298 /* Override any gcc2 internal prototype to avoid an error. */ | 6303 /* Override any gcc2 internal prototype to avoid an error. */ |
6299 /* We use char because int might match the return type of a gcc2 | 6304 /* We use char because int might match the return type of a gcc2 |
6300 builtin and then its argument prototype would still apply. */ | 6305 builtin and then its argument prototype would still apply. */ |
6301 char IceConnectionNumber(); | 6306 char IceConnectionNumber(); |
6302 | 6307 |
6303 int main() { | 6308 int main() { |
6304 IceConnectionNumber() | 6309 IceConnectionNumber() |
6305 ; return 0; } | 6310 ; return 0; } |
6306 EOF | 6311 EOF |
6307 if { (eval echo configure:6308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6312 if { (eval echo configure:6313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6308 rm -rf conftest* | 6313 rm -rf conftest* |
6309 eval "ac_cv_lib_$ac_lib_var=yes" | 6314 eval "ac_cv_lib_$ac_lib_var=yes" |
6310 else | 6315 else |
6311 echo "configure: failed program was:" >&5 | 6316 echo "configure: failed program was:" >&5 |
6312 cat conftest.$ac_ext >&5 | 6317 cat conftest.$ac_ext >&5 |
6469 EOF | 6474 EOF |
6470 } | 6475 } |
6471 | 6476 |
6472 | 6477 |
6473 echo "checking for X defines extracted by xmkmf" 1>&6 | 6478 echo "checking for X defines extracted by xmkmf" 1>&6 |
6474 echo "configure:6475: checking for X defines extracted by xmkmf" >&5 | 6479 echo "configure:6480: checking for X defines extracted by xmkmf" >&5 |
6475 rm -fr conftestdir | 6480 rm -fr conftestdir |
6476 if mkdir conftestdir; then | 6481 if mkdir conftestdir; then |
6477 cd conftestdir | 6482 cd conftestdir |
6478 cat > Imakefile <<'EOF' | 6483 cat > Imakefile <<'EOF' |
6479 xetest: | 6484 xetest: |
6518 done | 6523 done |
6519 fi | 6524 fi |
6520 | 6525 |
6521 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 6526 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
6522 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 6527 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
6523 echo "configure:6524: checking for X11/Intrinsic.h" >&5 | 6528 echo "configure:6529: checking for X11/Intrinsic.h" >&5 |
6524 | 6529 |
6525 cat > conftest.$ac_ext <<EOF | 6530 cat > conftest.$ac_ext <<EOF |
6526 #line 6527 "configure" | 6531 #line 6532 "configure" |
6527 #include "confdefs.h" | 6532 #include "confdefs.h" |
6528 #include <X11/Intrinsic.h> | 6533 #include <X11/Intrinsic.h> |
6529 EOF | 6534 EOF |
6530 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6535 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6531 { (eval echo configure:6532: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6536 { (eval echo configure:6537: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6532 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6537 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6533 if test -z "$ac_err"; then | 6538 if test -z "$ac_err"; then |
6534 rm -rf conftest* | 6539 rm -rf conftest* |
6535 eval "ac_cv_header_$ac_safe=yes" | 6540 eval "ac_cv_header_$ac_safe=yes" |
6536 else | 6541 else |
6550 fi | 6555 fi |
6551 | 6556 |
6552 | 6557 |
6553 | 6558 |
6554 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 6559 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
6555 echo "configure:6556: checking for XOpenDisplay in -lX11" >&5 | 6560 echo "configure:6561: checking for XOpenDisplay in -lX11" >&5 |
6556 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 6561 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
6557 | 6562 |
6558 xe_check_libs=" -lX11 " | 6563 xe_check_libs=" -lX11 " |
6559 cat > conftest.$ac_ext <<EOF | 6564 cat > conftest.$ac_ext <<EOF |
6560 #line 6561 "configure" | 6565 #line 6566 "configure" |
6561 #include "confdefs.h" | 6566 #include "confdefs.h" |
6562 /* Override any gcc2 internal prototype to avoid an error. */ | 6567 /* Override any gcc2 internal prototype to avoid an error. */ |
6563 /* We use char because int might match the return type of a gcc2 | 6568 /* We use char because int might match the return type of a gcc2 |
6564 builtin and then its argument prototype would still apply. */ | 6569 builtin and then its argument prototype would still apply. */ |
6565 char XOpenDisplay(); | 6570 char XOpenDisplay(); |
6566 | 6571 |
6567 int main() { | 6572 int main() { |
6568 XOpenDisplay() | 6573 XOpenDisplay() |
6569 ; return 0; } | 6574 ; return 0; } |
6570 EOF | 6575 EOF |
6571 if { (eval echo configure:6572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6576 if { (eval echo configure:6577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6572 rm -rf conftest* | 6577 rm -rf conftest* |
6573 eval "ac_cv_lib_$ac_lib_var=yes" | 6578 eval "ac_cv_lib_$ac_lib_var=yes" |
6574 else | 6579 else |
6575 echo "configure: failed program was:" >&5 | 6580 echo "configure: failed program was:" >&5 |
6576 cat conftest.$ac_ext >&5 | 6581 cat conftest.$ac_ext >&5 |
6591 if test "$have_lib_x11" != "yes"; then | 6596 if test "$have_lib_x11" != "yes"; then |
6592 | 6597 |
6593 xe_msg_checking="for XGetFontProperty in -lX11" | 6598 xe_msg_checking="for XGetFontProperty in -lX11" |
6594 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 6599 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
6595 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6600 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6596 echo "configure:6597: checking "$xe_msg_checking"" >&5 | 6601 echo "configure:6602: checking "$xe_msg_checking"" >&5 |
6597 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 6602 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
6598 | 6603 |
6599 xe_check_libs=" -lX11 -b i486-linuxaout" | 6604 xe_check_libs=" -lX11 -b i486-linuxaout" |
6600 cat > conftest.$ac_ext <<EOF | 6605 cat > conftest.$ac_ext <<EOF |
6601 #line 6602 "configure" | 6606 #line 6607 "configure" |
6602 #include "confdefs.h" | 6607 #include "confdefs.h" |
6603 /* Override any gcc2 internal prototype to avoid an error. */ | 6608 /* Override any gcc2 internal prototype to avoid an error. */ |
6604 /* We use char because int might match the return type of a gcc2 | 6609 /* We use char because int might match the return type of a gcc2 |
6605 builtin and then its argument prototype would still apply. */ | 6610 builtin and then its argument prototype would still apply. */ |
6606 char XGetFontProperty(); | 6611 char XGetFontProperty(); |
6607 | 6612 |
6608 int main() { | 6613 int main() { |
6609 XGetFontProperty() | 6614 XGetFontProperty() |
6610 ; return 0; } | 6615 ; return 0; } |
6611 EOF | 6616 EOF |
6612 if { (eval echo configure:6613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6617 if { (eval echo configure:6618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6613 rm -rf conftest* | 6618 rm -rf conftest* |
6614 eval "ac_cv_lib_$ac_lib_var=yes" | 6619 eval "ac_cv_lib_$ac_lib_var=yes" |
6615 else | 6620 else |
6616 echo "configure: failed program was:" >&5 | 6621 echo "configure: failed program was:" >&5 |
6617 cat conftest.$ac_ext >&5 | 6622 cat conftest.$ac_ext >&5 |
6634 libs_x="-lX11" | 6639 libs_x="-lX11" |
6635 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 6640 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
6636 | 6641 |
6637 | 6642 |
6638 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 6643 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
6639 echo "configure:6640: checking for XShapeSelectInput in -lXext" >&5 | 6644 echo "configure:6645: checking for XShapeSelectInput in -lXext" >&5 |
6640 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 6645 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
6641 | 6646 |
6642 xe_check_libs=" -lXext " | 6647 xe_check_libs=" -lXext " |
6643 cat > conftest.$ac_ext <<EOF | 6648 cat > conftest.$ac_ext <<EOF |
6644 #line 6645 "configure" | 6649 #line 6650 "configure" |
6645 #include "confdefs.h" | 6650 #include "confdefs.h" |
6646 /* Override any gcc2 internal prototype to avoid an error. */ | 6651 /* Override any gcc2 internal prototype to avoid an error. */ |
6647 /* We use char because int might match the return type of a gcc2 | 6652 /* We use char because int might match the return type of a gcc2 |
6648 builtin and then its argument prototype would still apply. */ | 6653 builtin and then its argument prototype would still apply. */ |
6649 char XShapeSelectInput(); | 6654 char XShapeSelectInput(); |
6650 | 6655 |
6651 int main() { | 6656 int main() { |
6652 XShapeSelectInput() | 6657 XShapeSelectInput() |
6653 ; return 0; } | 6658 ; return 0; } |
6654 EOF | 6659 EOF |
6655 if { (eval echo configure:6656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6660 if { (eval echo configure:6661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6656 rm -rf conftest* | 6661 rm -rf conftest* |
6657 eval "ac_cv_lib_$ac_lib_var=yes" | 6662 eval "ac_cv_lib_$ac_lib_var=yes" |
6658 else | 6663 else |
6659 echo "configure: failed program was:" >&5 | 6664 echo "configure: failed program was:" >&5 |
6660 cat conftest.$ac_ext >&5 | 6665 cat conftest.$ac_ext >&5 |
6673 | 6678 |
6674 | 6679 |
6675 | 6680 |
6676 | 6681 |
6677 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 6682 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
6678 echo "configure:6679: checking for XtOpenDisplay in -lXt" >&5 | 6683 echo "configure:6684: checking for XtOpenDisplay in -lXt" >&5 |
6679 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 6684 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
6680 | 6685 |
6681 xe_check_libs=" -lXt " | 6686 xe_check_libs=" -lXt " |
6682 cat > conftest.$ac_ext <<EOF | 6687 cat > conftest.$ac_ext <<EOF |
6683 #line 6684 "configure" | 6688 #line 6689 "configure" |
6684 #include "confdefs.h" | 6689 #include "confdefs.h" |
6685 /* Override any gcc2 internal prototype to avoid an error. */ | 6690 /* Override any gcc2 internal prototype to avoid an error. */ |
6686 /* We use char because int might match the return type of a gcc2 | 6691 /* We use char because int might match the return type of a gcc2 |
6687 builtin and then its argument prototype would still apply. */ | 6692 builtin and then its argument prototype would still apply. */ |
6688 char XtOpenDisplay(); | 6693 char XtOpenDisplay(); |
6689 | 6694 |
6690 int main() { | 6695 int main() { |
6691 XtOpenDisplay() | 6696 XtOpenDisplay() |
6692 ; return 0; } | 6697 ; return 0; } |
6693 EOF | 6698 EOF |
6694 if { (eval echo configure:6695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6699 if { (eval echo configure:6700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6695 rm -rf conftest* | 6700 rm -rf conftest* |
6696 eval "ac_cv_lib_$ac_lib_var=yes" | 6701 eval "ac_cv_lib_$ac_lib_var=yes" |
6697 else | 6702 else |
6698 echo "configure: failed program was:" >&5 | 6703 echo "configure: failed program was:" >&5 |
6699 cat conftest.$ac_ext >&5 | 6704 cat conftest.$ac_ext >&5 |
6712 fi | 6717 fi |
6713 | 6718 |
6714 | 6719 |
6715 | 6720 |
6716 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 6721 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
6717 echo "configure:6718: checking the version of X11 being used" >&5 | 6722 echo "configure:6723: checking the version of X11 being used" >&5 |
6718 cat > conftest.$ac_ext <<EOF | 6723 cat > conftest.$ac_ext <<EOF |
6719 #line 6720 "configure" | 6724 #line 6725 "configure" |
6720 #include "confdefs.h" | 6725 #include "confdefs.h" |
6721 #include <X11/Intrinsic.h> | 6726 #include <X11/Intrinsic.h> |
6722 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 6727 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
6723 EOF | 6728 EOF |
6724 if { (eval echo configure:6725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6729 if { (eval echo configure:6730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
6725 then | 6730 then |
6726 ./conftest foobar; x11_release=$? | 6731 ./conftest foobar; x11_release=$? |
6727 else | 6732 else |
6728 conftest_rc="$?" | 6733 conftest_rc="$?" |
6729 echo "configure: failed program was:" >&5 | 6734 echo "configure: failed program was:" >&5 |
6750 fi | 6755 fi |
6751 | 6756 |
6752 for ac_func in XConvertCase | 6757 for ac_func in XConvertCase |
6753 do | 6758 do |
6754 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6759 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6755 echo "configure:6756: checking for $ac_func" >&5 | 6760 echo "configure:6761: checking for $ac_func" >&5 |
6756 | 6761 |
6757 cat > conftest.$ac_ext <<EOF | 6762 cat > conftest.$ac_ext <<EOF |
6758 #line 6759 "configure" | 6763 #line 6764 "configure" |
6759 #include "confdefs.h" | 6764 #include "confdefs.h" |
6760 /* System header to define __stub macros and hopefully few prototypes, | 6765 /* System header to define __stub macros and hopefully few prototypes, |
6761 which can conflict with char $ac_func(); below. */ | 6766 which can conflict with char $ac_func(); below. */ |
6762 #include <assert.h> | 6767 #include <assert.h> |
6763 /* Override any gcc2 internal prototype to avoid an error. */ | 6768 /* Override any gcc2 internal prototype to avoid an error. */ |
6776 $ac_func(); | 6781 $ac_func(); |
6777 #endif | 6782 #endif |
6778 | 6783 |
6779 ; return 0; } | 6784 ; return 0; } |
6780 EOF | 6785 EOF |
6781 if { (eval echo configure:6782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6786 if { (eval echo configure:6787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6782 rm -rf conftest* | 6787 rm -rf conftest* |
6783 eval "ac_cv_func_$ac_func=yes" | 6788 eval "ac_cv_func_$ac_func=yes" |
6784 else | 6789 else |
6785 echo "configure: failed program was:" >&5 | 6790 echo "configure: failed program was:" >&5 |
6786 cat conftest.$ac_ext >&5 | 6791 cat conftest.$ac_ext >&5 |
6808 | 6813 |
6809 for ac_hdr in X11/Xlocale.h | 6814 for ac_hdr in X11/Xlocale.h |
6810 do | 6815 do |
6811 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6816 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6812 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6817 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6813 echo "configure:6814: checking for $ac_hdr" >&5 | 6818 echo "configure:6819: checking for $ac_hdr" >&5 |
6814 | 6819 |
6815 cat > conftest.$ac_ext <<EOF | 6820 cat > conftest.$ac_ext <<EOF |
6816 #line 6817 "configure" | 6821 #line 6822 "configure" |
6817 #include "confdefs.h" | 6822 #include "confdefs.h" |
6818 #include <$ac_hdr> | 6823 #include <$ac_hdr> |
6819 EOF | 6824 EOF |
6820 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6825 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6821 { (eval echo configure:6822: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6826 { (eval echo configure:6827: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6822 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6827 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6823 if test -z "$ac_err"; then | 6828 if test -z "$ac_err"; then |
6824 rm -rf conftest* | 6829 rm -rf conftest* |
6825 eval "ac_cv_header_$ac_safe=yes" | 6830 eval "ac_cv_header_$ac_safe=yes" |
6826 else | 6831 else |
6849 | 6854 |
6850 | 6855 |
6851 for ac_func in XRegisterIMInstantiateCallback | 6856 for ac_func in XRegisterIMInstantiateCallback |
6852 do | 6857 do |
6853 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6858 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6854 echo "configure:6855: checking for $ac_func" >&5 | 6859 echo "configure:6860: checking for $ac_func" >&5 |
6855 | 6860 |
6856 cat > conftest.$ac_ext <<EOF | 6861 cat > conftest.$ac_ext <<EOF |
6857 #line 6858 "configure" | 6862 #line 6863 "configure" |
6858 #include "confdefs.h" | 6863 #include "confdefs.h" |
6859 /* System header to define __stub macros and hopefully few prototypes, | 6864 /* System header to define __stub macros and hopefully few prototypes, |
6860 which can conflict with char $ac_func(); below. */ | 6865 which can conflict with char $ac_func(); below. */ |
6861 #include <assert.h> | 6866 #include <assert.h> |
6862 /* Override any gcc2 internal prototype to avoid an error. */ | 6867 /* Override any gcc2 internal prototype to avoid an error. */ |
6875 $ac_func(); | 6880 $ac_func(); |
6876 #endif | 6881 #endif |
6877 | 6882 |
6878 ; return 0; } | 6883 ; return 0; } |
6879 EOF | 6884 EOF |
6880 if { (eval echo configure:6881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6885 if { (eval echo configure:6886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6881 rm -rf conftest* | 6886 rm -rf conftest* |
6882 eval "ac_cv_func_$ac_func=yes" | 6887 eval "ac_cv_func_$ac_func=yes" |
6883 else | 6888 else |
6884 echo "configure: failed program was:" >&5 | 6889 echo "configure: failed program was:" >&5 |
6885 cat conftest.$ac_ext >&5 | 6890 cat conftest.$ac_ext >&5 |
6903 echo "$ac_t""no" 1>&6 | 6908 echo "$ac_t""no" 1>&6 |
6904 fi | 6909 fi |
6905 done | 6910 done |
6906 | 6911 |
6907 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 | 6912 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 |
6908 echo "configure:6909: checking for standard XRegisterIMInstantiateCallback prototype" >&5 | 6913 echo "configure:6914: checking for standard XRegisterIMInstantiateCallback prototype" >&5 |
6909 cat > conftest.$ac_ext <<EOF | 6914 cat > conftest.$ac_ext <<EOF |
6910 #line 6911 "configure" | 6915 #line 6916 "configure" |
6911 #include "confdefs.h" | 6916 #include "confdefs.h" |
6912 | 6917 |
6913 #define NeedFunctionPrototypes 1 | 6918 #define NeedFunctionPrototypes 1 |
6914 #include <X11/Xlib.h> | 6919 #include <X11/Xlib.h> |
6915 extern Bool XRegisterIMInstantiateCallback( | 6920 extern Bool XRegisterIMInstantiateCallback( |
6917 | 6922 |
6918 int main() { | 6923 int main() { |
6919 | 6924 |
6920 ; return 0; } | 6925 ; return 0; } |
6921 EOF | 6926 EOF |
6922 if { (eval echo configure:6923: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 6927 if { (eval echo configure:6928: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6923 rm -rf conftest* | 6928 rm -rf conftest* |
6924 echo "$ac_t""yes" 1>&6 | 6929 echo "$ac_t""yes" 1>&6 |
6925 else | 6930 else |
6926 echo "configure: failed program was:" >&5 | 6931 echo "configure: failed program was:" >&5 |
6927 cat conftest.$ac_ext >&5 | 6932 cat conftest.$ac_ext >&5 |
6938 fi | 6943 fi |
6939 rm -f conftest* | 6944 rm -f conftest* |
6940 | 6945 |
6941 test -z "$with_xmu" && { | 6946 test -z "$with_xmu" && { |
6942 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 6947 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
6943 echo "configure:6944: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 6948 echo "configure:6949: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
6944 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 6949 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
6945 | 6950 |
6946 xe_check_libs=" -lXmu " | 6951 xe_check_libs=" -lXmu " |
6947 cat > conftest.$ac_ext <<EOF | 6952 cat > conftest.$ac_ext <<EOF |
6948 #line 6949 "configure" | 6953 #line 6954 "configure" |
6949 #include "confdefs.h" | 6954 #include "confdefs.h" |
6950 /* Override any gcc2 internal prototype to avoid an error. */ | 6955 /* Override any gcc2 internal prototype to avoid an error. */ |
6951 /* We use char because int might match the return type of a gcc2 | 6956 /* We use char because int might match the return type of a gcc2 |
6952 builtin and then its argument prototype would still apply. */ | 6957 builtin and then its argument prototype would still apply. */ |
6953 char XmuReadBitmapDataFromFile(); | 6958 char XmuReadBitmapDataFromFile(); |
6954 | 6959 |
6955 int main() { | 6960 int main() { |
6956 XmuReadBitmapDataFromFile() | 6961 XmuReadBitmapDataFromFile() |
6957 ; return 0; } | 6962 ; return 0; } |
6958 EOF | 6963 EOF |
6959 if { (eval echo configure:6960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6964 if { (eval echo configure:6965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6960 rm -rf conftest* | 6965 rm -rf conftest* |
6961 eval "ac_cv_lib_$ac_lib_var=yes" | 6966 eval "ac_cv_lib_$ac_lib_var=yes" |
6962 else | 6967 else |
6963 echo "configure: failed program was:" >&5 | 6968 echo "configure: failed program was:" >&5 |
6964 cat conftest.$ac_ext >&5 | 6969 cat conftest.$ac_ext >&5 |
6993 | 6998 |
6994 fi | 6999 fi |
6995 | 7000 |
6996 | 7001 |
6997 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 7002 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
6998 echo "configure:6999: checking for main in -lXbsd" >&5 | 7003 echo "configure:7004: checking for main in -lXbsd" >&5 |
6999 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 7004 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
7000 | 7005 |
7001 xe_check_libs=" -lXbsd " | 7006 xe_check_libs=" -lXbsd " |
7002 cat > conftest.$ac_ext <<EOF | 7007 cat > conftest.$ac_ext <<EOF |
7003 #line 7004 "configure" | 7008 #line 7009 "configure" |
7004 #include "confdefs.h" | 7009 #include "confdefs.h" |
7005 | 7010 |
7006 int main() { | 7011 int main() { |
7007 main() | 7012 main() |
7008 ; return 0; } | 7013 ; return 0; } |
7009 EOF | 7014 EOF |
7010 if { (eval echo configure:7011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7015 if { (eval echo configure:7016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7011 rm -rf conftest* | 7016 rm -rf conftest* |
7012 eval "ac_cv_lib_$ac_lib_var=yes" | 7017 eval "ac_cv_lib_$ac_lib_var=yes" |
7013 else | 7018 else |
7014 echo "configure: failed program was:" >&5 | 7019 echo "configure: failed program was:" >&5 |
7015 cat conftest.$ac_ext >&5 | 7020 cat conftest.$ac_ext >&5 |
7042 fi | 7047 fi |
7043 | 7048 |
7044 fi | 7049 fi |
7045 if test "$with_msw" != "no"; then | 7050 if test "$with_msw" != "no"; then |
7046 echo "checking for MS-Windows" 1>&6 | 7051 echo "checking for MS-Windows" 1>&6 |
7047 echo "configure:7048: checking for MS-Windows" >&5 | 7052 echo "configure:7053: checking for MS-Windows" >&5 |
7048 | 7053 |
7049 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 7054 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
7050 echo "configure:7051: checking for main in -lgdi32" >&5 | 7055 echo "configure:7056: checking for main in -lgdi32" >&5 |
7051 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 7056 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
7052 | 7057 |
7053 xe_check_libs=" -lgdi32 " | 7058 xe_check_libs=" -lgdi32 " |
7054 cat > conftest.$ac_ext <<EOF | 7059 cat > conftest.$ac_ext <<EOF |
7055 #line 7056 "configure" | 7060 #line 7061 "configure" |
7056 #include "confdefs.h" | 7061 #include "confdefs.h" |
7057 | 7062 |
7058 int main() { | 7063 int main() { |
7059 main() | 7064 main() |
7060 ; return 0; } | 7065 ; return 0; } |
7061 EOF | 7066 EOF |
7062 if { (eval echo configure:7063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7067 if { (eval echo configure:7068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7063 rm -rf conftest* | 7068 rm -rf conftest* |
7064 eval "ac_cv_lib_$ac_lib_var=yes" | 7069 eval "ac_cv_lib_$ac_lib_var=yes" |
7065 else | 7070 else |
7066 echo "configure: failed program was:" >&5 | 7071 echo "configure: failed program was:" >&5 |
7067 cat conftest.$ac_ext >&5 | 7072 cat conftest.$ac_ext >&5 |
7130 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then | 7135 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then |
7131 echo " xemacs will be linked with \"dialog-msw.o\"" | 7136 echo " xemacs will be linked with \"dialog-msw.o\"" |
7132 fi | 7137 fi |
7133 fi | 7138 fi |
7134 cat > conftest.$ac_ext <<EOF | 7139 cat > conftest.$ac_ext <<EOF |
7135 #line 7136 "configure" | 7140 #line 7141 "configure" |
7136 #include "confdefs.h" | 7141 #include "confdefs.h" |
7137 #include <fcntl.h> | 7142 #include <fcntl.h> |
7138 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 7143 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
7139 EOF | 7144 EOF |
7140 if { (eval echo configure:7141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7145 if { (eval echo configure:7146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7141 then | 7146 then |
7142 { test "$extra_verbose" = "yes" && cat << \EOF | 7147 { test "$extra_verbose" = "yes" && cat << \EOF |
7143 Defining HAVE_MSG_SELECT | 7148 Defining HAVE_MSG_SELECT |
7144 EOF | 7149 EOF |
7145 cat >> confdefs.h <<\EOF | 7150 cat >> confdefs.h <<\EOF |
7199 fi | 7204 fi |
7200 | 7205 |
7201 if test "$with_x11" = "yes"; then | 7206 if test "$with_x11" = "yes"; then |
7202 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` | 7207 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` |
7203 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 | 7208 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 |
7204 echo "configure:7205: checking for X11/extensions/shape.h" >&5 | 7209 echo "configure:7210: checking for X11/extensions/shape.h" >&5 |
7205 | 7210 |
7206 cat > conftest.$ac_ext <<EOF | 7211 cat > conftest.$ac_ext <<EOF |
7207 #line 7208 "configure" | 7212 #line 7213 "configure" |
7208 #include "confdefs.h" | 7213 #include "confdefs.h" |
7209 #include <X11/extensions/shape.h> | 7214 #include <X11/extensions/shape.h> |
7210 EOF | 7215 EOF |
7211 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7216 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7212 { (eval echo configure:7213: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7217 { (eval echo configure:7218: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7213 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7218 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7214 if test -z "$ac_err"; then | 7219 if test -z "$ac_err"; then |
7215 rm -rf conftest* | 7220 rm -rf conftest* |
7216 eval "ac_cv_header_$ac_safe=yes" | 7221 eval "ac_cv_header_$ac_safe=yes" |
7217 else | 7222 else |
7259 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 7264 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
7260 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 7265 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
7261 esac | 7266 esac |
7262 | 7267 |
7263 echo "checking for WM_COMMAND option" 1>&6 | 7268 echo "checking for WM_COMMAND option" 1>&6 |
7264 echo "configure:7265: checking for WM_COMMAND option" >&5; | 7269 echo "configure:7270: checking for WM_COMMAND option" >&5; |
7265 if test "$with_wmcommand" != "no"; then | 7270 if test "$with_wmcommand" != "no"; then |
7266 { test "$extra_verbose" = "yes" && cat << \EOF | 7271 { test "$extra_verbose" = "yes" && cat << \EOF |
7267 Defining HAVE_WMCOMMAND | 7272 Defining HAVE_WMCOMMAND |
7268 EOF | 7273 EOF |
7269 cat >> confdefs.h <<\EOF | 7274 cat >> confdefs.h <<\EOF |
7274 fi | 7279 fi |
7275 | 7280 |
7276 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 7281 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
7277 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 7282 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
7278 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 7283 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
7279 echo "configure:7280: checking for X11/Xauth.h" >&5 | 7284 echo "configure:7285: checking for X11/Xauth.h" >&5 |
7280 | 7285 |
7281 cat > conftest.$ac_ext <<EOF | 7286 cat > conftest.$ac_ext <<EOF |
7282 #line 7283 "configure" | 7287 #line 7288 "configure" |
7283 #include "confdefs.h" | 7288 #include "confdefs.h" |
7284 #include <X11/Xauth.h> | 7289 #include <X11/Xauth.h> |
7285 EOF | 7290 EOF |
7286 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7291 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7287 { (eval echo configure:7288: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7292 { (eval echo configure:7293: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7288 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7293 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7289 if test -z "$ac_err"; then | 7294 if test -z "$ac_err"; then |
7290 rm -rf conftest* | 7295 rm -rf conftest* |
7291 eval "ac_cv_header_$ac_safe=yes" | 7296 eval "ac_cv_header_$ac_safe=yes" |
7292 else | 7297 else |
7305 with_xauth=no | 7310 with_xauth=no |
7306 fi | 7311 fi |
7307 } | 7312 } |
7308 test -z "$with_xauth" && { | 7313 test -z "$with_xauth" && { |
7309 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 7314 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
7310 echo "configure:7311: checking for XauGetAuthByAddr in -lXau" >&5 | 7315 echo "configure:7316: checking for XauGetAuthByAddr in -lXau" >&5 |
7311 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 7316 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
7312 | 7317 |
7313 xe_check_libs=" -lXau " | 7318 xe_check_libs=" -lXau " |
7314 cat > conftest.$ac_ext <<EOF | 7319 cat > conftest.$ac_ext <<EOF |
7315 #line 7316 "configure" | 7320 #line 7321 "configure" |
7316 #include "confdefs.h" | 7321 #include "confdefs.h" |
7317 /* Override any gcc2 internal prototype to avoid an error. */ | 7322 /* Override any gcc2 internal prototype to avoid an error. */ |
7318 /* We use char because int might match the return type of a gcc2 | 7323 /* We use char because int might match the return type of a gcc2 |
7319 builtin and then its argument prototype would still apply. */ | 7324 builtin and then its argument prototype would still apply. */ |
7320 char XauGetAuthByAddr(); | 7325 char XauGetAuthByAddr(); |
7321 | 7326 |
7322 int main() { | 7327 int main() { |
7323 XauGetAuthByAddr() | 7328 XauGetAuthByAddr() |
7324 ; return 0; } | 7329 ; return 0; } |
7325 EOF | 7330 EOF |
7326 if { (eval echo configure:7327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7331 if { (eval echo configure:7332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7327 rm -rf conftest* | 7332 rm -rf conftest* |
7328 eval "ac_cv_lib_$ac_lib_var=yes" | 7333 eval "ac_cv_lib_$ac_lib_var=yes" |
7329 else | 7334 else |
7330 echo "configure: failed program was:" >&5 | 7335 echo "configure: failed program was:" >&5 |
7331 cat conftest.$ac_ext >&5 | 7336 cat conftest.$ac_ext >&5 |
7366 | 7371 |
7367 if test "$with_tooltalk" != "no" ; then | 7372 if test "$with_tooltalk" != "no" ; then |
7368 for dir in "" "Tt/" "desktop/" ; do | 7373 for dir in "" "Tt/" "desktop/" ; do |
7369 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 7374 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
7370 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 7375 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
7371 echo "configure:7372: checking for ${dir}tt_c.h" >&5 | 7376 echo "configure:7377: checking for ${dir}tt_c.h" >&5 |
7372 | 7377 |
7373 cat > conftest.$ac_ext <<EOF | 7378 cat > conftest.$ac_ext <<EOF |
7374 #line 7375 "configure" | 7379 #line 7380 "configure" |
7375 #include "confdefs.h" | 7380 #include "confdefs.h" |
7376 #include <${dir}tt_c.h> | 7381 #include <${dir}tt_c.h> |
7377 EOF | 7382 EOF |
7378 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7383 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7379 { (eval echo configure:7380: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7384 { (eval echo configure:7385: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7380 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7385 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7381 if test -z "$ac_err"; then | 7386 if test -z "$ac_err"; then |
7382 rm -rf conftest* | 7387 rm -rf conftest* |
7383 eval "ac_cv_header_$ac_safe=yes" | 7388 eval "ac_cv_header_$ac_safe=yes" |
7384 else | 7389 else |
7410 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 7415 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
7411 | 7416 |
7412 xe_msg_checking="for tt_message_create in -ltt" | 7417 xe_msg_checking="for tt_message_create in -ltt" |
7413 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 7418 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
7414 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7419 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7415 echo "configure:7416: checking "$xe_msg_checking"" >&5 | 7420 echo "configure:7421: checking "$xe_msg_checking"" >&5 |
7416 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 7421 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
7417 | 7422 |
7418 xe_check_libs=" -ltt $extra_libs" | 7423 xe_check_libs=" -ltt $extra_libs" |
7419 cat > conftest.$ac_ext <<EOF | 7424 cat > conftest.$ac_ext <<EOF |
7420 #line 7421 "configure" | 7425 #line 7426 "configure" |
7421 #include "confdefs.h" | 7426 #include "confdefs.h" |
7422 /* Override any gcc2 internal prototype to avoid an error. */ | 7427 /* Override any gcc2 internal prototype to avoid an error. */ |
7423 /* We use char because int might match the return type of a gcc2 | 7428 /* We use char because int might match the return type of a gcc2 |
7424 builtin and then its argument prototype would still apply. */ | 7429 builtin and then its argument prototype would still apply. */ |
7425 char tt_message_create(); | 7430 char tt_message_create(); |
7426 | 7431 |
7427 int main() { | 7432 int main() { |
7428 tt_message_create() | 7433 tt_message_create() |
7429 ; return 0; } | 7434 ; return 0; } |
7430 EOF | 7435 EOF |
7431 if { (eval echo configure:7432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7436 if { (eval echo configure:7437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7432 rm -rf conftest* | 7437 rm -rf conftest* |
7433 eval "ac_cv_lib_$ac_lib_var=yes" | 7438 eval "ac_cv_lib_$ac_lib_var=yes" |
7434 else | 7439 else |
7435 echo "configure: failed program was:" >&5 | 7440 echo "configure: failed program was:" >&5 |
7436 cat conftest.$ac_ext >&5 | 7441 cat conftest.$ac_ext >&5 |
7483 fi | 7488 fi |
7484 fi | 7489 fi |
7485 | 7490 |
7486 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 7491 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
7487 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 7492 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
7488 echo "configure:7489: checking for Dt/Dt.h" >&5 | 7493 echo "configure:7494: checking for Dt/Dt.h" >&5 |
7489 | 7494 |
7490 cat > conftest.$ac_ext <<EOF | 7495 cat > conftest.$ac_ext <<EOF |
7491 #line 7492 "configure" | 7496 #line 7497 "configure" |
7492 #include "confdefs.h" | 7497 #include "confdefs.h" |
7493 #include <Dt/Dt.h> | 7498 #include <Dt/Dt.h> |
7494 EOF | 7499 EOF |
7495 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7500 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7496 { (eval echo configure:7497: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7501 { (eval echo configure:7502: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7497 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7502 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7498 if test -z "$ac_err"; then | 7503 if test -z "$ac_err"; then |
7499 rm -rf conftest* | 7504 rm -rf conftest* |
7500 eval "ac_cv_header_$ac_safe=yes" | 7505 eval "ac_cv_header_$ac_safe=yes" |
7501 else | 7506 else |
7514 with_cde=no | 7519 with_cde=no |
7515 fi | 7520 fi |
7516 } | 7521 } |
7517 test -z "$with_cde" && { | 7522 test -z "$with_cde" && { |
7518 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 7523 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
7519 echo "configure:7520: checking for DtDndDragStart in -lDtSvc" >&5 | 7524 echo "configure:7525: checking for DtDndDragStart in -lDtSvc" >&5 |
7520 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 7525 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
7521 | 7526 |
7522 xe_check_libs=" -lDtSvc " | 7527 xe_check_libs=" -lDtSvc " |
7523 cat > conftest.$ac_ext <<EOF | 7528 cat > conftest.$ac_ext <<EOF |
7524 #line 7525 "configure" | 7529 #line 7530 "configure" |
7525 #include "confdefs.h" | 7530 #include "confdefs.h" |
7526 /* Override any gcc2 internal prototype to avoid an error. */ | 7531 /* Override any gcc2 internal prototype to avoid an error. */ |
7527 /* We use char because int might match the return type of a gcc2 | 7532 /* We use char because int might match the return type of a gcc2 |
7528 builtin and then its argument prototype would still apply. */ | 7533 builtin and then its argument prototype would still apply. */ |
7529 char DtDndDragStart(); | 7534 char DtDndDragStart(); |
7530 | 7535 |
7531 int main() { | 7536 int main() { |
7532 DtDndDragStart() | 7537 DtDndDragStart() |
7533 ; return 0; } | 7538 ; return 0; } |
7534 EOF | 7539 EOF |
7535 if { (eval echo configure:7536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7540 if { (eval echo configure:7541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7536 rm -rf conftest* | 7541 rm -rf conftest* |
7537 eval "ac_cv_lib_$ac_lib_var=yes" | 7542 eval "ac_cv_lib_$ac_lib_var=yes" |
7538 else | 7543 else |
7539 echo "configure: failed program was:" >&5 | 7544 echo "configure: failed program was:" >&5 |
7540 cat conftest.$ac_ext >&5 | 7545 cat conftest.$ac_ext >&5 |
7611 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi | 7616 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi |
7612 fi | 7617 fi |
7613 | 7618 |
7614 if test "$with_dragndrop" != "no" ; then | 7619 if test "$with_dragndrop" != "no" ; then |
7615 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 7620 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
7616 echo "configure:7617: checking if drag and drop API is needed" >&5 | 7621 echo "configure:7622: checking if drag and drop API is needed" >&5 |
7617 if test -n "$dragndrop_proto" ; then | 7622 if test -n "$dragndrop_proto" ; then |
7618 with_dragndrop=yes | 7623 with_dragndrop=yes |
7619 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 7624 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
7620 { test "$extra_verbose" = "yes" && cat << \EOF | 7625 { test "$extra_verbose" = "yes" && cat << \EOF |
7621 Defining HAVE_DRAGNDROP | 7626 Defining HAVE_DRAGNDROP |
7631 echo "$ac_t""no" 1>&6 | 7636 echo "$ac_t""no" 1>&6 |
7632 fi | 7637 fi |
7633 fi | 7638 fi |
7634 | 7639 |
7635 echo "checking for LDAP" 1>&6 | 7640 echo "checking for LDAP" 1>&6 |
7636 echo "configure:7637: checking for LDAP" >&5 | 7641 echo "configure:7642: checking for LDAP" >&5 |
7637 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 7642 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
7638 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 7643 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
7639 echo "configure:7640: checking for ldap.h" >&5 | 7644 echo "configure:7645: checking for ldap.h" >&5 |
7640 | 7645 |
7641 cat > conftest.$ac_ext <<EOF | 7646 cat > conftest.$ac_ext <<EOF |
7642 #line 7643 "configure" | 7647 #line 7648 "configure" |
7643 #include "confdefs.h" | 7648 #include "confdefs.h" |
7644 #include <ldap.h> | 7649 #include <ldap.h> |
7645 EOF | 7650 EOF |
7646 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7651 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7647 { (eval echo configure:7648: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7652 { (eval echo configure:7653: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7648 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7653 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7649 if test -z "$ac_err"; then | 7654 if test -z "$ac_err"; then |
7650 rm -rf conftest* | 7655 rm -rf conftest* |
7651 eval "ac_cv_header_$ac_safe=yes" | 7656 eval "ac_cv_header_$ac_safe=yes" |
7652 else | 7657 else |
7665 with_ldap=no | 7670 with_ldap=no |
7666 fi | 7671 fi |
7667 } | 7672 } |
7668 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 7673 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
7669 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 7674 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
7670 echo "configure:7671: checking for lber.h" >&5 | 7675 echo "configure:7676: checking for lber.h" >&5 |
7671 | 7676 |
7672 cat > conftest.$ac_ext <<EOF | 7677 cat > conftest.$ac_ext <<EOF |
7673 #line 7674 "configure" | 7678 #line 7679 "configure" |
7674 #include "confdefs.h" | 7679 #include "confdefs.h" |
7675 #include <lber.h> | 7680 #include <lber.h> |
7676 EOF | 7681 EOF |
7677 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7682 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7678 { (eval echo configure:7679: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7683 { (eval echo configure:7684: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7679 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7684 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7680 if test -z "$ac_err"; then | 7685 if test -z "$ac_err"; then |
7681 rm -rf conftest* | 7686 rm -rf conftest* |
7682 eval "ac_cv_header_$ac_safe=yes" | 7687 eval "ac_cv_header_$ac_safe=yes" |
7683 else | 7688 else |
7697 fi | 7702 fi |
7698 } | 7703 } |
7699 if test "$with_ldap" != "no"; then | 7704 if test "$with_ldap" != "no"; then |
7700 | 7705 |
7701 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | 7706 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 |
7702 echo "configure:7703: checking for ldap_search in -lldap" >&5 | 7707 echo "configure:7708: checking for ldap_search in -lldap" >&5 |
7703 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | 7708 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` |
7704 | 7709 |
7705 xe_check_libs=" -lldap " | 7710 xe_check_libs=" -lldap " |
7706 cat > conftest.$ac_ext <<EOF | 7711 cat > conftest.$ac_ext <<EOF |
7707 #line 7708 "configure" | 7712 #line 7713 "configure" |
7708 #include "confdefs.h" | 7713 #include "confdefs.h" |
7709 /* Override any gcc2 internal prototype to avoid an error. */ | 7714 /* Override any gcc2 internal prototype to avoid an error. */ |
7710 /* We use char because int might match the return type of a gcc2 | 7715 /* We use char because int might match the return type of a gcc2 |
7711 builtin and then its argument prototype would still apply. */ | 7716 builtin and then its argument prototype would still apply. */ |
7712 char ldap_search(); | 7717 char ldap_search(); |
7713 | 7718 |
7714 int main() { | 7719 int main() { |
7715 ldap_search() | 7720 ldap_search() |
7716 ; return 0; } | 7721 ; return 0; } |
7717 EOF | 7722 EOF |
7718 if { (eval echo configure:7719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7723 if { (eval echo configure:7724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7719 rm -rf conftest* | 7724 rm -rf conftest* |
7720 eval "ac_cv_lib_$ac_lib_var=yes" | 7725 eval "ac_cv_lib_$ac_lib_var=yes" |
7721 else | 7726 else |
7722 echo "configure: failed program was:" >&5 | 7727 echo "configure: failed program was:" >&5 |
7723 cat conftest.$ac_ext >&5 | 7728 cat conftest.$ac_ext >&5 |
7738 | 7743 |
7739 test "$with_ldap_nolber" = "no" && { | 7744 test "$with_ldap_nolber" = "no" && { |
7740 xe_msg_checking="for ldap_open in -lldap" | 7745 xe_msg_checking="for ldap_open in -lldap" |
7741 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 7746 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
7742 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7747 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7743 echo "configure:7744: checking "$xe_msg_checking"" >&5 | 7748 echo "configure:7749: checking "$xe_msg_checking"" >&5 |
7744 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7749 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7745 | 7750 |
7746 xe_check_libs=" -lldap -llber" | 7751 xe_check_libs=" -lldap -llber" |
7747 cat > conftest.$ac_ext <<EOF | 7752 cat > conftest.$ac_ext <<EOF |
7748 #line 7749 "configure" | 7753 #line 7754 "configure" |
7749 #include "confdefs.h" | 7754 #include "confdefs.h" |
7750 /* Override any gcc2 internal prototype to avoid an error. */ | 7755 /* Override any gcc2 internal prototype to avoid an error. */ |
7751 /* We use char because int might match the return type of a gcc2 | 7756 /* We use char because int might match the return type of a gcc2 |
7752 builtin and then its argument prototype would still apply. */ | 7757 builtin and then its argument prototype would still apply. */ |
7753 char ldap_open(); | 7758 char ldap_open(); |
7754 | 7759 |
7755 int main() { | 7760 int main() { |
7756 ldap_open() | 7761 ldap_open() |
7757 ; return 0; } | 7762 ; return 0; } |
7758 EOF | 7763 EOF |
7759 if { (eval echo configure:7760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7764 if { (eval echo configure:7765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7760 rm -rf conftest* | 7765 rm -rf conftest* |
7761 eval "ac_cv_lib_$ac_lib_var=yes" | 7766 eval "ac_cv_lib_$ac_lib_var=yes" |
7762 else | 7767 else |
7763 echo "configure: failed program was:" >&5 | 7768 echo "configure: failed program was:" >&5 |
7764 cat conftest.$ac_ext >&5 | 7769 cat conftest.$ac_ext >&5 |
7779 } | 7784 } |
7780 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { | 7785 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { |
7781 xe_msg_checking="for ldap_open in -lldap" | 7786 xe_msg_checking="for ldap_open in -lldap" |
7782 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" | 7787 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" |
7783 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7788 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7784 echo "configure:7785: checking "$xe_msg_checking"" >&5 | 7789 echo "configure:7790: checking "$xe_msg_checking"" >&5 |
7785 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7790 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7786 | 7791 |
7787 xe_check_libs=" -lldap -llber -lkrb" | 7792 xe_check_libs=" -lldap -llber -lkrb" |
7788 cat > conftest.$ac_ext <<EOF | 7793 cat > conftest.$ac_ext <<EOF |
7789 #line 7790 "configure" | 7794 #line 7795 "configure" |
7790 #include "confdefs.h" | 7795 #include "confdefs.h" |
7791 /* Override any gcc2 internal prototype to avoid an error. */ | 7796 /* Override any gcc2 internal prototype to avoid an error. */ |
7792 /* We use char because int might match the return type of a gcc2 | 7797 /* We use char because int might match the return type of a gcc2 |
7793 builtin and then its argument prototype would still apply. */ | 7798 builtin and then its argument prototype would still apply. */ |
7794 char ldap_open(); | 7799 char ldap_open(); |
7795 | 7800 |
7796 int main() { | 7801 int main() { |
7797 ldap_open() | 7802 ldap_open() |
7798 ; return 0; } | 7803 ; return 0; } |
7799 EOF | 7804 EOF |
7800 if { (eval echo configure:7801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7805 if { (eval echo configure:7806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7801 rm -rf conftest* | 7806 rm -rf conftest* |
7802 eval "ac_cv_lib_$ac_lib_var=yes" | 7807 eval "ac_cv_lib_$ac_lib_var=yes" |
7803 else | 7808 else |
7804 echo "configure: failed program was:" >&5 | 7809 echo "configure: failed program was:" >&5 |
7805 cat conftest.$ac_ext >&5 | 7810 cat conftest.$ac_ext >&5 |
7820 } | 7825 } |
7821 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { | 7826 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { |
7822 xe_msg_checking="for ldap_open in -lldap" | 7827 xe_msg_checking="for ldap_open in -lldap" |
7823 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" | 7828 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" |
7824 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7829 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7825 echo "configure:7826: checking "$xe_msg_checking"" >&5 | 7830 echo "configure:7831: checking "$xe_msg_checking"" >&5 |
7826 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7831 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7827 | 7832 |
7828 xe_check_libs=" -lldap -llber -lkrb -ldes" | 7833 xe_check_libs=" -lldap -llber -lkrb -ldes" |
7829 cat > conftest.$ac_ext <<EOF | 7834 cat > conftest.$ac_ext <<EOF |
7830 #line 7831 "configure" | 7835 #line 7836 "configure" |
7831 #include "confdefs.h" | 7836 #include "confdefs.h" |
7832 /* Override any gcc2 internal prototype to avoid an error. */ | 7837 /* Override any gcc2 internal prototype to avoid an error. */ |
7833 /* We use char because int might match the return type of a gcc2 | 7838 /* We use char because int might match the return type of a gcc2 |
7834 builtin and then its argument prototype would still apply. */ | 7839 builtin and then its argument prototype would still apply. */ |
7835 char ldap_open(); | 7840 char ldap_open(); |
7836 | 7841 |
7837 int main() { | 7842 int main() { |
7838 ldap_open() | 7843 ldap_open() |
7839 ; return 0; } | 7844 ; return 0; } |
7840 EOF | 7845 EOF |
7841 if { (eval echo configure:7842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7846 if { (eval echo configure:7847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7842 rm -rf conftest* | 7847 rm -rf conftest* |
7843 eval "ac_cv_lib_$ac_lib_var=yes" | 7848 eval "ac_cv_lib_$ac_lib_var=yes" |
7844 else | 7849 else |
7845 echo "configure: failed program was:" >&5 | 7850 echo "configure: failed program was:" >&5 |
7846 cat conftest.$ac_ext >&5 | 7851 cat conftest.$ac_ext >&5 |
7887 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi | 7892 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi |
7888 fi | 7893 fi |
7889 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | 7894 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result |
7890 do | 7895 do |
7891 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7896 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7892 echo "configure:7893: checking for $ac_func" >&5 | 7897 echo "configure:7898: checking for $ac_func" >&5 |
7893 | 7898 |
7894 cat > conftest.$ac_ext <<EOF | 7899 cat > conftest.$ac_ext <<EOF |
7895 #line 7896 "configure" | 7900 #line 7901 "configure" |
7896 #include "confdefs.h" | 7901 #include "confdefs.h" |
7897 /* System header to define __stub macros and hopefully few prototypes, | 7902 /* System header to define __stub macros and hopefully few prototypes, |
7898 which can conflict with char $ac_func(); below. */ | 7903 which can conflict with char $ac_func(); below. */ |
7899 #include <assert.h> | 7904 #include <assert.h> |
7900 /* Override any gcc2 internal prototype to avoid an error. */ | 7905 /* Override any gcc2 internal prototype to avoid an error. */ |
7913 $ac_func(); | 7918 $ac_func(); |
7914 #endif | 7919 #endif |
7915 | 7920 |
7916 ; return 0; } | 7921 ; return 0; } |
7917 EOF | 7922 EOF |
7918 if { (eval echo configure:7919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7923 if { (eval echo configure:7924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7919 rm -rf conftest* | 7924 rm -rf conftest* |
7920 eval "ac_cv_func_$ac_func=yes" | 7925 eval "ac_cv_func_$ac_func=yes" |
7921 else | 7926 else |
7922 echo "configure: failed program was:" >&5 | 7927 echo "configure: failed program was:" >&5 |
7923 cat conftest.$ac_ext >&5 | 7928 cat conftest.$ac_ext >&5 |
7944 | 7949 |
7945 fi | 7950 fi |
7946 | 7951 |
7947 if test "$with_postgresql" != "no"; then | 7952 if test "$with_postgresql" != "no"; then |
7948 echo "checking for PostgreSQL" 1>&6 | 7953 echo "checking for PostgreSQL" 1>&6 |
7949 echo "configure:7950: checking for PostgreSQL" >&5 | 7954 echo "configure:7955: checking for PostgreSQL" >&5 |
7950 | 7955 |
7951 for header_dir in "" "pgsql/" "postgresql/"; do | 7956 for header_dir in "" "pgsql/" "postgresql/"; do |
7952 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` | 7957 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` |
7953 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 | 7958 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 |
7954 echo "configure:7955: checking for ${header_dir}libpq-fe.h" >&5 | 7959 echo "configure:7960: checking for ${header_dir}libpq-fe.h" >&5 |
7955 | 7960 |
7956 cat > conftest.$ac_ext <<EOF | 7961 cat > conftest.$ac_ext <<EOF |
7957 #line 7958 "configure" | 7962 #line 7963 "configure" |
7958 #include "confdefs.h" | 7963 #include "confdefs.h" |
7959 #include <${header_dir}libpq-fe.h> | 7964 #include <${header_dir}libpq-fe.h> |
7960 EOF | 7965 EOF |
7961 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7966 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7962 { (eval echo configure:7963: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7967 { (eval echo configure:7968: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7963 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7968 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7964 if test -z "$ac_err"; then | 7969 if test -z "$ac_err"; then |
7965 rm -rf conftest* | 7970 rm -rf conftest* |
7966 eval "ac_cv_header_$ac_safe=yes" | 7971 eval "ac_cv_header_$ac_safe=yes" |
7967 else | 7972 else |
7981 | 7986 |
7982 done | 7987 done |
7983 | 7988 |
7984 test -n "$libpq_fe_h_file" && { | 7989 test -n "$libpq_fe_h_file" && { |
7985 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 | 7990 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 |
7986 echo "configure:7987: checking for PQconnectdb in -lpq" >&5 | 7991 echo "configure:7992: checking for PQconnectdb in -lpq" >&5 |
7987 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` | 7992 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` |
7988 | 7993 |
7989 xe_check_libs=" -lpq " | 7994 xe_check_libs=" -lpq " |
7990 cat > conftest.$ac_ext <<EOF | 7995 cat > conftest.$ac_ext <<EOF |
7991 #line 7992 "configure" | 7996 #line 7997 "configure" |
7992 #include "confdefs.h" | 7997 #include "confdefs.h" |
7993 /* Override any gcc2 internal prototype to avoid an error. */ | 7998 /* Override any gcc2 internal prototype to avoid an error. */ |
7994 /* We use char because int might match the return type of a gcc2 | 7999 /* We use char because int might match the return type of a gcc2 |
7995 builtin and then its argument prototype would still apply. */ | 8000 builtin and then its argument prototype would still apply. */ |
7996 char PQconnectdb(); | 8001 char PQconnectdb(); |
7997 | 8002 |
7998 int main() { | 8003 int main() { |
7999 PQconnectdb() | 8004 PQconnectdb() |
8000 ; return 0; } | 8005 ; return 0; } |
8001 EOF | 8006 EOF |
8002 if { (eval echo configure:8003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8007 if { (eval echo configure:8008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8003 rm -rf conftest* | 8008 rm -rf conftest* |
8004 eval "ac_cv_lib_$ac_lib_var=yes" | 8009 eval "ac_cv_lib_$ac_lib_var=yes" |
8005 else | 8010 else |
8006 echo "configure: failed program was:" >&5 | 8011 echo "configure: failed program was:" >&5 |
8007 cat conftest.$ac_ext >&5 | 8012 cat conftest.$ac_ext >&5 |
8030 EOF | 8035 EOF |
8031 } | 8036 } |
8032 | 8037 |
8033 | 8038 |
8034 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 | 8039 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 |
8035 echo "configure:8036: checking for PQconnectStart in -lpq" >&5 | 8040 echo "configure:8041: checking for PQconnectStart in -lpq" >&5 |
8036 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` | 8041 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` |
8037 | 8042 |
8038 xe_check_libs=" -lpq " | 8043 xe_check_libs=" -lpq " |
8039 cat > conftest.$ac_ext <<EOF | 8044 cat > conftest.$ac_ext <<EOF |
8040 #line 8041 "configure" | 8045 #line 8046 "configure" |
8041 #include "confdefs.h" | 8046 #include "confdefs.h" |
8042 /* Override any gcc2 internal prototype to avoid an error. */ | 8047 /* Override any gcc2 internal prototype to avoid an error. */ |
8043 /* We use char because int might match the return type of a gcc2 | 8048 /* We use char because int might match the return type of a gcc2 |
8044 builtin and then its argument prototype would still apply. */ | 8049 builtin and then its argument prototype would still apply. */ |
8045 char PQconnectStart(); | 8050 char PQconnectStart(); |
8046 | 8051 |
8047 int main() { | 8052 int main() { |
8048 PQconnectStart() | 8053 PQconnectStart() |
8049 ; return 0; } | 8054 ; return 0; } |
8050 EOF | 8055 EOF |
8051 if { (eval echo configure:8052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8056 if { (eval echo configure:8057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8052 rm -rf conftest* | 8057 rm -rf conftest* |
8053 eval "ac_cv_lib_$ac_lib_var=yes" | 8058 eval "ac_cv_lib_$ac_lib_var=yes" |
8054 else | 8059 else |
8055 echo "configure: failed program was:" >&5 | 8060 echo "configure: failed program was:" >&5 |
8056 cat conftest.$ac_ext >&5 | 8061 cat conftest.$ac_ext >&5 |
8094 fi | 8099 fi |
8095 | 8100 |
8096 | 8101 |
8097 if test "$window_system" != "none"; then | 8102 if test "$window_system" != "none"; then |
8098 echo "checking for graphics libraries" 1>&6 | 8103 echo "checking for graphics libraries" 1>&6 |
8099 echo "configure:8100: checking for graphics libraries" >&5 | 8104 echo "configure:8105: checking for graphics libraries" >&5 |
8100 | 8105 |
8101 xpm_problem="" | 8106 xpm_problem="" |
8102 if test -z "$with_xpm"; then | 8107 if test -z "$with_xpm"; then |
8103 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 8108 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
8104 echo "configure:8105: checking for Xpm - no older than 3.4f" >&5 | 8109 echo "configure:8110: checking for Xpm - no older than 3.4f" >&5 |
8105 xe_check_libs=-lXpm | 8110 xe_check_libs=-lXpm |
8106 cat > conftest.$ac_ext <<EOF | 8111 cat > conftest.$ac_ext <<EOF |
8107 #line 8108 "configure" | 8112 #line 8113 "configure" |
8108 #include "confdefs.h" | 8113 #include "confdefs.h" |
8109 #define XPM_NUMBERS | 8114 #define XPM_NUMBERS |
8110 #include <X11/xpm.h> | 8115 #include <X11/xpm.h> |
8111 int main(int c, char **v) { | 8116 int main(int c, char **v) { |
8112 return c == 1 ? 0 : | 8117 return c == 1 ? 0 : |
8113 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 8118 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
8114 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 8119 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
8115 EOF | 8120 EOF |
8116 if { (eval echo configure:8117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 8121 if { (eval echo configure:8122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
8117 then | 8122 then |
8118 ./conftest dummy_arg; xpm_status=$?; | 8123 ./conftest dummy_arg; xpm_status=$?; |
8119 if test "$xpm_status" = "0"; then | 8124 if test "$xpm_status" = "0"; then |
8120 with_xpm=yes; | 8125 with_xpm=yes; |
8121 else | 8126 else |
8153 EOF | 8158 EOF |
8154 } | 8159 } |
8155 | 8160 |
8156 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 8161 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
8157 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 8162 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
8158 echo "configure:8159: checking for \"FOR_MSW\" xpm" >&5 | 8163 echo "configure:8164: checking for \"FOR_MSW\" xpm" >&5 |
8159 xe_check_libs=-lXpm | 8164 xe_check_libs=-lXpm |
8160 cat > conftest.$ac_ext <<EOF | 8165 cat > conftest.$ac_ext <<EOF |
8161 #line 8162 "configure" | 8166 #line 8167 "configure" |
8162 #include "confdefs.h" | 8167 #include "confdefs.h" |
8163 | 8168 |
8164 int main() { | 8169 int main() { |
8165 XpmCreatePixmapFromData() | 8170 XpmCreatePixmapFromData() |
8166 ; return 0; } | 8171 ; return 0; } |
8167 EOF | 8172 EOF |
8168 if { (eval echo configure:8169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8173 if { (eval echo configure:8174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8169 rm -rf conftest* | 8174 rm -rf conftest* |
8170 xpm_for_msw=no | 8175 xpm_for_msw=no |
8171 else | 8176 else |
8172 echo "configure: failed program was:" >&5 | 8177 echo "configure: failed program was:" >&5 |
8173 cat conftest.$ac_ext >&5 | 8178 cat conftest.$ac_ext >&5 |
8189 fi | 8194 fi |
8190 fi | 8195 fi |
8191 | 8196 |
8192 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 8197 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
8193 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 8198 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
8194 echo "configure:8195: checking for compface.h" >&5 | 8199 echo "configure:8200: checking for compface.h" >&5 |
8195 | 8200 |
8196 cat > conftest.$ac_ext <<EOF | 8201 cat > conftest.$ac_ext <<EOF |
8197 #line 8198 "configure" | 8202 #line 8203 "configure" |
8198 #include "confdefs.h" | 8203 #include "confdefs.h" |
8199 #include <compface.h> | 8204 #include <compface.h> |
8200 EOF | 8205 EOF |
8201 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8206 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8202 { (eval echo configure:8203: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8207 { (eval echo configure:8208: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8203 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8208 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8204 if test -z "$ac_err"; then | 8209 if test -z "$ac_err"; then |
8205 rm -rf conftest* | 8210 rm -rf conftest* |
8206 eval "ac_cv_header_$ac_safe=yes" | 8211 eval "ac_cv_header_$ac_safe=yes" |
8207 else | 8212 else |
8220 with_xface=no | 8225 with_xface=no |
8221 fi | 8226 fi |
8222 } | 8227 } |
8223 test -z "$with_xface" && { | 8228 test -z "$with_xface" && { |
8224 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 8229 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
8225 echo "configure:8226: checking for UnGenFace in -lcompface" >&5 | 8230 echo "configure:8231: checking for UnGenFace in -lcompface" >&5 |
8226 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 8231 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
8227 | 8232 |
8228 xe_check_libs=" -lcompface " | 8233 xe_check_libs=" -lcompface " |
8229 cat > conftest.$ac_ext <<EOF | 8234 cat > conftest.$ac_ext <<EOF |
8230 #line 8231 "configure" | 8235 #line 8236 "configure" |
8231 #include "confdefs.h" | 8236 #include "confdefs.h" |
8232 /* Override any gcc2 internal prototype to avoid an error. */ | 8237 /* Override any gcc2 internal prototype to avoid an error. */ |
8233 /* We use char because int might match the return type of a gcc2 | 8238 /* We use char because int might match the return type of a gcc2 |
8234 builtin and then its argument prototype would still apply. */ | 8239 builtin and then its argument prototype would still apply. */ |
8235 char UnGenFace(); | 8240 char UnGenFace(); |
8236 | 8241 |
8237 int main() { | 8242 int main() { |
8238 UnGenFace() | 8243 UnGenFace() |
8239 ; return 0; } | 8244 ; return 0; } |
8240 EOF | 8245 EOF |
8241 if { (eval echo configure:8242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8246 if { (eval echo configure:8247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8242 rm -rf conftest* | 8247 rm -rf conftest* |
8243 eval "ac_cv_lib_$ac_lib_var=yes" | 8248 eval "ac_cv_lib_$ac_lib_var=yes" |
8244 else | 8249 else |
8245 echo "configure: failed program was:" >&5 | 8250 echo "configure: failed program was:" >&5 |
8246 cat conftest.$ac_ext >&5 | 8251 cat conftest.$ac_ext >&5 |
8288 fi | 8293 fi |
8289 | 8294 |
8290 if test "$with_png $with_tiff" != "no no"; then | 8295 if test "$with_png $with_tiff" != "no no"; then |
8291 | 8296 |
8292 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 8297 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
8293 echo "configure:8294: checking for inflate in -lc" >&5 | 8298 echo "configure:8299: checking for inflate in -lc" >&5 |
8294 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 8299 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
8295 | 8300 |
8296 xe_check_libs=" -lc " | 8301 xe_check_libs=" -lc " |
8297 cat > conftest.$ac_ext <<EOF | 8302 cat > conftest.$ac_ext <<EOF |
8298 #line 8299 "configure" | 8303 #line 8304 "configure" |
8299 #include "confdefs.h" | 8304 #include "confdefs.h" |
8300 /* Override any gcc2 internal prototype to avoid an error. */ | 8305 /* Override any gcc2 internal prototype to avoid an error. */ |
8301 /* We use char because int might match the return type of a gcc2 | 8306 /* We use char because int might match the return type of a gcc2 |
8302 builtin and then its argument prototype would still apply. */ | 8307 builtin and then its argument prototype would still apply. */ |
8303 char inflate(); | 8308 char inflate(); |
8304 | 8309 |
8305 int main() { | 8310 int main() { |
8306 inflate() | 8311 inflate() |
8307 ; return 0; } | 8312 ; return 0; } |
8308 EOF | 8313 EOF |
8309 if { (eval echo configure:8310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8314 if { (eval echo configure:8315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8310 rm -rf conftest* | 8315 rm -rf conftest* |
8311 eval "ac_cv_lib_$ac_lib_var=yes" | 8316 eval "ac_cv_lib_$ac_lib_var=yes" |
8312 else | 8317 else |
8313 echo "configure: failed program was:" >&5 | 8318 echo "configure: failed program was:" >&5 |
8314 cat conftest.$ac_ext >&5 | 8319 cat conftest.$ac_ext >&5 |
8323 : | 8328 : |
8324 else | 8329 else |
8325 echo "$ac_t""no" 1>&6 | 8330 echo "$ac_t""no" 1>&6 |
8326 | 8331 |
8327 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 8332 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
8328 echo "configure:8329: checking for inflate in -lz" >&5 | 8333 echo "configure:8334: checking for inflate in -lz" >&5 |
8329 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 8334 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
8330 | 8335 |
8331 xe_check_libs=" -lz " | 8336 xe_check_libs=" -lz " |
8332 cat > conftest.$ac_ext <<EOF | 8337 cat > conftest.$ac_ext <<EOF |
8333 #line 8334 "configure" | 8338 #line 8339 "configure" |
8334 #include "confdefs.h" | 8339 #include "confdefs.h" |
8335 /* Override any gcc2 internal prototype to avoid an error. */ | 8340 /* Override any gcc2 internal prototype to avoid an error. */ |
8336 /* We use char because int might match the return type of a gcc2 | 8341 /* We use char because int might match the return type of a gcc2 |
8337 builtin and then its argument prototype would still apply. */ | 8342 builtin and then its argument prototype would still apply. */ |
8338 char inflate(); | 8343 char inflate(); |
8339 | 8344 |
8340 int main() { | 8345 int main() { |
8341 inflate() | 8346 inflate() |
8342 ; return 0; } | 8347 ; return 0; } |
8343 EOF | 8348 EOF |
8344 if { (eval echo configure:8345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8349 if { (eval echo configure:8350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8345 rm -rf conftest* | 8350 rm -rf conftest* |
8346 eval "ac_cv_lib_$ac_lib_var=yes" | 8351 eval "ac_cv_lib_$ac_lib_var=yes" |
8347 else | 8352 else |
8348 echo "configure: failed program was:" >&5 | 8353 echo "configure: failed program was:" >&5 |
8349 cat conftest.$ac_ext >&5 | 8354 cat conftest.$ac_ext >&5 |
8358 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 8363 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
8359 else | 8364 else |
8360 echo "$ac_t""no" 1>&6 | 8365 echo "$ac_t""no" 1>&6 |
8361 | 8366 |
8362 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 8367 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
8363 echo "configure:8364: checking for inflate in -lgz" >&5 | 8368 echo "configure:8369: checking for inflate in -lgz" >&5 |
8364 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 8369 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
8365 | 8370 |
8366 xe_check_libs=" -lgz " | 8371 xe_check_libs=" -lgz " |
8367 cat > conftest.$ac_ext <<EOF | 8372 cat > conftest.$ac_ext <<EOF |
8368 #line 8369 "configure" | 8373 #line 8374 "configure" |
8369 #include "confdefs.h" | 8374 #include "confdefs.h" |
8370 /* Override any gcc2 internal prototype to avoid an error. */ | 8375 /* Override any gcc2 internal prototype to avoid an error. */ |
8371 /* We use char because int might match the return type of a gcc2 | 8376 /* We use char because int might match the return type of a gcc2 |
8372 builtin and then its argument prototype would still apply. */ | 8377 builtin and then its argument prototype would still apply. */ |
8373 char inflate(); | 8378 char inflate(); |
8374 | 8379 |
8375 int main() { | 8380 int main() { |
8376 inflate() | 8381 inflate() |
8377 ; return 0; } | 8382 ; return 0; } |
8378 EOF | 8383 EOF |
8379 if { (eval echo configure:8380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8384 if { (eval echo configure:8385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8380 rm -rf conftest* | 8385 rm -rf conftest* |
8381 eval "ac_cv_lib_$ac_lib_var=yes" | 8386 eval "ac_cv_lib_$ac_lib_var=yes" |
8382 else | 8387 else |
8383 echo "configure: failed program was:" >&5 | 8388 echo "configure: failed program was:" >&5 |
8384 cat conftest.$ac_ext >&5 | 8389 cat conftest.$ac_ext >&5 |
8404 | 8409 |
8405 fi | 8410 fi |
8406 | 8411 |
8407 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 8412 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
8408 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 8413 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
8409 echo "configure:8410: checking for jpeglib.h" >&5 | 8414 echo "configure:8415: checking for jpeglib.h" >&5 |
8410 | 8415 |
8411 cat > conftest.$ac_ext <<EOF | 8416 cat > conftest.$ac_ext <<EOF |
8412 #line 8413 "configure" | 8417 #line 8418 "configure" |
8413 #include "confdefs.h" | 8418 #include "confdefs.h" |
8414 #include <jpeglib.h> | 8419 #include <jpeglib.h> |
8415 EOF | 8420 EOF |
8416 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8421 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8417 { (eval echo configure:8418: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8422 { (eval echo configure:8423: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8418 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8423 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8419 if test -z "$ac_err"; then | 8424 if test -z "$ac_err"; then |
8420 rm -rf conftest* | 8425 rm -rf conftest* |
8421 eval "ac_cv_header_$ac_safe=yes" | 8426 eval "ac_cv_header_$ac_safe=yes" |
8422 else | 8427 else |
8435 with_jpeg=no | 8440 with_jpeg=no |
8436 fi | 8441 fi |
8437 } | 8442 } |
8438 test -z "$with_jpeg" && { | 8443 test -z "$with_jpeg" && { |
8439 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 8444 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
8440 echo "configure:8441: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 8445 echo "configure:8446: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
8441 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 8446 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
8442 | 8447 |
8443 xe_check_libs=" -ljpeg " | 8448 xe_check_libs=" -ljpeg " |
8444 cat > conftest.$ac_ext <<EOF | 8449 cat > conftest.$ac_ext <<EOF |
8445 #line 8446 "configure" | 8450 #line 8451 "configure" |
8446 #include "confdefs.h" | 8451 #include "confdefs.h" |
8447 /* Override any gcc2 internal prototype to avoid an error. */ | 8452 /* Override any gcc2 internal prototype to avoid an error. */ |
8448 /* We use char because int might match the return type of a gcc2 | 8453 /* We use char because int might match the return type of a gcc2 |
8449 builtin and then its argument prototype would still apply. */ | 8454 builtin and then its argument prototype would still apply. */ |
8450 char jpeg_destroy_decompress(); | 8455 char jpeg_destroy_decompress(); |
8451 | 8456 |
8452 int main() { | 8457 int main() { |
8453 jpeg_destroy_decompress() | 8458 jpeg_destroy_decompress() |
8454 ; return 0; } | 8459 ; return 0; } |
8455 EOF | 8460 EOF |
8456 if { (eval echo configure:8457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8461 if { (eval echo configure:8462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8457 rm -rf conftest* | 8462 rm -rf conftest* |
8458 eval "ac_cv_lib_$ac_lib_var=yes" | 8463 eval "ac_cv_lib_$ac_lib_var=yes" |
8459 else | 8464 else |
8460 echo "configure: failed program was:" >&5 | 8465 echo "configure: failed program was:" >&5 |
8461 cat conftest.$ac_ext >&5 | 8466 cat conftest.$ac_ext >&5 |
8487 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 8492 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
8488 fi | 8493 fi |
8489 | 8494 |
8490 png_problem="" | 8495 png_problem="" |
8491 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 8496 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
8492 echo "configure:8493: checking for pow" >&5 | 8497 echo "configure:8498: checking for pow" >&5 |
8493 | 8498 |
8494 cat > conftest.$ac_ext <<EOF | 8499 cat > conftest.$ac_ext <<EOF |
8495 #line 8496 "configure" | 8500 #line 8501 "configure" |
8496 #include "confdefs.h" | 8501 #include "confdefs.h" |
8497 /* System header to define __stub macros and hopefully few prototypes, | 8502 /* System header to define __stub macros and hopefully few prototypes, |
8498 which can conflict with char pow(); below. */ | 8503 which can conflict with char pow(); below. */ |
8499 #include <assert.h> | 8504 #include <assert.h> |
8500 /* Override any gcc2 internal prototype to avoid an error. */ | 8505 /* Override any gcc2 internal prototype to avoid an error. */ |
8513 pow(); | 8518 pow(); |
8514 #endif | 8519 #endif |
8515 | 8520 |
8516 ; return 0; } | 8521 ; return 0; } |
8517 EOF | 8522 EOF |
8518 if { (eval echo configure:8519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8523 if { (eval echo configure:8524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8519 rm -rf conftest* | 8524 rm -rf conftest* |
8520 eval "ac_cv_func_pow=yes" | 8525 eval "ac_cv_func_pow=yes" |
8521 else | 8526 else |
8522 echo "configure: failed program was:" >&5 | 8527 echo "configure: failed program was:" >&5 |
8523 cat conftest.$ac_ext >&5 | 8528 cat conftest.$ac_ext >&5 |
8534 with_png=no | 8539 with_png=no |
8535 fi | 8540 fi |
8536 } | 8541 } |
8537 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 8542 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
8538 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 8543 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
8539 echo "configure:8540: checking for png.h" >&5 | 8544 echo "configure:8545: checking for png.h" >&5 |
8540 | 8545 |
8541 cat > conftest.$ac_ext <<EOF | 8546 cat > conftest.$ac_ext <<EOF |
8542 #line 8543 "configure" | 8547 #line 8548 "configure" |
8543 #include "confdefs.h" | 8548 #include "confdefs.h" |
8544 #include <png.h> | 8549 #include <png.h> |
8545 EOF | 8550 EOF |
8546 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8551 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8547 { (eval echo configure:8548: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8552 { (eval echo configure:8553: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8548 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8553 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8549 if test -z "$ac_err"; then | 8554 if test -z "$ac_err"; then |
8550 rm -rf conftest* | 8555 rm -rf conftest* |
8551 eval "ac_cv_header_$ac_safe=yes" | 8556 eval "ac_cv_header_$ac_safe=yes" |
8552 else | 8557 else |
8565 with_png=no | 8570 with_png=no |
8566 fi | 8571 fi |
8567 } | 8572 } |
8568 test -z "$with_png" && { | 8573 test -z "$with_png" && { |
8569 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 8574 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
8570 echo "configure:8571: checking for png_read_image in -lpng" >&5 | 8575 echo "configure:8576: checking for png_read_image in -lpng" >&5 |
8571 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 8576 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
8572 | 8577 |
8573 xe_check_libs=" -lpng " | 8578 xe_check_libs=" -lpng " |
8574 cat > conftest.$ac_ext <<EOF | 8579 cat > conftest.$ac_ext <<EOF |
8575 #line 8576 "configure" | 8580 #line 8581 "configure" |
8576 #include "confdefs.h" | 8581 #include "confdefs.h" |
8577 /* Override any gcc2 internal prototype to avoid an error. */ | 8582 /* Override any gcc2 internal prototype to avoid an error. */ |
8578 /* We use char because int might match the return type of a gcc2 | 8583 /* We use char because int might match the return type of a gcc2 |
8579 builtin and then its argument prototype would still apply. */ | 8584 builtin and then its argument prototype would still apply. */ |
8580 char png_read_image(); | 8585 char png_read_image(); |
8581 | 8586 |
8582 int main() { | 8587 int main() { |
8583 png_read_image() | 8588 png_read_image() |
8584 ; return 0; } | 8589 ; return 0; } |
8585 EOF | 8590 EOF |
8586 if { (eval echo configure:8587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8591 if { (eval echo configure:8592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8587 rm -rf conftest* | 8592 rm -rf conftest* |
8588 eval "ac_cv_lib_$ac_lib_var=yes" | 8593 eval "ac_cv_lib_$ac_lib_var=yes" |
8589 else | 8594 else |
8590 echo "configure: failed program was:" >&5 | 8595 echo "configure: failed program was:" >&5 |
8591 cat conftest.$ac_ext >&5 | 8596 cat conftest.$ac_ext >&5 |
8604 fi | 8609 fi |
8605 | 8610 |
8606 } | 8611 } |
8607 if test -z "$with_png"; then | 8612 if test -z "$with_png"; then |
8608 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 8613 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
8609 echo "configure:8610: checking for workable png version information" >&5 | 8614 echo "configure:8615: checking for workable png version information" >&5 |
8610 xe_check_libs="-lpng -lz" | 8615 xe_check_libs="-lpng -lz" |
8611 cat > conftest.$ac_ext <<EOF | 8616 cat > conftest.$ac_ext <<EOF |
8612 #line 8613 "configure" | 8617 #line 8618 "configure" |
8613 #include "confdefs.h" | 8618 #include "confdefs.h" |
8614 #include <png.h> | 8619 #include <png.h> |
8615 int main(int c, char **v) { | 8620 int main(int c, char **v) { |
8616 if (c == 1) return 0; | 8621 if (c == 1) return 0; |
8617 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 8622 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
8618 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 8623 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
8619 EOF | 8624 EOF |
8620 if { (eval echo configure:8621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 8625 if { (eval echo configure:8626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
8621 then | 8626 then |
8622 ./conftest dummy_arg; png_status=$?; | 8627 ./conftest dummy_arg; png_status=$?; |
8623 if test "$png_status" = "0"; then | 8628 if test "$png_status" = "0"; then |
8624 with_png=yes; | 8629 with_png=yes; |
8625 else | 8630 else |
8658 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 8663 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
8659 fi | 8664 fi |
8660 | 8665 |
8661 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 8666 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
8662 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 8667 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
8663 echo "configure:8664: checking for tiffio.h" >&5 | 8668 echo "configure:8669: checking for tiffio.h" >&5 |
8664 | 8669 |
8665 cat > conftest.$ac_ext <<EOF | 8670 cat > conftest.$ac_ext <<EOF |
8666 #line 8667 "configure" | 8671 #line 8672 "configure" |
8667 #include "confdefs.h" | 8672 #include "confdefs.h" |
8668 #include <tiffio.h> | 8673 #include <tiffio.h> |
8669 EOF | 8674 EOF |
8670 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8675 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8671 { (eval echo configure:8672: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8676 { (eval echo configure:8677: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8672 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8677 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8673 if test -z "$ac_err"; then | 8678 if test -z "$ac_err"; then |
8674 rm -rf conftest* | 8679 rm -rf conftest* |
8675 eval "ac_cv_header_$ac_safe=yes" | 8680 eval "ac_cv_header_$ac_safe=yes" |
8676 else | 8681 else |
8689 with_tiff=no | 8694 with_tiff=no |
8690 fi | 8695 fi |
8691 } | 8696 } |
8692 test -z "$with_tiff" && { | 8697 test -z "$with_tiff" && { |
8693 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 8698 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
8694 echo "configure:8695: checking for TIFFClientOpen in -ltiff" >&5 | 8699 echo "configure:8700: checking for TIFFClientOpen in -ltiff" >&5 |
8695 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 8700 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
8696 | 8701 |
8697 xe_check_libs=" -ltiff " | 8702 xe_check_libs=" -ltiff " |
8698 cat > conftest.$ac_ext <<EOF | 8703 cat > conftest.$ac_ext <<EOF |
8699 #line 8700 "configure" | 8704 #line 8705 "configure" |
8700 #include "confdefs.h" | 8705 #include "confdefs.h" |
8701 /* Override any gcc2 internal prototype to avoid an error. */ | 8706 /* Override any gcc2 internal prototype to avoid an error. */ |
8702 /* We use char because int might match the return type of a gcc2 | 8707 /* We use char because int might match the return type of a gcc2 |
8703 builtin and then its argument prototype would still apply. */ | 8708 builtin and then its argument prototype would still apply. */ |
8704 char TIFFClientOpen(); | 8709 char TIFFClientOpen(); |
8705 | 8710 |
8706 int main() { | 8711 int main() { |
8707 TIFFClientOpen() | 8712 TIFFClientOpen() |
8708 ; return 0; } | 8713 ; return 0; } |
8709 EOF | 8714 EOF |
8710 if { (eval echo configure:8711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8715 if { (eval echo configure:8716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8711 rm -rf conftest* | 8716 rm -rf conftest* |
8712 eval "ac_cv_lib_$ac_lib_var=yes" | 8717 eval "ac_cv_lib_$ac_lib_var=yes" |
8713 else | 8718 else |
8714 echo "configure: failed program was:" >&5 | 8719 echo "configure: failed program was:" >&5 |
8715 cat conftest.$ac_ext >&5 | 8720 cat conftest.$ac_ext >&5 |
8744 | 8749 |
8745 | 8750 |
8746 if test "$with_gtk" = "yes"; then | 8751 if test "$with_gtk" = "yes"; then |
8747 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 8752 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
8748 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 8753 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
8749 echo "configure:8750: checking for compface.h" >&5 | 8754 echo "configure:8755: checking for compface.h" >&5 |
8750 | 8755 |
8751 cat > conftest.$ac_ext <<EOF | 8756 cat > conftest.$ac_ext <<EOF |
8752 #line 8753 "configure" | 8757 #line 8758 "configure" |
8753 #include "confdefs.h" | 8758 #include "confdefs.h" |
8754 #include <compface.h> | 8759 #include <compface.h> |
8755 EOF | 8760 EOF |
8756 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8761 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8757 { (eval echo configure:8758: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8762 { (eval echo configure:8763: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8758 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8763 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8759 if test -z "$ac_err"; then | 8764 if test -z "$ac_err"; then |
8760 rm -rf conftest* | 8765 rm -rf conftest* |
8761 eval "ac_cv_header_$ac_safe=yes" | 8766 eval "ac_cv_header_$ac_safe=yes" |
8762 else | 8767 else |
8775 with_xface=no | 8780 with_xface=no |
8776 fi | 8781 fi |
8777 } | 8782 } |
8778 test -z "$with_xface" && { | 8783 test -z "$with_xface" && { |
8779 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 8784 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
8780 echo "configure:8781: checking for UnGenFace in -lcompface" >&5 | 8785 echo "configure:8786: checking for UnGenFace in -lcompface" >&5 |
8781 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 8786 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
8782 | 8787 |
8783 xe_check_libs=" -lcompface " | 8788 xe_check_libs=" -lcompface " |
8784 cat > conftest.$ac_ext <<EOF | 8789 cat > conftest.$ac_ext <<EOF |
8785 #line 8786 "configure" | 8790 #line 8791 "configure" |
8786 #include "confdefs.h" | 8791 #include "confdefs.h" |
8787 /* Override any gcc2 internal prototype to avoid an error. */ | 8792 /* Override any gcc2 internal prototype to avoid an error. */ |
8788 /* We use char because int might match the return type of a gcc2 | 8793 /* We use char because int might match the return type of a gcc2 |
8789 builtin and then its argument prototype would still apply. */ | 8794 builtin and then its argument prototype would still apply. */ |
8790 char UnGenFace(); | 8795 char UnGenFace(); |
8791 | 8796 |
8792 int main() { | 8797 int main() { |
8793 UnGenFace() | 8798 UnGenFace() |
8794 ; return 0; } | 8799 ; return 0; } |
8795 EOF | 8800 EOF |
8796 if { (eval echo configure:8797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8801 if { (eval echo configure:8802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8797 rm -rf conftest* | 8802 rm -rf conftest* |
8798 eval "ac_cv_lib_$ac_lib_var=yes" | 8803 eval "ac_cv_lib_$ac_lib_var=yes" |
8799 else | 8804 else |
8800 echo "configure: failed program was:" >&5 | 8805 echo "configure: failed program was:" >&5 |
8801 cat conftest.$ac_ext >&5 | 8806 cat conftest.$ac_ext >&5 |
8831 | 8836 |
8832 | 8837 |
8833 if test "$with_x11" = "yes"; then | 8838 if test "$with_x11" = "yes"; then |
8834 | 8839 |
8835 echo "checking for X11 graphics libraries" 1>&6 | 8840 echo "checking for X11 graphics libraries" 1>&6 |
8836 echo "configure:8837: checking for X11 graphics libraries" >&5 | 8841 echo "configure:8842: checking for X11 graphics libraries" >&5 |
8837 | 8842 |
8838 echo "checking for the Athena widgets" 1>&6 | 8843 echo "checking for the Athena widgets" 1>&6 |
8839 echo "configure:8840: checking for the Athena widgets" >&5 | 8844 echo "configure:8845: checking for the Athena widgets" >&5 |
8840 | 8845 |
8841 case "$with_athena" in | 8846 case "$with_athena" in |
8842 "xaw" | "") athena_variant=Xaw athena_3d=no ;; | 8847 "xaw" | "") athena_variant=Xaw athena_3d=no ;; |
8843 "3d") athena_variant=Xaw3d athena_3d=yes ;; | 8848 "3d") athena_variant=Xaw3d athena_3d=yes ;; |
8844 "next") athena_variant=neXtaw athena_3d=yes ;; | 8849 "next") athena_variant=neXtaw athena_3d=yes ;; |
8848 esac | 8853 esac |
8849 | 8854 |
8850 if test "$athena_3d" = "no"; then | 8855 if test "$athena_3d" = "no"; then |
8851 | 8856 |
8852 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 | 8857 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 |
8853 echo "configure:8854: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 | 8858 echo "configure:8859: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 |
8854 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 8859 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
8855 | 8860 |
8856 xe_check_libs=" -l$athena_variant " | 8861 xe_check_libs=" -l$athena_variant " |
8857 cat > conftest.$ac_ext <<EOF | 8862 cat > conftest.$ac_ext <<EOF |
8858 #line 8859 "configure" | 8863 #line 8864 "configure" |
8859 #include "confdefs.h" | 8864 #include "confdefs.h" |
8860 /* Override any gcc2 internal prototype to avoid an error. */ | 8865 /* Override any gcc2 internal prototype to avoid an error. */ |
8861 /* We use char because int might match the return type of a gcc2 | 8866 /* We use char because int might match the return type of a gcc2 |
8862 builtin and then its argument prototype would still apply. */ | 8867 builtin and then its argument prototype would still apply. */ |
8863 char XawScrollbarSetThumb(); | 8868 char XawScrollbarSetThumb(); |
8864 | 8869 |
8865 int main() { | 8870 int main() { |
8866 XawScrollbarSetThumb() | 8871 XawScrollbarSetThumb() |
8867 ; return 0; } | 8872 ; return 0; } |
8868 EOF | 8873 EOF |
8869 if { (eval echo configure:8870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8874 if { (eval echo configure:8875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8870 rm -rf conftest* | 8875 rm -rf conftest* |
8871 eval "ac_cv_lib_$ac_lib_var=yes" | 8876 eval "ac_cv_lib_$ac_lib_var=yes" |
8872 else | 8877 else |
8873 echo "configure: failed program was:" >&5 | 8878 echo "configure: failed program was:" >&5 |
8874 cat conftest.$ac_ext >&5 | 8879 cat conftest.$ac_ext >&5 |
8880 | 8885 |
8881 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 8886 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
8882 echo "$ac_t""yes" 1>&6 | 8887 echo "$ac_t""yes" 1>&6 |
8883 | 8888 |
8884 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 8889 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
8885 echo "configure:8886: checking for threeDClassRec in -l$athena_variant" >&5 | 8890 echo "configure:8891: checking for threeDClassRec in -l$athena_variant" >&5 |
8886 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8891 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8887 | 8892 |
8888 xe_check_libs=" -l$athena_variant " | 8893 xe_check_libs=" -l$athena_variant " |
8889 cat > conftest.$ac_ext <<EOF | 8894 cat > conftest.$ac_ext <<EOF |
8890 #line 8891 "configure" | 8895 #line 8896 "configure" |
8891 #include "confdefs.h" | 8896 #include "confdefs.h" |
8892 /* Override any gcc2 internal prototype to avoid an error. */ | 8897 /* Override any gcc2 internal prototype to avoid an error. */ |
8893 /* We use char because int might match the return type of a gcc2 | 8898 /* We use char because int might match the return type of a gcc2 |
8894 builtin and then its argument prototype would still apply. */ | 8899 builtin and then its argument prototype would still apply. */ |
8895 char threeDClassRec(); | 8900 char threeDClassRec(); |
8896 | 8901 |
8897 int main() { | 8902 int main() { |
8898 threeDClassRec() | 8903 threeDClassRec() |
8899 ; return 0; } | 8904 ; return 0; } |
8900 EOF | 8905 EOF |
8901 if { (eval echo configure:8902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8906 if { (eval echo configure:8907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8902 rm -rf conftest* | 8907 rm -rf conftest* |
8903 eval "ac_cv_lib_$ac_lib_var=yes" | 8908 eval "ac_cv_lib_$ac_lib_var=yes" |
8904 else | 8909 else |
8905 echo "configure: failed program was:" >&5 | 8910 echo "configure: failed program was:" >&5 |
8906 cat conftest.$ac_ext >&5 | 8911 cat conftest.$ac_ext >&5 |
8927 | 8932 |
8928 | 8933 |
8929 else | 8934 else |
8930 | 8935 |
8931 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 8936 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
8932 echo "configure:8933: checking for threeDClassRec in -l$athena_variant" >&5 | 8937 echo "configure:8938: checking for threeDClassRec in -l$athena_variant" >&5 |
8933 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8938 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8934 | 8939 |
8935 xe_check_libs=" -l$athena_variant " | 8940 xe_check_libs=" -l$athena_variant " |
8936 cat > conftest.$ac_ext <<EOF | 8941 cat > conftest.$ac_ext <<EOF |
8937 #line 8938 "configure" | 8942 #line 8943 "configure" |
8938 #include "confdefs.h" | 8943 #include "confdefs.h" |
8939 /* Override any gcc2 internal prototype to avoid an error. */ | 8944 /* Override any gcc2 internal prototype to avoid an error. */ |
8940 /* We use char because int might match the return type of a gcc2 | 8945 /* We use char because int might match the return type of a gcc2 |
8941 builtin and then its argument prototype would still apply. */ | 8946 builtin and then its argument prototype would still apply. */ |
8942 char threeDClassRec(); | 8947 char threeDClassRec(); |
8943 | 8948 |
8944 int main() { | 8949 int main() { |
8945 threeDClassRec() | 8950 threeDClassRec() |
8946 ; return 0; } | 8951 ; return 0; } |
8947 EOF | 8952 EOF |
8948 if { (eval echo configure:8949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8953 if { (eval echo configure:8954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8949 rm -rf conftest* | 8954 rm -rf conftest* |
8950 eval "ac_cv_lib_$ac_lib_var=yes" | 8955 eval "ac_cv_lib_$ac_lib_var=yes" |
8951 else | 8956 else |
8952 echo "configure: failed program was:" >&5 | 8957 echo "configure: failed program was:" >&5 |
8953 cat conftest.$ac_ext >&5 | 8958 cat conftest.$ac_ext >&5 |
8961 echo "$ac_t""yes" 1>&6 | 8966 echo "$ac_t""yes" 1>&6 |
8962 athena_lib=$athena_variant | 8967 athena_lib=$athena_variant |
8963 else | 8968 else |
8964 echo "$ac_t""no" 1>&6 | 8969 echo "$ac_t""no" 1>&6 |
8965 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 | 8970 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 |
8966 echo "configure:8967: checking for threeDClassRec in -lXaw" >&5 | 8971 echo "configure:8972: checking for threeDClassRec in -lXaw" >&5 |
8967 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8972 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8968 | 8973 |
8969 xe_check_libs=" -lXaw " | 8974 xe_check_libs=" -lXaw " |
8970 cat > conftest.$ac_ext <<EOF | 8975 cat > conftest.$ac_ext <<EOF |
8971 #line 8972 "configure" | 8976 #line 8977 "configure" |
8972 #include "confdefs.h" | 8977 #include "confdefs.h" |
8973 /* Override any gcc2 internal prototype to avoid an error. */ | 8978 /* Override any gcc2 internal prototype to avoid an error. */ |
8974 /* We use char because int might match the return type of a gcc2 | 8979 /* We use char because int might match the return type of a gcc2 |
8975 builtin and then its argument prototype would still apply. */ | 8980 builtin and then its argument prototype would still apply. */ |
8976 char threeDClassRec(); | 8981 char threeDClassRec(); |
8977 | 8982 |
8978 int main() { | 8983 int main() { |
8979 threeDClassRec() | 8984 threeDClassRec() |
8980 ; return 0; } | 8985 ; return 0; } |
8981 EOF | 8986 EOF |
8982 if { (eval echo configure:8983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8987 if { (eval echo configure:8988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8983 rm -rf conftest* | 8988 rm -rf conftest* |
8984 eval "ac_cv_lib_$ac_lib_var=yes" | 8989 eval "ac_cv_lib_$ac_lib_var=yes" |
8985 else | 8990 else |
8986 echo "configure: failed program was:" >&5 | 8991 echo "configure: failed program was:" >&5 |
8987 cat conftest.$ac_ext >&5 | 8992 cat conftest.$ac_ext >&5 |
9008 fi | 9013 fi |
9009 | 9014 |
9010 if test "$athena_3d" = "no"; then | 9015 if test "$athena_3d" = "no"; then |
9011 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 9016 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
9012 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 9017 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
9013 echo "configure:9014: checking for X11/Xaw/ThreeD.h" >&5 | 9018 echo "configure:9019: checking for X11/Xaw/ThreeD.h" >&5 |
9014 | 9019 |
9015 cat > conftest.$ac_ext <<EOF | 9020 cat > conftest.$ac_ext <<EOF |
9016 #line 9017 "configure" | 9021 #line 9022 "configure" |
9017 #include "confdefs.h" | 9022 #include "confdefs.h" |
9018 #include <X11/Xaw/ThreeD.h> | 9023 #include <X11/Xaw/ThreeD.h> |
9019 EOF | 9024 EOF |
9020 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9025 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9021 { (eval echo configure:9022: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9026 { (eval echo configure:9027: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9022 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9027 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9023 if test -z "$ac_err"; then | 9028 if test -z "$ac_err"; then |
9024 rm -rf conftest* | 9029 rm -rf conftest* |
9025 eval "ac_cv_header_$ac_safe=yes" | 9030 eval "ac_cv_header_$ac_safe=yes" |
9026 else | 9031 else |
9036 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 | 9041 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 |
9037 else | 9042 else |
9038 echo "$ac_t""no" 1>&6 | 9043 echo "$ac_t""no" 1>&6 |
9039 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` | 9044 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` |
9040 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 | 9045 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 |
9041 echo "configure:9042: checking for X11/Xaw/XawInit.h" >&5 | 9046 echo "configure:9047: checking for X11/Xaw/XawInit.h" >&5 |
9042 | 9047 |
9043 cat > conftest.$ac_ext <<EOF | 9048 cat > conftest.$ac_ext <<EOF |
9044 #line 9045 "configure" | 9049 #line 9050 "configure" |
9045 #include "confdefs.h" | 9050 #include "confdefs.h" |
9046 #include <X11/Xaw/XawInit.h> | 9051 #include <X11/Xaw/XawInit.h> |
9047 EOF | 9052 EOF |
9048 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9053 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9049 { (eval echo configure:9050: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9054 { (eval echo configure:9055: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9050 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9055 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9051 if test -z "$ac_err"; then | 9056 if test -z "$ac_err"; then |
9052 rm -rf conftest* | 9057 rm -rf conftest* |
9053 eval "ac_cv_header_$ac_safe=yes" | 9058 eval "ac_cv_header_$ac_safe=yes" |
9054 else | 9059 else |
9070 fi | 9075 fi |
9071 | 9076 |
9072 else | 9077 else |
9073 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 9078 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
9074 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 | 9079 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 |
9075 echo "configure:9076: checking for X11/$athena_variant/XawInit.h" >&5 | 9080 echo "configure:9081: checking for X11/$athena_variant/XawInit.h" >&5 |
9076 | 9081 |
9077 cat > conftest.$ac_ext <<EOF | 9082 cat > conftest.$ac_ext <<EOF |
9078 #line 9079 "configure" | 9083 #line 9084 "configure" |
9079 #include "confdefs.h" | 9084 #include "confdefs.h" |
9080 #include <X11/$athena_variant/XawInit.h> | 9085 #include <X11/$athena_variant/XawInit.h> |
9081 EOF | 9086 EOF |
9082 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9087 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9083 { (eval echo configure:9084: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9088 { (eval echo configure:9089: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9084 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9089 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9085 if test -z "$ac_err"; then | 9090 if test -z "$ac_err"; then |
9086 rm -rf conftest* | 9091 rm -rf conftest* |
9087 eval "ac_cv_header_$ac_safe=yes" | 9092 eval "ac_cv_header_$ac_safe=yes" |
9088 else | 9093 else |
9095 rm -f conftest* | 9100 rm -f conftest* |
9096 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9101 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9097 echo "$ac_t""yes" 1>&6 | 9102 echo "$ac_t""yes" 1>&6 |
9098 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 9103 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
9099 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 | 9104 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 |
9100 echo "configure:9101: checking for X11/$athena_variant/ThreeD.h" >&5 | 9105 echo "configure:9106: checking for X11/$athena_variant/ThreeD.h" >&5 |
9101 | 9106 |
9102 cat > conftest.$ac_ext <<EOF | 9107 cat > conftest.$ac_ext <<EOF |
9103 #line 9104 "configure" | 9108 #line 9109 "configure" |
9104 #include "confdefs.h" | 9109 #include "confdefs.h" |
9105 #include <X11/$athena_variant/ThreeD.h> | 9110 #include <X11/$athena_variant/ThreeD.h> |
9106 EOF | 9111 EOF |
9107 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9112 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9108 { (eval echo configure:9109: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9113 { (eval echo configure:9114: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9109 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9114 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9110 if test -z "$ac_err"; then | 9115 if test -z "$ac_err"; then |
9111 rm -rf conftest* | 9116 rm -rf conftest* |
9112 eval "ac_cv_header_$ac_safe=yes" | 9117 eval "ac_cv_header_$ac_safe=yes" |
9113 else | 9118 else |
9131 | 9136 |
9132 | 9137 |
9133 if test -z "$athena_h_path"; then | 9138 if test -z "$athena_h_path"; then |
9134 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 9139 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
9135 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 | 9140 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 |
9136 echo "configure:9137: checking for $athena_variant/XawInit.h" >&5 | 9141 echo "configure:9142: checking for $athena_variant/XawInit.h" >&5 |
9137 | 9142 |
9138 cat > conftest.$ac_ext <<EOF | 9143 cat > conftest.$ac_ext <<EOF |
9139 #line 9140 "configure" | 9144 #line 9145 "configure" |
9140 #include "confdefs.h" | 9145 #include "confdefs.h" |
9141 #include <$athena_variant/XawInit.h> | 9146 #include <$athena_variant/XawInit.h> |
9142 EOF | 9147 EOF |
9143 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9148 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9144 { (eval echo configure:9145: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9149 { (eval echo configure:9150: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9145 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9150 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9146 if test -z "$ac_err"; then | 9151 if test -z "$ac_err"; then |
9147 rm -rf conftest* | 9152 rm -rf conftest* |
9148 eval "ac_cv_header_$ac_safe=yes" | 9153 eval "ac_cv_header_$ac_safe=yes" |
9149 else | 9154 else |
9156 rm -f conftest* | 9161 rm -f conftest* |
9157 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9162 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9158 echo "$ac_t""yes" 1>&6 | 9163 echo "$ac_t""yes" 1>&6 |
9159 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 9164 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
9160 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 | 9165 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 |
9161 echo "configure:9162: checking for $athena_variant/ThreeD.h" >&5 | 9166 echo "configure:9167: checking for $athena_variant/ThreeD.h" >&5 |
9162 | 9167 |
9163 cat > conftest.$ac_ext <<EOF | 9168 cat > conftest.$ac_ext <<EOF |
9164 #line 9165 "configure" | 9169 #line 9170 "configure" |
9165 #include "confdefs.h" | 9170 #include "confdefs.h" |
9166 #include <$athena_variant/ThreeD.h> | 9171 #include <$athena_variant/ThreeD.h> |
9167 EOF | 9172 EOF |
9168 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9173 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9169 { (eval echo configure:9170: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9174 { (eval echo configure:9175: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9170 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9175 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9171 if test -z "$ac_err"; then | 9176 if test -z "$ac_err"; then |
9172 rm -rf conftest* | 9177 rm -rf conftest* |
9173 eval "ac_cv_header_$ac_safe=yes" | 9178 eval "ac_cv_header_$ac_safe=yes" |
9174 else | 9179 else |
9193 fi | 9198 fi |
9194 | 9199 |
9195 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 9200 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
9196 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 9201 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
9197 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 | 9202 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 |
9198 echo "configure:9199: checking for X11/Xaw3d/XawInit.h" >&5 | 9203 echo "configure:9204: checking for X11/Xaw3d/XawInit.h" >&5 |
9199 | 9204 |
9200 cat > conftest.$ac_ext <<EOF | 9205 cat > conftest.$ac_ext <<EOF |
9201 #line 9202 "configure" | 9206 #line 9207 "configure" |
9202 #include "confdefs.h" | 9207 #include "confdefs.h" |
9203 #include <X11/Xaw3d/XawInit.h> | 9208 #include <X11/Xaw3d/XawInit.h> |
9204 EOF | 9209 EOF |
9205 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9210 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9206 { (eval echo configure:9207: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9211 { (eval echo configure:9212: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9207 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9212 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9208 if test -z "$ac_err"; then | 9213 if test -z "$ac_err"; then |
9209 rm -rf conftest* | 9214 rm -rf conftest* |
9210 eval "ac_cv_header_$ac_safe=yes" | 9215 eval "ac_cv_header_$ac_safe=yes" |
9211 else | 9216 else |
9218 rm -f conftest* | 9223 rm -f conftest* |
9219 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9224 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9220 echo "$ac_t""yes" 1>&6 | 9225 echo "$ac_t""yes" 1>&6 |
9221 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 9226 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
9222 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 9227 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
9223 echo "configure:9224: checking for X11/Xaw3d/ThreeD.h" >&5 | 9228 echo "configure:9229: checking for X11/Xaw3d/ThreeD.h" >&5 |
9224 | 9229 |
9225 cat > conftest.$ac_ext <<EOF | 9230 cat > conftest.$ac_ext <<EOF |
9226 #line 9227 "configure" | 9231 #line 9232 "configure" |
9227 #include "confdefs.h" | 9232 #include "confdefs.h" |
9228 #include <X11/Xaw3d/ThreeD.h> | 9233 #include <X11/Xaw3d/ThreeD.h> |
9229 EOF | 9234 EOF |
9230 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9235 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9231 { (eval echo configure:9232: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9236 { (eval echo configure:9237: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9232 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9237 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9233 if test -z "$ac_err"; then | 9238 if test -z "$ac_err"; then |
9234 rm -rf conftest* | 9239 rm -rf conftest* |
9235 eval "ac_cv_header_$ac_safe=yes" | 9240 eval "ac_cv_header_$ac_safe=yes" |
9236 else | 9241 else |
9258 fi | 9263 fi |
9259 | 9264 |
9260 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 9265 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
9261 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 9266 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
9262 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 | 9267 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 |
9263 echo "configure:9264: checking for Xaw3d/XawInit.h" >&5 | 9268 echo "configure:9269: checking for Xaw3d/XawInit.h" >&5 |
9264 | 9269 |
9265 cat > conftest.$ac_ext <<EOF | 9270 cat > conftest.$ac_ext <<EOF |
9266 #line 9267 "configure" | 9271 #line 9272 "configure" |
9267 #include "confdefs.h" | 9272 #include "confdefs.h" |
9268 #include <Xaw3d/XawInit.h> | 9273 #include <Xaw3d/XawInit.h> |
9269 EOF | 9274 EOF |
9270 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9275 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9271 { (eval echo configure:9272: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9276 { (eval echo configure:9277: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9272 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9277 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9273 if test -z "$ac_err"; then | 9278 if test -z "$ac_err"; then |
9274 rm -rf conftest* | 9279 rm -rf conftest* |
9275 eval "ac_cv_header_$ac_safe=yes" | 9280 eval "ac_cv_header_$ac_safe=yes" |
9276 else | 9281 else |
9283 rm -f conftest* | 9288 rm -f conftest* |
9284 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9289 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9285 echo "$ac_t""yes" 1>&6 | 9290 echo "$ac_t""yes" 1>&6 |
9286 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 9291 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
9287 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 9292 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
9288 echo "configure:9289: checking for Xaw3d/ThreeD.h" >&5 | 9293 echo "configure:9294: checking for Xaw3d/ThreeD.h" >&5 |
9289 | 9294 |
9290 cat > conftest.$ac_ext <<EOF | 9295 cat > conftest.$ac_ext <<EOF |
9291 #line 9292 "configure" | 9296 #line 9297 "configure" |
9292 #include "confdefs.h" | 9297 #include "confdefs.h" |
9293 #include <Xaw3d/ThreeD.h> | 9298 #include <Xaw3d/ThreeD.h> |
9294 EOF | 9299 EOF |
9295 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9300 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9296 { (eval echo configure:9297: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9301 { (eval echo configure:9302: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9297 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9302 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9298 if test -z "$ac_err"; then | 9303 if test -z "$ac_err"; then |
9299 rm -rf conftest* | 9304 rm -rf conftest* |
9300 eval "ac_cv_header_$ac_safe=yes" | 9305 eval "ac_cv_header_$ac_safe=yes" |
9301 else | 9306 else |
9323 fi | 9328 fi |
9324 | 9329 |
9325 if test -z "$athena_h_path"; then | 9330 if test -z "$athena_h_path"; then |
9326 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 9331 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
9327 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 9332 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
9328 echo "configure:9329: checking for X11/Xaw/ThreeD.h" >&5 | 9333 echo "configure:9334: checking for X11/Xaw/ThreeD.h" >&5 |
9329 | 9334 |
9330 cat > conftest.$ac_ext <<EOF | 9335 cat > conftest.$ac_ext <<EOF |
9331 #line 9332 "configure" | 9336 #line 9337 "configure" |
9332 #include "confdefs.h" | 9337 #include "confdefs.h" |
9333 #include <X11/Xaw/ThreeD.h> | 9338 #include <X11/Xaw/ThreeD.h> |
9334 EOF | 9339 EOF |
9335 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9340 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9336 { (eval echo configure:9337: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9341 { (eval echo configure:9342: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9337 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9342 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9338 if test -z "$ac_err"; then | 9343 if test -z "$ac_err"; then |
9339 rm -rf conftest* | 9344 rm -rf conftest* |
9340 eval "ac_cv_header_$ac_safe=yes" | 9345 eval "ac_cv_header_$ac_safe=yes" |
9341 else | 9346 else |
9366 have_xaw=no | 9371 have_xaw=no |
9367 fi | 9372 fi |
9368 | 9373 |
9369 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 9374 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
9370 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 9375 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
9371 echo "configure:9372: checking for Xm/Xm.h" >&5 | 9376 echo "configure:9377: checking for Xm/Xm.h" >&5 |
9372 | 9377 |
9373 cat > conftest.$ac_ext <<EOF | 9378 cat > conftest.$ac_ext <<EOF |
9374 #line 9375 "configure" | 9379 #line 9380 "configure" |
9375 #include "confdefs.h" | 9380 #include "confdefs.h" |
9376 #include <Xm/Xm.h> | 9381 #include <Xm/Xm.h> |
9377 EOF | 9382 EOF |
9378 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9383 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9379 { (eval echo configure:9380: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9384 { (eval echo configure:9385: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9380 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9385 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9381 if test -z "$ac_err"; then | 9386 if test -z "$ac_err"; then |
9382 rm -rf conftest* | 9387 rm -rf conftest* |
9383 eval "ac_cv_header_$ac_safe=yes" | 9388 eval "ac_cv_header_$ac_safe=yes" |
9384 else | 9389 else |
9391 rm -f conftest* | 9396 rm -f conftest* |
9392 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9397 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9393 echo "$ac_t""yes" 1>&6 | 9398 echo "$ac_t""yes" 1>&6 |
9394 | 9399 |
9395 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 9400 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
9396 echo "configure:9397: checking for XmStringFree in -lXm" >&5 | 9401 echo "configure:9402: checking for XmStringFree in -lXm" >&5 |
9397 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 9402 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
9398 | 9403 |
9399 xe_check_libs=" -lXm " | 9404 xe_check_libs=" -lXm " |
9400 cat > conftest.$ac_ext <<EOF | 9405 cat > conftest.$ac_ext <<EOF |
9401 #line 9402 "configure" | 9406 #line 9407 "configure" |
9402 #include "confdefs.h" | 9407 #include "confdefs.h" |
9403 /* Override any gcc2 internal prototype to avoid an error. */ | 9408 /* Override any gcc2 internal prototype to avoid an error. */ |
9404 /* We use char because int might match the return type of a gcc2 | 9409 /* We use char because int might match the return type of a gcc2 |
9405 builtin and then its argument prototype would still apply. */ | 9410 builtin and then its argument prototype would still apply. */ |
9406 char XmStringFree(); | 9411 char XmStringFree(); |
9407 | 9412 |
9408 int main() { | 9413 int main() { |
9409 XmStringFree() | 9414 XmStringFree() |
9410 ; return 0; } | 9415 ; return 0; } |
9411 EOF | 9416 EOF |
9412 if { (eval echo configure:9413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9417 if { (eval echo configure:9418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9413 rm -rf conftest* | 9418 rm -rf conftest* |
9414 eval "ac_cv_lib_$ac_lib_var=yes" | 9419 eval "ac_cv_lib_$ac_lib_var=yes" |
9415 else | 9420 else |
9416 echo "configure: failed program was:" >&5 | 9421 echo "configure: failed program was:" >&5 |
9417 cat conftest.$ac_ext >&5 | 9422 cat conftest.$ac_ext >&5 |
9436 fi | 9441 fi |
9437 | 9442 |
9438 | 9443 |
9439 if test "$have_motif" = "yes"; then | 9444 if test "$have_motif" = "yes"; then |
9440 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 9445 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
9441 echo "configure:9442: checking for Lesstif" >&5 | 9446 echo "configure:9447: checking for Lesstif" >&5 |
9442 cat > conftest.$ac_ext <<EOF | 9447 cat > conftest.$ac_ext <<EOF |
9443 #line 9444 "configure" | 9448 #line 9449 "configure" |
9444 #include "confdefs.h" | 9449 #include "confdefs.h" |
9445 #include <Xm/Xm.h> | 9450 #include <Xm/Xm.h> |
9446 #ifdef LESSTIF_VERSION | 9451 #ifdef LESSTIF_VERSION |
9447 yes | 9452 yes |
9448 #endif | 9453 #endif |
9868 | 9873 |
9869 test -z "$with_file_coding" && with_file_coding=no | 9874 test -z "$with_file_coding" && with_file_coding=no |
9870 | 9875 |
9871 if test "$with_mule" = "yes" ; then | 9876 if test "$with_mule" = "yes" ; then |
9872 echo "checking for Mule-related features" 1>&6 | 9877 echo "checking for Mule-related features" 1>&6 |
9873 echo "configure:9874: checking for Mule-related features" >&5 | 9878 echo "configure:9879: checking for Mule-related features" >&5 |
9874 { test "$extra_verbose" = "yes" && cat << \EOF | 9879 { test "$extra_verbose" = "yes" && cat << \EOF |
9875 Defining MULE | 9880 Defining MULE |
9876 EOF | 9881 EOF |
9877 cat >> confdefs.h <<\EOF | 9882 cat >> confdefs.h <<\EOF |
9878 #define MULE 1 | 9883 #define MULE 1 |
9893 | 9898 |
9894 for ac_hdr in libintl.h | 9899 for ac_hdr in libintl.h |
9895 do | 9900 do |
9896 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 9901 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
9897 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 9902 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
9898 echo "configure:9899: checking for $ac_hdr" >&5 | 9903 echo "configure:9904: checking for $ac_hdr" >&5 |
9899 | 9904 |
9900 cat > conftest.$ac_ext <<EOF | 9905 cat > conftest.$ac_ext <<EOF |
9901 #line 9902 "configure" | 9906 #line 9907 "configure" |
9902 #include "confdefs.h" | 9907 #include "confdefs.h" |
9903 #include <$ac_hdr> | 9908 #include <$ac_hdr> |
9904 EOF | 9909 EOF |
9905 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9910 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9906 { (eval echo configure:9907: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9911 { (eval echo configure:9912: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9907 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9912 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9908 if test -z "$ac_err"; then | 9913 if test -z "$ac_err"; then |
9909 rm -rf conftest* | 9914 rm -rf conftest* |
9910 eval "ac_cv_header_$ac_safe=yes" | 9915 eval "ac_cv_header_$ac_safe=yes" |
9911 else | 9916 else |
9932 fi | 9937 fi |
9933 done | 9938 done |
9934 | 9939 |
9935 | 9940 |
9936 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 9941 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
9937 echo "configure:9938: checking for strerror in -lintl" >&5 | 9942 echo "configure:9943: checking for strerror in -lintl" >&5 |
9938 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 9943 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
9939 | 9944 |
9940 xe_check_libs=" -lintl " | 9945 xe_check_libs=" -lintl " |
9941 cat > conftest.$ac_ext <<EOF | 9946 cat > conftest.$ac_ext <<EOF |
9942 #line 9943 "configure" | 9947 #line 9948 "configure" |
9943 #include "confdefs.h" | 9948 #include "confdefs.h" |
9944 /* Override any gcc2 internal prototype to avoid an error. */ | 9949 /* Override any gcc2 internal prototype to avoid an error. */ |
9945 /* We use char because int might match the return type of a gcc2 | 9950 /* We use char because int might match the return type of a gcc2 |
9946 builtin and then its argument prototype would still apply. */ | 9951 builtin and then its argument prototype would still apply. */ |
9947 char strerror(); | 9952 char strerror(); |
9948 | 9953 |
9949 int main() { | 9954 int main() { |
9950 strerror() | 9955 strerror() |
9951 ; return 0; } | 9956 ; return 0; } |
9952 EOF | 9957 EOF |
9953 if { (eval echo configure:9954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9958 if { (eval echo configure:9959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9954 rm -rf conftest* | 9959 rm -rf conftest* |
9955 eval "ac_cv_lib_$ac_lib_var=yes" | 9960 eval "ac_cv_lib_$ac_lib_var=yes" |
9956 else | 9961 else |
9957 echo "configure: failed program was:" >&5 | 9962 echo "configure: failed program was:" >&5 |
9958 cat conftest.$ac_ext >&5 | 9963 cat conftest.$ac_ext >&5 |
9981 fi | 9986 fi |
9982 | 9987 |
9983 | 9988 |
9984 | 9989 |
9985 echo "checking for Mule input methods" 1>&6 | 9990 echo "checking for Mule input methods" 1>&6 |
9986 echo "configure:9987: checking for Mule input methods" >&5 | 9991 echo "configure:9992: checking for Mule input methods" >&5 |
9987 case "$with_xim" in "" | "yes" ) | 9992 case "$with_xim" in "" | "yes" ) |
9988 echo "checking for XIM" 1>&6 | 9993 echo "checking for XIM" 1>&6 |
9989 echo "configure:9990: checking for XIM" >&5 | 9994 echo "configure:9995: checking for XIM" >&5 |
9990 | 9995 |
9991 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 9996 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
9992 echo "configure:9993: checking for XOpenIM in -lX11" >&5 | 9997 echo "configure:9998: checking for XOpenIM in -lX11" >&5 |
9993 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 9998 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
9994 | 9999 |
9995 xe_check_libs=" -lX11 " | 10000 xe_check_libs=" -lX11 " |
9996 cat > conftest.$ac_ext <<EOF | 10001 cat > conftest.$ac_ext <<EOF |
9997 #line 9998 "configure" | 10002 #line 10003 "configure" |
9998 #include "confdefs.h" | 10003 #include "confdefs.h" |
9999 /* Override any gcc2 internal prototype to avoid an error. */ | 10004 /* Override any gcc2 internal prototype to avoid an error. */ |
10000 /* We use char because int might match the return type of a gcc2 | 10005 /* We use char because int might match the return type of a gcc2 |
10001 builtin and then its argument prototype would still apply. */ | 10006 builtin and then its argument prototype would still apply. */ |
10002 char XOpenIM(); | 10007 char XOpenIM(); |
10003 | 10008 |
10004 int main() { | 10009 int main() { |
10005 XOpenIM() | 10010 XOpenIM() |
10006 ; return 0; } | 10011 ; return 0; } |
10007 EOF | 10012 EOF |
10008 if { (eval echo configure:10009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10013 if { (eval echo configure:10014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10009 rm -rf conftest* | 10014 rm -rf conftest* |
10010 eval "ac_cv_lib_$ac_lib_var=yes" | 10015 eval "ac_cv_lib_$ac_lib_var=yes" |
10011 else | 10016 else |
10012 echo "configure: failed program was:" >&5 | 10017 echo "configure: failed program was:" >&5 |
10013 cat conftest.$ac_ext >&5 | 10018 cat conftest.$ac_ext >&5 |
10027 | 10032 |
10028 | 10033 |
10029 if test "$have_motif $have_lesstif" = "yes no"; then | 10034 if test "$have_motif $have_lesstif" = "yes no"; then |
10030 | 10035 |
10031 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 10036 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
10032 echo "configure:10033: checking for XmImMbLookupString in -lXm" >&5 | 10037 echo "configure:10038: checking for XmImMbLookupString in -lXm" >&5 |
10033 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 10038 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
10034 | 10039 |
10035 xe_check_libs=" -lXm " | 10040 xe_check_libs=" -lXm " |
10036 cat > conftest.$ac_ext <<EOF | 10041 cat > conftest.$ac_ext <<EOF |
10037 #line 10038 "configure" | 10042 #line 10043 "configure" |
10038 #include "confdefs.h" | 10043 #include "confdefs.h" |
10039 /* Override any gcc2 internal prototype to avoid an error. */ | 10044 /* Override any gcc2 internal prototype to avoid an error. */ |
10040 /* We use char because int might match the return type of a gcc2 | 10045 /* We use char because int might match the return type of a gcc2 |
10041 builtin and then its argument prototype would still apply. */ | 10046 builtin and then its argument prototype would still apply. */ |
10042 char XmImMbLookupString(); | 10047 char XmImMbLookupString(); |
10043 | 10048 |
10044 int main() { | 10049 int main() { |
10045 XmImMbLookupString() | 10050 XmImMbLookupString() |
10046 ; return 0; } | 10051 ; return 0; } |
10047 EOF | 10052 EOF |
10048 if { (eval echo configure:10049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10053 if { (eval echo configure:10054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10049 rm -rf conftest* | 10054 rm -rf conftest* |
10050 eval "ac_cv_lib_$ac_lib_var=yes" | 10055 eval "ac_cv_lib_$ac_lib_var=yes" |
10051 else | 10056 else |
10052 echo "configure: failed program was:" >&5 | 10057 echo "configure: failed program was:" >&5 |
10053 cat conftest.$ac_ext >&5 | 10058 cat conftest.$ac_ext >&5 |
10108 fi | 10113 fi |
10109 fi | 10114 fi |
10110 | 10115 |
10111 if test "$with_xfs" = "yes" ; then | 10116 if test "$with_xfs" = "yes" ; then |
10112 echo "checking for XFontSet" 1>&6 | 10117 echo "checking for XFontSet" 1>&6 |
10113 echo "configure:10114: checking for XFontSet" >&5 | 10118 echo "configure:10119: checking for XFontSet" >&5 |
10114 | 10119 |
10115 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 10120 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
10116 echo "configure:10117: checking for XmbDrawString in -lX11" >&5 | 10121 echo "configure:10122: checking for XmbDrawString in -lX11" >&5 |
10117 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 10122 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
10118 | 10123 |
10119 xe_check_libs=" -lX11 " | 10124 xe_check_libs=" -lX11 " |
10120 cat > conftest.$ac_ext <<EOF | 10125 cat > conftest.$ac_ext <<EOF |
10121 #line 10122 "configure" | 10126 #line 10127 "configure" |
10122 #include "confdefs.h" | 10127 #include "confdefs.h" |
10123 /* Override any gcc2 internal prototype to avoid an error. */ | 10128 /* Override any gcc2 internal prototype to avoid an error. */ |
10124 /* We use char because int might match the return type of a gcc2 | 10129 /* We use char because int might match the return type of a gcc2 |
10125 builtin and then its argument prototype would still apply. */ | 10130 builtin and then its argument prototype would still apply. */ |
10126 char XmbDrawString(); | 10131 char XmbDrawString(); |
10127 | 10132 |
10128 int main() { | 10133 int main() { |
10129 XmbDrawString() | 10134 XmbDrawString() |
10130 ; return 0; } | 10135 ; return 0; } |
10131 EOF | 10136 EOF |
10132 if { (eval echo configure:10133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10137 if { (eval echo configure:10138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10133 rm -rf conftest* | 10138 rm -rf conftest* |
10134 eval "ac_cv_lib_$ac_lib_var=yes" | 10139 eval "ac_cv_lib_$ac_lib_var=yes" |
10135 else | 10140 else |
10136 echo "configure: failed program was:" >&5 | 10141 echo "configure: failed program was:" >&5 |
10137 cat conftest.$ac_ext >&5 | 10142 cat conftest.$ac_ext >&5 |
10167 fi | 10172 fi |
10168 fi | 10173 fi |
10169 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 10174 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
10170 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 10175 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
10171 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 10176 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
10172 echo "configure:10173: checking for wnn/jllib.h" >&5 | 10177 echo "configure:10178: checking for wnn/jllib.h" >&5 |
10173 | 10178 |
10174 cat > conftest.$ac_ext <<EOF | 10179 cat > conftest.$ac_ext <<EOF |
10175 #line 10176 "configure" | 10180 #line 10181 "configure" |
10176 #include "confdefs.h" | 10181 #include "confdefs.h" |
10177 #include <wnn/jllib.h> | 10182 #include <wnn/jllib.h> |
10178 EOF | 10183 EOF |
10179 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10184 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10180 { (eval echo configure:10181: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10185 { (eval echo configure:10186: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10181 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10186 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10182 if test -z "$ac_err"; then | 10187 if test -z "$ac_err"; then |
10183 rm -rf conftest* | 10188 rm -rf conftest* |
10184 eval "ac_cv_header_$ac_safe=yes" | 10189 eval "ac_cv_header_$ac_safe=yes" |
10185 else | 10190 else |
10198 with_wnn=no | 10203 with_wnn=no |
10199 fi | 10204 fi |
10200 } | 10205 } |
10201 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` | 10206 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` |
10202 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 | 10207 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 |
10203 echo "configure:10204: checking for wnn/commonhd.h" >&5 | 10208 echo "configure:10209: checking for wnn/commonhd.h" >&5 |
10204 | 10209 |
10205 cat > conftest.$ac_ext <<EOF | 10210 cat > conftest.$ac_ext <<EOF |
10206 #line 10207 "configure" | 10211 #line 10212 "configure" |
10207 #include "confdefs.h" | 10212 #include "confdefs.h" |
10208 #include <wnn/commonhd.h> | 10213 #include <wnn/commonhd.h> |
10209 EOF | 10214 EOF |
10210 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10215 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10211 { (eval echo configure:10212: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10216 { (eval echo configure:10217: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10212 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10217 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10213 if test -z "$ac_err"; then | 10218 if test -z "$ac_err"; then |
10214 rm -rf conftest* | 10219 rm -rf conftest* |
10215 eval "ac_cv_header_$ac_safe=yes" | 10220 eval "ac_cv_header_$ac_safe=yes" |
10216 else | 10221 else |
10231 } | 10236 } |
10232 if test "$with_wnn" != "no"; then | 10237 if test "$with_wnn" != "no"; then |
10233 for ac_func in crypt | 10238 for ac_func in crypt |
10234 do | 10239 do |
10235 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10240 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10236 echo "configure:10237: checking for $ac_func" >&5 | 10241 echo "configure:10242: checking for $ac_func" >&5 |
10237 | 10242 |
10238 cat > conftest.$ac_ext <<EOF | 10243 cat > conftest.$ac_ext <<EOF |
10239 #line 10240 "configure" | 10244 #line 10245 "configure" |
10240 #include "confdefs.h" | 10245 #include "confdefs.h" |
10241 /* System header to define __stub macros and hopefully few prototypes, | 10246 /* System header to define __stub macros and hopefully few prototypes, |
10242 which can conflict with char $ac_func(); below. */ | 10247 which can conflict with char $ac_func(); below. */ |
10243 #include <assert.h> | 10248 #include <assert.h> |
10244 /* Override any gcc2 internal prototype to avoid an error. */ | 10249 /* Override any gcc2 internal prototype to avoid an error. */ |
10257 $ac_func(); | 10262 $ac_func(); |
10258 #endif | 10263 #endif |
10259 | 10264 |
10260 ; return 0; } | 10265 ; return 0; } |
10261 EOF | 10266 EOF |
10262 if { (eval echo configure:10263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10267 if { (eval echo configure:10268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10263 rm -rf conftest* | 10268 rm -rf conftest* |
10264 eval "ac_cv_func_$ac_func=yes" | 10269 eval "ac_cv_func_$ac_func=yes" |
10265 else | 10270 else |
10266 echo "configure: failed program was:" >&5 | 10271 echo "configure: failed program was:" >&5 |
10267 cat conftest.$ac_ext >&5 | 10272 cat conftest.$ac_ext >&5 |
10286 fi | 10291 fi |
10287 done | 10292 done |
10288 | 10293 |
10289 test "$ac_cv_func_crypt" != "yes" && { | 10294 test "$ac_cv_func_crypt" != "yes" && { |
10290 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 10295 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
10291 echo "configure:10292: checking for crypt in -lcrypt" >&5 | 10296 echo "configure:10297: checking for crypt in -lcrypt" >&5 |
10292 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 10297 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
10293 | 10298 |
10294 xe_check_libs=" -lcrypt " | 10299 xe_check_libs=" -lcrypt " |
10295 cat > conftest.$ac_ext <<EOF | 10300 cat > conftest.$ac_ext <<EOF |
10296 #line 10297 "configure" | 10301 #line 10302 "configure" |
10297 #include "confdefs.h" | 10302 #include "confdefs.h" |
10298 /* Override any gcc2 internal prototype to avoid an error. */ | 10303 /* Override any gcc2 internal prototype to avoid an error. */ |
10299 /* We use char because int might match the return type of a gcc2 | 10304 /* We use char because int might match the return type of a gcc2 |
10300 builtin and then its argument prototype would still apply. */ | 10305 builtin and then its argument prototype would still apply. */ |
10301 char crypt(); | 10306 char crypt(); |
10302 | 10307 |
10303 int main() { | 10308 int main() { |
10304 crypt() | 10309 crypt() |
10305 ; return 0; } | 10310 ; return 0; } |
10306 EOF | 10311 EOF |
10307 if { (eval echo configure:10308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10312 if { (eval echo configure:10313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10308 rm -rf conftest* | 10313 rm -rf conftest* |
10309 eval "ac_cv_lib_$ac_lib_var=yes" | 10314 eval "ac_cv_lib_$ac_lib_var=yes" |
10310 else | 10315 else |
10311 echo "configure: failed program was:" >&5 | 10316 echo "configure: failed program was:" >&5 |
10312 cat conftest.$ac_ext >&5 | 10317 cat conftest.$ac_ext >&5 |
10337 } | 10342 } |
10338 fi | 10343 fi |
10339 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 10344 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
10340 | 10345 |
10341 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 10346 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
10342 echo "configure:10343: checking for jl_dic_list_e in -lwnn" >&5 | 10347 echo "configure:10348: checking for jl_dic_list_e in -lwnn" >&5 |
10343 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10348 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
10344 | 10349 |
10345 xe_check_libs=" -lwnn " | 10350 xe_check_libs=" -lwnn " |
10346 cat > conftest.$ac_ext <<EOF | 10351 cat > conftest.$ac_ext <<EOF |
10347 #line 10348 "configure" | 10352 #line 10353 "configure" |
10348 #include "confdefs.h" | 10353 #include "confdefs.h" |
10349 /* Override any gcc2 internal prototype to avoid an error. */ | 10354 /* Override any gcc2 internal prototype to avoid an error. */ |
10350 /* We use char because int might match the return type of a gcc2 | 10355 /* We use char because int might match the return type of a gcc2 |
10351 builtin and then its argument prototype would still apply. */ | 10356 builtin and then its argument prototype would still apply. */ |
10352 char jl_dic_list_e(); | 10357 char jl_dic_list_e(); |
10353 | 10358 |
10354 int main() { | 10359 int main() { |
10355 jl_dic_list_e() | 10360 jl_dic_list_e() |
10356 ; return 0; } | 10361 ; return 0; } |
10357 EOF | 10362 EOF |
10358 if { (eval echo configure:10359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10363 if { (eval echo configure:10364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10359 rm -rf conftest* | 10364 rm -rf conftest* |
10360 eval "ac_cv_lib_$ac_lib_var=yes" | 10365 eval "ac_cv_lib_$ac_lib_var=yes" |
10361 else | 10366 else |
10362 echo "configure: failed program was:" >&5 | 10367 echo "configure: failed program was:" >&5 |
10363 cat conftest.$ac_ext >&5 | 10368 cat conftest.$ac_ext >&5 |
10371 echo "$ac_t""yes" 1>&6 | 10376 echo "$ac_t""yes" 1>&6 |
10372 libwnn=wnn | 10377 libwnn=wnn |
10373 else | 10378 else |
10374 echo "$ac_t""no" 1>&6 | 10379 echo "$ac_t""no" 1>&6 |
10375 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 10380 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
10376 echo "configure:10377: checking for jl_dic_list_e in -lwnn4" >&5 | 10381 echo "configure:10382: checking for jl_dic_list_e in -lwnn4" >&5 |
10377 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10382 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
10378 | 10383 |
10379 xe_check_libs=" -lwnn4 " | 10384 xe_check_libs=" -lwnn4 " |
10380 cat > conftest.$ac_ext <<EOF | 10385 cat > conftest.$ac_ext <<EOF |
10381 #line 10382 "configure" | 10386 #line 10387 "configure" |
10382 #include "confdefs.h" | 10387 #include "confdefs.h" |
10383 /* Override any gcc2 internal prototype to avoid an error. */ | 10388 /* Override any gcc2 internal prototype to avoid an error. */ |
10384 /* We use char because int might match the return type of a gcc2 | 10389 /* We use char because int might match the return type of a gcc2 |
10385 builtin and then its argument prototype would still apply. */ | 10390 builtin and then its argument prototype would still apply. */ |
10386 char jl_dic_list_e(); | 10391 char jl_dic_list_e(); |
10387 | 10392 |
10388 int main() { | 10393 int main() { |
10389 jl_dic_list_e() | 10394 jl_dic_list_e() |
10390 ; return 0; } | 10395 ; return 0; } |
10391 EOF | 10396 EOF |
10392 if { (eval echo configure:10393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10397 if { (eval echo configure:10398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10393 rm -rf conftest* | 10398 rm -rf conftest* |
10394 eval "ac_cv_lib_$ac_lib_var=yes" | 10399 eval "ac_cv_lib_$ac_lib_var=yes" |
10395 else | 10400 else |
10396 echo "configure: failed program was:" >&5 | 10401 echo "configure: failed program was:" >&5 |
10397 cat conftest.$ac_ext >&5 | 10402 cat conftest.$ac_ext >&5 |
10405 echo "$ac_t""yes" 1>&6 | 10410 echo "$ac_t""yes" 1>&6 |
10406 libwnn=wnn4 | 10411 libwnn=wnn4 |
10407 else | 10412 else |
10408 echo "$ac_t""no" 1>&6 | 10413 echo "$ac_t""no" 1>&6 |
10409 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 10414 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
10410 echo "configure:10411: checking for jl_dic_list_e in -lwnn6" >&5 | 10415 echo "configure:10416: checking for jl_dic_list_e in -lwnn6" >&5 |
10411 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10416 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
10412 | 10417 |
10413 xe_check_libs=" -lwnn6 " | 10418 xe_check_libs=" -lwnn6 " |
10414 cat > conftest.$ac_ext <<EOF | 10419 cat > conftest.$ac_ext <<EOF |
10415 #line 10416 "configure" | 10420 #line 10421 "configure" |
10416 #include "confdefs.h" | 10421 #include "confdefs.h" |
10417 /* Override any gcc2 internal prototype to avoid an error. */ | 10422 /* Override any gcc2 internal prototype to avoid an error. */ |
10418 /* We use char because int might match the return type of a gcc2 | 10423 /* We use char because int might match the return type of a gcc2 |
10419 builtin and then its argument prototype would still apply. */ | 10424 builtin and then its argument prototype would still apply. */ |
10420 char jl_dic_list_e(); | 10425 char jl_dic_list_e(); |
10421 | 10426 |
10422 int main() { | 10427 int main() { |
10423 jl_dic_list_e() | 10428 jl_dic_list_e() |
10424 ; return 0; } | 10429 ; return 0; } |
10425 EOF | 10430 EOF |
10426 if { (eval echo configure:10427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10431 if { (eval echo configure:10432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10427 rm -rf conftest* | 10432 rm -rf conftest* |
10428 eval "ac_cv_lib_$ac_lib_var=yes" | 10433 eval "ac_cv_lib_$ac_lib_var=yes" |
10429 else | 10434 else |
10430 echo "configure: failed program was:" >&5 | 10435 echo "configure: failed program was:" >&5 |
10431 cat conftest.$ac_ext >&5 | 10436 cat conftest.$ac_ext >&5 |
10439 echo "$ac_t""yes" 1>&6 | 10444 echo "$ac_t""yes" 1>&6 |
10440 libwnn=wnn6 | 10445 libwnn=wnn6 |
10441 else | 10446 else |
10442 echo "$ac_t""no" 1>&6 | 10447 echo "$ac_t""no" 1>&6 |
10443 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 10448 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
10444 echo "configure:10445: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 10449 echo "configure:10450: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
10445 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 10450 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
10446 | 10451 |
10447 xe_check_libs=" -lwnn6_fromsrc " | 10452 xe_check_libs=" -lwnn6_fromsrc " |
10448 cat > conftest.$ac_ext <<EOF | 10453 cat > conftest.$ac_ext <<EOF |
10449 #line 10450 "configure" | 10454 #line 10455 "configure" |
10450 #include "confdefs.h" | 10455 #include "confdefs.h" |
10451 /* Override any gcc2 internal prototype to avoid an error. */ | 10456 /* Override any gcc2 internal prototype to avoid an error. */ |
10452 /* We use char because int might match the return type of a gcc2 | 10457 /* We use char because int might match the return type of a gcc2 |
10453 builtin and then its argument prototype would still apply. */ | 10458 builtin and then its argument prototype would still apply. */ |
10454 char dic_list_e(); | 10459 char dic_list_e(); |
10455 | 10460 |
10456 int main() { | 10461 int main() { |
10457 dic_list_e() | 10462 dic_list_e() |
10458 ; return 0; } | 10463 ; return 0; } |
10459 EOF | 10464 EOF |
10460 if { (eval echo configure:10461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10465 if { (eval echo configure:10466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10461 rm -rf conftest* | 10466 rm -rf conftest* |
10462 eval "ac_cv_lib_$ac_lib_var=yes" | 10467 eval "ac_cv_lib_$ac_lib_var=yes" |
10463 else | 10468 else |
10464 echo "configure: failed program was:" >&5 | 10469 echo "configure: failed program was:" >&5 |
10465 cat conftest.$ac_ext >&5 | 10470 cat conftest.$ac_ext >&5 |
10503 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 10508 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
10504 fi | 10509 fi |
10505 if test "$with_wnn6" != "no"; then | 10510 if test "$with_wnn6" != "no"; then |
10506 | 10511 |
10507 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 10512 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
10508 echo "configure:10509: checking for jl_fi_dic_list in -l$libwnn" >&5 | 10513 echo "configure:10514: checking for jl_fi_dic_list in -l$libwnn" >&5 |
10509 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 10514 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
10510 | 10515 |
10511 xe_check_libs=" -l$libwnn " | 10516 xe_check_libs=" -l$libwnn " |
10512 cat > conftest.$ac_ext <<EOF | 10517 cat > conftest.$ac_ext <<EOF |
10513 #line 10514 "configure" | 10518 #line 10519 "configure" |
10514 #include "confdefs.h" | 10519 #include "confdefs.h" |
10515 /* Override any gcc2 internal prototype to avoid an error. */ | 10520 /* Override any gcc2 internal prototype to avoid an error. */ |
10516 /* We use char because int might match the return type of a gcc2 | 10521 /* We use char because int might match the return type of a gcc2 |
10517 builtin and then its argument prototype would still apply. */ | 10522 builtin and then its argument prototype would still apply. */ |
10518 char jl_fi_dic_list(); | 10523 char jl_fi_dic_list(); |
10519 | 10524 |
10520 int main() { | 10525 int main() { |
10521 jl_fi_dic_list() | 10526 jl_fi_dic_list() |
10522 ; return 0; } | 10527 ; return 0; } |
10523 EOF | 10528 EOF |
10524 if { (eval echo configure:10525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10529 if { (eval echo configure:10530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10525 rm -rf conftest* | 10530 rm -rf conftest* |
10526 eval "ac_cv_lib_$ac_lib_var=yes" | 10531 eval "ac_cv_lib_$ac_lib_var=yes" |
10527 else | 10532 else |
10528 echo "configure: failed program was:" >&5 | 10533 echo "configure: failed program was:" >&5 |
10529 cat conftest.$ac_ext >&5 | 10534 cat conftest.$ac_ext >&5 |
10554 | 10559 |
10555 canna_includes_found=no | 10560 canna_includes_found=no |
10556 if test "$with_canna" != "no"; then | 10561 if test "$with_canna" != "no"; then |
10557 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 10562 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
10558 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 10563 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
10559 echo "configure:10560: checking for canna/jrkanji.h" >&5 | 10564 echo "configure:10565: checking for canna/jrkanji.h" >&5 |
10560 | 10565 |
10561 cat > conftest.$ac_ext <<EOF | 10566 cat > conftest.$ac_ext <<EOF |
10562 #line 10563 "configure" | 10567 #line 10568 "configure" |
10563 #include "confdefs.h" | 10568 #include "confdefs.h" |
10564 #include <canna/jrkanji.h> | 10569 #include <canna/jrkanji.h> |
10565 EOF | 10570 EOF |
10566 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10571 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10567 { (eval echo configure:10568: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10572 { (eval echo configure:10573: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10568 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10573 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10569 if test -z "$ac_err"; then | 10574 if test -z "$ac_err"; then |
10570 rm -rf conftest* | 10575 rm -rf conftest* |
10571 eval "ac_cv_header_$ac_safe=yes" | 10576 eval "ac_cv_header_$ac_safe=yes" |
10572 else | 10577 else |
10589 -d "/usr/local/canna/include"; then | 10594 -d "/usr/local/canna/include"; then |
10590 save_c_switch_site="$c_switch_site" | 10595 save_c_switch_site="$c_switch_site" |
10591 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 10596 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
10592 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 10597 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
10593 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 10598 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
10594 echo "configure:10595: checking for canna/jrkanji.h" >&5 | 10599 echo "configure:10600: checking for canna/jrkanji.h" >&5 |
10595 | 10600 |
10596 cat > conftest.$ac_ext <<EOF | 10601 cat > conftest.$ac_ext <<EOF |
10597 #line 10598 "configure" | 10602 #line 10603 "configure" |
10598 #include "confdefs.h" | 10603 #include "confdefs.h" |
10599 #include <canna/jrkanji.h> | 10604 #include <canna/jrkanji.h> |
10600 EOF | 10605 EOF |
10601 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10606 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10602 { (eval echo configure:10603: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10607 { (eval echo configure:10608: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10603 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10608 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10604 if test -z "$ac_err"; then | 10609 if test -z "$ac_err"; then |
10605 rm -rf conftest* | 10610 rm -rf conftest* |
10606 eval "ac_cv_header_$ac_safe=yes" | 10611 eval "ac_cv_header_$ac_safe=yes" |
10607 else | 10612 else |
10625 fi | 10630 fi |
10626 fi | 10631 fi |
10627 | 10632 |
10628 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 10633 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
10629 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 10634 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
10630 echo "configure:10631: checking for canna/RK.h" >&5 | 10635 echo "configure:10636: checking for canna/RK.h" >&5 |
10631 | 10636 |
10632 cat > conftest.$ac_ext <<EOF | 10637 cat > conftest.$ac_ext <<EOF |
10633 #line 10634 "configure" | 10638 #line 10639 "configure" |
10634 #include "confdefs.h" | 10639 #include "confdefs.h" |
10635 #include <canna/RK.h> | 10640 #include <canna/RK.h> |
10636 EOF | 10641 EOF |
10637 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10642 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10638 { (eval echo configure:10639: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10643 { (eval echo configure:10644: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10639 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10644 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10640 if test -z "$ac_err"; then | 10645 if test -z "$ac_err"; then |
10641 rm -rf conftest* | 10646 rm -rf conftest* |
10642 eval "ac_cv_header_$ac_safe=yes" | 10647 eval "ac_cv_header_$ac_safe=yes" |
10643 else | 10648 else |
10656 with_canna=no | 10661 with_canna=no |
10657 fi | 10662 fi |
10658 } | 10663 } |
10659 test -z "$with_canna" && { | 10664 test -z "$with_canna" && { |
10660 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 10665 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
10661 echo "configure:10662: checking for RkBgnBun in -lRKC" >&5 | 10666 echo "configure:10667: checking for RkBgnBun in -lRKC" >&5 |
10662 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 10667 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
10663 | 10668 |
10664 xe_check_libs=" -lRKC " | 10669 xe_check_libs=" -lRKC " |
10665 cat > conftest.$ac_ext <<EOF | 10670 cat > conftest.$ac_ext <<EOF |
10666 #line 10667 "configure" | 10671 #line 10672 "configure" |
10667 #include "confdefs.h" | 10672 #include "confdefs.h" |
10668 /* Override any gcc2 internal prototype to avoid an error. */ | 10673 /* Override any gcc2 internal prototype to avoid an error. */ |
10669 /* We use char because int might match the return type of a gcc2 | 10674 /* We use char because int might match the return type of a gcc2 |
10670 builtin and then its argument prototype would still apply. */ | 10675 builtin and then its argument prototype would still apply. */ |
10671 char RkBgnBun(); | 10676 char RkBgnBun(); |
10672 | 10677 |
10673 int main() { | 10678 int main() { |
10674 RkBgnBun() | 10679 RkBgnBun() |
10675 ; return 0; } | 10680 ; return 0; } |
10676 EOF | 10681 EOF |
10677 if { (eval echo configure:10678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10682 if { (eval echo configure:10683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10678 rm -rf conftest* | 10683 rm -rf conftest* |
10679 eval "ac_cv_lib_$ac_lib_var=yes" | 10684 eval "ac_cv_lib_$ac_lib_var=yes" |
10680 else | 10685 else |
10681 echo "configure: failed program was:" >&5 | 10686 echo "configure: failed program was:" >&5 |
10682 cat conftest.$ac_ext >&5 | 10687 cat conftest.$ac_ext >&5 |
10695 fi | 10700 fi |
10696 | 10701 |
10697 } | 10702 } |
10698 test -z "$with_canna" && { | 10703 test -z "$with_canna" && { |
10699 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 10704 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
10700 echo "configure:10701: checking for jrKanjiControl in -lcanna" >&5 | 10705 echo "configure:10706: checking for jrKanjiControl in -lcanna" >&5 |
10701 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 10706 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
10702 | 10707 |
10703 xe_check_libs=" -lcanna " | 10708 xe_check_libs=" -lcanna " |
10704 cat > conftest.$ac_ext <<EOF | 10709 cat > conftest.$ac_ext <<EOF |
10705 #line 10706 "configure" | 10710 #line 10711 "configure" |
10706 #include "confdefs.h" | 10711 #include "confdefs.h" |
10707 /* Override any gcc2 internal prototype to avoid an error. */ | 10712 /* Override any gcc2 internal prototype to avoid an error. */ |
10708 /* We use char because int might match the return type of a gcc2 | 10713 /* We use char because int might match the return type of a gcc2 |
10709 builtin and then its argument prototype would still apply. */ | 10714 builtin and then its argument prototype would still apply. */ |
10710 char jrKanjiControl(); | 10715 char jrKanjiControl(); |
10711 | 10716 |
10712 int main() { | 10717 int main() { |
10713 jrKanjiControl() | 10718 jrKanjiControl() |
10714 ; return 0; } | 10719 ; return 0; } |
10715 EOF | 10720 EOF |
10716 if { (eval echo configure:10717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10721 if { (eval echo configure:10722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10717 rm -rf conftest* | 10722 rm -rf conftest* |
10718 eval "ac_cv_lib_$ac_lib_var=yes" | 10723 eval "ac_cv_lib_$ac_lib_var=yes" |
10719 else | 10724 else |
10720 echo "configure: failed program was:" >&5 | 10725 echo "configure: failed program was:" >&5 |
10721 cat conftest.$ac_ext >&5 | 10726 cat conftest.$ac_ext >&5 |
10760 | 10765 |
10761 if test "$need_motif" = "yes" ; then | 10766 if test "$need_motif" = "yes" ; then |
10762 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 10767 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
10763 | 10768 |
10764 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 10769 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
10765 echo "configure:10766: checking for layout_object_getvalue in -li18n" >&5 | 10770 echo "configure:10771: checking for layout_object_getvalue in -li18n" >&5 |
10766 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 10771 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
10767 | 10772 |
10768 xe_check_libs=" -li18n " | 10773 xe_check_libs=" -li18n " |
10769 cat > conftest.$ac_ext <<EOF | 10774 cat > conftest.$ac_ext <<EOF |
10770 #line 10771 "configure" | 10775 #line 10776 "configure" |
10771 #include "confdefs.h" | 10776 #include "confdefs.h" |
10772 /* Override any gcc2 internal prototype to avoid an error. */ | 10777 /* Override any gcc2 internal prototype to avoid an error. */ |
10773 /* We use char because int might match the return type of a gcc2 | 10778 /* We use char because int might match the return type of a gcc2 |
10774 builtin and then its argument prototype would still apply. */ | 10779 builtin and then its argument prototype would still apply. */ |
10775 char layout_object_getvalue(); | 10780 char layout_object_getvalue(); |
10776 | 10781 |
10777 int main() { | 10782 int main() { |
10778 layout_object_getvalue() | 10783 layout_object_getvalue() |
10779 ; return 0; } | 10784 ; return 0; } |
10780 EOF | 10785 EOF |
10781 if { (eval echo configure:10782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10786 if { (eval echo configure:10787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10782 rm -rf conftest* | 10787 rm -rf conftest* |
10783 eval "ac_cv_lib_$ac_lib_var=yes" | 10788 eval "ac_cv_lib_$ac_lib_var=yes" |
10784 else | 10789 else |
10785 echo "configure: failed program was:" >&5 | 10790 echo "configure: failed program was:" >&5 |
10786 cat conftest.$ac_ext >&5 | 10791 cat conftest.$ac_ext >&5 |
10862 fi | 10867 fi |
10863 | 10868 |
10864 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 | 10869 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 |
10865 do | 10870 do |
10866 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10871 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10867 echo "configure:10868: checking for $ac_func" >&5 | 10872 echo "configure:10873: checking for $ac_func" >&5 |
10868 | 10873 |
10869 cat > conftest.$ac_ext <<EOF | 10874 cat > conftest.$ac_ext <<EOF |
10870 #line 10871 "configure" | 10875 #line 10876 "configure" |
10871 #include "confdefs.h" | 10876 #include "confdefs.h" |
10872 /* System header to define __stub macros and hopefully few prototypes, | 10877 /* System header to define __stub macros and hopefully few prototypes, |
10873 which can conflict with char $ac_func(); below. */ | 10878 which can conflict with char $ac_func(); below. */ |
10874 #include <assert.h> | 10879 #include <assert.h> |
10875 /* Override any gcc2 internal prototype to avoid an error. */ | 10880 /* Override any gcc2 internal prototype to avoid an error. */ |
10888 $ac_func(); | 10893 $ac_func(); |
10889 #endif | 10894 #endif |
10890 | 10895 |
10891 ; return 0; } | 10896 ; return 0; } |
10892 EOF | 10897 EOF |
10893 if { (eval echo configure:10894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10898 if { (eval echo configure:10899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10894 rm -rf conftest* | 10899 rm -rf conftest* |
10895 eval "ac_cv_func_$ac_func=yes" | 10900 eval "ac_cv_func_$ac_func=yes" |
10896 else | 10901 else |
10897 echo "configure: failed program was:" >&5 | 10902 echo "configure: failed program was:" >&5 |
10898 cat conftest.$ac_ext >&5 | 10903 cat conftest.$ac_ext >&5 |
10920 | 10925 |
10921 | 10926 |
10922 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp | 10927 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp |
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 |
10975 fi | 10980 fi |
10976 done | 10981 done |
10977 | 10982 |
10978 | 10983 |
10979 echo $ac_n "checking for openpty""... $ac_c" 1>&6 | 10984 echo $ac_n "checking for openpty""... $ac_c" 1>&6 |
10980 echo "configure:10981: checking for openpty" >&5 | 10985 echo "configure:10986: checking for openpty" >&5 |
10981 | 10986 |
10982 cat > conftest.$ac_ext <<EOF | 10987 cat > conftest.$ac_ext <<EOF |
10983 #line 10984 "configure" | 10988 #line 10989 "configure" |
10984 #include "confdefs.h" | 10989 #include "confdefs.h" |
10985 /* System header to define __stub macros and hopefully few prototypes, | 10990 /* System header to define __stub macros and hopefully few prototypes, |
10986 which can conflict with char openpty(); below. */ | 10991 which can conflict with char openpty(); below. */ |
10987 #include <assert.h> | 10992 #include <assert.h> |
10988 /* Override any gcc2 internal prototype to avoid an error. */ | 10993 /* Override any gcc2 internal prototype to avoid an error. */ |
11001 openpty(); | 11006 openpty(); |
11002 #endif | 11007 #endif |
11003 | 11008 |
11004 ; return 0; } | 11009 ; return 0; } |
11005 EOF | 11010 EOF |
11006 if { (eval echo configure:11007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11011 if { (eval echo configure:11012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11007 rm -rf conftest* | 11012 rm -rf conftest* |
11008 eval "ac_cv_func_openpty=yes" | 11013 eval "ac_cv_func_openpty=yes" |
11009 else | 11014 else |
11010 echo "configure: failed program was:" >&5 | 11015 echo "configure: failed program was:" >&5 |
11011 cat conftest.$ac_ext >&5 | 11016 cat conftest.$ac_ext >&5 |
11020 else | 11025 else |
11021 echo "$ac_t""no" 1>&6 | 11026 echo "$ac_t""no" 1>&6 |
11022 | 11027 |
11023 | 11028 |
11024 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 | 11029 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 |
11025 echo "configure:11026: checking for openpty in -lutil" >&5 | 11030 echo "configure:11031: checking for openpty in -lutil" >&5 |
11026 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` | 11031 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` |
11027 | 11032 |
11028 xe_check_libs=" -lutil " | 11033 xe_check_libs=" -lutil " |
11029 cat > conftest.$ac_ext <<EOF | 11034 cat > conftest.$ac_ext <<EOF |
11030 #line 11031 "configure" | 11035 #line 11036 "configure" |
11031 #include "confdefs.h" | 11036 #include "confdefs.h" |
11032 /* Override any gcc2 internal prototype to avoid an error. */ | 11037 /* Override any gcc2 internal prototype to avoid an error. */ |
11033 /* We use char because int might match the return type of a gcc2 | 11038 /* We use char because int might match the return type of a gcc2 |
11034 builtin and then its argument prototype would still apply. */ | 11039 builtin and then its argument prototype would still apply. */ |
11035 char openpty(); | 11040 char openpty(); |
11036 | 11041 |
11037 int main() { | 11042 int main() { |
11038 openpty() | 11043 openpty() |
11039 ; return 0; } | 11044 ; return 0; } |
11040 EOF | 11045 EOF |
11041 if { (eval echo configure:11042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11046 if { (eval echo configure:11047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11042 rm -rf conftest* | 11047 rm -rf conftest* |
11043 eval "ac_cv_lib_$ac_lib_var=yes" | 11048 eval "ac_cv_lib_$ac_lib_var=yes" |
11044 else | 11049 else |
11045 echo "configure: failed program was:" >&5 | 11050 echo "configure: failed program was:" >&5 |
11046 cat conftest.$ac_ext >&5 | 11051 cat conftest.$ac_ext >&5 |
11071 | 11076 |
11072 for ac_hdr in libutil.h util.h | 11077 for ac_hdr in libutil.h util.h |
11073 do | 11078 do |
11074 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11079 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11075 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11080 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11076 echo "configure:11077: checking for $ac_hdr" >&5 | 11081 echo "configure:11082: checking for $ac_hdr" >&5 |
11077 | 11082 |
11078 cat > conftest.$ac_ext <<EOF | 11083 cat > conftest.$ac_ext <<EOF |
11079 #line 11080 "configure" | 11084 #line 11085 "configure" |
11080 #include "confdefs.h" | 11085 #include "confdefs.h" |
11081 #include <$ac_hdr> | 11086 #include <$ac_hdr> |
11082 EOF | 11087 EOF |
11083 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11088 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11084 { (eval echo configure:11085: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11089 { (eval echo configure:11090: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11085 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11090 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11086 if test -z "$ac_err"; then | 11091 if test -z "$ac_err"; then |
11087 rm -rf conftest* | 11092 rm -rf conftest* |
11088 eval "ac_cv_header_$ac_safe=yes" | 11093 eval "ac_cv_header_$ac_safe=yes" |
11089 else | 11094 else |
11116 case "$opsys" in | 11121 case "$opsys" in |
11117 hpux*) for ac_hdr in sys/ptyio.h | 11122 hpux*) for ac_hdr in sys/ptyio.h |
11118 do | 11123 do |
11119 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11124 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11120 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11125 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11121 echo "configure:11122: checking for $ac_hdr" >&5 | 11126 echo "configure:11127: checking for $ac_hdr" >&5 |
11122 | 11127 |
11123 cat > conftest.$ac_ext <<EOF | 11128 cat > conftest.$ac_ext <<EOF |
11124 #line 11125 "configure" | 11129 #line 11130 "configure" |
11125 #include "confdefs.h" | 11130 #include "confdefs.h" |
11126 #include <$ac_hdr> | 11131 #include <$ac_hdr> |
11127 EOF | 11132 EOF |
11128 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11133 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11129 { (eval echo configure:11130: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11134 { (eval echo configure:11135: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11130 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11135 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11131 if test -z "$ac_err"; then | 11136 if test -z "$ac_err"; then |
11132 rm -rf conftest* | 11137 rm -rf conftest* |
11133 eval "ac_cv_header_$ac_safe=yes" | 11138 eval "ac_cv_header_$ac_safe=yes" |
11134 else | 11139 else |
11157 ;; | 11162 ;; |
11158 *) for ac_hdr in pty.h | 11163 *) for ac_hdr in pty.h |
11159 do | 11164 do |
11160 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11165 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11161 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11166 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11162 echo "configure:11163: checking for $ac_hdr" >&5 | 11167 echo "configure:11168: checking for $ac_hdr" >&5 |
11163 | 11168 |
11164 cat > conftest.$ac_ext <<EOF | 11169 cat > conftest.$ac_ext <<EOF |
11165 #line 11166 "configure" | 11170 #line 11171 "configure" |
11166 #include "confdefs.h" | 11171 #include "confdefs.h" |
11167 #include <$ac_hdr> | 11172 #include <$ac_hdr> |
11168 EOF | 11173 EOF |
11169 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11174 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11170 { (eval echo configure:11171: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11175 { (eval echo configure:11176: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11171 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11176 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11172 if test -z "$ac_err"; then | 11177 if test -z "$ac_err"; then |
11173 rm -rf conftest* | 11178 rm -rf conftest* |
11174 eval "ac_cv_header_$ac_safe=yes" | 11179 eval "ac_cv_header_$ac_safe=yes" |
11175 else | 11180 else |
11198 | 11203 |
11199 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h | 11204 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h |
11200 do | 11205 do |
11201 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11206 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11202 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11207 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11203 echo "configure:11204: checking for $ac_hdr" >&5 | 11208 echo "configure:11209: checking for $ac_hdr" >&5 |
11204 | 11209 |
11205 cat > conftest.$ac_ext <<EOF | 11210 cat > conftest.$ac_ext <<EOF |
11206 #line 11207 "configure" | 11211 #line 11212 "configure" |
11207 #include "confdefs.h" | 11212 #include "confdefs.h" |
11208 #include <$ac_hdr> | 11213 #include <$ac_hdr> |
11209 EOF | 11214 EOF |
11210 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11215 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11211 { (eval echo configure:11212: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11216 { (eval echo configure:11217: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11212 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11217 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11213 if test -z "$ac_err"; then | 11218 if test -z "$ac_err"; then |
11214 rm -rf conftest* | 11219 rm -rf conftest* |
11215 eval "ac_cv_header_$ac_safe=yes" | 11220 eval "ac_cv_header_$ac_safe=yes" |
11216 else | 11221 else |
11242 | 11247 |
11243 for ac_hdr in stropts.h | 11248 for ac_hdr in stropts.h |
11244 do | 11249 do |
11245 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11250 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11246 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11251 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11247 echo "configure:11248: checking for $ac_hdr" >&5 | 11252 echo "configure:11253: checking for $ac_hdr" >&5 |
11248 | 11253 |
11249 cat > conftest.$ac_ext <<EOF | 11254 cat > conftest.$ac_ext <<EOF |
11250 #line 11251 "configure" | 11255 #line 11256 "configure" |
11251 #include "confdefs.h" | 11256 #include "confdefs.h" |
11252 #include <$ac_hdr> | 11257 #include <$ac_hdr> |
11253 EOF | 11258 EOF |
11254 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11259 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11255 { (eval echo configure:11256: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11260 { (eval echo configure:11261: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11256 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11261 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11257 if test -z "$ac_err"; then | 11262 if test -z "$ac_err"; then |
11258 rm -rf conftest* | 11263 rm -rf conftest* |
11259 eval "ac_cv_header_$ac_safe=yes" | 11264 eval "ac_cv_header_$ac_safe=yes" |
11260 else | 11265 else |
11283 | 11288 |
11284 if test "$ac_cv_header_stropts_h" = "yes"; then | 11289 if test "$ac_cv_header_stropts_h" = "yes"; then |
11285 for ac_func in isastream | 11290 for ac_func in isastream |
11286 do | 11291 do |
11287 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11292 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11288 echo "configure:11289: checking for $ac_func" >&5 | 11293 echo "configure:11294: checking for $ac_func" >&5 |
11289 | 11294 |
11290 cat > conftest.$ac_ext <<EOF | 11295 cat > conftest.$ac_ext <<EOF |
11291 #line 11292 "configure" | 11296 #line 11297 "configure" |
11292 #include "confdefs.h" | 11297 #include "confdefs.h" |
11293 /* System header to define __stub macros and hopefully few prototypes, | 11298 /* System header to define __stub macros and hopefully few prototypes, |
11294 which can conflict with char $ac_func(); below. */ | 11299 which can conflict with char $ac_func(); below. */ |
11295 #include <assert.h> | 11300 #include <assert.h> |
11296 /* Override any gcc2 internal prototype to avoid an error. */ | 11301 /* Override any gcc2 internal prototype to avoid an error. */ |
11309 $ac_func(); | 11314 $ac_func(); |
11310 #endif | 11315 #endif |
11311 | 11316 |
11312 ; return 0; } | 11317 ; return 0; } |
11313 EOF | 11318 EOF |
11314 if { (eval echo configure:11315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11319 if { (eval echo configure:11320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11315 rm -rf conftest* | 11320 rm -rf conftest* |
11316 eval "ac_cv_func_$ac_func=yes" | 11321 eval "ac_cv_func_$ac_func=yes" |
11317 else | 11322 else |
11318 echo "configure: failed program was:" >&5 | 11323 echo "configure: failed program was:" >&5 |
11319 cat conftest.$ac_ext >&5 | 11324 cat conftest.$ac_ext >&5 |
11340 | 11345 |
11341 for ac_hdr in strtio.h | 11346 for ac_hdr in strtio.h |
11342 do | 11347 do |
11343 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11348 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11344 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11349 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11345 echo "configure:11346: checking for $ac_hdr" >&5 | 11350 echo "configure:11351: checking for $ac_hdr" >&5 |
11346 | 11351 |
11347 cat > conftest.$ac_ext <<EOF | 11352 cat > conftest.$ac_ext <<EOF |
11348 #line 11349 "configure" | 11353 #line 11354 "configure" |
11349 #include "confdefs.h" | 11354 #include "confdefs.h" |
11350 #include <$ac_hdr> | 11355 #include <$ac_hdr> |
11351 EOF | 11356 EOF |
11352 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11357 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11353 { (eval echo configure:11354: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11358 { (eval echo configure:11359: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11354 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11359 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11355 if test -z "$ac_err"; then | 11360 if test -z "$ac_err"; then |
11356 rm -rf conftest* | 11361 rm -rf conftest* |
11357 eval "ac_cv_header_$ac_safe=yes" | 11362 eval "ac_cv_header_$ac_safe=yes" |
11358 else | 11363 else |
11385 fi | 11390 fi |
11386 | 11391 |
11387 for ac_func in getloadavg | 11392 for ac_func in getloadavg |
11388 do | 11393 do |
11389 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11394 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11390 echo "configure:11391: checking for $ac_func" >&5 | 11395 echo "configure:11396: checking for $ac_func" >&5 |
11391 | 11396 |
11392 cat > conftest.$ac_ext <<EOF | 11397 cat > conftest.$ac_ext <<EOF |
11393 #line 11394 "configure" | 11398 #line 11399 "configure" |
11394 #include "confdefs.h" | 11399 #include "confdefs.h" |
11395 /* System header to define __stub macros and hopefully few prototypes, | 11400 /* System header to define __stub macros and hopefully few prototypes, |
11396 which can conflict with char $ac_func(); below. */ | 11401 which can conflict with char $ac_func(); below. */ |
11397 #include <assert.h> | 11402 #include <assert.h> |
11398 /* Override any gcc2 internal prototype to avoid an error. */ | 11403 /* Override any gcc2 internal prototype to avoid an error. */ |
11411 $ac_func(); | 11416 $ac_func(); |
11412 #endif | 11417 #endif |
11413 | 11418 |
11414 ; return 0; } | 11419 ; return 0; } |
11415 EOF | 11420 EOF |
11416 if { (eval echo configure:11417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11421 if { (eval echo configure:11422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11417 rm -rf conftest* | 11422 rm -rf conftest* |
11418 eval "ac_cv_func_$ac_func=yes" | 11423 eval "ac_cv_func_$ac_func=yes" |
11419 else | 11424 else |
11420 echo "configure: failed program was:" >&5 | 11425 echo "configure: failed program was:" >&5 |
11421 cat conftest.$ac_ext >&5 | 11426 cat conftest.$ac_ext >&5 |
11444 if test "$ac_cv_func_getloadavg" = "yes"; then | 11449 if test "$ac_cv_func_getloadavg" = "yes"; then |
11445 for ac_hdr in sys/loadavg.h | 11450 for ac_hdr in sys/loadavg.h |
11446 do | 11451 do |
11447 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11452 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11448 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11453 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11449 echo "configure:11450: checking for $ac_hdr" >&5 | 11454 echo "configure:11455: checking for $ac_hdr" >&5 |
11450 | 11455 |
11451 cat > conftest.$ac_ext <<EOF | 11456 cat > conftest.$ac_ext <<EOF |
11452 #line 11453 "configure" | 11457 #line 11458 "configure" |
11453 #include "confdefs.h" | 11458 #include "confdefs.h" |
11454 #include <$ac_hdr> | 11459 #include <$ac_hdr> |
11455 EOF | 11460 EOF |
11456 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11461 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11457 { (eval echo configure:11458: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11462 { (eval echo configure:11463: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11458 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11463 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11459 if test -z "$ac_err"; then | 11464 if test -z "$ac_err"; then |
11460 rm -rf conftest* | 11465 rm -rf conftest* |
11461 eval "ac_cv_header_$ac_safe=yes" | 11466 eval "ac_cv_header_$ac_safe=yes" |
11462 else | 11467 else |
11488 echo " xemacs will be linked with \"getloadavg.o\"" | 11493 echo " xemacs will be linked with \"getloadavg.o\"" |
11489 fi | 11494 fi |
11490 | 11495 |
11491 | 11496 |
11492 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 11497 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
11493 echo "configure:11494: checking for kstat_open in -lkstat" >&5 | 11498 echo "configure:11499: checking for kstat_open in -lkstat" >&5 |
11494 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 11499 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
11495 | 11500 |
11496 xe_check_libs=" -lkstat " | 11501 xe_check_libs=" -lkstat " |
11497 cat > conftest.$ac_ext <<EOF | 11502 cat > conftest.$ac_ext <<EOF |
11498 #line 11499 "configure" | 11503 #line 11504 "configure" |
11499 #include "confdefs.h" | 11504 #include "confdefs.h" |
11500 /* Override any gcc2 internal prototype to avoid an error. */ | 11505 /* Override any gcc2 internal prototype to avoid an error. */ |
11501 /* We use char because int might match the return type of a gcc2 | 11506 /* We use char because int might match the return type of a gcc2 |
11502 builtin and then its argument prototype would still apply. */ | 11507 builtin and then its argument prototype would still apply. */ |
11503 char kstat_open(); | 11508 char kstat_open(); |
11504 | 11509 |
11505 int main() { | 11510 int main() { |
11506 kstat_open() | 11511 kstat_open() |
11507 ; return 0; } | 11512 ; return 0; } |
11508 EOF | 11513 EOF |
11509 if { (eval echo configure:11510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11514 if { (eval echo configure:11515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11510 rm -rf conftest* | 11515 rm -rf conftest* |
11511 eval "ac_cv_lib_$ac_lib_var=yes" | 11516 eval "ac_cv_lib_$ac_lib_var=yes" |
11512 else | 11517 else |
11513 echo "configure: failed program was:" >&5 | 11518 echo "configure: failed program was:" >&5 |
11514 cat conftest.$ac_ext >&5 | 11519 cat conftest.$ac_ext >&5 |
11539 | 11544 |
11540 for ac_hdr in kstat.h | 11545 for ac_hdr in kstat.h |
11541 do | 11546 do |
11542 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11547 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11543 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11548 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11544 echo "configure:11545: checking for $ac_hdr" >&5 | 11549 echo "configure:11550: checking for $ac_hdr" >&5 |
11545 | 11550 |
11546 cat > conftest.$ac_ext <<EOF | 11551 cat > conftest.$ac_ext <<EOF |
11547 #line 11548 "configure" | 11552 #line 11553 "configure" |
11548 #include "confdefs.h" | 11553 #include "confdefs.h" |
11549 #include <$ac_hdr> | 11554 #include <$ac_hdr> |
11550 EOF | 11555 EOF |
11551 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11556 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11552 { (eval echo configure:11553: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11557 { (eval echo configure:11558: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11553 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11558 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11554 if test -z "$ac_err"; then | 11559 if test -z "$ac_err"; then |
11555 rm -rf conftest* | 11560 rm -rf conftest* |
11556 eval "ac_cv_header_$ac_safe=yes" | 11561 eval "ac_cv_header_$ac_safe=yes" |
11557 else | 11562 else |
11579 done | 11584 done |
11580 | 11585 |
11581 | 11586 |
11582 | 11587 |
11583 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 11588 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
11584 echo "configure:11585: checking for kvm_read in -lkvm" >&5 | 11589 echo "configure:11590: checking for kvm_read in -lkvm" >&5 |
11585 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 11590 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
11586 | 11591 |
11587 xe_check_libs=" -lkvm " | 11592 xe_check_libs=" -lkvm " |
11588 cat > conftest.$ac_ext <<EOF | 11593 cat > conftest.$ac_ext <<EOF |
11589 #line 11590 "configure" | 11594 #line 11595 "configure" |
11590 #include "confdefs.h" | 11595 #include "confdefs.h" |
11591 /* Override any gcc2 internal prototype to avoid an error. */ | 11596 /* Override any gcc2 internal prototype to avoid an error. */ |
11592 /* We use char because int might match the return type of a gcc2 | 11597 /* We use char because int might match the return type of a gcc2 |
11593 builtin and then its argument prototype would still apply. */ | 11598 builtin and then its argument prototype would still apply. */ |
11594 char kvm_read(); | 11599 char kvm_read(); |
11595 | 11600 |
11596 int main() { | 11601 int main() { |
11597 kvm_read() | 11602 kvm_read() |
11598 ; return 0; } | 11603 ; return 0; } |
11599 EOF | 11604 EOF |
11600 if { (eval echo configure:11601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11605 if { (eval echo configure:11606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11601 rm -rf conftest* | 11606 rm -rf conftest* |
11602 eval "ac_cv_lib_$ac_lib_var=yes" | 11607 eval "ac_cv_lib_$ac_lib_var=yes" |
11603 else | 11608 else |
11604 echo "configure: failed program was:" >&5 | 11609 echo "configure: failed program was:" >&5 |
11605 cat conftest.$ac_ext >&5 | 11610 cat conftest.$ac_ext >&5 |
11629 | 11634 |
11630 | 11635 |
11631 fi | 11636 fi |
11632 | 11637 |
11633 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 11638 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
11634 echo "configure:11635: checking whether netdb declares h_errno" >&5 | 11639 echo "configure:11640: checking whether netdb declares h_errno" >&5 |
11635 cat > conftest.$ac_ext <<EOF | 11640 cat > conftest.$ac_ext <<EOF |
11636 #line 11637 "configure" | 11641 #line 11642 "configure" |
11637 #include "confdefs.h" | 11642 #include "confdefs.h" |
11638 #include <netdb.h> | 11643 #include <netdb.h> |
11639 int main() { | 11644 int main() { |
11640 return h_errno; | 11645 return h_errno; |
11641 ; return 0; } | 11646 ; return 0; } |
11642 EOF | 11647 EOF |
11643 if { (eval echo configure:11644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11648 if { (eval echo configure:11649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11644 rm -rf conftest* | 11649 rm -rf conftest* |
11645 echo "$ac_t""yes" 1>&6 | 11650 echo "$ac_t""yes" 1>&6 |
11646 { test "$extra_verbose" = "yes" && cat << \EOF | 11651 { test "$extra_verbose" = "yes" && cat << \EOF |
11647 Defining HAVE_H_ERRNO | 11652 Defining HAVE_H_ERRNO |
11648 EOF | 11653 EOF |
11658 echo "$ac_t""no" 1>&6 | 11663 echo "$ac_t""no" 1>&6 |
11659 fi | 11664 fi |
11660 rm -f conftest* | 11665 rm -f conftest* |
11661 | 11666 |
11662 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 11667 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
11663 echo "configure:11664: checking for sigsetjmp" >&5 | 11668 echo "configure:11669: checking for sigsetjmp" >&5 |
11664 cat > conftest.$ac_ext <<EOF | 11669 cat > conftest.$ac_ext <<EOF |
11665 #line 11666 "configure" | 11670 #line 11671 "configure" |
11666 #include "confdefs.h" | 11671 #include "confdefs.h" |
11667 #include <setjmp.h> | 11672 #include <setjmp.h> |
11668 int main() { | 11673 int main() { |
11669 sigjmp_buf bar; sigsetjmp (bar, 0); | 11674 sigjmp_buf bar; sigsetjmp (bar, 0); |
11670 ; return 0; } | 11675 ; return 0; } |
11671 EOF | 11676 EOF |
11672 if { (eval echo configure:11673: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11677 if { (eval echo configure:11678: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
11673 rm -rf conftest* | 11678 rm -rf conftest* |
11674 echo "$ac_t""yes" 1>&6 | 11679 echo "$ac_t""yes" 1>&6 |
11675 { test "$extra_verbose" = "yes" && cat << \EOF | 11680 { test "$extra_verbose" = "yes" && cat << \EOF |
11676 Defining HAVE_SIGSETJMP | 11681 Defining HAVE_SIGSETJMP |
11677 EOF | 11682 EOF |
11687 echo "$ac_t""no" 1>&6 | 11692 echo "$ac_t""no" 1>&6 |
11688 fi | 11693 fi |
11689 rm -f conftest* | 11694 rm -f conftest* |
11690 | 11695 |
11691 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 11696 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
11692 echo "configure:11693: checking whether localtime caches TZ" >&5 | 11697 echo "configure:11698: checking whether localtime caches TZ" >&5 |
11693 | 11698 |
11694 if test "$ac_cv_func_tzset" = "yes"; then | 11699 if test "$ac_cv_func_tzset" = "yes"; then |
11695 cat > conftest.$ac_ext <<EOF | 11700 cat > conftest.$ac_ext <<EOF |
11696 #line 11697 "configure" | 11701 #line 11702 "configure" |
11697 #include "confdefs.h" | 11702 #include "confdefs.h" |
11698 #include <time.h> | 11703 #include <time.h> |
11699 #if STDC_HEADERS | 11704 #if STDC_HEADERS |
11700 # include <stdlib.h> | 11705 # include <stdlib.h> |
11701 #endif | 11706 #endif |
11726 if (localtime (&now)->tm_hour != hour_unset) | 11731 if (localtime (&now)->tm_hour != hour_unset) |
11727 exit (1); | 11732 exit (1); |
11728 exit (0); | 11733 exit (0); |
11729 } | 11734 } |
11730 EOF | 11735 EOF |
11731 if { (eval echo configure:11732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11736 if { (eval echo configure:11737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
11732 then | 11737 then |
11733 emacs_cv_localtime_cache=no | 11738 emacs_cv_localtime_cache=no |
11734 else | 11739 else |
11735 conftest_rc="$?" | 11740 conftest_rc="$?" |
11736 echo "configure: failed program was:" >&5 | 11741 echo "configure: failed program was:" >&5 |
11756 | 11761 |
11757 fi | 11762 fi |
11758 | 11763 |
11759 if test "$HAVE_TIMEVAL" = "yes"; then | 11764 if test "$HAVE_TIMEVAL" = "yes"; then |
11760 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 11765 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
11761 echo "configure:11762: checking whether gettimeofday accepts one or two arguments" >&5 | 11766 echo "configure:11767: checking whether gettimeofday accepts one or two arguments" >&5 |
11762 cat > conftest.$ac_ext <<EOF | 11767 cat > conftest.$ac_ext <<EOF |
11763 #line 11764 "configure" | 11768 #line 11769 "configure" |
11764 #include "confdefs.h" | 11769 #include "confdefs.h" |
11765 | 11770 |
11766 #ifdef TIME_WITH_SYS_TIME | 11771 #ifdef TIME_WITH_SYS_TIME |
11767 #include <sys/time.h> | 11772 #include <sys/time.h> |
11768 #include <time.h> | 11773 #include <time.h> |
11779 struct timeval time; | 11784 struct timeval time; |
11780 gettimeofday (&time, 0); | 11785 gettimeofday (&time, 0); |
11781 | 11786 |
11782 ; return 0; } | 11787 ; return 0; } |
11783 EOF | 11788 EOF |
11784 if { (eval echo configure:11785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11789 if { (eval echo configure:11790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11785 rm -rf conftest* | 11790 rm -rf conftest* |
11786 echo "$ac_t""two" 1>&6 | 11791 echo "$ac_t""two" 1>&6 |
11787 else | 11792 else |
11788 echo "configure: failed program was:" >&5 | 11793 echo "configure: failed program was:" >&5 |
11789 cat conftest.$ac_ext >&5 | 11794 cat conftest.$ac_ext >&5 |
11801 rm -f conftest* | 11806 rm -f conftest* |
11802 fi | 11807 fi |
11803 | 11808 |
11804 | 11809 |
11805 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 11810 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
11806 echo "configure:11807: checking for inline" >&5 | 11811 echo "configure:11812: checking for inline" >&5 |
11807 | 11812 |
11808 ac_cv_c_inline=no | 11813 ac_cv_c_inline=no |
11809 for ac_kw in inline __inline__ __inline; do | 11814 for ac_kw in inline __inline__ __inline; do |
11810 cat > conftest.$ac_ext <<EOF | 11815 cat > conftest.$ac_ext <<EOF |
11811 #line 11812 "configure" | 11816 #line 11817 "configure" |
11812 #include "confdefs.h" | 11817 #include "confdefs.h" |
11813 | 11818 |
11814 int main() { | 11819 int main() { |
11815 } $ac_kw foo() { | 11820 } $ac_kw foo() { |
11816 ; return 0; } | 11821 ; return 0; } |
11817 EOF | 11822 EOF |
11818 if { (eval echo configure:11819: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11823 if { (eval echo configure:11824: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
11819 rm -rf conftest* | 11824 rm -rf conftest* |
11820 ac_cv_c_inline=$ac_kw; break | 11825 ac_cv_c_inline=$ac_kw; break |
11821 else | 11826 else |
11822 echo "configure: failed program was:" >&5 | 11827 echo "configure: failed program was:" >&5 |
11823 cat conftest.$ac_ext >&5 | 11828 cat conftest.$ac_ext >&5 |
11854 | 11859 |
11855 if test "$__DECC" != "yes"; then | 11860 if test "$__DECC" != "yes"; then |
11856 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 11861 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
11857 # for constant arguments. Useless! | 11862 # for constant arguments. Useless! |
11858 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 11863 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
11859 echo "configure:11860: checking for working alloca.h" >&5 | 11864 echo "configure:11865: checking for working alloca.h" >&5 |
11860 | 11865 |
11861 cat > conftest.$ac_ext <<EOF | 11866 cat > conftest.$ac_ext <<EOF |
11862 #line 11863 "configure" | 11867 #line 11868 "configure" |
11863 #include "confdefs.h" | 11868 #include "confdefs.h" |
11864 #include <alloca.h> | 11869 #include <alloca.h> |
11865 int main() { | 11870 int main() { |
11866 char *p = alloca(2 * sizeof(int)); | 11871 char *p = alloca(2 * sizeof(int)); |
11867 ; return 0; } | 11872 ; return 0; } |
11868 EOF | 11873 EOF |
11869 if { (eval echo configure:11870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11874 if { (eval echo configure:11875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11870 rm -rf conftest* | 11875 rm -rf conftest* |
11871 ac_cv_header_alloca_h=yes | 11876 ac_cv_header_alloca_h=yes |
11872 else | 11877 else |
11873 echo "configure: failed program was:" >&5 | 11878 echo "configure: failed program was:" >&5 |
11874 cat conftest.$ac_ext >&5 | 11879 cat conftest.$ac_ext >&5 |
11888 } | 11893 } |
11889 | 11894 |
11890 fi | 11895 fi |
11891 | 11896 |
11892 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 11897 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
11893 echo "configure:11894: checking for alloca" >&5 | 11898 echo "configure:11899: checking for alloca" >&5 |
11894 | 11899 |
11895 cat > conftest.$ac_ext <<EOF | 11900 cat > conftest.$ac_ext <<EOF |
11896 #line 11897 "configure" | 11901 #line 11902 "configure" |
11897 #include "confdefs.h" | 11902 #include "confdefs.h" |
11898 | 11903 |
11899 #ifdef __GNUC__ | 11904 #ifdef __GNUC__ |
11900 # define alloca __builtin_alloca | 11905 # define alloca __builtin_alloca |
11901 #else | 11906 #else |
11919 | 11924 |
11920 int main() { | 11925 int main() { |
11921 char *p = (char *) alloca(1); | 11926 char *p = (char *) alloca(1); |
11922 ; return 0; } | 11927 ; return 0; } |
11923 EOF | 11928 EOF |
11924 if { (eval echo configure:11925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11929 if { (eval echo configure:11930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11925 rm -rf conftest* | 11930 rm -rf conftest* |
11926 ac_cv_func_alloca_works=yes | 11931 ac_cv_func_alloca_works=yes |
11927 else | 11932 else |
11928 echo "configure: failed program was:" >&5 | 11933 echo "configure: failed program was:" >&5 |
11929 cat conftest.$ac_ext >&5 | 11934 cat conftest.$ac_ext >&5 |
11958 EOF | 11963 EOF |
11959 } | 11964 } |
11960 | 11965 |
11961 | 11966 |
11962 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 11967 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
11963 echo "configure:11964: checking whether alloca needs Cray hooks" >&5 | 11968 echo "configure:11969: checking whether alloca needs Cray hooks" >&5 |
11964 | 11969 |
11965 cat > conftest.$ac_ext <<EOF | 11970 cat > conftest.$ac_ext <<EOF |
11966 #line 11967 "configure" | 11971 #line 11972 "configure" |
11967 #include "confdefs.h" | 11972 #include "confdefs.h" |
11968 #if defined(CRAY) && ! defined(CRAY2) | 11973 #if defined(CRAY) && ! defined(CRAY2) |
11969 webecray | 11974 webecray |
11970 #else | 11975 #else |
11971 wenotbecray | 11976 wenotbecray |
11985 | 11990 |
11986 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 11991 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
11987 if test $ac_cv_os_cray = yes; then | 11992 if test $ac_cv_os_cray = yes; then |
11988 for ac_func in _getb67 GETB67 getb67; do | 11993 for ac_func in _getb67 GETB67 getb67; do |
11989 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11994 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11990 echo "configure:11991: checking for $ac_func" >&5 | 11995 echo "configure:11996: checking for $ac_func" >&5 |
11991 | 11996 |
11992 cat > conftest.$ac_ext <<EOF | 11997 cat > conftest.$ac_ext <<EOF |
11993 #line 11994 "configure" | 11998 #line 11999 "configure" |
11994 #include "confdefs.h" | 11999 #include "confdefs.h" |
11995 /* System header to define __stub macros and hopefully few prototypes, | 12000 /* System header to define __stub macros and hopefully few prototypes, |
11996 which can conflict with char $ac_func(); below. */ | 12001 which can conflict with char $ac_func(); below. */ |
11997 #include <assert.h> | 12002 #include <assert.h> |
11998 /* Override any gcc2 internal prototype to avoid an error. */ | 12003 /* Override any gcc2 internal prototype to avoid an error. */ |
12011 $ac_func(); | 12016 $ac_func(); |
12012 #endif | 12017 #endif |
12013 | 12018 |
12014 ; return 0; } | 12019 ; return 0; } |
12015 EOF | 12020 EOF |
12016 if { (eval echo configure:12017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12021 if { (eval echo configure:12022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12017 rm -rf conftest* | 12022 rm -rf conftest* |
12018 eval "ac_cv_func_$ac_func=yes" | 12023 eval "ac_cv_func_$ac_func=yes" |
12019 else | 12024 else |
12020 echo "configure: failed program was:" >&5 | 12025 echo "configure: failed program was:" >&5 |
12021 cat conftest.$ac_ext >&5 | 12026 cat conftest.$ac_ext >&5 |
12041 | 12046 |
12042 done | 12047 done |
12043 fi | 12048 fi |
12044 | 12049 |
12045 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 12050 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
12046 echo "configure:12047: checking stack direction for C alloca" >&5 | 12051 echo "configure:12052: checking stack direction for C alloca" >&5 |
12047 | 12052 |
12048 cat > conftest.$ac_ext <<EOF | 12053 cat > conftest.$ac_ext <<EOF |
12049 #line 12050 "configure" | 12054 #line 12055 "configure" |
12050 #include "confdefs.h" | 12055 #include "confdefs.h" |
12051 find_stack_direction () | 12056 find_stack_direction () |
12052 { | 12057 { |
12053 static char *addr = 0; | 12058 static char *addr = 0; |
12054 auto char dummy; | 12059 auto char dummy; |
12063 main () | 12068 main () |
12064 { | 12069 { |
12065 exit (find_stack_direction() < 0); | 12070 exit (find_stack_direction() < 0); |
12066 } | 12071 } |
12067 EOF | 12072 EOF |
12068 if { (eval echo configure:12069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12073 if { (eval echo configure:12074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12069 then | 12074 then |
12070 ac_cv_c_stack_direction=1 | 12075 ac_cv_c_stack_direction=1 |
12071 else | 12076 else |
12072 conftest_rc="$?" | 12077 conftest_rc="$?" |
12073 echo "configure: failed program was:" >&5 | 12078 echo "configure: failed program was:" >&5 |
12093 fi | 12098 fi |
12094 fi | 12099 fi |
12095 | 12100 |
12096 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 12101 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
12097 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 12102 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
12098 echo "configure:12099: checking for vfork.h" >&5 | 12103 echo "configure:12104: checking for vfork.h" >&5 |
12099 | 12104 |
12100 cat > conftest.$ac_ext <<EOF | 12105 cat > conftest.$ac_ext <<EOF |
12101 #line 12102 "configure" | 12106 #line 12107 "configure" |
12102 #include "confdefs.h" | 12107 #include "confdefs.h" |
12103 #include <vfork.h> | 12108 #include <vfork.h> |
12104 EOF | 12109 EOF |
12105 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12110 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12106 { (eval echo configure:12107: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12111 { (eval echo configure:12112: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12107 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12112 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12108 if test -z "$ac_err"; then | 12113 if test -z "$ac_err"; then |
12109 rm -rf conftest* | 12114 rm -rf conftest* |
12110 eval "ac_cv_header_$ac_safe=yes" | 12115 eval "ac_cv_header_$ac_safe=yes" |
12111 else | 12116 else |
12129 else | 12134 else |
12130 echo "$ac_t""no" 1>&6 | 12135 echo "$ac_t""no" 1>&6 |
12131 fi | 12136 fi |
12132 | 12137 |
12133 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 12138 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
12134 echo "configure:12135: checking for working vfork" >&5 | 12139 echo "configure:12140: checking for working vfork" >&5 |
12135 | 12140 |
12136 cat > conftest.$ac_ext <<EOF | 12141 cat > conftest.$ac_ext <<EOF |
12137 #line 12138 "configure" | 12142 #line 12143 "configure" |
12138 #include "confdefs.h" | 12143 #include "confdefs.h" |
12139 /* Thanks to Paul Eggert for this test. */ | 12144 /* Thanks to Paul Eggert for this test. */ |
12140 #include <stdio.h> | 12145 #include <stdio.h> |
12141 #include <sys/types.h> | 12146 #include <sys/types.h> |
12142 #include <sys/stat.h> | 12147 #include <sys/stat.h> |
12227 || fstat(fileno(stdout), &st) != 0 | 12232 || fstat(fileno(stdout), &st) != 0 |
12228 ); | 12233 ); |
12229 } | 12234 } |
12230 } | 12235 } |
12231 EOF | 12236 EOF |
12232 if { (eval echo configure:12233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12237 if { (eval echo configure:12238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12233 then | 12238 then |
12234 ac_cv_func_vfork_works=yes | 12239 ac_cv_func_vfork_works=yes |
12235 else | 12240 else |
12236 conftest_rc="$?" | 12241 conftest_rc="$?" |
12237 echo "configure: failed program was:" >&5 | 12242 echo "configure: failed program was:" >&5 |
12253 | 12258 |
12254 fi | 12259 fi |
12255 | 12260 |
12256 | 12261 |
12257 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 12262 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
12258 echo "configure:12259: checking for working strcoll" >&5 | 12263 echo "configure:12264: checking for working strcoll" >&5 |
12259 | 12264 |
12260 cat > conftest.$ac_ext <<EOF | 12265 cat > conftest.$ac_ext <<EOF |
12261 #line 12262 "configure" | 12266 #line 12267 "configure" |
12262 #include "confdefs.h" | 12267 #include "confdefs.h" |
12263 #include <string.h> | 12268 #include <string.h> |
12264 main () | 12269 main () |
12265 { | 12270 { |
12266 exit (strcoll ("abc", "def") >= 0 || | 12271 exit (strcoll ("abc", "def") >= 0 || |
12267 strcoll ("ABC", "DEF") >= 0 || | 12272 strcoll ("ABC", "DEF") >= 0 || |
12268 strcoll ("123", "456") >= 0); | 12273 strcoll ("123", "456") >= 0); |
12269 } | 12274 } |
12270 EOF | 12275 EOF |
12271 if { (eval echo configure:12272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12276 if { (eval echo configure:12277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12272 then | 12277 then |
12273 ac_cv_func_strcoll_works=yes | 12278 ac_cv_func_strcoll_works=yes |
12274 else | 12279 else |
12275 conftest_rc="$?" | 12280 conftest_rc="$?" |
12276 echo "configure: failed program was:" >&5 | 12281 echo "configure: failed program was:" >&5 |
12294 | 12299 |
12295 | 12300 |
12296 for ac_func in getpgrp | 12301 for ac_func in getpgrp |
12297 do | 12302 do |
12298 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12303 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12299 echo "configure:12300: checking for $ac_func" >&5 | 12304 echo "configure:12305: checking for $ac_func" >&5 |
12300 | 12305 |
12301 cat > conftest.$ac_ext <<EOF | 12306 cat > conftest.$ac_ext <<EOF |
12302 #line 12303 "configure" | 12307 #line 12308 "configure" |
12303 #include "confdefs.h" | 12308 #include "confdefs.h" |
12304 /* System header to define __stub macros and hopefully few prototypes, | 12309 /* System header to define __stub macros and hopefully few prototypes, |
12305 which can conflict with char $ac_func(); below. */ | 12310 which can conflict with char $ac_func(); below. */ |
12306 #include <assert.h> | 12311 #include <assert.h> |
12307 /* Override any gcc2 internal prototype to avoid an error. */ | 12312 /* Override any gcc2 internal prototype to avoid an error. */ |
12320 $ac_func(); | 12325 $ac_func(); |
12321 #endif | 12326 #endif |
12322 | 12327 |
12323 ; return 0; } | 12328 ; return 0; } |
12324 EOF | 12329 EOF |
12325 if { (eval echo configure:12326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12330 if { (eval echo configure:12331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12326 rm -rf conftest* | 12331 rm -rf conftest* |
12327 eval "ac_cv_func_$ac_func=yes" | 12332 eval "ac_cv_func_$ac_func=yes" |
12328 else | 12333 else |
12329 echo "configure: failed program was:" >&5 | 12334 echo "configure: failed program was:" >&5 |
12330 cat conftest.$ac_ext >&5 | 12335 cat conftest.$ac_ext >&5 |
12348 echo "$ac_t""no" 1>&6 | 12353 echo "$ac_t""no" 1>&6 |
12349 fi | 12354 fi |
12350 done | 12355 done |
12351 | 12356 |
12352 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 12357 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
12353 echo "configure:12354: checking whether getpgrp takes no argument" >&5 | 12358 echo "configure:12359: checking whether getpgrp takes no argument" >&5 |
12354 | 12359 |
12355 cat > conftest.$ac_ext <<EOF | 12360 cat > conftest.$ac_ext <<EOF |
12356 #line 12357 "configure" | 12361 #line 12362 "configure" |
12357 #include "confdefs.h" | 12362 #include "confdefs.h" |
12358 | 12363 |
12359 /* | 12364 /* |
12360 * If this system has a BSD-style getpgrp(), | 12365 * If this system has a BSD-style getpgrp(), |
12361 * which takes a pid argument, exit unsuccessfully. | 12366 * which takes a pid argument, exit unsuccessfully. |
12406 exit(s>>8); | 12411 exit(s>>8); |
12407 } | 12412 } |
12408 } | 12413 } |
12409 | 12414 |
12410 EOF | 12415 EOF |
12411 if { (eval echo configure:12412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12416 if { (eval echo configure:12417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12412 then | 12417 then |
12413 ac_cv_func_getpgrp_void=yes | 12418 ac_cv_func_getpgrp_void=yes |
12414 else | 12419 else |
12415 conftest_rc="$?" | 12420 conftest_rc="$?" |
12416 echo "configure: failed program was:" >&5 | 12421 echo "configure: failed program was:" >&5 |
12433 | 12438 |
12434 fi | 12439 fi |
12435 | 12440 |
12436 | 12441 |
12437 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 12442 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
12438 echo "configure:12439: checking for working mmap" >&5 | 12443 echo "configure:12444: checking for working mmap" >&5 |
12439 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 12444 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
12440 cat > conftest.$ac_ext <<EOF | 12445 cat > conftest.$ac_ext <<EOF |
12441 #line 12442 "configure" | 12446 #line 12447 "configure" |
12442 #include "confdefs.h" | 12447 #include "confdefs.h" |
12443 #include <stdio.h> | 12448 #include <stdio.h> |
12444 #include <unistd.h> | 12449 #include <unistd.h> |
12445 #include <fcntl.h> | 12450 #include <fcntl.h> |
12446 #include <sys/mman.h> | 12451 #include <sys/mman.h> |
12469 return 0; | 12474 return 0; |
12470 perror ("conftest: mmap failed"); | 12475 perror ("conftest: mmap failed"); |
12471 return 1; | 12476 return 1; |
12472 } | 12477 } |
12473 EOF | 12478 EOF |
12474 if { (eval echo configure:12475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12479 if { (eval echo configure:12480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12475 then | 12480 then |
12476 have_mmap=yes | 12481 have_mmap=yes |
12477 else | 12482 else |
12478 conftest_rc="$?" | 12483 conftest_rc="$?" |
12479 echo "configure: failed program was:" >&5 | 12484 echo "configure: failed program was:" >&5 |
12498 esac | 12503 esac |
12499 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no | 12504 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no |
12500 if test "$rel_alloc $have_mmap" = "default yes"; then | 12505 if test "$rel_alloc $have_mmap" = "default yes"; then |
12501 if test "$doug_lea_malloc" = "yes"; then | 12506 if test "$doug_lea_malloc" = "yes"; then |
12502 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 | 12507 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 |
12503 echo "configure:12504: checking for M_MMAP_THRESHOLD" >&5 | 12508 echo "configure:12509: checking for M_MMAP_THRESHOLD" >&5 |
12504 cat > conftest.$ac_ext <<EOF | 12509 cat > conftest.$ac_ext <<EOF |
12505 #line 12506 "configure" | 12510 #line 12511 "configure" |
12506 #include "confdefs.h" | 12511 #include "confdefs.h" |
12507 #include <malloc.h> | 12512 #include <malloc.h> |
12508 int main() { | 12513 int main() { |
12509 | 12514 |
12510 #ifndef M_MMAP_THRESHOLD | 12515 #ifndef M_MMAP_THRESHOLD |
12512 !@+$%^&*_)(_ - unlikely to compile... | 12517 !@+$%^&*_)(_ - unlikely to compile... |
12513 #endif | 12518 #endif |
12514 | 12519 |
12515 ; return 0; } | 12520 ; return 0; } |
12516 EOF | 12521 EOF |
12517 if { (eval echo configure:12518: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12522 if { (eval echo configure:12523: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12518 rm -rf conftest* | 12523 rm -rf conftest* |
12519 rel_alloc=no; echo "$ac_t""yes" 1>&6; | 12524 rel_alloc=no; echo "$ac_t""yes" 1>&6; |
12520 else | 12525 else |
12521 echo "configure: failed program was:" >&5 | 12526 echo "configure: failed program was:" >&5 |
12522 cat conftest.$ac_ext >&5 | 12527 cat conftest.$ac_ext >&5 |
12537 } | 12542 } |
12538 | 12543 |
12539 | 12544 |
12540 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 12545 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
12541 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 12546 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
12542 echo "configure:12543: checking for termios.h" >&5 | 12547 echo "configure:12548: checking for termios.h" >&5 |
12543 | 12548 |
12544 cat > conftest.$ac_ext <<EOF | 12549 cat > conftest.$ac_ext <<EOF |
12545 #line 12546 "configure" | 12550 #line 12551 "configure" |
12546 #include "confdefs.h" | 12551 #include "confdefs.h" |
12547 #include <termios.h> | 12552 #include <termios.h> |
12548 EOF | 12553 EOF |
12549 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12554 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12550 { (eval echo configure:12551: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12555 { (eval echo configure:12556: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12551 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12556 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12552 if test -z "$ac_err"; then | 12557 if test -z "$ac_err"; then |
12553 rm -rf conftest* | 12558 rm -rf conftest* |
12554 eval "ac_cv_header_$ac_safe=yes" | 12559 eval "ac_cv_header_$ac_safe=yes" |
12555 else | 12560 else |
12588 | 12593 |
12589 else | 12594 else |
12590 echo "$ac_t""no" 1>&6 | 12595 echo "$ac_t""no" 1>&6 |
12591 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 12596 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
12592 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 12597 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
12593 echo "configure:12594: checking for termio.h" >&5 | 12598 echo "configure:12599: checking for termio.h" >&5 |
12594 | 12599 |
12595 cat > conftest.$ac_ext <<EOF | 12600 cat > conftest.$ac_ext <<EOF |
12596 #line 12597 "configure" | 12601 #line 12602 "configure" |
12597 #include "confdefs.h" | 12602 #include "confdefs.h" |
12598 #include <termio.h> | 12603 #include <termio.h> |
12599 EOF | 12604 EOF |
12600 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12605 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12601 { (eval echo configure:12602: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12606 { (eval echo configure:12607: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12602 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12607 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12603 if test -z "$ac_err"; then | 12608 if test -z "$ac_err"; then |
12604 rm -rf conftest* | 12609 rm -rf conftest* |
12605 eval "ac_cv_header_$ac_safe=yes" | 12610 eval "ac_cv_header_$ac_safe=yes" |
12606 else | 12611 else |
12628 fi | 12633 fi |
12629 | 12634 |
12630 | 12635 |
12631 | 12636 |
12632 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 12637 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
12633 echo "configure:12634: checking for socket" >&5 | 12638 echo "configure:12639: checking for socket" >&5 |
12634 | 12639 |
12635 cat > conftest.$ac_ext <<EOF | 12640 cat > conftest.$ac_ext <<EOF |
12636 #line 12637 "configure" | 12641 #line 12642 "configure" |
12637 #include "confdefs.h" | 12642 #include "confdefs.h" |
12638 /* System header to define __stub macros and hopefully few prototypes, | 12643 /* System header to define __stub macros and hopefully few prototypes, |
12639 which can conflict with char socket(); below. */ | 12644 which can conflict with char socket(); below. */ |
12640 #include <assert.h> | 12645 #include <assert.h> |
12641 /* Override any gcc2 internal prototype to avoid an error. */ | 12646 /* Override any gcc2 internal prototype to avoid an error. */ |
12654 socket(); | 12659 socket(); |
12655 #endif | 12660 #endif |
12656 | 12661 |
12657 ; return 0; } | 12662 ; return 0; } |
12658 EOF | 12663 EOF |
12659 if { (eval echo configure:12660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12664 if { (eval echo configure:12665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12660 rm -rf conftest* | 12665 rm -rf conftest* |
12661 eval "ac_cv_func_socket=yes" | 12666 eval "ac_cv_func_socket=yes" |
12662 else | 12667 else |
12663 echo "configure: failed program was:" >&5 | 12668 echo "configure: failed program was:" >&5 |
12664 cat conftest.$ac_ext >&5 | 12669 cat conftest.$ac_ext >&5 |
12669 | 12674 |
12670 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 12675 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
12671 echo "$ac_t""yes" 1>&6 | 12676 echo "$ac_t""yes" 1>&6 |
12672 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 12677 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
12673 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 12678 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
12674 echo "configure:12675: checking for netinet/in.h" >&5 | 12679 echo "configure:12680: checking for netinet/in.h" >&5 |
12675 | 12680 |
12676 cat > conftest.$ac_ext <<EOF | 12681 cat > conftest.$ac_ext <<EOF |
12677 #line 12678 "configure" | 12682 #line 12683 "configure" |
12678 #include "confdefs.h" | 12683 #include "confdefs.h" |
12679 #include <netinet/in.h> | 12684 #include <netinet/in.h> |
12680 EOF | 12685 EOF |
12681 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12686 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12682 { (eval echo configure:12683: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12687 { (eval echo configure:12688: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12683 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12688 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12684 if test -z "$ac_err"; then | 12689 if test -z "$ac_err"; then |
12685 rm -rf conftest* | 12690 rm -rf conftest* |
12686 eval "ac_cv_header_$ac_safe=yes" | 12691 eval "ac_cv_header_$ac_safe=yes" |
12687 else | 12692 else |
12694 rm -f conftest* | 12699 rm -f conftest* |
12695 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 12700 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
12696 echo "$ac_t""yes" 1>&6 | 12701 echo "$ac_t""yes" 1>&6 |
12697 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 12702 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
12698 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 12703 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
12699 echo "configure:12700: checking for arpa/inet.h" >&5 | 12704 echo "configure:12705: checking for arpa/inet.h" >&5 |
12700 | 12705 |
12701 cat > conftest.$ac_ext <<EOF | 12706 cat > conftest.$ac_ext <<EOF |
12702 #line 12703 "configure" | 12707 #line 12708 "configure" |
12703 #include "confdefs.h" | 12708 #include "confdefs.h" |
12704 #include <arpa/inet.h> | 12709 #include <arpa/inet.h> |
12705 EOF | 12710 EOF |
12706 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12711 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12707 { (eval echo configure:12708: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12712 { (eval echo configure:12713: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12708 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12713 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12709 if test -z "$ac_err"; then | 12714 if test -z "$ac_err"; then |
12710 rm -rf conftest* | 12715 rm -rf conftest* |
12711 eval "ac_cv_header_$ac_safe=yes" | 12716 eval "ac_cv_header_$ac_safe=yes" |
12712 else | 12717 else |
12727 #define HAVE_SOCKETS 1 | 12732 #define HAVE_SOCKETS 1 |
12728 EOF | 12733 EOF |
12729 } | 12734 } |
12730 | 12735 |
12731 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 12736 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
12732 echo "configure:12733: checking "for sun_len member in struct sockaddr_un"" >&5 | 12737 echo "configure:12738: checking "for sun_len member in struct sockaddr_un"" >&5 |
12733 cat > conftest.$ac_ext <<EOF | 12738 cat > conftest.$ac_ext <<EOF |
12734 #line 12735 "configure" | 12739 #line 12740 "configure" |
12735 #include "confdefs.h" | 12740 #include "confdefs.h" |
12736 | 12741 |
12737 #include <sys/types.h> | 12742 #include <sys/types.h> |
12738 #include <sys/socket.h> | 12743 #include <sys/socket.h> |
12739 #include <sys/un.h> | 12744 #include <sys/un.h> |
12740 | 12745 |
12741 int main() { | 12746 int main() { |
12742 static struct sockaddr_un x; x.sun_len = 1; | 12747 static struct sockaddr_un x; x.sun_len = 1; |
12743 ; return 0; } | 12748 ; return 0; } |
12744 EOF | 12749 EOF |
12745 if { (eval echo configure:12746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12750 if { (eval echo configure:12751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12746 rm -rf conftest* | 12751 rm -rf conftest* |
12747 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 12752 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
12748 Defining HAVE_SOCKADDR_SUN_LEN | 12753 Defining HAVE_SOCKADDR_SUN_LEN |
12749 EOF | 12754 EOF |
12750 cat >> confdefs.h <<\EOF | 12755 cat >> confdefs.h <<\EOF |
12758 rm -rf conftest* | 12763 rm -rf conftest* |
12759 echo "$ac_t""no" 1>&6 | 12764 echo "$ac_t""no" 1>&6 |
12760 fi | 12765 fi |
12761 rm -f conftest* | 12766 rm -f conftest* |
12762 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 12767 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
12763 echo "configure:12764: checking "for ip_mreq struct in netinet/in.h"" >&5 | 12768 echo "configure:12769: checking "for ip_mreq struct in netinet/in.h"" >&5 |
12764 cat > conftest.$ac_ext <<EOF | 12769 cat > conftest.$ac_ext <<EOF |
12765 #line 12766 "configure" | 12770 #line 12771 "configure" |
12766 #include "confdefs.h" | 12771 #include "confdefs.h" |
12767 | 12772 |
12768 #include <sys/types.h> | 12773 #include <sys/types.h> |
12769 #include <netinet/in.h> | 12774 #include <netinet/in.h> |
12770 | 12775 |
12771 int main() { | 12776 int main() { |
12772 static struct ip_mreq x; | 12777 static struct ip_mreq x; |
12773 ; return 0; } | 12778 ; return 0; } |
12774 EOF | 12779 EOF |
12775 if { (eval echo configure:12776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12780 if { (eval echo configure:12781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12776 rm -rf conftest* | 12781 rm -rf conftest* |
12777 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 12782 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
12778 Defining HAVE_MULTICAST | 12783 Defining HAVE_MULTICAST |
12779 EOF | 12784 EOF |
12780 cat >> confdefs.h <<\EOF | 12785 cat >> confdefs.h <<\EOF |
12801 echo "$ac_t""no" 1>&6 | 12806 echo "$ac_t""no" 1>&6 |
12802 fi | 12807 fi |
12803 | 12808 |
12804 | 12809 |
12805 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 12810 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
12806 echo "configure:12807: checking for msgget" >&5 | 12811 echo "configure:12812: checking for msgget" >&5 |
12807 | 12812 |
12808 cat > conftest.$ac_ext <<EOF | 12813 cat > conftest.$ac_ext <<EOF |
12809 #line 12810 "configure" | 12814 #line 12815 "configure" |
12810 #include "confdefs.h" | 12815 #include "confdefs.h" |
12811 /* System header to define __stub macros and hopefully few prototypes, | 12816 /* System header to define __stub macros and hopefully few prototypes, |
12812 which can conflict with char msgget(); below. */ | 12817 which can conflict with char msgget(); below. */ |
12813 #include <assert.h> | 12818 #include <assert.h> |
12814 /* Override any gcc2 internal prototype to avoid an error. */ | 12819 /* Override any gcc2 internal prototype to avoid an error. */ |
12827 msgget(); | 12832 msgget(); |
12828 #endif | 12833 #endif |
12829 | 12834 |
12830 ; return 0; } | 12835 ; return 0; } |
12831 EOF | 12836 EOF |
12832 if { (eval echo configure:12833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12837 if { (eval echo configure:12838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12833 rm -rf conftest* | 12838 rm -rf conftest* |
12834 eval "ac_cv_func_msgget=yes" | 12839 eval "ac_cv_func_msgget=yes" |
12835 else | 12840 else |
12836 echo "configure: failed program was:" >&5 | 12841 echo "configure: failed program was:" >&5 |
12837 cat conftest.$ac_ext >&5 | 12842 cat conftest.$ac_ext >&5 |
12842 | 12847 |
12843 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 12848 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
12844 echo "$ac_t""yes" 1>&6 | 12849 echo "$ac_t""yes" 1>&6 |
12845 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 12850 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
12846 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 12851 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
12847 echo "configure:12848: checking for sys/ipc.h" >&5 | 12852 echo "configure:12853: checking for sys/ipc.h" >&5 |
12848 | 12853 |
12849 cat > conftest.$ac_ext <<EOF | 12854 cat > conftest.$ac_ext <<EOF |
12850 #line 12851 "configure" | 12855 #line 12856 "configure" |
12851 #include "confdefs.h" | 12856 #include "confdefs.h" |
12852 #include <sys/ipc.h> | 12857 #include <sys/ipc.h> |
12853 EOF | 12858 EOF |
12854 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12859 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12855 { (eval echo configure:12856: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12860 { (eval echo configure:12861: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12856 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12861 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12857 if test -z "$ac_err"; then | 12862 if test -z "$ac_err"; then |
12858 rm -rf conftest* | 12863 rm -rf conftest* |
12859 eval "ac_cv_header_$ac_safe=yes" | 12864 eval "ac_cv_header_$ac_safe=yes" |
12860 else | 12865 else |
12867 rm -f conftest* | 12872 rm -f conftest* |
12868 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 12873 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
12869 echo "$ac_t""yes" 1>&6 | 12874 echo "$ac_t""yes" 1>&6 |
12870 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 12875 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
12871 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 12876 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
12872 echo "configure:12873: checking for sys/msg.h" >&5 | 12877 echo "configure:12878: checking for sys/msg.h" >&5 |
12873 | 12878 |
12874 cat > conftest.$ac_ext <<EOF | 12879 cat > conftest.$ac_ext <<EOF |
12875 #line 12876 "configure" | 12880 #line 12881 "configure" |
12876 #include "confdefs.h" | 12881 #include "confdefs.h" |
12877 #include <sys/msg.h> | 12882 #include <sys/msg.h> |
12878 EOF | 12883 EOF |
12879 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12884 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12880 { (eval echo configure:12881: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12885 { (eval echo configure:12886: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12881 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12886 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12882 if test -z "$ac_err"; then | 12887 if test -z "$ac_err"; then |
12883 rm -rf conftest* | 12888 rm -rf conftest* |
12884 eval "ac_cv_header_$ac_safe=yes" | 12889 eval "ac_cv_header_$ac_safe=yes" |
12885 else | 12890 else |
12913 fi | 12918 fi |
12914 | 12919 |
12915 | 12920 |
12916 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 12921 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
12917 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 12922 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
12918 echo "configure:12919: checking for dirent.h" >&5 | 12923 echo "configure:12924: checking for dirent.h" >&5 |
12919 | 12924 |
12920 cat > conftest.$ac_ext <<EOF | 12925 cat > conftest.$ac_ext <<EOF |
12921 #line 12922 "configure" | 12926 #line 12927 "configure" |
12922 #include "confdefs.h" | 12927 #include "confdefs.h" |
12923 #include <dirent.h> | 12928 #include <dirent.h> |
12924 EOF | 12929 EOF |
12925 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12930 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12926 { (eval echo configure:12927: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12931 { (eval echo configure:12932: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12927 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12932 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12928 if test -z "$ac_err"; then | 12933 if test -z "$ac_err"; then |
12929 rm -rf conftest* | 12934 rm -rf conftest* |
12930 eval "ac_cv_header_$ac_safe=yes" | 12935 eval "ac_cv_header_$ac_safe=yes" |
12931 else | 12936 else |
12948 | 12953 |
12949 else | 12954 else |
12950 echo "$ac_t""no" 1>&6 | 12955 echo "$ac_t""no" 1>&6 |
12951 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 12956 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
12952 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 12957 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
12953 echo "configure:12954: checking for sys/dir.h" >&5 | 12958 echo "configure:12959: checking for sys/dir.h" >&5 |
12954 | 12959 |
12955 cat > conftest.$ac_ext <<EOF | 12960 cat > conftest.$ac_ext <<EOF |
12956 #line 12957 "configure" | 12961 #line 12962 "configure" |
12957 #include "confdefs.h" | 12962 #include "confdefs.h" |
12958 #include <sys/dir.h> | 12963 #include <sys/dir.h> |
12959 EOF | 12964 EOF |
12960 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12965 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12961 { (eval echo configure:12962: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12966 { (eval echo configure:12967: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12962 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12967 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12963 if test -z "$ac_err"; then | 12968 if test -z "$ac_err"; then |
12964 rm -rf conftest* | 12969 rm -rf conftest* |
12965 eval "ac_cv_header_$ac_safe=yes" | 12970 eval "ac_cv_header_$ac_safe=yes" |
12966 else | 12971 else |
12989 fi | 12994 fi |
12990 | 12995 |
12991 | 12996 |
12992 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 12997 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
12993 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 12998 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
12994 echo "configure:12995: checking for nlist.h" >&5 | 12999 echo "configure:13000: checking for nlist.h" >&5 |
12995 | 13000 |
12996 cat > conftest.$ac_ext <<EOF | 13001 cat > conftest.$ac_ext <<EOF |
12997 #line 12998 "configure" | 13002 #line 13003 "configure" |
12998 #include "confdefs.h" | 13003 #include "confdefs.h" |
12999 #include <nlist.h> | 13004 #include <nlist.h> |
13000 EOF | 13005 EOF |
13001 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13006 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13002 { (eval echo configure:13003: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13007 { (eval echo configure:13008: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13003 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13008 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13004 if test -z "$ac_err"; then | 13009 if test -z "$ac_err"; then |
13005 rm -rf conftest* | 13010 rm -rf conftest* |
13006 eval "ac_cv_header_$ac_safe=yes" | 13011 eval "ac_cv_header_$ac_safe=yes" |
13007 else | 13012 else |
13027 fi | 13032 fi |
13028 | 13033 |
13029 | 13034 |
13030 | 13035 |
13031 echo "checking "for sound support"" 1>&6 | 13036 echo "checking "for sound support"" 1>&6 |
13032 echo "configure:13033: checking "for sound support"" >&5 | 13037 echo "configure:13038: checking "for sound support"" >&5 |
13033 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 13038 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
13034 | 13039 |
13035 if test "$with_native_sound" != "no"; then | 13040 if test "$with_native_sound" != "no"; then |
13036 if test -n "$native_sound_lib"; then | 13041 if test -n "$native_sound_lib"; then |
13037 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 13042 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
13038 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 13043 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
13039 echo "configure:13040: checking for multimedia/audio_device.h" >&5 | 13044 echo "configure:13045: checking for multimedia/audio_device.h" >&5 |
13040 | 13045 |
13041 cat > conftest.$ac_ext <<EOF | 13046 cat > conftest.$ac_ext <<EOF |
13042 #line 13043 "configure" | 13047 #line 13048 "configure" |
13043 #include "confdefs.h" | 13048 #include "confdefs.h" |
13044 #include <multimedia/audio_device.h> | 13049 #include <multimedia/audio_device.h> |
13045 EOF | 13050 EOF |
13046 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13051 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13047 { (eval echo configure:13048: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13052 { (eval echo configure:13053: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13048 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13053 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13049 if test -z "$ac_err"; then | 13054 if test -z "$ac_err"; then |
13050 rm -rf conftest* | 13055 rm -rf conftest* |
13051 eval "ac_cv_header_$ac_safe=yes" | 13056 eval "ac_cv_header_$ac_safe=yes" |
13052 else | 13057 else |
13090 case "$canonical" in | 13095 case "$canonical" in |
13091 *-sgi-* ) | 13096 *-sgi-* ) |
13092 if test -z "$native_sound_lib"; then | 13097 if test -z "$native_sound_lib"; then |
13093 | 13098 |
13094 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 13099 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
13095 echo "configure:13096: checking for ALopenport in -laudio" >&5 | 13100 echo "configure:13101: checking for ALopenport in -laudio" >&5 |
13096 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 13101 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
13097 | 13102 |
13098 xe_check_libs=" -laudio " | 13103 xe_check_libs=" -laudio " |
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 /* Override any gcc2 internal prototype to avoid an error. */ | 13107 /* Override any gcc2 internal prototype to avoid an error. */ |
13103 /* We use char because int might match the return type of a gcc2 | 13108 /* We use char because int might match the return type of a gcc2 |
13104 builtin and then its argument prototype would still apply. */ | 13109 builtin and then its argument prototype would still apply. */ |
13105 char ALopenport(); | 13110 char ALopenport(); |
13106 | 13111 |
13107 int main() { | 13112 int main() { |
13108 ALopenport() | 13113 ALopenport() |
13109 ; return 0; } | 13114 ; return 0; } |
13110 EOF | 13115 EOF |
13111 if { (eval echo configure:13112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13116 if { (eval echo configure:13117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13112 rm -rf conftest* | 13117 rm -rf conftest* |
13113 eval "ac_cv_lib_$ac_lib_var=yes" | 13118 eval "ac_cv_lib_$ac_lib_var=yes" |
13114 else | 13119 else |
13115 echo "configure: failed program was:" >&5 | 13120 echo "configure: failed program was:" >&5 |
13116 cat conftest.$ac_ext >&5 | 13121 cat conftest.$ac_ext >&5 |
13137 fi ;; | 13142 fi ;; |
13138 hppa*-hp-hpux* ) | 13143 hppa*-hp-hpux* ) |
13139 if test -z "$native_sound_lib"; then | 13144 if test -z "$native_sound_lib"; then |
13140 | 13145 |
13141 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 13146 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
13142 echo "configure:13143: checking for AOpenAudio in -lAlib" >&5 | 13147 echo "configure:13148: checking for AOpenAudio in -lAlib" >&5 |
13143 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 13148 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
13144 | 13149 |
13145 xe_check_libs=" -lAlib " | 13150 xe_check_libs=" -lAlib " |
13146 cat > conftest.$ac_ext <<EOF | 13151 cat > conftest.$ac_ext <<EOF |
13147 #line 13148 "configure" | 13152 #line 13153 "configure" |
13148 #include "confdefs.h" | 13153 #include "confdefs.h" |
13149 /* Override any gcc2 internal prototype to avoid an error. */ | 13154 /* Override any gcc2 internal prototype to avoid an error. */ |
13150 /* We use char because int might match the return type of a gcc2 | 13155 /* We use char because int might match the return type of a gcc2 |
13151 builtin and then its argument prototype would still apply. */ | 13156 builtin and then its argument prototype would still apply. */ |
13152 char AOpenAudio(); | 13157 char AOpenAudio(); |
13153 | 13158 |
13154 int main() { | 13159 int main() { |
13155 AOpenAudio() | 13160 AOpenAudio() |
13156 ; return 0; } | 13161 ; return 0; } |
13157 EOF | 13162 EOF |
13158 if { (eval echo configure:13159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13163 if { (eval echo configure:13164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13159 rm -rf conftest* | 13164 rm -rf conftest* |
13160 eval "ac_cv_lib_$ac_lib_var=yes" | 13165 eval "ac_cv_lib_$ac_lib_var=yes" |
13161 else | 13166 else |
13162 echo "configure: failed program was:" >&5 | 13167 echo "configure: failed program was:" >&5 |
13163 cat conftest.$ac_ext >&5 | 13168 cat conftest.$ac_ext >&5 |
13201 | 13206 |
13202 if test -z "$sound_found"; then | 13207 if test -z "$sound_found"; then |
13203 for dir in "machine" "sys" "linux"; do | 13208 for dir in "machine" "sys" "linux"; do |
13204 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 13209 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
13205 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 13210 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
13206 echo "configure:13207: checking for ${dir}/soundcard.h" >&5 | 13211 echo "configure:13212: checking for ${dir}/soundcard.h" >&5 |
13207 | 13212 |
13208 cat > conftest.$ac_ext <<EOF | 13213 cat > conftest.$ac_ext <<EOF |
13209 #line 13210 "configure" | 13214 #line 13215 "configure" |
13210 #include "confdefs.h" | 13215 #include "confdefs.h" |
13211 #include <${dir}/soundcard.h> | 13216 #include <${dir}/soundcard.h> |
13212 EOF | 13217 EOF |
13213 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13218 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13214 { (eval echo configure:13215: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13219 { (eval echo configure:13220: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13215 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13220 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13216 if test -z "$ac_err"; then | 13221 if test -z "$ac_err"; then |
13217 rm -rf conftest* | 13222 rm -rf conftest* |
13218 eval "ac_cv_header_$ac_safe=yes" | 13223 eval "ac_cv_header_$ac_safe=yes" |
13219 else | 13224 else |
13263 fi | 13268 fi |
13264 | 13269 |
13265 if test "$with_nas_sound" != "no"; then | 13270 if test "$with_nas_sound" != "no"; then |
13266 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` | 13271 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` |
13267 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 | 13272 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 |
13268 echo "configure:13269: checking for audio/audiolib.h" >&5 | 13273 echo "configure:13274: checking for audio/audiolib.h" >&5 |
13269 | 13274 |
13270 cat > conftest.$ac_ext <<EOF | 13275 cat > conftest.$ac_ext <<EOF |
13271 #line 13272 "configure" | 13276 #line 13277 "configure" |
13272 #include "confdefs.h" | 13277 #include "confdefs.h" |
13273 #include <audio/audiolib.h> | 13278 #include <audio/audiolib.h> |
13274 EOF | 13279 EOF |
13275 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13280 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13276 { (eval echo configure:13277: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13281 { (eval echo configure:13282: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13277 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13282 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13278 if test -z "$ac_err"; then | 13283 if test -z "$ac_err"; then |
13279 rm -rf conftest* | 13284 rm -rf conftest* |
13280 eval "ac_cv_header_$ac_safe=yes" | 13285 eval "ac_cv_header_$ac_safe=yes" |
13281 else | 13286 else |
13289 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13294 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13290 echo "$ac_t""yes" 1>&6 | 13295 echo "$ac_t""yes" 1>&6 |
13291 | 13296 |
13292 | 13297 |
13293 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 | 13298 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 |
13294 echo "configure:13295: checking for AuOpenServer in -laudio" >&5 | 13299 echo "configure:13300: checking for AuOpenServer in -laudio" >&5 |
13295 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` | 13300 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` |
13296 | 13301 |
13297 xe_check_libs=" -laudio " | 13302 xe_check_libs=" -laudio " |
13298 cat > conftest.$ac_ext <<EOF | 13303 cat > conftest.$ac_ext <<EOF |
13299 #line 13300 "configure" | 13304 #line 13305 "configure" |
13300 #include "confdefs.h" | 13305 #include "confdefs.h" |
13301 /* Override any gcc2 internal prototype to avoid an error. */ | 13306 /* Override any gcc2 internal prototype to avoid an error. */ |
13302 /* We use char because int might match the return type of a gcc2 | 13307 /* We use char because int might match the return type of a gcc2 |
13303 builtin and then its argument prototype would still apply. */ | 13308 builtin and then its argument prototype would still apply. */ |
13304 char AuOpenServer(); | 13309 char AuOpenServer(); |
13305 | 13310 |
13306 int main() { | 13311 int main() { |
13307 AuOpenServer() | 13312 AuOpenServer() |
13308 ; return 0; } | 13313 ; return 0; } |
13309 EOF | 13314 EOF |
13310 if { (eval echo configure:13311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13315 if { (eval echo configure:13316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13311 rm -rf conftest* | 13316 rm -rf conftest* |
13312 eval "ac_cv_lib_$ac_lib_var=yes" | 13317 eval "ac_cv_lib_$ac_lib_var=yes" |
13313 else | 13318 else |
13314 echo "configure: failed program was:" >&5 | 13319 echo "configure: failed program was:" >&5 |
13315 cat conftest.$ac_ext >&5 | 13320 cat conftest.$ac_ext >&5 |
13344 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 13349 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
13345 echo " xemacs will be linked with \"nas.o\"" | 13350 echo " xemacs will be linked with \"nas.o\"" |
13346 fi | 13351 fi |
13347 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 13352 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
13348 cat > conftest.$ac_ext <<EOF | 13353 cat > conftest.$ac_ext <<EOF |
13349 #line 13350 "configure" | 13354 #line 13355 "configure" |
13350 #include "confdefs.h" | 13355 #include "confdefs.h" |
13351 #include <audio/Xtutil.h> | 13356 #include <audio/Xtutil.h> |
13352 EOF | 13357 EOF |
13353 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 13358 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
13354 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 13359 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
13375 | 13380 |
13376 if test "$with_esd_sound" != "no"; then | 13381 if test "$with_esd_sound" != "no"; then |
13377 # Extract the first word of "esd-config", so it can be a program name with args. | 13382 # Extract the first word of "esd-config", so it can be a program name with args. |
13378 set dummy esd-config; ac_word=$2 | 13383 set dummy esd-config; ac_word=$2 |
13379 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 13384 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
13380 echo "configure:13381: checking for $ac_word" >&5 | 13385 echo "configure:13386: checking for $ac_word" >&5 |
13381 | 13386 |
13382 if test -n "$have_esd_config"; then | 13387 if test -n "$have_esd_config"; then |
13383 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. | 13388 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. |
13384 else | 13389 else |
13385 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 13390 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
13404 if test "$have_esd_config" = "yes"; then | 13409 if test "$have_esd_config" = "yes"; then |
13405 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" | 13410 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" |
13406 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 | 13411 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 |
13407 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi | 13412 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi |
13408 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 | 13413 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 |
13409 echo "configure:13410: checking for esd_play_stream" >&5 | 13414 echo "configure:13415: checking for esd_play_stream" >&5 |
13410 | 13415 |
13411 cat > conftest.$ac_ext <<EOF | 13416 cat > conftest.$ac_ext <<EOF |
13412 #line 13413 "configure" | 13417 #line 13418 "configure" |
13413 #include "confdefs.h" | 13418 #include "confdefs.h" |
13414 /* System header to define __stub macros and hopefully few prototypes, | 13419 /* System header to define __stub macros and hopefully few prototypes, |
13415 which can conflict with char esd_play_stream(); below. */ | 13420 which can conflict with char esd_play_stream(); below. */ |
13416 #include <assert.h> | 13421 #include <assert.h> |
13417 /* Override any gcc2 internal prototype to avoid an error. */ | 13422 /* Override any gcc2 internal prototype to avoid an error. */ |
13430 esd_play_stream(); | 13435 esd_play_stream(); |
13431 #endif | 13436 #endif |
13432 | 13437 |
13433 ; return 0; } | 13438 ; return 0; } |
13434 EOF | 13439 EOF |
13435 if { (eval echo configure:13436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13440 if { (eval echo configure:13441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13436 rm -rf conftest* | 13441 rm -rf conftest* |
13437 eval "ac_cv_func_esd_play_stream=yes" | 13442 eval "ac_cv_func_esd_play_stream=yes" |
13438 else | 13443 else |
13439 echo "configure: failed program was:" >&5 | 13444 echo "configure: failed program was:" >&5 |
13440 cat conftest.$ac_ext >&5 | 13445 cat conftest.$ac_ext >&5 |
13481 | 13486 |
13482 test -z "$with_tty" && with_tty=yes | 13487 test -z "$with_tty" && with_tty=yes |
13483 | 13488 |
13484 if test "$with_tty" = "yes" ; then | 13489 if test "$with_tty" = "yes" ; then |
13485 echo "checking for TTY-related features" 1>&6 | 13490 echo "checking for TTY-related features" 1>&6 |
13486 echo "configure:13487: checking for TTY-related features" >&5 | 13491 echo "configure:13492: checking for TTY-related features" >&5 |
13487 { test "$extra_verbose" = "yes" && cat << \EOF | 13492 { test "$extra_verbose" = "yes" && cat << \EOF |
13488 Defining HAVE_TTY | 13493 Defining HAVE_TTY |
13489 EOF | 13494 EOF |
13490 cat >> confdefs.h <<\EOF | 13495 cat >> confdefs.h <<\EOF |
13491 #define HAVE_TTY 1 | 13496 #define HAVE_TTY 1 |
13497 fi | 13502 fi |
13498 | 13503 |
13499 if test -z "$with_ncurses"; then | 13504 if test -z "$with_ncurses"; then |
13500 | 13505 |
13501 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 13506 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
13502 echo "configure:13503: checking for tgetent in -lncurses" >&5 | 13507 echo "configure:13508: checking for tgetent in -lncurses" >&5 |
13503 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 13508 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
13504 | 13509 |
13505 xe_check_libs=" -lncurses " | 13510 xe_check_libs=" -lncurses " |
13506 cat > conftest.$ac_ext <<EOF | 13511 cat > conftest.$ac_ext <<EOF |
13507 #line 13508 "configure" | 13512 #line 13513 "configure" |
13508 #include "confdefs.h" | 13513 #include "confdefs.h" |
13509 /* Override any gcc2 internal prototype to avoid an error. */ | 13514 /* Override any gcc2 internal prototype to avoid an error. */ |
13510 /* We use char because int might match the return type of a gcc2 | 13515 /* We use char because int might match the return type of a gcc2 |
13511 builtin and then its argument prototype would still apply. */ | 13516 builtin and then its argument prototype would still apply. */ |
13512 char tgetent(); | 13517 char tgetent(); |
13513 | 13518 |
13514 int main() { | 13519 int main() { |
13515 tgetent() | 13520 tgetent() |
13516 ; return 0; } | 13521 ; return 0; } |
13517 EOF | 13522 EOF |
13518 if { (eval echo configure:13519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13523 if { (eval echo configure:13524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13519 rm -rf conftest* | 13524 rm -rf conftest* |
13520 eval "ac_cv_lib_$ac_lib_var=yes" | 13525 eval "ac_cv_lib_$ac_lib_var=yes" |
13521 else | 13526 else |
13522 echo "configure: failed program was:" >&5 | 13527 echo "configure: failed program was:" >&5 |
13523 cat conftest.$ac_ext >&5 | 13528 cat conftest.$ac_ext >&5 |
13546 EOF | 13551 EOF |
13547 } | 13552 } |
13548 | 13553 |
13549 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 13554 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
13550 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 13555 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
13551 echo "configure:13552: checking for ncurses/curses.h" >&5 | 13556 echo "configure:13557: checking for ncurses/curses.h" >&5 |
13552 | 13557 |
13553 cat > conftest.$ac_ext <<EOF | 13558 cat > conftest.$ac_ext <<EOF |
13554 #line 13555 "configure" | 13559 #line 13560 "configure" |
13555 #include "confdefs.h" | 13560 #include "confdefs.h" |
13556 #include <ncurses/curses.h> | 13561 #include <ncurses/curses.h> |
13557 EOF | 13562 EOF |
13558 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13563 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13559 { (eval echo configure:13560: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13564 { (eval echo configure:13565: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13560 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13565 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13561 if test -z "$ac_err"; then | 13566 if test -z "$ac_err"; then |
13562 rm -rf conftest* | 13567 rm -rf conftest* |
13563 eval "ac_cv_header_$ac_safe=yes" | 13568 eval "ac_cv_header_$ac_safe=yes" |
13564 else | 13569 else |
13576 echo "$ac_t""no" 1>&6 | 13581 echo "$ac_t""no" 1>&6 |
13577 fi | 13582 fi |
13578 | 13583 |
13579 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 13584 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
13580 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 13585 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
13581 echo "configure:13582: checking for ncurses/term.h" >&5 | 13586 echo "configure:13587: checking for ncurses/term.h" >&5 |
13582 | 13587 |
13583 cat > conftest.$ac_ext <<EOF | 13588 cat > conftest.$ac_ext <<EOF |
13584 #line 13585 "configure" | 13589 #line 13590 "configure" |
13585 #include "confdefs.h" | 13590 #include "confdefs.h" |
13586 #include <ncurses/term.h> | 13591 #include <ncurses/term.h> |
13587 EOF | 13592 EOF |
13588 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13593 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13589 { (eval echo configure:13590: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13594 { (eval echo configure:13595: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13590 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13595 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13591 if test -z "$ac_err"; then | 13596 if test -z "$ac_err"; then |
13592 rm -rf conftest* | 13597 rm -rf conftest* |
13593 eval "ac_cv_header_$ac_safe=yes" | 13598 eval "ac_cv_header_$ac_safe=yes" |
13594 else | 13599 else |
13614 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 13619 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
13615 save_c_switch_site="$c_switch_site" | 13620 save_c_switch_site="$c_switch_site" |
13616 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 13621 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
13617 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 13622 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
13618 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 13623 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
13619 echo "configure:13620: checking for ncurses/curses.h" >&5 | 13624 echo "configure:13625: checking for ncurses/curses.h" >&5 |
13620 | 13625 |
13621 cat > conftest.$ac_ext <<EOF | 13626 cat > conftest.$ac_ext <<EOF |
13622 #line 13623 "configure" | 13627 #line 13628 "configure" |
13623 #include "confdefs.h" | 13628 #include "confdefs.h" |
13624 #include <ncurses/curses.h> | 13629 #include <ncurses/curses.h> |
13625 EOF | 13630 EOF |
13626 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13631 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13627 { (eval echo configure:13628: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13632 { (eval echo configure:13633: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13628 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13633 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13629 if test -z "$ac_err"; then | 13634 if test -z "$ac_err"; then |
13630 rm -rf conftest* | 13635 rm -rf conftest* |
13631 eval "ac_cv_header_$ac_safe=yes" | 13636 eval "ac_cv_header_$ac_safe=yes" |
13632 else | 13637 else |
13657 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 13662 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
13658 else | 13663 else |
13659 for lib in curses termlib termcap; do | 13664 for lib in curses termlib termcap; do |
13660 | 13665 |
13661 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 13666 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
13662 echo "configure:13663: checking for tgetent in -l$lib" >&5 | 13667 echo "configure:13668: checking for tgetent in -l$lib" >&5 |
13663 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 13668 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
13664 | 13669 |
13665 xe_check_libs=" -l$lib " | 13670 xe_check_libs=" -l$lib " |
13666 cat > conftest.$ac_ext <<EOF | 13671 cat > conftest.$ac_ext <<EOF |
13667 #line 13668 "configure" | 13672 #line 13673 "configure" |
13668 #include "confdefs.h" | 13673 #include "confdefs.h" |
13669 /* Override any gcc2 internal prototype to avoid an error. */ | 13674 /* Override any gcc2 internal prototype to avoid an error. */ |
13670 /* We use char because int might match the return type of a gcc2 | 13675 /* We use char because int might match the return type of a gcc2 |
13671 builtin and then its argument prototype would still apply. */ | 13676 builtin and then its argument prototype would still apply. */ |
13672 char tgetent(); | 13677 char tgetent(); |
13673 | 13678 |
13674 int main() { | 13679 int main() { |
13675 tgetent() | 13680 tgetent() |
13676 ; return 0; } | 13681 ; return 0; } |
13677 EOF | 13682 EOF |
13678 if { (eval echo configure:13679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13683 if { (eval echo configure:13684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13679 rm -rf conftest* | 13684 rm -rf conftest* |
13680 eval "ac_cv_lib_$ac_lib_var=yes" | 13685 eval "ac_cv_lib_$ac_lib_var=yes" |
13681 else | 13686 else |
13682 echo "configure: failed program was:" >&5 | 13687 echo "configure: failed program was:" >&5 |
13683 cat conftest.$ac_ext >&5 | 13688 cat conftest.$ac_ext >&5 |
13704 if test -n "$libs_termcap"; then | 13709 if test -n "$libs_termcap"; then |
13705 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 13710 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
13706 else | 13711 else |
13707 | 13712 |
13708 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 13713 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
13709 echo "configure:13710: checking for tgetent in -lcurses" >&5 | 13714 echo "configure:13715: checking for tgetent in -lcurses" >&5 |
13710 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 13715 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
13711 | 13716 |
13712 xe_check_libs=" -lcurses " | 13717 xe_check_libs=" -lcurses " |
13713 cat > conftest.$ac_ext <<EOF | 13718 cat > conftest.$ac_ext <<EOF |
13714 #line 13715 "configure" | 13719 #line 13720 "configure" |
13715 #include "confdefs.h" | 13720 #include "confdefs.h" |
13716 /* Override any gcc2 internal prototype to avoid an error. */ | 13721 /* Override any gcc2 internal prototype to avoid an error. */ |
13717 /* We use char because int might match the return type of a gcc2 | 13722 /* We use char because int might match the return type of a gcc2 |
13718 builtin and then its argument prototype would still apply. */ | 13723 builtin and then its argument prototype would still apply. */ |
13719 char tgetent(); | 13724 char tgetent(); |
13720 | 13725 |
13721 int main() { | 13726 int main() { |
13722 tgetent() | 13727 tgetent() |
13723 ; return 0; } | 13728 ; return 0; } |
13724 EOF | 13729 EOF |
13725 if { (eval echo configure:13726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13730 if { (eval echo configure:13731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13726 rm -rf conftest* | 13731 rm -rf conftest* |
13727 eval "ac_cv_lib_$ac_lib_var=yes" | 13732 eval "ac_cv_lib_$ac_lib_var=yes" |
13728 else | 13733 else |
13729 echo "configure: failed program was:" >&5 | 13734 echo "configure: failed program was:" >&5 |
13730 cat conftest.$ac_ext >&5 | 13735 cat conftest.$ac_ext >&5 |
13738 echo "$ac_t""yes" 1>&6 | 13743 echo "$ac_t""yes" 1>&6 |
13739 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 13744 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
13740 else | 13745 else |
13741 echo "$ac_t""no" 1>&6 | 13746 echo "$ac_t""no" 1>&6 |
13742 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 13747 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
13743 echo "configure:13744: checking for tgetent in -ltermcap" >&5 | 13748 echo "configure:13749: checking for tgetent in -ltermcap" >&5 |
13744 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 13749 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
13745 | 13750 |
13746 xe_check_libs=" -ltermcap " | 13751 xe_check_libs=" -ltermcap " |
13747 cat > conftest.$ac_ext <<EOF | 13752 cat > conftest.$ac_ext <<EOF |
13748 #line 13749 "configure" | 13753 #line 13754 "configure" |
13749 #include "confdefs.h" | 13754 #include "confdefs.h" |
13750 /* Override any gcc2 internal prototype to avoid an error. */ | 13755 /* Override any gcc2 internal prototype to avoid an error. */ |
13751 /* We use char because int might match the return type of a gcc2 | 13756 /* We use char because int might match the return type of a gcc2 |
13752 builtin and then its argument prototype would still apply. */ | 13757 builtin and then its argument prototype would still apply. */ |
13753 char tgetent(); | 13758 char tgetent(); |
13754 | 13759 |
13755 int main() { | 13760 int main() { |
13756 tgetent() | 13761 tgetent() |
13757 ; return 0; } | 13762 ; return 0; } |
13758 EOF | 13763 EOF |
13759 if { (eval echo configure:13760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13764 if { (eval echo configure:13765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13760 rm -rf conftest* | 13765 rm -rf conftest* |
13761 eval "ac_cv_lib_$ac_lib_var=yes" | 13766 eval "ac_cv_lib_$ac_lib_var=yes" |
13762 else | 13767 else |
13763 echo "configure: failed program was:" >&5 | 13768 echo "configure: failed program was:" >&5 |
13764 cat conftest.$ac_ext >&5 | 13769 cat conftest.$ac_ext >&5 |
13802 } | 13807 } |
13803 | 13808 |
13804 | 13809 |
13805 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 13810 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
13806 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 13811 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
13807 echo "configure:13808: checking for gpm.h" >&5 | 13812 echo "configure:13813: checking for gpm.h" >&5 |
13808 | 13813 |
13809 cat > conftest.$ac_ext <<EOF | 13814 cat > conftest.$ac_ext <<EOF |
13810 #line 13811 "configure" | 13815 #line 13816 "configure" |
13811 #include "confdefs.h" | 13816 #include "confdefs.h" |
13812 #include <gpm.h> | 13817 #include <gpm.h> |
13813 EOF | 13818 EOF |
13814 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13819 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13815 { (eval echo configure:13816: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13820 { (eval echo configure:13821: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13816 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13821 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13817 if test -z "$ac_err"; then | 13822 if test -z "$ac_err"; then |
13818 rm -rf conftest* | 13823 rm -rf conftest* |
13819 eval "ac_cv_header_$ac_safe=yes" | 13824 eval "ac_cv_header_$ac_safe=yes" |
13820 else | 13825 else |
13833 with_gpm=no | 13838 with_gpm=no |
13834 fi | 13839 fi |
13835 } | 13840 } |
13836 test -z "$with_gpm" && { | 13841 test -z "$with_gpm" && { |
13837 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 13842 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
13838 echo "configure:13839: checking for Gpm_Open in -lgpm" >&5 | 13843 echo "configure:13844: checking for Gpm_Open in -lgpm" >&5 |
13839 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 13844 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
13840 | 13845 |
13841 xe_check_libs=" -lgpm " | 13846 xe_check_libs=" -lgpm " |
13842 cat > conftest.$ac_ext <<EOF | 13847 cat > conftest.$ac_ext <<EOF |
13843 #line 13844 "configure" | 13848 #line 13849 "configure" |
13844 #include "confdefs.h" | 13849 #include "confdefs.h" |
13845 /* Override any gcc2 internal prototype to avoid an error. */ | 13850 /* Override any gcc2 internal prototype to avoid an error. */ |
13846 /* We use char because int might match the return type of a gcc2 | 13851 /* We use char because int might match the return type of a gcc2 |
13847 builtin and then its argument prototype would still apply. */ | 13852 builtin and then its argument prototype would still apply. */ |
13848 char Gpm_Open(); | 13853 char Gpm_Open(); |
13849 | 13854 |
13850 int main() { | 13855 int main() { |
13851 Gpm_Open() | 13856 Gpm_Open() |
13852 ; return 0; } | 13857 ; return 0; } |
13853 EOF | 13858 EOF |
13854 if { (eval echo configure:13855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13859 if { (eval echo configure:13860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13855 rm -rf conftest* | 13860 rm -rf conftest* |
13856 eval "ac_cv_lib_$ac_lib_var=yes" | 13861 eval "ac_cv_lib_$ac_lib_var=yes" |
13857 else | 13862 else |
13858 echo "configure: failed program was:" >&5 | 13863 echo "configure: failed program was:" >&5 |
13859 cat conftest.$ac_ext >&5 | 13864 cat conftest.$ac_ext >&5 |
13899 fi | 13904 fi |
13900 | 13905 |
13901 | 13906 |
13902 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ | 13907 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ |
13903 != "no no no" && echo "checking for database support" 1>&6 | 13908 != "no no no" && echo "checking for database support" 1>&6 |
13904 echo "configure:13905: checking for database support" >&5 | 13909 echo "configure:13910: checking for database support" >&5 |
13905 | 13910 |
13906 if test "$with_database_gdbm $with_database_dbm" != "no no"; then | 13911 if test "$with_database_gdbm $with_database_dbm" != "no no"; then |
13907 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 13912 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
13908 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 13913 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
13909 echo "configure:13910: checking for ndbm.h" >&5 | 13914 echo "configure:13915: checking for ndbm.h" >&5 |
13910 | 13915 |
13911 cat > conftest.$ac_ext <<EOF | 13916 cat > conftest.$ac_ext <<EOF |
13912 #line 13913 "configure" | 13917 #line 13918 "configure" |
13913 #include "confdefs.h" | 13918 #include "confdefs.h" |
13914 #include <ndbm.h> | 13919 #include <ndbm.h> |
13915 EOF | 13920 EOF |
13916 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13921 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13917 { (eval echo configure:13918: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13922 { (eval echo configure:13923: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13918 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13923 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13919 if test -z "$ac_err"; then | 13924 if test -z "$ac_err"; then |
13920 rm -rf conftest* | 13925 rm -rf conftest* |
13921 eval "ac_cv_header_$ac_safe=yes" | 13926 eval "ac_cv_header_$ac_safe=yes" |
13922 else | 13927 else |
13942 fi | 13947 fi |
13943 | 13948 |
13944 if test "$with_database_gdbm" != "no"; then | 13949 if test "$with_database_gdbm" != "no"; then |
13945 | 13950 |
13946 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 13951 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
13947 echo "configure:13948: checking for dbm_open in -lgdbm" >&5 | 13952 echo "configure:13953: checking for dbm_open in -lgdbm" >&5 |
13948 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 13953 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
13949 | 13954 |
13950 xe_check_libs=" -lgdbm " | 13955 xe_check_libs=" -lgdbm " |
13951 cat > conftest.$ac_ext <<EOF | 13956 cat > conftest.$ac_ext <<EOF |
13952 #line 13953 "configure" | 13957 #line 13958 "configure" |
13953 #include "confdefs.h" | 13958 #include "confdefs.h" |
13954 /* Override any gcc2 internal prototype to avoid an error. */ | 13959 /* Override any gcc2 internal prototype to avoid an error. */ |
13955 /* We use char because int might match the return type of a gcc2 | 13960 /* We use char because int might match the return type of a gcc2 |
13956 builtin and then its argument prototype would still apply. */ | 13961 builtin and then its argument prototype would still apply. */ |
13957 char dbm_open(); | 13962 char dbm_open(); |
13958 | 13963 |
13959 int main() { | 13964 int main() { |
13960 dbm_open() | 13965 dbm_open() |
13961 ; return 0; } | 13966 ; return 0; } |
13962 EOF | 13967 EOF |
13963 if { (eval echo configure:13964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13968 if { (eval echo configure:13969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13964 rm -rf conftest* | 13969 rm -rf conftest* |
13965 eval "ac_cv_lib_$ac_lib_var=yes" | 13970 eval "ac_cv_lib_$ac_lib_var=yes" |
13966 else | 13971 else |
13967 echo "configure: failed program was:" >&5 | 13972 echo "configure: failed program was:" >&5 |
13968 cat conftest.$ac_ext >&5 | 13973 cat conftest.$ac_ext >&5 |
13986 | 13991 |
13987 fi | 13992 fi |
13988 | 13993 |
13989 if test "$with_database_dbm" != "no"; then | 13994 if test "$with_database_dbm" != "no"; then |
13990 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 13995 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
13991 echo "configure:13992: checking for dbm_open" >&5 | 13996 echo "configure:13997: checking for dbm_open" >&5 |
13992 | 13997 |
13993 cat > conftest.$ac_ext <<EOF | 13998 cat > conftest.$ac_ext <<EOF |
13994 #line 13995 "configure" | 13999 #line 14000 "configure" |
13995 #include "confdefs.h" | 14000 #include "confdefs.h" |
13996 /* System header to define __stub macros and hopefully few prototypes, | 14001 /* System header to define __stub macros and hopefully few prototypes, |
13997 which can conflict with char dbm_open(); below. */ | 14002 which can conflict with char dbm_open(); below. */ |
13998 #include <assert.h> | 14003 #include <assert.h> |
13999 /* Override any gcc2 internal prototype to avoid an error. */ | 14004 /* Override any gcc2 internal prototype to avoid an error. */ |
14012 dbm_open(); | 14017 dbm_open(); |
14013 #endif | 14018 #endif |
14014 | 14019 |
14015 ; return 0; } | 14020 ; return 0; } |
14016 EOF | 14021 EOF |
14017 if { (eval echo configure:14018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14022 if { (eval echo configure:14023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14018 rm -rf conftest* | 14023 rm -rf conftest* |
14019 eval "ac_cv_func_dbm_open=yes" | 14024 eval "ac_cv_func_dbm_open=yes" |
14020 else | 14025 else |
14021 echo "configure: failed program was:" >&5 | 14026 echo "configure: failed program was:" >&5 |
14022 cat conftest.$ac_ext >&5 | 14027 cat conftest.$ac_ext >&5 |
14031 else | 14036 else |
14032 echo "$ac_t""no" 1>&6 | 14037 echo "$ac_t""no" 1>&6 |
14033 | 14038 |
14034 | 14039 |
14035 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 14040 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
14036 echo "configure:14037: checking for dbm_open in -ldbm" >&5 | 14041 echo "configure:14042: checking for dbm_open in -ldbm" >&5 |
14037 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 14042 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
14038 | 14043 |
14039 xe_check_libs=" -ldbm " | 14044 xe_check_libs=" -ldbm " |
14040 cat > conftest.$ac_ext <<EOF | 14045 cat > conftest.$ac_ext <<EOF |
14041 #line 14042 "configure" | 14046 #line 14047 "configure" |
14042 #include "confdefs.h" | 14047 #include "confdefs.h" |
14043 /* Override any gcc2 internal prototype to avoid an error. */ | 14048 /* Override any gcc2 internal prototype to avoid an error. */ |
14044 /* We use char because int might match the return type of a gcc2 | 14049 /* We use char because int might match the return type of a gcc2 |
14045 builtin and then its argument prototype would still apply. */ | 14050 builtin and then its argument prototype would still apply. */ |
14046 char dbm_open(); | 14051 char dbm_open(); |
14047 | 14052 |
14048 int main() { | 14053 int main() { |
14049 dbm_open() | 14054 dbm_open() |
14050 ; return 0; } | 14055 ; return 0; } |
14051 EOF | 14056 EOF |
14052 if { (eval echo configure:14053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14057 if { (eval echo configure:14058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14053 rm -rf conftest* | 14058 rm -rf conftest* |
14054 eval "ac_cv_lib_$ac_lib_var=yes" | 14059 eval "ac_cv_lib_$ac_lib_var=yes" |
14055 else | 14060 else |
14056 echo "configure: failed program was:" >&5 | 14061 echo "configure: failed program was:" >&5 |
14057 cat conftest.$ac_ext >&5 | 14062 cat conftest.$ac_ext >&5 |
14088 } | 14093 } |
14089 | 14094 |
14090 | 14095 |
14091 if test "$with_database_berkdb" != "no"; then | 14096 if test "$with_database_berkdb" != "no"; then |
14092 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 14097 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
14093 echo "configure:14094: checking for Berkeley db.h" >&5 | 14098 echo "configure:14099: checking for Berkeley db.h" >&5 |
14094 for header in "db/db.h" "db.h"; do | 14099 for header in "db/db.h" "db.h"; do |
14095 cat > conftest.$ac_ext <<EOF | 14100 cat > conftest.$ac_ext <<EOF |
14096 #line 14097 "configure" | 14101 #line 14102 "configure" |
14097 #include "confdefs.h" | 14102 #include "confdefs.h" |
14098 | 14103 |
14099 #include <stdlib.h> | 14104 #include <stdlib.h> |
14100 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | 14105 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) |
14101 #ifdef HAVE_INTTYPES_H | 14106 #ifdef HAVE_INTTYPES_H |
14113 | 14118 |
14114 int main() { | 14119 int main() { |
14115 | 14120 |
14116 ; return 0; } | 14121 ; return 0; } |
14117 EOF | 14122 EOF |
14118 if { (eval echo configure:14119: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 14123 if { (eval echo configure:14124: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
14119 rm -rf conftest* | 14124 rm -rf conftest* |
14120 db_h_file="$header"; break | 14125 db_h_file="$header"; break |
14121 else | 14126 else |
14122 echo "configure: failed program was:" >&5 | 14127 echo "configure: failed program was:" >&5 |
14123 cat conftest.$ac_ext >&5 | 14128 cat conftest.$ac_ext >&5 |
14129 else echo "$ac_t""$db_h_file" 1>&6 | 14134 else echo "$ac_t""$db_h_file" 1>&6 |
14130 fi | 14135 fi |
14131 | 14136 |
14132 if test "$with_database_berkdb" != "no"; then | 14137 if test "$with_database_berkdb" != "no"; then |
14133 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 14138 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
14134 echo "configure:14135: checking for Berkeley DB version" >&5 | 14139 echo "configure:14140: checking for Berkeley DB version" >&5 |
14135 cat > conftest.$ac_ext <<EOF | 14140 cat > conftest.$ac_ext <<EOF |
14136 #line 14137 "configure" | 14141 #line 14142 "configure" |
14137 #include "confdefs.h" | 14142 #include "confdefs.h" |
14138 #include <$db_h_file> | 14143 #include <$db_h_file> |
14139 #if DB_VERSION_MAJOR > 1 | 14144 #if DB_VERSION_MAJOR > 1 |
14140 yes | 14145 yes |
14141 #endif | 14146 #endif |
14143 EOF | 14148 EOF |
14144 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 14149 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14145 egrep "yes" >/dev/null 2>&1; then | 14150 egrep "yes" >/dev/null 2>&1; then |
14146 rm -rf conftest* | 14151 rm -rf conftest* |
14147 cat > conftest.$ac_ext <<EOF | 14152 cat > conftest.$ac_ext <<EOF |
14148 #line 14149 "configure" | 14153 #line 14154 "configure" |
14149 #include "confdefs.h" | 14154 #include "confdefs.h" |
14150 #include <$db_h_file> | 14155 #include <$db_h_file> |
14151 #if DB_VERSION_MAJOR > 2 | 14156 #if DB_VERSION_MAJOR > 2 |
14152 yes | 14157 yes |
14153 #endif | 14158 #endif |
14170 echo "$ac_t""1" 1>&6; dbfunc=dbopen | 14175 echo "$ac_t""1" 1>&6; dbfunc=dbopen |
14171 fi | 14176 fi |
14172 rm -f conftest* | 14177 rm -f conftest* |
14173 | 14178 |
14174 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 14179 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
14175 echo "configure:14176: checking for $dbfunc" >&5 | 14180 echo "configure:14181: checking for $dbfunc" >&5 |
14176 | 14181 |
14177 cat > conftest.$ac_ext <<EOF | 14182 cat > conftest.$ac_ext <<EOF |
14178 #line 14179 "configure" | 14183 #line 14184 "configure" |
14179 #include "confdefs.h" | 14184 #include "confdefs.h" |
14180 /* System header to define __stub macros and hopefully few prototypes, | 14185 /* System header to define __stub macros and hopefully few prototypes, |
14181 which can conflict with char $dbfunc(); below. */ | 14186 which can conflict with char $dbfunc(); below. */ |
14182 #include <assert.h> | 14187 #include <assert.h> |
14183 /* Override any gcc2 internal prototype to avoid an error. */ | 14188 /* Override any gcc2 internal prototype to avoid an error. */ |
14196 $dbfunc(); | 14201 $dbfunc(); |
14197 #endif | 14202 #endif |
14198 | 14203 |
14199 ; return 0; } | 14204 ; return 0; } |
14200 EOF | 14205 EOF |
14201 if { (eval echo configure:14202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14206 if { (eval echo configure:14207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14202 rm -rf conftest* | 14207 rm -rf conftest* |
14203 eval "ac_cv_func_$dbfunc=yes" | 14208 eval "ac_cv_func_$dbfunc=yes" |
14204 else | 14209 else |
14205 echo "configure: failed program was:" >&5 | 14210 echo "configure: failed program was:" >&5 |
14206 cat conftest.$ac_ext >&5 | 14211 cat conftest.$ac_ext >&5 |
14215 else | 14220 else |
14216 echo "$ac_t""no" 1>&6 | 14221 echo "$ac_t""no" 1>&6 |
14217 | 14222 |
14218 | 14223 |
14219 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 14224 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
14220 echo "configure:14221: checking for $dbfunc in -ldb" >&5 | 14225 echo "configure:14226: checking for $dbfunc in -ldb" >&5 |
14221 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 14226 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
14222 | 14227 |
14223 xe_check_libs=" -ldb " | 14228 xe_check_libs=" -ldb " |
14224 cat > conftest.$ac_ext <<EOF | 14229 cat > conftest.$ac_ext <<EOF |
14225 #line 14226 "configure" | 14230 #line 14231 "configure" |
14226 #include "confdefs.h" | 14231 #include "confdefs.h" |
14227 /* Override any gcc2 internal prototype to avoid an error. */ | 14232 /* Override any gcc2 internal prototype to avoid an error. */ |
14228 /* We use char because int might match the return type of a gcc2 | 14233 /* We use char because int might match the return type of a gcc2 |
14229 builtin and then its argument prototype would still apply. */ | 14234 builtin and then its argument prototype would still apply. */ |
14230 char $dbfunc(); | 14235 char $dbfunc(); |
14231 | 14236 |
14232 int main() { | 14237 int main() { |
14233 $dbfunc() | 14238 $dbfunc() |
14234 ; return 0; } | 14239 ; return 0; } |
14235 EOF | 14240 EOF |
14236 if { (eval echo configure:14237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14241 if { (eval echo configure:14242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14237 rm -rf conftest* | 14242 rm -rf conftest* |
14238 eval "ac_cv_lib_$ac_lib_var=yes" | 14243 eval "ac_cv_lib_$ac_lib_var=yes" |
14239 else | 14244 else |
14240 echo "configure: failed program was:" >&5 | 14245 echo "configure: failed program was:" >&5 |
14241 cat conftest.$ac_ext >&5 | 14246 cat conftest.$ac_ext >&5 |
14295 fi | 14300 fi |
14296 | 14301 |
14297 if test "$with_socks" = "yes"; then | 14302 if test "$with_socks" = "yes"; then |
14298 | 14303 |
14299 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 14304 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
14300 echo "configure:14301: checking for SOCKSinit in -lsocks" >&5 | 14305 echo "configure:14306: checking for SOCKSinit in -lsocks" >&5 |
14301 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 14306 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
14302 | 14307 |
14303 xe_check_libs=" -lsocks " | 14308 xe_check_libs=" -lsocks " |
14304 cat > conftest.$ac_ext <<EOF | 14309 cat > conftest.$ac_ext <<EOF |
14305 #line 14306 "configure" | 14310 #line 14311 "configure" |
14306 #include "confdefs.h" | 14311 #include "confdefs.h" |
14307 /* Override any gcc2 internal prototype to avoid an error. */ | 14312 /* Override any gcc2 internal prototype to avoid an error. */ |
14308 /* We use char because int might match the return type of a gcc2 | 14313 /* We use char because int might match the return type of a gcc2 |
14309 builtin and then its argument prototype would still apply. */ | 14314 builtin and then its argument prototype would still apply. */ |
14310 char SOCKSinit(); | 14315 char SOCKSinit(); |
14311 | 14316 |
14312 int main() { | 14317 int main() { |
14313 SOCKSinit() | 14318 SOCKSinit() |
14314 ; return 0; } | 14319 ; return 0; } |
14315 EOF | 14320 EOF |
14316 if { (eval echo configure:14317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14321 if { (eval echo configure:14322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14317 rm -rf conftest* | 14322 rm -rf conftest* |
14318 eval "ac_cv_lib_$ac_lib_var=yes" | 14323 eval "ac_cv_lib_$ac_lib_var=yes" |
14319 else | 14324 else |
14320 echo "configure: failed program was:" >&5 | 14325 echo "configure: failed program was:" >&5 |
14321 cat conftest.$ac_ext >&5 | 14326 cat conftest.$ac_ext >&5 |
14366 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi | 14371 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi |
14367 fi | 14372 fi |
14368 | 14373 |
14369 if test "$with_modules" != "no"; then | 14374 if test "$with_modules" != "no"; then |
14370 echo "checking for module support" 1>&6 | 14375 echo "checking for module support" 1>&6 |
14371 echo "configure:14372: checking for module support" >&5 | 14376 echo "configure:14377: checking for module support" >&5 |
14372 | 14377 |
14373 if test "$with_msw" = "yes"; then | 14378 if test "$with_msw" = "yes"; then |
14374 have_dl=yes; | 14379 have_dl=yes; |
14375 else | 14380 else |
14376 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | 14381 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` |
14377 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 | 14382 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 |
14378 echo "configure:14379: checking for dlfcn.h" >&5 | 14383 echo "configure:14384: checking for dlfcn.h" >&5 |
14379 | 14384 |
14380 cat > conftest.$ac_ext <<EOF | 14385 cat > conftest.$ac_ext <<EOF |
14381 #line 14382 "configure" | 14386 #line 14387 "configure" |
14382 #include "confdefs.h" | 14387 #include "confdefs.h" |
14383 #include <dlfcn.h> | 14388 #include <dlfcn.h> |
14384 EOF | 14389 EOF |
14385 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14390 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14386 { (eval echo configure:14387: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14391 { (eval echo configure:14392: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14387 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14392 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14388 if test -z "$ac_err"; then | 14393 if test -z "$ac_err"; then |
14389 rm -rf conftest* | 14394 rm -rf conftest* |
14390 eval "ac_cv_header_$ac_safe=yes" | 14395 eval "ac_cv_header_$ac_safe=yes" |
14391 else | 14396 else |
14398 rm -f conftest* | 14403 rm -f conftest* |
14399 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 14404 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
14400 echo "$ac_t""yes" 1>&6 | 14405 echo "$ac_t""yes" 1>&6 |
14401 | 14406 |
14402 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 14407 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
14403 echo "configure:14404: checking for dlopen in -lc" >&5 | 14408 echo "configure:14409: checking for dlopen in -lc" >&5 |
14404 cat > conftest.$ac_ext <<EOF | 14409 cat > conftest.$ac_ext <<EOF |
14405 #line 14406 "configure" | 14410 #line 14411 "configure" |
14406 #include "confdefs.h" | 14411 #include "confdefs.h" |
14407 #include <dlfcn.h> | 14412 #include <dlfcn.h> |
14408 int main() { | 14413 int main() { |
14409 dlopen ("", 0); | 14414 dlopen ("", 0); |
14410 ; return 0; } | 14415 ; return 0; } |
14411 EOF | 14416 EOF |
14412 if { (eval echo configure:14413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14417 if { (eval echo configure:14418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14413 rm -rf conftest* | 14418 rm -rf conftest* |
14414 have_dl=yes | 14419 have_dl=yes |
14415 else | 14420 else |
14416 echo "configure: failed program was:" >&5 | 14421 echo "configure: failed program was:" >&5 |
14417 cat conftest.$ac_ext >&5 | 14422 cat conftest.$ac_ext >&5 |
14418 rm -rf conftest* | 14423 rm -rf conftest* |
14419 | 14424 |
14420 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 14425 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
14421 echo "configure:14422: checking for dlopen in -ldl" >&5 | 14426 echo "configure:14427: checking for dlopen in -ldl" >&5 |
14422 ac_save_LIBS="$LIBS" | 14427 ac_save_LIBS="$LIBS" |
14423 LIBS="-ldl $LIBS" | 14428 LIBS="-ldl $LIBS" |
14424 cat > conftest.$ac_ext <<EOF | 14429 cat > conftest.$ac_ext <<EOF |
14425 #line 14426 "configure" | 14430 #line 14431 "configure" |
14426 #include "confdefs.h" | 14431 #include "confdefs.h" |
14427 #include <dlfcn.h> | 14432 #include <dlfcn.h> |
14428 int main() { | 14433 int main() { |
14429 dlopen ("", 0); | 14434 dlopen ("", 0); |
14430 ; return 0; } | 14435 ; return 0; } |
14431 EOF | 14436 EOF |
14432 if { (eval echo configure:14433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14437 if { (eval echo configure:14438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14433 rm -rf conftest* | 14438 rm -rf conftest* |
14434 have_dl=yes | 14439 have_dl=yes |
14435 else | 14440 else |
14436 echo "configure: failed program was:" >&5 | 14441 echo "configure: failed program was:" >&5 |
14437 cat conftest.$ac_ext >&5 | 14442 cat conftest.$ac_ext >&5 |
14456 } | 14461 } |
14457 | 14462 |
14458 else | 14463 else |
14459 | 14464 |
14460 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 14465 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
14461 echo "configure:14462: checking for shl_load in -ldld" >&5 | 14466 echo "configure:14467: checking for shl_load in -ldld" >&5 |
14462 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 14467 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
14463 | 14468 |
14464 xe_check_libs=" -ldld " | 14469 xe_check_libs=" -ldld " |
14465 cat > conftest.$ac_ext <<EOF | 14470 cat > conftest.$ac_ext <<EOF |
14466 #line 14467 "configure" | 14471 #line 14472 "configure" |
14467 #include "confdefs.h" | 14472 #include "confdefs.h" |
14468 /* Override any gcc2 internal prototype to avoid an error. */ | 14473 /* Override any gcc2 internal prototype to avoid an error. */ |
14469 /* We use char because int might match the return type of a gcc2 | 14474 /* We use char because int might match the return type of a gcc2 |
14470 builtin and then its argument prototype would still apply. */ | 14475 builtin and then its argument prototype would still apply. */ |
14471 char shl_load(); | 14476 char shl_load(); |
14472 | 14477 |
14473 int main() { | 14478 int main() { |
14474 shl_load() | 14479 shl_load() |
14475 ; return 0; } | 14480 ; return 0; } |
14476 EOF | 14481 EOF |
14477 if { (eval echo configure:14478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14482 if { (eval echo configure:14483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14478 rm -rf conftest* | 14483 rm -rf conftest* |
14479 eval "ac_cv_lib_$ac_lib_var=yes" | 14484 eval "ac_cv_lib_$ac_lib_var=yes" |
14480 else | 14485 else |
14481 echo "configure: failed program was:" >&5 | 14486 echo "configure: failed program was:" >&5 |
14482 cat conftest.$ac_ext >&5 | 14487 cat conftest.$ac_ext >&5 |
14499 | 14504 |
14500 else | 14505 else |
14501 echo "$ac_t""no" 1>&6 | 14506 echo "$ac_t""no" 1>&6 |
14502 | 14507 |
14503 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 14508 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
14504 echo "configure:14505: checking for dld_init in -ldld" >&5 | 14509 echo "configure:14510: checking for dld_init in -ldld" >&5 |
14505 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 14510 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
14506 | 14511 |
14507 xe_check_libs=" -ldld " | 14512 xe_check_libs=" -ldld " |
14508 cat > conftest.$ac_ext <<EOF | 14513 cat > conftest.$ac_ext <<EOF |
14509 #line 14510 "configure" | 14514 #line 14515 "configure" |
14510 #include "confdefs.h" | 14515 #include "confdefs.h" |
14511 /* Override any gcc2 internal prototype to avoid an error. */ | 14516 /* Override any gcc2 internal prototype to avoid an error. */ |
14512 /* We use char because int might match the return type of a gcc2 | 14517 /* We use char because int might match the return type of a gcc2 |
14513 builtin and then its argument prototype would still apply. */ | 14518 builtin and then its argument prototype would still apply. */ |
14514 char dld_init(); | 14519 char dld_init(); |
14515 | 14520 |
14516 int main() { | 14521 int main() { |
14517 dld_init() | 14522 dld_init() |
14518 ; return 0; } | 14523 ; return 0; } |
14519 EOF | 14524 EOF |
14520 if { (eval echo configure:14521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14525 if { (eval echo configure:14526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14521 rm -rf conftest* | 14526 rm -rf conftest* |
14522 eval "ac_cv_lib_$ac_lib_var=yes" | 14527 eval "ac_cv_lib_$ac_lib_var=yes" |
14523 else | 14528 else |
14524 echo "configure: failed program was:" >&5 | 14529 echo "configure: failed program was:" >&5 |
14525 cat conftest.$ac_ext >&5 | 14530 cat conftest.$ac_ext >&5 |
14560 ld_dynamic_link_flags= | 14565 ld_dynamic_link_flags= |
14561 xehost=$canonical | 14566 xehost=$canonical |
14562 xealias=$internal_configuration | 14567 xealias=$internal_configuration |
14563 | 14568 |
14564 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | 14569 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 |
14565 echo "configure:14566: checking how to build dynamic libraries for ${xehost}" >&5 | 14570 echo "configure:14571: checking how to build dynamic libraries for ${xehost}" >&5 |
14566 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | 14571 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. |
14567 case "$xehost" in | 14572 case "$xehost" in |
14568 *-*-linux-gnu*) ;; | 14573 *-*-linux-gnu*) ;; |
14569 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 14574 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` |
14570 esac | 14575 esac |
14588 # Now see if the compiler is really GCC. | 14593 # Now see if the compiler is really GCC. |
14589 if test "$GCC" = "yes"; then | 14594 if test "$GCC" = "yes"; then |
14590 XEGCC=yes | 14595 XEGCC=yes |
14591 else | 14596 else |
14592 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | 14597 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 |
14593 echo "configure:14594: checking checking whether we are using GNU C" >&5 | 14598 echo "configure:14599: checking checking whether we are using GNU C" >&5 |
14594 cat > conftest.$ac_ext <<EOF | 14599 cat > conftest.$ac_ext <<EOF |
14595 #line 14596 "configure" | 14600 #line 14601 "configure" |
14596 #include "confdefs.h" | 14601 #include "confdefs.h" |
14597 | 14602 |
14598 #ifdef __GNUC__ | 14603 #ifdef __GNUC__ |
14599 yes; | 14604 yes; |
14600 #endif | 14605 #endif |
14612 | 14617 |
14613 echo "$ac_t""${XEGCC}" 1>&6 | 14618 echo "$ac_t""${XEGCC}" 1>&6 |
14614 fi | 14619 fi |
14615 | 14620 |
14616 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | 14621 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 |
14617 echo "configure:14618: checking how to produce PIC code" >&5 | 14622 echo "configure:14623: checking how to produce PIC code" >&5 |
14618 wl= | 14623 wl= |
14619 | 14624 |
14620 can_build_shared=yes | 14625 can_build_shared=yes |
14621 if test "$XEGCC" = yes; then | 14626 if test "$XEGCC" = yes; then |
14622 wl='-Wl,' | 14627 wl='-Wl,' |
14713 if test -n "$dll_cflags"; then | 14718 if test -n "$dll_cflags"; then |
14714 echo "$ac_t""${dll_cflags}" 1>&6 | 14719 echo "$ac_t""${dll_cflags}" 1>&6 |
14715 | 14720 |
14716 # Check to make sure the dll_cflags actually works. | 14721 # Check to make sure the dll_cflags actually works. |
14717 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | 14722 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 |
14718 echo "configure:14719: checking if PIC flag ${dll_cflags} really works" >&5 | 14723 echo "configure:14724: checking if PIC flag ${dll_cflags} really works" >&5 |
14719 save_CFLAGS="$CFLAGS" | 14724 save_CFLAGS="$CFLAGS" |
14720 CFLAGS="$CFLAGS $dll_cflags -DPIC" | 14725 CFLAGS="$CFLAGS $dll_cflags -DPIC" |
14721 cat > conftest.$ac_ext <<EOF | 14726 cat > conftest.$ac_ext <<EOF |
14722 #line 14723 "configure" | 14727 #line 14728 "configure" |
14723 #include "confdefs.h" | 14728 #include "confdefs.h" |
14724 | 14729 |
14725 int main() { | 14730 int main() { |
14726 int x=0; | 14731 int x=0; |
14727 ; return 0; } | 14732 ; return 0; } |
14728 EOF | 14733 EOF |
14729 if { (eval echo configure:14730: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 14734 if { (eval echo configure:14735: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
14730 rm -rf conftest* | 14735 rm -rf conftest* |
14731 | 14736 |
14732 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | 14737 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also |
14733 # reports no error. So, we need to grep stderr for (Bundled). | 14738 # reports no error. So, we need to grep stderr for (Bundled). |
14734 if grep '(Bundled)' config.log >/dev/null; then | 14739 if grep '(Bundled)' config.log >/dev/null; then |
14755 if test "$can_build_shared" = "yes"; then | 14760 if test "$can_build_shared" = "yes"; then |
14756 cc_produces_so=no | 14761 cc_produces_so=no |
14757 xldf= | 14762 xldf= |
14758 xcldf= | 14763 xcldf= |
14759 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | 14764 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 |
14760 echo "configure:14761: checking if C compiler can produce shared libraries" >&5 | 14765 echo "configure:14766: checking if C compiler can produce shared libraries" >&5 |
14761 if test "$XEGCC" = yes; then | 14766 if test "$XEGCC" = yes; then |
14762 xcldf="-shared" | 14767 xcldf="-shared" |
14763 xldf="-shared" | 14768 xldf="-shared" |
14764 else # Not using GCC | 14769 else # Not using GCC |
14765 case "$xehost_os" in | 14770 case "$xehost_os" in |
14806 LDFLAGS="$xcldf $LDFLAGS" | 14811 LDFLAGS="$xcldf $LDFLAGS" |
14807 LIBS= | 14812 LIBS= |
14808 xe_libs= | 14813 xe_libs= |
14809 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 14814 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
14810 cat > conftest.$ac_ext <<EOF | 14815 cat > conftest.$ac_ext <<EOF |
14811 #line 14812 "configure" | 14816 #line 14817 "configure" |
14812 #include "confdefs.h" | 14817 #include "confdefs.h" |
14813 | 14818 |
14814 int main() { | 14819 int main() { |
14815 int x=0; | 14820 int x=0; |
14816 ; return 0; } | 14821 ; return 0; } |
14817 EOF | 14822 EOF |
14818 if { (eval echo configure:14819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14823 if { (eval echo configure:14824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14819 rm -rf conftest* | 14824 rm -rf conftest* |
14820 cc_produces_so=yes | 14825 cc_produces_so=yes |
14821 else | 14826 else |
14822 echo "configure: failed program was:" >&5 | 14827 echo "configure: failed program was:" >&5 |
14823 cat conftest.$ac_ext >&5 | 14828 cat conftest.$ac_ext >&5 |
14838 if test -z "$LTLD"; then | 14843 if test -z "$LTLD"; then |
14839 ac_prog=ld | 14844 ac_prog=ld |
14840 if test "$XEGCC" = yes; then | 14845 if test "$XEGCC" = yes; then |
14841 # Check if gcc -print-prog-name=ld gives a path. | 14846 # Check if gcc -print-prog-name=ld gives a path. |
14842 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 14847 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
14843 echo "configure:14844: checking for ld used by GCC" >&5 | 14848 echo "configure:14849: checking for ld used by GCC" >&5 |
14844 ac_prog=`($CC -print-prog-name=ld) 2>&5` | 14849 ac_prog=`($CC -print-prog-name=ld) 2>&5` |
14845 case "$ac_prog" in | 14850 case "$ac_prog" in |
14846 # Accept absolute paths. | 14851 # Accept absolute paths. |
14847 /*) | 14852 /*) |
14848 if test -z "$LTLD"; then | 14853 if test -z "$LTLD"; then |
14863 with_gnu_ld=unknown | 14868 with_gnu_ld=unknown |
14864 ;; | 14869 ;; |
14865 esac | 14870 esac |
14866 else | 14871 else |
14867 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 14872 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
14868 echo "configure:14869: checking for GNU ld" >&5 | 14873 echo "configure:14874: checking for GNU ld" >&5 |
14869 fi | 14874 fi |
14870 | 14875 |
14871 if test -z "$LTLD"; then | 14876 if test -z "$LTLD"; then |
14872 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 14877 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
14873 for ac_dir in $PATH; do | 14878 for ac_dir in $PATH; do |
14901 | 14906 |
14902 ld_dynamic_link_flags= | 14907 ld_dynamic_link_flags= |
14903 | 14908 |
14904 # Check to see if it really is or isn't GNU ld. | 14909 # Check to see if it really is or isn't GNU ld. |
14905 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | 14910 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 |
14906 echo "configure:14907: checking if the linker is GNU ld" >&5 | 14911 echo "configure:14912: checking if the linker is GNU ld" >&5 |
14907 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 14912 # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
14908 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 14913 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
14909 xe_gnu_ld=yes | 14914 xe_gnu_ld=yes |
14910 else | 14915 else |
14911 xe_gnu_ld=no | 14916 xe_gnu_ld=no |
14929 ld_shlibs=yes | 14934 ld_shlibs=yes |
14930 else | 14935 else |
14931 # OK - only NOW do we futz about with ld. | 14936 # OK - only NOW do we futz about with ld. |
14932 # See if the linker supports building shared libraries. | 14937 # See if the linker supports building shared libraries. |
14933 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | 14938 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 |
14934 echo "configure:14935: checking whether the linker supports shared libraries" >&5 | 14939 echo "configure:14940: checking whether the linker supports shared libraries" >&5 |
14935 dll_ld=$CC | 14940 dll_ld=$CC |
14936 dll_ldflags=$LDFLAGS | 14941 dll_ldflags=$LDFLAGS |
14937 ld_shlibs=yes | 14942 ld_shlibs=yes |
14938 can_build_shared=yes | 14943 can_build_shared=yes |
14939 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | 14944 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then |
15140 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | 15145 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi |
15141 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi | 15146 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi |
15142 for ac_func in dlerror _dlerror | 15147 for ac_func in dlerror _dlerror |
15143 do | 15148 do |
15144 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 15149 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
15145 echo "configure:15146: checking for $ac_func" >&5 | 15150 echo "configure:15151: checking for $ac_func" >&5 |
15146 | 15151 |
15147 cat > conftest.$ac_ext <<EOF | 15152 cat > conftest.$ac_ext <<EOF |
15148 #line 15149 "configure" | 15153 #line 15154 "configure" |
15149 #include "confdefs.h" | 15154 #include "confdefs.h" |
15150 /* System header to define __stub macros and hopefully few prototypes, | 15155 /* System header to define __stub macros and hopefully few prototypes, |
15151 which can conflict with char $ac_func(); below. */ | 15156 which can conflict with char $ac_func(); below. */ |
15152 #include <assert.h> | 15157 #include <assert.h> |
15153 /* Override any gcc2 internal prototype to avoid an error. */ | 15158 /* Override any gcc2 internal prototype to avoid an error. */ |
15166 $ac_func(); | 15171 $ac_func(); |
15167 #endif | 15172 #endif |
15168 | 15173 |
15169 ; return 0; } | 15174 ; return 0; } |
15170 EOF | 15175 EOF |
15171 if { (eval echo configure:15172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15176 if { (eval echo configure:15177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15172 rm -rf conftest* | 15177 rm -rf conftest* |
15173 eval "ac_cv_func_$ac_func=yes" | 15178 eval "ac_cv_func_$ac_func=yes" |
15174 else | 15179 else |
15175 echo "configure: failed program was:" >&5 | 15180 echo "configure: failed program was:" >&5 |
15176 cat conftest.$ac_ext >&5 | 15181 cat conftest.$ac_ext >&5 |
15205 with_modules=no | 15210 with_modules=no |
15206 fi | 15211 fi |
15207 fi | 15212 fi |
15208 | 15213 |
15209 cat > conftest.$ac_ext <<EOF | 15214 cat > conftest.$ac_ext <<EOF |
15210 #line 15211 "configure" | 15215 #line 15216 "configure" |
15211 #include "confdefs.h" | 15216 #include "confdefs.h" |
15212 int main(int c,char *v[]){return 0;} | 15217 int main(int c,char *v[]){return 0;} |
15213 EOF | 15218 EOF |
15214 if { (eval echo configure:15215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 15219 if { (eval echo configure:15220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
15215 then | 15220 then |
15216 : | 15221 : |
15217 else | 15222 else |
15218 conftest_rc="$?" | 15223 conftest_rc="$?" |
15219 echo "configure: failed program was:" >&5 | 15224 echo "configure: failed program was:" >&5 |